flame-plus 1.5.6 → 1.5.8

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,5 +1,5 @@
1
1
  import * as r9 from "vue";
2
- const { warn: o9, defineComponent: Jt, ref: Ft, reactive: ri, onMounted: Aa, resolveComponent: Xe, createElementBlock: at, openBlock: Re, createBlock: lr, createVNode: P, unref: ge, withCtx: ne, createTextVNode: dn, computed: Ze, watch: Wt, onBeforeUnmount: uS, normalizeStyle: Sg, nextTick: Cg, mergeProps: Bn, isVNode: ad, normalizeClass: Es, toDisplayString: Do, onUnmounted: i9, createElementVNode: ut, Fragment: Cn, renderList: ko, getCurrentInstance: k3, useCssVars: s9, h: vs, createCommentVNode: Mr, createSlots: Xu, renderSlot: fa, isRef: a9, queuePostFlushCb: l9, normalizeProps: u9, guardReactiveProps: c9, toRaw: Yk, resolveDirective: f9, withDirectives: ec, withKeys: Jp, withModifiers: ss, vShow: _d, pushScopeId: iy, popScopeId: sy, inject: Xk, provide: Jk, onBeforeMount: d9, resolveDynamicComponent: Qk } = r9;
2
+ const { warn: o9, defineComponent: Jt, ref: Ft, reactive: ri, onMounted: Aa, resolveComponent: Xe, createElementBlock: at, openBlock: Pe, createBlock: lr, createVNode: P, unref: ge, withCtx: ne, createTextVNode: dn, computed: Je, watch: Wt, onBeforeUnmount: uS, normalizeStyle: Sg, nextTick: Cg, mergeProps: Bn, isVNode: ad, normalizeClass: Es, toDisplayString: Do, onUnmounted: i9, createElementVNode: ut, Fragment: Cn, renderList: ko, getCurrentInstance: k3, useCssVars: s9, h: vs, createCommentVNode: jr, createSlots: Xu, renderSlot: fa, isRef: a9, queuePostFlushCb: l9, normalizeProps: u9, guardReactiveProps: c9, toRaw: Yk, resolveDirective: f9, withDirectives: ec, withKeys: Jp, withModifiers: ss, vShow: _d, pushScopeId: iy, popScopeId: sy, inject: Xk, provide: Jk, onBeforeMount: d9, resolveDynamicComponent: Qk } = r9;
3
3
  import { ArrowRight as Qp, CopyDocument as Zk, Delete as ej, QuestionFilled as h9 } from "@element-plus/icons-vue";
4
4
  import p9 from "tinymce/tinymce";
5
5
  import m9 from "@tinymce/tinymce-vue";
@@ -4549,8 +4549,8 @@ const QM = "__epPropKey", rO = (t) => t, NG = (t) => j3(t) && !!t[QM], LG = (t,
4549
4549
  };
4550
4550
  return (s, a) => {
4551
4551
  const l = Xe("el-button"), u = Xe("el-upload");
4552
- return Re(), at("div", null, [
4553
- (Re(), lr(ge(m9), {
4552
+ return Pe(), at("div", null, [
4553
+ (Pe(), lr(ge(m9), {
4554
4554
  id: "tinymce",
4555
4555
  init: o,
4556
4556
  "model-value": s.modelValue,
@@ -6704,10 +6704,10 @@ function kY() {
6704
6704
  return { type: "MultiSelectHash", children: V };
6705
6705
  }
6706
6706
  };
6707
- function Je(V) {
6707
+ function Qe(V) {
6708
6708
  this.runtime = V;
6709
6709
  }
6710
- Je.prototype = {
6710
+ Qe.prototype = {
6711
6711
  search: function(V, H) {
6712
6712
  return this.visit(V, H);
6713
6713
  },
@@ -7193,7 +7193,7 @@ function kY() {
7193
7193
  return H.tokenize(V);
7194
7194
  }
7195
7195
  function Vt(V, H) {
7196
- var Y = new Ct(), _ = new st(), G = new Je(_);
7196
+ var Y = new Ct(), _ = new st(), G = new Qe(_);
7197
7197
  _._interpreter = G;
7198
7198
  var oe = Y.parse(H);
7199
7199
  return G.search(oe, V);
@@ -26556,8 +26556,8 @@ function rre() {
26556
26556
  for (; Cf.length > 0; ) BR();
26557
26557
  }
26558
26558
  function zR(t) {
26559
- var e = Or;
26560
- if (e === null) return jr.f |= hc, t;
26559
+ var e = Er;
26560
+ if (e === null) return Or.f |= hc, t;
26561
26561
  if ((e.f & rk) === 0) {
26562
26562
  if ((e.f & nk) === 0) throw t;
26563
26563
  e.b.error(t);
@@ -26779,7 +26779,7 @@ function HR(t, e, n) {
26779
26779
  function Yf(t) {
26780
26780
  for (var e = Jy = t; e.parent !== null; ) {
26781
26781
  var n = (e = e.parent).f;
26782
- if (g2 && e === Or && (n & Zh) !== 0 && (n & RR) === 0) return;
26782
+ if (g2 && e === Er && (n & Zh) !== 0 && (n & RR) === 0) return;
26783
26783
  if (96 & n) {
26784
26784
  if ((n & _i) === 0) return;
26785
26785
  e.f ^= _i;
@@ -26800,8 +26800,8 @@ let lre = class {
26800
26800
  (s -= 1) == 0 && ((l = i) === null || l === void 0 || l(), i = void 0, Om(a));
26801
26801
  });
26802
26802
  })));
26803
- })), ir(ic, this, e), ir(cf, this, n), ir(lx, this, r), this.parent = Or.b, ir(Hu, this, !!et(cf, this).pending), ir(Qu, this, rp(() => {
26804
- Or.b = this;
26803
+ })), ir(ic, this, e), ir(cf, this, n), ir(lx, this, r), this.parent = Er.b, ir(Hu, this, !!et(cf, this).pending), ir(Qu, this, rp(() => {
26804
+ Er.b = this;
26805
26805
  var l = hi(Bu, this, ure).call(this);
26806
26806
  try {
26807
26807
  ir(qu, this, Ol(() => r(l)));
@@ -26836,7 +26836,7 @@ let lre = class {
26836
26836
  }(), og.ensure(), ir(bd, this, 0), et(Nu, this) !== null && Ph(et(Nu, this), () => {
26837
26837
  ir(Nu, this, null);
26838
26838
  }), ir(Hu, this, this.has_pending_snippet()), ir(qu, this, hi(Bu, this, xA).call(this, () => (ir(zp, this, !1), Ol(() => et(lx, this).call(this, et(ic, this)))))), et(hh, this) > 0 ? hi(Bu, this, wA).call(this) : ir(Hu, this, !1));
26839
- }, a = jr;
26839
+ }, a = Or;
26840
26840
  try {
26841
26841
  Is(null), i = !0, n == null || n(e, s), i = !1;
26842
26842
  } catch (l) {
@@ -26865,7 +26865,7 @@ function ure() {
26865
26865
  return et(Hu, this) && (ir(dh, this, mc()), et(ic, this).before(et(dh, this)), t = et(dh, this)), t;
26866
26866
  }
26867
26867
  function xA(t) {
26868
- var e = Or, n = jr, r = Br;
26868
+ var e = Er, n = Or, r = Br;
26869
26869
  ja(et(Qu, this)), Is(et(Qu, this)), Ah(et(Qu, this).ctx);
26870
26870
  try {
26871
26871
  return t();
@@ -26888,8 +26888,8 @@ function qR(t) {
26888
26888
  function GR(t, e, n, r) {
26889
26889
  var o = tp() ? qg : Tt;
26890
26890
  if (n.length !== 0 || t.length !== 0) {
26891
- var i = Zr, s = Or, a = /* @__PURE__ */ function() {
26892
- var u = Or, c = jr, d = Br, h = Zr;
26891
+ var i = Zr, s = Er, a = /* @__PURE__ */ function() {
26892
+ var u = Er, c = Or, d = Br, h = Zr;
26893
26893
  return function() {
26894
26894
  var p = !(arguments.length > 0 && arguments[0] !== void 0) || arguments[0];
26895
26895
  ja(u), Is(c), Ah(d), p && (h == null || h.activate());
@@ -26906,11 +26906,11 @@ function GR(t, e, n, r) {
26906
26906
  } else r(e.map(o));
26907
26907
  function l() {
26908
26908
  Promise.all(n.map((u) => function(c) {
26909
- var d = Or;
26909
+ var d = Er;
26910
26910
  d === null && function() {
26911
26911
  throw new Error("https://svelte.dev/e/async_derived_orphan");
26912
26912
  }();
26913
- var h = d.b, p = void 0, m = Su($i), g = !jr, v = /* @__PURE__ */ new Map();
26913
+ var h = d.b, p = void 0, m = Su($i), g = !Or, v = /* @__PURE__ */ new Map();
26914
26914
  return function(b) {
26915
26915
  ol(4718592, b, !0);
26916
26916
  }(() => {
@@ -26966,8 +26966,8 @@ function Bv() {
26966
26966
  ja(null), Is(null), Ah(null);
26967
26967
  }
26968
26968
  function qg(t) {
26969
- var e = jr !== null && 2 & jr.f ? jr : null;
26970
- return Or !== null && (Or.f |= DR), { ctx: Br, deps: null, effects: null, equals: NR, f: 2050, fn: t, reactions: null, rv: 0, v: $i, wv: 0, parent: e ?? Or, ac: null };
26969
+ var e = Or !== null && 2 & Or.f ? Or : null;
26970
+ return Er !== null && (Er.f |= DR), { ctx: Br, deps: null, effects: null, equals: NR, f: 2050, fn: t, reactions: null, rv: 0, v: $i, wv: 0, parent: e ?? Er, ac: null };
26971
26971
  }
26972
26972
  function ks(t) {
26973
26973
  var e = qg(t);
@@ -26985,7 +26985,7 @@ function KR(t) {
26985
26985
  }
26986
26986
  }
26987
26987
  function ok(t) {
26988
- var e, n = Or;
26988
+ var e, n = Er;
26989
26989
  ja(function(r) {
26990
26990
  for (var o = r.parent; o !== null; ) {
26991
26991
  if (!(2 & o.f)) return (o.f & ep) === 0 ? o : null;
@@ -27021,7 +27021,7 @@ function Ys(t, e) {
27021
27021
  }
27022
27022
  function D(t, e) {
27023
27023
  var n, r = arguments.length > 2 && arguments[2] !== void 0 && arguments[2];
27024
- return jr === null || xl && (jr.f & tre) === 0 || !tp() || !(4325394 & jr.f) || (n = fu) !== null && n !== void 0 && n.includes(t) || function() {
27024
+ return Or === null || xl && (Or.f & tre) === 0 || !tp() || !(4325394 & Or.f) || (n = fu) !== null && n !== void 0 && n.includes(t) || function() {
27025
27025
  throw new Error("https://svelte.dev/e/state_unsafe_mutation");
27026
27026
  }(), Mh(t, r ? Kd(e) : e);
27027
27027
  }
@@ -27030,7 +27030,7 @@ function Mh(t, e) {
27030
27030
  var n = t.v;
27031
27031
  pd ? pc.set(t, e) : pc.set(t, n), t.v = e;
27032
27032
  var r = og.ensure();
27033
- r.capture(t, n), 2 & t.f && ((t.f & Qa) !== 0 && ok(t), Ui(t, (t.f & Ja) !== 0 ? _i : wu)), t.wv = dD(), ZR(t, Qa), !tp() || Or === null || (Or.f & _i) === 0 || 96 & Or.f || (sa === null ? function(o) {
27033
+ r.capture(t, n), 2 & t.f && ((t.f & Qa) !== 0 && ok(t), Ui(t, (t.f & Ja) !== 0 ? _i : wu)), t.wv = dD(), ZR(t, Qa), !tp() || Er === null || (Er.f & _i) === 0 || 96 & Er.f || (sa === null ? function(o) {
27034
27034
  sa = o;
27035
27035
  }([t]) : sa.push(t)), !r.is_fork && ux.size > 0 && !SA && function() {
27036
27036
  SA = !1;
@@ -27058,7 +27058,7 @@ function ZR(t, e) {
27058
27058
  var n = t.reactions;
27059
27059
  if (n !== null) for (var r = tp(), o = n.length, i = 0; i < o; i++) {
27060
27060
  var s = n[i], a = s.f;
27061
- if (r || s !== Or) {
27061
+ if (r || s !== Er) {
27062
27062
  var l = (a & Qa) === 0;
27063
27063
  if (l && Ui(s, e), 2 & a) {
27064
27064
  var u, c = s;
@@ -27073,7 +27073,7 @@ function Kd(t) {
27073
27073
  if (e !== Xne && e !== Jne) return t;
27074
27074
  var n = /* @__PURE__ */ new Map(), r = Wg(t), o = Wl(0), i = Mf, s = (a) => {
27075
27075
  if (Mf === i) return a();
27076
- var l = jr, u = Mf;
27076
+ var l = Or, u = Mf;
27077
27077
  Is(null), EA(i);
27078
27078
  var c = a();
27079
27079
  return Is(l), EA(u), c;
@@ -27119,7 +27119,7 @@ function Kd(t) {
27119
27119
  var u;
27120
27120
  if (l === jl) return !0;
27121
27121
  var c = n.get(l), d = c !== void 0 && c.v !== $i || Reflect.has(a, l);
27122
- return (c !== void 0 || Or !== null && (!d || (u = uu(a, l)) !== null && u !== void 0 && u.writable)) && (c === void 0 && (c = s(() => Wl(d ? Kd(a[l]) : $i)), n.set(l, c)), f(c) === $i) ? !1 : d;
27122
+ return (c !== void 0 || Er !== null && (!d || (u = uu(a, l)) !== null && u !== void 0 && u.writable)) && (c === void 0 && (c = s(() => Wl(d ? Kd(a[l]) : $i)), n.set(l, c)), f(c) === $i) ? !1 : d;
27123
27123
  }, set(a, l, u, c) {
27124
27124
  var d, h = n.get(l), p = l in a;
27125
27125
  if (r && l === "length") for (var m = u; m < h.v; m += 1) {
@@ -27183,7 +27183,7 @@ function xe(t) {
27183
27183
  }
27184
27184
  var jA = !1;
27185
27185
  function Qy(t) {
27186
- var e = jr, n = Or;
27186
+ var e = Or, n = Er;
27187
27187
  Is(null), ja(null);
27188
27188
  try {
27189
27189
  return t();
@@ -27207,7 +27207,7 @@ function fre(t, e, n) {
27207
27207
  }, { capture: !0 }));
27208
27208
  }
27209
27209
  function eD(t) {
27210
- Or === null && (jr === null && function() {
27210
+ Er === null && (Or === null && function() {
27211
27211
  throw new Error("https://svelte.dev/e/effect_orphan");
27212
27212
  }(), function() {
27213
27213
  throw new Error("https://svelte.dev/e/effect_in_unowned_derived");
@@ -27216,7 +27216,7 @@ function eD(t) {
27216
27216
  }();
27217
27217
  }
27218
27218
  function ol(t, e, n) {
27219
- var r = Or;
27219
+ var r = Er;
27220
27220
  r !== null && (r.f & kl) !== 0 && (t |= kl);
27221
27221
  var o = { ctx: Br, deps: null, nodes: null, f: t | Qa | Ja, first: null, fn: e, last: null, next: null, parent: r, b: r && r.b, prev: null, teardown: null, wv: 0, ac: null };
27222
27222
  if (n) try {
@@ -27229,14 +27229,14 @@ function ol(t, e, n) {
27229
27229
  if (n && i.deps === null && i.teardown === null && i.nodes === null && i.first === i.last && (i.f & DR) === 0 && (i = i.first, (t & Zh) !== 0 && (t & Gf) !== 0 && i !== null && (i.f |= Gf)), i !== null && (i.parent = r, r !== null && function(l, u) {
27230
27230
  var c = u.last;
27231
27231
  c === null ? u.last = u.first = l : (c.next = l, l.prev = c, u.last = l);
27232
- }(i, r), jr !== null && 2 & jr.f && (t & PR) === 0)) {
27233
- var s, a = jr;
27232
+ }(i, r), Or !== null && 2 & Or.f && (t & PR) === 0)) {
27233
+ var s, a = Or;
27234
27234
  ((s = a.effects) !== null && s !== void 0 ? s : a.effects = []).push(i);
27235
27235
  }
27236
27236
  return o;
27237
27237
  }
27238
27238
  function ig() {
27239
- return jr !== null && !xl;
27239
+ return Or !== null && !xl;
27240
27240
  }
27241
27241
  function Zy(t) {
27242
27242
  var e = ol(8, null, !1);
@@ -27244,8 +27244,8 @@ function Zy(t) {
27244
27244
  }
27245
27245
  function b2(t) {
27246
27246
  eD();
27247
- var e = Or.f;
27248
- if (!(!jr && (e & Xy) !== 0 && (e & rk) === 0)) return tD(t);
27247
+ var e = Er.f;
27248
+ if (!(!Or && (e & Xy) !== 0 && (e & rk) === 0)) return tD(t);
27249
27249
  var n, r = Br;
27250
27250
  ((n = r.e) !== null && n !== void 0 ? n : r.e = []).push(t);
27251
27251
  }
@@ -27291,7 +27291,7 @@ function Ol(t) {
27291
27291
  function rD(t) {
27292
27292
  var e = t.teardown;
27293
27293
  if (e !== null) {
27294
- var n = pd, r = jr;
27294
+ var n = pd, r = Or;
27295
27295
  OA(!0), Is(null);
27296
27296
  try {
27297
27297
  e.call(null);
@@ -27379,17 +27379,17 @@ var pd = !1;
27379
27379
  function OA(t) {
27380
27380
  pd = t;
27381
27381
  }
27382
- var jr = null, xl = !1;
27382
+ var Or = null, xl = !1;
27383
27383
  function Is(t) {
27384
- jr = t;
27384
+ Or = t;
27385
27385
  }
27386
- var Or = null;
27386
+ var Er = null;
27387
27387
  function ja(t) {
27388
- Or = t;
27388
+ Er = t;
27389
27389
  }
27390
27390
  var fu = null;
27391
27391
  function cD(t) {
27392
- jr !== null && (fu === null ? fu = [t] : fu.push(t));
27392
+ Or !== null && (fu === null ? fu = [t] : fu.push(t));
27393
27393
  }
27394
27394
  var as = null, Ws = 0, sa = null, fD = 1, sg = 0, Mf = sg;
27395
27395
  function EA(t) {
@@ -27419,8 +27419,8 @@ function hD(t, e) {
27419
27419
  }
27420
27420
  }
27421
27421
  function pD(t) {
27422
- var e = as, n = Ws, r = sa, o = jr, i = fu, s = Br, a = xl, l = Mf, u = t.f;
27423
- as = null, Ws = 0, sa = null, jr = 96 & u ? null : t, fu = null, Ah(t.ctx), xl = !1, Mf = ++sg, t.ac !== null && (Qy(() => {
27422
+ var e = as, n = Ws, r = sa, o = Or, i = fu, s = Br, a = xl, l = Mf, u = t.f;
27423
+ as = null, Ws = 0, sa = null, Or = 96 & u ? null : t, fu = null, Ah(t.ctx), xl = !1, Mf = ++sg, t.ac !== null && (Qy(() => {
27424
27424
  t.ac.abort(Gd);
27425
27425
  }), t.ac = null);
27426
27426
  try {
@@ -27440,7 +27440,7 @@ function pD(t) {
27440
27440
  } catch (g) {
27441
27441
  return zR(g);
27442
27442
  } finally {
27443
- t.f ^= m2, as = e, Ws = n, sa = r, jr = o, fu = i, Ah(s), xl = a, Mf = l;
27443
+ t.f ^= m2, as = e, Ws = n, sa = r, Or = o, fu = i, Ah(s), xl = a, Mf = l;
27444
27444
  }
27445
27445
  }
27446
27446
  function hre(t, e) {
@@ -27462,8 +27462,8 @@ function Rh(t) {
27462
27462
  var e = t.f;
27463
27463
  if ((e & ep) === 0) {
27464
27464
  Ui(t, _i);
27465
- var n = Or, r = Tf;
27466
- Or = t, Tf = !0;
27465
+ var n = Er, r = Tf;
27466
+ Er = t, Tf = !0;
27467
27467
  try {
27468
27468
  16777232 & e ? function(i) {
27469
27469
  for (var s = i.first; s !== null; ) {
@@ -27474,7 +27474,7 @@ function Rh(t) {
27474
27474
  var o = pD(t);
27475
27475
  t.teardown = typeof o == "function" ? o : null, t.wv = fD;
27476
27476
  } finally {
27477
- Tf = r, Or = n;
27477
+ Tf = r, Er = n;
27478
27478
  }
27479
27479
  }
27480
27480
  }
@@ -27488,14 +27488,14 @@ function gD() {
27488
27488
  }
27489
27489
  function f(t) {
27490
27490
  var e, n, r, o, i, s = !!(2 & t.f);
27491
- if ((e = dre) === null || e === void 0 || e.add(t), jr !== null && !xl && !(Or !== null && (Or.f & ep) !== 0 || (i = fu) !== null && i !== void 0 && i.includes(t))) {
27492
- var a = jr.deps;
27493
- if ((jr.f & m2) !== 0) t.rv < sg && (t.rv = sg, as === null && a !== null && a[Ws] === t ? Ws++ : as === null ? as = [t] : as.includes(t) || as.push(t));
27491
+ if ((e = dre) === null || e === void 0 || e.add(t), Or !== null && !xl && !(Er !== null && (Er.f & ep) !== 0 || (i = fu) !== null && i !== void 0 && i.includes(t))) {
27492
+ var a = Or.deps;
27493
+ if ((Or.f & m2) !== 0) t.rv < sg && (t.rv = sg, as === null && a !== null && a[Ws] === t ? Ws++ : as === null ? as = [t] : as.includes(t) || as.push(t));
27494
27494
  else {
27495
27495
  var l, u;
27496
- ((u = (l = jr).deps) !== null && u !== void 0 ? u : l.deps = []).push(t);
27496
+ ((u = (l = Or).deps) !== null && u !== void 0 ? u : l.deps = []).push(t);
27497
27497
  var c = t.reactions;
27498
- c === null ? t.reactions = [jr] : c.includes(jr) || c.push(jr);
27498
+ c === null ? t.reactions = [Or] : c.includes(Or) || c.push(Or);
27499
27499
  }
27500
27500
  }
27501
27501
  if (pd) {
@@ -27594,7 +27594,7 @@ function om(t) {
27594
27594
  }
27595
27595
  if ((s = i[a] || t.target) !== n) {
27596
27596
  Yne(t, "currentTarget", { configurable: !0, get: () => s || r });
27597
- var d = jr, h = Or;
27597
+ var d = Or, h = Er;
27598
27598
  Is(null), ja(null);
27599
27599
  try {
27600
27600
  for (var p, m = []; s !== null; ) {
@@ -27627,7 +27627,7 @@ function ik(t) {
27627
27627
  return e.innerHTML = t.replaceAll("<!>", "<!---->"), e.content;
27628
27628
  }
27629
27629
  function Xf(t, e) {
27630
- var n = Or;
27630
+ var n = Er;
27631
27631
  n.nodes === null && (n.nodes = { start: t, end: e, a: null, t: null });
27632
27632
  }
27633
27633
  function Ee(t, e) {
@@ -27906,8 +27906,8 @@ function Oo(t, e, n, r, o) {
27906
27906
  if (le === 0) {
27907
27907
  var $e = he !== null;
27908
27908
  if ($e) {
27909
- var Ct = he, Je = Ct.parentNode;
27910
- Je.textContent = "", Je.append(Ct), re.items.clear();
27909
+ var Ct = he, Qe = Ct.parentNode;
27910
+ Qe.textContent = "", Qe.append(Ct), re.items.clear();
27911
27911
  }
27912
27912
  fx(Ae, !$e);
27913
27913
  } else {
@@ -27955,7 +27955,7 @@ function Lu(t, e, n) {
27955
27955
  function CD(t, e) {
27956
27956
  var n = arguments.length > 2 && arguments[2] !== void 0 && arguments[2], r = arguments.length > 3 && arguments[3] !== void 0 && arguments[3], o = t, i = "";
27957
27957
  it(() => {
27958
- var s, a = Or;
27958
+ var s, a = Er;
27959
27959
  if (i !== (i = (s = e()) !== null && s !== void 0 ? s : "") && (a.nodes !== null && (iD(a.nodes.start, a.nodes.end), a.nodes = null), i !== "")) {
27960
27960
  var l = i + "";
27961
27961
  n ? l = "<svg>".concat(l, "</svg>") : r && (l = "<math>".concat(l, "</math>"));
@@ -28321,7 +28321,7 @@ var zv = !1, Ere = { get(t, e) {
28321
28321
  if (!t.exclude.includes(e)) return f(t.version), e in t.special ? t.special[e]() : t.props[e];
28322
28322
  }, set(t, e, n) {
28323
28323
  if (!(e in t.special)) {
28324
- var r = Or;
28324
+ var r = Er;
28325
28325
  try {
28326
28326
  ja(t.parent_effect), t.special[e] = I({ get [e]() {
28327
28327
  return t.props[e];
@@ -28335,7 +28335,7 @@ var zv = !1, Ere = { get(t, e) {
28335
28335
  if (!t.exclude.includes(e)) return e in t.props ? { enumerable: !0, configurable: !0, value: t.props[e] } : void 0;
28336
28336
  }, deleteProperty: (t, e) => (t.exclude.includes(e) || (t.exclude.push(e), CA(t.version)), !0), has: (t, e) => !t.exclude.includes(e) && e in t.props, ownKeys: (t) => Reflect.ownKeys(t.props).filter((e) => !t.exclude.includes(e)) };
28337
28337
  function _v(t, e) {
28338
- return new Proxy({ props: t, exclude: e, special: {}, version: Su(0), parent_effect: Or }, Ere);
28338
+ return new Proxy({ props: t, exclude: e, special: {}, version: Su(0), parent_effect: Er }, Ere);
28339
28339
  }
28340
28340
  var Are = { get(t, e) {
28341
28341
  for (var n = t.props.length; n--; ) {
@@ -28405,7 +28405,7 @@ function I(t, e, n, r) {
28405
28405
  }
28406
28406
  var w = !1, E = (1 & n ? qg : Tt)(() => (w = !1, g()));
28407
28407
  a && f(E);
28408
- var C = Or;
28408
+ var C = Er;
28409
28409
  return function(y, x) {
28410
28410
  if (arguments.length > 0) {
28411
28411
  var k = x ? f(E) : s && a ? Kd(y) : y;
@@ -31598,7 +31598,7 @@ function vf(t, e) {
31598
31598
  var r, o = ue(), i = ue(), s = ue(), a = ue(), l = ue(), u = ue(), c = ue(), d = ue(), h = ue(), p = wre(), m = I(e, "justValue", 12, null), g = I(e, "filter", 8, cie), v = I(e, "getItems", 8, fie), b = I(e, "id", 8, null), w = I(e, "name", 8, null), E = I(e, "container", 12, void 0), C = I(e, "input", 12, void 0), y = I(e, "multiple", 8, !1), x = I(e, "multiFullItemClearable", 8, !1), k = I(e, "disabled", 8, !1), A = I(e, "focused", 12, !1), j = I(e, "value", 12, null), S = I(e, "filterText", 12, ""), O = I(e, "placeholder", 8, "Please select"), R = I(e, "placeholderAlwaysShow", 8, !1), M = I(e, "items", 12, null), $ = I(e, "label", 8, "label"), F = I(e, "itemFilter", 8, (fe, ke, Be) => "".concat(fe).toLowerCase().includes(ke.toLowerCase())), L = I(e, "groupBy", 8, void 0), B = I(e, "groupFilter", 8, (fe) => fe), q = I(e, "groupHeaderSelectable", 8, !1), z = I(e, "itemId", 8, "value"), K = I(e, "loadOptions", 8, void 0), ce = I(e, "containerStyles", 8, ""), Q = I(e, "hasError", 8, !1), te = I(e, "filterSelectedItems", 8, !0), ee = I(e, "required", 8, !1), T = I(e, "closeListOnChange", 8, !0), U = I(e, "clearFilterTextOnBlur", 8, !0), Oe = I(e, "createGroupHeaderItem", 8, (fe, ke) => ({ value: fe, [$()]: fe })), ye = () => f(c), X = I(e, "searchable", 8, !0), be = I(e, "inputStyles", 8, ""), re = I(e, "clearable", 8, !0), Ae = I(e, "loading", 12, !1), he = I(e, "listOpen", 12, !1), Le = I(e, "debounce", 8, function(fe) {
31599
31599
  var ke = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
31600
31600
  clearTimeout(r), r = setTimeout(fe, ke);
31601
- }), Se = I(e, "debounceWait", 8, 300), le = I(e, "hideEmptyState", 8, !1), rt = I(e, "inputAttributes", 24, () => ({})), St = I(e, "listAutoWidth", 8, !0), $e = I(e, "showChevron", 8, !1), Ct = I(e, "listOffset", 8, 5), Je = I(e, "hoverItemIndex", 12, 0), st = I(e, "floatingConfig", 24, () => ({})), $t = I(e, "class", 8, ""), nt = ue(), Vt = ue(), V = ue(), H = ue(), Y = ue();
31601
+ }), Se = I(e, "debounceWait", 8, 300), le = I(e, "hideEmptyState", 8, !1), rt = I(e, "inputAttributes", 24, () => ({})), St = I(e, "listAutoWidth", 8, !0), $e = I(e, "showChevron", 8, !1), Ct = I(e, "listOffset", 8, 5), Qe = I(e, "hoverItemIndex", 12, 0), st = I(e, "floatingConfig", 24, () => ({})), $t = I(e, "class", 8, ""), nt = ue(), Vt = ue(), V = ue(), H = ue(), Y = ue();
31602
31602
  function _(fe) {
31603
31603
  return fe.map((ke, Be) => ({ index: Be, value: ke, label: "".concat(ke) }));
31604
31604
  }
@@ -31615,7 +31615,7 @@ function vf(t, e) {
31615
31615
  }
31616
31616
  function oe() {
31617
31617
  var fe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, ke = arguments.length > 1 ? arguments[1] : void 0;
31618
- Je(fe < 0 ? 0 : fe), !ke && L() && f(c)[Je()] && !f(c)[Je()].selectable && ln(1);
31618
+ Qe(fe < 0 ? 0 : fe), !ke && L() && f(c)[Qe()] && !f(c)[Qe()].selectable && ln(1);
31619
31619
  }
31620
31620
  function ve() {
31621
31621
  var fe = !0;
@@ -31648,12 +31648,12 @@ function vf(t, e) {
31648
31648
  case "Enter":
31649
31649
  if (fe.preventDefault(), he()) {
31650
31650
  if (f(c).length === 0) break;
31651
- var ke = f(c)[Je()];
31651
+ var ke = f(c)[Qe()];
31652
31652
  if (j() && !y() && j()[z()] === ke[z()]) {
31653
31653
  ct();
31654
31654
  break;
31655
31655
  }
31656
- ze(f(c)[Je()]);
31656
+ ze(f(c)[Qe()]);
31657
31657
  }
31658
31658
  break;
31659
31659
  case "ArrowDown":
@@ -31664,8 +31664,8 @@ function vf(t, e) {
31664
31664
  break;
31665
31665
  case "Tab":
31666
31666
  if (he() && A()) {
31667
- if (f(c).length === 0 || j() && j()[z()] === f(c)[Je()][z()]) return ct();
31668
- fe.preventDefault(), ze(f(c)[Je()]), ct();
31667
+ if (f(c).length === 0 || j() && j()[z()] === f(c)[Qe()][z()]) return ct();
31668
+ fe.preventDefault(), ze(f(c)[Qe()]), ct();
31669
31669
  }
31670
31670
  break;
31671
31671
  case "Backspace":
@@ -31735,12 +31735,12 @@ function vf(t, e) {
31735
31735
  }(fe);
31736
31736
  }
31737
31737
  function Ut(fe) {
31738
- bt || Je(fe);
31738
+ bt || Qe(fe);
31739
31739
  }
31740
31740
  function ln(fe) {
31741
- if (f(c).filter((Be) => !Object.hasOwn(Be, "selectable") || Be.selectable === !0).length === 0) return Je(0);
31742
- fe > 0 && Je() === f(c).length - 1 ? Je(0) : fe < 0 && Je() === 0 ? Je(f(c).length - 1) : Je(Je() + fe);
31743
- var ke = f(c)[Je()];
31741
+ if (f(c).filter((Be) => !Object.hasOwn(Be, "selectable") || Be.selectable === !0).length === 0) return Qe(0);
31742
+ fe > 0 && Qe() === f(c).length - 1 ? Qe(0) : fe < 0 && Qe() === 0 ? Qe(f(c).length - 1) : Qe(Qe() + fe);
31743
+ var ke = f(c)[Qe()];
31744
31744
  ke && ke.selectable === !1 && (fe !== 1 && fe !== -1 || ln(fe));
31745
31745
  }
31746
31746
  function pr(fe, ke, Be) {
@@ -31785,12 +31785,12 @@ function vf(t, e) {
31785
31785
  }), je(() => (N(y()), N(he()), N(j()), f(c)), () => {
31786
31786
  !y() && he() && j() && f(c) && oe(f(c).findIndex((fe) => fe[z()] === j()[z()]), !0);
31787
31787
  }), je(() => (N(he()), N(y())), () => {
31788
- he() && y() && Je(0);
31788
+ he() && y() && Qe(0);
31789
31789
  }), je(() => N(S()), () => {
31790
- S() && Je(0);
31791
- }), je(() => N(Je()), () => {
31790
+ S() && Qe(0);
31791
+ }), je(() => N(Qe()), () => {
31792
31792
  var fe;
31793
- fe = Je(), p("hoverItem", fe);
31793
+ fe = Qe(), p("hoverItem", fe);
31794
31794
  }), je(() => (N(y()), N(j())), () => {
31795
31795
  D(o, y() ? j() && j().length > 0 : j());
31796
31796
  }), je(() => (f(o), N(S())), () => {
@@ -31803,16 +31803,16 @@ function vf(t, e) {
31803
31803
  }), je(() => (N(j()), N(y())), () => {
31804
31804
  var fe, ke;
31805
31805
  D(l, j() ? (fe = y(), ke = void 0, ke = fe && j().length > 0 ? j().map((Be) => Be[$()]).join(", ") : j()[$()], nn()(ke)) : "");
31806
- }), je(() => (f(c), N(Je()), N(A()), N(he())), () => {
31806
+ }), je(() => (f(c), N(Qe()), N(A()), N(he())), () => {
31807
31807
  D(u, function() {
31808
31808
  if (!f(c) || f(c).length === 0) return "";
31809
- var fe = f(c)[Je()];
31809
+ var fe = f(c)[Qe()];
31810
31810
  if (he() && fe) {
31811
31811
  var ke = f(c) ? f(c).length : 0;
31812
31812
  return yn()(fe[$()], ke);
31813
31813
  }
31814
31814
  return On()();
31815
- }((f(c), Je(), A(), he())));
31815
+ }((f(c), Qe(), A(), he())));
31816
31816
  }), je(() => N(M()), () => {
31817
31817
  (function(fe) {
31818
31818
  fe && fe.length !== 0 && !fe.some((ke) => typeof ke != "object") && j() && (y() ? !j().some((ke) => !ke || !ke[z()]) : j()[z()]) && (Array.isArray(j()) ? j(j().map((ke) => ie(ke) || ke)) : j(ie() || j()));
@@ -31843,8 +31843,8 @@ function vf(t, e) {
31843
31843
  var { width: fe } = E().getBoundingClientRect();
31844
31844
  Ys(vt, f(vt).style.width = St() ? fe + "px" : "auto");
31845
31845
  }();
31846
- }), je(() => N(Je()), () => {
31847
- D(h, Je());
31846
+ }), je(() => N(Qe()), () => {
31847
+ D(h, Qe());
31848
31848
  }), je(() => (N(C()), N(he()), N(A())), () => {
31849
31849
  C() && he() && !A() && Ye();
31850
31850
  }), je(() => (N(E()), N(st())), () => {
@@ -31886,12 +31886,12 @@ function vf(t, e) {
31886
31886
  })))), se(xr, kr);
31887
31887
  }), ts(ai, (xr, kr) => Dn == null ? void 0 : Dn(xr), () => ({ scroll: pr(f(Cr), j(), z()), listDom: f(d) })), ts(ai, (xr, kr) => mr == null ? void 0 : mr(xr), () => ({ scroll: f(h) === rn, listDom: f(d) })), it((xr) => qo = hn(ai, 1, "item svelte-1ul7oo4", null, qo, xr), [() => {
31888
31888
  var xr, kr;
31889
- return { "list-group-title": f(Cr).groupHeader, active: pr(f(Cr), j(), z()), first: (kr = rn, kr === 0), hover: Je() === rn, "group-item": f(Cr).groupItem, "not-selectable": ((xr = f(Cr)) === null || xr === void 0 ? void 0 : xr.selectable) === !1 };
31889
+ return { "list-group-title": f(Cr).groupHeader, active: pr(f(Cr), j(), z()), first: (kr = rn, kr === 0), hover: Qe() === rn, "group-item": f(Cr).groupItem, "not-selectable": ((xr = f(Cr)) === null || xr === void 0 ? void 0 : xr.selectable) === !1 };
31890
31890
  }]), Ge("mouseover", To, () => Ut(rn)), Ge("focus", To, () => Ut(rn)), Ge("click", To, Kl(() => function(xr) {
31891
31891
  var { item: kr, i: zo } = xr;
31892
31892
  if ((kr == null ? void 0 : kr.selectable) !== !1) return j() && !y() && j()[z()] === kr[z()] ? ct() : void (function(Z) {
31893
31893
  return Z.groupHeader && Z.selectable || Z.selectable || !Z.hasOwnProperty("selectable");
31894
- }(kr) && (Je(zo), ze(kr)));
31894
+ }(kr) && (Qe(zo), ze(kr)));
31895
31895
  }({ item: f(Cr), i: rn }))), Ge("keydown", To, zu(Kl(function(xr) {
31896
31896
  im.call(this, e, xr);
31897
31897
  }))), se(qr, To);
@@ -31992,14 +31992,14 @@ function vf(t, e) {
31992
31992
  Te(Nr, (fe) => {
31993
31993
  Ae() && fe(Un);
31994
31994
  });
31995
- var gn = xe(Nr, 2), Er = (fe) => {
31995
+ var gn = xe(Nr, 2), Ar = (fe) => {
31996
31996
  var ke = Cie();
31997
31997
  wo(ae(ke), e, "clear-icon", {}, (Be) => {
31998
31998
  Tx(Be);
31999
31999
  }), Ge("click", ke, Rt), se(fe, ke);
32000
32000
  };
32001
32001
  Te(gn, (fe) => {
32002
- f(s) && fe(Er);
32002
+ f(s) && fe(Ar);
32003
32003
  });
32004
32004
  var Ao = xe(gn, 2), lo = (fe) => {
32005
32005
  var ke = kie();
@@ -32023,7 +32023,7 @@ function vf(t, e) {
32023
32023
  vr(ke, "name", w()), Jf(ke, Be);
32024
32024
  }, [() => (N(j()), de(() => j() ? JSON.stringify(j()) : null))]), se(fe, ke);
32025
32025
  });
32026
- var Pe = xe(we, 2), tt = (fe) => {
32026
+ var Re = xe(we, 2), tt = (fe) => {
32027
32027
  var ke = Rn();
32028
32028
  wo(At(ke), e, "required", { get value() {
32029
32029
  return j();
@@ -32031,7 +32031,7 @@ function vf(t, e) {
32031
32031
  se(Be, Oie());
32032
32032
  }), se(fe, ke);
32033
32033
  };
32034
- return Te(Pe, (fe) => {
32034
+ return Te(Re, (fe) => {
32035
32035
  N(ee()), N(j()), de(() => ee() && (!j() || j().length === 0)) && fe(tt);
32036
32036
  }), Mi(() => Ge("pointerup", ro, zu(pt))), to(ro, (fe) => E(fe), () => E()), ts(ro, (fe) => Dr == null ? void 0 : Dr(fe)), it(() => {
32037
32037
  var fe;
@@ -33885,7 +33885,7 @@ function z2(t, e) {
33885
33885
  if (Array.isArray(i())) {
33886
33886
  var $e = c().getJson();
33887
33887
  if ($e === void 0) return;
33888
- var Ct = ou($e, Se), Je = bc($e, Se), st = parseInt(tn(Ct), 10), $t = parseInt(tn(Je), 10), nt = le.find((H) => st >= H.start && $t <= H.end);
33888
+ var Ct = ou($e, Se), Qe = bc($e, Se), st = parseInt(tn(Ct), 10), $t = parseInt(tn(Qe), 10), nt = le.find((H) => st >= H.start && $t <= H.end);
33889
33889
  if (!nt) return;
33890
33890
  var { start: Vt, end: V } = nt;
33891
33891
  MD(Vt, Math.min(i().length, V), (H) => St(String(H)));
@@ -33974,7 +33974,7 @@ function z2(t, e) {
33974
33974
  Te(rt, (ie) => {
33975
33975
  f(r) || ie(St);
33976
33976
  });
33977
- var $e = xe(rt, 2), Ct = ae($e), Je = ae(Ct), st = (ie) => {
33977
+ var $e = xe(rt, 2), Ct = ae($e), Qe = ae(Ct), st = (ie) => {
33978
33978
  var pe = dse();
33979
33979
  I0(xe(At(pe), 2), { children: (He, Ke) => {
33980
33980
  var Ye = Ci();
@@ -33995,7 +33995,7 @@ function z2(t, e) {
33995
33995
  }), se(He, Ye);
33996
33996
  }, $$slots: { default: !0 } }), se(ie, pe);
33997
33997
  };
33998
- Te(Je, (ie) => {
33998
+ Te(Qe, (ie) => {
33999
33999
  f(b) ? ie(st) : ie($t, !1);
34000
34000
  });
34001
34001
  var nt = xe($e, 2), Vt = (ie) => {
@@ -34109,9 +34109,9 @@ function z2(t, e) {
34109
34109
  Te(St, (De) => {
34110
34110
  f(b) ? De($e) : De(Ct, !1);
34111
34111
  });
34112
- var Je = xe(rt, 2);
34113
- wo(Je, e, "identifier", {}, null);
34114
- var st = xe(Je, 2), $t = (De) => {
34112
+ var Qe = xe(rt, 2);
34113
+ wo(Qe, e, "identifier", {}, null);
34114
+ var st = xe(Qe, 2), $t = (De) => {
34115
34115
  se(De, Cse());
34116
34116
  };
34117
34117
  Te(st, (De) => {
@@ -34202,9 +34202,9 @@ function z2(t, e) {
34202
34202
  function ji(we) {
34203
34203
  f(_e) || Ln().readOnly || (we.preventDefault(), Ln().onSelect(Ck(f(Bo))));
34204
34204
  }
34205
- function oo(we, Pe) {
34205
+ function oo(we, Re) {
34206
34206
  var tt = ii()(gr(), Ln().normalization.unescapeValue(we)), fe = zn(f(Bo)).concat(tt);
34207
- Ln().onSelect(Pe === vc.nextInside ? Fn(fe) : ku(fe)), Pe !== vc.self && Ln().focus();
34207
+ Ln().onSelect(Re === vc.nextInside ? Fn(fe) : ku(fe)), Re !== vc.self && Ln().focus();
34208
34208
  }
34209
34209
  function Si() {
34210
34210
  Ln().onSelect(ku(f(Bo))), Ln().focus();
@@ -34217,16 +34217,16 @@ function z2(t, e) {
34217
34217
  D(_e, f(ro) && vi(Ir()));
34218
34218
  }), br(), pn(!0);
34219
34219
  var Nr = ase(), Un = At(Nr), gn = (we) => {
34220
- var Pe = Tt(() => (N(Ln()), N(gr()), de(() => Ln().normalization.escapeValue(gr())))), tt = Tt(() => (N(vi), N(Ir()), de(() => vi(Ir()) ? Ir().initialValue : void 0)));
34220
+ var Re = Tt(() => (N(Ln()), N(gr()), de(() => Ln().normalization.escapeValue(gr())))), tt = Tt(() => (N(vi), N(Ir()), de(() => vi(Ir()) ? Ir().initialValue : void 0)));
34221
34221
  ZD(we, { get value() {
34222
- return f(Pe);
34222
+ return f(Re);
34223
34223
  }, get initialValue() {
34224
34224
  return f(tt);
34225
34225
  }, label: "Edit key", shortText: !0, onChange: oo, onCancel: Si, get onFind() {
34226
34226
  return N(Ln()), de(() => Ln().onFind);
34227
34227
  } });
34228
- }, Er = (we) => {
34229
- var Pe, tt = sse(), fe = ae(tt), ke = (ht) => {
34228
+ }, Ar = (we) => {
34229
+ var Re, tt = sse(), fe = ae(tt), ke = (ht) => {
34230
34230
  var Dt = Tt(() => (N(Ln()), N(gr()), de(() => Ln().normalization.escapeValue(gr()))));
34231
34231
  sI(ht, { get text() {
34232
34232
  return f(Dt);
@@ -34239,10 +34239,10 @@ function z2(t, e) {
34239
34239
  };
34240
34240
  Te(fe, (ht) => {
34241
34241
  vo() ? ht(ke) : ht(Be, !1);
34242
- }), it(() => Pe = hn(tt, 1, "jse-key svelte-1n4cez4", null, Pe, { "jse-empty": gr() === "" })), Ge("dblclick", tt, ji), se(we, tt);
34242
+ }), it(() => Re = hn(tt, 1, "jse-key svelte-1n4cez4", null, Re, { "jse-empty": gr() === "" })), Ge("dblclick", tt, ji), se(we, tt);
34243
34243
  };
34244
34244
  Te(Un, (we) => {
34245
- N(Ln()), f(_e), de(() => !Ln().readOnly && f(_e)) ? we(gn) : we(Er, !1);
34245
+ N(Ln()), f(_e), de(() => !Ln().readOnly && f(_e)) ? we(gn) : we(Ar, !1);
34246
34246
  });
34247
34247
  var Ao = xe(Un, 2), lo = (we) => {
34248
34248
  _u(we, { selected: !0, get onContextMenu() {
@@ -34285,7 +34285,7 @@ function z2(t, e) {
34285
34285
  Te(rt, (_) => {
34286
34286
  f(r) || _(St);
34287
34287
  });
34288
- var $e = xe(rt, 2), Ct = ae($e), Je = Tt(() => f(y) ? u() : void 0), st = Tt(() => (N(h4), N(l()), de(() => h4(l()))));
34288
+ var $e = xe(rt, 2), Ct = ae($e), Qe = Tt(() => f(y) ? u() : void 0), st = Tt(() => (N(h4), N(l()), de(() => h4(l()))));
34289
34289
  SI(Ct, { get path() {
34290
34290
  return f(v);
34291
34291
  }, get value() {
@@ -34293,7 +34293,7 @@ function z2(t, e) {
34293
34293
  }, get enforceString() {
34294
34294
  return f(w);
34295
34295
  }, get selection() {
34296
- return f(Je);
34296
+ return f(Qe);
34297
34297
  }, get searchResultItems() {
34298
34298
  return f(st);
34299
34299
  }, get context() {
@@ -35068,13 +35068,13 @@ function OI(t, e) {
35068
35068
  if (!d()) {
35069
35069
  i("handleReplaceAll", { text: f(b), replaceText: f(E) });
35070
35070
  var { operations: he, newSelection: Le } = function(Se, le, rt, St, $e) {
35071
- for (var Ct = l4(rt, Se, { maxResults: 1 / 0 }), Je = [], st = 0; st < Ct.length; st++) {
35071
+ for (var Ct = l4(rt, Se, { maxResults: 1 / 0 }), Qe = [], st = 0; st < Ct.length; st++) {
35072
35072
  var $t = Ct[st - 1], nt = Ct[st];
35073
- st !== 0 && nt.field === $t.field && kn(nt.path, $t.path) ? tn(Je).items.push(nt) : Je.push({ path: nt.path, field: nt.field, items: [nt] });
35073
+ st !== 0 && nt.field === $t.field && kn(nt.path, $t.path) ? tn(Qe).items.push(nt) : Qe.push({ path: nt.path, field: nt.field, items: [nt] });
35074
35074
  }
35075
- Je.sort((H, Y) => H.field !== Y.field ? H.field === Ha.key ? 1 : -1 : Y.path.length - H.path.length);
35075
+ Qe.sort((H, Y) => H.field !== Y.field ? H.field === Ha.key ? 1 : -1 : Y.path.length - H.path.length);
35076
35076
  var Vt, V = [];
35077
- return Je.forEach((H) => {
35077
+ return Qe.forEach((H) => {
35078
35078
  var { field: Y, path: _, items: G } = H;
35079
35079
  if (Y === Ha.key) {
35080
35080
  var oe = zn(_), ve = Et(Se, oe), ie = tn(_), pe = ev(oe, Object.keys(ve), ie, c4(ie, St, G));
@@ -35149,7 +35149,7 @@ function OI(t, e) {
35149
35149
  setTimeout(() => {
35150
35150
  var rt = l4(Le, Se, { maxResults: yx, columns: h() });
35151
35151
  D(y, function(St, $e) {
35152
- var Ct = $e != null && $e.activeItem ? f4($e.activeItem) : void 0, Je = St.findIndex((nt) => kn(Ct, f4(nt))), st = Je !== -1 ? Je : ($e == null ? void 0 : $e.activeIndex) !== void 0 && ($e == null ? void 0 : $e.activeIndex) < St.length ? $e == null ? void 0 : $e.activeIndex : St.length > 0 ? 0 : -1, $t = St.map((nt, Vt) => ot(ot({ resultIndex: Vt }, nt), {}, { active: Vt === st }));
35152
+ var Ct = $e != null && $e.activeItem ? f4($e.activeItem) : void 0, Qe = St.findIndex((nt) => kn(Ct, f4(nt))), st = Qe !== -1 ? Qe : ($e == null ? void 0 : $e.activeIndex) !== void 0 && ($e == null ? void 0 : $e.activeIndex) < St.length ? $e == null ? void 0 : $e.activeIndex : St.length > 0 ? 0 : -1, $t = St.map((nt, Vt) => ot(ot({ resultIndex: Vt }, nt), {}, { active: Vt === st }));
35153
35153
  return { items: $t, activeItem: $t[st], activeIndex: st };
35154
35154
  }(rt, f(y))), D(C, !1), le();
35155
35155
  });
@@ -35188,7 +35188,7 @@ function OI(t, e) {
35188
35188
  Te(le, (ie) => {
35189
35189
  d() || ie(rt);
35190
35190
  });
35191
- var St = ae(xe(le, 2)), $e = ae(St), Ct = ae($e), Je = (ie) => {
35191
+ var St = ae(xe(le, 2)), $e = ae(St), Ct = ae($e), Qe = (ie) => {
35192
35192
  Kn(ie, { get data() {
35193
35193
  return eY;
35194
35194
  }, spin: !0 });
@@ -35198,7 +35198,7 @@ function OI(t, e) {
35198
35198
  } });
35199
35199
  };
35200
35200
  Te(Ct, (ie) => {
35201
- f(C) ? ie(Je) : ie(st, !1);
35201
+ f(C) ? ie(Qe) : ie(st, !1);
35202
35202
  });
35203
35203
  var $t = xe($e, 2), nt = ae($t);
35204
35204
  Mi(() => Pb(nt, () => f(b), (ie) => D(b, ie))), ts(nt, (ie) => B == null ? void 0 : B(ie)), Mi(() => Ge("paste", nt, O));
@@ -35910,7 +35910,7 @@ function NI(t, e) {
35910
35910
  return r();
35911
35911
  } });
35912
35912
  }, rt = (St) => {
35913
- var $e = Rn(), Ct = At($e), Je = ($t) => {
35913
+ var $e = Rn(), Ct = At($e), Qe = ($t) => {
35914
35914
  Dx($t, { className: "left", get item() {
35915
35915
  return f(he);
35916
35916
  }, get onRequestClose() {
@@ -35936,7 +35936,7 @@ function NI(t, e) {
35936
35936
  }, !0), se($t, nt);
35937
35937
  };
35938
35938
  Te(Ct, ($t) => {
35939
- N(Sd), f(he), de(() => Sd(f(he))) ? $t(Je) : $t(st, !1);
35939
+ N(Sd), f(he), de(() => Sd(f(he))) ? $t(Qe) : $t(st, !1);
35940
35940
  }, !0), se(St, $e);
35941
35941
  };
35942
35942
  Te(Se, (St) => {
@@ -36185,7 +36185,7 @@ function q2(t, e) {
36185
36185
  D(Se, La(f(re), f(Se), J, R0)), setTimeout(() => lo(J));
36186
36186
  }
36187
36187
  });
36188
- var St, $e = ue(void 0, !0), Ct = ue(void 0, !0), Je = ue(void 0, !0), st = ue(void 0, !0), $t = ue(!1, !0), nt = ue(!1, !0);
36188
+ var St, $e = ue(void 0, !0), Ct = ue(void 0, !0), Qe = ue(void 0, !0), st = ue(void 0, !0), $t = ue(!1, !0), nt = ue(!1, !0);
36189
36189
  function Vt(J) {
36190
36190
  D(st, (St = J) ? iI(f(re), St.items) : void 0);
36191
36191
  }
@@ -36289,7 +36289,7 @@ function q2(t, e) {
36289
36289
  var Ne;
36290
36290
  if (r("patch", J, me), f(re) === void 0) throw new Error("Cannot apply patch: no JSON");
36291
36291
  var yt = f(re), ft = { json: void 0, text: f(Ae), documentState: f(Se), selection: gl(f(le)), textIsRepaired: f(ve), sortedColumn: void 0 }, lt = oI(f(re), J), on = qD(f(re), f(Se), J), sn = (Ne = Lh(f(re), J)) !== null && Ne !== void 0 ? Ne : f(le), In = typeof me == "function" ? me(on.json, on.documentState, sn) : void 0;
36292
- return D(re, (In == null ? void 0 : In.json) !== void 0 ? In.json : on.json), D(Se, (In == null ? void 0 : In.state) !== void 0 ? In.state : on.documentState), D(le, (In == null ? void 0 : In.selection) !== void 0 ? In.selection : sn), D(Ae, void 0), D(ve, !1), D(Ct, void 0), D(Je, void 0), he = void 0, nn(f(re)), b().add({ type: "tree", undo: ot({ patch: lt }, ft), redo: { patch: J, json: void 0, text: f(Ae), documentState: f(Se), selection: gl(f(le)), sortedColumn: void 0, textIsRepaired: f(ve) } }), { json: f(re), previousJson: yt, undo: lt, redo: J };
36292
+ return D(re, (In == null ? void 0 : In.json) !== void 0 ? In.json : on.json), D(Se, (In == null ? void 0 : In.state) !== void 0 ? In.state : on.documentState), D(le, (In == null ? void 0 : In.selection) !== void 0 ? In.selection : sn), D(Ae, void 0), D(ve, !1), D(Ct, void 0), D(Qe, void 0), he = void 0, nn(f(re)), b().add({ type: "tree", undo: ot({ patch: lt }, ft), redo: { patch: J, json: void 0, text: f(Ae), documentState: f(Se), selection: gl(f(le)), sortedColumn: void 0, textIsRepaired: f(ve) } }), { json: f(re), previousJson: yt, undo: lt, redo: J };
36293
36293
  }
36294
36294
  function En() {
36295
36295
  !m() && f(le) && D(le, Ck(Lt(f(le))));
@@ -36307,7 +36307,7 @@ function q2(t, e) {
36307
36307
  function gt() {
36308
36308
  if (!m() && ar(f(le))) {
36309
36309
  var J = Lt(f(le)), me = Kt(J), Ne = Et(f(re), J), yt = !wl(f(re), f(Se), J), ft = yt ? String(Ne) : ip(String(Ne), k());
36310
- r("handleToggleEnforceString", { enforceString: yt, value: Ne, updatedValue: ft }), Pe([{ op: "replace", path: me, value: ft }], (lt, on) => ({ state: r1(f(re), on, J, { type: "value", enforceString: yt }) }));
36310
+ r("handleToggleEnforceString", { enforceString: yt, value: Ne, updatedValue: ft }), Re([{ op: "replace", path: me, value: ft }], (lt, on) => ({ state: r1(f(re), on, J, { type: "value", enforceString: yt }) }));
36311
36311
  }
36312
36312
  }
36313
36313
  function bt() {
@@ -36319,7 +36319,7 @@ function q2(t, e) {
36319
36319
  function Ut() {
36320
36320
  return Ut = Qt(function* () {
36321
36321
  var J = !(arguments.length > 0 && arguments[0] !== void 0) || arguments[0];
36322
- yield TI({ json: f(re), selection: f(le), indentation: J ? R() : void 0, readOnly: m(), parser: k(), onPatch: Pe });
36322
+ yield TI({ json: f(re), selection: f(le), indentation: J ? R() : void 0, readOnly: m(), parser: k(), onPatch: Re });
36323
36323
  }), Ut.apply(this, arguments);
36324
36324
  }
36325
36325
  function ln() {
@@ -36348,25 +36348,25 @@ function q2(t, e) {
36348
36348
  })).apply(this, arguments);
36349
36349
  }
36350
36350
  function Rr(J) {
36351
- J !== void 0 && PI({ clipboardText: J, json: f(re), selection: f(le), readOnly: m(), parser: k(), onPatch: Pe, onChangeText: fe, onPasteMultilineText: Lr, openRepairModal: Dr });
36351
+ J !== void 0 && PI({ clipboardText: J, json: f(re), selection: f(le), readOnly: m(), parser: k(), onPatch: Re, onChangeText: fe, onPasteMultilineText: Lr, openRepairModal: Dr });
36352
36352
  }
36353
36353
  function Dr(J, me) {
36354
36354
  D(be, { text: J, onParse: (Ne) => Xg(Ne, (yt) => Yg(yt, k())), onRepair: RD, onApply: me, onClose: rn });
36355
36355
  }
36356
36356
  function Ve() {
36357
- RI({ json: f(re), text: f(Ae), selection: f(le), keepSelection: !1, readOnly: m(), onChange: $(), onPatch: Pe });
36357
+ RI({ json: f(re), text: f(Ae), selection: f(le), keepSelection: !1, readOnly: m(), onChange: $(), onPatch: Re });
36358
36358
  }
36359
36359
  function We() {
36360
- !m() && f(re) !== void 0 && f(le) && Xd && !Zn(Lt(f(le))) && (r("duplicate", { selection: f(le) }), Pe(eI(f(re), Dc(f(re), f(le)))));
36360
+ !m() && f(re) !== void 0 && f(le) && Xd && !Zn(Lt(f(le))) && (r("duplicate", { selection: f(le) }), Re(eI(f(re), Dc(f(re), f(le)))));
36361
36361
  }
36362
36362
  function Kr() {
36363
- m() || !f(le) || !$r(f(le)) && !ar(f(le)) || Zn(Lt(f(le))) || (r("extract", { selection: f(le) }), Pe(tI(f(re), f(le)), (J, me) => {
36363
+ m() || !f(le) || !$r(f(le)) && !ar(f(le)) || Zn(Lt(f(le))) || (r("extract", { selection: f(le) }), Re(tI(f(re), f(le)), (J, me) => {
36364
36364
  if (go(J))
36365
36365
  return { state: kx(J, me, []) };
36366
36366
  }));
36367
36367
  }
36368
36368
  function yr(J) {
36369
- Gb({ insertType: J, selectInside: !0, initialValue: void 0, json: f(re), selection: f(le), readOnly: m(), parser: k(), onPatch: Pe, onReplaceJson: tt });
36369
+ Gb({ insertType: J, selectInside: !0, initialValue: void 0, json: f(re), selection: f(le), readOnly: m(), parser: k(), onPatch: Re, onReplaceJson: tt });
36370
36370
  }
36371
36371
  function Fo(J) {
36372
36372
  xi(f(le)) && D(le, Fn(f(le).path)), f(le) || D(le, Cd(f(re), f(Se))), yr(J);
@@ -36403,7 +36403,7 @@ function q2(t, e) {
36403
36403
  }(Ne, J, k());
36404
36404
  if (yt === Ne) return;
36405
36405
  var ft = [{ op: "replace", path: Kt(me), value: yt }];
36406
- r("handleConvert", { selection: f(le), path: me, type: J, operations: ft }), Pe(ft, (lt, on) => ({ state: f(le) ? ed(lt, on, Lt(f(le))) : f(Se) }));
36406
+ r("handleConvert", { selection: f(le), path: me, type: J, operations: ft }), Re(ft, (lt, on) => ({ state: f(le) ? ed(lt, on, Lt(f(le))) : f(Se) }));
36407
36407
  } catch (lt) {
36408
36408
  M()(lt);
36409
36409
  }
@@ -36426,7 +36426,7 @@ function q2(t, e) {
36426
36426
  }
36427
36427
  function Ir() {
36428
36428
  return (Ir = Qt(function* (J) {
36429
- yield DI({ char: J, selectInside: !0, json: f(re), selection: f(le), readOnly: m(), parser: k(), onPatch: Pe, onReplaceJson: tt, onSelect: rt });
36429
+ yield DI({ char: J, selectInside: !0, json: f(re), selection: f(le), readOnly: m(), parser: k(), onPatch: Re, onReplaceJson: tt, onSelect: rt });
36430
36430
  })).apply(this, arguments);
36431
36431
  }
36432
36432
  function vo() {
@@ -36451,7 +36451,7 @@ function q2(t, e) {
36451
36451
  var me;
36452
36452
  m() || f(re) === void 0 || (ye = !0, T()({ id: i, json: f(re), rootPath: J, onSort: (me = Qt(function* (Ne) {
36453
36453
  var { operations: yt } = Ne;
36454
- r("onSort", J, yt), Pe(yt, (ft, lt) => ({ state: kx(ft, lt, J), selection: Fn(J) }));
36454
+ r("onSort", J, yt), Re(yt, (ft, lt) => ({ state: kx(ft, lt, J), selection: Fn(J) }));
36455
36455
  }), function(Ne) {
36456
36456
  return me.apply(this, arguments);
36457
36457
  }), onClose: () => {
@@ -36468,7 +36468,7 @@ function q2(t, e) {
36468
36468
  if (f(re) !== void 0) {
36469
36469
  var { id: me, onTransform: Ne, onClose: yt } = J, ft = J.rootPath || [];
36470
36470
  ye = !0, U()({ id: me || s, json: f(re), rootPath: ft, onTransform: (lt) => {
36471
- Ne ? Ne({ operations: lt, json: f(re), transformedJson: Va(f(re), lt) }) : (r("onTransform", ft, lt), Pe(lt, (on, sn) => ({ state: kx(on, sn, ft), selection: Fn(ft) })));
36471
+ Ne ? Ne({ operations: lt, json: f(re), transformedJson: Va(f(re), lt) }) : (r("onTransform", ft, lt), Re(lt, (on, sn) => ({ state: kx(on, sn, ft), selection: Fn(ft) })));
36472
36472
  }, onClose: () => {
36473
36473
  ye = !1, setTimeout(rn), yt && yt();
36474
36474
  } });
@@ -36487,7 +36487,7 @@ function q2(t, e) {
36487
36487
  return gn = Qt(function* (J) {
36488
36488
  var { scrollToWhenVisible: me = !0, element: Ne } = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
36489
36489
  D(Se, La(f(re), f(Se), J, R0));
36490
- var yt = Ne ?? Er(J);
36490
+ var yt = Ne ?? Ar(J);
36491
36491
  if (r("scrollTo", { path: J, elem: yt, refContents: f(u) }), !yt || !f(u)) return Promise.resolve();
36492
36492
  var ft = f(u).getBoundingClientRect(), lt = yt.getBoundingClientRect();
36493
36493
  if (!me && lt.bottom > ft.top && lt.top < ft.bottom) return Promise.resolve();
@@ -36497,7 +36497,7 @@ function q2(t, e) {
36497
36497
  });
36498
36498
  }), gn.apply(this, arguments);
36499
36499
  }
36500
- function Er(J) {
36500
+ function Ar(J) {
36501
36501
  var me, Ne;
36502
36502
  return Gr(), (me = (Ne = f(u)) === null || Ne === void 0 ? void 0 : Ne.querySelector('div[data-path="'.concat(P0(J), '"]'))) !== null && me !== void 0 ? me : void 0;
36503
36503
  }
@@ -36506,7 +36506,7 @@ function q2(t, e) {
36506
36506
  return Gr(), (me = (Ne = f(u)) === null || Ne === void 0 ? void 0 : Ne.querySelector('span[data-search-result-index="'.concat(J, '"]'))) !== null && me !== void 0 ? me : void 0;
36507
36507
  }
36508
36508
  function lo(J) {
36509
- var me = Er(J);
36509
+ var me = Ar(J);
36510
36510
  if (me && f(u)) {
36511
36511
  var Ne = f(u).getBoundingClientRect(), yt = me.getBoundingClientRect(), ft = go(Et(f(re), J)) ? 20 : yt.height;
36512
36512
  yt.top < Ne.top + 20 ? p(me, { container: f(u), offset: -20, duration: 0 }) : yt.top + ft > Ne.bottom - 20 && p(me, { container: f(u), offset: -(Ne.height - ft - 20), duration: 0 });
@@ -36523,7 +36523,7 @@ function q2(t, e) {
36523
36523
  }
36524
36524
  }
36525
36525
  }
36526
- function Pe(J, me) {
36526
+ function Re(J, me) {
36527
36527
  r("handlePatch", J, me);
36528
36528
  var Ne = { json: f(re), text: f(Ae) }, yt = On(J, me);
36529
36529
  return we(Ne, yt), yt;
@@ -36576,15 +36576,15 @@ function q2(t, e) {
36576
36576
  r("pasted json as text", J), D(Ct, J);
36577
36577
  }
36578
36578
  function Lr(J) {
36579
- r("pasted multiline text", { pastedText: J }), D(Je, J);
36579
+ r("pasted multiline text", { pastedText: J }), D(Qe, J);
36580
36580
  }
36581
36581
  function Wn(J) {
36582
- var me, { anchor: Ne, left: yt, top: ft, width: lt, height: on, offsetTop: sn, offsetLeft: In, showTip: wr } = J, Gn = function(Ar) {
36583
- var { json: co, documentState: cr, selection: Xt, readOnly: Qn, onEditKey: cn, onEditValue: zt, onToggleEnforceString: xn, onCut: bo, onCopy: Tr, onPaste: fo, onRemove: Mo, onDuplicate: Oi, onExtract: Bl, onInsertBefore: Fs, onInsert: Pa, onConvert: il, onInsertAfter: Ra, onSort: Gi, onTransform: Ei } = Ar, Bs = co !== void 0, zl = !!Xt, zs = !!Xt && Zn(Lt(Xt)), Sr = Xt ? Et(co, Lt(Xt)) : void 0, Go = Array.isArray(Sr) ? "Edit array" : dr(Sr) ? "Edit object" : "Edit value", Ko = Bs && ($r(Xt) || xi(Xt) || ar(Xt)), Yc = Xt && !zs ? Et(co, zn(Lt(Xt))) : void 0, md = !Qn && Bs && Lb(Xt) && !zs && !Array.isArray(Yc), Xc = !Qn && Bs && Xt !== void 0 && Lb(Xt), Cp = Xc && !go(Sr), gd = !Qn && Ko, kp = Ko, x1 = !Qn && zl, w1 = !Qn && Bs && Ko && !zs, S1 = !Qn && Bs && Xt !== void 0 && ($r(Xt) || ar(Xt)) && !zs, sl = Ko, Jc = sl ? "Convert to:" : "Insert:", Yo = !Qn && (fi(Xt) && Array.isArray(Sr) || js(Xt) && Array.isArray(Yc)), oa = !Qn && (sl ? qv(Xt) && !dr(Sr) : zl), jp = !Qn && (sl ? qv(Xt) && !Array.isArray(Sr) : zl), Op = !Qn && (sl ? qv(Xt) && go(Sr) : zl), Qc = Xt !== void 0 && wl(co, cr, Lt(Xt));
36582
+ var me, { anchor: Ne, left: yt, top: ft, width: lt, height: on, offsetTop: sn, offsetLeft: In, showTip: wr } = J, Gn = function(Tr) {
36583
+ var { json: co, documentState: cr, selection: Xt, readOnly: Qn, onEditKey: cn, onEditValue: zt, onToggleEnforceString: xn, onCut: bo, onCopy: Mr, onPaste: fo, onRemove: Mo, onDuplicate: Oi, onExtract: Bl, onInsertBefore: Fs, onInsert: Pa, onConvert: il, onInsertAfter: Ra, onSort: Gi, onTransform: Ei } = Tr, Bs = co !== void 0, zl = !!Xt, zs = !!Xt && Zn(Lt(Xt)), Sr = Xt ? Et(co, Lt(Xt)) : void 0, Go = Array.isArray(Sr) ? "Edit array" : dr(Sr) ? "Edit object" : "Edit value", Ko = Bs && ($r(Xt) || xi(Xt) || ar(Xt)), Yc = Xt && !zs ? Et(co, zn(Lt(Xt))) : void 0, md = !Qn && Bs && Lb(Xt) && !zs && !Array.isArray(Yc), Xc = !Qn && Bs && Xt !== void 0 && Lb(Xt), Cp = Xc && !go(Sr), gd = !Qn && Ko, kp = Ko, x1 = !Qn && zl, w1 = !Qn && Bs && Ko && !zs, S1 = !Qn && Bs && Xt !== void 0 && ($r(Xt) || ar(Xt)) && !zs, sl = Ko, Jc = sl ? "Convert to:" : "Insert:", Yo = !Qn && (fi(Xt) && Array.isArray(Sr) || js(Xt) && Array.isArray(Yc)), oa = !Qn && (sl ? qv(Xt) && !dr(Sr) : zl), jp = !Qn && (sl ? qv(Xt) && !Array.isArray(Sr) : zl), Op = !Qn && (sl ? qv(Xt) && go(Sr) : zl), Qc = Xt !== void 0 && wl(co, cr, Lt(Xt));
36584
36584
  function Ii(Ep) {
36585
36585
  Ko ? Ep !== "structure" && il(Ep) : Pa(Ep);
36586
36586
  }
36587
- return [{ type: "row", items: [{ type: "button", onClick: () => cn(), icon: nh, text: "Edit key", title: "Edit the key (Double-click on the key)", disabled: !md }, { type: "dropdown-button", main: { type: "button", onClick: () => zt(), icon: nh, text: Go, title: "Edit the value (Double-click on the value)", disabled: !Xc }, width: "11em", items: [{ type: "button", icon: nh, text: Go, title: "Edit the value (Double-click on the value)", onClick: () => zt(), disabled: !Xc }, { type: "button", icon: Qc ? k6 : E6, text: "Enforce string", title: "Enforce keeping the value as string when it contains a numeric value", onClick: () => xn(), disabled: !Cp }] }] }, { type: "separator" }, { type: "row", items: [{ type: "dropdown-button", main: { type: "button", onClick: () => bo(!0), icon: rh, text: "Cut", title: "Cut selected contents, formatted with indentation (Ctrl+X)", disabled: !gd }, width: "10em", items: [{ type: "button", icon: rh, text: "Cut formatted", title: "Cut selected contents, formatted with indentation (Ctrl+X)", onClick: () => bo(!0), disabled: !gd }, { type: "button", icon: rh, text: "Cut compacted", title: "Cut selected contents, without indentation (Ctrl+Shift+X)", onClick: () => bo(!1), disabled: !gd }] }, { type: "dropdown-button", main: { type: "button", onClick: () => Tr(!0), icon: nc, text: "Copy", title: "Copy selected contents, formatted with indentation (Ctrl+C)", disabled: !kp }, width: "12em", items: [{ type: "button", icon: nc, text: "Copy formatted", title: "Copy selected contents, formatted with indentation (Ctrl+C)", onClick: () => Tr(!0), disabled: !kp }, { type: "button", icon: nc, text: "Copy compacted", title: "Copy selected contents, without indentation (Ctrl+Shift+C)", onClick: () => Tr(!1), disabled: !kp }] }, { type: "button", onClick: () => fo(), icon: w6, text: "Paste", title: "Paste clipboard contents (Ctrl+V)", disabled: !x1 }] }, { type: "separator" }, { type: "row", items: [{ type: "column", items: [{ type: "button", onClick: () => Oi(), icon: C6, text: "Duplicate", title: "Duplicate selected contents (Ctrl+D)", disabled: !w1 }, { type: "button", onClick: () => Bl(), icon: GK, text: "Extract", title: "Extract selected contents", disabled: !S1 }, { type: "button", onClick: () => Gi(), icon: Q0, text: "Sort", title: "Sort array or object contents", disabled: Qn || !Ko }, { type: "button", onClick: () => Ei(), icon: X0, text: "Transform", title: "Transform array or object contents (filter, sort, project)", disabled: Qn || !Ko }, { type: "button", onClick: () => Mo(), icon: xw, text: "Remove", title: "Remove selected contents (Delete)", disabled: Qn || !Ko }] }, { type: "column", items: [{ type: "label", text: Jc }, { type: "button", onClick: () => Ii("structure"), icon: sl ? fv : Vd, text: "Structure", title: Jc + " structure like the first item in the array", disabled: !Yo }, { type: "button", onClick: () => Ii("object"), icon: sl ? fv : Vd, text: "Object", title: Jc + " object", disabled: !oa }, { type: "button", onClick: () => Ii("array"), icon: sl ? fv : Vd, text: "Array", title: Jc + " array", disabled: !jp }, { type: "button", onClick: () => Ii("value"), icon: sl ? fv : Vd, text: "Value", title: Jc + " value", disabled: !Op }] }] }, { type: "separator" }, { type: "row", items: [{ type: "button", onClick: () => Fs(), icon: sY, text: "Insert before", title: "Select area before current entry to insert or paste contents", disabled: Qn || !Ko || zs }, { type: "button", onClick: () => Ra(), icon: YK, text: "Insert after", title: "Select area after current entry to insert or paste contents", disabled: Qn || !Ko || zs }] }];
36587
+ return [{ type: "row", items: [{ type: "button", onClick: () => cn(), icon: nh, text: "Edit key", title: "Edit the key (Double-click on the key)", disabled: !md }, { type: "dropdown-button", main: { type: "button", onClick: () => zt(), icon: nh, text: Go, title: "Edit the value (Double-click on the value)", disabled: !Xc }, width: "11em", items: [{ type: "button", icon: nh, text: Go, title: "Edit the value (Double-click on the value)", onClick: () => zt(), disabled: !Xc }, { type: "button", icon: Qc ? k6 : E6, text: "Enforce string", title: "Enforce keeping the value as string when it contains a numeric value", onClick: () => xn(), disabled: !Cp }] }] }, { type: "separator" }, { type: "row", items: [{ type: "dropdown-button", main: { type: "button", onClick: () => bo(!0), icon: rh, text: "Cut", title: "Cut selected contents, formatted with indentation (Ctrl+X)", disabled: !gd }, width: "10em", items: [{ type: "button", icon: rh, text: "Cut formatted", title: "Cut selected contents, formatted with indentation (Ctrl+X)", onClick: () => bo(!0), disabled: !gd }, { type: "button", icon: rh, text: "Cut compacted", title: "Cut selected contents, without indentation (Ctrl+Shift+X)", onClick: () => bo(!1), disabled: !gd }] }, { type: "dropdown-button", main: { type: "button", onClick: () => Mr(!0), icon: nc, text: "Copy", title: "Copy selected contents, formatted with indentation (Ctrl+C)", disabled: !kp }, width: "12em", items: [{ type: "button", icon: nc, text: "Copy formatted", title: "Copy selected contents, formatted with indentation (Ctrl+C)", onClick: () => Mr(!0), disabled: !kp }, { type: "button", icon: nc, text: "Copy compacted", title: "Copy selected contents, without indentation (Ctrl+Shift+C)", onClick: () => Mr(!1), disabled: !kp }] }, { type: "button", onClick: () => fo(), icon: w6, text: "Paste", title: "Paste clipboard contents (Ctrl+V)", disabled: !x1 }] }, { type: "separator" }, { type: "row", items: [{ type: "column", items: [{ type: "button", onClick: () => Oi(), icon: C6, text: "Duplicate", title: "Duplicate selected contents (Ctrl+D)", disabled: !w1 }, { type: "button", onClick: () => Bl(), icon: GK, text: "Extract", title: "Extract selected contents", disabled: !S1 }, { type: "button", onClick: () => Gi(), icon: Q0, text: "Sort", title: "Sort array or object contents", disabled: Qn || !Ko }, { type: "button", onClick: () => Ei(), icon: X0, text: "Transform", title: "Transform array or object contents (filter, sort, project)", disabled: Qn || !Ko }, { type: "button", onClick: () => Mo(), icon: xw, text: "Remove", title: "Remove selected contents (Delete)", disabled: Qn || !Ko }] }, { type: "column", items: [{ type: "label", text: Jc }, { type: "button", onClick: () => Ii("structure"), icon: sl ? fv : Vd, text: "Structure", title: Jc + " structure like the first item in the array", disabled: !Yo }, { type: "button", onClick: () => Ii("object"), icon: sl ? fv : Vd, text: "Object", title: Jc + " object", disabled: !oa }, { type: "button", onClick: () => Ii("array"), icon: sl ? fv : Vd, text: "Array", title: Jc + " array", disabled: !jp }, { type: "button", onClick: () => Ii("value"), icon: sl ? fv : Vd, text: "Value", title: Jc + " value", disabled: !Op }] }] }, { type: "separator" }, { type: "row", items: [{ type: "button", onClick: () => Fs(), icon: sY, text: "Insert before", title: "Select area before current entry to insert or paste contents", disabled: Qn || !Ko || zs }, { type: "button", onClick: () => Ra(), icon: YK, text: "Insert after", title: "Select area after current entry to insert or paste contents", disabled: Qn || !Ko || zs }] }];
36588
36588
  }({ json: f(re), documentState: f(Se), selection: f(le), readOnly: m(), onEditKey: En, onEditValue: vt, onToggleEnforceString: gt, onCut: ze, onCopy: ln, onPaste: mr, onRemove: Ve, onDuplicate: We, onExtract: Kr, onInsertBefore: _e, onInsert: Fo, onInsertAfter: An, onConvert: ro, onSort: Bo, onTransform: Si }), Vr = (me = ce()(Gn)) !== null && me !== void 0 ? me : Gn;
36589
36589
  if (Vr !== !1) {
36590
36590
  var un = { left: yt, top: ft, offsetTop: sn, offsetLeft: In, width: lt, height: on, anchor: Ne, closeOnOuterClick: !0, onClose: () => {
@@ -36624,14 +36624,14 @@ function q2(t, e) {
36624
36624
  }
36625
36625
  function ur() {
36626
36626
  return (ur = Qt(function* () {
36627
- r("apply pasted multiline text", f(Je)), f(Je) && (Rr(JSON.stringify(f(Je))), setTimeout(rn));
36627
+ r("apply pasted multiline text", f(Qe)), f(Qe) && (Rr(JSON.stringify(f(Qe))), setTimeout(rn));
36628
36628
  })).apply(this, arguments);
36629
36629
  }
36630
36630
  function Xn() {
36631
36631
  r("clear pasted json"), D(Ct, void 0), rn();
36632
36632
  }
36633
36633
  function or() {
36634
- r("clear pasted multiline text"), D(Je, void 0), rn();
36634
+ r("clear pasted multiline text"), D(Qe, void 0), rn();
36635
36635
  }
36636
36636
  function qr() {
36637
36637
  F()(Co.text);
@@ -36677,12 +36677,12 @@ function q2(t, e) {
36677
36677
  }), je(() => (f(u), C4), () => {
36678
36678
  D(n, f(u) ? C4(f(u)) : void 0);
36679
36679
  }), je(() => (N(m()), N(w()), N(k()), f($e), N(z()), N(Q())), () => {
36680
- D(xr, { mode: Co.tree, readOnly: m(), truncateTextSize: w(), parser: k(), normalization: f($e), getJson: De, getDocumentState: qe, getSelection: pt, findElement: Er, findNextInside: qo, focus: rn, onPatch: Pe, onInsert: yr, onExpand: ke, onSelect: rt, onFind: Dt, onExpandSection: Nt, onPasteJson: Yt, onRenderValue: z(), onContextMenu: Wn, onClassName: Q() || (() => {
36680
+ D(xr, { mode: Co.tree, readOnly: m(), truncateTextSize: w(), parser: k(), normalization: f($e), getJson: De, getDocumentState: qe, getSelection: pt, findElement: Ar, findNextInside: qo, focus: rn, onPatch: Re, onInsert: yr, onExpand: ke, onSelect: rt, onFind: Dt, onExpandSection: Nt, onPasteJson: Yt, onRenderValue: z(), onContextMenu: Wn, onClassName: Q() || (() => {
36681
36681
  }), onDrag: To, onDragEnd: ai });
36682
36682
  }), je(() => f(xr), () => {
36683
36683
  r("context changed", f(xr));
36684
36684
  }), br();
36685
- var kr = { expand: G, collapse: oe, validate: Ye, getJson: De, patch: On, acceptAutoRepair: bt, openTransformModal: oo, scrollTo: Un, findElement: Er, findSearchResult: Ao, focus: rn };
36685
+ var kr = { expand: G, collapse: oe, validate: Ye, getJson: De, patch: On, acceptAutoRepair: bt, openTransformModal: oo, scrollTo: Un, findElement: Ar, findSearchResult: Ao, focus: rn };
36686
36686
  pn(!0);
36687
36687
  var zo = Aae();
36688
36688
  Ge("mousedown", cu, function(J) {
@@ -36691,11 +36691,11 @@ function q2(t, e) {
36691
36691
  var Z, Ce = At(zo), Ue = ae(Ce), dt = (J) => {
36692
36692
  (function(me, Ne) {
36693
36693
  Ht(Ne, !1);
36694
- var yt = ue(void 0, !0), ft = ue(void 0, !0), lt = ue(void 0, !0), on = I(Ne, "json", 9), sn = I(Ne, "selection", 9), In = I(Ne, "readOnly", 9), wr = I(Ne, "showSearch", 13, !1), Gn = I(Ne, "history", 9), Vr = I(Ne, "onExpandAll", 9), un = I(Ne, "onCollapseAll", 9), uo = I(Ne, "onUndo", 9), Ar = I(Ne, "onRedo", 9), co = I(Ne, "onSort", 9), cr = I(Ne, "onTransform", 9), Xt = I(Ne, "onContextMenu", 9), Qn = I(Ne, "onCopy", 9), cn = I(Ne, "onRenderMenu", 9);
36694
+ var yt = ue(void 0, !0), ft = ue(void 0, !0), lt = ue(void 0, !0), on = I(Ne, "json", 9), sn = I(Ne, "selection", 9), In = I(Ne, "readOnly", 9), wr = I(Ne, "showSearch", 13, !1), Gn = I(Ne, "history", 9), Vr = I(Ne, "onExpandAll", 9), un = I(Ne, "onCollapseAll", 9), uo = I(Ne, "onUndo", 9), Tr = I(Ne, "onRedo", 9), co = I(Ne, "onSort", 9), cr = I(Ne, "onTransform", 9), Xt = I(Ne, "onContextMenu", 9), Qn = I(Ne, "onCopy", 9), cn = I(Ne, "onRenderMenu", 9);
36695
36695
  function zt() {
36696
36696
  wr(!wr());
36697
36697
  }
36698
- var xn = ue(void 0, !0), bo = ue(void 0, !0), Tr = ue(void 0, !0), fo = ue(void 0, !0);
36698
+ var xn = ue(void 0, !0), bo = ue(void 0, !0), Mr = ue(void 0, !0), fo = ue(void 0, !0);
36699
36699
  je(() => N(on()), () => {
36700
36700
  D(yt, on() !== void 0);
36701
36701
  }), je(() => (f(yt), N(sn()), ar), () => {
@@ -36705,9 +36705,9 @@ function q2(t, e) {
36705
36705
  }), je(() => (N(un()), N(on())), () => {
36706
36706
  D(bo, { type: "button", icon: kI, title: "Collapse all", className: "jse-collapse-all", onClick: un(), disabled: !go(on()) });
36707
36707
  }), je(() => N(on()), () => {
36708
- D(Tr, { type: "button", icon: Dy, title: "Search (Ctrl+F)", className: "jse-search", onClick: zt, disabled: on() === void 0 });
36709
- }), je(() => (N(In()), f(xn), f(bo), N(co()), N(on()), N(cr()), f(Tr), N(Xt()), N(uo()), N(Gn()), N(Ar()), N(Qn()), f(ft)), () => {
36710
- D(fo, In() ? [f(xn), f(bo), { type: "separator" }, { type: "button", icon: nc, title: "Copy (Ctrl+C)", className: "jse-copy", onClick: Qn(), disabled: !f(ft) }, { type: "separator" }, f(Tr), { type: "space" }] : [f(xn), f(bo), { type: "separator" }, { type: "button", icon: Q0, title: "Sort", className: "jse-sort", onClick: co(), disabled: In() || on() === void 0 }, { type: "button", icon: X0, title: "Transform contents (filter, sort, project)", className: "jse-transform", onClick: cr(), disabled: In() || on() === void 0 }, f(Tr), { type: "button", icon: S6, title: pk, className: "jse-contextmenu", onClick: Xt() }, { type: "separator" }, { type: "button", icon: pC, title: "Undo (Ctrl+Z)", className: "jse-undo", onClick: uo(), disabled: !Gn().canUndo }, { type: "button", icon: hC, title: "Redo (Ctrl+Shift+Z)", className: "jse-redo", onClick: Ar(), disabled: !Gn().canRedo }, { type: "space" }]);
36708
+ D(Mr, { type: "button", icon: Dy, title: "Search (Ctrl+F)", className: "jse-search", onClick: zt, disabled: on() === void 0 });
36709
+ }), je(() => (N(In()), f(xn), f(bo), N(co()), N(on()), N(cr()), f(Mr), N(Xt()), N(uo()), N(Gn()), N(Tr()), N(Qn()), f(ft)), () => {
36710
+ D(fo, In() ? [f(xn), f(bo), { type: "separator" }, { type: "button", icon: nc, title: "Copy (Ctrl+C)", className: "jse-copy", onClick: Qn(), disabled: !f(ft) }, { type: "separator" }, f(Mr), { type: "space" }] : [f(xn), f(bo), { type: "separator" }, { type: "button", icon: Q0, title: "Sort", className: "jse-sort", onClick: co(), disabled: In() || on() === void 0 }, { type: "button", icon: X0, title: "Transform contents (filter, sort, project)", className: "jse-transform", onClick: cr(), disabled: In() || on() === void 0 }, f(Mr), { type: "button", icon: S6, title: pk, className: "jse-contextmenu", onClick: Xt() }, { type: "separator" }, { type: "button", icon: pC, title: "Undo (Ctrl+Z)", className: "jse-undo", onClick: uo(), disabled: !Gn().canUndo }, { type: "button", icon: hC, title: "Redo (Ctrl+Shift+Z)", className: "jse-redo", onClick: Tr(), disabled: !Gn().canRedo }, { type: "space" }]);
36711
36711
  }), je(() => (N(cn()), f(fo)), () => {
36712
36712
  D(lt, cn()(f(fo)) || f(fo));
36713
36713
  }), br(), pn(!0), u1(me, { get items() {
@@ -36751,24 +36751,24 @@ function q2(t, e) {
36751
36751
  yt.readOnly = !0, to(yt, (sn) => D(c, sn), () => f(c));
36752
36752
  var ft = xe(Ne, 2), lt = (sn) => {
36753
36753
  var In = Rn(), wr = At(In), Gn = (un) => {
36754
- (function(uo, Ar) {
36754
+ (function(uo, Tr) {
36755
36755
  function co(xn) {
36756
- xn.stopPropagation(), Ar.onCreateObject();
36756
+ xn.stopPropagation(), Tr.onCreateObject();
36757
36757
  }
36758
36758
  function cr(xn) {
36759
- xn.stopPropagation(), Ar.onCreateArray();
36759
+ xn.stopPropagation(), Tr.onCreateArray();
36760
36760
  }
36761
- Ht(Ar, !0);
36761
+ Ht(Tr, !0);
36762
36762
  var Xt = Vse();
36763
- Xt.__click = () => Ar.onClick();
36763
+ Xt.__click = () => Tr.onClick();
36764
36764
  var Qn = xe(ae(Xt), 2), cn = xe(ae(Qn), 2), zt = (xn) => {
36765
- var bo = _se(), Tr = xe(At(bo), 2);
36766
- vr(Tr, "title", "Create an empty JSON object (press '{')"), Tr.__click = co;
36767
- var fo = xe(Tr, 2);
36765
+ var bo = _se(), Mr = xe(At(bo), 2);
36766
+ vr(Mr, "title", "Create an empty JSON object (press '{')"), Mr.__click = co;
36767
+ var fo = xe(Mr, 2);
36768
36768
  vr(fo, "title", "Create an empty JSON array (press '[')"), fo.__click = cr, se(xn, bo);
36769
36769
  };
36770
36770
  Te(cn, (xn) => {
36771
- Ar.readOnly || xn(zt);
36771
+ Tr.readOnly || xn(zt);
36772
36772
  }), se(uo, Xt), qt();
36773
36773
  })(un, { get readOnly() {
36774
36774
  return m();
@@ -36780,10 +36780,10 @@ function q2(t, e) {
36780
36780
  rn();
36781
36781
  } });
36782
36782
  }, Vr = (un) => {
36783
- var uo = Cae(), Ar = At(uo), co = Tt(() => m() ? [] : [{ icon: J0, text: "Repair manually", title: 'Open the document in "code" mode and repair it manually', onClick: qr }]);
36784
- Zs(Ar, { type: "error", message: "The loaded JSON document is invalid and could not be repaired automatically.", get actions() {
36783
+ var uo = Cae(), Tr = At(uo), co = Tt(() => m() ? [] : [{ icon: J0, text: "Repair manually", title: 'Open the document in "code" mode and repair it manually', onClick: qr }]);
36784
+ Zs(Tr, { type: "error", message: "The loaded JSON document is invalid and could not be repaired automatically.", get actions() {
36785
36785
  return f(co);
36786
- } }), II(xe(Ar, 2), { get text() {
36786
+ } }), II(xe(Tr, 2), { get text() {
36787
36787
  return f(Ae);
36788
36788
  }, get json() {
36789
36789
  return f(re);
@@ -36810,7 +36810,7 @@ function q2(t, e) {
36810
36810
  return f(nt);
36811
36811
  }, get readOnly() {
36812
36812
  return m();
36813
- }, columns: void 0, onSearch: Vt, onFocus: V, onPatch: Pe, onClose: Y });
36813
+ }, columns: void 0, onSearch: Vt, onFocus: V, onPatch: Re, onClose: Y });
36814
36814
  var Gn = xe(wr, 2);
36815
36815
  vr(Gn, "data-jsoneditor-scrollable-contents", !0);
36816
36816
  var Vr = ae(Gn), un = (cn) => {
@@ -36833,7 +36833,7 @@ function q2(t, e) {
36833
36833
  }, get onDragSelectionStart() {
36834
36834
  return yo;
36835
36835
  } }), to(Gn, (cn) => D(u, cn), () => f(u));
36836
- var uo = xe(Gn, 2), Ar = (cn) => {
36836
+ var uo = xe(Gn, 2), Tr = (cn) => {
36837
36837
  var zt = Tt(() => (f(Ct), de(() => "You pasted a JSON ".concat(Array.isArray(f(Ct).contents) ? "array" : "object", " as text")))), xn = Tt(() => [{ icon: Cc, text: "Paste as JSON instead", title: "Replace the value with the pasted JSON", onMouseDown: Hn }, { text: "Leave as is", title: "Keep the JSON embedded in the value", onClick: Xn }]);
36838
36838
  Zs(cn, { type: "info", get message() {
36839
36839
  return f(zt);
@@ -36842,7 +36842,7 @@ function q2(t, e) {
36842
36842
  } });
36843
36843
  };
36844
36844
  Te(uo, (cn) => {
36845
- f(Ct) && cn(Ar);
36845
+ f(Ct) && cn(Tr);
36846
36846
  });
36847
36847
  var co = xe(uo, 2), cr = (cn) => {
36848
36848
  var zt = Tt(() => [{ icon: Cc, text: "Paste as string instead", title: "Paste the clipboard data as a single string value instead of an array", onClick: Zt }, { text: "Leave as is", title: "Keep the pasted array", onClick: or }]);
@@ -36851,7 +36851,7 @@ function q2(t, e) {
36851
36851
  } });
36852
36852
  };
36853
36853
  Te(co, (cn) => {
36854
- f(Je) && cn(cr);
36854
+ f(Qe) && cn(cr);
36855
36855
  });
36856
36856
  var Xt = xe(co, 2), Qn = (cn) => {
36857
36857
  var zt = Tt(() => m() ? [] : [{ icon: dC, text: "Ok", title: "Accept the repaired document", onClick: bt }, { icon: J0, text: "Repair manually instead", title: "Leave the document unchanged and repair it manually instead", onClick: qr }]);
@@ -36900,7 +36900,7 @@ function q2(t, e) {
36900
36900
  var ft = f(le) ? function(Gn, Vr, un) {
36901
36901
  var uo = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];
36902
36902
  if (un) {
36903
- var Ar = uo ? Lt(un) : bc(Gn, un), co = go(Et(Gn, Ar)) ? QA(Gn, Vr, Ar, !0) : Vr, cr = Cx(Gn, Vr, Ar), Xt = Cx(Gn, co, Ar);
36903
+ var Tr = uo ? Lt(un) : bc(Gn, un), co = go(Et(Gn, Tr)) ? QA(Gn, Vr, Tr, !0) : Vr, cr = Cx(Gn, Vr, Tr), Xt = Cx(Gn, co, Tr);
36904
36904
  if (uo) return fi(un) ? cr !== void 0 ? Ji(cr, cr) : void 0 : js(un) ? Xt !== void 0 ? Ji(Xt, Xt) : void 0 : Xt !== void 0 ? Ji(Pf(un), Xt) : void 0;
36905
36905
  if (js(un)) return Xt !== void 0 ? Fn(Xt) : void 0;
36906
36906
  if (fi(un) || ar(un)) return cr !== void 0 ? Fn(cr) : void 0;
@@ -36917,9 +36917,9 @@ function q2(t, e) {
36917
36917
  if (me === "ArrowLeft" || me === "Shift+ArrowLeft") {
36918
36918
  J.preventDefault();
36919
36919
  var lt = f(le) ? function(Gn, Vr, un) {
36920
- var uo = arguments.length > 3 && arguments[3] !== void 0 && arguments[3], Ar = !(arguments.length > 4 && arguments[4] !== void 0) || arguments[4];
36920
+ var uo = arguments.length > 3 && arguments[3] !== void 0 && arguments[3], Tr = !(arguments.length > 4 && arguments[4] !== void 0) || arguments[4];
36921
36921
  if (un) {
36922
- var { caret: co, previous: cr } = r4(Gn, Vr, un, Ar);
36922
+ var { caret: co, previous: cr } = r4(Gn, Vr, un, Tr);
36923
36923
  if (uo) return $r(un) ? void 0 : Ji(un.path, un.path);
36924
36924
  if (co && cr) return R2(cr);
36925
36925
  var Xt = zn(Lt(un)), Qn = Et(Gn, Xt);
@@ -36931,9 +36931,9 @@ function q2(t, e) {
36931
36931
  if (me === "ArrowRight" || me === "Shift+ArrowRight") {
36932
36932
  J.preventDefault();
36933
36933
  var on = f(le) && f(re) !== void 0 ? function(Gn, Vr, un) {
36934
- var uo = arguments.length > 3 && arguments[3] !== void 0 && arguments[3], Ar = !(arguments.length > 4 && arguments[4] !== void 0) || arguments[4];
36934
+ var uo = arguments.length > 3 && arguments[3] !== void 0 && arguments[3], Tr = !(arguments.length > 4 && arguments[4] !== void 0) || arguments[4];
36935
36935
  if (un) {
36936
- var { caret: co, next: cr } = r4(Gn, Vr, un, Ar);
36936
+ var { caret: co, next: cr } = r4(Gn, Vr, un, Tr);
36937
36937
  return uo ? $r(un) ? void 0 : Ji(un.path, un.path) : co && cr ? R2(cr) : $r(un) ? Fn(un.focusPath) : void 0;
36938
36938
  }
36939
36939
  }(f(re), f(Se), f(le), Ne, !m()) || f(le) : Cd(f(re), f(Se));
@@ -36957,7 +36957,7 @@ function q2(t, e) {
36957
36957
  r("handleMouseDown", J);
36958
36958
  var me = J.target;
36959
36959
  zD(me, "BUTTON") || me.isContentEditable || (rn(), f(le) || f(re) !== void 0 || f(Ae) !== "" && f(Ae) !== void 0 || (r("createDefaultSelection"), D(le, Fn([]))));
36960
- }), Ge("contextmenu", Ce, Yn), se(t, zo), en(e, "expand", G), en(e, "collapse", oe), en(e, "validate", Ye), en(e, "getJson", De), en(e, "patch", On), en(e, "acceptAutoRepair", bt), en(e, "openTransformModal", oo), en(e, "scrollTo", Un), en(e, "findElement", Er), en(e, "findSearchResult", Ao), en(e, "focus", rn), qt(kr);
36960
+ }), Ge("contextmenu", Ce, Yn), se(t, zo), en(e, "expand", G), en(e, "collapse", oe), en(e, "validate", Ye), en(e, "getJson", De), en(e, "patch", On), en(e, "acceptAutoRepair", bt), en(e, "openTransformModal", oo), en(e, "scrollTo", Un), en(e, "findElement", Ar), en(e, "findSearchResult", Ao), en(e, "focus", rn), qt(kr);
36961
36961
  }
36962
36962
  function LI(t) {
36963
36963
  return typeof (e = t) != "object" || e === null ? t : new Proxy(t, { get: (n, r, o) => LI(Reflect.get(n, r, o)), set: () => !1, deleteProperty: () => !1 });
@@ -37276,7 +37276,7 @@ function Iae(t, e) {
37276
37276
  }, children: (Se, le) => {
37277
37277
  var rt = Dae();
37278
37278
  E2(ae(rt), { children: (St, $e) => {
37279
- var Ct = Rae(), Je = At(Ct);
37279
+ var Ct = Rae(), Qe = At(Ct);
37280
37280
  (function(ze, Ut) {
37281
37281
  Ht(Ut, !1);
37282
37282
  var ln, pr = I(Ut, "queryLanguages", 9), Dn = I(Ut, "queryLanguageId", 9), mr = I(Ut, "fullscreen", 13), _r = I(Ut, "onChangeQueryLanguage", 9), Rr = I(Ut, "onClose", 9), Dr = ue(void 0, !0), { openAbsolutePopup: Ve, closeAbsolutePopup: We } = Uc("absolute-popup");
@@ -37298,7 +37298,7 @@ function Iae(t, e) {
37298
37298
  return lY;
37299
37299
  } }), to(_e, (An) => D(Dr, An), () => f(Dr)), it(() => ro = hn(_e, 1, "jse-config svelte-5gkegr", null, ro, { hide: pr().length <= 1 })), Ge("click", _e, Kr), se(yr, _e);
37300
37300
  } }, $$legacy: !0 }), qt();
37301
- })(Je, { get queryLanguages() {
37301
+ })(Qe, { get queryLanguages() {
37302
37302
  return b();
37303
37303
  }, get queryLanguageId() {
37304
37304
  return w();
@@ -37309,7 +37309,7 @@ function Iae(t, e) {
37309
37309
  }, set fullscreen(ze) {
37310
37310
  D($, ze);
37311
37311
  }, $$legacy: !0 });
37312
- var st = ae(xe(Je, 2)), $t = ae(st), nt = xe(ae($t), 2);
37312
+ var st = ae(xe(Qe, 2)), $t = ae(st), nt = xe(ae($t), 2);
37313
37313
  CD(ae(nt), () => (N(w()), de(() => T(w()).description)));
37314
37314
  var Vt = xe(nt, 4), V = xe(Vt, 2), H = ae(V), Y = ae(H), _ = ae(Y), G = Tt(() => f(B) ? bu : _m);
37315
37315
  Kn(_, { get data() {
@@ -37855,21 +37855,21 @@ function Xae(t, e) {
37855
37855
  var F, L = ue(void 0, !0), B = ue(void 0, !0), q = ue(void 0, !0), z = ue(!1, !0), K = ue(a(), !0), ce = ue([], !0), Q = ue(!1, !0), te = ue(0, !0), ee = ue(0, !0), T = null, U = new Xl(), Oe = new Xl(), ye = new Xl(), X = new Xl(), be = new Xl(), re = l(), Ae = ue(O2(re, d(), m()), !0), he = _c.define(), Le = null;
37856
37856
  function Se() {
37857
37857
  if (!Le || Le.length === 0) return !1;
37858
- var we = Le[0].startState, Pe = Le[Le.length - 1].state, tt = Le.map((ke) => ke.changes).reduce((ke, Be) => ke.compose(Be)), fe = { type: "text", undo: { changes: tt.invert(we.doc).toJSON(), selection: Fo(we.selection) }, redo: { changes: tt.toJSON(), selection: Fo(Pe.selection) } };
37858
+ var we = Le[0].startState, Re = Le[Le.length - 1].state, tt = Le.map((ke) => ke.changes).reduce((ke, Be) => ke.compose(Be)), fe = { type: "text", undo: { changes: tt.invert(we.doc).toJSON(), selection: Fo(we.selection) }, redo: { changes: tt.toJSON(), selection: Fo(Re.selection) } };
37859
37859
  return R("add history item", fe), c().add(fe), Le = null, !0;
37860
37860
  }
37861
37861
  var le = ue(p(), !0);
37862
37862
  Wi(Qt(function* () {
37863
37863
  if (!$) try {
37864
37864
  F = function(we) {
37865
- var { target: Pe, initialText: tt, readOnly: fe, indentation: ke } = we;
37865
+ var { target: Re, initialText: tt, readOnly: fe, indentation: ke } = we;
37866
37866
  R("Create CodeMirror editor", { readOnly: fe, indentation: ke });
37867
37867
  var Be = function(Dt, Nt) {
37868
37868
  return jx(Dt) ? Dt.ranges.every((Yt) => Yt.anchor < Nt.length && Yt.head < Nt.length) : !1;
37869
- }(u(), tt) ? pr(u()) : void 0, ht = sr.create({ doc: tt, selection: Be, extensions: [cb.of([qee, M]), U.of(vt()), cte(), FQ(), _Q(), rQ(), AZ(), Je(), qJ(), JJ(), sr.allowMultipleSelections.of(!0), vZ(), S8(RZ, { fallback: !0 }), BZ(), One(), $ne(), mQ(), bQ(), uQ(), Ate(), cb.of([...Mne, ...Hee, ...Xte, { key: "Mod-z", run: qe, preventDefault: !0 }, { key: "Mod-y", mac: "Mod-Shift-z", run: pt, preventDefault: !0 }, { key: "Ctrl-Shift-z", run: pt, preventDefault: !0 }, ...kZ, ...jR, ...Qee]), _ae, Wne({ hideFirstIndent: !0 }), Pt.domEventHandlers({ dblclick: En }), Pt.updateListener.of((Dt) => {
37869
+ }(u(), tt) ? pr(u()) : void 0, ht = sr.create({ doc: tt, selection: Be, extensions: [cb.of([qee, M]), U.of(vt()), cte(), FQ(), _Q(), rQ(), AZ(), Qe(), qJ(), JJ(), sr.allowMultipleSelections.of(!0), vZ(), S8(RZ, { fallback: !0 }), BZ(), One(), $ne(), mQ(), bQ(), uQ(), Ate(), cb.of([...Mne, ...Hee, ...Xte, { key: "Mod-z", run: qe, preventDefault: !0 }, { key: "Mod-y", mac: "Mod-Shift-z", run: pt, preventDefault: !0 }, { key: "Ctrl-Shift-z", run: pt, preventDefault: !0 }, ...kZ, ...jR, ...Qee]), _ae, Wne({ hideFirstIndent: !0 }), Pt.domEventHandlers({ dblclick: En }), Pt.updateListener.of((Dt) => {
37870
37870
  D(q, Dt.state), Dt.docChanged && (Dt.transactions.some((Nt) => !!Nt.annotation(he)) || (Le = [...Le ?? [], Dt]), Ve()), Dt.selectionSet && yr();
37871
37871
  }), Cte(), $te({ top: !0 }), Pt.lineWrapping, Oe.of(sr.readOnly.of(fe)), X.of(sr.tabSize.of(h())), ye.of(Dr(ke)), be.of(Pt.theme({}, { dark: gt() }))] });
37872
- return F = new Pt({ state: ht, parent: Pe }), Be && F.dispatch(F.state.update({ selection: Be.main, scrollIntoView: !0 })), F;
37872
+ return F = new Pt({ state: ht, parent: Re }), Be && F.dispatch(F.state.update({ selection: Be.main, scrollIntoView: !0 })), F;
37873
37873
  }({ target: f(L), initialText: ro(f(Ae), f(z)) ? "" : f(n).escapeValue(f(Ae)), readOnly: o(), indentation: d() });
37874
37874
  } catch (we) {
37875
37875
  console.error(we);
@@ -37881,7 +37881,7 @@ function Xae(t, e) {
37881
37881
  function $e() {
37882
37882
  F && (R("focus"), F.focus());
37883
37883
  }
37884
- function Ct(we, Pe) {
37884
+ function Ct(we, Re) {
37885
37885
  if (F) try {
37886
37886
  (function() {
37887
37887
  var tt = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], fe = !(arguments.length > 1 && arguments[1] !== void 0) || arguments[1], ke = F.state, Be = ke.doc.length, ht = AE(ke, Be, 1 / 0);
@@ -37896,23 +37896,23 @@ function Xae(t, e) {
37896
37896
  nt.apply(this, arguments);
37897
37897
  }(Dt);
37898
37898
  }
37899
- })(we, Pe);
37899
+ })(we, Re);
37900
37900
  } catch (tt) {
37901
37901
  x()(tt);
37902
37902
  }
37903
37903
  }
37904
- function Je() {
37905
- return f8.of((we, Pe, tt) => {
37904
+ function Qe() {
37905
+ return f8.of((we, Re, tt) => {
37906
37906
  var fe = AE(we, we.doc.length, 1 / 0);
37907
37907
  if (!fe || fe.length < tt) return null;
37908
37908
  for (var ke = null, Be = fe.resolveStack(tt, 1); Be; Be = Be.next) {
37909
37909
  var ht = Be.node;
37910
37910
  if (!(ht.to <= tt || ht.from > tt)) {
37911
- if (ke && ht.from < Pe) break;
37911
+ if (ke && ht.from < Re) break;
37912
37912
  var Dt = ht.type.prop(BC);
37913
37913
  if (Dt && (ht.to < fe.length - 50 || fe.length == we.doc.length || !st(ht))) {
37914
37914
  var Nt = Dt(ht, we);
37915
- Nt && Nt.from <= tt && Nt.from >= Pe && Nt.to > tt && (ke = Nt);
37915
+ Nt && Nt.from <= tt && Nt.from >= Re && Nt.to > tt && (ke = Nt);
37916
37916
  }
37917
37917
  }
37918
37918
  }
@@ -37920,14 +37920,14 @@ function Xae(t, e) {
37920
37920
  });
37921
37921
  }
37922
37922
  function st(we) {
37923
- var Pe = we.lastChild;
37924
- return Pe && Pe.to == we.to && Pe.type.isError;
37923
+ var Re = we.lastChild;
37924
+ return Re && Re.to == we.to && Re.type.isError;
37925
37925
  }
37926
- function $t(we, Pe, tt) {
37926
+ function $t(we, Re, tt) {
37927
37927
  var fe = !(arguments.length > 3 && arguments[3] !== void 0) || arguments[3], ke = [], Be = /* @__PURE__ */ new Set();
37928
37928
  return we.iterate({ enter(ht) {
37929
37929
  if (tt === void 0 || ht.from >= tt) {
37930
- var Dt = Zm(Pe, ht.from, ht.to);
37930
+ var Dt = Zm(Re, ht.from, ht.to);
37931
37931
  if (Dt) {
37932
37932
  var Nt = "".concat(Dt.from, "-").concat(Dt.to);
37933
37933
  if (!Be.has(Nt)) if (fe) ke.push({ from: Dt.from, to: Dt.to }), Be.add(Nt);
@@ -37942,16 +37942,16 @@ function Xae(t, e) {
37942
37942
  function nt() {
37943
37943
  return nt = Qt(function* (we) {
37944
37944
  if (we.length !== 0) {
37945
- var Pe = we.length > 5e3;
37946
- Pe && (D(Q, !0), D(te, 0), D(ee, we.length), T = new AbortController());
37945
+ var Re = we.length > 5e3;
37946
+ Re && (D(Q, !0), D(te, 0), D(ee, we.length), T = new AbortController());
37947
37947
  var tt = (fe) => new Promise((ke) => {
37948
37948
  var Be;
37949
- Pe && (Be = T) !== null && Be !== void 0 && Be.signal.aborted ? ke() : requestAnimationFrame(() => {
37949
+ Re && (Be = T) !== null && Be !== void 0 && Be.signal.aborted ? ke() : requestAnimationFrame(() => {
37950
37950
  var ht = Math.min(fe + 100, we.length), Dt = we.slice(fe, ht);
37951
- F.dispatch({ effects: Dt.map((Nt) => Bg.of({ from: Nt.from, to: Nt.to })) }), Pe && D(te, ht), ht < we.length ? tt(ht).then(ke) : ke();
37951
+ F.dispatch({ effects: Dt.map((Nt) => Bg.of({ from: Nt.from, to: Nt.to })) }), Re && D(te, ht), ht < we.length ? tt(ht).then(ke) : ke();
37952
37952
  });
37953
37953
  });
37954
- yield tt(0), Pe && (D(Q, !1), D(te, 0), D(ee, 0), T = null);
37954
+ yield tt(0), Re && (D(Q, !1), D(te, 0), D(ee, 0), T = null);
37955
37955
  }
37956
37956
  }), nt.apply(this, arguments);
37957
37957
  }
@@ -37959,13 +37959,13 @@ function Xae(t, e) {
37959
37959
  T && T.abort();
37960
37960
  }
37961
37961
  function V(we) {
37962
- var Pe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : P2;
37962
+ var Re = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : P2;
37963
37963
  if (F) try {
37964
37964
  if (we && we.length > 0) {
37965
37965
  var { from: tt } = gx(f(n).escapeValue(f(Ae)), we);
37966
37966
  tt !== void 0 && (F.dispatch({ selection: { anchor: tt, head: tt } }), m8(F));
37967
37967
  } else v8(F);
37968
- Pe == null || Pe(we);
37968
+ Re == null || Re(we);
37969
37969
  } catch (fe) {
37970
37970
  x()(fe);
37971
37971
  }
@@ -37980,18 +37980,18 @@ function Xae(t, e) {
37980
37980
  function G(we) {
37981
37981
  return oe(we, !1);
37982
37982
  }
37983
- function oe(we, Pe) {
37984
- R("handlePatch", we, Pe);
37983
+ function oe(we, Re) {
37984
+ R("handlePatch", we, Re);
37985
37985
  var tt = m().parse(f(Ae)), fe = Va(tt, we), ke = o6(tt, we);
37986
- return ln({ text: m().stringify(fe, null, d()) }, Pe, !1), { json: fe, previousJson: tt, undo: ke, redo: we };
37986
+ return ln({ text: m().stringify(fe, null, d()) }, Re, !1), { json: fe, previousJson: tt, undo: ke, redo: we };
37987
37987
  }
37988
37988
  function ve() {
37989
37989
  if (R("format"), o()) return !1;
37990
37990
  try {
37991
37991
  var we = m().parse(f(Ae));
37992
37992
  return ln({ text: m().stringify(we, null, d()) }, !0, !1), D(K, a()), !0;
37993
- } catch (Pe) {
37994
- x()(Pe);
37993
+ } catch (Re) {
37994
+ x()(Re);
37995
37995
  }
37996
37996
  return !1;
37997
37997
  }
@@ -38000,8 +38000,8 @@ function Xae(t, e) {
38000
38000
  try {
38001
38001
  var we = m().parse(f(Ae));
38002
38002
  return ln({ text: m().stringify(we) }, !0, !1), D(K, !1), !0;
38003
- } catch (Pe) {
38004
- x()(Pe);
38003
+ } catch (Re) {
38004
+ x()(Re);
38005
38005
  }
38006
38006
  return !1;
38007
38007
  }
@@ -38015,8 +38015,8 @@ function Xae(t, e) {
38015
38015
  function He() {
38016
38016
  var we;
38017
38017
  if (!o()) try {
38018
- var Pe = m().parse(f(Ae));
38019
- _ = !0, S()({ id: rt, json: Pe, rootPath: [], onSort: (we = Qt(function* (tt) {
38018
+ var Re = m().parse(f(Ae));
38019
+ _ = !0, S()({ id: rt, json: Re, rootPath: [], onSort: (we = Qt(function* (tt) {
38020
38020
  var { operations: fe } = tt;
38021
38021
  R("onSort", fe), oe(fe, !0);
38022
38022
  }), function(tt) {
@@ -38029,10 +38029,10 @@ function Xae(t, e) {
38029
38029
  }
38030
38030
  }
38031
38031
  function Ke(we) {
38032
- var { id: Pe, rootPath: tt, onTransform: fe, onClose: ke } = we;
38032
+ var { id: Re, rootPath: tt, onTransform: fe, onClose: ke } = we;
38033
38033
  try {
38034
38034
  var Be = m().parse(f(Ae));
38035
- _ = !0, O()({ id: Pe || St, json: Be, rootPath: tt || [], onTransform: (ht) => {
38035
+ _ = !0, O()({ id: Re || St, json: Be, rootPath: tt || [], onTransform: (ht) => {
38036
38036
  fe ? fe({ operations: ht, json: Be, transformedJson: Va(Be, ht) }) : (R("onTransform", ht), oe(ht, !0));
38037
38037
  }, onClose: () => {
38038
38038
  _ = !1, $e(), ke && ke();
@@ -38070,15 +38070,15 @@ function Xae(t, e) {
38070
38070
  }
38071
38071
  function yn(we) {
38072
38072
  R("select validation error", we);
38073
- var { from: Pe, to: tt } = bt(we);
38074
- Pe !== void 0 && tt !== void 0 && (On(Pe, tt), $e());
38073
+ var { from: Re, to: tt } = bt(we);
38074
+ Re !== void 0 && tt !== void 0 && (On(Re, tt), $e());
38075
38075
  }
38076
- function On(we, Pe) {
38077
- R("setSelection", { anchor: we, head: Pe }), F && F.dispatch(F.state.update({ selection: { anchor: we, head: Pe }, scrollIntoView: !0 }));
38076
+ function On(we, Re) {
38077
+ R("setSelection", { anchor: we, head: Re }), F && F.dispatch(F.state.update({ selection: { anchor: we, head: Re }, scrollIntoView: !0 }));
38078
38078
  }
38079
- function En(we, Pe) {
38080
- if (Pe.state.selection.ranges.length === 1) {
38081
- var tt = Pe.state.selection.ranges[0], fe = f(Ae).slice(tt.from, tt.to);
38079
+ function En(we, Re) {
38080
+ if (Re.state.selection.ranges.length === 1) {
38081
+ var tt = Re.state.selection.ranges[0], fe = f(Ae).slice(tt.from, tt.to);
38082
38082
  if (fe === "{" || fe === "[") {
38083
38083
  var ke = l6.parse(f(Ae)), Be = Object.keys(ke.pointers).find((Dt) => {
38084
38084
  var Nt;
@@ -38095,19 +38095,19 @@ function Xae(t, e) {
38095
38095
  return !!f(L) && getComputedStyle(f(L)).getPropertyValue("--jse-theme").includes("dark");
38096
38096
  }
38097
38097
  function bt(we) {
38098
- var { path: Pe, message: tt, severity: fe } = we, { line: ke, column: Be, from: ht, to: Dt } = gx(f(n).escapeValue(f(Ae)), Pe);
38099
- return { path: Pe, line: ke, column: Be, from: ht, to: Dt, message: tt, severity: fe, actions: [] };
38098
+ var { path: Re, message: tt, severity: fe } = we, { line: ke, column: Be, from: ht, to: Dt } = gx(f(n).escapeValue(f(Ae)), Re);
38099
+ return { path: Re, line: ke, column: Be, from: ht, to: Dt, message: tt, severity: fe, actions: [] };
38100
38100
  }
38101
- function ze(we, Pe) {
38101
+ function ze(we, Re) {
38102
38102
  var { line: tt, column: fe, position: ke, message: Be } = we;
38103
- return { path: [], line: tt, column: fe, from: ke, to: ke, severity: Wa.error, message: Be, actions: Pe && !o() ? [{ name: "Auto repair", apply: () => pe() }] : void 0 };
38103
+ return { path: [], line: tt, column: fe, from: ke, to: ke, severity: Wa.error, message: Be, actions: Re && !o() ? [{ name: "Auto repair", apply: () => pe() }] : void 0 };
38104
38104
  }
38105
38105
  function Ut(we) {
38106
38106
  return { from: we.from || 0, to: we.to || 0, message: we.message || "", actions: we.actions, severity: we.severity };
38107
38107
  }
38108
- function ln(we, Pe, tt) {
38108
+ function ln(we, Re, tt) {
38109
38109
  var fe = O2(we, d(), m()), ke = !kn(we, re), Be = re;
38110
- R("setCodeMirrorContent", { isChanged: ke, emitChange: Pe, forceUpdate: tt }), F && (ke || tt) && (re = we, D(Ae, fe), ro(f(Ae), f(z)) || F.dispatch({ changes: { from: 0, to: F.state.doc.length, insert: f(n).escapeValue(f(Ae)) } }), Se(), ke && Pe && Kr(re, Be));
38110
+ R("setCodeMirrorContent", { isChanged: ke, emitChange: Re, forceUpdate: tt }), F && (ke || tt) && (re = we, D(Ae, fe), ro(f(Ae), f(z)) || F.dispatch({ changes: { from: 0, to: F.state.doc.length, insert: f(n).escapeValue(f(Ae)) } }), Se(), ke && Re && Kr(re, Be));
38111
38111
  }
38112
38112
  function pr(we) {
38113
38113
  return jx(we) ? Fe.fromJSON(we) : void 0;
@@ -38124,8 +38124,8 @@ function Xae(t, e) {
38124
38124
  }
38125
38125
  function _r() {
38126
38126
  if (F) {
38127
- var we = F ? f(n).unescapeValue(F.state.doc.toString()) : "", Pe = we !== f(Ae);
38128
- if (R("onChangeCodeMirrorValue", { isChanged: Pe }), Pe) {
38127
+ var we = F ? f(n).unescapeValue(F.state.doc.toString()) : "", Re = we !== f(Ae);
38128
+ if (R("onChangeCodeMirrorValue", { isChanged: Re }), Re) {
38129
38129
  var tt = re;
38130
38130
  D(Ae, we), re = { text: f(Ae) }, Se(), Kr(re, tt), Gr(), yr();
38131
38131
  }
@@ -38135,14 +38135,14 @@ function Xae(t, e) {
38135
38135
  return (Rr = Qt(function* () {
38136
38136
  if (Gr(), F) {
38137
38137
  var we = gt();
38138
- return R("updateTheme", { dark: we }), F.dispatch({ effects: [be.reconfigure(Pt.theme({}, { dark: we }))] }), new Promise((Pe) => setTimeout(Pe));
38138
+ return R("updateTheme", { dark: we }), F.dispatch({ effects: [be.reconfigure(Pt.theme({}, { dark: we }))] }), new Promise((Re) => setTimeout(Re));
38139
38139
  }
38140
38140
  return Promise.resolve();
38141
38141
  })).apply(this, arguments);
38142
38142
  }
38143
38143
  function Dr(we) {
38144
- var Pe = Vy.of(typeof we == "number" ? " ".repeat(we) : we);
38145
- return we === " " ? [Pe] : [Pe, Uae];
38144
+ var Re = Vy.of(typeof we == "number" ? " ".repeat(we) : we);
38145
+ return we === " " ? [Re] : [Re, Uae];
38146
38146
  }
38147
38147
  Ok({ onMount: Wi, onDestroy: Oa, getWindow: () => Jg(f(B)), hasFocus: () => _ && document.hasFocus() || fk(f(B)), onFocus: k(), onBlur: () => {
38148
38148
  We(), A()();
@@ -38151,8 +38151,8 @@ function Xae(t, e) {
38151
38151
  function We() {
38152
38152
  Ve.flush();
38153
38153
  }
38154
- function Kr(we, Pe) {
38155
- b() && b()(we, Pe, { contentErrors: Ir(), patchResult: void 0 });
38154
+ function Kr(we, Re) {
38155
+ b() && b()(we, Re, { contentErrors: Ir(), patchResult: void 0 });
38156
38156
  }
38157
38157
  function yr() {
38158
38158
  E()(Fo(f(q).selection));
@@ -38160,16 +38160,16 @@ function Xae(t, e) {
38160
38160
  function Fo(we) {
38161
38161
  return ot({ type: Pr.text }, we.toJSON());
38162
38162
  }
38163
- function ro(we, Pe) {
38164
- return !!we && we.length > xx && !Pe;
38163
+ function ro(we, Re) {
38164
+ return !!we && we.length > xx && !Re;
38165
38165
  }
38166
38166
  var _e = ue(Sx, !0), An = ue(void 0, !0);
38167
38167
  function gr() {
38168
38168
  if (ro(f(Ae), f(z))) return [];
38169
38169
  var we = Ir();
38170
38170
  if (YA(we)) {
38171
- var { parseError: Pe, isRepairable: tt } = we;
38172
- return [Ut(ze(Pe, tt))];
38171
+ var { parseError: Re, isRepairable: tt } = we;
38172
+ return [Ut(ze(Re, tt))];
38173
38173
  }
38174
38174
  return goe(we) ? we.validationErrors.map(bt).map(Ut) : [];
38175
38175
  }
@@ -38182,8 +38182,8 @@ function Xae(t, e) {
38182
38182
  function ii() {
38183
38183
  f(An) && function(we) {
38184
38184
  R("select parse error", we);
38185
- var Pe = ze(we, !1);
38186
- On(Pe.from != null ? Pe.from : 0, Pe.to != null ? Pe.to : 0), $e();
38185
+ var Re = ze(we, !1);
38186
+ On(Re.from != null ? Re.from : 0, Re.to != null ? Re.to : 0), $e();
38187
38187
  }(f(An));
38188
38188
  }
38189
38189
  var Ln = { icon: JK, text: "Show me", title: "Move to the parse error location", onClick: ii };
@@ -38194,8 +38194,8 @@ function Xae(t, e) {
38194
38194
  }), je(() => N(u()), () => {
38195
38195
  (function(we) {
38196
38196
  if (jx(we)) {
38197
- var Pe = pr(we);
38198
- !F || !Pe || f(q) && f(q).selection.eq(Pe) || (R("applyExternalSelection", Pe), F.dispatch({ selection: Pe }));
38197
+ var Re = pr(we);
38198
+ !F || !Re || f(q) && f(q).selection.eq(Re) || (R("applyExternalSelection", Re), F.dispatch({ selection: Re }));
38199
38199
  }
38200
38200
  })(u());
38201
38201
  }), je(() => N(g()), () => {
@@ -38222,7 +38222,7 @@ function Xae(t, e) {
38222
38222
  var Bo = { focus: $e, collapse: Ct, expand: V, patch: G, handlePatch: oe, openTransformModal: Ke, refresh: Dn, flush: We, validate: Ir };
38223
38223
  pn(!0);
38224
38224
  var ji, oo = Yae(), Si = ae(oo), Nr = (we) => {
38225
- var Pe = Tt(() => (f(Ae), de(() => f(Ae).length === 0))), tt = Tt(() => !f(Pe)), fe = Tt(() => !f(Pe)), ke = Tt(() => !f(Pe)), Be = Tt(() => !f(Pe)), ht = Tt(() => !f(Pe)), Dt = Tt(() => !f(Pe));
38225
+ var Re = Tt(() => (f(Ae), de(() => f(Ae).length === 0))), tt = Tt(() => !f(Re)), fe = Tt(() => !f(Re)), ke = Tt(() => !f(Re)), Be = Tt(() => !f(Re)), ht = Tt(() => !f(Re)), Dt = Tt(() => !f(Re));
38226
38226
  (function(Nt, Yt) {
38227
38227
  Ht(Yt, !1);
38228
38228
  var Lr = ue(void 0, !0), Wn = I(Yt, "readOnly", 9, !1), Yn = I(Yt, "onExpandAll", 9), vn = I(Yt, "onCollapseAll", 9), Hn = I(Yt, "onFormat", 9), si = I(Yt, "onCompact", 9), Zt = I(Yt, "onSort", 9), ur = I(Yt, "onTransform", 9), Xn = I(Yt, "onToggleSearch", 9), or = I(Yt, "onUndo", 9), qr = I(Yt, "onRedo", 9), Cr = I(Yt, "canExpandAll", 9), rn = I(Yt, "canCollapseAll", 9), qo = I(Yt, "canUndo", 9), To = I(Yt, "canRedo", 9), ai = I(Yt, "canFormat", 9), xr = I(Yt, "canCompact", 9), kr = I(Yt, "canSort", 9), zo = I(Yt, "canTransform", 9), Z = I(Yt, "onRenderMenu", 9), Ce = ue(void 0, !0), Ue = ue(void 0, !0), dt = { type: "button", icon: Dy, title: "Search (Ctrl+F)", className: "jse-search", onClick: Xn() }, Ie = ue(void 0, !0);
@@ -38263,14 +38263,14 @@ function Xae(t, e) {
38263
38263
  i() && we(Nr);
38264
38264
  });
38265
38265
  var Un = xe(Si, 2), gn = (we) => {
38266
- var Pe = Wae(), tt = xe(ae(Pe), 2), fe = ae(tt), ke = xe(tt, 2);
38267
- it(() => wa(fe, "width: ".concat(f(ee) > 0 ? f(te) / f(ee) * 100 : 0, "%"))), Ge("click", ke, Vt), se(we, Pe);
38266
+ var Re = Wae(), tt = xe(ae(Re), 2), fe = ae(tt), ke = xe(tt, 2);
38267
+ it(() => wa(fe, "width: ".concat(f(ee) > 0 ? f(te) / f(ee) * 100 : 0, "%"))), Ge("click", ke, Vt), se(we, Re);
38268
38268
  };
38269
38269
  Te(Un, (we) => {
38270
38270
  f(Q) && we(gn);
38271
38271
  });
38272
- var Er = xe(Un, 2), Ao = (we) => {
38273
- var Pe, tt = Tt(() => (f(Ae), f(z), de(() => ro(f(Ae), f(z))))), fe = Gae(), ke = At(fe);
38272
+ var Ar = xe(Un, 2), Ao = (we) => {
38273
+ var Re, tt = Tt(() => (f(Ae), f(z), de(() => ro(f(Ae), f(z))))), fe = Gae(), ke = At(fe);
38274
38274
  to(ke, (Yt) => D(L, Yt), () => f(L));
38275
38275
  var Be = xe(ke, 2), ht = (Yt) => {
38276
38276
  var Lr = Hae(), Wn = At(Lr), Yn = Tt(() => (N(D0), N(xx), f(Ae), de(() => "The JSON document is larger than ".concat(D0(xx), ", ") + "and may crash your browser when loading it in text mode. Actual size: ".concat(D0(f(Ae).length), "."))));
@@ -38367,11 +38367,11 @@ function Xae(t, e) {
38367
38367
  };
38368
38368
  Te(Dt, (Yt) => {
38369
38369
  f(tt) || Yt(Nt);
38370
- }), it(() => Pe = hn(ke, 1, "jse-contents svelte-k2b9e6", null, Pe, { "jse-hidden": f(tt) })), se(we, fe);
38370
+ }), it(() => Re = hn(ke, 1, "jse-contents svelte-k2b9e6", null, Re, { "jse-hidden": f(tt) })), se(we, fe);
38371
38371
  }, lo = (we) => {
38372
38372
  se(we, Kae());
38373
38373
  };
38374
- return Te(Er, (we) => {
38374
+ return Te(Ar, (we) => {
38375
38375
  $ ? we(lo, !1) : we(Ao);
38376
38376
  }), to(oo, (we) => D(B, we), () => f(B)), it(() => ji = hn(oo, 1, "jse-text-mode svelte-k2b9e6", null, ji, { "no-main-menu": !i() })), se(t, oo), en(e, "focus", $e), en(e, "collapse", Ct), en(e, "expand", V), en(e, "patch", G), en(e, "handlePatch", oe), en(e, "openTransformModal", Ke), en(e, "refresh", Dn), en(e, "flush", We), en(e, "validate", Ir), qt(Bo);
38377
38377
  }
@@ -38792,7 +38792,7 @@ function yle(t, e) {
38792
38792
  function Ct() {
38793
38793
  D(Se, !1), D(le, !1), ze();
38794
38794
  }
38795
- var Je = ue(1e4, !0), st = ue([], !0), $t = ue(void 0, !0), nt = !1, Vt = !1, V = ue(!1, !0), H = ue({}, !0), Y = ue(600, !0), _ = ue(0, !0), G = 18;
38795
+ var Qe = ue(1e4, !0), st = ue([], !0), $t = ue(void 0, !0), nt = !1, Vt = !1, V = ue(!1, !0), H = ue({}, !0), Y = ue(600, !0), _ = ue(0, !0), G = 18;
38796
38796
  function oe(Z) {
38797
38797
  D(pe, Z);
38798
38798
  }
@@ -38935,9 +38935,9 @@ function yle(t, e) {
38935
38935
  }
38936
38936
  function Dr(Z) {
38937
38937
  var Ce, { anchor: Ue, left: dt, top: Ie, width: xt, height: Ot, offsetTop: jt, offsetLeft: Tn, showTip: Jn } = Z, qn = function(me) {
38938
- var { json: Ne, documentState: yt, selection: ft, readOnly: lt, onEditValue: on, onEditRow: sn, onToggleEnforceString: In, onCut: wr, onCopy: Gn, onPaste: Vr, onRemove: un, onDuplicateRow: uo, onInsertBeforeRow: Ar, onInsertAfterRow: co, onRemoveRow: cr } = me, Xt = Ne !== void 0, Qn = !!ft, cn = Ne !== void 0 && ft ? Et(Ne, Lt(ft)) : void 0, zt = Xt && ($r(ft) || xi(ft) || ar(ft)), xn = !lt && Xt && ft !== void 0 && Lb(ft), bo = xn && !go(cn), Tr = !lt && zt, fo = ft !== void 0 && wl(Ne, yt, Lt(ft));
38939
- return [{ type: "separator" }, { type: "row", items: [{ type: "column", items: [{ type: "label", text: "Table cell:" }, { type: "dropdown-button", main: { type: "button", onClick: () => on(), icon: nh, text: "Edit", title: "Edit the value (Double-click on the value)", disabled: !xn }, width: "11em", items: [{ type: "button", icon: nh, text: "Edit", title: "Edit the value (Double-click on the value)", onClick: () => on(), disabled: !xn }, { type: "button", icon: fo ? k6 : E6, text: "Enforce string", title: "Enforce keeping the value as string when it contains a numeric value", onClick: () => In(), disabled: !bo }] }, { type: "dropdown-button", main: { type: "button", onClick: () => wr(!0), icon: rh, text: "Cut", title: "Cut selected contents, formatted with indentation (Ctrl+X)", disabled: !Tr }, width: "10em", items: [{ type: "button", icon: rh, text: "Cut formatted", title: "Cut selected contents, formatted with indentation (Ctrl+X)", onClick: () => wr(!0), disabled: lt || !zt }, { type: "button", icon: rh, text: "Cut compacted", title: "Cut selected contents, without indentation (Ctrl+Shift+X)", onClick: () => wr(!1), disabled: lt || !zt }] }, { type: "dropdown-button", main: { type: "button", onClick: () => Gn(!0), icon: nc, text: "Copy", title: "Copy selected contents, formatted with indentation (Ctrl+C)", disabled: !zt }, width: "12em", items: [{ type: "button", icon: nc, text: "Copy formatted", title: "Copy selected contents, formatted with indentation (Ctrl+C)", onClick: () => Gn(!1), disabled: !zt }, { type: "button", icon: nc, text: "Copy compacted", title: "Copy selected contents, without indentation (Ctrl+Shift+C)", onClick: () => Gn(!1), disabled: !zt }] }, { type: "button", onClick: () => Vr(), icon: w6, text: "Paste", title: "Paste clipboard contents (Ctrl+V)", disabled: lt || !Qn }, { type: "button", onClick: () => un(), icon: xw, text: "Remove", title: "Remove selected contents (Delete)", disabled: lt || !zt }] }, { type: "column", items: [{ type: "label", text: "Table row:" }, { type: "button", onClick: () => sn(), icon: nh, text: "Edit row", title: "Edit the current row", disabled: lt || !Qn || !Xt }, { type: "button", onClick: () => uo(), icon: C6, text: "Duplicate row", title: "Duplicate the current row (Ctrl+D)", disabled: lt || !Qn || !Xt }, { type: "button", onClick: () => Ar(), icon: Vd, text: "Insert before", title: "Insert a row before the current row", disabled: lt || !Qn || !Xt }, { type: "button", onClick: () => co(), icon: Vd, text: "Insert after", title: "Insert a row after the current row", disabled: lt || !Qn || !Xt }, { type: "button", onClick: () => cr(), icon: xw, text: "Remove row", title: "Remove current row", disabled: lt || !Qn || !Xt }] }] }];
38940
- }({ json: f(X), documentState: f(ie), selection: f(pe), readOnly: h(), onEditValue: Kr, onEditRow: yr, onToggleEnforceString: Fo, onCut: ji, onCopy: Si, onPaste: An, onRemove: Un, onDuplicateRow: Er, onInsertBeforeRow: Ao, onInsertAfterRow: lo, onRemoveRow: we }), Yr = (Ce = B()(qn)) !== null && Ce !== void 0 ? Ce : qn;
38938
+ var { json: Ne, documentState: yt, selection: ft, readOnly: lt, onEditValue: on, onEditRow: sn, onToggleEnforceString: In, onCut: wr, onCopy: Gn, onPaste: Vr, onRemove: un, onDuplicateRow: uo, onInsertBeforeRow: Tr, onInsertAfterRow: co, onRemoveRow: cr } = me, Xt = Ne !== void 0, Qn = !!ft, cn = Ne !== void 0 && ft ? Et(Ne, Lt(ft)) : void 0, zt = Xt && ($r(ft) || xi(ft) || ar(ft)), xn = !lt && Xt && ft !== void 0 && Lb(ft), bo = xn && !go(cn), Mr = !lt && zt, fo = ft !== void 0 && wl(Ne, yt, Lt(ft));
38939
+ return [{ type: "separator" }, { type: "row", items: [{ type: "column", items: [{ type: "label", text: "Table cell:" }, { type: "dropdown-button", main: { type: "button", onClick: () => on(), icon: nh, text: "Edit", title: "Edit the value (Double-click on the value)", disabled: !xn }, width: "11em", items: [{ type: "button", icon: nh, text: "Edit", title: "Edit the value (Double-click on the value)", onClick: () => on(), disabled: !xn }, { type: "button", icon: fo ? k6 : E6, text: "Enforce string", title: "Enforce keeping the value as string when it contains a numeric value", onClick: () => In(), disabled: !bo }] }, { type: "dropdown-button", main: { type: "button", onClick: () => wr(!0), icon: rh, text: "Cut", title: "Cut selected contents, formatted with indentation (Ctrl+X)", disabled: !Mr }, width: "10em", items: [{ type: "button", icon: rh, text: "Cut formatted", title: "Cut selected contents, formatted with indentation (Ctrl+X)", onClick: () => wr(!0), disabled: lt || !zt }, { type: "button", icon: rh, text: "Cut compacted", title: "Cut selected contents, without indentation (Ctrl+Shift+X)", onClick: () => wr(!1), disabled: lt || !zt }] }, { type: "dropdown-button", main: { type: "button", onClick: () => Gn(!0), icon: nc, text: "Copy", title: "Copy selected contents, formatted with indentation (Ctrl+C)", disabled: !zt }, width: "12em", items: [{ type: "button", icon: nc, text: "Copy formatted", title: "Copy selected contents, formatted with indentation (Ctrl+C)", onClick: () => Gn(!1), disabled: !zt }, { type: "button", icon: nc, text: "Copy compacted", title: "Copy selected contents, without indentation (Ctrl+Shift+C)", onClick: () => Gn(!1), disabled: !zt }] }, { type: "button", onClick: () => Vr(), icon: w6, text: "Paste", title: "Paste clipboard contents (Ctrl+V)", disabled: lt || !Qn }, { type: "button", onClick: () => un(), icon: xw, text: "Remove", title: "Remove selected contents (Delete)", disabled: lt || !zt }] }, { type: "column", items: [{ type: "label", text: "Table row:" }, { type: "button", onClick: () => sn(), icon: nh, text: "Edit row", title: "Edit the current row", disabled: lt || !Qn || !Xt }, { type: "button", onClick: () => uo(), icon: C6, text: "Duplicate row", title: "Duplicate the current row (Ctrl+D)", disabled: lt || !Qn || !Xt }, { type: "button", onClick: () => Tr(), icon: Vd, text: "Insert before", title: "Insert a row before the current row", disabled: lt || !Qn || !Xt }, { type: "button", onClick: () => co(), icon: Vd, text: "Insert after", title: "Insert a row after the current row", disabled: lt || !Qn || !Xt }, { type: "button", onClick: () => cr(), icon: xw, text: "Remove row", title: "Remove current row", disabled: lt || !Qn || !Xt }] }] }];
38940
+ }({ json: f(X), documentState: f(ie), selection: f(pe), readOnly: h(), onEditValue: Kr, onEditRow: yr, onToggleEnforceString: Fo, onCut: ji, onCopy: Si, onPaste: An, onRemove: Un, onDuplicateRow: Ar, onInsertBeforeRow: Ao, onInsertAfterRow: lo, onRemoveRow: we }), Yr = (Ce = B()(qn)) !== null && Ce !== void 0 ? Ce : qn;
38941
38941
  if (Yr !== !1) {
38942
38942
  var li = { left: dt, top: Ie, offsetTop: jt, offsetLeft: Tn, width: xt, height: Ot, anchor: Ue, closeOnOuterClick: !0, onClose: () => {
38943
38943
  nt = !1, ze();
@@ -39040,7 +39040,7 @@ function yle(t, e) {
39040
39040
  function gn(Z) {
39041
39041
  h() || (i("extract", { path: Z }), On(tI(f(X), Fn(Z))));
39042
39042
  }
39043
- function Er() {
39043
+ function Ar() {
39044
39044
  (function(Z) {
39045
39045
  var { json: Ce, selection: Ue, columns: dt, readOnly: Ie, onPatch: xt } = Z;
39046
39046
  if (!Ie && Ce !== void 0 && Ue && Xd(Ue)) {
@@ -39083,8 +39083,8 @@ function yle(t, e) {
39083
39083
  }
39084
39084
  })({ json: f(X), selection: f(pe), columns: f(st), readOnly: h(), onPatch: On });
39085
39085
  }
39086
- function Pe() {
39087
- return (Pe = Qt(function* (Z) {
39086
+ function Re() {
39087
+ return (Re = Qt(function* (Z) {
39088
39088
  yield DI({ char: Z, selectInside: !1, json: f(X), selection: f(pe), readOnly: h(), parser: y(), onPatch: On, onReplaceJson: ke, onSelect: oe });
39089
39089
  })).apply(this, arguments);
39090
39090
  }
@@ -39206,17 +39206,17 @@ function yle(t, e) {
39206
39206
  (function(Z) {
39207
39207
  kn(f(pe), Z) || (i("applyExternalSelection", { selection: f(pe), externalSelection: Z }), fg(Z) && D(pe, Z));
39208
39208
  })(m());
39209
- }), je(() => (f(st), f(X), N(C()), f(Je)), () => {
39209
+ }), je(() => (f(st), f(X), N(C()), f(Qe)), () => {
39210
39210
  D(st, jo(f(X)) ? function(Z, Ce) {
39211
39211
  var Ue = new Set(Ce.map(Kt)), dt = new Set(Z.map(Kt));
39212
39212
  for (var Ie of Ue) dt.has(Ie) || Ue.delete(Ie);
39213
39213
  for (var xt of dt) Ue.has(xt) || Ue.add(xt);
39214
39214
  return [...Ue].map(Ts);
39215
- }(iae(f(X), C(), f(Je)), f(st)) : []);
39215
+ }(iae(f(X), C(), f(Qe)), f(st)) : []);
39216
39216
  }), je(() => (f(X), f(st)), () => {
39217
39217
  D($t, !(!f(X) || Zn(f(st))));
39218
- }), je(() => (f(X), f(Je)), () => {
39219
- D(n, Array.isArray(f(X)) && f(X).length > f(Je));
39218
+ }), je(() => (f(X), f(Qe)), () => {
39219
+ D(n, Array.isArray(f(X)) && f(X).length > f(Qe));
39220
39220
  }), je(() => (f(_), f(Y), f(X), f(Se), sm), () => {
39221
39221
  D(r, sae(f(_), f(Y), f(X), H, G, f(Se) ? sm : 0));
39222
39222
  }), je(() => f(X), () => {
@@ -39304,7 +39304,7 @@ function yle(t, e) {
39304
39304
  var xn = Tt(() => (N(kd), f(o), de(() => {
39305
39305
  var Mo;
39306
39306
  return kd([], (Mo = f(o)) === null || Mo === void 0 ? void 0 : Mo.root);
39307
- }))), bo = Rn(), Tr = At(bo), fo = (Mo) => {
39307
+ }))), bo = Rn(), Mr = At(bo), fo = (Mo) => {
39308
39308
  var Oi = sle();
39309
39309
  vh(ae(Oi), { get validationError() {
39310
39310
  return f(xn);
@@ -39312,7 +39312,7 @@ function yle(t, e) {
39312
39312
  return la;
39313
39313
  } }), se(Mo, Oi);
39314
39314
  };
39315
- Te(Tr, (Mo) => {
39315
+ Te(Mr, (Mo) => {
39316
39316
  f(xn) && Mo(fo);
39317
39317
  }), se(zt, bo);
39318
39318
  };
@@ -39325,7 +39325,7 @@ function yle(t, e) {
39325
39325
  var ft = xe(me);
39326
39326
  Oo(ft, 1, () => f(st), Wo, (zt, xn) => {
39327
39327
  var bo = ale();
39328
- (function(Tr, fo) {
39328
+ (function(Mr, fo) {
39329
39329
  Ht(fo, !1);
39330
39330
  var Mo = ue(void 0, !0), Oi = ue(void 0, !0), Bl = ue(void 0, !0), Fs = I(fo, "path", 9), Pa = I(fo, "sortedColumn", 9), il = I(fo, "readOnly", 9), Ra = I(fo, "onSort", 9);
39331
39331
  je(() => (N(Fs()), Os), () => {
@@ -39348,7 +39348,7 @@ function yle(t, e) {
39348
39348
  Gi = hn(Ei, 1, "jse-column-header svelte-5pxwfq", null, Gi, { "jse-readonly": il() }), vr(Ei, "title", il() ? f(Mo) : f(Mo) + " (Click to sort the data by this column)"), Gt(zl, Go);
39349
39349
  }, [() => (N(tu), f(Mo), N(50), de(() => tu(f(Mo), 50)))]), Ge("click", Ei, function() {
39350
39350
  il() || Ra()({ path: Fs(), sortDirection: f(Oi) === ua.asc ? ua.desc : ua.asc });
39351
- }), se(Tr, Ei), qt();
39351
+ }), se(Mr, Ei), qt();
39352
39352
  })(ae(bo), { get path() {
39353
39353
  return f(xn);
39354
39354
  }, get sortedColumn() {
@@ -39358,7 +39358,7 @@ function yle(t, e) {
39358
39358
  }, onSort: Ye }), se(zt, bo);
39359
39359
  });
39360
39360
  var lt = xe(ft), on = (zt) => {
39361
- var xn = lle(), bo = ae(xn), Tr = Tt(() => (f(X), de(() => Array.isArray(f(X)) ? f(X).length : 0)));
39361
+ var xn = lle(), bo = ae(xn), Mr = Tt(() => (f(X), de(() => Array.isArray(f(X)) ? f(X).length : 0)));
39362
39362
  (function(fo, Mo) {
39363
39363
  Ht(Mo, !1);
39364
39364
  var Oi = I(Mo, "count", 9), Bl = I(Mo, "maxSampleCount", 9), Fs = I(Mo, "readOnly", 9), Pa = I(Mo, "onRefresh", 9);
@@ -39370,23 +39370,23 @@ function yle(t, e) {
39370
39370
  il = hn(Ra, 1, "jse-column-header svelte-1wgrwv3", null, il, { "jse-readonly": Fs() }), vr(Ra, "title", "The Columns are created by sampling ".concat(Bl(), " items out of ").concat(Oi(), ". ") + "If you're missing a column, click here to sample all of the items instead of a subset. This is slower.");
39371
39371
  }), Ge("click", Ra, () => Pa()()), se(fo, Ra), qt();
39372
39372
  })(bo, { get count() {
39373
- return f(Tr);
39373
+ return f(Mr);
39374
39374
  }, get maxSampleCount() {
39375
- return f(Je);
39375
+ return f(Qe);
39376
39376
  }, get readOnly() {
39377
39377
  return h();
39378
- }, onRefresh: () => D(Je, 1 / 0) }), se(zt, xn);
39378
+ }, onRefresh: () => D(Qe, 1 / 0) }), se(zt, xn);
39379
39379
  };
39380
39380
  Te(lt, (zt) => {
39381
39381
  f(n) && zt(on);
39382
39382
  });
39383
39383
  var sn, In, wr = xe(J), Gn = ae(wr), Vr = xe(wr);
39384
39384
  Oo(Vr, 1, () => (f(r), de(() => f(r).visibleItems)), Wo, (zt, xn, bo) => {
39385
- var Tr = Tt(() => (f(r), de(() => f(r).startIndex + bo))), fo = Tt(() => (f(o), N(f(Tr)), de(() => f(o).rows[f(Tr)]))), Mo = Tt(() => (N(kd), N(f(Tr)), N(f(fo)), de(() => {
39385
+ var Mr = Tt(() => (f(r), de(() => f(r).startIndex + bo))), fo = Tt(() => (f(o), N(f(Mr)), de(() => f(o).rows[f(Mr)]))), Mo = Tt(() => (N(kd), N(f(Mr)), N(f(fo)), de(() => {
39386
39386
  var Gi;
39387
- return kd([String(f(Tr))], (Gi = f(fo)) === null || Gi === void 0 ? void 0 : Gi.row);
39388
- }))), Oi = Tt(() => (N(fl), f(X), f(Le), N(f(Tr)), de(() => fl(f(X), f(Le), [String(f(Tr))])))), Bl = hle(), Fs = ae(Bl);
39389
- SD(Fs, () => f(Tr), (Gi) => {
39387
+ return kd([String(f(Mr))], (Gi = f(fo)) === null || Gi === void 0 ? void 0 : Gi.row);
39388
+ }))), Oi = Tt(() => (N(fl), f(X), f(Le), N(f(Mr)), de(() => fl(f(X), f(Le), [String(f(Mr))])))), Bl = hle(), Fs = ae(Bl);
39389
+ SD(Fs, () => f(Mr), (Gi) => {
39390
39390
  var Ei = ule(), Bs = ae(Ei), zl = xe(Bs), zs = (Sr) => {
39391
39391
  vh(Sr, { get validationError() {
39392
39392
  return f(Mo);
@@ -39398,14 +39398,14 @@ function yle(t, e) {
39398
39398
  f(Mo) && Sr(zs);
39399
39399
  }), ts(Ei, (Sr, Go) => Zv == null ? void 0 : Zv(Sr, Go), () => (Sr) => function(Go, Ko) {
39400
39400
  H[Ko] = Go.getBoundingClientRect().height;
39401
- }(Sr, f(Tr))), it(() => {
39401
+ }(Sr, f(Mr))), it(() => {
39402
39402
  var Sr;
39403
- return Gt(Bs, "".concat((Sr = f(Tr)) !== null && Sr !== void 0 ? Sr : "", " "));
39403
+ return Gt(Bs, "".concat((Sr = f(Mr)) !== null && Sr !== void 0 ? Sr : "", " "));
39404
39404
  }), se(Gi, Ei);
39405
39405
  });
39406
39406
  var Pa = xe(Fs);
39407
39407
  Oo(Pa, 1, () => f(st), Wo, (Gi, Ei, Bs, zl) => {
39408
- var zs, Sr = Tt(() => (N(f(Tr)), f(Ei), de(() => [String(f(Tr))].concat(f(Ei))))), Go = Tt(() => (N(Et), f(xn), f(Ei), de(() => Et(f(xn), f(Ei))))), Ko = Tt(() => (N(ar), f(pe), N(El), N(f(Sr)), de(() => ar(f(pe)) && El(f(pe).path, f(Sr))))), Yc = Tt(() => (N(f(fo)), de(() => {
39408
+ var zs, Sr = Tt(() => (N(f(Mr)), f(Ei), de(() => [String(f(Mr))].concat(f(Ei))))), Go = Tt(() => (N(Et), f(xn), f(Ei), de(() => Et(f(xn), f(Ei))))), Ko = Tt(() => (N(ar), f(pe), N(El), N(f(Sr)), de(() => ar(f(pe)) && El(f(pe).path, f(Sr))))), Yc = Tt(() => (N(f(fo)), de(() => {
39409
39409
  var Yo;
39410
39410
  return (Yo = f(fo)) === null || Yo === void 0 ? void 0 : Yo.columns[Bs];
39411
39411
  }))), md = Tt(() => (N(kd), N(f(Sr)), N(f(Yc)), de(() => kd(f(Sr), f(Yc))))), Xc = fle(), Cp = ae(Xc), gd = ae(Cp), kp = (Yo) => {
@@ -39485,7 +39485,7 @@ function yle(t, e) {
39485
39485
  });
39486
39486
  var un, uo = ae(xe(Vr));
39487
39487
  to(qn, (zt) => D(T, zt), () => f(T)), ts(qn, (zt, xn) => Zv == null ? void 0 : Zv(zt, xn), () => si), Mi(() => Ge("scroll", qn, Ut));
39488
- var Ar = xe(qn, 2), co = (zt) => {
39488
+ var Tr = xe(qn, 2), co = (zt) => {
39489
39489
  var xn = Tt(() => (f(Ae), de(() => "You pasted a JSON ".concat(Array.isArray(f(Ae).contents) ? "array" : "object", " as text")))), bo = Tt(() => [{ icon: Cc, text: "Paste as JSON instead", title: "Paste the text as JSON instead of a single value", onMouseDown: ro }, { text: "Leave as is", title: "Keep the pasted content as a single value", onClick: ii }]);
39490
39490
  Zs(zt, { type: "info", get message() {
39491
39491
  return f(xn);
@@ -39493,10 +39493,10 @@ function yle(t, e) {
39493
39493
  return f(bo);
39494
39494
  } });
39495
39495
  };
39496
- Te(Ar, (zt) => {
39496
+ Te(Tr, (zt) => {
39497
39497
  f(Ae) && zt(co);
39498
39498
  });
39499
- var cr = xe(Ar, 2), Xt = (zt) => {
39499
+ var cr = xe(Tr, 2), Xt = (zt) => {
39500
39500
  var xn = Tt(() => [{ icon: Cc, text: "Paste as string instead", title: "Paste the clipboard data as a single string value instead of an array", onClick: Ir }, { text: "Leave as is", title: "Keep the pasted array", onClick: Ln }]);
39501
39501
  Zs(zt, { type: "info", message: "Multiline text was pasted as array", get actions() {
39502
39502
  return f(xn);
@@ -39586,7 +39586,7 @@ function yle(t, e) {
39586
39586
  }
39587
39587
  }), Ge("keydown", or, function(Z) {
39588
39588
  var Ce = Cu(Z);
39589
- if (i("keydown", { combo: Ce, key: Z.key }), Ce === "Ctrl+X" && (Z.preventDefault(), ji(!0)), Ce === "Ctrl+Shift+X" && (Z.preventDefault(), ji(!1)), Ce === "Ctrl+C" && (Z.preventDefault(), Si(!0)), Ce === "Ctrl+Shift+C" && (Z.preventDefault(), Si(!1)), Ce === "Ctrl+D" && (Z.preventDefault(), Er()), Ce !== "Delete" && Ce !== "Backspace" || (Z.preventDefault(), Un()), Ce === "Insert" && Z.preventDefault(), Ce === "Ctrl+A" && Z.preventDefault(), Ce === "Ctrl+Q" && Ve(Z), Ce === "ArrowLeft" && (Z.preventDefault(), ln(), f(pe))) {
39589
+ if (i("keydown", { combo: Ce, key: Z.key }), Ce === "Ctrl+X" && (Z.preventDefault(), ji(!0)), Ce === "Ctrl+Shift+X" && (Z.preventDefault(), ji(!1)), Ce === "Ctrl+C" && (Z.preventDefault(), Si(!0)), Ce === "Ctrl+Shift+C" && (Z.preventDefault(), Si(!1)), Ce === "Ctrl+D" && (Z.preventDefault(), Ar()), Ce !== "Delete" && Ce !== "Backspace" || (Z.preventDefault(), Un()), Ce === "Insert" && Z.preventDefault(), Ce === "Ctrl+A" && Z.preventDefault(), Ce === "Ctrl+Q" && Ve(Z), Ce === "ArrowLeft" && (Z.preventDefault(), ln(), f(pe))) {
39590
39590
  var Ue = function(Tn, Jn) {
39591
39591
  var { rowIndex: qn, columnIndex: Yr } = aa(Lt(Jn), Tn);
39592
39592
  return Yr > 0 ? Fn(rf({ rowIndex: qn, columnIndex: Yr - 1 }, Tn)) : Jn;
@@ -39620,7 +39620,7 @@ function yle(t, e) {
39620
39620
  go(Et(f(X), Ot)) ? Nt(Ot) : h() || D(pe, ot(ot({}, f(pe)), {}, { edit: !0 }));
39621
39621
  }
39622
39622
  if (Ce.replace(/^Shift\+/, "").length === 1 && f(pe)) return Z.preventDefault(), void function(Tn) {
39623
- Pe.apply(this, arguments);
39623
+ Re.apply(this, arguments);
39624
39624
  }(Z.key);
39625
39625
  if (Ce === "Ctrl+Enter" && ar(f(pe))) {
39626
39626
  Z.preventDefault();
@@ -39695,10 +39695,10 @@ function T4(t, e) {
39695
39695
  f(ce) ? f(ce).focus() : f(z) ? f(z).focus() : f(K) && f(K).focus();
39696
39696
  }
39697
39697
  function Ct() {
39698
- return Je.apply(this, arguments);
39698
+ return Qe.apply(this, arguments);
39699
39699
  }
39700
- function Je() {
39701
- return (Je = Qt(function* () {
39700
+ function Qe() {
39701
+ return (Qe = Qt(function* () {
39702
39702
  f(ce) && (yield f(ce).refresh());
39703
39703
  })).apply(this, arguments);
39704
39704
  }
@@ -40144,7 +40144,7 @@ function Ple(t, e) {
40144
40144
  Ht(e, !1);
40145
40145
  var n = ue(void 0, !0), r = wi("jsoneditor:JSONEditor"), o = { text: "" }, i = void 0, s = !1, a = Co.tree, l = !0, u = !0, c = !0, d = !0, h = !1, p = !1, m = !0, g = JSON, v = void 0, b = JSON, w = { parse: Ioe, stringify: Os }, E = [toe], C = E[0].id, y = la, x = void 0, k = void 0, A = Doe, j = la, S = la, O = la, R = la, M = (_e) => {
40146
40146
  console.error(_e), alert(_e.toString());
40147
- }, $ = la, F = la, L = I(e, "content", 13, o), B = I(e, "selection", 13, i), q = I(e, "readOnly", 13, s), z = I(e, "indentation", 13, 2), K = I(e, "tabSize", 13, 4), ce = I(e, "truncateTextSize", 13, 1e3), Q = I(e, "mode", 13, a), te = I(e, "mainMenuBar", 13, l), ee = I(e, "navigationBar", 13, u), T = I(e, "statusBar", 13, c), U = I(e, "askToFormat", 13, d), Oe = I(e, "escapeControlCharacters", 13, h), ye = I(e, "escapeUnicodeCharacters", 13, p), X = I(e, "flattenColumns", 13, m), be = I(e, "parser", 13, g), re = I(e, "validator", 13, v), Ae = I(e, "validationParser", 13, b), he = I(e, "pathParser", 13, w), Le = I(e, "queryLanguages", 13, E), Se = I(e, "queryLanguageId", 13, C), le = I(e, "onChangeQueryLanguage", 13, y), rt = I(e, "onChange", 13, x), St = I(e, "onSelect", 13, k), $e = I(e, "onRenderValue", 13, A), Ct = I(e, "onClassName", 13, j), Je = I(e, "onRenderMenu", 13, S), st = I(e, "onRenderContextMenu", 13, O), $t = I(e, "onChangeMode", 13, R), nt = I(e, "onError", 13, M), Vt = I(e, "onFocus", 13, $), V = I(e, "onBlur", 13, F), H = ue(Yd(), !0), Y = ue(!1, !0), _ = ue(void 0, !0), G = ue(void 0, !0), oe = ue(void 0, !0), ve = ue(void 0, !0), ie = ue(be(), !0);
40147
+ }, $ = la, F = la, L = I(e, "content", 13, o), B = I(e, "selection", 13, i), q = I(e, "readOnly", 13, s), z = I(e, "indentation", 13, 2), K = I(e, "tabSize", 13, 4), ce = I(e, "truncateTextSize", 13, 1e3), Q = I(e, "mode", 13, a), te = I(e, "mainMenuBar", 13, l), ee = I(e, "navigationBar", 13, u), T = I(e, "statusBar", 13, c), U = I(e, "askToFormat", 13, d), Oe = I(e, "escapeControlCharacters", 13, h), ye = I(e, "escapeUnicodeCharacters", 13, p), X = I(e, "flattenColumns", 13, m), be = I(e, "parser", 13, g), re = I(e, "validator", 13, v), Ae = I(e, "validationParser", 13, b), he = I(e, "pathParser", 13, w), Le = I(e, "queryLanguages", 13, E), Se = I(e, "queryLanguageId", 13, C), le = I(e, "onChangeQueryLanguage", 13, y), rt = I(e, "onChange", 13, x), St = I(e, "onSelect", 13, k), $e = I(e, "onRenderValue", 13, A), Ct = I(e, "onClassName", 13, j), Qe = I(e, "onRenderMenu", 13, S), st = I(e, "onRenderContextMenu", 13, O), $t = I(e, "onChangeMode", 13, R), nt = I(e, "onError", 13, M), Vt = I(e, "onFocus", 13, $), V = I(e, "onBlur", 13, F), H = ue(Yd(), !0), Y = ue(!1, !0), _ = ue(void 0, !0), G = ue(void 0, !0), oe = ue(void 0, !0), ve = ue(void 0, !0), ie = ue(be(), !0);
40148
40148
  function pe() {
40149
40149
  return L();
40150
40150
  }
@@ -40208,7 +40208,7 @@ function Ple(t, e) {
40208
40208
  })).apply(this, arguments);
40209
40209
  }
40210
40210
  function ze(_e) {
40211
- var An, gr, Ir, vo, ii, Ln, Bo, ji, oo, Si, Nr, Un, gn, Er, Ao, lo, we, Pe, tt, fe, ke, Be, ht, Dt, Nt, Yt, Lr, Wn, Yn, vn, Hn, si = Object.keys(_e);
40211
+ var An, gr, Ir, vo, ii, Ln, Bo, ji, oo, Si, Nr, Un, gn, Ar, Ao, lo, we, Re, tt, fe, ke, Be, ht, Dt, Nt, Yt, Lr, Wn, Yn, vn, Hn, si = Object.keys(_e);
40212
40212
  for (var Zt of si) switch (Zt) {
40213
40213
  case "content":
40214
40214
  L((An = _e[Zt]) !== null && An !== void 0 ? An : o);
@@ -40250,7 +40250,7 @@ function Ple(t, e) {
40250
40250
  ye((gn = _e[Zt]) !== null && gn !== void 0 ? gn : p);
40251
40251
  break;
40252
40252
  case "flattenColumns":
40253
- X((Er = _e[Zt]) !== null && Er !== void 0 ? Er : m);
40253
+ X((Ar = _e[Zt]) !== null && Ar !== void 0 ? Ar : m);
40254
40254
  break;
40255
40255
  case "parser":
40256
40256
  be((Ao = _e[Zt]) !== null && Ao !== void 0 ? Ao : g);
@@ -40262,7 +40262,7 @@ function Ple(t, e) {
40262
40262
  Ae((we = _e[Zt]) !== null && we !== void 0 ? we : b);
40263
40263
  break;
40264
40264
  case "pathParser":
40265
- he((Pe = _e[Zt]) !== null && Pe !== void 0 ? Pe : w);
40265
+ he((Re = _e[Zt]) !== null && Re !== void 0 ? Re : w);
40266
40266
  break;
40267
40267
  case "queryLanguages":
40268
40268
  Le((tt = _e[Zt]) !== null && tt !== void 0 ? tt : E);
@@ -40283,7 +40283,7 @@ function Ple(t, e) {
40283
40283
  Ct((Dt = _e[Zt]) !== null && Dt !== void 0 ? Dt : j);
40284
40284
  break;
40285
40285
  case "onRenderMenu":
40286
- Je((Nt = _e[Zt]) !== null && Nt !== void 0 ? Nt : S);
40286
+ Qe((Nt = _e[Zt]) !== null && Nt !== void 0 ? Nt : S);
40287
40287
  break;
40288
40288
  case "onRenderContextMenu":
40289
40289
  st((Yt = _e[Zt]) !== null && Yt !== void 0 ? Yt : O);
@@ -40344,14 +40344,14 @@ function Ple(t, e) {
40344
40344
  }
40345
40345
  function We(_e) {
40346
40346
  var { id: An, json: gr, rootPath: Ir, onTransform: vo, onClose: ii } = _e;
40347
- q() || D(ve, { id: An, json: gr, rootPath: Ir, indentation: z(), truncateTextSize: ce(), escapeControlCharacters: Oe(), escapeUnicodeCharacters: ye(), parser: be(), parseMemoizeOne: f(n), validationParser: Ae(), pathParser: he(), queryLanguages: Le(), queryLanguageId: Se(), onChangeQueryLanguage: Ve, onRenderValue: $e(), onRenderMenu: (Ln) => Je()(Ln, { mode: Q(), modal: !0, readOnly: q() }), onRenderContextMenu: (Ln) => st()(Ln, { mode: Q(), modal: !0, readOnly: q(), selection: B() }), onClassName: Ct(), onTransform: vo, onClose: ii });
40347
+ q() || D(ve, { id: An, json: gr, rootPath: Ir, indentation: z(), truncateTextSize: ce(), escapeControlCharacters: Oe(), escapeUnicodeCharacters: ye(), parser: be(), parseMemoizeOne: f(n), validationParser: Ae(), pathParser: he(), queryLanguages: Le(), queryLanguageId: Se(), onChangeQueryLanguage: Ve, onRenderValue: $e(), onRenderMenu: (Ln) => Qe()(Ln, { mode: Q(), modal: !0, readOnly: q() }), onRenderContextMenu: (Ln) => st()(Ln, { mode: Q(), modal: !0, readOnly: q(), selection: B() }), onClassName: Ct(), onTransform: vo, onClose: ii });
40348
40348
  }
40349
40349
  function Kr(_e) {
40350
40350
  q() || D(oe, _e);
40351
40351
  }
40352
40352
  function yr(_e) {
40353
40353
  var { content: An, path: gr, onPatch: Ir, onClose: vo } = _e;
40354
- r("onJSONEditorModal", { content: An, path: gr }), D(G, { content: An, path: gr, onPatch: Ir, readOnly: q(), indentation: z(), tabSize: K(), truncateTextSize: ce(), mainMenuBar: te(), navigationBar: ee(), statusBar: T(), askToFormat: U(), escapeControlCharacters: Oe(), escapeUnicodeCharacters: ye(), flattenColumns: X(), parser: be(), validator: void 0, validationParser: Ae(), pathParser: he(), onRenderValue: $e(), onClassName: Ct(), onRenderMenu: Je(), onRenderContextMenu: st(), onSortModal: Kr, onTransformModal: We, onClose: vo });
40354
+ r("onJSONEditorModal", { content: An, path: gr }), D(G, { content: An, path: gr, onPatch: Ir, readOnly: q(), indentation: z(), tabSize: K(), truncateTextSize: ce(), mainMenuBar: te(), navigationBar: ee(), statusBar: T(), askToFormat: U(), escapeControlCharacters: Oe(), escapeUnicodeCharacters: ye(), flattenColumns: X(), parser: be(), validator: void 0, validationParser: Ae(), pathParser: he(), onRenderValue: $e(), onClassName: Ct(), onRenderMenu: Qe(), onRenderContextMenu: st(), onSortModal: Kr, onTransformModal: We, onClose: vo });
40355
40355
  }
40356
40356
  function Fo(_e) {
40357
40357
  _e.stopPropagation();
@@ -40423,16 +40423,16 @@ function Ple(t, e) {
40423
40423
  }, get onClassName() {
40424
40424
  return Ct();
40425
40425
  }, onFocus: mr, onBlur: _r, get onRenderMenu() {
40426
- return Je();
40426
+ return Qe();
40427
40427
  }, get onRenderContextMenu() {
40428
40428
  return st();
40429
40429
  }, onSortModal: Kr, onTransformModal: We, onJSONEditorModal: yr, $$legacy: !0 }), (Un) => D(_, Un), () => f(_));
40430
40430
  });
40431
40431
  var ii = xe(vo, 2), Ln = (Nr) => {
40432
40432
  (function(Un, gn) {
40433
- var Er, Ao;
40433
+ var Ar, Ao;
40434
40434
  Ht(gn, !1);
40435
- var lo = ue(void 0, !0), we = ue(void 0, !0), Pe = ue(void 0, !0), tt = ue(void 0, !0), fe = wi("jsoneditor:SortModal"), ke = I(gn, "id", 9), Be = I(gn, "json", 9), ht = I(gn, "rootPath", 9), Dt = I(gn, "onSort", 9), Nt = I(gn, "onClose", 9), Yt = { value: 1, label: "ascending" }, Lr = [Yt, { value: -1, label: "descending" }], Wn = "".concat(ke(), ":").concat(Kt(ht())), Yn = ue((Er = Od()[Wn]) === null || Er === void 0 ? void 0 : Er.selectedProperty, !0), vn = ue(((Ao = Od()[Wn]) === null || Ao === void 0 ? void 0 : Ao.selectedDirection) || Yt, !0), Hn = ue(void 0, !0);
40435
+ var lo = ue(void 0, !0), we = ue(void 0, !0), Re = ue(void 0, !0), tt = ue(void 0, !0), fe = wi("jsoneditor:SortModal"), ke = I(gn, "id", 9), Be = I(gn, "json", 9), ht = I(gn, "rootPath", 9), Dt = I(gn, "onSort", 9), Nt = I(gn, "onClose", 9), Yt = { value: 1, label: "ascending" }, Lr = [Yt, { value: -1, label: "descending" }], Wn = "".concat(ke(), ":").concat(Kt(ht())), Yn = ue((Ar = Od()[Wn]) === null || Ar === void 0 ? void 0 : Ar.selectedProperty, !0), vn = ue(((Ao = Od()[Wn]) === null || Ao === void 0 ? void 0 : Ao.selectedDirection) || Yt, !0), Hn = ue(void 0, !0);
40436
40436
  function si() {
40437
40437
  try {
40438
40438
  var ur, Xn, or;
@@ -40451,9 +40451,9 @@ function Ple(t, e) {
40451
40451
  }), je(() => f(lo), () => {
40452
40452
  D(we, Array.isArray(f(lo)));
40453
40453
  }), je(() => (f(we), f(lo)), () => {
40454
- D(Pe, f(we) ? j2(f(lo)) : void 0);
40455
- }), je(() => (f(Pe), Ku), () => {
40456
- D(tt, f(Pe) ? f(Pe).map(Ku) : void 0);
40454
+ D(Re, f(we) ? j2(f(lo)) : void 0);
40455
+ }), je(() => (f(Re), Ku), () => {
40456
+ D(tt, f(Re) ? f(Re).map(Ku) : void 0);
40457
40457
  }), je(() => (Od(), f(Yn), f(vn)), () => {
40458
40458
  Od(Od()[Wn] = { selectedProperty: f(Yn), selectedDirection: f(vn) }), fe("store state in memory", Wn, Od()[Wn]);
40459
40459
  }), br(), pn(!0), mg(Un, { get onClose() {
@@ -40524,7 +40524,7 @@ function Ple(t, e) {
40524
40524
  var oo = xe(Bo, 2), Si = (Nr) => {
40525
40525
  (function(Un, gn) {
40526
40526
  Ht(gn, !1);
40527
- var Er = ue(void 0, !0), Ao = ue(void 0, !0), lo = ue(void 0, !0), we = ue(void 0, !0), Pe = wi("jsoneditor:JSONEditorModal"), tt = I(gn, "content", 9), fe = I(gn, "path", 9), ke = I(gn, "onPatch", 9), Be = I(gn, "readOnly", 9), ht = I(gn, "indentation", 9), Dt = I(gn, "tabSize", 9), Nt = I(gn, "truncateTextSize", 9), Yt = I(gn, "mainMenuBar", 9), Lr = I(gn, "navigationBar", 9), Wn = I(gn, "statusBar", 9), Yn = I(gn, "askToFormat", 9), vn = I(gn, "escapeControlCharacters", 9), Hn = I(gn, "escapeUnicodeCharacters", 9), si = I(gn, "flattenColumns", 9), Zt = I(gn, "parser", 9), ur = I(gn, "validator", 9), Xn = I(gn, "validationParser", 9), or = I(gn, "pathParser", 9), qr = I(gn, "onRenderValue", 9), Cr = I(gn, "onClassName", 9), rn = I(gn, "onRenderMenu", 9), qo = I(gn, "onRenderContextMenu", 9), To = I(gn, "onSortModal", 9), ai = I(gn, "onTransformModal", 9), xr = I(gn, "onClose", 9), kr = ue(void 0, !0), zo = ue(void 0, !0), Z = { mode: dt(tt()), content: tt(), selection: void 0, relativePath: fe() }, Ce = ue([Z], !0), Ue = ue(void 0, !0);
40527
+ var Ar = ue(void 0, !0), Ao = ue(void 0, !0), lo = ue(void 0, !0), we = ue(void 0, !0), Re = wi("jsoneditor:JSONEditorModal"), tt = I(gn, "content", 9), fe = I(gn, "path", 9), ke = I(gn, "onPatch", 9), Be = I(gn, "readOnly", 9), ht = I(gn, "indentation", 9), Dt = I(gn, "tabSize", 9), Nt = I(gn, "truncateTextSize", 9), Yt = I(gn, "mainMenuBar", 9), Lr = I(gn, "navigationBar", 9), Wn = I(gn, "statusBar", 9), Yn = I(gn, "askToFormat", 9), vn = I(gn, "escapeControlCharacters", 9), Hn = I(gn, "escapeUnicodeCharacters", 9), si = I(gn, "flattenColumns", 9), Zt = I(gn, "parser", 9), ur = I(gn, "validator", 9), Xn = I(gn, "validationParser", 9), or = I(gn, "pathParser", 9), qr = I(gn, "onRenderValue", 9), Cr = I(gn, "onClassName", 9), rn = I(gn, "onRenderMenu", 9), qo = I(gn, "onRenderContextMenu", 9), To = I(gn, "onSortModal", 9), ai = I(gn, "onTransformModal", 9), xr = I(gn, "onClose", 9), kr = ue(void 0, !0), zo = ue(void 0, !0), Z = { mode: dt(tt()), content: tt(), selection: void 0, relativePath: fe() }, Ce = ue([Z], !0), Ue = ue(void 0, !0);
40528
40528
  function dt(me) {
40529
40529
  return Qf(me) && jo(me.json) ? Co.table : Co.tree;
40530
40530
  }
@@ -40533,9 +40533,9 @@ function Ple(t, e) {
40533
40533
  fg(Ne) && f(kr).scrollTo(Lt(Ne));
40534
40534
  }
40535
40535
  function xt() {
40536
- if (Pe("handleApply"), !Be()) try {
40536
+ if (Re("handleApply"), !Be()) try {
40537
40537
  D(Ue, void 0);
40538
- var me = f(Er).relativePath, Ne = f(Er).content, yt = [{ op: "replace", path: Kt(me), value: zA(Ne, Zt()).json }];
40538
+ var me = f(Ar).relativePath, Ne = f(Ar).content, yt = [{ op: "replace", path: Kt(me), value: zA(Ne, Zt()).json }];
40539
40539
  if (f(Ce).length > 1) {
40540
40540
  var ft = zA(f(Ce)[f(Ce).length - 2].content, Zt()).json, lt = { json: Va(ft, yt) }, on = ot(ot({}, f(Ce)[f(Ce).length - 2] || Z), {}, { content: lt });
40541
40541
  D(Ce, [...f(Ce).slice(0, f(Ce).length - 2), on]), Gr(), Ie();
@@ -40545,20 +40545,20 @@ function Ple(t, e) {
40545
40545
  }
40546
40546
  }
40547
40547
  function Ot() {
40548
- if (Pe("handleClose"), f(zo)) D(zo, !1);
40548
+ if (Re("handleClose"), f(zo)) D(zo, !1);
40549
40549
  else if (f(Ce).length > 1) {
40550
40550
  var me;
40551
40551
  D(Ce, zn(f(Ce))), Gr(), (me = f(kr)) === null || me === void 0 || me.focus(), Ie(), D(Ue, void 0);
40552
40552
  } else xr()();
40553
40553
  }
40554
40554
  function jt(me) {
40555
- Pe("handleChange", me), qn((Ne) => ot(ot({}, Ne), {}, { content: me }));
40555
+ Re("handleChange", me), qn((Ne) => ot(ot({}, Ne), {}, { content: me }));
40556
40556
  }
40557
40557
  function Tn(me) {
40558
- Pe("handleChangeSelection", me), qn((Ne) => ot(ot({}, Ne), {}, { selection: me }));
40558
+ Re("handleChangeSelection", me), qn((Ne) => ot(ot({}, Ne), {}, { selection: me }));
40559
40559
  }
40560
40560
  function Jn(me) {
40561
- Pe("handleChangeMode", me), qn((Ne) => ot(ot({}, Ne), {}, { mode: me }));
40561
+ Re("handleChangeMode", me), qn((Ne) => ot(ot({}, Ne), {}, { mode: me }));
40562
40562
  }
40563
40563
  function qn(me) {
40564
40564
  var Ne = me(tn(f(Ce)));
@@ -40569,7 +40569,7 @@ function Ple(t, e) {
40569
40569
  }
40570
40570
  function li(me) {
40571
40571
  var Ne, { content: yt, path: ft } = me;
40572
- Pe("handleJSONEditorModal", { content: yt, path: ft });
40572
+ Re("handleJSONEditorModal", { content: yt, path: ft });
40573
40573
  var lt = { mode: dt(yt), content: yt, selection: void 0, relativePath: ft };
40574
40574
  D(Ce, [...f(Ce), lt]), Gr(), (Ne = f(kr)) === null || Ne === void 0 || Ne.focus();
40575
40575
  }
@@ -40580,7 +40580,7 @@ function Ple(t, e) {
40580
40580
  var me;
40581
40581
  (me = f(kr)) === null || me === void 0 || me.focus();
40582
40582
  }), je(() => f(Ce), () => {
40583
- D(Er, tn(f(Ce)) || Z);
40583
+ D(Ar, tn(f(Ce)) || Z);
40584
40584
  }), je(() => f(Ce), () => {
40585
40585
  D(Ao, f(Ce).flatMap((me) => me.relativePath));
40586
40586
  }), je(() => (f(Ao), Os), () => {
@@ -40603,11 +40603,11 @@ function Ple(t, e) {
40603
40603
  }, $$legacy: !0 });
40604
40604
  var wr = xe(sn, 2), Gn = xe(ae(wr), 2), Vr = xe(Gn, 4);
40605
40605
  to(T4(ae(Vr), { get externalMode() {
40606
- return f(Er), de(() => f(Er).mode);
40606
+ return f(Ar), de(() => f(Ar).mode);
40607
40607
  }, get content() {
40608
- return f(Er), de(() => f(Er).content);
40608
+ return f(Ar), de(() => f(Ar).content);
40609
40609
  }, get selection() {
40610
- return f(Er), de(() => f(Er).selection);
40610
+ return f(Ar), de(() => f(Ar).selection);
40611
40611
  }, get readOnly() {
40612
40612
  return Be();
40613
40613
  }, get indentation() {
@@ -40664,16 +40664,16 @@ function Ple(t, e) {
40664
40664
  Te(un, (cn) => {
40665
40665
  f(Ue) && cn(uo);
40666
40666
  });
40667
- var Ar = xe(un, 2), co = (cn) => {
40667
+ var Tr = xe(un, 2), co = (cn) => {
40668
40668
  var zt = wle();
40669
40669
  Kn(ae(zt), { get data() {
40670
40670
  return QK;
40671
40671
  } }), Ge("click", zt, Ot), se(cn, zt);
40672
40672
  };
40673
- Te(Ar, (cn) => {
40673
+ Te(Tr, (cn) => {
40674
40674
  f(Ce), de(() => f(Ce).length > 1) && cn(co);
40675
40675
  });
40676
- var cr = xe(Ar, 2), Xt = (cn) => {
40676
+ var cr = xe(Tr, 2), Xt = (cn) => {
40677
40677
  var zt = Sle();
40678
40678
  Mi(() => Ge("click", zt, xt)), ts(zt, (xn) => J == null ? void 0 : J(xn)), se(cn, zt);
40679
40679
  }, Qn = (cn) => {
@@ -40751,7 +40751,7 @@ const Dle = Rg({
40751
40751
  setup(t, { expose: e, emit: n }) {
40752
40752
  const r = t, o = n, i = Ft(null), s = Ft(null);
40753
40753
  let a = !1;
40754
- const l = Ze(() => {
40754
+ const l = Je(() => {
40755
40755
  const m = r.height;
40756
40756
  return {
40757
40757
  width: "100%",
@@ -40856,7 +40856,7 @@ const Dle = Rg({
40856
40856
  }), e({
40857
40857
  /** vanilla-jsoneditor 实例(createJSONEditor 返回值) */
40858
40858
  getEditor: () => s.value
40859
- }), (m, g) => (Re(), at("div", {
40859
+ }), (m, g) => (Pe(), at("div", {
40860
40860
  ref_key: "containerRef",
40861
40861
  ref: i,
40862
40862
  class: "flm-json-editor",
@@ -41670,7 +41670,7 @@ const up = /* @__PURE__ */ Jt({
41670
41670
  }
41671
41671
  },
41672
41672
  setup(t, e) {
41673
- const n = Ze(() => ao(Eo.buttonDefaultConfig, t.config));
41673
+ const n = Je(() => ao(Eo.buttonDefaultConfig, t.config));
41674
41674
  return () => {
41675
41675
  const r = n.value, {
41676
41676
  text: o,
@@ -41696,12 +41696,12 @@ const up = /* @__PURE__ */ Jt({
41696
41696
  }
41697
41697
  },
41698
41698
  setup(t, e) {
41699
- const n = Ze(() => {
41699
+ const n = Je(() => {
41700
41700
  const o = ao(Eo.cascaderDefaultConfig, t.config || {});
41701
41701
  return t.config, {
41702
41702
  ...o
41703
41703
  };
41704
- }), r = Ze(() => ({
41704
+ }), r = Je(() => ({
41705
41705
  /** Element Plus 用 update:modelValue 驱动值;须同步 flmGridForm 注入的 config.onChange */
41706
41706
  "onUpdate:modelValue": (o) => {
41707
41707
  const i = t.config.onChange;
@@ -41725,7 +41725,7 @@ const up = /* @__PURE__ */ Jt({
41725
41725
  }
41726
41726
  },
41727
41727
  setup(t, e) {
41728
- const n = Ze(() => ao(Eo.checkboxDefaultConfig, t.config)), r = ri({
41728
+ const n = Je(() => ao(Eo.checkboxDefaultConfig, t.config)), r = ri({
41729
41729
  onChange: (o) => e.emit("change", o)
41730
41730
  });
41731
41731
  return () => P(Xe("el-checkbox"), Bn(n.value, r), null);
@@ -41740,7 +41740,7 @@ const up = /* @__PURE__ */ Jt({
41740
41740
  }
41741
41741
  },
41742
41742
  setup(t, e) {
41743
- const n = Ze(() => ao(Eo.colorPickerDefaultConfig, t.config)), r = ri({
41743
+ const n = Je(() => ao(Eo.colorPickerDefaultConfig, t.config)), r = ri({
41744
41744
  onChange: (o) => e.emit("change", o)
41745
41745
  });
41746
41746
  return () => P(Xe("el-color-picker"), Bn(n.value, r), null);
@@ -41759,7 +41759,7 @@ const up = /* @__PURE__ */ Jt({
41759
41759
  n.value = o["model-value"];
41760
41760
  });
41761
41761
  const n = Ft("");
41762
- Ze(() => ao(Eo.datePickerDefaultConfig, t.config));
41762
+ Je(() => ao(Eo.datePickerDefaultConfig, t.config));
41763
41763
  const r = {
41764
41764
  "onUpdate:modelValue": (o) => {
41765
41765
  console.log("event===123", o), e.emit("change", o);
@@ -41803,7 +41803,7 @@ const up = /* @__PURE__ */ Jt({
41803
41803
  return (s = (i = e.slots).prepend) == null ? void 0 : s.call(i);
41804
41804
  });
41805
41805
  });
41806
- const r = Ze(() => ao(Eo.inputDefaultConfig, t.config)), o = ri({
41806
+ const r = Je(() => ao(Eo.inputDefaultConfig, t.config)), o = ri({
41807
41807
  onBlur: () => e.emit("blur"),
41808
41808
  onFocus: () => e.emit("focus"),
41809
41809
  onChange: (i) => e.emit("change", i),
@@ -41838,7 +41838,7 @@ const dp = /* @__PURE__ */ Jt({
41838
41838
  }
41839
41839
  },
41840
41840
  setup(t, e) {
41841
- const n = Ze(() => {
41841
+ const n = Je(() => {
41842
41842
  const o = ao(Eo.inputNumberDefaultConfig, t.config), i = o["model-value"] ?? o.modelValue, s = nue(i), {
41843
41843
  modelValue: a,
41844
41844
  "model-value": l,
@@ -41877,12 +41877,12 @@ const Nc = /* @__PURE__ */ Jt({
41877
41877
  }
41878
41878
  },
41879
41879
  setup(t, e) {
41880
- const n = Ze(() => ao(rue, t.config || {})), r = Ze(() => {
41880
+ const n = Je(() => ao(rue, t.config || {})), r = Je(() => {
41881
41881
  const s = {
41882
41882
  ...n.value
41883
41883
  };
41884
41884
  return delete s["file-list"], delete s["model-value"], delete s.modelValue, s;
41885
- }), o = Ze(() => oue(n.value)), i = ri({
41885
+ }), o = Je(() => oue(n.value)), i = ri({
41886
41886
  onPreview: (s) => e.emit("preview", s),
41887
41887
  onRemove: (s, a) => e.emit("remove", s, a),
41888
41888
  onSuccess: (s, a, l) => e.emit("success", s, a, l),
@@ -41922,7 +41922,7 @@ const Nc = /* @__PURE__ */ Jt({
41922
41922
  emit: n,
41923
41923
  slots: r
41924
41924
  }) {
41925
- const o = Ze(() => ao(Eo.paginationDefaultConfig, t.config)), i = ri({
41925
+ const o = Je(() => ao(Eo.paginationDefaultConfig, t.config)), i = ri({
41926
41926
  onSizeChange: (s) => n("size-change", s),
41927
41927
  onCurrentChange: (s) => n("current-change", s),
41928
41928
  onPrevClick: (s) => n("prev-click", s),
@@ -41944,7 +41944,7 @@ const hp = /* @__PURE__ */ Jt({
41944
41944
  }
41945
41945
  },
41946
41946
  setup(t, e) {
41947
- const n = Ze(() => ao(Eo.radioGroupDefaultConfig, t.config)), r = ri({
41947
+ const n = Je(() => ao(Eo.radioGroupDefaultConfig, t.config)), r = ri({
41948
41948
  onChange: (i) => e.emit("change", i)
41949
41949
  }), o = () => {
41950
41950
  let i;
@@ -41983,7 +41983,7 @@ const hp = /* @__PURE__ */ Jt({
41983
41983
  }
41984
41984
  },
41985
41985
  setup(t, e) {
41986
- const n = Ze(() => ao(Eo.rateDefaultConfig, t.config)), r = ri({
41986
+ const n = Je(() => ao(Eo.rateDefaultConfig, t.config)), r = ri({
41987
41987
  onChange: (o) => e.emit("change", o)
41988
41988
  });
41989
41989
  return () => P(Xe("el-rate"), Bn(n.value, r), null);
@@ -42000,7 +42000,7 @@ const hp = /* @__PURE__ */ Jt({
42000
42000
  }
42001
42001
  },
42002
42002
  setup(t) {
42003
- return (e, n) => (Re(), at("div", {
42003
+ return (e, n) => (Pe(), at("div", {
42004
42004
  class: Es(t.config.class),
42005
42005
  style: Sg(t.config.style)
42006
42006
  }, Do(t.config["model-value"]), 7));
@@ -42018,10 +42018,10 @@ const hp = /* @__PURE__ */ Jt({
42018
42018
  setup(t) {
42019
42019
  const e = t, n = Ft(bg());
42020
42020
  let r = null;
42021
- const o = Ze(() => {
42021
+ const o = Je(() => {
42022
42022
  const s = e.config || {}, a = s.formatPreset ?? "date", l = s.format && String(s.format).trim() || "YYYY-MM-DD HH:mm:ss";
42023
42023
  return a === "date" ? "YYYY-MM-DD" : a === "time" ? "HH:mm:ss" : l;
42024
- }), i = Ze(() => n.value.format(o.value));
42024
+ }), i = Je(() => n.value.format(o.value));
42025
42025
  return Wt(
42026
42026
  i,
42027
42027
  (s) => {
@@ -42036,7 +42036,7 @@ const hp = /* @__PURE__ */ Jt({
42036
42036
  }, 1e3);
42037
42037
  }), i9(() => {
42038
42038
  r != null && (clearInterval(r), r = null);
42039
- }), (s, a) => (Re(), at("span", sue, Do(i.value), 1));
42039
+ }), (s, a) => (Pe(), at("span", sue, Do(i.value), 1));
42040
42040
  }
42041
42041
  }), gp = /* @__PURE__ */ ki(lue, [["__scopeId", "data-v-950afa95"]]);
42042
42042
  function uue(t) {
@@ -42052,7 +42052,7 @@ const vp = /* @__PURE__ */ Jt({
42052
42052
  }
42053
42053
  },
42054
42054
  setup(t, e) {
42055
- const n = Ze(() => ao(Eo.selectDefaultConfig, t.config)), r = ri({
42055
+ const n = Je(() => ao(Eo.selectDefaultConfig, t.config)), r = ri({
42056
42056
  onChange: (i) => e.emit("change", i),
42057
42057
  onVisibleChange: (i) => e.emit("visible-change", i),
42058
42058
  onRemoveTag: (i) => e.emit("remove-tag", i),
@@ -42100,7 +42100,7 @@ const bp = /* @__PURE__ */ Jt({
42100
42100
  }
42101
42101
  },
42102
42102
  setup(t, e) {
42103
- const n = Ze(() => ao(Eo.sliderDefaultConfig, t.config)), r = Ze(() => ({
42103
+ const n = Je(() => ao(Eo.sliderDefaultConfig, t.config)), r = Je(() => ({
42104
42104
  "onUpdate:modelValue": (o) => {
42105
42105
  cue(t.config, o), e.emit("change", o), e.emit("input", o);
42106
42106
  }
@@ -42117,7 +42117,7 @@ const bp = /* @__PURE__ */ Jt({
42117
42117
  }
42118
42118
  },
42119
42119
  setup(t, e) {
42120
- const n = Ze(() => ao(Eo.switchDefaultConfig, t.config));
42120
+ const n = Je(() => ao(Eo.switchDefaultConfig, t.config));
42121
42121
  return () => P(Xe("el-switch"), Bn(n.value, {
42122
42122
  onChange: (r) => e.emit("change", r)
42123
42123
  }), null);
@@ -42137,7 +42137,7 @@ const xp = /* @__PURE__ */ Jt({
42137
42137
  }
42138
42138
  },
42139
42139
  setup(t, e) {
42140
- const n = Ze(() => ao(Eo.timePickerDefaultConfig, t.config)), r = Ze(() => ({
42140
+ const n = Je(() => ao(Eo.timePickerDefaultConfig, t.config)), r = Je(() => ({
42141
42141
  "onUpdate:modelValue": (o) => {
42142
42142
  fue(t.config, o), e.emit("change", o);
42143
42143
  },
@@ -42157,7 +42157,7 @@ const xp = /* @__PURE__ */ Jt({
42157
42157
  }
42158
42158
  },
42159
42159
  setup(t, e) {
42160
- const n = Ze(() => ao(Eo.timeSelectDefaultConfig, t.config)), r = ri({
42160
+ const n = Je(() => ao(Eo.timeSelectDefaultConfig, t.config)), r = ri({
42161
42161
  onChange: (o) => e.emit("change", o),
42162
42162
  onBlur: () => e.emit("blur"),
42163
42163
  onFocus: () => e.emit("focus")
@@ -42174,7 +42174,7 @@ const xp = /* @__PURE__ */ Jt({
42174
42174
  }
42175
42175
  },
42176
42176
  setup(t, e) {
42177
- const n = Ze(() => ao(Eo.transferDefaultConfig, t.config)), r = ri({
42177
+ const n = Je(() => ao(Eo.transferDefaultConfig, t.config)), r = ri({
42178
42178
  onChange: (o) => e.emit("change", o),
42179
42179
  onLeftCheckChange: (o) => e.emit("left-check-change", o),
42180
42180
  onRightCheckChange: (o) => e.emit("right-check-change", o)
@@ -42208,7 +42208,7 @@ const xp = /* @__PURE__ */ Jt({
42208
42208
  }
42209
42209
  },
42210
42210
  setup(t, e) {
42211
- const n = Ze(() => (t.config["close-on-press-escape"] = !1, ao(Eo.dialogDefaultConfig, t.config))), r = ri({
42211
+ const n = Je(() => (t.config["close-on-press-escape"] = !1, ao(Eo.dialogDefaultConfig, t.config))), r = ri({
42212
42212
  onOpen: () => e.emit("open"),
42213
42213
  onOpened: () => e.emit("opened"),
42214
42214
  onClose: () => e.emit("close"),
@@ -42243,7 +42243,7 @@ const xp = /* @__PURE__ */ Jt({
42243
42243
  }
42244
42244
  },
42245
42245
  setup(t, e) {
42246
- const n = Ze(() => ao({}, t.config));
42246
+ const n = Je(() => ao({}, t.config));
42247
42247
  return () => P(g9, Bn(n.value, {
42248
42248
  "onUpdate:modelValue": (r) => e.emit("change", r)
42249
42249
  }), {
@@ -42508,16 +42508,16 @@ const gue = { style: { display: "none", width: "100%" } }, vue = {
42508
42508
  });
42509
42509
  });
42510
42510
  }
42511
- ), (s, a) => (Re(), at("div", gue, [
42511
+ ), (s, a) => (Pe(), at("div", gue, [
42512
42512
  ut("div", vue, [
42513
42513
  ut("h2", null, [
42514
42514
  dn(Do(n.value) + " ", 1),
42515
42515
  ut("span", bue, Do(e.value), 1)
42516
42516
  ]),
42517
- (Re(!0), at(Cn, null, ko(r, (l) => (Re(), at("table", yue, [
42517
+ (Pe(!0), at(Cn, null, ko(r, (l) => (Pe(), at("table", yue, [
42518
42518
  ut("tbody", null, [
42519
- (Re(!0), at(Cn, null, ko(l, (u, c) => (Re(), at("tr", xue, [
42520
- (Re(!0), at(Cn, null, ko(u, (d) => (Re(), at("td", {
42519
+ (Pe(!0), at(Cn, null, ko(l, (u, c) => (Pe(), at("tr", xue, [
42520
+ (Pe(!0), at(Cn, null, ko(u, (d) => (Pe(), at("td", {
42521
42521
  colspan: d.col_span,
42522
42522
  style: Sg(`text-align:${d.align}`)
42523
42523
  }, Do(d.value ? d.value.toString() : d.value), 13, wue))), 256))
@@ -42543,7 +42543,7 @@ const gue = { style: { display: "none", width: "100%" } }, vue = {
42543
42543
  props: jue,
42544
42544
  emits: ["upload"],
42545
42545
  setup(t, { emit: e }) {
42546
- const n = t, r = e, o = Ft(), i = Ft(""), s = Ze(
42546
+ const n = t, r = e, o = Ft(), i = Ft(""), s = Je(
42547
42547
  () => `/spark-resource-service/get-resource-file?code=${i.value}`
42548
42548
  );
42549
42549
  Wt(
@@ -42559,7 +42559,7 @@ const gue = { style: { display: "none", width: "100%" } }, vue = {
42559
42559
  };
42560
42560
  return (u, c) => {
42561
42561
  const d = Xe("el-button"), h = Xe("el-image"), p = Xe("CircleClose");
42562
- return Re(), at("div", Oue, [
42562
+ return Pe(), at("div", Oue, [
42563
42563
  P(ge(b9), {
42564
42564
  ref_key: "componentUploader",
42565
42565
  ref: o,
@@ -42732,8 +42732,8 @@ const gue = { style: { display: "none", width: "100%" } }, vue = {
42732
42732
  }, p = (m) => {
42733
42733
  s.value["model-value"] = !1;
42734
42734
  };
42735
- return e({ handleClickOpen: u }), (m, g) => (Re(), at("div", Mue, [
42736
- t.type === "simple" ? (Re(), lr(ge(tc), {
42735
+ return e({ handleClickOpen: u }), (m, g) => (Pe(), at("div", Mue, [
42736
+ t.type === "simple" ? (Pe(), lr(ge(tc), {
42737
42737
  key: 0,
42738
42738
  onClick: u
42739
42739
  }, {
@@ -42741,7 +42741,7 @@ const gue = { style: { display: "none", width: "100%" } }, vue = {
42741
42741
  dn("选择")
42742
42742
  ]),
42743
42743
  _: 1
42744
- })) : (Re(), lr(ge(mu), {
42744
+ })) : (Pe(), lr(ge(mu), {
42745
42745
  key: 1,
42746
42746
  onClick: u,
42747
42747
  value: o.value,
@@ -42867,7 +42867,7 @@ const Mk = {
42867
42867
  emit: n,
42868
42868
  expose: r
42869
42869
  }) {
42870
- const o = k3(), i = ri({}), s = Ze(() => t.config.isFullRow ? "full-row" : "");
42870
+ const o = k3(), i = ri({}), s = Je(() => t.config.isFullRow ? "full-row" : "");
42871
42871
  Wt(() => t.config.model, (w) => l(w)), Wt(i, (w) => a(w)), Aa(() => {
42872
42872
  var w, E;
42873
42873
  (w = t.config) != null && w.model && Object.keys((E = t.config) == null ? void 0 : E.model).length && (a(t.config.model), l(t.config.model));
@@ -43036,7 +43036,7 @@ const Mk = {
43036
43036
  formModel: i,
43037
43037
  reset: p
43038
43038
  });
43039
- const v = Ze(() => ao(Mk, t.config)), b = () => {
43039
+ const v = Je(() => ao(Mk, t.config)), b = () => {
43040
43040
  const {
43041
43041
  items: w = [],
43042
43042
  buttons: E = [],
@@ -43386,7 +43386,7 @@ const Rue = /* @__PURE__ */ Jt({
43386
43386
  y[C[C.length - 1]] = E;
43387
43387
  } else
43388
43388
  b[w] = E;
43389
- }, v = Ze(() => ao(Eo.tableDefaultConfig, t.config));
43389
+ }, v = Je(() => ao(Eo.tableDefaultConfig, t.config));
43390
43390
  return () => u();
43391
43391
  }
43392
43392
  }), Rk = /* @__PURE__ */ ki(Rue, [["__scopeId", "data-v-4f92f684"]]), VI = /* @__PURE__ */ Jt({
@@ -43403,12 +43403,12 @@ const Rue = /* @__PURE__ */ Jt({
43403
43403
  setup(t, { emit: e }) {
43404
43404
  const n = e, r = t, o = Ft(), i = Ft();
43405
43405
  let s = Ft(!1), a = Ft(!1), l = Ft({});
43406
- const u = Ze(() => r.config.maxFormItem || 3);
43406
+ const u = Je(() => r.config.maxFormItem || 3);
43407
43407
  Wt(
43408
43408
  () => r.config.model,
43409
43409
  (x) => updateFormModel(x)
43410
43410
  );
43411
- const c = Ze(() => {
43411
+ const c = Je(() => {
43412
43412
  const { items: x = [], buttons: k, ...A } = r.config;
43413
43413
  return a.value = x.length > u.value, k && a.value && k[0].buttonText != "更多" && (k == null || k.unshift({ buttonText: "更多", event: "openDrawer" })), {
43414
43414
  ...A,
@@ -43416,7 +43416,7 @@ const Rue = /* @__PURE__ */ Jt({
43416
43416
  items: x.slice(0, u.value),
43417
43417
  buttons: k
43418
43418
  };
43419
- }), d = Ze(() => {
43419
+ }), d = Je(() => {
43420
43420
  const { items: x, buttons: k, ...A } = r.config;
43421
43421
  return {
43422
43422
  ...A,
@@ -43443,12 +43443,12 @@ const Rue = /* @__PURE__ */ Jt({
43443
43443
  j && typeof j == "string" && k.push(j);
43444
43444
  }
43445
43445
  }), k;
43446
- }, p = Ze(
43446
+ }, p = Je(
43447
43447
  () => {
43448
43448
  var x;
43449
43449
  return h((x = r.config.items) == null ? void 0 : x.slice(0, u.value)) ?? [];
43450
43450
  }
43451
- ), m = Ze(
43451
+ ), m = Je(
43452
43452
  () => {
43453
43453
  var x;
43454
43454
  return h((x = r.config.items) == null ? void 0 : x.slice(u.value)) ?? [];
@@ -43477,7 +43477,7 @@ const Rue = /* @__PURE__ */ Jt({
43477
43477
  };
43478
43478
  return (x, k) => {
43479
43479
  const A = Xe("el-drawer");
43480
- return Re(), at("div", null, [
43480
+ return Pe(), at("div", null, [
43481
43481
  P(ge(Df), {
43482
43482
  class: "search-default",
43483
43483
  ref_key: "searchDefaultRef",
@@ -43499,7 +43499,7 @@ const Rue = /* @__PURE__ */ Jt({
43499
43499
  ])
43500
43500
  }))
43501
43501
  ]), 1032, ["config"]),
43502
- ge(a) ? (Re(), lr(A, {
43502
+ ge(a) ? (Pe(), lr(A, {
43503
43503
  key: 0,
43504
43504
  modelValue: ge(s),
43505
43505
  "onUpdate:modelValue": k[0] || (k[0] = (j) => a9(s) ? s.value = j : s = j),
@@ -43530,7 +43530,7 @@ const Rue = /* @__PURE__ */ Jt({
43530
43530
  ]), 1032, ["config"])
43531
43531
  ]),
43532
43532
  _: 3
43533
- }, 8, ["modelValue"])) : Mr("", !0)
43533
+ }, 8, ["modelValue"])) : jr("", !0)
43534
43534
  ]);
43535
43535
  };
43536
43536
  }
@@ -43581,7 +43581,7 @@ const Iue = /* @__PURE__ */ Jt({
43581
43581
  emit: e,
43582
43582
  slots: n
43583
43583
  }) {
43584
- const r = ri([]), o = Ze(() => t.config.isFullRow ? "full-row" : ""), i = Ze(() => ao(Mk, t.config)), s = (g) => {
43584
+ const r = ri([]), o = Je(() => t.config.isFullRow ? "full-row" : ""), i = Je(() => ao(Mk, t.config)), s = (g) => {
43585
43585
  r.splice(0, r.length, ...g || []);
43586
43586
  }, a = () => {
43587
43587
  e("update:modelValue", r), e("change", r);
@@ -43847,7 +43847,7 @@ const Nue = /* @__PURE__ */ Jt({
43847
43847
  s.has(x) || (s.add(x), l9(() => {
43848
43848
  Jr.error(`字段「${x}」缺少 tableInfo 或 fk_table_display_field_name,无法只读展示`);
43849
43849
  }));
43850
- }, l = Ze(() => {
43850
+ }, l = Je(() => {
43851
43851
  const {
43852
43852
  inline: x = !1,
43853
43853
  columnNumber: k = 0
@@ -43855,7 +43855,7 @@ const Nue = /* @__PURE__ */ Jt({
43855
43855
  return A === !1 ? {} : {
43856
43856
  "--flm-gf-item-width": `calc((100% - 32px * ${A}) / ${A})`
43857
43857
  };
43858
- }), u = Ze(() => t.config.isFullRow ? "full-row" : "");
43858
+ }), u = Je(() => t.config.isFullRow ? "full-row" : "");
43859
43859
  Wt(() => t.config.model, (x) => d(x)), Wt(i, (x) => c(x)), Aa(() => {
43860
43860
  var x, k;
43861
43861
  (x = t.config) != null && x.model && Object.keys((k = t.config) == null ? void 0 : k.model).length && (c(t.config.model), d(t.config.model));
@@ -44101,7 +44101,7 @@ const Nue = /* @__PURE__ */ Jt({
44101
44101
  formModel: i,
44102
44102
  reset: v
44103
44103
  });
44104
- const C = Ze(() => ao(Mk, t.config)), y = () => {
44104
+ const C = Je(() => ao(Mk, t.config)), y = () => {
44105
44105
  const {
44106
44106
  items: x = [],
44107
44107
  buttons: k = [],
@@ -44162,7 +44162,7 @@ const Nue = /* @__PURE__ */ Jt({
44162
44162
  setup(t, {
44163
44163
  emit: e
44164
44164
  }) {
44165
- const n = {}, r = Ze(() => t.config.groups || []), o = Ze(() => t.config.buttons || []);
44165
+ const n = {}, r = Je(() => t.config.groups || []), o = Je(() => t.config.buttons || []);
44166
44166
  function i(x) {
44167
44167
  return Array.isArray(x) ? x.map((k) => {
44168
44168
  if (!k || typeof k != "object") return k;
@@ -44256,7 +44256,7 @@ const Nue = /* @__PURE__ */ Jt({
44256
44256
  }, {
44257
44257
  immediate: !0
44258
44258
  });
44259
- const h = Ze(() => {
44259
+ const h = Je(() => {
44260
44260
  const x = t.config.collapseConfig || {};
44261
44261
  return x.modelValue != null ? x : {
44262
44262
  ...x,
@@ -44430,15 +44430,15 @@ const Nue = /* @__PURE__ */ Jt({
44430
44430
  Aa(() => {
44431
44431
  r.type == "search" && (o.value = "search-toobar");
44432
44432
  });
44433
- const i = r.config.maxButton, s = Ze(() => r.config.buttons.slice(0, i)), a = Ze(() => r.config.buttons.slice(i)), l = (u) => {
44433
+ const i = r.config.maxButton, s = Je(() => r.config.buttons.slice(0, i)), a = Je(() => r.config.buttons.slice(i)), l = (u) => {
44434
44434
  n("toolbarClick", u);
44435
44435
  };
44436
44436
  return (u, c) => {
44437
44437
  const d = Xe("el-button"), h = Xe("el-dropdown-item"), p = Xe("el-dropdown-menu"), m = Xe("el-dropdown");
44438
- return Re(), at("div", {
44438
+ return Pe(), at("div", {
44439
44439
  class: Es(o.value)
44440
44440
  }, [
44441
- (Re(!0), at(Cn, null, ko(s.value, (g) => (Re(), lr(d, Bn({ ...u.config.publicConfig, ...g }, {
44441
+ (Pe(!0), at(Cn, null, ko(s.value, (g) => (Pe(), lr(d, Bn({ ...u.config.publicConfig, ...g }, {
44442
44442
  key: g.event,
44443
44443
  onClick: (v) => l(g.event)
44444
44444
  }), {
@@ -44447,7 +44447,7 @@ const Nue = /* @__PURE__ */ Jt({
44447
44447
  ]),
44448
44448
  _: 2
44449
44449
  }, 1040, ["onClick"]))), 128)),
44450
- r.config.buttons.length > ge(i) ? (Re(), lr(m, {
44450
+ r.config.buttons.length > ge(i) ? (Pe(), lr(m, {
44451
44451
  key: 0,
44452
44452
  onCommand: l,
44453
44453
  trigger: "click",
@@ -44456,7 +44456,7 @@ const Nue = /* @__PURE__ */ Jt({
44456
44456
  dropdown: ne(() => [
44457
44457
  P(p, null, {
44458
44458
  default: ne(() => [
44459
- (Re(!0), at(Cn, null, ko(a.value, (g) => (Re(), lr(h, Bn({ ...u.config.publicConfig, ...g }, {
44459
+ (Pe(!0), at(Cn, null, ko(a.value, (g) => (Pe(), lr(h, Bn({ ...u.config.publicConfig, ...g }, {
44460
44460
  key: g.event,
44461
44461
  command: { ...g }
44462
44462
  }), {
@@ -44478,7 +44478,7 @@ const Nue = /* @__PURE__ */ Jt({
44478
44478
  }, 16)
44479
44479
  ]),
44480
44480
  _: 1
44481
- })) : Mr("", !0)
44481
+ })) : jr("", !0)
44482
44482
  ], 2);
44483
44483
  };
44484
44484
  }
@@ -44514,7 +44514,7 @@ const Nue = /* @__PURE__ */ Jt({
44514
44514
  },
44515
44515
  emits: ["defaultEvent", "customEvent", "settingLoaded"],
44516
44516
  setup(t, { expose: e, emit: n }) {
44517
- const r = t, o = n, i = Ft(), s = Ze(
44517
+ const r = t, o = n, i = Ft(), s = Je(
44518
44518
  () => {
44519
44519
  var L;
44520
44520
  return "Web" + ((L = r.tableName) == null ? void 0 : L.replace(/_/g, "").replace(/.+\./g, ""));
@@ -44855,7 +44855,7 @@ const Nue = /* @__PURE__ */ Jt({
44855
44855
  u.value = L;
44856
44856
  }
44857
44857
  });
44858
- const S = Ze(() => {
44858
+ const S = Je(() => {
44859
44859
  const L = u.value.table.columns || [], B = [], q = (z) => {
44860
44860
  z.forEach(({ prop: K, isSlot: ce, columns: Q }) => {
44861
44861
  ce && K && K !== "tableAction" && B.push(K), Q != null && Q.length && q(Q);
@@ -44870,21 +44870,21 @@ const Nue = /* @__PURE__ */ Jt({
44870
44870
  z && typeof z == "string" && B.push(z);
44871
44871
  }
44872
44872
  }), B;
44873
- }, R = Ze(() => O(u.value.search.items)), M = Ze(
44873
+ }, R = Je(() => O(u.value.search.items)), M = Je(
44874
44874
  () => O(u.value.readForm.items)
44875
- ), $ = Ze(
44875
+ ), $ = Je(
44876
44876
  () => O(u.value.addForm.items)
44877
- ), F = Ze(
44877
+ ), F = Je(
44878
44878
  () => O(u.value.editForm.items)
44879
44879
  );
44880
44880
  return (L, B) => {
44881
44881
  const q = f9("loading");
44882
- return ec((Re(), at("div", {
44882
+ return ec((Pe(), at("div", {
44883
44883
  class: "report-page",
44884
44884
  ref_key: "reportPageRef",
44885
44885
  ref: i
44886
44886
  }, [
44887
- ge(l) ? (Re(), at(Cn, { key: 0 }, [
44887
+ ge(l) ? (Pe(), at(Cn, { key: 0 }, [
44888
44888
  ut("div", _ue, [
44889
44889
  P(ge(VI), {
44890
44890
  class: "page-search",
@@ -44908,7 +44908,7 @@ const Nue = /* @__PURE__ */ Jt({
44908
44908
  onToolbarClick: y
44909
44909
  }, null, 8, ["config"])
44910
44910
  ]),
44911
- ec((Re(), lr(ge(Rk), {
44911
+ ec((Pe(), lr(ge(Rk), {
44912
44912
  class: "page-table",
44913
44913
  key: h.value,
44914
44914
  config: ge(u).table,
@@ -44944,7 +44944,7 @@ const Nue = /* @__PURE__ */ Jt({
44944
44944
  onSizeChange: A.sizeChange,
44945
44945
  onCurrentChange: A.currentChange
44946
44946
  }, null, 8, ["config", "onSizeChange", "onCurrentChange"])
44947
- ], 64)) : Mr("", !0),
44947
+ ], 64)) : jr("", !0),
44948
44948
  P(ge(bh), {
44949
44949
  config: ge(u).readDialog,
44950
44950
  onClose: j.closeReadDialog
@@ -45047,7 +45047,7 @@ const Nue = /* @__PURE__ */ Jt({
45047
45047
  },
45048
45048
  emits: ["customEvent"],
45049
45049
  setup(t, { expose: e, emit: n }) {
45050
- const r = t, o = n, i = Ft(), s = Ze(() => r.tableName.replace(/_/g, ""));
45050
+ const r = t, o = n, i = Ft(), s = Je(() => r.tableName.replace(/_/g, ""));
45051
45051
  let a = Ft(!1), l = Ft({
45052
45052
  table: {},
45053
45053
  pagination: {}
@@ -45127,7 +45127,7 @@ const Nue = /* @__PURE__ */ Jt({
45127
45127
  }
45128
45128
  };
45129
45129
  e({ searchSubmit: m, pageRefresh: p });
45130
- const E = Ze(
45130
+ const E = Je(
45131
45131
  () => {
45132
45132
  const C = l.value.table.columns || [], y = [], x = (k) => {
45133
45133
  k.forEach(({ prop: A, isSlot: j, columns: S }) => {
@@ -45137,12 +45137,12 @@ const Nue = /* @__PURE__ */ Jt({
45137
45137
  return x(C), y;
45138
45138
  }
45139
45139
  );
45140
- return (C, y) => (Re(), at("div", {
45140
+ return (C, y) => (Pe(), at("div", {
45141
45141
  class: "export-page",
45142
45142
  ref_key: "exportPageRef",
45143
45143
  ref: i
45144
45144
  }, [
45145
- ge(a) ? (Re(), at(Cn, { key: 0 }, [
45145
+ ge(a) ? (Pe(), at(Cn, { key: 0 }, [
45146
45146
  ut("div", Uue, [
45147
45147
  ut("div", Wue, [
45148
45148
  fa(C.$slots, "default", {}, void 0, !0)
@@ -45174,7 +45174,7 @@ const Nue = /* @__PURE__ */ Jt({
45174
45174
  onSizeChange: b.sizeChange,
45175
45175
  onCurrentChange: b.currentChange
45176
45176
  }, null, 8, ["config", "onSizeChange", "onCurrentChange"])
45177
- ], 64)) : Mr("", !0)
45177
+ ], 64)) : jr("", !0)
45178
45178
  ], 512));
45179
45179
  }
45180
45180
  }), que = /* @__PURE__ */ ki(Hue, [["__scopeId", "data-v-034c1907"]]), Gue = /* @__PURE__ */ Jt({
@@ -45190,7 +45190,7 @@ const Nue = /* @__PURE__ */ Jt({
45190
45190
  }
45191
45191
  },
45192
45192
  setup(t, e) {
45193
- const n = Ze(() => ao(Eo.checkboxGroupDefaultConfig, t.config)), r = Ft(!1), o = Ft(!1), i = (l) => {
45193
+ const n = Je(() => ao(Eo.checkboxGroupDefaultConfig, t.config)), r = Ft(!1), o = Ft(!1), i = (l) => {
45194
45194
  var u;
45195
45195
  r.value = l, o.value = !1, e.emit("change", l ? (u = n.value.items) == null ? void 0 : u.map(({
45196
45196
  label: c
@@ -48089,7 +48089,7 @@ function Rce() {
48089
48089
  a4d3: (
48090
48090
  /***/
48091
48091
  function(o, i, s) {
48092
- var a = s("23e7"), l = s("da84"), u = s("d066"), c = s("c430"), d = s("83ab"), h = s("4930"), p = s("fdbf"), m = s("d039"), g = s("5135"), v = s("e8b5"), b = s("861d"), w = s("825a"), E = s("7b0b"), C = s("fc6a"), y = s("c04e"), x = s("5c6c"), k = s("7c73"), A = s("df75"), j = s("241c"), S = s("057f"), O = s("7418"), R = s("06cf"), M = s("9bf2"), $ = s("d1e7"), F = s("9112"), L = s("6eeb"), B = s("5692"), q = s("f772"), z = s("d012"), K = s("90e3"), ce = s("b622"), Q = s("e538"), te = s("746f"), ee = s("d44e"), T = s("69f3"), U = s("b727").forEach, Oe = q("hidden"), ye = "Symbol", X = "prototype", be = ce("toPrimitive"), re = T.set, Ae = T.getterFor(ye), he = Object[X], Le = l.Symbol, Se = u("JSON", "stringify"), le = R.f, rt = M.f, St = S.f, $e = $.f, Ct = B("symbols"), Je = B("op-symbols"), st = B("string-to-symbol-registry"), $t = B("symbol-to-string-registry"), nt = B("wks"), Vt = l.QObject, V = !Vt || !Vt[X] || !Vt[X].findChild, H = d && m(function() {
48092
+ var a = s("23e7"), l = s("da84"), u = s("d066"), c = s("c430"), d = s("83ab"), h = s("4930"), p = s("fdbf"), m = s("d039"), g = s("5135"), v = s("e8b5"), b = s("861d"), w = s("825a"), E = s("7b0b"), C = s("fc6a"), y = s("c04e"), x = s("5c6c"), k = s("7c73"), A = s("df75"), j = s("241c"), S = s("057f"), O = s("7418"), R = s("06cf"), M = s("9bf2"), $ = s("d1e7"), F = s("9112"), L = s("6eeb"), B = s("5692"), q = s("f772"), z = s("d012"), K = s("90e3"), ce = s("b622"), Q = s("e538"), te = s("746f"), ee = s("d44e"), T = s("69f3"), U = s("b727").forEach, Oe = q("hidden"), ye = "Symbol", X = "prototype", be = ce("toPrimitive"), re = T.set, Ae = T.getterFor(ye), he = Object[X], Le = l.Symbol, Se = u("JSON", "stringify"), le = R.f, rt = M.f, St = S.f, $e = $.f, Ct = B("symbols"), Qe = B("op-symbols"), st = B("string-to-symbol-registry"), $t = B("symbol-to-string-registry"), nt = B("wks"), Vt = l.QObject, V = !Vt || !Vt[X] || !Vt[X].findChild, H = d && m(function() {
48093
48093
  return k(rt({}, "a", {
48094
48094
  get: function() {
48095
48095
  return rt(this, "a", { value: 7 }).a;
@@ -48110,7 +48110,7 @@ function Rce() {
48110
48110
  } : function(De) {
48111
48111
  return Object(De) instanceof Le;
48112
48112
  }, G = function(qe, pt, Rt) {
48113
- qe === he && G(Je, pt, Rt), w(qe);
48113
+ qe === he && G(Qe, pt, Rt), w(qe);
48114
48114
  var ct = y(pt, !0);
48115
48115
  return w(Rt), g(Ct, ct) ? (Rt.enumerable ? (g(qe, Oe) && qe[Oe][ct] && (qe[Oe][ct] = !1), Rt = k(Rt, { enumerable: x(0, !1) })) : (g(qe, Oe) || rt(qe, Oe, x(1, {})), qe[Oe][ct] = !0), H(qe, ct, Rt)) : rt(qe, ct, Rt);
48116
48116
  }, oe = function(qe, pt) {
@@ -48123,10 +48123,10 @@ function Rce() {
48123
48123
  return pt === void 0 ? k(qe) : oe(k(qe), pt);
48124
48124
  }, ie = function(qe) {
48125
48125
  var pt = y(qe, !0), Rt = $e.call(this, pt);
48126
- return this === he && g(Ct, pt) && !g(Je, pt) ? !1 : Rt || !g(this, pt) || !g(Ct, pt) || g(this, Oe) && this[Oe][pt] ? Rt : !0;
48126
+ return this === he && g(Ct, pt) && !g(Qe, pt) ? !1 : Rt || !g(this, pt) || !g(Ct, pt) || g(this, Oe) && this[Oe][pt] ? Rt : !0;
48127
48127
  }, pe = function(qe, pt) {
48128
48128
  var Rt = C(qe), ct = y(pt, !0);
48129
- if (!(Rt === he && g(Ct, ct) && !g(Je, ct))) {
48129
+ if (!(Rt === he && g(Ct, ct) && !g(Qe, ct))) {
48130
48130
  var nn = le(Rt, ct);
48131
48131
  return nn && g(Ct, ct) && !(g(Rt, Oe) && Rt[Oe][ct]) && (nn.enumerable = !0), nn;
48132
48132
  }
@@ -48136,7 +48136,7 @@ function Rce() {
48136
48136
  !g(Ct, ct) && !g(z, ct) && Rt.push(ct);
48137
48137
  }), Rt;
48138
48138
  }, Ke = function(qe) {
48139
- var pt = qe === he, Rt = St(pt ? Je : C(qe)), ct = [];
48139
+ var pt = qe === he, Rt = St(pt ? Qe : C(qe)), ct = [];
48140
48140
  return U(Rt, function(nn) {
48141
48141
  g(Ct, nn) && (!pt || g(he, nn)) && ct.push(Ct[nn]);
48142
48142
  }), ct;
@@ -48144,7 +48144,7 @@ function Rce() {
48144
48144
  if (h || (Le = function() {
48145
48145
  if (this instanceof Le) throw TypeError("Symbol is not a constructor");
48146
48146
  var qe = !arguments.length || arguments[0] === void 0 ? void 0 : String(arguments[0]), pt = K(qe), Rt = function(ct) {
48147
- this === he && Rt.call(Je, ct), g(this, Oe) && g(this[Oe], pt) && (this[Oe][pt] = !1), H(this, pt, x(1, ct));
48147
+ this === he && Rt.call(Qe, ct), g(this, Oe) && g(this[Oe], pt) && (this[Oe][pt] = !1), H(this, pt, x(1, ct));
48148
48148
  };
48149
48149
  return d && V && H(he, pt, { configurable: !0, set: Rt }), Y(pt, qe);
48150
48150
  }, L(Le[X], "toString", function() {
@@ -49296,7 +49296,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
49296
49296
  realList: ve
49297
49297
  });
49298
49298
  }
49299
- function Je(_, G) {
49299
+ function Qe(_, G) {
49300
49300
  var oe = this;
49301
49301
  Object(le.nextTick)(function() {
49302
49302
  return oe.$emit(_.toLowerCase(), G);
@@ -49312,7 +49312,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
49312
49312
  function $t(_) {
49313
49313
  var G = this, oe = st.call(this, _);
49314
49314
  return function(ve, ie) {
49315
- oe.call(G, ve, ie), Je.call(G, _, ve);
49315
+ oe.call(G, ve, ie), Qe.call(G, _, ve);
49316
49316
  };
49317
49317
  }
49318
49318
  var nt = null, Vt = {
@@ -49399,7 +49399,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
49399
49399
  return $t.call(G, Ye);
49400
49400
  },
49401
49401
  emit: function(Ye) {
49402
- return Je.bind(G, Ye);
49402
+ return Qe.bind(G, Ye);
49403
49403
  },
49404
49404
  manage: function(Ye) {
49405
49405
  return st.call(G, Ye);
@@ -49645,10 +49645,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
49645
49645
  }($0)), $0.exports;
49646
49646
  }
49647
49647
  var Dce = Rce();
49648
- const Ql = /* @__PURE__ */ Ng(Dce), d1 = (t) => (iy("data-v-17a8f9b1"), t = t(), sy(), t), Ice = { class: "widget-panel" }, Nce = /* @__PURE__ */ d1(() => /* @__PURE__ */ ut("div", { class: "panel-title" }, "控件", -1)), Lce = { class: "widget-groups" }, $ce = { class: "widget-group" }, Fce = /* @__PURE__ */ d1(() => /* @__PURE__ */ ut("span", null, "容器", -1)), Bce = { class: "widget-group-body" }, zce = { class: "widget-palette-item" }, _ce = {
49648
+ const Ql = /* @__PURE__ */ Ng(Dce), d1 = (t) => (iy("data-v-a660ac19"), t = t(), sy(), t), Ice = { class: "widget-panel" }, Nce = /* @__PURE__ */ d1(() => /* @__PURE__ */ ut("div", { class: "panel-title" }, "控件", -1)), Lce = { class: "widget-groups" }, $ce = { class: "widget-group" }, Fce = /* @__PURE__ */ d1(() => /* @__PURE__ */ ut("span", null, "容器", -1)), Bce = { class: "widget-group-body" }, zce = { class: "widget-palette-item" }, _ce = {
49649
49649
  key: 0,
49650
49650
  class: "widget-group"
49651
- }, Vce = /* @__PURE__ */ d1(() => /* @__PURE__ */ ut("span", null, "复合控件", -1)), Uce = { class: "widget-group-body" }, Wce = { class: "widget-palette-item" }, Hce = ["onClick", "onKeydown"], qce = { class: "widget-group-body" }, Gce = { class: "widget-palette-item" }, Kce = { class: "widget-group" }, Yce = /* @__PURE__ */ d1(() => /* @__PURE__ */ ut("span", null, "基础控件", -1)), Xce = { class: "widget-group-body" }, Jce = { class: "widget-palette-item" }, Qce = Jt({ name: "WidgetPanel" }), Zce = /* @__PURE__ */ Jt({
49651
+ }, Vce = /* @__PURE__ */ d1(() => /* @__PURE__ */ ut("span", null, "复合控件", -1)), Uce = { class: "widget-group-body" }, Wce = { class: "widget-palette-item" }, Hce = ["onClick", "onKeydown"], qce = { class: "widget-group-body" }, Gce = { class: "widget-palette-item" }, Kce = {
49652
+ key: 1,
49653
+ class: "widget-group"
49654
+ }, Yce = /* @__PURE__ */ d1(() => /* @__PURE__ */ ut("span", null, "基础控件", -1)), Xce = { class: "widget-group-body" }, Jce = { class: "widget-palette-item" }, Qce = Jt({ name: "WidgetPanel" }), Zce = /* @__PURE__ */ Jt({
49652
49655
  ...Qce,
49653
49656
  props: {
49654
49657
  containerWidgetList: {},
@@ -49683,7 +49686,7 @@ const Ql = /* @__PURE__ */ Ng(Dce), d1 = (t) => (iy("data-v-17a8f9b1"), t = t(),
49683
49686
  const s = Ft(!1), a = Ft(!1), l = Ft(!1);
49684
49687
  return (u, c) => {
49685
49688
  const d = Xe("el-icon");
49686
- return Re(), at("div", Ice, [
49689
+ return Pe(), at("div", Ice, [
49687
49690
  Nce,
49688
49691
  ut("div", Lce, [
49689
49692
  ut("div", $ce, [
@@ -49726,7 +49729,7 @@ const Ql = /* @__PURE__ */ Ng(Dce), d1 = (t) => (iy("data-v-17a8f9b1"), t = t(),
49726
49729
  [_d, !l.value]
49727
49730
  ])
49728
49731
  ]),
49729
- u.complexWidgetList.length ? (Re(), at("div", _ce, [
49732
+ u.complexWidgetList.length ? (Pe(), at("div", _ce, [
49730
49733
  ut("div", {
49731
49734
  class: "widget-group-title",
49732
49735
  role: "button",
@@ -49765,8 +49768,8 @@ const Ql = /* @__PURE__ */ Ng(Dce), d1 = (t) => (iy("data-v-17a8f9b1"), t = t(),
49765
49768
  ], 512), [
49766
49769
  [_d, !a.value]
49767
49770
  ])
49768
- ])) : Mr("", !0),
49769
- (Re(!0), at(Cn, null, ko(u.componentGroups, (h, p) => (Re(), at("div", {
49771
+ ])) : jr("", !0),
49772
+ (Pe(!0), at(Cn, null, ko(u.componentGroups, (h, p) => (Pe(), at("div", {
49770
49773
  key: `cg_${p}_${h.title}`,
49771
49774
  class: "widget-group"
49772
49775
  }, [
@@ -49809,7 +49812,7 @@ const Ql = /* @__PURE__ */ Ng(Dce), d1 = (t) => (iy("data-v-17a8f9b1"), t = t(),
49809
49812
  [_d, !o.value[p]]
49810
49813
  ])
49811
49814
  ]))), 128)),
49812
- ut("div", Kce, [
49815
+ u.basicWidgetList.length ? (Pe(), at("div", Kce, [
49813
49816
  ut("div", {
49814
49817
  class: "widget-group-title",
49815
49818
  role: "button",
@@ -49848,12 +49851,12 @@ const Ql = /* @__PURE__ */ Ng(Dce), d1 = (t) => (iy("data-v-17a8f9b1"), t = t(),
49848
49851
  ], 512), [
49849
49852
  [_d, !s.value]
49850
49853
  ])
49851
- ])
49854
+ ])) : jr("", !0)
49852
49855
  ])
49853
49856
  ]);
49854
49857
  };
49855
49858
  }
49856
- }), efe = /* @__PURE__ */ ki(Zce, [["__scopeId", "data-v-17a8f9b1"]]), So = {
49859
+ }), efe = /* @__PURE__ */ ki(Zce, [["__scopeId", "data-v-a660ac19"]]), So = {
49857
49860
  init: tfe,
49858
49861
  document: null,
49859
49862
  DocumentFragment: null,
@@ -49889,7 +49892,7 @@ const nfe = (t) => t === Hc || r5(t), rfe = (t) => h1(t) && t.nodeType === 11, h
49889
49892
  const e = od(t) || Hc;
49890
49893
  return /object|function/.test(typeof Element) ? t instanceof Element || t instanceof e.Element : t.nodeType === 1 && typeof t.nodeName == "string";
49891
49894
  }, lfe = (t) => h1(t) && !!t.constructor && /function Object\b/.test(t.constructor.toString()), ufe = (t) => h1(t) && typeof t.length < "u" && s5(t.splice);
49892
- var Qe = {
49895
+ var Ze = {
49893
49896
  window: nfe,
49894
49897
  docFrag: rfe,
49895
49898
  object: h1,
@@ -49915,7 +49918,7 @@ const Qo = {
49915
49918
  };
49916
49919
  function cfe(t) {
49917
49920
  const e = So.Element, n = t.navigator || {};
49918
- Qo.supportsTouch = "ontouchstart" in t || Qe.func(t.DocumentTouch) && So.document instanceof t.DocumentTouch, Qo.supportsPointerEvent = n.pointerEnabled !== !1 && !!So.PointerEvent, Qo.isIOS = /iP(hone|od|ad)/.test(n.platform), Qo.isIOS7 = /iP(hone|od|ad)/.test(n.platform) && /OS 7[^\d]/.test(n.appVersion), Qo.isIe9 = /MSIE 9/.test(n.userAgent), Qo.isOperaMobile = n.appName === "Opera" && Qo.supportsTouch && /Presto/.test(n.userAgent), Qo.prefixedMatchesSelector = "matches" in e.prototype ? "matches" : "webkitMatchesSelector" in e.prototype ? "webkitMatchesSelector" : "mozMatchesSelector" in e.prototype ? "mozMatchesSelector" : "oMatchesSelector" in e.prototype ? "oMatchesSelector" : "msMatchesSelector", Qo.pEventTypes = Qo.supportsPointerEvent ? So.PointerEvent === t.MSPointerEvent ? {
49921
+ Qo.supportsTouch = "ontouchstart" in t || Ze.func(t.DocumentTouch) && So.document instanceof t.DocumentTouch, Qo.supportsPointerEvent = n.pointerEnabled !== !1 && !!So.PointerEvent, Qo.isIOS = /iP(hone|od|ad)/.test(n.platform), Qo.isIOS7 = /iP(hone|od|ad)/.test(n.platform) && /OS 7[^\d]/.test(n.appVersion), Qo.isIe9 = /MSIE 9/.test(n.userAgent), Qo.isOperaMobile = n.appName === "Opera" && Qo.supportsTouch && /Presto/.test(n.userAgent), Qo.prefixedMatchesSelector = "matches" in e.prototype ? "matches" : "webkitMatchesSelector" in e.prototype ? "webkitMatchesSelector" : "mozMatchesSelector" in e.prototype ? "mozMatchesSelector" : "oMatchesSelector" in e.prototype ? "oMatchesSelector" : "msMatchesSelector", Qo.pEventTypes = Qo.supportsPointerEvent ? So.PointerEvent === t.MSPointerEvent ? {
49919
49922
  up: "MSPointerUp",
49920
49923
  down: "MSPointerDown",
49921
49924
  over: "mouseover",
@@ -49945,7 +49948,7 @@ function zh(t) {
49945
49948
  const e = {};
49946
49949
  for (const n in t) {
49947
49950
  const r = t[n];
49948
- Qe.plainObject(r) ? e[n] = zh(r) : Qe.array(r) ? e[n] = l5(r) : e[n] = r;
49951
+ Ze.plainObject(r) ? e[n] = zh(r) : Ze.array(r) ? e[n] = l5(r) : e[n] = r;
49949
49952
  }
49950
49953
  return e;
49951
49954
  }
@@ -49975,14 +49978,14 @@ var zd = {
49975
49978
  };
49976
49979
  function Nf(t, e) {
49977
49980
  let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : (o) => !0, r = arguments.length > 3 ? arguments[3] : void 0;
49978
- if (r = r || {}, Qe.string(t) && t.search(" ") !== -1 && (t = X4(t)), Qe.array(t))
49981
+ if (r = r || {}, Ze.string(t) && t.search(" ") !== -1 && (t = X4(t)), Ze.array(t))
49979
49982
  return t.forEach((o) => Nf(o, e, n, r)), r;
49980
- if (Qe.object(t) && (e = t, t = ""), Qe.func(e) && n(t))
49983
+ if (Ze.object(t) && (e = t, t = ""), Ze.func(e) && n(t))
49981
49984
  r[t] = r[t] || [], r[t].push(e);
49982
- else if (Qe.array(e))
49985
+ else if (Ze.array(e))
49983
49986
  for (const o of e)
49984
49987
  Nf(t, o, n, r);
49985
- else if (Qe.object(e))
49988
+ else if (Ze.object(e))
49986
49989
  for (const o in e) {
49987
49990
  const i = X4(o).map((s) => `${t}${s}`);
49988
49991
  Nf(i, e[o], n, r);
@@ -50039,7 +50042,7 @@ function Lf(t, e) {
50039
50042
  return !1;
50040
50043
  }
50041
50044
  function c5(t, e) {
50042
- for (; Qe.element(t); ) {
50045
+ for (; Ze.element(t); ) {
50043
50046
  if (id(t, e))
50044
50047
  return t;
50045
50048
  t = qc(t);
@@ -50048,8 +50051,8 @@ function c5(t, e) {
50048
50051
  }
50049
50052
  function qc(t) {
50050
50053
  let e = t.parentNode;
50051
- if (Qe.docFrag(e)) {
50052
- for (; (e = e.host) && Qe.docFrag(e); )
50054
+ if (Ze.docFrag(e)) {
50055
+ for (; (e = e.host) && Ze.docFrag(e); )
50053
50056
  ;
50054
50057
  return e;
50055
50058
  }
@@ -50059,7 +50062,7 @@ function id(t, e) {
50059
50062
  return Hc !== o5 && (e = e.replace(/\/deep\//g, " ")), t[Qo.prefixedMatchesSelector](e);
50060
50063
  }
50061
50064
  function Q2(t, e, n) {
50062
- for (; Qe.element(t); ) {
50065
+ for (; Ze.element(t); ) {
50063
50066
  if (id(t, e))
50064
50067
  return !0;
50065
50068
  if (t = qc(t), t === n)
@@ -50096,7 +50099,7 @@ function Fk(t) {
50096
50099
  return e;
50097
50100
  }
50098
50101
  function Z4(t) {
50099
- return Qe.string(t) ? (So.document.querySelector(t), !0) : !1;
50102
+ return Ze.string(t) ? (So.document.querySelector(t), !0) : !1;
50100
50103
  }
50101
50104
  const hfe = ["webkit", "moz"];
50102
50105
  function f5(t, e) {
@@ -50143,7 +50146,7 @@ function bfe(t, e) {
50143
50146
  return e = e || {}, Qo.isOperaMobile && d5(t) ? ey("screen", t, e) : ey("client", t, e), e;
50144
50147
  }
50145
50148
  function ty(t) {
50146
- return Qe.number(t.pointerId) ? t.pointerId : t.identifier;
50149
+ return Ze.number(t.pointerId) ? t.pointerId : t.identifier;
50147
50150
  }
50148
50151
  function yfe(t, e, n) {
50149
50152
  const r = e.length > 1 ? h5(e) : e[0];
@@ -50151,7 +50154,7 @@ function yfe(t, e, n) {
50151
50154
  }
50152
50155
  function Bk(t) {
50153
50156
  const e = [];
50154
- return Qe.array(t) ? (e[0] = t[0], e[1] = t[1]) : t.type === "touchend" ? t.touches.length === 1 ? (e[0] = t.touches[0], e[1] = t.changedTouches[0]) : t.touches.length === 0 && (e[0] = t.changedTouches[0], e[1] = t.changedTouches[1]) : (e[0] = t.touches[0], e[1] = t.touches[1]), e;
50157
+ return Ze.array(t) ? (e[0] = t[0], e[1] = t[1]) : t.type === "touchend" ? t.touches.length === 1 ? (e[0] = t.touches[0], e[1] = t.changedTouches[0]) : t.touches.length === 0 && (e[0] = t.changedTouches[0], e[1] = t.changedTouches[1]) : (e[0] = t.touches[0], e[1] = t.touches[1]), e;
50155
50158
  }
50156
50159
  function h5(t) {
50157
50160
  const e = {
@@ -50193,14 +50196,14 @@ function Sfe(t, e) {
50193
50196
  return 180 * Math.atan2(s, i) / Math.PI;
50194
50197
  }
50195
50198
  function Cfe(t) {
50196
- return Qe.string(t.pointerType) ? t.pointerType : Qe.number(t.pointerType) ? [void 0, void 0, "touch", "pen", "mouse"][t.pointerType] : (
50199
+ return Ze.string(t.pointerType) ? t.pointerType : Ze.number(t.pointerType) ? [void 0, void 0, "touch", "pen", "mouse"][t.pointerType] : (
50197
50200
  // if the PointerEvent API isn't available, then the "pointer" must
50198
50201
  // be either a MouseEvent, TouchEvent, or Touch object
50199
50202
  /touch/.test(t.type || "") || t instanceof So.Touch ? "touch" : "mouse"
50200
50203
  );
50201
50204
  }
50202
50205
  function p5(t) {
50203
- const e = Qe.func(t.composedPath) ? t.composedPath() : t.path;
50206
+ const e = Ze.func(t.composedPath) ? t.composedPath() : t.path;
50204
50207
  return [Q4(e ? e[0] : t.target), Q4(t.currentTarget)];
50205
50208
  }
50206
50209
  function Kp() {
@@ -50325,7 +50328,7 @@ function kfe(t) {
50325
50328
  function c(h, p) {
50326
50329
  const m = Yp(p), g = new jfe(h), v = r[h.type], [b] = p5(h);
50327
50330
  let w = b;
50328
- for (; Qe.element(w); ) {
50331
+ for (; Ze.element(w); ) {
50329
50332
  for (let E = 0; E < v.length; E++) {
50330
50333
  const C = v[E], {
50331
50334
  selector: y,
@@ -50363,7 +50366,7 @@ class jfe {
50363
50366
  }
50364
50367
  }
50365
50368
  function Yp(t) {
50366
- return Qe.object(t) ? {
50369
+ return Ze.object(t) ? {
50367
50370
  capture: !!t.capture,
50368
50371
  passive: !!t.passive
50369
50372
  } : {
@@ -50379,7 +50382,7 @@ var Ofe = {
50379
50382
  install: kfe
50380
50383
  };
50381
50384
  const Efe = function(t) {
50382
- return /^(always|never|auto)$/.test(t) ? (this.options.preventDefault = t, this) : Qe.bool(t) ? (this.options.preventDefault = t ? "always" : "never", this) : this.options.preventDefault;
50385
+ return /^(always|never|auto)$/.test(t) ? (this.options.preventDefault = t, this) : Ze.bool(t) ? (this.options.preventDefault = t ? "always" : "never", this) : this.options.preventDefault;
50383
50386
  };
50384
50387
  function Afe(t, e, n) {
50385
50388
  const r = t.options.preventDefault;
@@ -50393,7 +50396,7 @@ function Afe(t, e, n) {
50393
50396
  if (!(i && i.events) || i.events.passive !== !1)
50394
50397
  return;
50395
50398
  }
50396
- /^(mouse|pointer|touch)*(down|start)/i.test(n.type) || Qe.element(n.target) && id(n.target, "input,select,textarea,[contenteditable=true],[contenteditable=true] *") || n.preventDefault();
50399
+ /^(mouse|pointer|touch)*(down|start)/i.test(n.type) || Ze.element(n.target) && id(n.target, "input,select,textarea,[contenteditable=true],[contenteditable=true] *") || n.preventDefault();
50397
50400
  }
50398
50401
  }
50399
50402
  function Tfe(t) {
@@ -50439,7 +50442,7 @@ function g5(t, e, n) {
50439
50442
  }
50440
50443
  function xg(t, e, n, r) {
50441
50444
  let o = t;
50442
- return Qe.string(o) ? o = g5(o, e, n) : Qe.func(o) && (o = o(...r)), Qe.element(o) && (o = Fk(o)), o;
50445
+ return Ze.string(o) ? o = g5(o, e, n) : Ze.func(o) && (o = o(...r)), Ze.element(o) && (o = Fk(o)), o;
50443
50446
  }
50444
50447
  function g1(t) {
50445
50448
  return t && {
@@ -51222,18 +51225,18 @@ class zfe {
51222
51225
  this.target = void 0, this.options = void 0, this._actions = void 0, this.events = new u5(), this._context = void 0, this._win = void 0, this._doc = void 0, this._scopeEvents = void 0, this._actions = n.actions, this.target = e, this._context = n.context || r, this._win = od(Z4(e) ? this._context : e), this._doc = this._win.document, this._scopeEvents = o, this.set(n);
51223
51226
  }
51224
51227
  setOnEvents(e, n) {
51225
- return Qe.func(n.onstart) && this.on(`${e}start`, n.onstart), Qe.func(n.onmove) && this.on(`${e}move`, n.onmove), Qe.func(n.onend) && this.on(`${e}end`, n.onend), Qe.func(n.oninertiastart) && this.on(`${e}inertiastart`, n.oninertiastart), this;
51228
+ return Ze.func(n.onstart) && this.on(`${e}start`, n.onstart), Ze.func(n.onmove) && this.on(`${e}move`, n.onmove), Ze.func(n.onend) && this.on(`${e}end`, n.onend), Ze.func(n.oninertiastart) && this.on(`${e}inertiastart`, n.oninertiastart), this;
51226
51229
  }
51227
51230
  updatePerActionListeners(e, n, r) {
51228
51231
  var o;
51229
51232
  const i = (o = this._actions.map[e]) == null ? void 0 : o.filterEventType, s = (a) => (i == null || i(a)) && wg(a, this._actions);
51230
- (Qe.array(n) || Qe.object(n)) && this._onOff(Vu.Off, e, n, void 0, s), (Qe.array(r) || Qe.object(r)) && this._onOff(Vu.On, e, r, void 0, s);
51233
+ (Ze.array(n) || Ze.object(n)) && this._onOff(Vu.Off, e, n, void 0, s), (Ze.array(r) || Ze.object(r)) && this._onOff(Vu.On, e, r, void 0, s);
51231
51234
  }
51232
51235
  setPerAction(e, n) {
51233
51236
  const r = this._defaults;
51234
51237
  for (const o in n) {
51235
51238
  const i = o, s = this.options[e], a = n[i];
51236
- i === "listeners" && this.updatePerActionListeners(e, s.listeners, a), Qe.array(a) ? s[i] = l5(a) : Qe.plainObject(a) ? (s[i] = bn(s[i] || {}, zh(a)), Qe.object(r.perAction[i]) && "enabled" in r.perAction[i] && (s[i].enabled = a.enabled !== !1)) : Qe.bool(a) && Qe.object(r.perAction[i]) ? s[i].enabled = a : s[i] = a;
51239
+ i === "listeners" && this.updatePerActionListeners(e, s.listeners, a), Ze.array(a) ? s[i] = l5(a) : Ze.plainObject(a) ? (s[i] = bn(s[i] || {}, zh(a)), Ze.object(r.perAction[i]) && "enabled" in r.perAction[i] && (s[i].enabled = a.enabled !== !1)) : Ze.bool(a) && Ze.object(r.perAction[i]) ? s[i].enabled = a : s[i] = a;
51237
51240
  }
51238
51241
  }
51239
51242
  /**
@@ -51244,7 +51247,7 @@ class zfe {
51244
51247
  * @return {Rect} The object's bounding rectangle.
51245
51248
  */
51246
51249
  getRect(e) {
51247
- return e = e || (Qe.element(this.target) ? this.target : null), Qe.string(this.target) && (e = e || this._context.querySelector(this.target)), Fk(e);
51250
+ return e = e || (Ze.element(this.target) ? this.target : null), Ze.string(this.target) && (e = e || this._context.querySelector(this.target)), Fk(e);
51248
51251
  }
51249
51252
  /**
51250
51253
  * Returns or sets the function used to calculate the interactable's
@@ -51255,14 +51258,14 @@ class zfe {
51255
51258
  * @return {function | object} The checker function or this Interactable
51256
51259
  */
51257
51260
  rectChecker(e) {
51258
- return Qe.func(e) ? (this.getRect = (n) => {
51261
+ return Ze.func(e) ? (this.getRect = (n) => {
51259
51262
  const r = bn({}, e.apply(this, n));
51260
51263
  return "width" in r || (r.width = r.right - r.left, r.height = r.bottom - r.top), r;
51261
51264
  }, this) : e === null ? (delete this.getRect, this) : this.getRect;
51262
51265
  }
51263
51266
  /** @internal */
51264
51267
  _backCompatOption(e, n) {
51265
- if (Z4(n) || Qe.object(n)) {
51268
+ if (Z4(n) || Ze.object(n)) {
51266
51269
  this.options[e] = n;
51267
51270
  for (const r in this._actions.map)
51268
51271
  this.options[r][e] = n;
@@ -51299,7 +51302,7 @@ class zfe {
51299
51302
  const {
51300
51303
  target: e
51301
51304
  } = this;
51302
- return Qe.string(e) ? Array.from(this._context.querySelectorAll(e)) : Qe.func(e) && e.getAllElements ? e.getAllElements() : Qe.element(e) ? [e] : [];
51305
+ return Ze.string(e) ? Array.from(this._context.querySelectorAll(e)) : Ze.func(e) && e.getAllElements ? e.getAllElements() : Ze.element(e) ? [e] : [];
51303
51306
  }
51304
51307
  /**
51305
51308
  * Gets the selector context Node of the Interactable. The default is
@@ -51319,11 +51322,11 @@ class zfe {
51319
51322
  }
51320
51323
  /** @internal */
51321
51324
  testAllow(e, n, r) {
51322
- return e ? Qe.element(r) ? Qe.string(e) ? Q2(r, e, n) : Qe.element(e) ? Lf(e, r) : !1 : !1 : !0;
51325
+ return e ? Ze.element(r) ? Ze.string(e) ? Q2(r, e, n) : Ze.element(e) ? Lf(e, r) : !1 : !1 : !0;
51323
51326
  }
51324
51327
  /** @internal */
51325
51328
  testIgnore(e, n, r) {
51326
- return !e || !Qe.element(r) ? !1 : Qe.string(e) ? Q2(r, e, n) : Qe.element(e) ? Lf(e, r) : !1;
51329
+ return !e || !Ze.element(r) ? !1 : Ze.string(e) ? Q2(r, e, n) : Ze.element(e) ? Lf(e, r) : !1;
51327
51330
  }
51328
51331
  /**
51329
51332
  * Calls listeners for the given InteractEvent type bound globally
@@ -51338,12 +51341,12 @@ class zfe {
51338
51341
  }
51339
51342
  /** @internal */
51340
51343
  _onOff(e, n, r, o, i) {
51341
- Qe.object(n) && !Qe.array(n) && (o = r, r = null);
51344
+ Ze.object(n) && !Ze.array(n) && (o = r, r = null);
51342
51345
  const s = Nf(n, r, i);
51343
51346
  for (let a in s) {
51344
51347
  a === "wheel" && (a = Qo.wheelEvent);
51345
51348
  for (const l of s[a])
51346
- wg(a, this._actions) ? this.events[e === Vu.On ? "on" : "off"](a, l) : Qe.string(this.target) ? this._scopeEvents[e === Vu.On ? "addDelegate" : "removeDelegate"](this.target, this._context, a, l, o) : this._scopeEvents[e === Vu.On ? "add" : "remove"](this.target, a, l, o);
51349
+ wg(a, this._actions) ? this.events[e === Vu.On ? "on" : "off"](a, l) : Ze.string(this.target) ? this._scopeEvents[e === Vu.On ? "addDelegate" : "removeDelegate"](this.target, this._context, a, l, o) : this._scopeEvents[e === Vu.On ? "add" : "remove"](this.target, a, l, o);
51347
51350
  }
51348
51351
  return this;
51349
51352
  }
@@ -51381,7 +51384,7 @@ class zfe {
51381
51384
  */
51382
51385
  set(e) {
51383
51386
  const n = this._defaults;
51384
- Qe.object(e) || (e = {}), this.options = zh(n.base);
51387
+ Ze.object(e) || (e = {}), this.options = zh(n.base);
51385
51388
  for (const r in this._actions.methodDict) {
51386
51389
  const o = r, i = this._actions.methodDict[o];
51387
51390
  this.options[o] = {}, this.setPerAction(o, bn(bn({}, n.perAction), n.actions[o])), this[i](e[o]);
@@ -51391,7 +51394,7 @@ class zfe {
51391
51394
  this.rectChecker(e.getRect);
51392
51395
  continue;
51393
51396
  }
51394
- Qe.func(this[r]) && this[r](e[r]);
51397
+ Ze.func(this[r]) && this[r](e[r]);
51395
51398
  }
51396
51399
  return this;
51397
51400
  }
@@ -51400,7 +51403,7 @@ class zfe {
51400
51403
  * action capabilities and event listeners
51401
51404
  */
51402
51405
  unset() {
51403
- if (Qe.string(this.target))
51406
+ if (Ze.string(this.target))
51404
51407
  for (const e in this._scopeEvents.delegatedEvents) {
51405
51408
  const n = this._scopeEvents.delegatedEvents[e];
51406
51409
  for (let r = n.length - 1; r >= 0; r--) {
@@ -51427,7 +51430,7 @@ class _fe {
51427
51430
  } = n;
51428
51431
  const {
51429
51432
  target: o
51430
- } = r, i = Qe.string(o) ? this.selectorMap[o] : o[this.scope.id], s = p1(i, (a) => a === r);
51433
+ } = r, i = Ze.string(o) ? this.selectorMap[o] : o[this.scope.id], s = p1(i, (a) => a === r);
51431
51434
  i.splice(s, 1);
51432
51435
  }
51433
51436
  });
@@ -51437,7 +51440,7 @@ class _fe {
51437
51440
  actions: this.scope.actions
51438
51441
  });
51439
51442
  const r = new this.scope.Interactable(e, n, this.scope.document, this.scope.events);
51440
- return this.scope.addDocument(r._doc), this.list.push(r), Qe.string(e) ? (this.selectorMap[e] || (this.selectorMap[e] = []), this.selectorMap[e].push(r)) : (r.target[this.scope.id] || Object.defineProperty(e, this.scope.id, {
51443
+ return this.scope.addDocument(r._doc), this.list.push(r), Ze.string(e) ? (this.selectorMap[e] || (this.selectorMap[e] = []), this.selectorMap[e].push(r)) : (r.target[this.scope.id] || Object.defineProperty(e, this.scope.id, {
51441
51444
  value: [],
51442
51445
  configurable: !0
51443
51446
  }), e[this.scope.id].push(r)), this.scope.fire("interactable:new", {
@@ -51448,16 +51451,16 @@ class _fe {
51448
51451
  }), r;
51449
51452
  }
51450
51453
  getExisting(e, n) {
51451
- const r = n && n.context || this.scope.document, o = Qe.string(e), i = o ? this.selectorMap[e] : e[this.scope.id];
51454
+ const r = n && n.context || this.scope.document, o = Ze.string(e), i = o ? this.selectorMap[e] : e[this.scope.id];
51452
51455
  if (i)
51453
51456
  return U0(i, (s) => s._context === r && (o || s.inContext(e)));
51454
51457
  }
51455
51458
  forEachMatch(e, n) {
51456
51459
  for (const r of this.list) {
51457
51460
  let o;
51458
- if ((Qe.string(r.target) ? (
51461
+ if ((Ze.string(r.target) ? (
51459
51462
  // target is a selector and the element matches
51460
- Qe.element(e) && id(e, r.target)
51463
+ Ze.element(e) && id(e, r.target)
51461
51464
  ) : (
51462
51465
  // target is the element
51463
51466
  e === r.target
@@ -51477,12 +51480,12 @@ function Vfe(t) {
51477
51480
  }, e.isSet = function(n, r) {
51478
51481
  return !!this.scope.interactables.get(n, r && r.context);
51479
51482
  }, e.on = yg(function(n, r, o) {
51480
- if (Qe.string(n) && n.search(" ") !== -1 && (n = n.trim().split(/ +/)), Qe.array(n)) {
51483
+ if (Ze.string(n) && n.search(" ") !== -1 && (n = n.trim().split(/ +/)), Ze.array(n)) {
51481
51484
  for (const i of n)
51482
51485
  this.on(i, r, o);
51483
51486
  return this;
51484
51487
  }
51485
- if (Qe.object(n)) {
51488
+ if (Ze.object(n)) {
51486
51489
  for (const i in n)
51487
51490
  this.on(i, n[i], r);
51488
51491
  return this;
@@ -51491,12 +51494,12 @@ function Vfe(t) {
51491
51494
  options: o
51492
51495
  }), this;
51493
51496
  }, "The interact.on() method is being deprecated"), e.off = yg(function(n, r, o) {
51494
- if (Qe.string(n) && n.search(" ") !== -1 && (n = n.trim().split(/ +/)), Qe.array(n)) {
51497
+ if (Ze.string(n) && n.search(" ") !== -1 && (n = n.trim().split(/ +/)), Ze.array(n)) {
51495
51498
  for (const i of n)
51496
51499
  this.off(i, r, o);
51497
51500
  return this;
51498
51501
  }
51499
- if (Qe.object(n)) {
51502
+ if (Ze.object(n)) {
51500
51503
  for (const i in n)
51501
51504
  this.off(i, n[i], r);
51502
51505
  return this;
@@ -51518,7 +51521,7 @@ function Vfe(t) {
51518
51521
  n.stop();
51519
51522
  return this;
51520
51523
  }, e.pointerMoveTolerance = function(n) {
51521
- return Qe.number(n) ? (this.scope.interactions.pointerMoveTolerance = n, this) : this.scope.interactions.pointerMoveTolerance;
51524
+ return Ze.number(n) ? (this.scope.interactions.pointerMoveTolerance = n, this) : this.scope.interactions.pointerMoveTolerance;
51522
51525
  }, e.addDocument = function(n, r) {
51523
51526
  this.scope.addDocument(n, r);
51524
51527
  }, e.removeDocument = function(n) {
@@ -51645,7 +51648,7 @@ class Ufe {
51645
51648
  }
51646
51649
  }
51647
51650
  function Wfe(t, e) {
51648
- return t.isInitialized = !0, Qe.window(e) && i5(e), So.init(e), Qo.init(e), zd.init(e), t.window = e, t.document = e.document, t.usePlugin(Bfe), t.usePlugin(Ofe), t;
51651
+ return t.isInitialized = !0, Ze.window(e) && i5(e), So.init(e), Qo.init(e), zd.init(e), t.window = e, t.document = e.document, t.usePlugin(Bfe), t.usePlugin(Ofe), t;
51649
51652
  }
51650
51653
  function r3(t) {
51651
51654
  return t && t.replace(/\/.*$/, "");
@@ -51683,10 +51686,10 @@ function Gfe(t, e, n, r, o) {
51683
51686
  return o.fire("auto-start:check", a), a.action;
51684
51687
  }
51685
51688
  function Kfe(t) {
51686
- return Qe.bool(t) ? (this.options.styleCursor = t, this) : t === null ? (delete this.options.styleCursor, this) : this.options.styleCursor;
51689
+ return Ze.bool(t) ? (this.options.styleCursor = t, this) : t === null ? (delete this.options.styleCursor, this) : this.options.styleCursor;
51687
51690
  }
51688
51691
  function Yfe(t) {
51689
- return Qe.func(t) ? (this.options.actionChecker = t, this) : t === null ? (delete this.options.actionChecker, this) : this.options.actionChecker;
51692
+ return Ze.func(t) ? (this.options.actionChecker = t, this) : t === null ? (delete this.options.actionChecker, this) : this.options.actionChecker;
51690
51693
  }
51691
51694
  var Xfe = {
51692
51695
  id: "auto-start/interactableMethods",
@@ -51783,7 +51786,7 @@ function C5(t, e, n, r, o) {
51783
51786
  function l(u) {
51784
51787
  i.push(u), s.push(a);
51785
51788
  }
51786
- for (; Qe.element(a); ) {
51789
+ for (; Ze.element(a); ) {
51787
51790
  i = [], s = [], o.interactables.forEachMatch(a, l);
51788
51791
  const u = nde(t, e, n, i, s, r, o);
51789
51792
  if (u.action && !u.interactable.options[u.action.name].manualStart)
@@ -51821,7 +51824,7 @@ function v1(t, e, n, r) {
51821
51824
  return a > 0;
51822
51825
  }
51823
51826
  function j5(t, e) {
51824
- return Qe.number(t) ? (e.autoStart.maxInteractions = t, this) : e.autoStart.maxInteractions;
51827
+ return Ze.number(t) ? (e.autoStart.maxInteractions = t, this) : e.autoStart.maxInteractions;
51825
51828
  }
51826
51829
  function eS(t, e, n) {
51827
51830
  const {
@@ -51842,7 +51845,7 @@ function O5(t, e) {
51842
51845
  let i = "";
51843
51846
  if (o.name) {
51844
51847
  const s = n.options[o.name].cursorChecker;
51845
- Qe.func(s) ? i = s(o, n, r, t._interacting) : i = e.actions.map[o.name].getCursor(o);
51848
+ Ze.func(s) ? i = s(o, n, r, t._interacting) : i = e.actions.map[o.name].getCursor(o);
51846
51849
  }
51847
51850
  eS(t.element, i || "", e);
51848
51851
  }
@@ -51882,7 +51885,7 @@ function rde(t, e) {
51882
51885
  return p;
51883
51886
  }
51884
51887
  };
51885
- for (; Qe.element(d); ) {
51888
+ for (; Ze.element(d); ) {
51886
51889
  const p = e.interactables.forEachMatch(d, h);
51887
51890
  if (p) {
51888
51891
  n.prepared.name = "drag", n.interactable = p, n.element = d;
@@ -52008,7 +52011,7 @@ const Sn = {
52008
52011
  };
52009
52012
  if (u.x || u.y) {
52010
52013
  const c = i3(i);
52011
- Qe.window(i) ? i.scrollBy(u.x, u.y) : i && (i.scrollLeft += u.x, i.scrollTop += u.y);
52014
+ Ze.window(i) ? i.scrollBy(u.x, u.y) : i && (i.scrollLeft += u.x, i.scrollTop += u.y);
52012
52015
  const d = i3(i), h = {
52013
52016
  x: d.x - c.x,
52014
52017
  y: d.y - c.y
@@ -52046,7 +52049,7 @@ const Sn = {
52046
52049
  interactable: a,
52047
52050
  element: l
52048
52051
  } = e, u = e.prepared.name, c = a.options[u].autoScroll, d = o3(c.container, a, l);
52049
- if (Qe.window(d))
52052
+ if (Ze.window(d))
52050
52053
  s = n.clientX < Sn.margin, r = n.clientY < Sn.margin, o = n.clientX > d.innerWidth - Sn.margin, i = n.clientY > d.innerHeight - Sn.margin;
52051
52054
  else {
52052
52055
  const h = $k(d);
@@ -52056,10 +52059,10 @@ const Sn = {
52056
52059
  }
52057
52060
  };
52058
52061
  function o3(t, e, n) {
52059
- return (Qe.string(t) ? g5(t, e, n) : t) || od(n);
52062
+ return (Ze.string(t) ? g5(t, e, n) : t) || od(n);
52060
52063
  }
52061
52064
  function i3(t) {
52062
- return Qe.window(t) && (t = window.document.body), {
52065
+ return Ze.window(t) && (t = window.document.body), {
52063
52066
  x: t.scrollLeft,
52064
52067
  y: t.scrollTop
52065
52068
  };
@@ -52114,7 +52117,7 @@ function s3(t) {
52114
52117
  }
52115
52118
  }
52116
52119
  const dde = function(t) {
52117
- return Qe.object(t) ? (this.options.drag.enabled = t.enabled !== !1, this.setPerAction("drag", t), this.setOnEvents("drag", t), /^(xy|x|y|start)$/.test(t.lockAxis) && (this.options.drag.lockAxis = t.lockAxis), /^(xy|x|y)$/.test(t.startAxis) && (this.options.drag.startAxis = t.startAxis), this) : Qe.bool(t) ? (this.options.drag.enabled = t, this) : this.options.drag;
52120
+ return Ze.object(t) ? (this.options.drag.enabled = t.enabled !== !1, this.setPerAction("drag", t), this.setOnEvents("drag", t), /^(xy|x|y|start)$/.test(t.lockAxis) && (this.options.drag.lockAxis = t.lockAxis), /^(xy|x|y)$/.test(t.startAxis) && (this.options.drag.startAxis = t.startAxis), this) : Ze.bool(t) ? (this.options.drag.enabled = t, this) : this.options.drag;
52118
52121
  }, W0 = {
52119
52122
  id: "actions/drag",
52120
52123
  install: fde,
@@ -52175,7 +52178,7 @@ function pde(t) {
52175
52178
  const s = bn({}, e.coords.cur.page), a = n.options.resize;
52176
52179
  if (!(!(a && a.enabled) || // check mouseButton setting if the pointer is down
52177
52180
  e.pointerIsDown && /mouse|pointer/.test(e.pointerType) && !(i & a.mouseButtons))) {
52178
- if (Qe.object(a.edges)) {
52181
+ if (Ze.object(a.edges)) {
52179
52182
  const l = {
52180
52183
  left: !1,
52181
52184
  right: !1,
@@ -52199,13 +52202,13 @@ function pde(t) {
52199
52202
  }
52200
52203
  }
52201
52204
  function mde(t, e, n) {
52202
- return Qe.object(e) ? (t.options.resize.enabled = e.enabled !== !1, t.setPerAction("resize", e), t.setOnEvents("resize", e), Qe.string(e.axis) && /^x$|^y$|^xy$/.test(e.axis) ? t.options.resize.axis = e.axis : e.axis === null && (t.options.resize.axis = n.defaults.actions.resize.axis), Qe.bool(e.preserveAspectRatio) ? t.options.resize.preserveAspectRatio = e.preserveAspectRatio : Qe.bool(e.square) && (t.options.resize.square = e.square), t) : Qe.bool(e) ? (t.options.resize.enabled = e, t) : t.options.resize;
52205
+ return Ze.object(e) ? (t.options.resize.enabled = e.enabled !== !1, t.setPerAction("resize", e), t.setOnEvents("resize", e), Ze.string(e.axis) && /^x$|^y$|^xy$/.test(e.axis) ? t.options.resize.axis = e.axis : e.axis === null && (t.options.resize.axis = n.defaults.actions.resize.axis), Ze.bool(e.preserveAspectRatio) ? t.options.resize.preserveAspectRatio = e.preserveAspectRatio : Ze.bool(e.square) && (t.options.resize.square = e.square), t) : Ze.bool(e) ? (t.options.resize.enabled = e, t) : t.options.resize;
52203
52206
  }
52204
52207
  function gde(t, e, n, r, o, i, s) {
52205
52208
  if (!e)
52206
52209
  return !1;
52207
52210
  if (e === !0) {
52208
- const a = Qe.number(i.width) ? i.width : i.right - i.left, l = Qe.number(i.height) ? i.height : i.bottom - i.top;
52211
+ const a = Ze.number(i.width) ? i.width : i.right - i.left, l = Ze.number(i.height) ? i.height : i.bottom - i.top;
52209
52212
  if (s = Math.min(s, Math.abs((t === "left" || t === "right" ? a : l) / 2)), a < 0 && (t === "left" ? t = "right" : t === "right" && (t = "left")), l < 0 && (t === "top" ? t = "bottom" : t === "bottom" && (t = "top")), t === "left") {
52210
52213
  const u = a >= 0 ? i.left : i.right;
52211
52214
  return n.x < u + s;
@@ -52219,7 +52222,7 @@ function gde(t, e, n, r, o, i, s) {
52219
52222
  if (t === "bottom")
52220
52223
  return n.y > (l >= 0 ? i.bottom : i.top) - s;
52221
52224
  }
52222
- return Qe.element(r) ? Qe.element(e) ? (
52225
+ return Ze.element(r) ? Ze.element(e) ? (
52223
52226
  // the value is an element to use as a resize handle
52224
52227
  e === r
52225
52228
  ) : (
@@ -52896,7 +52899,7 @@ function Ide(t) {
52896
52899
  e.x = Math.max(Math.min(a.right - i.right, e.x), a.left + i.left), e.y = Math.max(Math.min(a.bottom - i.bottom, e.y), a.top + i.top);
52897
52900
  }
52898
52901
  function sd(t, e, n) {
52899
- return Qe.func(t) ? xg(t, e.interactable, e.element, [n.x, n.y, e]) : xg(t, e.interactable, e.element);
52902
+ return Ze.func(t) ? xg(t, e.interactable, e.element, [n.x, n.y, e]) : xg(t, e.interactable, e.element);
52900
52903
  }
52901
52904
  const Nde = {
52902
52905
  restriction: null,
@@ -53093,10 +53096,10 @@ function Qde(t) {
53093
53096
  for (let p = 0, m = o.targets.length; p < m; p++) {
53094
53097
  const g = o.targets[p];
53095
53098
  let v;
53096
- Qe.func(g) ? v = g(d, h, e._proxy, c, p) : v = g, v && l.push({
53097
- x: (Qe.number(v.x) ? v.x : d) + c.x,
53098
- y: (Qe.number(v.y) ? v.y : h) + c.y,
53099
- range: Qe.number(v.range) ? v.range : o.range,
53099
+ Ze.func(g) ? v = g(d, h, e._proxy, c, p) : v = g, v && l.push({
53100
+ x: (Ze.number(v.x) ? v.x : d) + c.x,
53101
+ y: (Ze.number(v.y) ? v.y : h) + c.y,
53102
+ range: Ze.number(v.range) ? v.range : o.range,
53100
53103
  source: g,
53101
53104
  index: p,
53102
53105
  offset: c
@@ -53194,7 +53197,7 @@ function rhe(t) {
53194
53197
  n.options = bn({}, o), n.options.targets = [];
53195
53198
  for (const l of o.targets || []) {
53196
53199
  let u;
53197
- if (Qe.func(l) ? u = l(s.x, s.y, e) : u = l, !!u) {
53200
+ if (Ze.func(l) ? u = l(s.x, s.y, e) : u = l, !!u) {
53198
53201
  for (const [c, d] of n.targetFields)
53199
53202
  if (c in u || d in u) {
53200
53203
  u.x = u[c], u.y = u[d];
@@ -53295,9 +53298,9 @@ function che(t) {
53295
53298
  _onOff: o
53296
53299
  } = n.prototype;
53297
53300
  n.prototype._onOff = function(i, s, a, l, u) {
53298
- if (Qe.string(this.target) || this.target.addEventListener)
53301
+ if (Ze.string(this.target) || this.target.addEventListener)
53299
53302
  return o.call(this, i, s, a, l, u);
53300
- Qe.object(s) && !Qe.array(s) && (l = a, a = null);
53303
+ Ze.object(s) && !Ze.array(s) && (l = a, a = null);
53301
53304
  const c = Nf(s, a, u);
53302
53305
  for (const d in c)
53303
53306
  wg(d, t.actions) || t.logger.warn(tS + `Can't add native "${d}" event listener to target without \`addEventListener(type, listener, options)\` prop.`);
@@ -53353,7 +53356,7 @@ function M5(t, e, n) {
53353
53356
  }
53354
53357
  function fhe(t, e, n) {
53355
53358
  let r = t;
53356
- for (; Qe.element(r); ) {
53359
+ for (; Ze.element(r); ) {
53357
53360
  if (M5(r, e, n))
53358
53361
  return !0;
53359
53362
  r = qc(r);
@@ -53758,7 +53761,7 @@ const $5 = (t, e) => {
53758
53761
  innerY: r.y,
53759
53762
  innerW: r.w,
53760
53763
  innerH: r.h
53761
- }), c = Ze(() => ({
53764
+ }), c = Je(() => ({
53762
53765
  "vue-resizable": ge(d),
53763
53766
  static: r.static,
53764
53767
  resizing: u.isResizing,
@@ -53768,7 +53771,7 @@ const $5 = (t, e) => {
53768
53771
  "disable-userselect": u.isDragging,
53769
53772
  // 'no-touch': unref(isAndroid) && unref(draggableOrResizableAndNotStatic),
53770
53773
  "no-touch": ge(h)
53771
- })), d = Ze(() => u.resizable && !r.static), h = Ze(() => (u.draggable || u.resizable) && !r.static), p = Ze(() => a.props.isMirrored), m = Ze(() => ge(p) ? "vue-resizable-handle vue-rtl-resizable-handle" : "vue-resizable-handle");
53774
+ })), d = Je(() => u.resizable && !r.static), h = Je(() => (u.draggable || u.resizable) && !r.static), p = Je(() => a.props.isMirrored), m = Je(() => ge(p) ? "vue-resizable-handle vue-rtl-resizable-handle" : "vue-resizable-handle");
53772
53775
  function g() {
53773
53776
  s.on("updateWidth", q), s.on("setDraggable", v), s.on("setResizable", b), s.on("setBounded", w), s.on("setTransformScale", E), s.on("setRowHeight", C), s.on("setMaxRows", y), s.on("directionchange", x), s.on("setColNum", k);
53774
53777
  }
@@ -54025,7 +54028,7 @@ const $5 = (t, e) => {
54025
54028
  function ce(Q) {
54026
54029
  i.el = Q;
54027
54030
  }
54028
- return (Q, te) => (Re(), at("div", {
54031
+ return (Q, te) => (Pe(), at("div", {
54029
54032
  ref: ce,
54030
54033
  class: Es(["vue-grid-item", c.value]),
54031
54034
  style: Sg(u.style),
@@ -54035,10 +54038,10 @@ const $5 = (t, e) => {
54035
54038
  fa(Q.$slots, "default", {
54036
54039
  class: Es({ rtl: p.value })
54037
54040
  }, void 0, !0),
54038
- d.value ? (Re(), at("span", {
54041
+ d.value ? (Pe(), at("span", {
54039
54042
  key: 0,
54040
54043
  class: Es(m.value)
54041
- }, null, 2)) : Mr("", !0)
54044
+ }, null, 2)) : jr("", !0)
54042
54045
  ], 14, Ohe));
54043
54046
  }
54044
54047
  }, oS = /* @__PURE__ */ $5(Ehe, [["__scopeId", "data-v-99aff433"]]);
@@ -54519,8 +54522,8 @@ var _he = {
54519
54522
  X();
54520
54523
  var re = r(y).container;
54521
54524
  re || (re = te());
54522
- var Ae = i.width, he = i.height, Le = u(["position: absolute", "flex: none", "overflow: hidden", "z-index: -1", "visibility: hidden", "width: 100%", "height: 100%", "left: 0px", "top: 0px"]), Se = u(["position: absolute", "flex: none", "overflow: hidden", "z-index: -1", "visibility: hidden"].concat(be(-(1 + Ae), -(1 + he), -he, -Ae))), le = u(["position: absolute", "flex: none", "overflow: scroll", "z-index: -1", "visibility: hidden", "width: 100%", "height: 100%"]), rt = u(["position: absolute", "flex: none", "overflow: scroll", "z-index: -1", "visibility: hidden", "width: 100%", "height: 100%"]), St = u(["position: absolute", "left: 0", "top: 0"]), $e = u(["position: absolute", "width: 200%", "height: 200%"]), Ct = document.createElement("div"), Je = document.createElement("div"), st = document.createElement("div"), $t = document.createElement("div"), nt = document.createElement("div"), Vt = document.createElement("div");
54523
- Ct.dir = "ltr", Ct.style.cssText = Le, Ct.className = a, Je.className = a, Je.style.cssText = Se, st.style.cssText = le, $t.style.cssText = St, nt.style.cssText = rt, Vt.style.cssText = $e, st.appendChild($t), nt.appendChild(Vt), Je.appendChild(st), Je.appendChild(nt), Ct.appendChild(Je), re.appendChild(Ct);
54525
+ var Ae = i.width, he = i.height, Le = u(["position: absolute", "flex: none", "overflow: hidden", "z-index: -1", "visibility: hidden", "width: 100%", "height: 100%", "left: 0px", "top: 0px"]), Se = u(["position: absolute", "flex: none", "overflow: hidden", "z-index: -1", "visibility: hidden"].concat(be(-(1 + Ae), -(1 + he), -he, -Ae))), le = u(["position: absolute", "flex: none", "overflow: scroll", "z-index: -1", "visibility: hidden", "width: 100%", "height: 100%"]), rt = u(["position: absolute", "flex: none", "overflow: scroll", "z-index: -1", "visibility: hidden", "width: 100%", "height: 100%"]), St = u(["position: absolute", "left: 0", "top: 0"]), $e = u(["position: absolute", "width: 200%", "height: 200%"]), Ct = document.createElement("div"), Qe = document.createElement("div"), st = document.createElement("div"), $t = document.createElement("div"), nt = document.createElement("div"), Vt = document.createElement("div");
54526
+ Ct.dir = "ltr", Ct.style.cssText = Le, Ct.className = a, Qe.className = a, Qe.style.cssText = Se, st.style.cssText = le, $t.style.cssText = St, nt.style.cssText = rt, Vt.style.cssText = $e, st.appendChild($t), nt.appendChild(Vt), Qe.appendChild(st), Qe.appendChild(nt), Ct.appendChild(Qe), re.appendChild(Ct);
54524
54527
  function V() {
54525
54528
  var Y = r(y);
54526
54529
  Y && Y.onExpand ? Y.onExpand() : k("Aborting expand scroll handler: element has been uninstalled");
@@ -54533,8 +54536,8 @@ var _he = {
54533
54536
  }
54534
54537
  function T() {
54535
54538
  function X(le, rt, St) {
54536
- var $e = F(le), Ct = q(rt), Je = z(St);
54537
- $e.style.setProperty("width", Ct + "px", C.important ? "important" : ""), $e.style.setProperty("height", Je + "px", C.important ? "important" : "");
54539
+ var $e = F(le), Ct = q(rt), Qe = z(St);
54540
+ $e.style.setProperty("width", Ct + "px", C.important ? "important" : ""), $e.style.setProperty("height", Qe + "px", C.important ? "important" : "");
54538
54541
  }
54539
54542
  function be(le) {
54540
54543
  var rt = y.offsetWidth, St = y.offsetHeight, $e = rt !== r(y).lastWidth || St !== r(y).lastHeight;
@@ -54549,8 +54552,8 @@ var _he = {
54549
54552
  return;
54550
54553
  }
54551
54554
  if (C.debug) {
54552
- var Ct = y.offsetWidth, Je = y.offsetHeight;
54553
- (Ct !== rt || Je !== St) && e.warn(o.get(y), "Scroll: Size changed before updating detector elements.");
54555
+ var Ct = y.offsetWidth, Qe = y.offsetHeight;
54556
+ (Ct !== rt || Qe !== St) && e.warn(o.get(y), "Scroll: Size changed before updating detector elements.");
54554
54557
  }
54555
54558
  X(y, rt, St);
54556
54559
  }
@@ -55071,7 +55074,7 @@ const ope = {
55071
55074
  function C(y) {
55072
55075
  y && (s.placeholder = y, s.placeholderEl = y.el);
55073
55076
  }
55074
- return (y, x) => (Re(), at("div", {
55077
+ return (y, x) => (Pe(), at("div", {
55075
55078
  ref: E,
55076
55079
  class: "vue-grid-layout",
55077
55080
  style: Sg(l.mergedStyle)
@@ -55156,7 +55159,7 @@ const ope = {
55156
55159
  flmButton: up,
55157
55160
  flmDialog: bh,
55158
55161
  flmPagination: c1
55159
- }, r = t, o = e, i = Ze({
55162
+ }, r = t, o = e, i = Je({
55160
55163
  get: () => r.layout,
55161
55164
  set: (A) => o("update:layout", A)
55162
55165
  }), s = ".el-button, .el-tag, .form-inner-control-wrap, .custom-widget-placeholder", a = {
@@ -55249,7 +55252,7 @@ const ope = {
55249
55252
  }
55250
55253
  return (A, j) => {
55251
55254
  const S = Xe("el-button"), O = Xe("el-tag"), R = Xe("el-icon"), M = Xe("el-form-item"), $ = Xe("el-form");
55252
- return Re(), at("div", ipe, [
55255
+ return Pe(), at("div", ipe, [
55253
55256
  ut("div", spe, [
55254
55257
  ape,
55255
55258
  ut("div", lpe, [
@@ -55323,7 +55326,7 @@ const ope = {
55323
55326
  ut("span", dpe, Do(F.label || "分组"), 1)
55324
55327
  ]),
55325
55328
  ut("div", hpe, [
55326
- E(F) ? (Re(), lr(S, {
55329
+ E(F) ? (Pe(), lr(S, {
55327
55330
  key: 0,
55328
55331
  type: "primary",
55329
55332
  link: "",
@@ -55334,7 +55337,7 @@ const ope = {
55334
55337
  dn(" 自动排序 ")
55335
55338
  ]),
55336
55339
  _: 2
55337
- }, 1032, ["onClick"])) : Mr("", !0),
55340
+ }, 1032, ["onClick"])) : jr("", !0),
55338
55341
  P(S, {
55339
55342
  type: "danger",
55340
55343
  link: "",
@@ -55349,11 +55352,11 @@ const ope = {
55349
55352
  ])
55350
55353
  ], 8, cpe),
55351
55354
  ut("div", ppe, [
55352
- F.children && F.children.length ? (Re(!0), at(Cn, { key: 1 }, ko(F.children || [], (L) => (Re(), at("div", {
55355
+ F.children && F.children.length ? (Pe(!0), at(Cn, { key: 1 }, ko(F.children || [], (L) => (Pe(), at("div", {
55353
55356
  key: L.i,
55354
55357
  class: "module-body-content"
55355
55358
  }, [
55356
- L.nodeKind === "slot" && L.type === "groupSlot" ? (Re(), at("div", gpe, bpe)) : L.nodeKind === "form" ? (Re(), lr($, {
55359
+ L.nodeKind === "slot" && L.type === "groupSlot" ? (Pe(), at("div", gpe, bpe)) : L.nodeKind === "form" ? (Pe(), lr($, {
55357
55360
  key: 1,
55358
55361
  class: "form-inner"
55359
55362
  }, {
@@ -55368,7 +55371,7 @@ const ope = {
55368
55371
  onAdd: (B) => d(B, L)
55369
55372
  }, {
55370
55373
  item: ne(({ element: B }) => [
55371
- (Re(), at("span", {
55374
+ (Pe(), at("span", {
55372
55375
  key: B.id
55373
55376
  }))
55374
55377
  ]),
@@ -55385,7 +55388,7 @@ const ope = {
55385
55388
  onLayoutUpdated: (B) => h(B, L)
55386
55389
  }, {
55387
55390
  default: ne(() => [
55388
- (Re(!0), at(Cn, null, ko(L.children || [], (B) => (Re(), lr(ge(oS), {
55391
+ (Pe(!0), at(Cn, null, ko(L.children || [], (B) => (Pe(), lr(ge(oS), {
55389
55392
  key: B.i,
55390
55393
  x: B.x,
55391
55394
  y: B.y,
@@ -55444,9 +55447,9 @@ const ope = {
55444
55447
  class: "canvas-form-item"
55445
55448
  }, {
55446
55449
  default: ne(() => [
55447
- B.nodeKind === "slot" && B.type === "formSlot" ? (Re(), at("div", wpe, Cpe)) : B.type === "flmCustom" ? (Re(), at("div", kpe, [
55450
+ B.nodeKind === "slot" && B.type === "formSlot" ? (Pe(), at("div", wpe, Cpe)) : B.type === "flmCustom" ? (Pe(), at("div", kpe, [
55448
55451
  ut("span", jpe, Do(B.label || B.customComponentName || "自定义组件"), 1)
55449
- ])) : (Re(), lr(Qk(n[B.type] || mu), {
55452
+ ])) : (Pe(), lr(Qk(n[B.type] || mu), {
55450
55453
  key: 2,
55451
55454
  config: y(B)
55452
55455
  }, null, 8, ["config"]))
@@ -55466,7 +55469,7 @@ const ope = {
55466
55469
  }, 1032, ["list", "onAdd"])
55467
55470
  ]),
55468
55471
  _: 2
55469
- }, 1024)) : L.nodeKind === "subForm" ? (Re(), at("div", Ope, [
55472
+ }, 1024)) : L.nodeKind === "subForm" ? (Pe(), at("div", Ope, [
55470
55473
  P(ge(Ql), {
55471
55474
  list: A.innerDropList,
55472
55475
  "item-key": "id",
@@ -55477,7 +55480,7 @@ const ope = {
55477
55480
  onAdd: (B) => d(B, L)
55478
55481
  }, {
55479
55482
  item: ne(({ element: B }) => [
55480
- (Re(), at("span", {
55483
+ (Pe(), at("span", {
55481
55484
  key: B.id
55482
55485
  }))
55483
55486
  ]),
@@ -55494,7 +55497,7 @@ const ope = {
55494
55497
  onLayoutUpdated: (B) => h(B, L)
55495
55498
  }, {
55496
55499
  default: ne(() => [
55497
- (Re(!0), at(Cn, null, ko(L.children || [], (B) => (Re(), lr(ge(oS), {
55500
+ (Pe(!0), at(Cn, null, ko(L.children || [], (B) => (Pe(), lr(ge(oS), {
55498
55501
  key: B.i,
55499
55502
  x: B.x,
55500
55503
  y: B.y,
@@ -55553,10 +55556,10 @@ const ope = {
55553
55556
  class: "canvas-form-item"
55554
55557
  }, {
55555
55558
  default: ne(() => [
55556
- B.nodeKind === "slot" && B.type === "formSlot" ? (Re(), at("div", Tpe, Ppe)) : B.type === "flmCustom" ? (Re(), at("div", Rpe, [
55559
+ B.nodeKind === "slot" && B.type === "formSlot" ? (Pe(), at("div", Tpe, Ppe)) : B.type === "flmCustom" ? (Pe(), at("div", Rpe, [
55557
55560
  ut("span", Dpe, Do(B.customComponentName || "业务组件"), 1),
55558
55561
  Ipe
55559
- ])) : (Re(), lr(Qk(n[B.type] || mu), {
55562
+ ])) : (Pe(), lr(Qk(n[B.type] || mu), {
55560
55563
  key: 2,
55561
55564
  config: y(B)
55562
55565
  }, null, 8, ["config"]))
@@ -55574,8 +55577,8 @@ const ope = {
55574
55577
  ]),
55575
55578
  _: 2
55576
55579
  }, 1032, ["list", "onAdd"])
55577
- ])) : Mr("", !0)
55578
- ]))), 128)) : (Re(), lr(ge(Ql), {
55580
+ ])) : jr("", !0)
55581
+ ]))), 128)) : (Pe(), lr(ge(Ql), {
55579
55582
  key: 0,
55580
55583
  list: A.innerDropList,
55581
55584
  "item-key": "id",
@@ -55586,7 +55589,7 @@ const ope = {
55586
55589
  onAdd: (L) => d(L, F)
55587
55590
  }, {
55588
55591
  item: ne(({ element: L }) => [
55589
- (Re(), at("span", {
55592
+ (Pe(), at("span", {
55590
55593
  key: L.id
55591
55594
  }))
55592
55595
  ]),
@@ -55609,7 +55612,7 @@ const ope = {
55609
55612
  onAdd: j[4] || (j[4] = (F) => w())
55610
55613
  }, {
55611
55614
  item: ne(({ element: F }) => [
55612
- (Re(), at("span", {
55615
+ (Pe(), at("span", {
55613
55616
  key: F.id
55614
55617
  }))
55615
55618
  ]),
@@ -55621,7 +55624,7 @@ const ope = {
55621
55624
  ut("div", Lpe, [
55622
55625
  $pe,
55623
55626
  ut("div", Fpe, [
55624
- r.buttons && r.buttons.length ? (Re(!0), at(Cn, { key: 0 }, ko(r.buttons, (F, L) => (Re(), lr(S, {
55627
+ r.buttons && r.buttons.length ? (Pe(!0), at(Cn, { key: 0 }, ko(r.buttons, (F, L) => (Pe(), lr(S, {
55625
55628
  key: L,
55626
55629
  type: F.type || "default",
55627
55630
  size: "small",
@@ -55631,7 +55634,7 @@ const ope = {
55631
55634
  dn(Do(F.text || F.label || "按钮"), 1)
55632
55635
  ]),
55633
55636
  _: 2
55634
- }, 1032, ["type", "onClick"]))), 128)) : (Re(), at("span", Bpe, "(请在右侧“功能按钮”中配置)"))
55637
+ }, 1032, ["type", "onClick"]))), 128)) : (Pe(), at("span", Bpe, "(请在右侧“功能按钮”中配置)"))
55635
55638
  ])
55636
55639
  ])
55637
55640
  ])
@@ -55654,7 +55657,7 @@ const ope = {
55654
55657
  l || n.value++;
55655
55658
  }
55656
55659
  );
55657
- const r = Ze(() => {
55660
+ const r = Je(() => {
55658
55661
  const l = e.config || {};
55659
55662
  return !!(l && Array.isArray(l.groups) && l.groups.length);
55660
55663
  });
@@ -55673,7 +55676,7 @@ const ope = {
55673
55676
  }
55674
55677
  return (l, u) => {
55675
55678
  const c = Xe("el-dialog");
55676
- return Re(), lr(c, {
55679
+ return Pe(), lr(c, {
55677
55680
  "model-value": l.modelValue,
55678
55681
  title: "表单预览",
55679
55682
  width: "960px",
@@ -55683,14 +55686,14 @@ const ope = {
55683
55686
  }, {
55684
55687
  default: ne(() => [
55685
55688
  ut("div", Upe, [
55686
- r.value ? (Re(), lr(WI, {
55689
+ r.value ? (Pe(), lr(WI, {
55687
55690
  key: n.value,
55688
55691
  config: l.config,
55689
55692
  onSubmit: o,
55690
55693
  onCancel: i,
55691
55694
  onReset: s,
55692
55695
  onCustomEvent: a
55693
- }, null, 8, ["config"])) : Mr("", !0)
55696
+ }, null, 8, ["config"])) : jr("", !0)
55694
55697
  ])
55695
55698
  ]),
55696
55699
  _: 1
@@ -55721,7 +55724,7 @@ const ope = {
55721
55724
  },
55722
55725
  { immediate: !0 }
55723
55726
  );
55724
- const r = Ze(() => {
55727
+ const r = Je(() => {
55725
55728
  const i = e.groupsConfig || [], s = e.selectedItem;
55726
55729
  return s ? i.filter((a) => !a.visible || a.visible(s)) : [];
55727
55730
  });
@@ -55730,10 +55733,10 @@ const ope = {
55730
55733
  }
55731
55734
  return (i, s) => {
55732
55735
  const a = Xe("el-icon");
55733
- return Re(), at("div", Kpe, [
55736
+ return Pe(), at("div", Kpe, [
55734
55737
  Ype,
55735
- i.selectedItem ? (Re(), at("div", Xpe, [
55736
- (Re(!0), at(Cn, null, ko(r.value, (l) => (Re(), at("div", {
55738
+ i.selectedItem ? (Pe(), at("div", Xpe, [
55739
+ (Pe(!0), at(Cn, null, ko(r.value, (l) => (Pe(), at("div", {
55737
55740
  key: l.name,
55738
55741
  class: "attr-group"
55739
55742
  }, [
@@ -55765,7 +55768,7 @@ const ope = {
55765
55768
  [_d, n.value[l.name]]
55766
55769
  ])
55767
55770
  ]))), 128))
55768
- ])) : (Re(), at("div", eme, " 点击设计区中的控件以编辑属性 "))
55771
+ ])) : (Pe(), at("div", eme, " 点击设计区中的控件以编辑属性 "))
55769
55772
  ]);
55770
55773
  };
55771
55774
  }
@@ -55802,9 +55805,9 @@ const ope = {
55802
55805
  slider: eo.flmSlider,
55803
55806
  switch: eo.flmSwitch,
55804
55807
  select: eo.flmSelect
55805
- }, s = ri({}), a = Ft(null), l = Ze(() => e.fields.filter(o)), u = Ze(
55808
+ }, s = ri({}), a = Ft(null), l = Je(() => e.fields.filter(o)), u = Je(
55806
55809
  () => l.value.filter((v) => !i[v.component])
55807
- ), c = Ze(() => l.value.filter((v) => i[v.component]).map((v) => {
55810
+ ), c = Je(() => l.value.filter((v) => i[v.component]).map((v) => {
55808
55811
  const b = i[v.component];
55809
55812
  return {
55810
55813
  prop: v.key,
@@ -55816,13 +55819,13 @@ const ope = {
55816
55819
  "model-value": s[v.key]
55817
55820
  }
55818
55821
  };
55819
- })), d = Ze(() => ({
55822
+ })), d = Je(() => ({
55820
55823
  // 与 framework.vue 中“默认属性编辑表单”保持一致
55821
55824
  size: Eo.ElementSize.small,
55822
55825
  "label-position": "right",
55823
55826
  "label-width": "120px",
55824
55827
  ...e.formProps ?? {}
55825
- })), h = Ze(() => ({
55828
+ })), h = Je(() => ({
55826
55829
  ...d.value,
55827
55830
  model: s,
55828
55831
  items: c.value
@@ -55857,15 +55860,15 @@ const ope = {
55857
55860
  p || (p = !0, g(), p = !1);
55858
55861
  },
55859
55862
  { deep: !0 }
55860
- ), (v, b) => (Re(), at("div", ome, [
55861
- v.model && c.value.length ? (Re(), lr(ge(Df), {
55863
+ ), (v, b) => (Pe(), at("div", ome, [
55864
+ v.model && c.value.length ? (Pe(), lr(ge(Df), {
55862
55865
  key: 0,
55863
55866
  ref_key: "flmFormRef",
55864
55867
  ref: a,
55865
55868
  config: h.value,
55866
55869
  type: "edit"
55867
- }, null, 8, ["config"])) : Mr("", !0),
55868
- u.value.length ? (Re(), at("div", ime, Do(u.value.map((w) => w.component).join("、")) + "(暂不支持,请扩展 `FrameworkAttrFieldsForm` 映射到 `flmForm`) ", 1)) : Mr("", !0)
55870
+ }, null, 8, ["config"])) : jr("", !0),
55871
+ u.value.length ? (Pe(), at("div", ime, Do(u.value.map((w) => w.component).join("、")) + "(暂不支持,请扩展 `FrameworkAttrFieldsForm` 映射到 `flmForm`) ", 1)) : jr("", !0)
55869
55872
  ]));
55870
55873
  }
55871
55874
  }), lme = /* @__PURE__ */ ki(ame, [["__scopeId", "data-v-22a95e5f"]]), ume = (t) => (iy("data-v-fedc8162"), t = t(), sy(), t), cme = {
@@ -55974,7 +55977,7 @@ const ope = {
55974
55977
  function h(S, O) {
55975
55978
  !S || typeof S != "object" || (S.value = O);
55976
55979
  }
55977
- const p = Ze({
55980
+ const p = Je({
55978
55981
  get() {
55979
55982
  var S, O;
55980
55983
  return ((O = (S = e.transferConfig) == null ? void 0 : S.titles) == null ? void 0 : O[0]) ?? "";
@@ -55984,7 +55987,7 @@ const ope = {
55984
55987
  const O = e.transferConfig.titles || [];
55985
55988
  e.transferConfig.titles = [S, O[1] ?? ""];
55986
55989
  }
55987
- }), m = Ze({
55990
+ }), m = Je({
55988
55991
  get() {
55989
55992
  var S, O;
55990
55993
  return ((O = (S = e.transferConfig) == null ? void 0 : S.titles) == null ? void 0 : O[1]) ?? "";
@@ -56044,12 +56047,12 @@ const ope = {
56044
56047
  },
56045
56048
  { deep: !0 }
56046
56049
  );
56047
- const b = Ft(!1), w = Ft(null), E = Ft([]), C = Ze(
56050
+ const b = Ft(!1), w = Ft(null), E = Ft([]), C = Je(
56048
56051
  () => w.value === "cascader" ? "编辑级联选项" : "编辑穿梭框选项"
56049
- ), y = Ze(() => {
56052
+ ), y = Je(() => {
56050
56053
  const S = g.value;
56051
56054
  return Array.isArray(S) ? S.length ? `共 ${S.length} 项` : "暂无选项,点击编辑添加" : "当前不是数组,请点击编辑修正";
56052
- }), x = Ze(() => {
56055
+ }), x = Je(() => {
56053
56056
  const S = v.value;
56054
56057
  return Array.isArray(S) ? S.length ? `共 ${S.length} 项` : "暂无选项,点击编辑添加" : "当前不是数组,请点击编辑修正";
56055
56058
  });
@@ -56070,8 +56073,8 @@ const ope = {
56070
56073
  }
56071
56074
  return (S, O) => {
56072
56075
  const R = Xe("el-input"), M = Xe("el-form-item"), $ = Xe("el-radio-button"), F = Xe("el-radio-group"), L = Xe("el-input-number"), B = Xe("el-switch"), q = Xe("el-button"), z = Xe("el-option"), K = Xe("el-select"), ce = Xe("el-icon"), Q = Xe("el-tooltip"), te = Xe("el-form"), ee = Xe("el-dialog");
56073
- return Re(), at(Cn, null, [
56074
- S.model ? (Re(), lr(te, {
56076
+ return Pe(), at(Cn, null, [
56077
+ S.model ? (Pe(), lr(te, {
56075
56078
  key: 0,
56076
56079
  size: "small",
56077
56080
  "label-position": "right",
@@ -56081,8 +56084,8 @@ const ope = {
56081
56084
  default: ne(() => {
56082
56085
  var T;
56083
56086
  return [
56084
- S.model.type === "flmCustom" ? (Re(), at(Cn, { key: 0 }, [
56085
- S.model.customComponentName ? (Re(), lr(M, {
56087
+ S.model.type === "flmCustom" ? (Pe(), at(Cn, { key: 0 }, [
56088
+ S.model.customComponentName ? (Pe(), lr(M, {
56086
56089
  key: 0,
56087
56090
  label: "业务组件"
56088
56091
  }, {
@@ -56093,8 +56096,8 @@ const ope = {
56093
56096
  }, null, 8, ["model-value"])
56094
56097
  ]),
56095
56098
  _: 1
56096
- })) : Mr("", !0),
56097
- S.model.customKey ? (Re(), lr(M, {
56099
+ })) : jr("", !0),
56100
+ S.model.customKey ? (Pe(), lr(M, {
56098
56101
  key: 1,
56099
56102
  label: "组件键"
56100
56103
  }, {
@@ -56105,13 +56108,13 @@ const ope = {
56105
56108
  }, null, 8, ["model-value"])
56106
56109
  ]),
56107
56110
  _: 1
56108
- })) : Mr("", !0),
56109
- (T = S.model.customAttrFields) != null && T.length ? (Re(), lr(lme, {
56111
+ })) : jr("", !0),
56112
+ (T = S.model.customAttrFields) != null && T.length ? (Pe(), lr(lme, {
56110
56113
  key: 2,
56111
56114
  fields: S.model.customAttrFields,
56112
56115
  model: S.model
56113
- }, null, 8, ["fields", "model"])) : (Re(), at("div", cme, "未配置属性字段(attrFields)"))
56114
- ], 64)) : S.inputConfig ? (Re(), at(Cn, { key: 1 }, [
56116
+ }, null, 8, ["fields", "model"])) : (Pe(), at("div", cme, "未配置属性字段(attrFields)"))
56117
+ ], 64)) : S.inputConfig ? (Pe(), at(Cn, { key: 1 }, [
56115
56118
  P(M, { label: "类型" }, {
56116
56119
  default: ne(() => [
56117
56120
  P(F, {
@@ -56188,7 +56191,7 @@ const ope = {
56188
56191
  ]),
56189
56192
  _: 1
56190
56193
  }),
56191
- S.inputConfig.type === "textarea" ? (Re(), lr(M, {
56194
+ S.inputConfig.type === "textarea" ? (Pe(), lr(M, {
56192
56195
  key: 0,
56193
56196
  label: "行数"
56194
56197
  }, {
@@ -56202,8 +56205,8 @@ const ope = {
56202
56205
  }, null, 8, ["modelValue"])
56203
56206
  ]),
56204
56207
  _: 1
56205
- })) : Mr("", !0),
56206
- S.inputConfig.type === "textarea" ? (Re(), lr(M, {
56208
+ })) : jr("", !0),
56209
+ S.inputConfig.type === "textarea" ? (Pe(), lr(M, {
56207
56210
  key: 1,
56208
56211
  label: "自动高度"
56209
56212
  }, {
@@ -56214,7 +56217,7 @@ const ope = {
56214
56217
  }, null, 8, ["model-value"])
56215
56218
  ]),
56216
56219
  _: 1
56217
- })) : Mr("", !0),
56220
+ })) : jr("", !0),
56218
56221
  P(M, { label: "名称" }, {
56219
56222
  default: ne(() => [
56220
56223
  P(R, {
@@ -56235,11 +56238,11 @@ const ope = {
56235
56238
  ]),
56236
56239
  _: 1
56237
56240
  })
56238
- ], 64)) : S.selectConfig ? (Re(), at(Cn, { key: 2 }, [
56241
+ ], 64)) : S.selectConfig ? (Pe(), at(Cn, { key: 2 }, [
56239
56242
  P(M, { label: "选项列表" }, {
56240
56243
  default: ne(() => [
56241
56244
  ut("div", fme, [
56242
- (Re(!0), at(Cn, null, ko(S.selectConfig.options || [], (U, Oe) => (Re(), at("div", {
56245
+ (Pe(!0), at(Cn, null, ko(S.selectConfig.options || [], (U, Oe) => (Pe(), at("div", {
56243
56246
  key: Oe,
56244
56247
  class: "option-row option-row--kvd"
56245
56248
  }, [
@@ -56293,7 +56296,7 @@ const ope = {
56293
56296
  ]),
56294
56297
  _: 1
56295
56298
  })
56296
- ], 64)) : S.inputNumberConfig ? (Re(), at(Cn, { key: 3 }, [
56299
+ ], 64)) : S.inputNumberConfig ? (Pe(), at(Cn, { key: 3 }, [
56297
56300
  P(M, { label: "最小值" }, {
56298
56301
  default: ne(() => [
56299
56302
  P(L, {
@@ -56352,7 +56355,7 @@ const ope = {
56352
56355
  ]),
56353
56356
  _: 1
56354
56357
  })
56355
- ], 64)) : S.datePickerConfig ? (Re(), at(Cn, { key: 4 }, [
56358
+ ], 64)) : S.datePickerConfig ? (Pe(), at(Cn, { key: 4 }, [
56356
56359
  P(M, { label: "类型" }, {
56357
56360
  default: ne(() => [
56358
56361
  P(K, {
@@ -56412,7 +56415,7 @@ const ope = {
56412
56415
  ]),
56413
56416
  _: 1
56414
56417
  })
56415
- ], 64)) : S.timePickerConfig ? (Re(), at(Cn, { key: 5 }, [
56418
+ ], 64)) : S.timePickerConfig ? (Pe(), at(Cn, { key: 5 }, [
56416
56419
  P(M, { label: "格式" }, {
56417
56420
  default: ne(() => [
56418
56421
  P(R, {
@@ -56433,7 +56436,7 @@ const ope = {
56433
56436
  ]),
56434
56437
  _: 1
56435
56438
  })
56436
- ], 64)) : S.timeSelectConfig ? (Re(), at(Cn, { key: 6 }, [
56439
+ ], 64)) : S.timeSelectConfig ? (Pe(), at(Cn, { key: 6 }, [
56437
56440
  P(M, { label: "开始时间" }, {
56438
56441
  default: ne(() => [
56439
56442
  P(R, {
@@ -56467,7 +56470,7 @@ const ope = {
56467
56470
  ]),
56468
56471
  _: 1
56469
56472
  })
56470
- ], 64)) : S.uploadConfig ? (Re(), at(Cn, { key: 7 }, [
56473
+ ], 64)) : S.uploadConfig ? (Pe(), at(Cn, { key: 7 }, [
56471
56474
  P(M, { label: "上传地址" }, {
56472
56475
  default: ne(() => [
56473
56476
  P(R, {
@@ -56504,7 +56507,7 @@ const ope = {
56504
56507
  style: { width: "100%" }
56505
56508
  }, {
56506
56509
  default: ne(() => [
56507
- (Re(!0), at(Cn, null, ko(S.uploadAcceptTypeOptions, (U) => (Re(), lr(z, {
56510
+ (Pe(!0), at(Cn, null, ko(S.uploadAcceptTypeOptions, (U) => (Pe(), lr(z, {
56508
56511
  key: U.value,
56509
56512
  label: U.label,
56510
56513
  value: U.value
@@ -56601,7 +56604,7 @@ const ope = {
56601
56604
  ]),
56602
56605
  _: 1
56603
56606
  })
56604
- ], 64)) : S.cascaderConfig ? (Re(), at(Cn, { key: 8 }, [
56607
+ ], 64)) : S.cascaderConfig ? (Pe(), at(Cn, { key: 8 }, [
56605
56608
  P(M, { label: "可搜索" }, {
56606
56609
  default: ne(() => [
56607
56610
  P(B, {
@@ -56638,7 +56641,7 @@ const ope = {
56638
56641
  ]),
56639
56642
  _: 1
56640
56643
  })
56641
- ], 64)) : S.checkboxConfig ? (Re(), at(Cn, { key: 9 }, [
56644
+ ], 64)) : S.checkboxConfig ? (Pe(), at(Cn, { key: 9 }, [
56642
56645
  P(M, { label: "标签" }, {
56643
56646
  default: ne(() => [
56644
56647
  P(R, {
@@ -56681,7 +56684,7 @@ const ope = {
56681
56684
  ]),
56682
56685
  _: 1
56683
56686
  })
56684
- ], 64)) : S.colorPickerConfig ? (Re(), lr(M, {
56687
+ ], 64)) : S.colorPickerConfig ? (Pe(), lr(M, {
56685
56688
  key: 10,
56686
56689
  label: "显示透明度"
56687
56690
  }, {
@@ -56692,11 +56695,11 @@ const ope = {
56692
56695
  }, null, 8, ["modelValue"])
56693
56696
  ]),
56694
56697
  _: 1
56695
- })) : S.radioConfig ? (Re(), at(Cn, { key: 11 }, [
56698
+ })) : S.radioConfig ? (Pe(), at(Cn, { key: 11 }, [
56696
56699
  P(M, { label: "选项列表" }, {
56697
56700
  default: ne(() => [
56698
56701
  ut("div", pme, [
56699
- (Re(!0), at(Cn, null, ko(S.radioConfig.radios || [], (U, Oe) => (Re(), at("div", {
56702
+ (Pe(!0), at(Cn, null, ko(S.radioConfig.radios || [], (U, Oe) => (Pe(), at("div", {
56700
56703
  key: Oe,
56701
56704
  class: "option-row option-row--kvd"
56702
56705
  }, [
@@ -56750,7 +56753,7 @@ const ope = {
56750
56753
  ]),
56751
56754
  _: 1
56752
56755
  })
56753
- ], 64)) : S.rateConfig ? (Re(), at(Cn, { key: 12 }, [
56756
+ ], 64)) : S.rateConfig ? (Pe(), at(Cn, { key: 12 }, [
56754
56757
  P(M, { label: "最大分值" }, {
56755
56758
  default: ne(() => [
56756
56759
  P(L, {
@@ -56772,7 +56775,7 @@ const ope = {
56772
56775
  ]),
56773
56776
  _: 1
56774
56777
  })
56775
- ], 64)) : S.sliderConfig ? (Re(), at(Cn, { key: 13 }, [
56778
+ ], 64)) : S.sliderConfig ? (Pe(), at(Cn, { key: 13 }, [
56776
56779
  P(M, { label: "最小值" }, {
56777
56780
  default: ne(() => [
56778
56781
  P(L, {
@@ -56825,7 +56828,7 @@ const ope = {
56825
56828
  ]),
56826
56829
  _: 1
56827
56830
  })
56828
- ], 64)) : S.switchConfig ? (Re(), at(Cn, { key: 14 }, [
56831
+ ], 64)) : S.switchConfig ? (Pe(), at(Cn, { key: 14 }, [
56829
56832
  P(M, { label: "激活文案" }, {
56830
56833
  default: ne(() => [
56831
56834
  P(R, {
@@ -56848,7 +56851,7 @@ const ope = {
56848
56851
  ]),
56849
56852
  _: 1
56850
56853
  })
56851
- ], 64)) : S.transferConfig ? (Re(), at(Cn, { key: 15 }, [
56854
+ ], 64)) : S.transferConfig ? (Pe(), at(Cn, { key: 15 }, [
56852
56855
  P(M, { label: "左侧标题" }, {
56853
56856
  default: ne(() => [
56854
56857
  P(R, {
@@ -56898,7 +56901,7 @@ const ope = {
56898
56901
  ]),
56899
56902
  _: 1
56900
56903
  })
56901
- ], 64)) : S.buttonConfig ? (Re(), at(Cn, { key: 16 }, [
56904
+ ], 64)) : S.buttonConfig ? (Pe(), at(Cn, { key: 16 }, [
56902
56905
  P(M, { label: "按钮文案" }, {
56903
56906
  default: ne(() => [
56904
56907
  P(R, {
@@ -56976,7 +56979,7 @@ const ope = {
56976
56979
  ]),
56977
56980
  _: 1
56978
56981
  })
56979
- ], 64)) : S.dialogConfig ? (Re(), at(Cn, { key: 17 }, [
56982
+ ], 64)) : S.dialogConfig ? (Pe(), at(Cn, { key: 17 }, [
56980
56983
  P(M, { label: "标题" }, {
56981
56984
  default: ne(() => [
56982
56985
  P(R, {
@@ -57035,7 +57038,7 @@ const ope = {
57035
57038
  ]),
57036
57039
  _: 1
57037
57040
  })
57038
- ], 64)) : S.drawerConfig ? (Re(), at(Cn, { key: 18 }, [
57041
+ ], 64)) : S.drawerConfig ? (Pe(), at(Cn, { key: 18 }, [
57039
57042
  P(M, { label: "标题" }, {
57040
57043
  default: ne(() => [
57041
57044
  P(R, {
@@ -57106,7 +57109,7 @@ const ope = {
57106
57109
  ]),
57107
57110
  _: 1
57108
57111
  })
57109
- ], 64)) : S.paginationConfig ? (Re(), at(Cn, { key: 19 }, [
57112
+ ], 64)) : S.paginationConfig ? (Pe(), at(Cn, { key: 19 }, [
57110
57113
  P(M, { label: "总条数" }, {
57111
57114
  default: ne(() => [
57112
57115
  P(L, {
@@ -57158,7 +57161,7 @@ const ope = {
57158
57161
  ]),
57159
57162
  _: 1
57160
57163
  })
57161
- ], 64)) : S.timeConfig ? (Re(), at(Cn, { key: 20 }, [
57164
+ ], 64)) : S.timeConfig ? (Pe(), at(Cn, { key: 20 }, [
57162
57165
  P(M, { label: "格式预设" }, {
57163
57166
  default: ne(() => [
57164
57167
  P(K, {
@@ -57227,7 +57230,7 @@ const ope = {
57227
57230
  ]),
57228
57231
  _: 1
57229
57232
  })
57230
- ], 64)) : S.readConfig ? (Re(), at(Cn, { key: 21 }, [
57233
+ ], 64)) : S.readConfig ? (Pe(), at(Cn, { key: 21 }, [
57231
57234
  P(M, { label: "样式类" }, {
57232
57235
  default: ne(() => [
57233
57236
  P(R, {
@@ -57250,11 +57253,11 @@ const ope = {
57250
57253
  ]),
57251
57254
  _: 1
57252
57255
  })
57253
- ], 64)) : Mr("", !0)
57256
+ ], 64)) : jr("", !0)
57254
57257
  ];
57255
57258
  }),
57256
57259
  _: 1
57257
- })) : Mr("", !0),
57260
+ })) : jr("", !0),
57258
57261
  P(ee, {
57259
57262
  modelValue: b.value,
57260
57263
  "onUpdate:modelValue": O[81] || (O[81] = (T) => b.value = T),
@@ -57286,7 +57289,7 @@ const ope = {
57286
57289
  })
57287
57290
  ]),
57288
57291
  default: ne(() => [
57289
- b.value ? (Re(), lr(ge(FI), {
57292
+ b.value ? (Pe(), lr(ge(FI), {
57290
57293
  key: 0,
57291
57294
  modelValue: E.value,
57292
57295
  "onUpdate:modelValue": O[79] || (O[79] = (T) => E.value = T),
@@ -57294,7 +57297,7 @@ const ope = {
57294
57297
  height: 420,
57295
57298
  "navigation-bar": !0,
57296
57299
  "status-bar": !0
57297
- }, null, 8, ["modelValue"])) : Mr("", !0)
57300
+ }, null, 8, ["modelValue"])) : jr("", !0)
57298
57301
  ]),
57299
57302
  _: 1
57300
57303
  }, 8, ["modelValue", "title"])
@@ -57311,7 +57314,7 @@ const ope = {
57311
57314
  setup(t) {
57312
57315
  return (e, n) => {
57313
57316
  const r = Xe("el-button"), o = Xe("el-form-item"), i = Xe("el-input"), s = Xe("el-option"), a = Xe("el-select"), l = Xe("el-switch"), u = Xe("el-form");
57314
- return e.selectedIndex !== null && e.buttons[e.selectedIndex] ? (Re(), lr(u, {
57317
+ return e.selectedIndex !== null && e.buttons[e.selectedIndex] ? (Pe(), lr(u, {
57315
57318
  key: 0,
57316
57319
  size: "small",
57317
57320
  "label-position": "right",
@@ -57322,7 +57325,7 @@ const ope = {
57322
57325
  P(o, { label: "按钮组" }, {
57323
57326
  default: ne(() => [
57324
57327
  ut("div", Sme, [
57325
- (Re(!0), at(Cn, null, ko(e.buttons, (c, d) => (Re(), at("div", {
57328
+ (Pe(!0), at(Cn, null, ko(e.buttons, (c, d) => (Pe(), at("div", {
57326
57329
  key: d,
57327
57330
  class: Es(["option-row option-row--buttons", { "option-row--active": e.selectedIndex === d }]),
57328
57331
  onClick: (h) => e.$emit("select", d)
@@ -57585,7 +57588,7 @@ const ope = {
57585
57588
  })
57586
57589
  ]),
57587
57590
  _: 1
57588
- })) : Mr("", !0);
57591
+ })) : jr("", !0);
57589
57592
  };
57590
57593
  }
57591
57594
  }), Eme = /* @__PURE__ */ ki(Ome, [["__scopeId", "data-v-82a3f3a8"]]);
@@ -58083,7 +58086,7 @@ function $me(t, e, n, r) {
58083
58086
  { ...Pd.reset }
58084
58087
  ], h.config = g), g ?? null;
58085
58088
  }
58086
- const d = Ze(() => {
58089
+ const d = Je(() => {
58087
58090
  var v;
58088
58091
  const h = e.value;
58089
58092
  if (!h) return null;
@@ -58222,108 +58225,108 @@ function Fme(t, e, n, r, o, i, s, a) {
58222
58225
  };
58223
58226
  }
58224
58227
  function Bme(t) {
58225
- const e = Ze(() => {
58228
+ const e = Je(() => {
58226
58229
  const M = t.value;
58227
58230
  return (M == null ? void 0 : M.type) === "flmInput" && M.config ? M.config : void 0;
58228
- }), n = Ze(() => {
58231
+ }), n = Je(() => {
58229
58232
  const M = t.value;
58230
58233
  return (M == null ? void 0 : M.type) === "flmSelect" && M.config ? M.config : void 0;
58231
- }), r = Ze(
58234
+ }), r = Je(
58232
58235
  () => {
58233
58236
  var M, $;
58234
58237
  return ((M = t.value) == null ? void 0 : M.type) === "flmInputNumber" && (($ = t.value) != null && $.config) ? t.value.config : void 0;
58235
58238
  }
58236
- ), o = Ze(
58239
+ ), o = Je(
58237
58240
  () => {
58238
58241
  var M, $;
58239
58242
  return ((M = t.value) == null ? void 0 : M.type) === "flmDatePicker" && (($ = t.value) != null && $.config) ? t.value.config : void 0;
58240
58243
  }
58241
- ), i = Ze(
58244
+ ), i = Je(
58242
58245
  () => {
58243
58246
  var M, $;
58244
58247
  return ((M = t.value) == null ? void 0 : M.type) === "flmTimePicker" && (($ = t.value) != null && $.config) ? t.value.config : void 0;
58245
58248
  }
58246
- ), s = Ze(
58249
+ ), s = Je(
58247
58250
  () => {
58248
58251
  var M, $;
58249
58252
  return ((M = t.value) == null ? void 0 : M.type) === "flmTimeSelect" && (($ = t.value) != null && $.config) ? t.value.config : void 0;
58250
58253
  }
58251
- ), a = Ze(
58254
+ ), a = Je(
58252
58255
  () => {
58253
58256
  var M, $;
58254
58257
  return ((M = t.value) == null ? void 0 : M.type) === "flmCascader" && (($ = t.value) != null && $.config) ? t.value.config : void 0;
58255
58258
  }
58256
- ), l = Ze(
58259
+ ), l = Je(
58257
58260
  () => {
58258
58261
  var M, $;
58259
58262
  return ((M = t.value) == null ? void 0 : M.type) === "flmCheckbox" && (($ = t.value) != null && $.config) ? t.value.config : void 0;
58260
58263
  }
58261
- ), u = Ze(
58264
+ ), u = Je(
58262
58265
  () => {
58263
58266
  var M, $;
58264
58267
  return ((M = t.value) == null ? void 0 : M.type) === "flmColorPicker" && (($ = t.value) != null && $.config) ? t.value.config : void 0;
58265
58268
  }
58266
- ), c = Ze(
58269
+ ), c = Je(
58267
58270
  () => {
58268
58271
  var M, $;
58269
58272
  return ((M = t.value) == null ? void 0 : M.type) === "flmRadio" && (($ = t.value) != null && $.config) ? t.value.config : void 0;
58270
58273
  }
58271
- ), d = Ze(
58274
+ ), d = Je(
58272
58275
  () => {
58273
58276
  var M, $;
58274
58277
  return ((M = t.value) == null ? void 0 : M.type) === "flmRate" && (($ = t.value) != null && $.config) ? t.value.config : void 0;
58275
58278
  }
58276
- ), h = Ze(
58279
+ ), h = Je(
58277
58280
  () => {
58278
58281
  var M, $;
58279
58282
  return ((M = t.value) == null ? void 0 : M.type) === "flmSlider" && (($ = t.value) != null && $.config) ? t.value.config : void 0;
58280
58283
  }
58281
- ), p = Ze(
58284
+ ), p = Je(
58282
58285
  () => {
58283
58286
  var M, $;
58284
58287
  return ((M = t.value) == null ? void 0 : M.type) === "flmSwitch" && (($ = t.value) != null && $.config) ? t.value.config : void 0;
58285
58288
  }
58286
- ), m = Ze(
58289
+ ), m = Je(
58287
58290
  () => {
58288
58291
  var M, $;
58289
58292
  return ((M = t.value) == null ? void 0 : M.type) === "flmTransfer" && (($ = t.value) != null && $.config) ? t.value.config : void 0;
58290
58293
  }
58291
- ), g = Ze(
58294
+ ), g = Je(
58292
58295
  () => {
58293
58296
  var M, $;
58294
58297
  return ((M = t.value) == null ? void 0 : M.type) === "flmButton" && (($ = t.value) != null && $.config) ? t.value.config : void 0;
58295
58298
  }
58296
- ), v = Ze(
58299
+ ), v = Je(
58297
58300
  () => {
58298
58301
  var M, $;
58299
58302
  return ((M = t.value) == null ? void 0 : M.type) === "flmDialog" && (($ = t.value) != null && $.config) ? t.value.config : void 0;
58300
58303
  }
58301
- ), b = Ze(
58304
+ ), b = Je(
58302
58305
  () => {
58303
58306
  var M, $;
58304
58307
  return ((M = t.value) == null ? void 0 : M.type) === "flmDrawer" && (($ = t.value) != null && $.config) ? t.value.config : void 0;
58305
58308
  }
58306
- ), w = Ze(
58309
+ ), w = Je(
58307
58310
  () => {
58308
58311
  var M, $;
58309
58312
  return ((M = t.value) == null ? void 0 : M.type) === "flmPagination" && (($ = t.value) != null && $.config) ? t.value.config : void 0;
58310
58313
  }
58311
- ), E = Ze(
58314
+ ), E = Je(
58312
58315
  () => {
58313
58316
  var M, $;
58314
58317
  return ((M = t.value) == null ? void 0 : M.type) === "flmRead" && (($ = t.value) != null && $.config) ? t.value.config : void 0;
58315
58318
  }
58316
- ), C = Ze(
58319
+ ), C = Je(
58317
58320
  () => {
58318
58321
  var M, $;
58319
58322
  return ((M = t.value) == null ? void 0 : M.type) === "flmUpload" && (($ = t.value) != null && $.config) ? t.value.config : void 0;
58320
58323
  }
58321
- ), y = Ze(
58324
+ ), y = Je(
58322
58325
  () => {
58323
58326
  var M, $;
58324
58327
  return ((M = t.value) == null ? void 0 : M.type) === "flmTime" && (($ = t.value) != null && $.config) ? t.value.config : void 0;
58325
58328
  }
58326
- ), x = Ze({
58329
+ ), x = Je({
58327
58330
  get() {
58328
58331
  const M = C.value;
58329
58332
  if (!M) return [];
@@ -58407,20 +58410,20 @@ function Bme(t) {
58407
58410
  (!L || L === "YYYY-MM-DD" || L === "HH:mm:ss") && ($.format = "YYYY-MM-DD HH:mm:ss");
58408
58411
  }
58409
58412
  }
58410
- const j = Ze(() => {
58413
+ const j = Je(() => {
58411
58414
  var M;
58412
58415
  return ((M = t.value) == null ? void 0 : M.config) ?? void 0;
58413
- }), S = Ze(
58416
+ }), S = Je(
58414
58417
  () => {
58415
58418
  var M;
58416
58419
  return !!((M = t.value) != null && M.type) && Pme.includes(t.value.type);
58417
58420
  }
58418
- ), O = Ze(
58421
+ ), O = Je(
58419
58422
  () => {
58420
58423
  var M;
58421
58424
  return !!((M = t.value) != null && M.type) && t.value.type !== "flmRead" && t.value.type !== "flmTime";
58422
58425
  }
58423
- ), R = Ze(
58426
+ ), R = Je(
58424
58427
  () => {
58425
58428
  var M;
58426
58429
  return !!((M = t.value) != null && M.type) && Rme.includes(t.value.type);
@@ -58458,7 +58461,7 @@ function Bme(t) {
58458
58461
  };
58459
58462
  }
58460
58463
  function zme(t, e, n, r, o) {
58461
- const i = Ze(() => {
58464
+ const i = Je(() => {
58462
58465
  if (r.value != null) {
58463
58466
  const c = r.value, d = e.value[c];
58464
58467
  return d ? {
@@ -58790,11 +58793,12 @@ const Ume = { class: "form-builder-framework" }, Wme = { class: "framework-lr" }
58790
58793
  ...Gme,
58791
58794
  props: {
58792
58795
  componentGroups: { default: () => [] },
58793
- componentList: { default: () => [] }
58796
+ componentList: { default: () => [] },
58797
+ hideBasicWidgets: { type: Boolean, default: !1 }
58794
58798
  },
58795
58799
  emits: ["save", "reset"],
58796
58800
  setup(t, { expose: e, emit: n }) {
58797
- const r = t, o = Ze(() => {
58801
+ const r = t, o = Je(() => {
58798
58802
  const vt = r.componentGroups;
58799
58803
  if (vt && vt.length)
58800
58804
  return vt;
@@ -58821,7 +58825,9 @@ const Ume = { class: "form-builder-framework" }, Wme = { class: "framework-lr" }
58821
58825
  { ...s.submit },
58822
58826
  { ...s.cancel },
58823
58827
  { ...s.reset }
58824
- ]), l = Ft(Ime), u = Ft(Dme), c = Ft([]), d = Ft([]), h = Ft([]), p = Ft([]), m = Ft([]), g = Ft(0), v = Ft(null), b = Ft(null), w = Ft(!1), E = Ft(null), { selectedItem: C, selectFormChild: y, onGridWidgetCapture: x } = zme(
58828
+ ]), l = Je(
58829
+ () => r.hideBasicWidgets ? [] : Ime
58830
+ ), u = Ft(Dme), c = Ft([]), d = Ft([]), h = Ft([]), p = Ft([]), m = Ft([]), g = Ft(0), v = Ft(null), b = Ft(null), w = Ft(!1), E = Ft(null), { selectedItem: C, selectFormChild: y, onGridWidgetCapture: x } = zme(
58825
58831
  m,
58826
58832
  a,
58827
58833
  v,
@@ -58880,11 +58886,11 @@ const Ume = { class: "form-builder-framework" }, Wme = { class: "framework-lr" }
58880
58886
  y,
58881
58887
  j,
58882
58888
  S
58883
- ), rt = Ze(() => Ame(C.value)), {
58889
+ ), rt = Je(() => Ame(C.value)), {
58884
58890
  inputConfig: St,
58885
58891
  selectConfig: $e,
58886
58892
  inputNumberConfig: Ct,
58887
- datePickerConfig: Je,
58893
+ datePickerConfig: Qe,
58888
58894
  timePickerConfig: st,
58889
58895
  timeSelectConfig: $t,
58890
58896
  cascaderConfig: nt,
@@ -58944,7 +58950,7 @@ const Ume = { class: "form-builder-framework" }, Wme = { class: "framework-lr" }
58944
58950
  }
58945
58951
  ), (vt, gt) => {
58946
58952
  const bt = Xe("el-input"), ze = Xe("el-form-item"), Ut = Xe("el-option"), ln = Xe("el-select"), pr = Xe("el-input-number"), Dn = Xe("el-switch"), mr = Xe("el-slider"), _r = Xe("el-form"), Rr = Xe("el-checkbox"), Dr = Xe("el-button");
58947
- return Re(), at("div", Ume, [
58953
+ return Pe(), at("div", Ume, [
58948
58954
  ut("div", Wme, [
58949
58955
  P(ge(efe), {
58950
58956
  "container-widget-list": u.value,
@@ -58953,7 +58959,7 @@ const Ume = { class: "form-builder-framework" }, Wme = { class: "framework-lr" }
58953
58959
  "component-groups": o.value,
58954
58960
  "clone-palette-item": ge(_me)
58955
58961
  }, null, 8, ["container-widget-list", "basic-widget-list", "complex-widget-list", "component-groups", "clone-palette-item"]),
58956
- (Re(), lr(ge(Vpe), {
58962
+ (Pe(), lr(ge(Vpe), {
58957
58963
  key: g.value,
58958
58964
  layout: m.value,
58959
58965
  "onUpdate:layout": En,
@@ -59009,7 +59015,7 @@ const Ume = { class: "form-builder-framework" }, Wme = { class: "framework-lr" }
59009
59015
  ]),
59010
59016
  _: 2
59011
59017
  }, 1024),
59012
- (Ve == null ? void 0 : Ve.nodeKind) === "group" ? (Re(), at(Cn, { key: 0 }, [
59018
+ (Ve == null ? void 0 : Ve.nodeKind) === "group" ? (Pe(), at(Cn, { key: 0 }, [
59013
59019
  P(ze, { label: "分组名称" }, {
59014
59020
  default: ne(() => [
59015
59021
  P(bt, {
@@ -59048,7 +59054,7 @@ const Ume = { class: "form-builder-framework" }, Wme = { class: "framework-lr" }
59048
59054
  ]),
59049
59055
  _: 2
59050
59056
  }, 1024),
59051
- ge(O) && ge(k)(Ve) !== "slot" ? (Re(), at(Cn, { key: 0 }, [
59057
+ ge(O) && ge(k)(Ve) !== "slot" ? (Pe(), at(Cn, { key: 0 }, [
59052
59058
  P(ze, { label: "标签位置" }, {
59053
59059
  default: ne(() => [
59054
59060
  P(ln, {
@@ -59164,7 +59170,7 @@ const Ume = { class: "form-builder-framework" }, Wme = { class: "framework-lr" }
59164
59170
  ]),
59165
59171
  _: 1
59166
59172
  }),
59167
- ge(k)(Ve) === "subForm" ? (Re(), at(Cn, { key: 0 }, [
59173
+ ge(k)(Ve) === "subForm" ? (Pe(), at(Cn, { key: 0 }, [
59168
59174
  P(ze, { label: "是否默认生成一项" }, {
59169
59175
  default: ne(() => [
59170
59176
  P(Dn, {
@@ -59202,10 +59208,10 @@ const Ume = { class: "form-builder-framework" }, Wme = { class: "framework-lr" }
59202
59208
  ]),
59203
59209
  _: 1
59204
59210
  })
59205
- ], 64)) : Mr("", !0)
59206
- ], 64)) : Mr("", !0)
59207
- ], 64)) : Mr("", !0),
59208
- Ve && Ve.nodeKind !== "group" ? (Re(), at(Cn, { key: 1 }, [
59211
+ ], 64)) : jr("", !0)
59212
+ ], 64)) : jr("", !0)
59213
+ ], 64)) : jr("", !0),
59214
+ Ve && Ve.nodeKind !== "group" ? (Pe(), at(Cn, { key: 1 }, [
59209
59215
  P(ze, { label: "栅格宽度(列)" }, {
59210
59216
  default: ne(() => [
59211
59217
  P(mr, {
@@ -59232,13 +59238,13 @@ const Ume = { class: "form-builder-framework" }, Wme = { class: "framework-lr" }
59232
59238
  ]),
59233
59239
  _: 2
59234
59240
  }, 1024)
59235
- ], 64)) : Mr("", !0)
59241
+ ], 64)) : jr("", !0)
59236
59242
  ]),
59237
59243
  _: 2
59238
59244
  }, 1024)
59239
59245
  ]),
59240
59246
  slotConfig: ne(({ model: Ve }) => [
59241
- (Ve == null ? void 0 : Ve.nodeKind) === "slot" ? (Re(), lr(_r, {
59247
+ (Ve == null ? void 0 : Ve.nodeKind) === "slot" ? (Pe(), lr(_r, {
59242
59248
  key: 0,
59243
59249
  size: "small",
59244
59250
  "label-position": "left",
@@ -59262,10 +59268,10 @@ const Ume = { class: "form-builder-framework" }, Wme = { class: "framework-lr" }
59262
59268
  }, 1024)
59263
59269
  ]),
59264
59270
  _: 2
59265
- }, 1024)) : Mr("", !0)
59271
+ }, 1024)) : jr("", !0)
59266
59272
  ]),
59267
59273
  formItem: ne(({ model: Ve }) => [
59268
- Ve != null && Ve.formItem ? (Re(), lr(_r, {
59274
+ Ve != null && Ve.formItem ? (Pe(), lr(_r, {
59269
59275
  key: 0,
59270
59276
  size: "small",
59271
59277
  "label-position": "right",
@@ -59363,7 +59369,7 @@ const Ume = { class: "form-builder-framework" }, Wme = { class: "framework-lr" }
59363
59369
  P(ze, { label: "校验规则" }, {
59364
59370
  default: ne(() => [
59365
59371
  ut("div", Hme, [
59366
- (Re(!0), at(Cn, null, ko(Ve.formItem.rules || [], (We, Kr) => (Re(), at("div", {
59372
+ (Pe(!0), at(Cn, null, ko(Ve.formItem.rules || [], (We, Kr) => (Pe(), at("div", {
59367
59373
  key: Kr,
59368
59374
  class: "option-row"
59369
59375
  }, [
@@ -59412,10 +59418,10 @@ const Ume = { class: "form-builder-framework" }, Wme = { class: "framework-lr" }
59412
59418
  }, 1024)
59413
59419
  ]),
59414
59420
  _: 2
59415
- }, 1024)) : Mr("", !0)
59421
+ }, 1024)) : jr("", !0)
59416
59422
  ]),
59417
59423
  baseSettings: ne(({ model: Ve }) => [
59418
- Ve ? (Re(), lr(_r, {
59424
+ Ve ? (Pe(), lr(_r, {
59419
59425
  key: 0,
59420
59426
  size: "small",
59421
59427
  "label-position": "right",
@@ -59458,7 +59464,7 @@ const Ume = { class: "form-builder-framework" }, Wme = { class: "framework-lr" }
59458
59464
  ]),
59459
59465
  _: 2
59460
59466
  }, 1024),
59461
- Ve != null && Ve.formItem ? (Re(), at(Cn, { key: 0 }, [
59467
+ Ve != null && Ve.formItem ? (Pe(), at(Cn, { key: 0 }, [
59462
59468
  P(ze, { label: "标签" }, {
59463
59469
  default: ne(() => [
59464
59470
  P(bt, {
@@ -59549,7 +59555,7 @@ const Ume = { class: "form-builder-framework" }, Wme = { class: "framework-lr" }
59549
59555
  P(ze, { label: "校验规则" }, {
59550
59556
  default: ne(() => [
59551
59557
  ut("div", qme, [
59552
- (Re(!0), at(Cn, null, ko(Ve.formItem.rules || [], (We, Kr) => (Re(), at("div", {
59558
+ (Pe(!0), at(Cn, null, ko(Ve.formItem.rules || [], (We, Kr) => (Pe(), at("div", {
59553
59559
  key: Kr,
59554
59560
  class: "option-row"
59555
59561
  }, [
@@ -59596,9 +59602,9 @@ const Ume = { class: "form-builder-framework" }, Wme = { class: "framework-lr" }
59596
59602
  ]),
59597
59603
  _: 2
59598
59604
  }, 1024)
59599
- ], 64)) : Mr("", !0),
59600
- ge(ct) && (Ve == null ? void 0 : Ve.type) !== "flmCustom" ? (Re(), at(Cn, { key: 1 }, [
59601
- ge(nn) ? (Re(), lr(ze, {
59605
+ ], 64)) : jr("", !0),
59606
+ ge(ct) && (Ve == null ? void 0 : Ve.type) !== "flmCustom" ? (Pe(), at(Cn, { key: 1 }, [
59607
+ ge(nn) ? (Pe(), lr(ze, {
59602
59608
  key: 0,
59603
59609
  label: "占位符"
59604
59610
  }, {
@@ -59611,8 +59617,8 @@ const Ume = { class: "form-builder-framework" }, Wme = { class: "framework-lr" }
59611
59617
  }, null, 8, ["modelValue"])
59612
59618
  ]),
59613
59619
  _: 1
59614
- })) : Mr("", !0),
59615
- ge(yn) ? (Re(), lr(ze, {
59620
+ })) : jr("", !0),
59621
+ ge(yn) ? (Pe(), lr(ze, {
59616
59622
  key: 1,
59617
59623
  label: "禁用"
59618
59624
  }, {
@@ -59623,8 +59629,8 @@ const Ume = { class: "form-builder-framework" }, Wme = { class: "framework-lr" }
59623
59629
  }, null, 8, ["modelValue"])
59624
59630
  ]),
59625
59631
  _: 1
59626
- })) : Mr("", !0),
59627
- ge(On) ? (Re(), lr(ze, {
59632
+ })) : jr("", !0),
59633
+ ge(On) ? (Pe(), lr(ze, {
59628
59634
  key: 2,
59629
59635
  label: "可清空"
59630
59636
  }, {
@@ -59635,8 +59641,8 @@ const Ume = { class: "form-builder-framework" }, Wme = { class: "framework-lr" }
59635
59641
  }, null, 8, ["modelValue"])
59636
59642
  ]),
59637
59643
  _: 1
59638
- })) : Mr("", !0),
59639
- (Ve == null ? void 0 : Ve.type) === "flmInput" ? (Re(), lr(ze, {
59644
+ })) : jr("", !0),
59645
+ (Ve == null ? void 0 : Ve.type) === "flmInput" ? (Pe(), lr(ze, {
59640
59646
  key: 3,
59641
59647
  label: "控件尺寸"
59642
59648
  }, {
@@ -59665,11 +59671,11 @@ const Ume = { class: "form-builder-framework" }, Wme = { class: "framework-lr" }
59665
59671
  }, 8, ["modelValue"])
59666
59672
  ]),
59667
59673
  _: 1
59668
- })) : Mr("", !0)
59669
- ], 64)) : Mr("", !0)
59674
+ })) : jr("", !0)
59675
+ ], 64)) : jr("", !0)
59670
59676
  ]),
59671
59677
  _: 2
59672
- }, 1024)) : Mr("", !0)
59678
+ }, 1024)) : jr("", !0)
59673
59679
  ]),
59674
59680
  detailSettings: ne(({ model: Ve }) => [
59675
59681
  P(ge(wme), {
@@ -59677,7 +59683,7 @@ const Ume = { class: "form-builder-framework" }, Wme = { class: "framework-lr" }
59677
59683
  "input-config": ge(St),
59678
59684
  "select-config": ge($e),
59679
59685
  "input-number-config": ge(Ct),
59680
- "date-picker-config": ge(Je),
59686
+ "date-picker-config": ge(Qe),
59681
59687
  "time-picker-config": ge(st),
59682
59688
  "time-select-config": ge($t),
59683
59689
  "cascader-config": ge(nt),
@@ -59720,7 +59726,7 @@ const Ume = { class: "form-builder-framework" }, Wme = { class: "framework-lr" }
59720
59726
  ]);
59721
59727
  };
59722
59728
  }
59723
- }), Yme = /* @__PURE__ */ ki(Kme, [["__scopeId", "data-v-a902e726"]]), J5 = {
59729
+ }), Yme = /* @__PURE__ */ ki(Kme, [["__scopeId", "data-v-8c7bb15d"]]), J5 = {
59724
59730
  // base
59725
59731
  flmButton: up,
59726
59732
  flmCascader: cp,