sun-form-v3 1.0.86 → 1.0.88

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  import { ref as x, resolveComponent as s, openBlock as k, createElementBlock as T, Fragment as E, createVNode as e, unref as l, withCtx as a, createTextVNode as b, isRef as L, createElementVNode as g, toDisplayString as y, createCommentVNode as D, pushScopeId as B, popScopeId as J } from "vue";
2
- import { _ as R } from "./index-B7HEFfDh.js";
2
+ import { _ as R } from "./index-DN_I96jt.js";
3
3
  const I = (v) => (B("data-v-75dc2686"), v = v(), J(), v), W = /* @__PURE__ */ I(() => /* @__PURE__ */ g("span", null, "复杂表头配置", -1)), q = {
4
4
  key: 0,
5
5
  class: "flex h-full flex-col"
@@ -153,7 +153,7 @@ const Om = /* @__PURE__ */ Object.assign({ name: "widget-button" }, {
153
153
  }), Rm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
154
154
  __proto__: null,
155
155
  default: Am
156
- }, Symbol.toStringTag, { value: "Module" })), rt = {
156
+ }, Symbol.toStringTag, { value: "Module" })), st = {
157
157
  homepage: {
158
158
  isContainer: !0,
159
159
  displayName: "页面",
@@ -1524,7 +1524,7 @@ const Om = /* @__PURE__ */ Object.assign({ name: "widget-button" }, {
1524
1524
  refresh: ee,
1525
1525
  getSearchParams: ue
1526
1526
  }), (V, H) => {
1527
- const X = I("common-label-container"), z = I("ArrowDownBold"), xe = I("el-icon"), yn = I("ArrowUpBold"), Zt = I("el-button"), Mt = I("el-button-group"), lt = I("vxe-table-column"), Lt = I("vxe-column"), Lo = I("vxe-table"), bn = I("el-pagination");
1527
+ const X = I("common-label-container"), z = I("ArrowDownBold"), xe = I("el-icon"), yn = I("ArrowUpBold"), Zt = I("el-button"), Mt = I("el-button-group"), it = I("vxe-table-column"), Lt = I("vxe-column"), Lo = I("vxe-table"), bn = I("el-pagination");
1528
1528
  return y(), N("div", {
1529
1529
  class: "flex flex-col",
1530
1530
  style: Se({ height: m.value.height, width: `${m.value.width / 24 * 100}%` })
@@ -1647,14 +1647,14 @@ const Om = /* @__PURE__ */ Object.assign({ name: "widget-button" }, {
1647
1647
  "row-class-name": Q
1648
1648
  }, {
1649
1649
  default: b(() => [
1650
- m.value.singleselect && !m.value.isHideChoose ? (y(), x(lt, {
1650
+ m.value.singleselect && !m.value.isHideChoose ? (y(), x(it, {
1651
1651
  key: 0,
1652
1652
  width: "50",
1653
1653
  type: "radio",
1654
1654
  field: "my_check",
1655
1655
  align: "center"
1656
1656
  })) : D("", !0),
1657
- !m.value.singleselect && !m.value.isHideChoose ? (y(), x(lt, {
1657
+ !m.value.singleselect && !m.value.isHideChoose ? (y(), x(it, {
1658
1658
  key: 1,
1659
1659
  width: "50",
1660
1660
  type: "checkbox",
@@ -1759,14 +1759,14 @@ const Om = /* @__PURE__ */ Object.assign({ name: "widget-button" }, {
1759
1759
  setup(e, { expose: t }) {
1760
1760
  let n = e;
1761
1761
  const r = B([]), a = B([]), o = B([]), i = B([]), l = B([]), s = B();
1762
- for (let C in rt)
1763
- rt[C].type = C, rt[C].canAddDataTableQuery && i.value.push(rt[C]), rt[C].canAddDataTableList && l.value.push(rt[C]);
1762
+ for (let C in st)
1763
+ st[C].type = C, st[C].canAddDataTableQuery && i.value.push(st[C]), st[C].canAddDataTableList && l.value.push(st[C]);
1764
1764
  n.designer.setVueIncetance(n.widget.id, be());
1765
1765
  const u = ({ row: C }) => {
1766
1766
  if (C.id === n.designer.widgetConfig.chosenId)
1767
1767
  return "bg-blue-50 font-bold text-blue-500";
1768
1768
  }, d = (C, S, E) => {
1769
- let R = n.designer.getChosenInitData(rt[S]);
1769
+ let R = n.designer.getChosenInitData(st[S]);
1770
1770
  delete R.props.labelAlign, delete R.props.labelPosition, R.tableItemType = S, R.compType = E, E === 0 && (delete R.props.width, delete R.props.onClick, R.props.isTableButton = !0, R.props.onItemClick = null, R.props.onBtnFormat = null, R.props.isSide = !1, R.props.isPlain = !0), E === 1 && (R.props.isTableQuery = !0, R.props.width = 6), E === 2 && (R.props.isTableItem = !0, R.props.tableItemWidth = null, delete R.props.width), C.push(R);
1771
1771
  }, f = (C, S) => {
1772
1772
  C.splice(S, 1);
@@ -2569,7 +2569,7 @@ function fl(e, t) {
2569
2569
  n = n.previousElementSibling;
2570
2570
  return n || null;
2571
2571
  }
2572
- function st(e, t) {
2572
+ function lt(e, t) {
2573
2573
  var n = 0;
2574
2574
  if (!e || !e.parentNode)
2575
2575
  return -1;
@@ -2639,7 +2639,7 @@ function bd(e) {
2639
2639
  var t = window.Polymer, n = window.jQuery || window.Zepto;
2640
2640
  return t && t.dom ? t.dom(e).cloneNode(!0) : n ? n(e).clone(!0)[0] : e.cloneNode(!0);
2641
2641
  }
2642
- var at = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
2642
+ var rt = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
2643
2643
  function _g() {
2644
2644
  var e = [], t;
2645
2645
  return {
@@ -2758,7 +2758,7 @@ var zn = [], Vo = {
2758
2758
  };
2759
2759
  function Eg(e) {
2760
2760
  var t = e.sortable, n = e.rootEl, r = e.name, a = e.targetEl, o = e.cloneEl, i = e.toEl, l = e.fromEl, s = e.oldIndex, u = e.newIndex, d = e.oldDraggableIndex, f = e.newDraggableIndex, p = e.originalEvent, g = e.putSortable, h = e.extraEventProperties;
2761
- if (t = t || n && n[at], !!t) {
2761
+ if (t = t || n && n[rt], !!t) {
2762
2762
  var m, w = t.options, $ = "on" + r.charAt(0).toUpperCase() + r.substr(1);
2763
2763
  window.CustomEvent && !Wt && !Jr ? m = new CustomEvent(r, {
2764
2764
  bubbles: !0,
@@ -2842,7 +2842,7 @@ var M, $e, te, we, $n, Pa, Ee, sn, Xn, nt, Fr, on, ma, Ve, Gn = !1, Ja = !1, Ya
2842
2842
  }, Ig = function(t, n) {
2843
2843
  var r;
2844
2844
  return Ya.some(function(a) {
2845
- var o = a[at].options.emptyInsertThreshold;
2845
+ var o = a[rt].options.emptyInsertThreshold;
2846
2846
  if (!(!o || fl(a))) {
2847
2847
  var i = Ne(a), l = t >= i.left - o && t <= i.right + o, s = n >= i.top - o && n <= i.bottom + o;
2848
2848
  if (l && s)
@@ -2886,16 +2886,16 @@ var _n = function(t) {
2886
2886
  var r = {};
2887
2887
  for (var a in t)
2888
2888
  t.hasOwnProperty(a) && (r[a] = t[a]);
2889
- r.target = r.rootEl = n, r.preventDefault = void 0, r.stopPropagation = void 0, n[at]._onDragOver(r);
2889
+ r.target = r.rootEl = n, r.preventDefault = void 0, r.stopPropagation = void 0, n[rt]._onDragOver(r);
2890
2890
  }
2891
2891
  }
2892
2892
  }, Og = function(t) {
2893
- M && M.parentNode[at]._isOutsideThisEl(t.target);
2893
+ M && M.parentNode[rt]._isOutsideThisEl(t.target);
2894
2894
  };
2895
2895
  function Z(e, t) {
2896
2896
  if (!(e && e.nodeType && e.nodeType === 1))
2897
2897
  throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));
2898
- this.el = e, this.options = t = Ht({}, t), e[at] = this;
2898
+ this.el = e, this.options = t = Ht({}, t), e[rt] = this;
2899
2899
  var n = {
2900
2900
  group: null,
2901
2901
  sort: !0,
@@ -2962,7 +2962,7 @@ Z.prototype = /** @lends Sortable.prototype */
2962
2962
  if (t.cancelable) {
2963
2963
  var n = this, r = this.el, a = this.options, o = a.preventOnFilter, i = t.type, l = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, s = (l || t).target, u = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || s, d = a.filter;
2964
2964
  if (Mg(r), !M && !(/mousedown|pointerdown/.test(i) && t.button !== 0 || a.disabled) && !u.isContentEditable && !(!this.nativeDraggable && kr && s && s.tagName.toUpperCase() === "SELECT") && (s = xt(s, a.draggable, r, !1), !(s && s.animated) && Pa !== s)) {
2965
- if (Xn = st(s), Fr = st(s, a.draggable), typeof d == "function") {
2965
+ if (Xn = lt(s), Fr = lt(s, a.draggable), typeof d == "function") {
2966
2966
  if (d.call(this, t, s, this)) {
2967
2967
  Ke({
2968
2968
  sortable: n,
@@ -3069,11 +3069,11 @@ Z.prototype = /** @lends Sortable.prototype */
3069
3069
  this._lastX = mt.clientX, this._lastY = mt.clientY, $d();
3070
3070
  for (var t = document.elementFromPoint(mt.clientX, mt.clientY), n = t; t && t.shadowRoot && (t = t.shadowRoot.elementFromPoint(mt.clientX, mt.clientY), t !== n); )
3071
3071
  n = t;
3072
- if (M.parentNode[at]._isOutsideThisEl(t), n)
3072
+ if (M.parentNode[rt]._isOutsideThisEl(t), n)
3073
3073
  do {
3074
- if (n[at]) {
3074
+ if (n[rt]) {
3075
3075
  var r = void 0;
3076
- if (r = n[at]._onDragOver({
3076
+ if (r = n[rt]._onDragOver({
3077
3077
  clientX: mt.clientX,
3078
3078
  clientY: mt.clientY,
3079
3079
  target: t,
@@ -3165,10 +3165,10 @@ Z.prototype = /** @lends Sortable.prototype */
3165
3165
  insertion: fe
3166
3166
  }), fe && (d ? u._hideClone() : u._showClone(h), h !== p && (et(M, Ve ? Ve.options.ghostClass : u.options.ghostClass, !1), et(M, l.ghostClass, !0)), Ve !== h && h !== Z.active ? Ve = h : h === Z.active && Ve && (Ve = null), p === h && (h._ignoreWhileAnimating = r), h.animateAll(function() {
3167
3167
  w("dragOverAnimationComplete"), h._ignoreWhileAnimating = null;
3168
- }), h !== p && (p.animateAll(), p._ignoreWhileAnimating = null)), (r === M && !M.animated || r === n && !r.animated) && (qn = null), !l.dragoverBubble && !t.rootEl && r !== document && (M.parentNode[at]._isOutsideThisEl(t.target), !fe && _n(t)), !l.dragoverBubble && t.stopPropagation && t.stopPropagation(), m = !0;
3168
+ }), h !== p && (p.animateAll(), p._ignoreWhileAnimating = null)), (r === M && !M.animated || r === n && !r.animated) && (qn = null), !l.dragoverBubble && !t.rootEl && r !== document && (M.parentNode[rt]._isOutsideThisEl(t.target), !fe && _n(t)), !l.dragoverBubble && t.stopPropagation && t.stopPropagation(), m = !0;
3169
3169
  }
3170
3170
  function S() {
3171
- nt = st(M), on = st(M, l.draggable), Ke({
3171
+ nt = lt(M), on = lt(M, l.draggable), Ke({
3172
3172
  sortable: h,
3173
3173
  name: "change",
3174
3174
  toEl: n,
@@ -3202,7 +3202,7 @@ Z.prototype = /** @lends Sortable.prototype */
3202
3202
  qn !== r && (L = o[K], Mr = !1, ga = !q && l.invertSwap || Q), P = Ng(t, r, o, g, q ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, ga, qn === r);
3203
3203
  var G;
3204
3204
  if (P !== 0) {
3205
- var le = st(M);
3205
+ var le = lt(M);
3206
3206
  do
3207
3207
  le -= P, G = $e.children[le];
3208
3208
  while (G && (Y(G, "display") === "none" || G === te));
@@ -3231,9 +3231,9 @@ Z.prototype = /** @lends Sortable.prototype */
3231
3231
  },
3232
3232
  _onDrop: function(t) {
3233
3233
  var n = this.el, r = this.options;
3234
- if (nt = st(M), on = st(M, r.draggable), Ge("drop", this, {
3234
+ if (nt = lt(M), on = lt(M, r.draggable), Ge("drop", this, {
3235
3235
  evt: t
3236
- }), $e = M && M.parentNode, nt = st(M), on = st(M, r.draggable), Z.eventCanceled) {
3236
+ }), $e = M && M.parentNode, nt = lt(M), on = lt(M, r.draggable), Z.eventCanceled) {
3237
3237
  this._nulling();
3238
3238
  return;
3239
3239
  }
@@ -3360,7 +3360,7 @@ Z.prototype = /** @lends Sortable.prototype */
3360
3360
  destroy: function() {
3361
3361
  Ge("destroy", this);
3362
3362
  var t = this.el;
3363
- t[at] = null, se(t, "mousedown", this._onTapStart), se(t, "touchstart", this._onTapStart), se(t, "pointerdown", this._onTapStart), this.nativeDraggable && (se(t, "dragover", this), se(t, "dragenter", this)), Array.prototype.forEach.call(t.querySelectorAll("[draggable]"), function(n) {
3363
+ t[rt] = null, se(t, "mousedown", this._onTapStart), se(t, "touchstart", this._onTapStart), se(t, "pointerdown", this._onTapStart), this.nativeDraggable && (se(t, "dragover", this), se(t, "dragenter", this)), Array.prototype.forEach.call(t.querySelectorAll("[draggable]"), function(n) {
3364
3364
  n.removeAttribute("draggable");
3365
3365
  }), this._onDrop(), this._disableDelayedDragEvents(), Ya.splice(Ya.indexOf(this.el), 1), this.el = t = null;
3366
3366
  },
@@ -3385,7 +3385,7 @@ function Dg(e) {
3385
3385
  e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
3386
3386
  }
3387
3387
  function ya(e, t, n, r, a, o, i, l) {
3388
- var s, u = e[at], d = u.options.onMove, f;
3388
+ var s, u = e[rt], d = u.options.onMove, f;
3389
3389
  return window.CustomEvent && !Wt && !Jr ? s = new CustomEvent("move", {
3390
3390
  bubbles: !0,
3391
3391
  cancelable: !0
@@ -3419,7 +3419,7 @@ function Ng(e, t, n, r, a, o, i, l) {
3419
3419
  return p = p || i, p && (s < d + u * o / 2 || s > f - u * o / 2) ? s > d + u / 2 ? 1 : -1 : 0;
3420
3420
  }
3421
3421
  function Fg(e) {
3422
- return st(M) < st(e) ? 1 : -1;
3422
+ return lt(M) < lt(e) ? 1 : -1;
3423
3423
  }
3424
3424
  function Pg(e) {
3425
3425
  for (var t = e.tagName + e.className + e.src + e.href + e.textContent, n = t.length, r = 0; n--; )
@@ -3455,14 +3455,14 @@ Z.utils = {
3455
3455
  closest: xt,
3456
3456
  toggleClass: et,
3457
3457
  clone: bd,
3458
- index: st,
3458
+ index: lt,
3459
3459
  nextTick: La,
3460
3460
  cancelNextTick: Ni,
3461
3461
  detectDirection: _d,
3462
3462
  getChild: rr
3463
3463
  };
3464
3464
  Z.get = function(e) {
3465
- return e[at];
3465
+ return e[rt];
3466
3466
  };
3467
3467
  Z.mount = function() {
3468
3468
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
@@ -3553,7 +3553,7 @@ var Ko = vd(function(e, t, n, r) {
3553
3553
  (Ie[f].vx != k || Ie[f].vy != G || Ie[f].el !== g) && (Ie[f].el = g, Ie[f].vx = k, Ie[f].vy = G, clearInterval(Ie[f].pid), (k != 0 || G != 0) && (u = !0, Ie[f].pid = setInterval((function() {
3554
3554
  r && this.layer === 0 && Z.active._onTouchMove(Xa);
3555
3555
  var ge = Ie[this.layer].vy ? Ie[this.layer].vy * l : 0, ee = Ie[this.layer].vx ? Ie[this.layer].vx * l : 0;
3556
- typeof d == "function" && d.call(Z.dragged.parentNode[at], ee, ge, e, Xa, Ie[this.layer].el) !== "continue" || yd(Ie[this.layer].el, ee, ge);
3556
+ typeof d == "function" && d.call(Z.dragged.parentNode[rt], ee, ge, e, Xa, Ie[this.layer].el) !== "continue" || yd(Ie[this.layer].el, ee, ge);
3557
3557
  }).bind({
3558
3558
  layer: f
3559
3559
  }), 24))), f++;
@@ -5919,7 +5919,7 @@ const av = {
5919
5919
  }, s = () => {
5920
5920
  r.setChosenId(a.id);
5921
5921
  }, u = () => {
5922
- let d = a.widgetList, f = d.findIndex((h) => h.id == n.id), p = rt[n.type], g = r.getChosenInitData(p);
5922
+ let d = a.widgetList, f = d.findIndex((h) => h.id == n.id), p = st[n.type], g = r.getChosenInitData(p);
5923
5923
  d.splice(f + 1, 0, g);
5924
5924
  };
5925
5925
  return (d, f) => {
@@ -7072,11 +7072,11 @@ function yb(e, t, n, r) {
7072
7072
  if (z === "'" || // string
7073
7073
  z === '"' || // string
7074
7074
  z === "/" && (l === "TK_WORD" && s === "return" || l === "TK_START_EXPR" || l === "TK_END_BLOCK" || l === "TK_OPERATOR" || l === "TK_EOF" || l === "TK_END_COMMAND")) {
7075
- var lt = z, Lt = !1;
7075
+ var it = z, Lt = !1;
7076
7076
  if (z = "", w < a.length)
7077
- for (; (Lt || a.charAt(w) !== lt) && (z += a.charAt(w), Lt ? Lt = !1 : Lt = a.charAt(w) === "\\", w += 1, !(w >= a.length)); )
7077
+ for (; (Lt || a.charAt(w) !== it) && (z += a.charAt(w), Lt ? Lt = !1 : Lt = a.charAt(w) === "\\", w += 1, !(w >= a.length)); )
7078
7078
  ;
7079
- return w += 1, l === "TK_END_COMMAND" && q(), [lt + z + lt, "TK_STRING"];
7079
+ return w += 1, l === "TK_END_COMMAND" && q(), [it + z + it, "TK_STRING"];
7080
7080
  }
7081
7081
  if (ue(z, m)) {
7082
7082
  for (; w < a.length && ue(z + a.charAt(w), m) && (z += a.charAt(w), w += 1, !(w >= a.length)); )
@@ -7170,7 +7170,7 @@ const bb = (e) => (mo("data-v-0bb5febe"), e = e(), go(), e), wb = {
7170
7170
  }
7171
7171
  },
7172
7172
  setup(e) {
7173
- let t = e, n = t.designer, r = Je(rt), a = Je([]), o = Je([]), i = Je([]), l = B(""), s = B(), u = (p) => n.getChosenInitData(p), d = (p) => {
7173
+ let t = e, n = t.designer, r = Je(st), a = Je([]), o = Je([]), i = Je([]), l = B(""), s = B(), u = (p) => n.getChosenInitData(p), d = (p) => {
7174
7174
  let g = n.chosenWidget, h = n.getChosenInitData(p);
7175
7175
  if (!g)
7176
7176
  n.widgetConfig.widgetList.push(h);
@@ -7361,7 +7361,7 @@ const bb = (e) => (mo("data-v-0bb5febe"), e = e(), go(), e), wb = {
7361
7361
  },
7362
7362
  setup(e) {
7363
7363
  const n = Object.fromEntries(
7364
- Object.entries(/* @__PURE__ */ Object.assign({ "../widgetConfigComps/config-button/index.vue": () => import("./index-CvnfmMTc.js"), "../widgetConfigComps/config-checkbox/index.vue": () => import("./index-DM5DPltp.js"), "../widgetConfigComps/config-datatable/index.vue": () => import("./index-DxdUm4HZ.js"), "../widgetConfigComps/config-date/index.vue": () => import("./index-C0NmmaE2.js"), "../widgetConfigComps/config-form/index.vue": () => import("./index-CxNAuKj7.js"), "../widgetConfigComps/config-homepage/index.vue": () => import("./index-CITbTrFx.js"), "../widgetConfigComps/config-input/index.vue": () => import("./index-BYSQOsYK.js"), "../widgetConfigComps/config-modal/index.vue": () => import("./index-DIwhu60e.js"), "../widgetConfigComps/config-progress/index.vue": () => import("./index-c0zw96Jm.js"), "../widgetConfigComps/config-radio/index.vue": () => import("./index-DVgKDMax.js"), "../widgetConfigComps/config-rate/index.vue": () => import("./index-XP0bVDnU.js"), "../widgetConfigComps/config-select/index.vue": () => import("./index-Bb57DL9x.js"), "../widgetConfigComps/config-selects/index.vue": () => import("./index-eJQFWCeP.js"), "../widgetConfigComps/config-switch/index.vue": () => import("./index-BVfC-7wG.js"), "../widgetConfigComps/config-time/index.vue": () => import("./index-zkXVDNsL.js") })).map(([s, u]) => {
7364
+ Object.entries(/* @__PURE__ */ Object.assign({ "../widgetConfigComps/config-button/index.vue": () => import("./index-CvnfmMTc.js"), "../widgetConfigComps/config-checkbox/index.vue": () => import("./index-DM5DPltp.js"), "../widgetConfigComps/config-datatable/index.vue": () => import("./index-CnNNOrrd.js"), "../widgetConfigComps/config-date/index.vue": () => import("./index-C0NmmaE2.js"), "../widgetConfigComps/config-form/index.vue": () => import("./index-CxNAuKj7.js"), "../widgetConfigComps/config-homepage/index.vue": () => import("./index-CITbTrFx.js"), "../widgetConfigComps/config-input/index.vue": () => import("./index-BYSQOsYK.js"), "../widgetConfigComps/config-modal/index.vue": () => import("./index-DIwhu60e.js"), "../widgetConfigComps/config-progress/index.vue": () => import("./index-c0zw96Jm.js"), "../widgetConfigComps/config-radio/index.vue": () => import("./index-DVgKDMax.js"), "../widgetConfigComps/config-rate/index.vue": () => import("./index-XP0bVDnU.js"), "../widgetConfigComps/config-select/index.vue": () => import("./index-Bb57DL9x.js"), "../widgetConfigComps/config-selects/index.vue": () => import("./index-eJQFWCeP.js"), "../widgetConfigComps/config-switch/index.vue": () => import("./index-BVfC-7wG.js"), "../widgetConfigComps/config-time/index.vue": () => import("./index-zkXVDNsL.js") })).map(([s, u]) => {
7365
7365
  const d = s.match(/\/([^/]+)\/index\.vue$/);
7366
7366
  return [d ? d[1] : null, wm(u)];
7367
7367
  })
@@ -7887,7 +7887,7 @@ function a1(e) {
7887
7887
  var o1 = a1;
7888
7888
  const dr = /* @__PURE__ */ v(o1);
7889
7889
  var i1 = dr, l1 = i1("function"), s1 = l1;
7890
- const ot = /* @__PURE__ */ v(s1);
7890
+ const at = /* @__PURE__ */ v(s1);
7891
7891
  var u1 = Fe;
7892
7892
  function c1(e, t) {
7893
7893
  var n = Object[e];
@@ -7978,7 +7978,7 @@ var E1 = function(e) {
7978
7978
  return e;
7979
7979
  }, C1 = E1;
7980
7980
  const St = /* @__PURE__ */ v(C1);
7981
- var T1 = jt, x1 = Xe, I1 = Fe, O1 = ot, D1 = St, xn = function() {
7981
+ var T1 = jt, x1 = Xe, I1 = Fe, O1 = at, D1 = St, xn = function() {
7982
7982
  };
7983
7983
  function A1() {
7984
7984
  x1(arguments, function(e) {
@@ -8025,7 +8025,7 @@ function H1(e, t) {
8025
8025
  }
8026
8026
  var W1 = H1;
8027
8027
  const fr = /* @__PURE__ */ v(W1);
8028
- var j1 = Fe, K1 = ot, G1 = fr;
8028
+ var j1 = Fe, K1 = at, G1 = fr;
8029
8029
  function J1(e, t, n) {
8030
8030
  var r = {};
8031
8031
  if (e)
@@ -8121,7 +8121,7 @@ function w0(e, t) {
8121
8121
  }
8122
8122
  var _0 = w0;
8123
8123
  const qd = /* @__PURE__ */ v(_0);
8124
- var Os = Fe, S0 = Qr, $0 = ot, E0 = fr;
8124
+ var Os = Fe, S0 = Qr, $0 = at, E0 = fr;
8125
8125
  function C0(e, t, n) {
8126
8126
  var r = [];
8127
8127
  if (t) {
@@ -8197,7 +8197,7 @@ function tw(e, t) {
8197
8197
  }
8198
8198
  var nw = Q0;
8199
8199
  const ea = /* @__PURE__ */ v(nw);
8200
- var Ds = Xe, rw = yl, As = hr, Rs = me, aw = ot, ow = pr, ks = Nt, iw = Gt, lw = hn, sw = ea, uw = fr, cw = "asc", dw = "desc";
8200
+ var Ds = Xe, rw = yl, As = hr, Rs = me, aw = at, ow = pr, ks = Nt, iw = Gt, lw = hn, sw = ea, uw = fr, cw = "asc", dw = "desc";
8201
8201
  function Li(e, t) {
8202
8202
  return ks(e) ? 1 : iw(e) ? ks(t) ? -1 : 1 : e && e.localeCompare ? e.localeCompare(t) : e > t ? 1 : -1;
8203
8203
  }
@@ -8363,7 +8363,7 @@ function v_(e, t) {
8363
8363
  }
8364
8364
  var y_ = v_;
8365
8365
  const Yd = /* @__PURE__ */ v(y_);
8366
- var b_ = ot, Fs = hn, w_ = ea, __ = Xe;
8366
+ var b_ = at, Fs = hn, w_ = ea, __ = Xe;
8367
8367
  function S_(e) {
8368
8368
  return function(t, n) {
8369
8369
  if (t && t.length) {
@@ -8481,7 +8481,7 @@ function pS(e, t, n) {
8481
8481
  }
8482
8482
  var hS = pS;
8483
8483
  const af = /* @__PURE__ */ v(hS);
8484
- var mS = nf, gS = ot, vS = me, yS = Fe, bS = Xe, wS = rf, _S = af, SS = hn;
8484
+ var mS = nf, gS = at, vS = me, yS = Fe, bS = Xe, wS = rf, _S = af, SS = hn;
8485
8485
  function $S(e) {
8486
8486
  return function(t, n) {
8487
8487
  return n === e;
@@ -8723,13 +8723,13 @@ function W$(e, t) {
8723
8723
  return /* @__PURE__ */ new Date("");
8724
8724
  }
8725
8725
  var j$ = W$;
8726
- const it = /* @__PURE__ */ v(j$);
8726
+ const ot = /* @__PURE__ */ v(j$);
8727
8727
  function K$() {
8728
8728
  return /* @__PURE__ */ new Date();
8729
8729
  }
8730
8730
  var G$ = K$;
8731
8731
  const So = /* @__PURE__ */ v(G$);
8732
- var J$ = mn, Y$ = it, Z$ = So;
8732
+ var J$ = mn, Y$ = ot, Z$ = So;
8733
8733
  function X$(e) {
8734
8734
  var t, n = e ? Y$(e) : Z$();
8735
8735
  return J$(n) ? (t = n.getFullYear(), t % 4 === 0 && (t % 100 !== 0 || t % 400 === 0)) : !1;
@@ -8888,7 +8888,7 @@ function X2(e) {
8888
8888
  }
8889
8889
  var Q2 = X2;
8890
8890
  const eC = /* @__PURE__ */ v(Q2);
8891
- var tC = ot, nC = Jt, rC = me, aC = _t;
8891
+ var tC = at, nC = Jt, rC = me, aC = _t;
8892
8892
  function oC(e) {
8893
8893
  return function(t, n, r) {
8894
8894
  if (t && tC(n)) {
@@ -8956,7 +8956,7 @@ function CC(e, t) {
8956
8956
  }
8957
8957
  var TC = CC;
8958
8958
  const xC = /* @__PURE__ */ v(TC);
8959
- var Gs = kf, Js = Nf, IC = ot, OC = Nt;
8959
+ var Gs = kf, Js = Nf, IC = at, OC = Nt;
8960
8960
  function DC(e, t, n) {
8961
8961
  return IC(n) ? Gs(e, t, function(r, a, o, i, l) {
8962
8962
  var s = n(r, a, o, i, l);
@@ -9005,7 +9005,7 @@ var rT = nT;
9005
9005
  const aT = /* @__PURE__ */ v(rT);
9006
9006
  var oT = ml, iT = oT("entries", 2), lT = iT;
9007
9007
  const sT = /* @__PURE__ */ v(lT);
9008
- var uT = ot, cT = me, dT = Fe, fT = $l;
9008
+ var uT = at, cT = me, dT = Fe, fT = $l;
9009
9009
  function pT(e, t) {
9010
9010
  return function(n, r) {
9011
9011
  var a, o, i = {}, l = [], s = this, u = arguments, d = u.length;
@@ -9088,7 +9088,7 @@ function Xs(e) {
9088
9088
  }
9089
9089
  var VT = BT;
9090
9090
  const UT = /* @__PURE__ */ v(VT);
9091
- var zT = If, qT = wo, HT = ot, WT = fr, jT = Fe;
9091
+ var zT = If, qT = wo, HT = at, WT = fr, jT = Fe;
9092
9092
  function KT(e) {
9093
9093
  return function() {
9094
9094
  return zT(e);
@@ -9262,7 +9262,7 @@ function DI(e, t) {
9262
9262
  }
9263
9263
  var AI = DI;
9264
9264
  const RI = /* @__PURE__ */ v(AI);
9265
- var ei = zf, kI = ot, NI = Fe, FI = ea;
9265
+ var ei = zf, kI = at, NI = Fe, FI = ea;
9266
9266
  function PI(e, t, n) {
9267
9267
  var r = 0;
9268
9268
  return NI(e, t ? kI(t) ? function() {
@@ -9303,7 +9303,7 @@ function nO(e) {
9303
9303
  }
9304
9304
  var rO = nO;
9305
9305
  const ht = /* @__PURE__ */ v(rO);
9306
- var hu = aa, aO = Eo, oO = ia, iO = oa, mu = pt, gu = Co, lO = it, sO = ht, uO = Ft;
9306
+ var hu = aa, aO = Eo, oO = ia, iO = oa, mu = pt, gu = Co, lO = ot, sO = ht, uO = Ft;
9307
9307
  function Wf(e, t, n) {
9308
9308
  var r = t && !isNaN(t) ? t : 0;
9309
9309
  if (e = lO(e), sO(e)) {
@@ -9321,7 +9321,7 @@ function Wf(e, t, n) {
9321
9321
  }
9322
9322
  var cO = Wf;
9323
9323
  const la = /* @__PURE__ */ v(cO);
9324
- var dO = aa, vu = Eo, yu = oa, fO = la, pO = it, hO = ht;
9324
+ var dO = aa, vu = Eo, yu = oa, fO = la, pO = ot, hO = ht;
9325
9325
  function mO(e, t, n) {
9326
9326
  var r;
9327
9327
  if (e = pO(e), hO(e) && (t && (r = t && !isNaN(t) ? t : 0, e.setFullYear(yu(e) + r)), n || !isNaN(n))) {
@@ -9335,7 +9335,7 @@ function mO(e, t, n) {
9335
9335
  }
9336
9336
  var gO = mO;
9337
9337
  const To = /* @__PURE__ */ v(gO);
9338
- var vO = la, yO = it, bO = ht;
9338
+ var vO = la, yO = ot, bO = ht;
9339
9339
  function wO(e) {
9340
9340
  var t = e.getMonth();
9341
9341
  return t < 3 ? 1 : t < 6 ? 2 : t < 9 ? 3 : 4;
@@ -9346,7 +9346,7 @@ function _O(e, t, n) {
9346
9346
  }
9347
9347
  var SO = _O;
9348
9348
  const $O = /* @__PURE__ */ v(SO);
9349
- var bu = aa, EO = Eo, CO = ta, TO = oa, xO = Co, IO = pt, OO = it, DO = ht;
9349
+ var bu = aa, EO = Eo, CO = ta, TO = oa, xO = Co, IO = pt, OO = ot, DO = ht;
9350
9350
  function jf(e, t, n) {
9351
9351
  if (e = OO(e), DO(e) && !isNaN(t)) {
9352
9352
  if (e.setDate(e.getDate() + CO(t)), n === bu)
@@ -9365,7 +9365,7 @@ var kO = RO;
9365
9365
  const Gf = /* @__PURE__ */ v(kO);
9366
9366
  var NO = ia, FO = NO * 7, PO = FO;
9367
9367
  const Jf = /* @__PURE__ */ v(PO);
9368
- var MO = jt, ti = ia, LO = Jf, BO = pt, VO = it, UO = ht, wu = Ft;
9368
+ var MO = jt, ti = ia, LO = Jf, BO = pt, VO = ot, UO = ht, wu = Ft;
9369
9369
  function zO(e, t, n, r) {
9370
9370
  if (e = VO(e), UO(e)) {
9371
9371
  var a = wu(n), o = wu(r), i = BO(e);
@@ -9411,7 +9411,7 @@ function l4(e) {
9411
9411
  }
9412
9412
  var s4 = l4;
9413
9413
  const u4 = /* @__PURE__ */ v(s4);
9414
- var c4 = ia, d4 = aa, Su = u4, f4 = To, p4 = it, h4 = ht;
9414
+ var c4 = ia, d4 = aa, Su = u4, f4 = To, p4 = ot, h4 = ht;
9415
9415
  function m4(e) {
9416
9416
  return e = p4(e), h4(e) ? Math.floor((Su(e) - Su(f4(e, 0, d4))) / c4) + 1 : NaN;
9417
9417
  }
@@ -9424,7 +9424,7 @@ function w4(e, t, n) {
9424
9424
  }
9425
9425
  var _4 = w4;
9426
9426
  const ep = /* @__PURE__ */ v(_4);
9427
- var Er = jt, S4 = Gf, $4 = oa, $u = Co, E4 = it, C4 = Xf, T4 = Qf, x4 = St, I4 = ht, O4 = ot, Ct = ep;
9427
+ var Er = jt, S4 = Gf, $4 = oa, $u = Co, E4 = ot, C4 = Xf, T4 = Qf, x4 = St, I4 = ht, O4 = at, Ct = ep;
9428
9428
  function Xt(e, t, n, r) {
9429
9429
  var a = t[n];
9430
9430
  return a ? O4(a) ? a(r, n, e) : a[r] : r;
@@ -9509,7 +9509,7 @@ var k4 = pt, N4 = So, F4 = Date.now || function() {
9509
9509
  return k4(N4());
9510
9510
  }, P4 = F4;
9511
9511
  const np = /* @__PURE__ */ v(P4);
9512
- var M4 = pt, L4 = np, B4 = it, V4 = mn, U4 = function(e, t) {
9512
+ var M4 = pt, L4 = np, B4 = ot, V4 = mn, U4 = function(e, t) {
9513
9513
  if (e) {
9514
9514
  var n = B4(e, t);
9515
9515
  return V4(n) ? M4(n) : n;
@@ -9527,19 +9527,19 @@ var K4 = Zf, G4 = K4(function(e) {
9527
9527
  return new Date(e.getFullYear(), e.getMonth(), 1);
9528
9528
  }), J4 = G4;
9529
9529
  const Y4 = /* @__PURE__ */ v(J4);
9530
- var Z4 = To, X4 = it, Q4 = ht, eD = _f;
9530
+ var Z4 = To, X4 = ot, Q4 = ht, eD = _f;
9531
9531
  function tD(e, t) {
9532
9532
  return e = X4(e), Q4(e) ? eD(Z4(e, t)) ? 366 : 365 : NaN;
9533
9533
  }
9534
9534
  var nD = tD;
9535
9535
  const rD = /* @__PURE__ */ v(nD);
9536
- var aD = ia, oD = aa, iD = Eo, Cu = pt, Tu = la, lD = it, sD = ht;
9536
+ var aD = ia, oD = aa, iD = Eo, Cu = pt, Tu = la, lD = ot, sD = ht;
9537
9537
  function uD(e, t) {
9538
9538
  return e = lD(e), sD(e) ? Math.floor((Cu(Tu(e, t, iD)) - Cu(Tu(e, t, oD))) / aD) + 1 : NaN;
9539
9539
  }
9540
9540
  var cD = uD;
9541
9541
  const dD = /* @__PURE__ */ v(cD);
9542
- var xu = pt, fD = So, Iu = it, Ou = ht, Du = [
9542
+ var xu = pt, fD = So, Iu = ot, Ou = ht, Du = [
9543
9543
  ["yyyy", 31536e6],
9544
9544
  ["MM", 2592e6],
9545
9545
  ["dd", 864e5],
@@ -9970,7 +9970,7 @@ function GR() {
9970
9970
  }
9971
9971
  var JR = GR;
9972
9972
  const YR = /* @__PURE__ */ v(JR);
9973
- var Cp = N1, Ku = St, ZR = Xr, XR = Bd, QR = Z1, e3 = r0, t3 = hr, n3 = Ud, r3 = zd, a3 = qd, o3 = Xe, i3 = vl, l3 = Hd, s3 = N0, u3 = yl, c3 = bw, d3 = wl, f3 = Gd, p3 = Rw, h3 = Bn, m3 = qw, g3 = Kw, v3 = Qr, y3 = Zw, b3 = n_, w3 = i_, _3 = c_, S3 = h_, $3 = N_, E3 = Qd, C3 = B_, T3 = q_, x3 = Yd, I3 = J_, O3 = FS, D3 = US, A3 = KS, R3 = cf, k3 = n$, N3 = i$, F3 = f$, P3 = pf, M3 = hf, L3 = _t, B3 = me, V3 = Gt, U3 = $$, z3 = Nt, q3 = ot, H3 = wo, W3 = Jt, j3 = pr, K3 = _f, G3 = mn, J3 = hn, Y3 = Fe, Z3 = aE, X3 = uE, Q3 = bE, ek = $f, tk = Kt, nk = mr, rk = gl, ak = Ef, ok = rf, ik = of, lk = af, sk = RE, uk = zE, ck = Cf, dk = Tf, fk = Ft, pk = _l, hk = xf, mk = e2, gk = If, vk = Of, yk = c2, bk = m2, wk = S2, _k = O2, Sk = N2, $k = B2, Ek = H2, Ck = J2, Tk = eC, xk = xC, Ik = Ff, Ok = RC, Dk = UC, Ak = WC, Rk = $l, kk = JC, Nk = eT, Fk = aT, Pk = sT, Mk = yT, Lk = ST, Bk = TT, Vk = DT, Uk = FT, zk = ea, qk = UT, Hk = Mf, Wk = ex, jk = rx, Kk = cx, Gk = Kd, Jk = Xd, Yk = hx, Zk = lI, Xk = Cl, Qk = Vf, e8 = Uf, t8 = Tl, n8 = fI, r8 = Ln, a8 = gn, o8 = _I, i8 = CI, l8 = xl, s8 = RI, u8 = Hf, c8 = qI, d8 = To, f8 = $O, p8 = la, h8 = Kf, m8 = it, g8 = tp, v8 = np, y8 = q4, b8 = ht, w8 = j4, _8 = Yf, S8 = Qf, $8 = Xf, E8 = Y4, C8 = rD, T8 = dD, x8 = mD, I8 = _D, O8 = ep, D8 = TD, A8 = op, R8 = rp, k8 = ap, N8 = KD, F8 = XD, P8 = lA, M8 = dA, L8 = mA, B8 = bA, V8 = dp, U8 = OA, Gu = Qe, z8 = RA, q8 = fr, H8 = FA, W8 = LA, j8 = zA, K8 = jA, G8 = JA, J8 = XA, Y8 = nR, Z8 = pp, X8 = hR, Q8 = _p, eN = IR, tN = RR, nN = HR, rN = YR;
9973
+ var Cp = N1, Ku = St, ZR = Xr, XR = Bd, QR = Z1, e3 = r0, t3 = hr, n3 = Ud, r3 = zd, a3 = qd, o3 = Xe, i3 = vl, l3 = Hd, s3 = N0, u3 = yl, c3 = bw, d3 = wl, f3 = Gd, p3 = Rw, h3 = Bn, m3 = qw, g3 = Kw, v3 = Qr, y3 = Zw, b3 = n_, w3 = i_, _3 = c_, S3 = h_, $3 = N_, E3 = Qd, C3 = B_, T3 = q_, x3 = Yd, I3 = J_, O3 = FS, D3 = US, A3 = KS, R3 = cf, k3 = n$, N3 = i$, F3 = f$, P3 = pf, M3 = hf, L3 = _t, B3 = me, V3 = Gt, U3 = $$, z3 = Nt, q3 = at, H3 = wo, W3 = Jt, j3 = pr, K3 = _f, G3 = mn, J3 = hn, Y3 = Fe, Z3 = aE, X3 = uE, Q3 = bE, ek = $f, tk = Kt, nk = mr, rk = gl, ak = Ef, ok = rf, ik = of, lk = af, sk = RE, uk = zE, ck = Cf, dk = Tf, fk = Ft, pk = _l, hk = xf, mk = e2, gk = If, vk = Of, yk = c2, bk = m2, wk = S2, _k = O2, Sk = N2, $k = B2, Ek = H2, Ck = J2, Tk = eC, xk = xC, Ik = Ff, Ok = RC, Dk = UC, Ak = WC, Rk = $l, kk = JC, Nk = eT, Fk = aT, Pk = sT, Mk = yT, Lk = ST, Bk = TT, Vk = DT, Uk = FT, zk = ea, qk = UT, Hk = Mf, Wk = ex, jk = rx, Kk = cx, Gk = Kd, Jk = Xd, Yk = hx, Zk = lI, Xk = Cl, Qk = Vf, e8 = Uf, t8 = Tl, n8 = fI, r8 = Ln, a8 = gn, o8 = _I, i8 = CI, l8 = xl, s8 = RI, u8 = Hf, c8 = qI, d8 = To, f8 = $O, p8 = la, h8 = Kf, m8 = ot, g8 = tp, v8 = np, y8 = q4, b8 = ht, w8 = j4, _8 = Yf, S8 = Qf, $8 = Xf, E8 = Y4, C8 = rD, T8 = dD, x8 = mD, I8 = _D, O8 = ep, D8 = TD, A8 = op, R8 = rp, k8 = ap, N8 = KD, F8 = XD, P8 = lA, M8 = dA, L8 = mA, B8 = bA, V8 = dp, U8 = OA, Gu = Qe, z8 = RA, q8 = fr, H8 = FA, W8 = LA, j8 = zA, K8 = jA, G8 = JA, J8 = XA, Y8 = nR, Z8 = pp, X8 = hR, Q8 = _p, eN = IR, tN = RR, nN = HR, rN = YR;
9974
9974
  Ku(Cp, {
9975
9975
  // object
9976
9976
  assign: Ku,
@@ -14767,7 +14767,7 @@ const MB = Pt({
14767
14767
  right: `calc(100% - ${Be + 15 + 6}px)`
14768
14768
  };
14769
14769
  });
14770
- const lt = () => {
14770
+ const it = () => {
14771
14771
  const { type: F, autosize: oe } = r;
14772
14772
  if (!(!je || F !== "textarea" || !C.value))
14773
14773
  if (oe) {
@@ -14790,7 +14790,7 @@ const MB = Pt({
14790
14790
  return;
14791
14791
  ((Be = C.value) == null ? void 0 : Be.offsetParent) === null || (F(), oe = !0);
14792
14792
  };
14793
- })(lt), bn = () => {
14793
+ })(it), bn = () => {
14794
14794
  const F = Q.value, oe = r.formatter ? r.formatter(Te.value) : Te.value;
14795
14795
  !F || F.value === oe || (F.value = oe);
14796
14796
  }, ae = async (F) => {
@@ -14836,11 +14836,11 @@ const MB = Pt({
14836
14836
  };
14837
14837
  return ve(() => r.modelValue, () => {
14838
14838
  var F;
14839
- Me(() => lt()), r.validateEvent && ((F = f == null ? void 0 : f.validate) == null || F.call(f, "change").catch((oe) => ft(oe)));
14839
+ Me(() => it()), r.validateEvent && ((F = f == null ? void 0 : f.validate) == null || F.call(f, "change").catch((oe) => ft(oe)));
14840
14840
  }), ve(Te, () => bn()), ve(() => r.type, async () => {
14841
- await Me(), bn(), lt();
14841
+ await Me(), bn(), it();
14842
14842
  }), he(() => {
14843
- !r.formatter && r.parser && ft("ElInput", "If you set the parser, you also need to set the formatter."), bn(), Me(lt);
14843
+ !r.formatter && r.parser && ft("ElInput", "If you set the parser, you also need to set the formatter."), bn(), Me(it);
14844
14844
  }), fo({
14845
14845
  from: "label",
14846
14846
  replacement: "aria-label",
@@ -14857,7 +14857,7 @@ const MB = Pt({
14857
14857
  blur: hm,
14858
14858
  select: vm,
14859
14859
  clear: is,
14860
- resizeTextarea: lt
14860
+ resizeTextarea: it
14861
14861
  }), (F, oe) => (y(), N("div", Rr(c(i), {
14862
14862
  class: [
14863
14863
  c(l),
@@ -17375,7 +17375,7 @@ class cm {
17375
17375
  httpBeforeSendHandle: i = null,
17376
17376
  headers: l = {}
17377
17377
  }) {
17378
- this.$message = nU, this.$confirm = gU.confirm, this.$notify = ja, this.showMode = B(n), t ? this.widgetConfig = Je(t) : this.widgetConfig = Je(rt.homepage), this.$utils = oN, this.widgetMap = /* @__PURE__ */ new Map(), this.vueInstanceMap = /* @__PURE__ */ new Map(), this.paramsMap = /* @__PURE__ */ new Map(), this.widgetIds = [], this.chosenWidget = B(null), this.historyList = [], this.historyIndex = B(0), this.isHistory = !1, this.$http = new OU({
17378
+ this.$message = nU, this.$confirm = gU.confirm, this.$notify = ja, this.showMode = B(n), t ? this.widgetConfig = Je(t) : this.widgetConfig = Je(this.$utils.clone(st.homepage)), this.$utils = oN, this.widgetMap = /* @__PURE__ */ new Map(), this.vueInstanceMap = /* @__PURE__ */ new Map(), this.paramsMap = /* @__PURE__ */ new Map(), this.widgetIds = [], this.chosenWidget = B(null), this.historyList = [], this.historyIndex = B(0), this.isHistory = !1, this.$http = new OU({
17379
17379
  baseUrl: r,
17380
17380
  httpSuccessHandle: a,
17381
17381
  httpErrorHandle: o,
@@ -17416,7 +17416,14 @@ class cm {
17416
17416
  resetWidgetConfig() {
17417
17417
  this.updateWidget(
17418
17418
  "homepage",
17419
- this.$utils.clone(rt.homepage, !0),
17419
+ this.$utils.clone(st.homepage, !0),
17420
+ !0
17421
+ );
17422
+ }
17423
+ setWidgetConfig(t) {
17424
+ this.updateWidget(
17425
+ "homepage",
17426
+ this.$utils.clone(t, !0),
17420
17427
  !0
17421
17428
  );
17422
17429
  }
@@ -17739,7 +17746,7 @@ const dm = /* @__PURE__ */ Object.assign({ name: "sunForm" }, {
17739
17746
  }, 8, ["widget", "designer"]);
17740
17747
  };
17741
17748
  }
17742
- }), Un = (e) => (mo("data-v-8ca1b66a"), e = e(), go(), e), DU = { class: "h-full bg-gray-100 flex flex-col" }, AU = { class: "head px-4 py-2 bg-gray-50 flex justify-between items-center" }, RU = /* @__PURE__ */ Un(() => /* @__PURE__ */ T("div", { class: "logo" }, [
17749
+ }), Un = (e) => (mo("data-v-746207d6"), e = e(), go(), e), DU = { class: "h-full bg-gray-100 flex flex-col" }, AU = { class: "head px-4 py-2 bg-gray-50 flex justify-between items-center" }, RU = /* @__PURE__ */ Un(() => /* @__PURE__ */ T("div", { class: "logo" }, [
17743
17750
  /* @__PURE__ */ T("img", {
17744
17751
  class: "h-[32px]",
17745
17752
  src: vb,
@@ -17790,7 +17797,7 @@ const dm = /* @__PURE__ */ Object.assign({ name: "sunForm" }, {
17790
17797
  }
17791
17798
  },
17792
17799
  setup(e, { expose: t }) {
17793
- let n = e, r = n.widgetConfig || rt.homepage, a = B(!1), o = null, i = B(!1), l = Je(
17800
+ let n = e, r = n.widgetConfig || JSON.parse(JSON.stringify(st.homepage)), a = B(!1), o = null, i = B(!1), l = Je(
17794
17801
  new cm({
17795
17802
  widgetConfig: r,
17796
17803
  httpSuccessHandle: n.httpSuccessHandle,
@@ -17805,11 +17812,7 @@ const dm = /* @__PURE__ */ Object.assign({ name: "sunForm" }, {
17805
17812
  const u = () => {
17806
17813
  o = l.$utils.clone(l.widgetConfig, !0), a.value = !0;
17807
17814
  }, d = () => {
17808
- l.updateWidget(
17809
- "homepage",
17810
- l.$utils.clone(rt.homepage, !0),
17811
- !0
17812
- );
17815
+ l.resetWidgetConfig();
17813
17816
  }, f = ($) => {
17814
17817
  l.historyIndex = $.index, l.updateByHistory($.widgetConfig);
17815
17818
  }, p = ({ row: $, rowIndex: C }) => {
@@ -18045,7 +18048,7 @@ const dm = /* @__PURE__ */ Object.assign({ name: "sunForm" }, {
18045
18048
  ], 64);
18046
18049
  };
18047
18050
  }
18048
- }), fm = /* @__PURE__ */ kt(ZU, [["__scopeId", "data-v-8ca1b66a"]]);
18051
+ }), fm = /* @__PURE__ */ kt(ZU, [["__scopeId", "data-v-746207d6"]]);
18049
18052
  fm.install = function(e) {
18050
18053
  e.use(Nd), e.use(Pd);
18051
18054
  };