flame-plus 1.5.61 → 1.5.63

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 K_ from "vue";
2
- const { warn: q_, defineComponent: jt, ref: st, reactive: hi, onMounted: Na, resolveComponent: Ie, createElementBlock: ze, openBlock: he, createBlock: xt, createVNode: k, unref: X, withCtx: K, createTextVNode: Ot, computed: Me, watch: Dt, onBeforeUnmount: d1, normalizeStyle: gp, nextTick: Ji, mergeProps: Sn, isVNode: Od, normalizeClass: Wo, toDisplayString: Xn, onUnmounted: Y_, createElementVNode: Re, Fragment: $t, renderList: Qn, createCommentVNode: Nt, normalizeProps: sP, guardReactiveProps: X_, defineAsyncComponent: lv, getCurrentInstance: aP, useCssVars: J_, h: Ni, createSlots: qa, renderSlot: xs, isRef: Q_, toRaw: VE, resolveDirective: lP, withDirectives: Ka, withKeys: oc, withModifiers: Pr, vShow: su, inject: UE, provide: WE, onBeforeMount: Z_, shallowRef: eL, Teleport: tL, resolveDynamicComponent: HE, useAttrs: uP, toRef: nL } = K_;
2
+ const { warn: q_, defineComponent: jt, ref: st, reactive: hi, onMounted: Na, resolveComponent: Ie, createElementBlock: ze, openBlock: he, createBlock: xt, createVNode: k, unref: X, withCtx: K, createTextVNode: Ot, computed: Oe, watch: Dt, onBeforeUnmount: d1, normalizeStyle: gp, nextTick: Ji, mergeProps: Sn, isVNode: Od, normalizeClass: Wo, toDisplayString: Xn, onUnmounted: Y_, createElementVNode: Re, Fragment: $t, renderList: Qn, createCommentVNode: Nt, normalizeProps: sP, guardReactiveProps: X_, defineAsyncComponent: lv, getCurrentInstance: aP, useCssVars: J_, h: Ni, createSlots: qa, renderSlot: xs, isRef: Q_, toRaw: VE, resolveDirective: lP, withDirectives: Ka, withKeys: oc, withModifiers: Pr, vShow: su, inject: UE, provide: WE, onBeforeMount: Z_, shallowRef: eL, Teleport: tL, resolveDynamicComponent: HE, useAttrs: uP, toRef: nL } = K_;
3
3
  import { ArrowRight as ic, Collection as GE, FolderOpened as KE, CopyDocument as qE, Delete as YE, QuestionFilled as rL } from "@element-plus/icons-vue";
4
4
  import oL from "tinymce/tinymce";
5
5
  import iL from "@tinymce/tinymce-vue";
@@ -36690,7 +36690,7 @@ function v2(t, e) {
36690
36690
  it("mousedown", ku, function(ie) {
36691
36691
  !$p(ie.target, (ke) => ke === d(f)) && Ai(d(ae)) && (r("click outside the editor, exit edit mode"), N(ae, Al(d(ae))), h && d(c) && (d(c).focus(), d(c).blur()), r("blur (outside editor)"), d(c) && d(c).blur());
36692
36692
  });
36693
- var se, Oe = _t(Xo), Ze = me(Oe), yt = (ie) => {
36693
+ var se, Me = _t(Xo), Ze = me(Me), yt = (ie) => {
36694
36694
  (function(ke, Ke) {
36695
36695
  Qt(Ke, !1);
36696
36696
  var kt = ge(void 0, !0), bt = ge(void 0, !0), gt = ge(void 0, !0), dn = L(Ke, "json", 9), hn = L(Ke, "selection", 9), Hn = L(Ke, "readOnly", 9), Or = L(Ke, "showSearch", 13, !1), or = L(Ke, "history", 9), Xr = L(Ke, "onExpandAll", 9), mn = L(Ke, "onCollapseAll", 9), Co = L(Ke, "onUndo", 9), Br = L(Ke, "onRedo", 9), So = L(Ke, "onSort", 9), wr = L(Ke, "onTransform", 9), rn = L(Ke, "onContextMenu", 9), cr = L(Ke, "onCopy", 9), gn = L(Ke, "onRenderMenu", 9);
@@ -36875,8 +36875,8 @@ function v2(t, e) {
36875
36875
  };
36876
36876
  Be(Rt, (ie) => {
36877
36877
  o ? ie(Ln, !1) : ie(It);
36878
- }), ho(Oe, (ie) => N(f, ie), () => d(f));
36879
- var ur = Ee(Oe, 2), rr = (ie) => {
36878
+ }), ho(Me, (ie) => N(f, ie), () => d(f));
36879
+ var ur = Ee(Me, 2), rr = (ie) => {
36880
36880
  c$(ie, { onClose: () => N(G, !1) });
36881
36881
  };
36882
36882
  Be(ur, (ie) => {
@@ -36890,7 +36890,7 @@ function v2(t, e) {
36890
36890
  };
36891
36891
  return Be(lo, (ie) => {
36892
36892
  d(ee) && ie(bi);
36893
- }), pt(() => se = bn(Oe, 1, "jse-tree-mode svelte-10mlrw4", null, se, { "no-main-menu": !C() })), it("keydown", Oe, function(ie) {
36893
+ }), pt(() => se = bn(Me, 1, "jse-tree-mode svelte-10mlrw4", null, se, { "no-main-menu": !C() })), it("keydown", Me, function(ie) {
36894
36894
  var ke = $u(ie), Ke = ie.shiftKey;
36895
36895
  if (r("keydown", { combo: ke, key: ie.key }), ke === "Ctrl+X" && (ie.preventDefault(), Pt(!0)), ke === "Ctrl+Shift+X" && (ie.preventDefault(), Pt(!1)), ke === "Ctrl+C" && (ie.preventDefault(), Tn(!0)), ke === "Ctrl+Shift+C" && (ie.preventDefault(), Tn(!1)), ke === "Ctrl+D" && (ie.preventDefault(), to()), ke !== "Delete" && ke !== "Backspace" || (ie.preventDefault(), xo()), ke === "Insert" && (ie.preventDefault(), wo("structure")), ke === "Ctrl+A" && (ie.preventDefault(), N(ae, qn([]))), ke === "Ctrl+Q" && ar(ie), ke === "ArrowUp" || ke === "Shift+ArrowUp") {
36896
36896
  ie.preventDefault();
@@ -36955,11 +36955,11 @@ function v2(t, e) {
36955
36955
  lx(Or) && window.open(String(Or), "_blank");
36956
36956
  }
36957
36957
  ke === "Escape" && d(ae) && (ie.preventDefault(), N(ae, void 0)), ke === "Ctrl+F" && (ie.preventDefault(), Ut(!1)), ke === "Ctrl+H" && (ie.preventDefault(), Ut(!0)), ke === "Ctrl+Z" && (ie.preventDefault(), ao()), ke === "Ctrl+Shift+Z" && (ie.preventDefault(), Yo());
36958
- }), it("mousedown", Oe, function(ie) {
36958
+ }), it("mousedown", Me, function(ie) {
36959
36959
  r("handleMouseDown", ie);
36960
36960
  var ke = ie.target;
36961
36961
  MF(ke, "BUTTON") || ke.isContentEditable || (fn(), d(ae) || d(ne) !== void 0 || d(je) !== "" && d(je) !== void 0 || (r("createDefaultSelection"), N(ae, qn([]))));
36962
- }), it("contextmenu", Oe, ar), pe(t, Xo), ln(e, "expand", oe), ln(e, "collapse", ce), ln(e, "validate", lt), ln(e, "getJson", He), ln(e, "patch", Nn), ln(e, "acceptAutoRepair", sn), ln(e, "openTransformModal", ro), ln(e, "scrollTo", Fe), ln(e, "findElement", vt), ln(e, "findSearchResult", wt), ln(e, "focus", fn), Zt($r);
36962
+ }), it("contextmenu", Me, ar), pe(t, Xo), ln(e, "expand", oe), ln(e, "collapse", ce), ln(e, "validate", lt), ln(e, "getJson", He), ln(e, "patch", Nn), ln(e, "acceptAutoRepair", sn), ln(e, "openTransformModal", ro), ln(e, "scrollTo", Fe), ln(e, "findElement", vt), ln(e, "findSearchResult", wt), ln(e, "focus", fn), Zt($r);
36963
36963
  }
36964
36964
  function E$(t) {
36965
36965
  return typeof (e = t) != "object" || e === null ? t : new Proxy(t, { get: (n, r, o) => E$(Reflect.get(n, r, o)), set: () => !1, deleteProperty: () => !1 });
@@ -38227,13 +38227,13 @@ function sde(t, e) {
38227
38227
  var _e = Lt(() => (d(je), ye(() => d(je).length === 0))), at = Lt(() => !d(_e)), ve = Lt(() => !d(_e)), Te = Lt(() => !d(_e)), be = Lt(() => !d(_e)), Le = Lt(() => !d(_e)), Ut = Lt(() => !d(_e));
38228
38228
  (function(Ht, nn) {
38229
38229
  Qt(nn, !1);
38230
- var Wr = ge(void 0, !0), tr = L(nn, "readOnly", 9, !1), ar = L(nn, "onExpandAll", 9), wn = L(nn, "onCollapseAll", 9), nr = L(nn, "onFormat", 9), gi = L(nn, "onCompact", 9), an = L(nn, "onSort", 9), xr = L(nn, "onTransform", 9), lr = L(nn, "onToggleSearch", 9), gr = L(nn, "onUndo", 9), oo = L(nn, "onRedo", 9), Fr = L(nn, "canExpandAll", 9), fn = L(nn, "canCollapseAll", 9), ei = L(nn, "canUndo", 9), Bo = L(nn, "canRedo", 9), vi = L(nn, "canFormat", 9), Ar = L(nn, "canCompact", 9), $r = L(nn, "canSort", 9), Xo = L(nn, "canTransform", 9), se = L(nn, "onRenderMenu", 9), Oe = ge(void 0, !0), Ze = ge(void 0, !0), yt = { type: "button", icon: L1, title: "Search (Ctrl+F)", className: "jse-search", onClick: lr() }, Ge = ge(void 0, !0);
38230
+ var Wr = ge(void 0, !0), tr = L(nn, "readOnly", 9, !1), ar = L(nn, "onExpandAll", 9), wn = L(nn, "onCollapseAll", 9), nr = L(nn, "onFormat", 9), gi = L(nn, "onCompact", 9), an = L(nn, "onSort", 9), xr = L(nn, "onTransform", 9), lr = L(nn, "onToggleSearch", 9), gr = L(nn, "onUndo", 9), oo = L(nn, "onRedo", 9), Fr = L(nn, "canExpandAll", 9), fn = L(nn, "canCollapseAll", 9), ei = L(nn, "canUndo", 9), Bo = L(nn, "canRedo", 9), vi = L(nn, "canFormat", 9), Ar = L(nn, "canCompact", 9), $r = L(nn, "canSort", 9), Xo = L(nn, "canTransform", 9), se = L(nn, "onRenderMenu", 9), Me = ge(void 0, !0), Ze = ge(void 0, !0), yt = { type: "button", icon: L1, title: "Search (Ctrl+F)", className: "jse-search", onClick: lr() }, Ge = ge(void 0, !0);
38231
38231
  Pe(() => (V(ar()), V(Fr())), () => {
38232
- N(Oe, { type: "button", icon: h$, title: "Expand all", className: "jse-expand-all", onClick: ar(), disabled: !Fr() });
38232
+ N(Me, { type: "button", icon: h$, title: "Expand all", className: "jse-expand-all", onClick: ar(), disabled: !Fr() });
38233
38233
  }), Pe(() => (V(wn()), V(fn())), () => {
38234
38234
  N(Ze, { type: "button", icon: p$, title: "Collapse all", className: "jse-collapse-all", onClick: wn(), disabled: !fn() });
38235
- }), Pe(() => (V(tr()), d(Oe), d(Ze), V(nr()), V(vi()), V(gi()), V(Ar()), V(an()), V($r()), V(xr()), V(Xo()), V(gr()), V(ei()), V(oo()), V(Bo())), () => {
38236
- N(Ge, tr() ? [d(Oe), d(Ze), { type: "separator" }, yt, { type: "space" }] : [d(Oe), d(Ze), { type: "separator" }, { type: "button", icon: k3, title: "Format JSON: add proper indentation and new lines (Ctrl+I)", className: "jse-format", onClick: nr(), disabled: tr() || !vi() }, { type: "button", icon: Xce, title: "Compact JSON: remove all white spacing and new lines (Ctrl+Shift+I)", className: "jse-compact", onClick: gi(), disabled: tr() || !Ar() }, { type: "separator" }, { type: "button", icon: H0, title: "Sort", className: "jse-sort", onClick: an(), disabled: tr() || !$r() }, { type: "button", icon: U0, title: "Transform contents (filter, sort, project)", className: "jse-transform", onClick: xr(), disabled: tr() || !Xo() }, yt, { type: "separator" }, { type: "button", icon: Xk, title: "Undo (Ctrl+Z)", className: "jse-undo", onClick: gr(), disabled: !ei() }, { type: "button", icon: Yk, title: "Redo (Ctrl+Shift+Z)", className: "jse-redo", onClick: oo(), disabled: !Bo() }, { type: "space" }]);
38235
+ }), Pe(() => (V(tr()), d(Me), d(Ze), V(nr()), V(vi()), V(gi()), V(Ar()), V(an()), V($r()), V(xr()), V(Xo()), V(gr()), V(ei()), V(oo()), V(Bo())), () => {
38236
+ N(Ge, tr() ? [d(Me), d(Ze), { type: "separator" }, yt, { type: "space" }] : [d(Me), d(Ze), { type: "separator" }, { type: "button", icon: k3, title: "Format JSON: add proper indentation and new lines (Ctrl+I)", className: "jse-format", onClick: nr(), disabled: tr() || !vi() }, { type: "button", icon: Xce, title: "Compact JSON: remove all white spacing and new lines (Ctrl+Shift+I)", className: "jse-compact", onClick: gi(), disabled: tr() || !Ar() }, { type: "separator" }, { type: "button", icon: H0, title: "Sort", className: "jse-sort", onClick: an(), disabled: tr() || !$r() }, { type: "button", icon: U0, title: "Transform contents (filter, sort, project)", className: "jse-transform", onClick: xr(), disabled: tr() || !Xo() }, yt, { type: "separator" }, { type: "button", icon: Xk, title: "Undo (Ctrl+Z)", className: "jse-undo", onClick: gr(), disabled: !ei() }, { type: "button", icon: Yk, title: "Redo (Ctrl+Shift+Z)", className: "jse-redo", onClick: oo(), disabled: !Bo() }, { type: "space" }]);
38237
38237
  }), Pe(() => (V(se()), d(Ge)), () => {
38238
38238
  N(Wr, se()(d(Ge)) || d(Ge));
38239
38239
  }), Tr(), yn(!0), mx(Ht, { get items() {
@@ -38316,7 +38316,7 @@ function sde(t, e) {
38316
38316
  Be($r, (Ge) => {
38317
38317
  d(ei) !== void 0 && Ge(Xo);
38318
38318
  });
38319
- var se = Ee($r, 2), Oe = (Ge) => {
38319
+ var se = Ee($r, 2), Me = (Ge) => {
38320
38320
  var Tt = qfe(), Rt = me(Tt);
38321
38321
  pt(() => {
38322
38322
  var It;
@@ -38324,7 +38324,7 @@ function sde(t, e) {
38324
38324
  }), pe(Ge, Tt);
38325
38325
  };
38326
38326
  Be(se, (Ge) => {
38327
- d(Bo) !== void 0 && Ge(Oe);
38327
+ d(Bo) !== void 0 && Ge(Me);
38328
38328
  });
38329
38329
  var Ze = Ee(se, 2), yt = (Ge) => {
38330
38330
  var Tt = Yfe(), Rt = me(Tt);
@@ -38805,8 +38805,8 @@ function Ode(t, e) {
38805
38805
  function lt(se) {
38806
38806
  if (!h()) {
38807
38807
  i("onSortByHeader", se);
38808
- var Oe = se.sortDirection === xa.desc ? -1 : 1;
38809
- Nn(m$(d(G), [], se.path, Oe), (Ze, yt) => ({ state: yt, sortedColumn: se }));
38808
+ var Me = se.sortDirection === xa.desc ? -1 : 1;
38809
+ Nn(m$(d(G), [], se.path, Me), (Ze, yt) => ({ state: yt, sortedColumn: se }));
38810
38810
  }
38811
38811
  }
38812
38812
  ns(() => {
@@ -38815,16 +38815,16 @@ function Ode(t, e) {
38815
38815
  var He = ge(void 0, !0);
38816
38816
  function ot(se) {
38817
38817
  if (se.json !== void 0 || se.text !== void 0) {
38818
- var Oe = d(G) !== void 0 && se.json !== void 0;
38819
- g().add({ type: "tree", undo: { patch: Oe ? [{ op: "replace", path: "", value: se.json }] : void 0, json: se.json, text: se.text, documentState: se.documentState, textIsRepaired: se.textIsRepaired, selection: Al(se.selection), sortedColumn: se.sortedColumn }, redo: { patch: Oe ? [{ op: "replace", path: "", value: d(G) }] : void 0, json: d(G), text: d(ee), documentState: d(fe), textIsRepaired: d(rt), selection: Al(d(xe)), sortedColumn: d(nt) } });
38818
+ var Me = d(G) !== void 0 && se.json !== void 0;
38819
+ g().add({ type: "tree", undo: { patch: Me ? [{ op: "replace", path: "", value: se.json }] : void 0, json: se.json, text: se.text, documentState: se.documentState, textIsRepaired: se.textIsRepaired, selection: Al(se.selection), sortedColumn: se.sortedColumn }, redo: { patch: Me ? [{ op: "replace", path: "", value: d(G) }] : void 0, json: d(G), text: d(ee), documentState: d(fe), textIsRepaired: d(rt), selection: Al(d(xe)), sortedColumn: d(nt) } });
38820
38820
  }
38821
38821
  }
38822
38822
  var Ct = ge([], !0), Vt = Eg(u$);
38823
- function Et(se, Oe, Ze, yt) {
38823
+ function Et(se, Me, Ze, yt) {
38824
38824
  kh(() => {
38825
38825
  var Ge;
38826
38826
  try {
38827
- Ge = Vt(se, Oe, Ze, yt);
38827
+ Ge = Vt(se, Me, Ze, yt);
38828
38828
  } catch (Tt) {
38829
38829
  Ge = [{ path: [], message: "Failed to validate: " + Tt.message, severity: nl.warning }];
38830
38830
  }
@@ -38834,24 +38834,24 @@ function Ode(t, e) {
38834
38834
  function cn() {
38835
38835
  return i("validate"), d(ne) ? { parseError: d(ne), isRepairable: !1 } : (Et(d(G), E(), x(), M()), fr(d(Ct)) ? void 0 : { validationErrors: d(Ct) });
38836
38836
  }
38837
- function kn(se, Oe) {
38838
- if (i("patch", se, Oe), d(G) === void 0) throw new Error("Cannot apply patch: no JSON");
38839
- var Ze = d(G), yt = { json: void 0, text: d(ee), documentState: d(fe), selection: Al(d(xe)), sortedColumn: d(nt), textIsRepaired: d(rt) }, Ge = qF(d(G), se), Tt = $F(d(G), d(fe), se), Rt = yfe(d(nt), se, d($e)), It = typeof Oe == "function" ? Oe(Tt.json, Tt.documentState, d(xe)) : void 0;
38837
+ function kn(se, Me) {
38838
+ if (i("patch", se, Me), d(G) === void 0) throw new Error("Cannot apply patch: no JSON");
38839
+ var Ze = d(G), yt = { json: void 0, text: d(ee), documentState: d(fe), selection: Al(d(xe)), sortedColumn: d(nt), textIsRepaired: d(rt) }, Ge = qF(d(G), se), Tt = $F(d(G), d(fe), se), Rt = yfe(d(nt), se, d($e)), It = typeof Me == "function" ? Me(Tt.json, Tt.documentState, d(xe)) : void 0;
38840
38840
  return N(G, (It == null ? void 0 : It.json) !== void 0 ? It.json : Tt.json), N(fe, (It == null ? void 0 : It.state) !== void 0 ? It.state : Tt.documentState), N(xe, (It == null ? void 0 : It.selection) !== void 0 ? It.selection : d(xe)), N(nt, (It == null ? void 0 : It.sortedColumn) !== void 0 ? It.sortedColumn : Rt), N(ee, void 0), N(rt, !1), N(je, void 0), N(z, void 0), N(ne, void 0), g().add({ type: "tree", undo: ht({ patch: Ge }, yt), redo: { patch: se, json: void 0, text: void 0, documentState: d(fe), selection: Al(d(xe)), sortedColumn: d(nt), textIsRepaired: d(rt) } }), { json: d(G), previousJson: Ze, undo: Ge, redo: se };
38841
38841
  }
38842
- function Nn(se, Oe) {
38843
- i("handlePatch", se, Oe);
38844
- var Ze = { json: d(G), text: d(ee) }, yt = kn(se, Oe);
38842
+ function Nn(se, Me) {
38843
+ i("handlePatch", se, Me);
38844
+ var Ze = { json: d(G), text: d(ee) }, yt = kn(se, Me);
38845
38845
  return _n(Ze, yt), yt;
38846
38846
  }
38847
- function _n(se, Oe) {
38847
+ function _n(se, Me) {
38848
38848
  if ((se.json !== void 0 || (se == null ? void 0 : se.text) !== void 0) && I()) {
38849
38849
  if (d(ee) !== void 0) {
38850
38850
  var Ze = { text: d(ee), json: void 0 };
38851
- I()(Ze, se, { contentErrors: cn(), patchResult: Oe });
38851
+ I()(Ze, se, { contentErrors: cn(), patchResult: Me });
38852
38852
  } else if (d(G) !== void 0) {
38853
38853
  var yt = { text: void 0, json: d(G) };
38854
- I()(yt, se, { contentErrors: cn(), patchResult: Oe });
38854
+ I()(yt, se, { contentErrors: cn(), patchResult: Me });
38855
38855
  }
38856
38856
  }
38857
38857
  }
@@ -38862,7 +38862,7 @@ function Ode(t, e) {
38862
38862
  i("pasted multiline text", { pastedText: se }), N(z, se);
38863
38863
  }
38864
38864
  function sn(se) {
38865
- var Oe = parseInt(se[0], 10), Ze = [String(Oe + 1), ...se.slice(1)];
38865
+ var Me = parseInt(se[0], 10), Ze = [String(Me + 1), ...se.slice(1)];
38866
38866
  return Ls(d(G), Ze) ? qn(Ze) : qn(se);
38867
38867
  }
38868
38868
  function Pt() {
@@ -38878,16 +38878,16 @@ function Ode(t, e) {
38878
38878
  }
38879
38879
  function Ir() {
38880
38880
  if (d(rt) && d(G) !== void 0) {
38881
- var se = { json: d(G), text: d(ee) }, Oe = { json: d(G), documentState: d(fe), selection: d(xe), sortedColumn: d(nt), text: d(ee), textIsRepaired: d(rt) };
38882
- N(ee, void 0), N(rt, !1), Ce(d(G)), ot(Oe), _n(se, void 0);
38881
+ var se = { json: d(G), text: d(ee) }, Me = { json: d(G), documentState: d(fe), selection: d(xe), sortedColumn: d(nt), text: d(ee), textIsRepaired: d(rt) };
38882
+ N(ee, void 0), N(rt, !1), Ce(d(G)), ot(Me), _n(se, void 0);
38883
38883
  }
38884
38884
  return { json: d(G), text: d(ee) };
38885
38885
  }
38886
38886
  function Ur(se) {
38887
- var { scrollToWhenVisible: Oe = !0 } = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, Ze = d(we) ? _m : 0, yt = E3(se, d($e), J, oe), Ge = yt - d(Y) + Ze + oe, Tt = Yr(se);
38887
+ var { scrollToWhenVisible: Me = !0 } = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, Ze = d(we) ? _m : 0, yt = E3(se, d($e), J, oe), Ge = yt - d(Y) + Ze + oe, Tt = Yr(se);
38888
38888
  if (i("scrollTo", { path: se, top: yt, scrollTop: d(Y), elem: Tt }), !d(Q)) return Promise.resolve();
38889
38889
  var Rt = d(Q).getBoundingClientRect();
38890
- if (Tt && !Oe) {
38890
+ if (Tt && !Me) {
38891
38891
  var It = Tt.getBoundingClientRect();
38892
38892
  if (It.bottom > Rt.top && It.top < Rt.bottom) return Promise.resolve();
38893
38893
  }
@@ -38903,9 +38903,9 @@ function Ode(t, e) {
38903
38903
  });
38904
38904
  }
38905
38905
  function Lr(se) {
38906
- var Oe = Yr(se);
38907
- if (Oe && d(Q)) {
38908
- var Ze = d(Q).getBoundingClientRect(), yt = Oe.getBoundingClientRect();
38906
+ var Me = Yr(se);
38907
+ if (Me && d(Q)) {
38908
+ var Ze = d(Q).getBoundingClientRect(), yt = Me.getBoundingClientRect();
38909
38909
  if (yt.right > Ze.right) {
38910
38910
  var Ge = yt.right - Ze.right;
38911
38911
  sa(Q, d(Q).scrollLeft += Ge);
@@ -38917,9 +38917,9 @@ function Ode(t, e) {
38917
38917
  }
38918
38918
  }
38919
38919
  function mo(se) {
38920
- (function(Oe) {
38920
+ (function(Me) {
38921
38921
  if (d(Q)) {
38922
- var { rowIndex: Ze } = ba(Oe, d($e)), yt = E3(Oe, d($e), J, oe), Ge = yt + (J[Ze] || oe), Tt = oe, Rt = d(Q).getBoundingClientRect(), It = d(Y), Ln = d(Y) + Rt.height - Tt;
38922
+ var { rowIndex: Ze } = ba(Me, d($e)), yt = E3(Me, d($e), J, oe), Ge = yt + (J[Ze] || oe), Tt = oe, Rt = d(Q).getBoundingClientRect(), It = d(Y), Ln = d(Y) + Rt.height - Tt;
38923
38923
  if (Ge > Ln) {
38924
38924
  var ur = Ge - Ln;
38925
38925
  sa(Q, d(Q).scrollTop += ur);
@@ -38932,14 +38932,14 @@ function Ode(t, e) {
38932
38932
  })(se), Lr(se);
38933
38933
  }
38934
38934
  function Yr(se) {
38935
- var Oe, Ze, yt = d($e).find((Tt) => Ll(se.slice(1), Tt)), Ge = yt ? se.slice(0, 1).concat(yt) : se;
38936
- return (Oe = (Ze = d(Q)) === null || Ze === void 0 ? void 0 : Ze.querySelector('td[data-path="'.concat(w0(Ge), '"]'))) !== null && Oe !== void 0 ? Oe : void 0;
38935
+ var Me, Ze, yt = d($e).find((Tt) => Ll(se.slice(1), Tt)), Ge = yt ? se.slice(0, 1).concat(yt) : se;
38936
+ return (Me = (Ze = d(Q)) === null || Ze === void 0 ? void 0 : Ze.querySelector('td[data-path="'.concat(w0(Ge), '"]'))) !== null && Me !== void 0 ? Me : void 0;
38937
38937
  }
38938
38938
  function so(se) {
38939
- var Oe, { anchor: Ze, left: yt, top: Ge, width: Tt, height: Rt, offsetTop: It, offsetLeft: Ln, showTip: ur } = se, rr = function(ke) {
38939
+ var Me, { anchor: Ze, left: yt, top: Ge, width: Tt, height: Rt, offsetTop: It, offsetLeft: Ln, showTip: ur } = se, rr = function(ke) {
38940
38940
  var { json: Ke, documentState: kt, selection: bt, readOnly: gt, onEditValue: dn, onEditRow: hn, onToggleEnforceString: Hn, onCut: Or, onCopy: or, onPaste: Xr, onRemove: mn, onDuplicateRow: Co, onInsertBeforeRow: Br, onInsertAfterRow: So, onRemoveRow: wr } = ke, rn = Ke !== void 0, cr = !!bt, gn = Ke !== void 0 && bt ? Ft(Ke, Gt(bt)) : void 0, qt = rn && (Hr(bt) || Pi(bt) || yr(bt)), jn = !gt && rn && bt !== void 0 && Oy(bt), Po = jn && !Oo(gn), zr = !gt && qt, ko = bt !== void 0 && Dl(Ke, kt, Gt(bt));
38941
38941
  return [{ type: "separator" }, { type: "row", items: [{ type: "column", items: [{ type: "label", text: "Table cell:" }, { type: "dropdown-button", main: { type: "button", onClick: () => dn(), icon: Oh, text: "Edit", title: "Edit the value (Double-click on the value)", disabled: !jn }, width: "11em", items: [{ type: "button", icon: Oh, text: "Edit", title: "Edit the value (Double-click on the value)", onClick: () => dn(), disabled: !jn }, { type: "button", icon: ko ? p6 : v6, text: "Enforce string", title: "Enforce keeping the value as string when it contains a numeric value", onClick: () => Hn(), disabled: !Po }] }, { type: "dropdown-button", main: { type: "button", onClick: () => Or(!0), icon: Mh, text: "Cut", title: "Cut selected contents, formatted with indentation (Ctrl+X)", disabled: !zr }, width: "10em", items: [{ type: "button", icon: Mh, text: "Cut formatted", title: "Cut selected contents, formatted with indentation (Ctrl+X)", onClick: () => Or(!0), disabled: gt || !qt }, { type: "button", icon: Mh, text: "Cut compacted", title: "Cut selected contents, without indentation (Ctrl+Shift+X)", onClick: () => Or(!1), disabled: gt || !qt }] }, { type: "dropdown-button", main: { type: "button", onClick: () => or(!0), icon: bc, text: "Copy", title: "Copy selected contents, formatted with indentation (Ctrl+C)", disabled: !qt }, width: "12em", items: [{ type: "button", icon: bc, text: "Copy formatted", title: "Copy selected contents, formatted with indentation (Ctrl+C)", onClick: () => or(!1), disabled: !qt }, { type: "button", icon: bc, text: "Copy compacted", title: "Copy selected contents, without indentation (Ctrl+Shift+C)", onClick: () => or(!1), disabled: !qt }] }, { type: "button", onClick: () => Xr(), icon: f6, text: "Paste", title: "Paste clipboard contents (Ctrl+V)", disabled: gt || !cr }, { type: "button", onClick: () => mn(), icon: HC, text: "Remove", title: "Remove selected contents (Delete)", disabled: gt || !qt }] }, { type: "column", items: [{ type: "label", text: "Table row:" }, { type: "button", onClick: () => hn(), icon: Oh, text: "Edit row", title: "Edit the current row", disabled: gt || !cr || !rn }, { type: "button", onClick: () => Co(), icon: h6, text: "Duplicate row", title: "Duplicate the current row (Ctrl+D)", disabled: gt || !cr || !rn }, { type: "button", onClick: () => Br(), icon: ph, text: "Insert before", title: "Insert a row before the current row", disabled: gt || !cr || !rn }, { type: "button", onClick: () => So(), icon: ph, text: "Insert after", title: "Insert a row after the current row", disabled: gt || !cr || !rn }, { type: "button", onClick: () => wr(), icon: HC, text: "Remove row", title: "Remove current row", disabled: gt || !cr || !rn }] }] }];
38942
- }({ json: d(G), documentState: d(fe), selection: d(xe), readOnly: h(), onEditValue: Lo, onEditRow: wo, onToggleEnforceString: Dr, onCut: Ei, onCopy: mi, onPaste: On, onRemove: Fe, onDuplicateRow: vt, onInsertBeforeRow: wt, onInsertAfterRow: Mn, onRemoveRow: Se }), lo = (Oe = U()(rr)) !== null && Oe !== void 0 ? Oe : rr;
38942
+ }({ json: d(G), documentState: d(fe), selection: d(xe), readOnly: h(), onEditValue: Lo, onEditRow: wo, onToggleEnforceString: Dr, onCut: Ei, onCopy: mi, onPaste: On, onRemove: Fe, onDuplicateRow: vt, onInsertBeforeRow: wt, onInsertAfterRow: Mn, onRemoveRow: Se }), lo = (Me = U()(rr)) !== null && Me !== void 0 ? Me : rr;
38943
38943
  if (lo !== !1) {
38944
38944
  var bi = { left: yt, top: Ge, offsetTop: It, offsetLeft: Ln, width: Tt, height: Rt, anchor: Ze, closeOnOuterClick: !0, onClose: () => {
38945
38945
  Ne = !1, Pt();
@@ -38953,7 +38953,7 @@ function Ode(t, e) {
38953
38953
  function xo(se) {
38954
38954
  if (!Ai(d(xe))) if (se && (se.stopPropagation(), se.preventDefault()), se && se.type === "contextmenu" && se.target !== d(le)) so({ left: se.clientX, top: se.clientY, width: vu, height: gu, showTip: !1 });
38955
38955
  else {
38956
- var Oe, Ze = (Oe = d(Q)) === null || Oe === void 0 ? void 0 : Oe.querySelector(".jse-table-cell.jse-selected-value");
38956
+ var Me, Ze = (Me = d(Q)) === null || Me === void 0 ? void 0 : Me.querySelector(".jse-table-cell.jse-selected-value");
38957
38957
  if (Ze) so({ anchor: Ze, offsetTop: 2, width: vu, height: gu, showTip: !1 });
38958
38958
  else {
38959
38959
  var yt, Ge = (yt = d(Q)) === null || yt === void 0 ? void 0 : yt.getBoundingClientRect();
@@ -38975,8 +38975,8 @@ function Ode(t, e) {
38975
38975
  }
38976
38976
  function Dr() {
38977
38977
  if (!h() && yr(d(xe))) {
38978
- var se = d(xe).path, Oe = tn(se), Ze = Ft(d(G), se), yt = !Dl(d(G), d(fe), se), Ge = yt ? String(Ze) : Fp(String(Ze), x());
38979
- i("handleToggleEnforceString", { enforceString: yt, value: Ze, updatedValue: Ge }), Nn([{ op: "replace", path: Oe, value: Ge }], (Tt, Rt) => ({ state: ux(d(G), Rt, se, { type: "value", enforceString: yt }) }));
38978
+ var se = d(xe).path, Me = tn(se), Ze = Ft(d(G), se), yt = !Dl(d(G), d(fe), se), Ge = yt ? String(Ze) : Fp(String(Ze), x());
38979
+ i("handleToggleEnforceString", { enforceString: yt, value: Ze, updatedValue: Ge }), Nn([{ op: "replace", path: Me, value: Ge }], (Tt, Rt) => ({ state: ux(d(G), Rt, se, { type: "value", enforceString: yt }) }));
38980
38980
  }
38981
38981
  }
38982
38982
  function no() {
@@ -39044,39 +39044,39 @@ function Ode(t, e) {
39044
39044
  }
39045
39045
  function vt() {
39046
39046
  (function(se) {
39047
- var { json: Oe, selection: Ze, columns: yt, readOnly: Ge, onPatch: Tt } = se;
39048
- if (!Ge && Oe !== void 0 && Ze && Ch(Ze)) {
39047
+ var { json: Me, selection: Ze, columns: yt, readOnly: Ge, onPatch: Tt } = se;
39048
+ if (!Ge && Me !== void 0 && Ze && Ch(Ze)) {
39049
39049
  var { rowIndex: Rt, columnIndex: It } = ba(Gt(Ze), yt);
39050
39050
  cs("duplicate row", { rowIndex: Rt });
39051
39051
  var Ln = [String(Rt)];
39052
- Tt(WF(Oe, [Ln]), (ur, rr) => ({ state: rr, selection: qn(kf({ rowIndex: Rt < Oe.length ? Rt + 1 : Rt, columnIndex: It }, yt)) }));
39052
+ Tt(WF(Me, [Ln]), (ur, rr) => ({ state: rr, selection: qn(kf({ rowIndex: Rt < Me.length ? Rt + 1 : Rt, columnIndex: It }, yt)) }));
39053
39053
  }
39054
39054
  })({ json: d(G), selection: d(xe), columns: d($e), readOnly: h(), onPatch: Nn });
39055
39055
  }
39056
39056
  function wt() {
39057
39057
  (function(se) {
39058
- var { json: Oe, selection: Ze, columns: yt, readOnly: Ge, onPatch: Tt } = se;
39059
- if (!Ge && Oe !== void 0 && Ze && Ch(Ze)) {
39058
+ var { json: Me, selection: Ze, columns: yt, readOnly: Ge, onPatch: Tt } = se;
39059
+ if (!Ge && Me !== void 0 && Ze && Ch(Ze)) {
39060
39060
  var { rowIndex: Rt } = ba(Gt(Ze), yt);
39061
- cs("insert before row", { rowIndex: Rt }), Tt(Sh(Oe, [String(Rt)], [{ key: "", value: Ko(Oe[0]) ? {} : "" }]));
39061
+ cs("insert before row", { rowIndex: Rt }), Tt(Sh(Me, [String(Rt)], [{ key: "", value: Ko(Me[0]) ? {} : "" }]));
39062
39062
  }
39063
39063
  })({ json: d(G), selection: d(xe), columns: d($e), readOnly: h(), onPatch: Nn });
39064
39064
  }
39065
39065
  function Mn() {
39066
39066
  (function(se) {
39067
- var { json: Oe, selection: Ze, columns: yt, readOnly: Ge, onPatch: Tt } = se;
39068
- if (!Ge && Oe !== void 0 && Ze && Ch(Ze)) {
39067
+ var { json: Me, selection: Ze, columns: yt, readOnly: Ge, onPatch: Tt } = se;
39068
+ if (!Ge && Me !== void 0 && Ze && Ch(Ze)) {
39069
39069
  var { rowIndex: Rt, columnIndex: It } = ba(Gt(Ze), yt);
39070
39070
  cs("insert after row", { rowIndex: Rt });
39071
- var Ln = Rt + 1, ur = [String(Ln)], rr = [{ key: "", value: Ko(Oe[0]) ? {} : "" }];
39072
- Tt(Ln < Oe.length ? Sh(Oe, ur, rr) : o2(Oe, [], rr), (lo, bi) => ({ state: bi, selection: qn(kf({ rowIndex: Ln, columnIndex: It }, yt)) }));
39071
+ var Ln = Rt + 1, ur = [String(Ln)], rr = [{ key: "", value: Ko(Me[0]) ? {} : "" }];
39072
+ Tt(Ln < Me.length ? Sh(Me, ur, rr) : o2(Me, [], rr), (lo, bi) => ({ state: bi, selection: qn(kf({ rowIndex: Ln, columnIndex: It }, yt)) }));
39073
39073
  }
39074
39074
  })({ json: d(G), selection: d(xe), columns: d($e), readOnly: h(), onPatch: Nn });
39075
39075
  }
39076
39076
  function Se() {
39077
39077
  (function(se) {
39078
- var { json: Oe, selection: Ze, columns: yt, readOnly: Ge, onPatch: Tt } = se;
39079
- if (!Ge && Oe !== void 0 && Ze && Ch(Ze)) {
39078
+ var { json: Me, selection: Ze, columns: yt, readOnly: Ge, onPatch: Tt } = se;
39079
+ if (!Ge && Me !== void 0 && Ze && Ch(Ze)) {
39080
39080
  var { rowIndex: Rt, columnIndex: It } = ba(Gt(Ze), yt);
39081
39081
  cs("remove row", { rowIndex: Rt }), Tt(Py([[String(Rt)]]), (Ln, ur) => {
39082
39082
  var rr = Rt < Ln.length ? Rt : Rt > 0 ? Rt - 1 : void 0, lo = rr !== void 0 ? qn(kf({ rowIndex: rr, columnIndex: It }, yt)) : void 0;
@@ -39091,17 +39091,17 @@ function Ode(t, e) {
39091
39091
  })).apply(this, arguments);
39092
39092
  }
39093
39093
  function at(se) {
39094
- var Oe;
39095
- se.preventDefault(), ve((Oe = se.clipboardData) === null || Oe === void 0 ? void 0 : Oe.getData("text/plain"));
39094
+ var Me;
39095
+ se.preventDefault(), ve((Me = se.clipboardData) === null || Me === void 0 ? void 0 : Me.getData("text/plain"));
39096
39096
  }
39097
39097
  function ve(se) {
39098
39098
  se !== void 0 && w$({ clipboardText: se, json: d(G), selection: d(xe), readOnly: h(), parser: x(), onPatch: Nn, onChangeText: be, onPasteMultilineText: sr, openRepairModal: nn });
39099
39099
  }
39100
- function Te(se, Oe) {
39101
- var Ze = { json: d(G), text: d(ee) }, yt = { json: d(G), documentState: d(fe), selection: d(xe), sortedColumn: d(nt), text: d(ee), textIsRepaired: d(rt) }, Ge = ia(se, d(fe)), Tt = typeof Oe == "function" ? Oe(se, Ge, d(xe)) : void 0;
39100
+ function Te(se, Me) {
39101
+ var Ze = { json: d(G), text: d(ee) }, yt = { json: d(G), documentState: d(fe), selection: d(xe), sortedColumn: d(nt), text: d(ee), textIsRepaired: d(rt) }, Ge = ia(se, d(fe)), Tt = typeof Me == "function" ? Me(se, Ge, d(xe)) : void 0;
39102
39102
  N(G, (Tt == null ? void 0 : Tt.json) !== void 0 ? Tt.json : se), N(fe, (Tt == null ? void 0 : Tt.state) !== void 0 ? Tt.state : Ge), N(xe, (Tt == null ? void 0 : Tt.selection) !== void 0 ? Tt.selection : d(xe)), N(nt, void 0), N(ee, void 0), N(rt, !1), N(ne, void 0), Ce(d(G)), ot(yt), _n(Ze, void 0);
39103
39103
  }
39104
- function be(se, Oe) {
39104
+ function be(se, Me) {
39105
39105
  i("handleChangeText");
39106
39106
  var Ze = { json: d(G), text: d(ee) }, yt = { json: d(G), documentState: d(fe), selection: d(xe), sortedColumn: d(nt), text: d(ee), textIsRepaired: d(rt) };
39107
39107
  try {
@@ -39113,8 +39113,8 @@ function Ode(t, e) {
39113
39113
  N(G, void 0), N(fe, void 0), N(ee, se), N(rt, !1), N(ne, d(ee) !== "" ? lp(d(ee), Tt.message || String(Tt)) : void 0);
39114
39114
  }
39115
39115
  }
39116
- if (typeof Oe == "function") {
39117
- var Ge = Oe(d(G), d(fe), d(xe));
39116
+ if (typeof Me == "function") {
39117
+ var Ge = Me(d(G), d(fe), d(xe));
39118
39118
  N(G, (Ge == null ? void 0 : Ge.json) !== void 0 ? Ge.json : d(G)), N(fe, (Ge == null ? void 0 : Ge.state) !== void 0 ? Ge.state : d(fe)), N(xe, (Ge == null ? void 0 : Ge.selection) !== void 0 ? Ge.selection : d(xe));
39119
39119
  }
39120
39120
  Ce(d(G)), ot(yt), _n(Ze, void 0);
@@ -39124,8 +39124,8 @@ function Ode(t, e) {
39124
39124
  }
39125
39125
  function Ut(se) {
39126
39126
  if (d(G) !== void 0) {
39127
- var { id: Oe, onTransform: Ze, onClose: yt } = se, Ge = se.rootPath || [];
39128
- Ne = !0, B()({ id: Oe || c, json: d(G), rootPath: Ge || [], onTransform: (Tt) => {
39127
+ var { id: Me, onTransform: Ze, onClose: yt } = se, Ge = se.rootPath || [];
39128
+ Ne = !0, B()({ id: Me || c, json: d(G), rootPath: Ge || [], onTransform: (Tt) => {
39129
39129
  Ze ? Ze({ operations: Tt, json: d(G), transformedJson: el(d(G), Tt) }) : (i("onTransform", Ge, Tt), Nn(Tt));
39130
39130
  }, onClose: () => {
39131
39131
  Ne = !1, setTimeout(Pt), yt && yt();
@@ -39137,13 +39137,13 @@ function Ode(t, e) {
39137
39137
  Ne = !1, setTimeout(Pt);
39138
39138
  } });
39139
39139
  }
39140
- function nn(se, Oe) {
39141
- N(de, { text: se, onParse: (Ze) => Nv(Ze, (yt) => $v(yt, x())), onRepair: CF, onApply: Oe, onClose: Pt });
39140
+ function nn(se, Me) {
39141
+ N(de, { text: se, onParse: (Ze) => Nv(Ze, (yt) => $v(yt, x())), onRepair: CF, onApply: Me, onClose: Pt });
39142
39142
  }
39143
39143
  function Wr() {
39144
39144
  (function(se) {
39145
- h() || d(G) === void 0 || (Ne = !0, j()({ id: u, json: d(G), rootPath: se, onSort: (Oe) => {
39146
- var { operations: Ze, itemPath: yt, direction: Ge } = Oe;
39145
+ h() || d(G) === void 0 || (Ne = !0, j()({ id: u, json: d(G), rootPath: se, onSort: (Me) => {
39146
+ var { operations: Ze, itemPath: yt, direction: Ge } = Me;
39147
39147
  i("onSort", Ze, se, yt, Ge), Nn(Ze, (Tt, Rt) => ({ state: Rt, sortedColumn: { path: yt, sortDirection: Ge === -1 ? xa.desc : xa.asc } }));
39148
39148
  }, onClose: () => {
39149
39149
  Ne = !1, setTimeout(Pt);
@@ -39160,8 +39160,8 @@ function Ode(t, e) {
39160
39160
  if (!h() && g().canUndo) {
39161
39161
  var se = g().undo();
39162
39162
  if (Ay(se)) {
39163
- var Oe = { json: d(G), text: d(ee) };
39164
- N(G, se.undo.patch ? el(d(G), se.undo.patch) : se.undo.json), N(fe, se.undo.documentState), N(xe, se.undo.selection), N(nt, se.undo.sortedColumn), N(ee, se.undo.text), N(rt, se.undo.textIsRepaired), N(ne, void 0), i("undo", { item: se, json: d(G) }), _n(Oe, se.undo.patch && se.redo.patch ? { json: d(G), previousJson: Oe.json, redo: se.undo.patch, undo: se.redo.patch } : void 0), Pt(), d(xe) && Ur(Gt(d(xe)), { scrollToWhenVisible: !1 });
39163
+ var Me = { json: d(G), text: d(ee) };
39164
+ N(G, se.undo.patch ? el(d(G), se.undo.patch) : se.undo.json), N(fe, se.undo.documentState), N(xe, se.undo.selection), N(nt, se.undo.sortedColumn), N(ee, se.undo.text), N(rt, se.undo.textIsRepaired), N(ne, void 0), i("undo", { item: se, json: d(G) }), _n(Me, se.undo.patch && se.redo.patch ? { json: d(G), previousJson: Me.json, redo: se.undo.patch, undo: se.redo.patch } : void 0), Pt(), d(xe) && Ur(Gt(d(xe)), { scrollToWhenVisible: !1 });
39165
39165
  } else D()(se);
39166
39166
  }
39167
39167
  }
@@ -39169,8 +39169,8 @@ function Ode(t, e) {
39169
39169
  if (!h() && g().canRedo) {
39170
39170
  var se = g().redo();
39171
39171
  if (Ay(se)) {
39172
- var Oe = { json: d(G), text: d(ee) };
39173
- N(G, se.redo.patch ? el(d(G), se.redo.patch) : se.redo.json), N(fe, se.redo.documentState), N(xe, se.redo.selection), N(nt, se.redo.sortedColumn), N(ee, se.redo.text), N(rt, se.redo.textIsRepaired), N(ne, void 0), i("redo", { item: se, json: d(G) }), _n(Oe, se.undo.patch && se.redo.patch ? { json: d(G), previousJson: Oe.json, redo: se.redo.patch, undo: se.undo.patch } : void 0), Pt(), d(xe) && Ur(Gt(d(xe)), { scrollToWhenVisible: !1 });
39172
+ var Me = { json: d(G), text: d(ee) };
39173
+ N(G, se.redo.patch ? el(d(G), se.redo.patch) : se.redo.json), N(fe, se.redo.documentState), N(xe, se.redo.selection), N(nt, se.redo.sortedColumn), N(ee, se.redo.text), N(rt, se.redo.textIsRepaired), N(ne, void 0), i("redo", { item: se, json: d(G) }), _n(Me, se.undo.patch && se.redo.patch ? { json: d(G), previousJson: Me.json, redo: se.redo.patch, undo: se.undo.patch } : void 0), Pt(), d(xe) && Ur(Gt(d(xe)), { scrollToWhenVisible: !1 });
39174
39174
  } else R()(se);
39175
39175
  }
39176
39176
  }
@@ -39182,13 +39182,13 @@ function Ode(t, e) {
39182
39182
  }), Pe(() => d(we), () => {
39183
39183
  (function(se) {
39184
39184
  if (d(Q)) {
39185
- var Oe = se ? _m : -100;
39186
- d(Q).scrollTo({ top: sa(Q, d(Q).scrollTop += Oe), left: d(Q).scrollLeft });
39185
+ var Me = se ? _m : -100;
39186
+ d(Q).scrollTo({ top: sa(Q, d(Q).scrollTop += Me), left: d(Q).scrollLeft });
39187
39187
  }
39188
39188
  })(d(we));
39189
39189
  }), Pe(() => V(p()), () => {
39190
39190
  (function(se) {
39191
- var Oe = { json: d(G) }, Ze = Hg(se) ? se.text !== d(ee) : !Fn(Oe.json, se.json);
39191
+ var Me = { json: d(G) }, Ze = Hg(se) ? se.text !== d(ee) : !Fn(Me.json, se.json);
39192
39192
  if (i("update external content", { isChanged: Ze }), Ze) {
39193
39193
  var yt = { json: d(G), documentState: d(fe), selection: d(xe), sortedColumn: d(nt), text: d(ee), textIsRepaired: d(rt) };
39194
39194
  if (Hg(se)) try {
@@ -39209,8 +39209,8 @@ function Ode(t, e) {
39209
39209
  Fn(d(xe), se) || (i("applyExternalSelection", { selection: d(xe), externalSelection: se }), Yg(se) && N(xe, se));
39210
39210
  })(m());
39211
39211
  }), Pe(() => (d($e), d(G), V(w()), d(Ve)), () => {
39212
- N($e, No(d(G)) ? function(se, Oe) {
39213
- var Ze = new Set(Oe.map(tn)), yt = new Set(se.map(tn));
39212
+ N($e, No(d(G)) ? function(se, Me) {
39213
+ var Ze = new Set(Me.map(tn)), yt = new Set(se.map(tn));
39214
39214
  for (var Ge of Ze) yt.has(Ge) || Ze.delete(Ge);
39215
39215
  for (var Tt of yt) Ze.has(Tt) || Ze.add(Tt);
39216
39216
  return [...Ze].map(Bs);
@@ -39227,7 +39227,7 @@ function Ode(t, e) {
39227
39227
  var se;
39228
39228
  se = d(xe), Fn(se, m()) || (i("onSelect", se), P()(se));
39229
39229
  }), Pe(() => (V(h()), V(v()), V(x()), d(q), d(G), d(fe), V(T())), () => {
39230
- N(He, { mode: $o.table, readOnly: h(), truncateTextSize: v(), parser: x(), normalization: d(q), getJson: () => d(G), getDocumentState: () => d(fe), findElement: Yr, findNextInside: sn, focus: Pt, onPatch: (se, Oe) => Nn(function(Ze, yt) {
39230
+ N(He, { mode: $o.table, readOnly: h(), truncateTextSize: v(), parser: x(), normalization: d(q), getJson: () => d(G), getDocumentState: () => d(fe), findElement: Yr, findNextInside: sn, focus: Pt, onPatch: (se, Me) => Nn(function(Ze, yt) {
39231
39231
  return Ze.flatMap((Ge) => {
39232
39232
  if (Vk(Ge)) {
39233
39233
  var Tt = Bs(Ge.path);
@@ -39238,7 +39238,7 @@ function Ode(t, e) {
39238
39238
  }
39239
39239
  return Ge;
39240
39240
  });
39241
- }(se, d(G)), Oe), onSelect: ce, onFind: ar, onPasteJson: Xt, onRenderValue: T() });
39241
+ }(se, d(G)), Me), onSelect: ce, onFind: ar, onPasteJson: Xt, onRenderValue: T() });
39242
39242
  }), Pe(() => (d(G), V(E()), V(x()), V(M())), () => {
39243
39243
  Et(d(G), E(), x(), M());
39244
39244
  }), Pe(() => (d(Ct), d($e)), () => {
@@ -39248,10 +39248,10 @@ function Ode(t, e) {
39248
39248
  yn(!0);
39249
39249
  var xr = Ade();
39250
39250
  it("mousedown", ku, function(se) {
39251
- !$p(se.target, (Oe) => Oe === d(Z)) && Ai(d(xe)) && (i("click outside the editor, exit edit mode"), N(xe, Al(d(xe))), ft && d(le) && (d(le).focus(), d(le).blur()), i("blur (outside editor)"), d(le) && d(le).blur());
39251
+ !$p(se.target, (Me) => Me === d(Z)) && Ai(d(xe)) && (i("click outside the editor, exit edit mode"), N(xe, Al(d(xe))), ft && d(le) && (d(le).focus(), d(le).blur()), i("blur (outside editor)"), d(le) && d(le).blur());
39252
39252
  });
39253
39253
  var lr, gr = _t(xr), oo = me(gr), Fr = (se) => {
39254
- (function(Oe, Ze) {
39254
+ (function(Me, Ze) {
39255
39255
  Qt(Ze, !1);
39256
39256
  var yt = L(Ze, "containsValidArray", 9), Ge = L(Ze, "readOnly", 9), Tt = L(Ze, "showSearch", 13, !1), Rt = L(Ze, "history", 9), It = L(Ze, "onSort", 9), Ln = L(Ze, "onTransform", 9), ur = L(Ze, "onContextMenu", 9), rr = L(Ze, "onUndo", 9), lo = L(Ze, "onRedo", 9), bi = L(Ze, "onRenderMenu", 9);
39257
39257
  function ie() {
@@ -39262,7 +39262,7 @@ function Ode(t, e) {
39262
39262
  N(ke, Ge() ? [{ type: "space" }] : [{ type: "button", icon: H0, title: "Sort", className: "jse-sort", onClick: It(), disabled: Ge() || !yt() }, { type: "button", icon: U0, title: "Transform contents (filter, sort, project)", className: "jse-transform", onClick: Ln(), disabled: Ge() || !yt() }, { type: "button", icon: L1, title: "Search (Ctrl+F)", className: "jse-search", onClick: ie, disabled: !yt() }, { type: "button", icon: d6, title: Xj, className: "jse-contextmenu", onClick: ur() }, { type: "separator" }, { type: "button", icon: Xk, title: "Undo (Ctrl+Z)", className: "jse-undo", onClick: rr(), disabled: !Rt().canUndo }, { type: "button", icon: Yk, title: "Redo (Ctrl+Shift+Z)", className: "jse-redo", onClick: lo(), disabled: !Rt().canRedo }, { type: "space" }]);
39263
39263
  }), Pe(() => (V(bi()), d(ke)), () => {
39264
39264
  N(Ke, bi()(d(ke)) || d(ke));
39265
- }), Tr(), yn(!0), mx(Oe, { get items() {
39265
+ }), Tr(), yn(!0), mx(Me, { get items() {
39266
39266
  return d(Ke);
39267
39267
  } }), Zt();
39268
39268
  })(se, { get containsValidArray() {
@@ -39275,15 +39275,15 @@ function Ode(t, e) {
39275
39275
  return _();
39276
39276
  }, get showSearch() {
39277
39277
  return d(we);
39278
- }, set showSearch(Oe) {
39279
- N(we, Oe);
39278
+ }, set showSearch(Me) {
39279
+ N(we, Me);
39280
39280
  }, $$legacy: !0 });
39281
39281
  };
39282
39282
  Be(oo, (se) => {
39283
39283
  b() && se(Fr);
39284
39284
  });
39285
39285
  var fn = Ee(oo, 2), ei = (se) => {
39286
- var Oe = Ede(), Ze = _t(Oe), yt = me(Ze);
39286
+ var Me = Ede(), Ze = _t(Me), yt = me(Ze);
39287
39287
  yt.readOnly = !0, ho(yt, (It) => N(le, It), () => d(le));
39288
39288
  var Ge = Ee(Ze, 2), Tt = (It) => {
39289
39289
  var Ln = kde(), ur = _t(Ln);
@@ -39555,7 +39555,7 @@ function Ode(t, e) {
39555
39555
  };
39556
39556
  Be(Ge, (It) => {
39557
39557
  d(Qe) ? It(Tt) : It(Rt, !1);
39558
- }), it("paste", yt, at), pe(se, Oe);
39558
+ }), it("paste", yt, at), pe(se, Me);
39559
39559
  }, Bo = (se) => {
39560
39560
  pe(se, Tde());
39561
39561
  };
@@ -39570,66 +39570,66 @@ function Ode(t, e) {
39570
39570
  });
39571
39571
  var $r = Ee(vi, 2), Xo = (se) => {
39572
39572
  f$(se, Ic(() => d(de), { onClose: () => {
39573
- var Oe;
39574
- (Oe = d(de)) === null || Oe === void 0 || Oe.onClose(), N(de, void 0);
39573
+ var Me;
39574
+ (Me = d(de)) === null || Me === void 0 || Me.onClose(), N(de, void 0);
39575
39575
  } }));
39576
39576
  };
39577
39577
  return Be($r, (se) => {
39578
39578
  d(de) && se(Xo);
39579
39579
  }), pt(() => lr = bn(gr, 1, "jse-table-mode svelte-1p86y3c", null, lr, { "no-main-menu": !b() })), it("mousedown", gr, function(se) {
39580
39580
  if (se.buttons === 1 || se.buttons === 2) {
39581
- var Oe = se.target;
39582
- Oe.isContentEditable || Pt();
39583
- var Ze = IF(Oe);
39581
+ var Me = se.target;
39582
+ Me.isContentEditable || Pt();
39583
+ var Ze = IF(Me);
39584
39584
  if (Ze) {
39585
39585
  if (Ai(d(xe)) && Xg(d(G), d(xe), Ze)) return;
39586
39586
  N(xe, qn(Ze)), se.preventDefault();
39587
39587
  }
39588
39588
  }
39589
39589
  }), it("keydown", gr, function(se) {
39590
- var Oe = $u(se);
39591
- if (i("keydown", { combo: Oe, key: se.key }), Oe === "Ctrl+X" && (se.preventDefault(), Ei(!0)), Oe === "Ctrl+Shift+X" && (se.preventDefault(), Ei(!1)), Oe === "Ctrl+C" && (se.preventDefault(), mi(!0)), Oe === "Ctrl+Shift+C" && (se.preventDefault(), mi(!1)), Oe === "Ctrl+D" && (se.preventDefault(), vt()), Oe !== "Delete" && Oe !== "Backspace" || (se.preventDefault(), Fe()), Oe === "Insert" && se.preventDefault(), Oe === "Ctrl+A" && se.preventDefault(), Oe === "Ctrl+Q" && xo(se), Oe === "ArrowLeft" && (se.preventDefault(), Tn(), d(xe))) {
39590
+ var Me = $u(se);
39591
+ if (i("keydown", { combo: Me, key: se.key }), Me === "Ctrl+X" && (se.preventDefault(), Ei(!0)), Me === "Ctrl+Shift+X" && (se.preventDefault(), Ei(!1)), Me === "Ctrl+C" && (se.preventDefault(), mi(!0)), Me === "Ctrl+Shift+C" && (se.preventDefault(), mi(!1)), Me === "Ctrl+D" && (se.preventDefault(), vt()), Me !== "Delete" && Me !== "Backspace" || (se.preventDefault(), Fe()), Me === "Insert" && se.preventDefault(), Me === "Ctrl+A" && se.preventDefault(), Me === "Ctrl+Q" && xo(se), Me === "ArrowLeft" && (se.preventDefault(), Tn(), d(xe))) {
39592
39592
  var Ze = function(Ln, ur) {
39593
39593
  var { rowIndex: rr, columnIndex: lo } = ba(Gt(ur), Ln);
39594
39594
  return lo > 0 ? qn(kf({ rowIndex: rr, columnIndex: lo - 1 }, Ln)) : ur;
39595
39595
  }(d($e), d(xe));
39596
39596
  N(xe, Ze), mo(Gt(Ze));
39597
39597
  }
39598
- if (Oe === "ArrowRight" && (se.preventDefault(), Tn(), d(xe))) {
39598
+ if (Me === "ArrowRight" && (se.preventDefault(), Tn(), d(xe))) {
39599
39599
  var yt = function(Ln, ur) {
39600
39600
  var { rowIndex: rr, columnIndex: lo } = ba(Gt(ur), Ln);
39601
39601
  return lo < Ln.length - 1 ? qn(kf({ rowIndex: rr, columnIndex: lo + 1 }, Ln)) : ur;
39602
39602
  }(d($e), d(xe));
39603
39603
  N(xe, yt), mo(Gt(yt));
39604
39604
  }
39605
- if (Oe === "ArrowUp" && (se.preventDefault(), Tn(), d(xe))) {
39605
+ if (Me === "ArrowUp" && (se.preventDefault(), Tn(), d(xe))) {
39606
39606
  var Ge = function(Ln, ur) {
39607
39607
  var { rowIndex: rr, columnIndex: lo } = ba(Gt(ur), Ln);
39608
39608
  return rr > 0 ? qn(kf({ rowIndex: rr - 1, columnIndex: lo }, Ln)) : ur;
39609
39609
  }(d($e), d(xe));
39610
39610
  N(xe, Ge), mo(Gt(Ge));
39611
39611
  }
39612
- if (Oe === "ArrowDown" && (se.preventDefault(), Tn(), d(xe))) {
39612
+ if (Me === "ArrowDown" && (se.preventDefault(), Tn(), d(xe))) {
39613
39613
  var Tt = function(Ln, ur, rr) {
39614
39614
  var { rowIndex: lo, columnIndex: bi } = ba(Gt(rr), ur);
39615
39615
  return lo < Ln.length - 1 ? qn(kf({ rowIndex: lo + 1, columnIndex: bi }, ur)) : rr;
39616
39616
  }(d(G), d($e), d(xe));
39617
39617
  N(xe, Tt), mo(Gt(Tt));
39618
39618
  }
39619
- if (Oe === "Enter" && d(xe) && yr(d(xe))) {
39619
+ if (Me === "Enter" && d(xe) && yr(d(xe))) {
39620
39620
  se.preventDefault();
39621
39621
  var Rt = d(xe).path;
39622
39622
  Oo(Ft(d(G), Rt)) ? Ht(Rt) : h() || N(xe, ht(ht({}, d(xe)), {}, { edit: !0 }));
39623
39623
  }
39624
- if (Oe.replace(/^Shift\+/, "").length === 1 && d(xe)) return se.preventDefault(), void function(Ln) {
39624
+ if (Me.replace(/^Shift\+/, "").length === 1 && d(xe)) return se.preventDefault(), void function(Ln) {
39625
39625
  _e.apply(this, arguments);
39626
39626
  }(se.key);
39627
- if (Oe === "Ctrl+Enter" && yr(d(xe))) {
39627
+ if (Me === "Ctrl+Enter" && yr(d(xe))) {
39628
39628
  se.preventDefault();
39629
39629
  var It = Ft(d(G), d(xe).path);
39630
39630
  lx(It) && window.open(String(It), "_blank");
39631
39631
  }
39632
- Oe === "Escape" && d(xe) && (se.preventDefault(), N(xe, void 0)), Oe === "Ctrl+F" && (se.preventDefault(), ar(!1)), Oe === "Ctrl+H" && (se.preventDefault(), ar(!0)), Oe === "Ctrl+Z" && (se.preventDefault(), wn()), Oe === "Ctrl+Shift+Z" && (se.preventDefault(), nr());
39632
+ Me === "Escape" && d(xe) && (se.preventDefault(), N(xe, void 0)), Me === "Ctrl+F" && (se.preventDefault(), ar(!1)), Me === "Ctrl+H" && (se.preventDefault(), ar(!0)), Me === "Ctrl+Z" && (se.preventDefault(), wn()), Me === "Ctrl+Shift+Z" && (se.preventDefault(), nr());
39633
39633
  }), it("contextmenu", gr, xo), pe(t, xr), ln(e, "validate", cn), ln(e, "patch", kn), ln(e, "focus", Pt), ln(e, "acceptAutoRepair", Ir), ln(e, "scrollTo", Ur), ln(e, "findElement", Yr), ln(e, "openTransformModal", Ut), Zt(an);
39634
39634
  }
39635
39635
  function A3(t, e) {
@@ -40483,8 +40483,8 @@ function zde(t, e) {
40483
40483
  return d(Se) && d(at) && ((It = d(at)) === null || It === void 0 ? void 0 : It.length) > 1;
40484
40484
  }) && Rt(Xo);
40485
40485
  });
40486
- var se = Ee($r), Oe = Ee(me(se));
40487
- Nf(me(Oe), { showChevron: !0, clearable: !1, get items() {
40486
+ var se = Ee($r), Me = Ee(me(se));
40487
+ Nf(me(Me), { showChevron: !0, clearable: !1, get items() {
40488
40488
  return Wr;
40489
40489
  }, get value() {
40490
40490
  return d(wn);
@@ -40526,21 +40526,21 @@ function zde(t, e) {
40526
40526
  var ro = Ee(Mo, 2), mi = (et) => {
40527
40527
  (function(Fe, Xe) {
40528
40528
  Qt(Xe, !1);
40529
- var vt = ge(void 0, !0), wt = ge(void 0, !0), Mn = ge(void 0, !0), Se = ge(void 0, !0), _e = Ii("jsoneditor:JSONEditorModal"), at = L(Xe, "content", 9), ve = L(Xe, "path", 9), Te = L(Xe, "onPatch", 9), be = L(Xe, "readOnly", 9), Le = L(Xe, "indentation", 9), Ut = L(Xe, "tabSize", 9), Ht = L(Xe, "truncateTextSize", 9), nn = L(Xe, "mainMenuBar", 9), Wr = L(Xe, "navigationBar", 9), tr = L(Xe, "statusBar", 9), ar = L(Xe, "askToFormat", 9), wn = L(Xe, "escapeControlCharacters", 9), nr = L(Xe, "escapeUnicodeCharacters", 9), gi = L(Xe, "flattenColumns", 9), an = L(Xe, "parser", 9), xr = L(Xe, "validator", 9), lr = L(Xe, "validationParser", 9), gr = L(Xe, "pathParser", 9), oo = L(Xe, "onRenderValue", 9), Fr = L(Xe, "onClassName", 9), fn = L(Xe, "onRenderMenu", 9), ei = L(Xe, "onRenderContextMenu", 9), Bo = L(Xe, "onSortModal", 9), vi = L(Xe, "onTransformModal", 9), Ar = L(Xe, "onClose", 9), $r = ge(void 0, !0), Xo = ge(void 0, !0), se = { mode: yt(at()), content: at(), selection: void 0, relativePath: ve() }, Oe = ge([se], !0), Ze = ge(void 0, !0);
40529
+ var vt = ge(void 0, !0), wt = ge(void 0, !0), Mn = ge(void 0, !0), Se = ge(void 0, !0), _e = Ii("jsoneditor:JSONEditorModal"), at = L(Xe, "content", 9), ve = L(Xe, "path", 9), Te = L(Xe, "onPatch", 9), be = L(Xe, "readOnly", 9), Le = L(Xe, "indentation", 9), Ut = L(Xe, "tabSize", 9), Ht = L(Xe, "truncateTextSize", 9), nn = L(Xe, "mainMenuBar", 9), Wr = L(Xe, "navigationBar", 9), tr = L(Xe, "statusBar", 9), ar = L(Xe, "askToFormat", 9), wn = L(Xe, "escapeControlCharacters", 9), nr = L(Xe, "escapeUnicodeCharacters", 9), gi = L(Xe, "flattenColumns", 9), an = L(Xe, "parser", 9), xr = L(Xe, "validator", 9), lr = L(Xe, "validationParser", 9), gr = L(Xe, "pathParser", 9), oo = L(Xe, "onRenderValue", 9), Fr = L(Xe, "onClassName", 9), fn = L(Xe, "onRenderMenu", 9), ei = L(Xe, "onRenderContextMenu", 9), Bo = L(Xe, "onSortModal", 9), vi = L(Xe, "onTransformModal", 9), Ar = L(Xe, "onClose", 9), $r = ge(void 0, !0), Xo = ge(void 0, !0), se = { mode: yt(at()), content: at(), selection: void 0, relativePath: ve() }, Me = ge([se], !0), Ze = ge(void 0, !0);
40530
40530
  function yt(ke) {
40531
40531
  return xd(ke) && No(ke.json) ? $o.table : $o.tree;
40532
40532
  }
40533
40533
  function Ge() {
40534
- var ke, Ke = (ke = un(d(Oe))) === null || ke === void 0 ? void 0 : ke.selection;
40534
+ var ke, Ke = (ke = un(d(Me))) === null || ke === void 0 ? void 0 : ke.selection;
40535
40535
  Yg(Ke) && d($r).scrollTo(Gt(Ke));
40536
40536
  }
40537
40537
  function Tt() {
40538
40538
  if (_e("handleApply"), !be()) try {
40539
40539
  N(Ze, void 0);
40540
40540
  var ke = d(vt).relativePath, Ke = d(vt).content, kt = [{ op: "replace", path: tn(ke), value: L4(Ke, an()).json }];
40541
- if (d(Oe).length > 1) {
40542
- var bt = L4(d(Oe)[d(Oe).length - 2].content, an()).json, gt = { json: el(bt, kt) }, dn = ht(ht({}, d(Oe)[d(Oe).length - 2] || se), {}, { content: gt });
40543
- N(Oe, [...d(Oe).slice(0, d(Oe).length - 2), dn]), io(), Ge();
40541
+ if (d(Me).length > 1) {
40542
+ var bt = L4(d(Me)[d(Me).length - 2].content, an()).json, gt = { json: el(bt, kt) }, dn = ht(ht({}, d(Me)[d(Me).length - 2] || se), {}, { content: gt });
40543
+ N(Me, [...d(Me).slice(0, d(Me).length - 2), dn]), io(), Ge();
40544
40544
  } else Te()(kt), Ar()();
40545
40545
  } catch (hn) {
40546
40546
  N(Ze, String(hn));
@@ -40548,9 +40548,9 @@ function zde(t, e) {
40548
40548
  }
40549
40549
  function Rt() {
40550
40550
  if (_e("handleClose"), d(Xo)) N(Xo, !1);
40551
- else if (d(Oe).length > 1) {
40551
+ else if (d(Me).length > 1) {
40552
40552
  var ke;
40553
- N(Oe, Jn(d(Oe))), io(), (ke = d($r)) === null || ke === void 0 || ke.focus(), Ge(), N(Ze, void 0);
40553
+ N(Me, Jn(d(Me))), io(), (ke = d($r)) === null || ke === void 0 || ke.focus(), Ge(), N(Ze, void 0);
40554
40554
  } else Ar()();
40555
40555
  }
40556
40556
  function It(ke) {
@@ -40563,8 +40563,8 @@ function zde(t, e) {
40563
40563
  _e("handleChangeMode", ke), rr((Ke) => ht(ht({}, Ke), {}, { mode: ke }));
40564
40564
  }
40565
40565
  function rr(ke) {
40566
- var Ke = ke(un(d(Oe)));
40567
- N(Oe, [...Jn(d(Oe)), Ke]);
40566
+ var Ke = ke(un(d(Me)));
40567
+ N(Me, [...Jn(d(Me)), Ke]);
40568
40568
  }
40569
40569
  function lo(ke) {
40570
40570
  N(Ze, ke.toString()), console.error(ke);
@@ -40573,7 +40573,7 @@ function zde(t, e) {
40573
40573
  var Ke, { content: kt, path: bt } = ke;
40574
40574
  _e("handleJSONEditorModal", { content: kt, path: bt });
40575
40575
  var gt = { mode: yt(kt), content: kt, selection: void 0, relativePath: bt };
40576
- N(Oe, [...d(Oe), gt]), io(), (Ke = d($r)) === null || Ke === void 0 || Ke.focus();
40576
+ N(Me, [...d(Me), gt]), io(), (Ke = d($r)) === null || Ke === void 0 || Ke.focus();
40577
40577
  }
40578
40578
  function ie(ke) {
40579
40579
  ke.focus();
@@ -40581,10 +40581,10 @@ function zde(t, e) {
40581
40581
  ns(() => {
40582
40582
  var ke;
40583
40583
  (ke = d($r)) === null || ke === void 0 || ke.focus();
40584
- }), Pe(() => d(Oe), () => {
40585
- N(vt, un(d(Oe)) || se);
40586
- }), Pe(() => d(Oe), () => {
40587
- N(wt, d(Oe).flatMap((ke) => ke.relativePath));
40584
+ }), Pe(() => d(Me), () => {
40585
+ N(vt, un(d(Me)) || se);
40586
+ }), Pe(() => d(Me), () => {
40587
+ N(wt, d(Me).flatMap((ke) => ke.relativePath));
40588
40588
  }), Pe(() => (d(wt), _s), () => {
40589
40589
  N(Mn, fr(d(wt)) ? "(document root)" : _s(d(wt)));
40590
40590
  }), Pe(() => V(an()), () => {
@@ -40594,7 +40594,7 @@ function zde(t, e) {
40594
40594
  }, children: (ke, Ke) => {
40595
40595
  var kt = Fde();
40596
40596
  QS(me(kt), { children: (bt, gt) => {
40597
- var dn = Rde(), hn = _t(dn), Hn = Lt(() => (d(Oe), ye(() => d(Oe).length > 1 ? " (".concat(d(Oe).length, ")") : "")));
40597
+ var dn = Rde(), hn = _t(dn), Hn = Lt(() => (d(Me), ye(() => d(Me).length > 1 ? " (".concat(d(Me).length, ")") : "")));
40598
40598
  _y(hn, { get title() {
40599
40599
  var gn;
40600
40600
  return "Edit nested content ".concat((gn = d(Hn)) !== null && gn !== void 0 ? gn : "");
@@ -40673,7 +40673,7 @@ function zde(t, e) {
40673
40673
  } }), it("click", qt, Rt), pe(gn, qt);
40674
40674
  };
40675
40675
  Be(Br, (gn) => {
40676
- d(Oe), ye(() => d(Oe).length > 1) && gn(So);
40676
+ d(Me), ye(() => d(Me).length > 1) && gn(So);
40677
40677
  });
40678
40678
  var wr = Ee(Br, 2), rn = (gn) => {
40679
40679
  var qt = Ide();
@@ -40753,7 +40753,7 @@ const Ude = yv({
40753
40753
  setup(t, { expose: e, emit: n }) {
40754
40754
  const r = t, o = n, i = st(null), s = st(null);
40755
40755
  let a = !1;
40756
- const l = Me(() => {
40756
+ const l = Oe(() => {
40757
40757
  const m = r.height;
40758
40758
  return {
40759
40759
  width: "100%",
@@ -41715,7 +41715,7 @@ const Lp = /* @__PURE__ */ jt({
41715
41715
  }
41716
41716
  },
41717
41717
  setup(t, e) {
41718
- const n = Me(() => yo(sL, t.config));
41718
+ const n = Oe(() => yo(sL, t.config));
41719
41719
  return () => {
41720
41720
  const {
41721
41721
  buttonText: r,
@@ -41738,12 +41738,12 @@ const Lp = /* @__PURE__ */ jt({
41738
41738
  }
41739
41739
  },
41740
41740
  setup(t, e) {
41741
- const n = Me(() => {
41741
+ const n = Oe(() => {
41742
41742
  const o = yo(aL, t.config || {});
41743
41743
  return t.config, {
41744
41744
  ...o
41745
41745
  };
41746
- }), r = Me(() => ({
41746
+ }), r = Oe(() => ({
41747
41747
  /** Element Plus 用 update:modelValue 驱动值;须同步 flmGridForm 注入的 config.onChange */
41748
41748
  "onUpdate:modelValue": (o) => {
41749
41749
  const i = t.config.onChange;
@@ -41767,7 +41767,7 @@ const Lp = /* @__PURE__ */ jt({
41767
41767
  }
41768
41768
  },
41769
41769
  setup(t, e) {
41770
- const n = Me(() => yo(cP, t.config)), r = hi({
41770
+ const n = Oe(() => yo(cP, t.config)), r = hi({
41771
41771
  onChange: (o) => e.emit("change", o)
41772
41772
  });
41773
41773
  return () => k(Ie("el-checkbox"), Sn(n.value, r), null);
@@ -41782,7 +41782,7 @@ const Lp = /* @__PURE__ */ jt({
41782
41782
  }
41783
41783
  },
41784
41784
  setup(t, e) {
41785
- const n = Me(() => yo(lL, t.config)), r = hi({
41785
+ const n = Oe(() => yo(lL, t.config)), r = hi({
41786
41786
  onChange: (o) => e.emit("change", o)
41787
41787
  });
41788
41788
  return () => k(Ie("el-color-picker"), Sn(n.value, r), null);
@@ -41800,7 +41800,7 @@ const Lp = /* @__PURE__ */ jt({
41800
41800
  Dt(() => t.config, (i) => {
41801
41801
  n.value = i["model-value"];
41802
41802
  });
41803
- const n = st(""), r = Me(() => {
41803
+ const n = st(""), r = Oe(() => {
41804
41804
  const i = yo(uL, t.config);
41805
41805
  return {
41806
41806
  ...i,
@@ -41847,7 +41847,7 @@ const Lp = /* @__PURE__ */ jt({
41847
41847
  return (s = (i = e.slots).prepend) == null ? void 0 : s.call(i);
41848
41848
  });
41849
41849
  });
41850
- const r = Me(() => {
41850
+ const r = Oe(() => {
41851
41851
  const i = yo(cL, t.config);
41852
41852
  return i.maxlength == null || i.maxlength === "" ? {
41853
41853
  ...i,
@@ -41888,7 +41888,7 @@ const bhe = /* @__PURE__ */ jt({
41888
41888
  }
41889
41889
  },
41890
41890
  setup(t, e) {
41891
- const n = Me(() => {
41891
+ const n = Oe(() => {
41892
41892
  const o = yo(fL, t.config), i = o["model-value"] ?? o.modelValue, s = vhe(i), {
41893
41893
  modelValue: a,
41894
41894
  "model-value": l,
@@ -41929,12 +41929,12 @@ const Qc = /* @__PURE__ */ jt({
41929
41929
  }
41930
41930
  },
41931
41931
  setup(t, e) {
41932
- const n = Me(() => yo(yhe, t.config || {})), r = Me(() => {
41932
+ const n = Oe(() => yo(yhe, t.config || {})), r = Oe(() => {
41933
41933
  const s = {
41934
41934
  ...n.value
41935
41935
  };
41936
41936
  return delete s["file-list"], delete s["model-value"], delete s.modelValue, s;
41937
- }), o = Me(() => xhe(n.value)), i = hi({
41937
+ }), o = Oe(() => xhe(n.value)), i = hi({
41938
41938
  onPreview: (s) => e.emit("preview", s),
41939
41939
  onRemove: (s, a) => e.emit("remove", s, a),
41940
41940
  onSuccess: (s, a, l) => e.emit("success", s, a, l),
@@ -41971,7 +41971,7 @@ const Qc = /* @__PURE__ */ jt({
41971
41971
  setup(t, {
41972
41972
  emit: e
41973
41973
  }) {
41974
- const n = Me(() => {
41974
+ const n = Oe(() => {
41975
41975
  var o;
41976
41976
  return {
41977
41977
  ...N0,
@@ -41999,7 +41999,7 @@ const Wp = /* @__PURE__ */ jt({
41999
41999
  }
42000
42000
  },
42001
42001
  setup(t, e) {
42002
- const n = Me(() => yo(dL, t.config)), r = hi({
42002
+ const n = Oe(() => yo(dL, t.config)), r = hi({
42003
42003
  onChange: (i) => e.emit("change", i)
42004
42004
  }), o = () => {
42005
42005
  const {
@@ -42039,7 +42039,7 @@ const Wp = /* @__PURE__ */ jt({
42039
42039
  }
42040
42040
  },
42041
42041
  setup(t, e) {
42042
- const n = Me(() => yo(pL, t.config)), r = hi({
42042
+ const n = Oe(() => yo(pL, t.config)), r = hi({
42043
42043
  onChange: (o) => e.emit("change", o)
42044
42044
  });
42045
42045
  return () => k(Ie("el-rate"), Sn(n.value, r), null);
@@ -42085,10 +42085,10 @@ const jhe = /* @__PURE__ */ jt({
42085
42085
  }
42086
42086
  },
42087
42087
  setup(t) {
42088
- const e = Me(() => {
42088
+ const e = Oe(() => {
42089
42089
  var o;
42090
42090
  return She((o = t.config) == null ? void 0 : o.size);
42091
- }), n = Me(() => khe(t.config)), r = Me(() => {
42091
+ }), n = Oe(() => khe(t.config)), r = Oe(() => {
42092
42092
  const o = n.value.class;
42093
42093
  return ["flm-alert", `flm-alert--${e.value}`, o].filter(Boolean);
42094
42094
  });
@@ -42109,41 +42109,46 @@ const jhe = /* @__PURE__ */ jt({
42109
42109
  setup(t) {
42110
42110
  const e = t, n = st(Hh());
42111
42111
  let r = null;
42112
- const o = Me(() => {
42113
- const c = e.config || {}, f = c.modelValue ?? c["model-value"];
42114
- return f == null ? "" : String(f).trim();
42115
- }), i = Me(() => !o.value), s = Me(() => {
42116
- const c = e.config || {}, f = c.formatPreset ?? "date", h = c.format && String(c.format).trim() || "YYYY-MM-DD HH:mm:ss";
42117
- return f === "date" ? "YYYY-MM-DD" : f === "time" ? "HH:mm:ss" : h;
42118
- }), a = Me(() => o.value ? o.value : n.value.format(s.value));
42119
- function l() {
42112
+ const o = Oe(() => {
42113
+ const h = e.config || {}, p = h.modelValue ?? h["model-value"];
42114
+ return p == null ? "" : String(p).trim();
42115
+ }), i = Oe(() => {
42116
+ const h = e.config || {};
42117
+ return h.disabled === !0 || h.readonly === !0;
42118
+ }), s = Oe(
42119
+ () => i.value && o.value !== ""
42120
+ ), a = Oe(() => !s.value), l = Oe(() => {
42121
+ const h = e.config || {}, p = h.formatPreset ?? "date", m = h.format && String(h.format).trim() || "YYYY-MM-DD HH:mm:ss";
42122
+ return p === "date" ? "YYYY-MM-DD" : p === "time" ? "HH:mm:ss" : m;
42123
+ }), u = Oe(() => s.value ? o.value : n.value.format(l.value));
42124
+ function c() {
42120
42125
  r != null && (clearInterval(r), r = null);
42121
42126
  }
42122
- function u() {
42123
- l(), r = setInterval(() => {
42127
+ function f() {
42128
+ c(), r = setInterval(() => {
42124
42129
  n.value = Hh();
42125
42130
  }, 1e3);
42126
42131
  }
42127
42132
  return Dt(
42128
- a,
42129
- (c) => {
42130
- var h;
42131
- if (!i.value) return;
42132
- const f = (h = e.config) == null ? void 0 : h.onChange;
42133
- typeof f == "function" && f(c);
42133
+ u,
42134
+ (h) => {
42135
+ var m;
42136
+ if (!a.value) return;
42137
+ const p = (m = e.config) == null ? void 0 : m.onChange;
42138
+ typeof p == "function" && p(h);
42134
42139
  },
42135
42140
  { immediate: !0 }
42136
42141
  ), Dt(
42137
- i,
42138
- (c) => {
42139
- c ? (n.value = Hh(), u()) : l();
42142
+ a,
42143
+ (h) => {
42144
+ h ? (n.value = Hh(), f()) : c();
42140
42145
  },
42141
42146
  { immediate: !0 }
42142
42147
  ), Y_(() => {
42143
- l();
42144
- }), (c, f) => (he(), ze("span", Ehe, Xn(a.value), 1));
42148
+ c();
42149
+ }), (h, p) => (he(), ze("span", Ehe, Xn(u.value), 1));
42145
42150
  }
42146
- }), Gp = /* @__PURE__ */ jr(Ahe, [["__scopeId", "data-v-82b88c7f"]]);
42151
+ }), Gp = /* @__PURE__ */ jr(Ahe, [["__scopeId", "data-v-b5ba6293"]]);
42147
42152
  function Ohe(t) {
42148
42153
  return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !Od(t);
42149
42154
  }
@@ -42157,7 +42162,7 @@ const Kp = /* @__PURE__ */ jt({
42157
42162
  }
42158
42163
  },
42159
42164
  setup(t, e) {
42160
- const n = Me(() => yo(mL, t.config)), r = hi({
42165
+ const n = Oe(() => yo(mL, t.config)), r = hi({
42161
42166
  onChange: (i) => e.emit("change", i),
42162
42167
  onVisibleChange: (i) => e.emit("visible-change", i),
42163
42168
  onRemoveTag: (i) => e.emit("remove-tag", i),
@@ -42218,7 +42223,7 @@ const Phe = /* @__PURE__ */ jt({
42218
42223
  }
42219
42224
  },
42220
42225
  setup(t, e) {
42221
- const n = Me(() => yo(gL, t.config)), r = Me(() => ({
42226
+ const n = Oe(() => yo(gL, t.config)), r = Oe(() => ({
42222
42227
  "onUpdate:modelValue": (o) => {
42223
42228
  Mhe(t.config, o), e.emit("change", o), e.emit("input", o);
42224
42229
  }
@@ -42260,7 +42265,7 @@ const Xp = /* @__PURE__ */ jt({
42260
42265
  }
42261
42266
  },
42262
42267
  setup(t, e) {
42263
- const n = Me(() => yo(vL, t.config)), r = Me(() => ({
42268
+ const n = Oe(() => yo(vL, t.config)), r = Oe(() => ({
42264
42269
  "onUpdate:modelValue": (o) => {
42265
42270
  Ihe(t.config, o), e.emit("change", o);
42266
42271
  },
@@ -42279,7 +42284,7 @@ const Xp = /* @__PURE__ */ jt({
42279
42284
  }
42280
42285
  },
42281
42286
  setup(t, e) {
42282
- const n = Me(() => {
42287
+ const n = Oe(() => {
42283
42288
  const o = dhe(t.config, XE);
42284
42289
  return {
42285
42290
  ...yo(XE, o),
@@ -42304,7 +42309,7 @@ const Xp = /* @__PURE__ */ jt({
42304
42309
  }
42305
42310
  },
42306
42311
  setup(t, e) {
42307
- const n = Me(() => yo(bL, t.config)), r = hi({
42312
+ const n = Oe(() => yo(bL, t.config)), r = hi({
42308
42313
  onChange: (o) => e.emit("change", o),
42309
42314
  onLeftCheckChange: (o) => e.emit("left-check-change", o),
42310
42315
  onRightCheckChange: (o) => e.emit("right-check-change", o)
@@ -42338,7 +42343,7 @@ const Xp = /* @__PURE__ */ jt({
42338
42343
  }
42339
42344
  },
42340
42345
  setup(t, e) {
42341
- const n = Me(() => (t.config["close-on-press-escape"] = !1, yo(yL, t.config))), r = hi({
42346
+ const n = Oe(() => (t.config["close-on-press-escape"] = !1, yo(yL, t.config))), r = hi({
42342
42347
  onOpen: () => e.emit("open"),
42343
42348
  onOpened: () => e.emit("opened"),
42344
42349
  onClose: () => e.emit("close"),
@@ -42373,7 +42378,7 @@ const Xp = /* @__PURE__ */ jt({
42373
42378
  }
42374
42379
  },
42375
42380
  setup(t, e) {
42376
- const n = Me(() => (t.config["close-on-press-escape"] = !1, yo(xL, t.config))), r = hi({
42381
+ const n = Oe(() => (t.config["close-on-press-escape"] = !1, yo(xL, t.config))), r = hi({
42377
42382
  onOpen: () => e.emit("open"),
42378
42383
  onOpened: () => e.emit("opened"),
42379
42384
  onClose: () => e.emit("close"),
@@ -42406,7 +42411,7 @@ const Xp = /* @__PURE__ */ jt({
42406
42411
  }
42407
42412
  },
42408
42413
  setup(t, e) {
42409
- const n = Me(() => yo({}, t.config));
42414
+ const n = Oe(() => yo({}, t.config));
42410
42415
  return () => k(jL, Sn(n.value, {
42411
42416
  "onUpdate:modelValue": (r) => e.emit("change", r)
42412
42417
  }), {
@@ -42706,7 +42711,7 @@ const Nhe = { style: { display: "none", width: "100%" } }, _he = {
42706
42711
  props: Ghe,
42707
42712
  emits: ["upload"],
42708
42713
  setup(t, { emit: e }) {
42709
- const n = t, r = e, o = st(), i = st(""), s = Me(
42714
+ const n = t, r = e, o = st(), i = st(""), s = Oe(
42710
42715
  () => `/spark-resource-service/get-resource-file?code=${i.value}`
42711
42716
  );
42712
42717
  Dt(
@@ -42773,7 +42778,7 @@ const Zp = /* @__PURE__ */ jt({
42773
42778
  }
42774
42779
  },
42775
42780
  setup(t, e) {
42776
- const n = Me(() => yo(wL, t.config)), r = st(!1), o = st(!1), i = (l) => {
42781
+ const n = Oe(() => yo(wL, t.config)), r = st(!1), o = st(!1), i = (l) => {
42777
42782
  var u;
42778
42783
  r.value = l, o.value = !1, e.emit("change", l ? (u = n.value.items) == null ? void 0 : u.map((c) => {
42779
42784
  const f = zy(c);
@@ -42845,7 +42850,7 @@ const Zp = /* @__PURE__ */ jt({
42845
42850
  Na(() => {
42846
42851
  r.type == "search" && (o.value = "search-toobar");
42847
42852
  });
42848
- const i = r.config.maxButton, s = Me(() => r.config.buttons.slice(0, i)), a = Me(() => r.config.buttons.slice(i)), l = (u) => {
42853
+ const i = r.config.maxButton, s = Oe(() => r.config.buttons.slice(0, i)), a = Oe(() => r.config.buttons.slice(i)), l = (u) => {
42849
42854
  n("toolbarClick", u);
42850
42855
  };
42851
42856
  return (u, c) => {
@@ -42957,7 +42962,7 @@ const Zp = /* @__PURE__ */ jt({
42957
42962
  emit: n,
42958
42963
  expose: r
42959
42964
  }) {
42960
- const o = aP(), i = hi({}), s = Me(() => t.config.isFullRow ? "full-row" : "");
42965
+ const o = aP(), i = hi({}), s = Oe(() => t.config.isFullRow ? "full-row" : "");
42961
42966
  Dt(() => t.config.model, (C) => l(C)), Dt(i, (C) => a(C)), Na(() => {
42962
42967
  var C, w;
42963
42968
  (C = t.config) != null && C.model && Object.keys((w = t.config) == null ? void 0 : w.model).length && (a(t.config.model), l(t.config.model));
@@ -43142,7 +43147,7 @@ const Zp = /* @__PURE__ */ jt({
43142
43147
  reset: p,
43143
43148
  validate: m
43144
43149
  });
43145
- const b = Me(() => yo(H2, t.config)), y = () => {
43150
+ const b = Oe(() => yo(H2, t.config)), y = () => {
43146
43151
  const {
43147
43152
  items: C = [],
43148
43153
  buttons: w = [],
@@ -43493,7 +43498,7 @@ const npe = /* @__PURE__ */ jt({
43493
43498
  x[w[w.length - 1]] = C;
43494
43499
  } else
43495
43500
  b[y] = C;
43496
- }, v = Me(() => yo(hP, t.config));
43501
+ }, v = Oe(() => yo(hP, t.config));
43497
43502
  return () => u();
43498
43503
  }
43499
43504
  }), Vv = /* @__PURE__ */ jr(npe, [["__scopeId", "data-v-733a8b2b"]]), F$ = [
@@ -44020,7 +44025,7 @@ const ype = /* @__PURE__ */ jt({
44020
44025
  return y;
44021
44026
  }
44022
44027
  });
44023
- const l = Me(() => t.config.isFullRow ? "full-row" : ""), u = Me(() => yo(H2, t.config)), c = (y) => {
44028
+ const l = Oe(() => t.config.isFullRow ? "full-row" : ""), u = Oe(() => yo(H2, t.config)), c = (y) => {
44024
44029
  e("update:modelValue", y), e("change", y);
44025
44030
  }, f = (y, C, w = !1) => {
44026
44031
  var x;
@@ -44353,7 +44358,7 @@ const xpe = /* @__PURE__ */ jt({
44353
44358
  expose: r
44354
44359
  }) {
44355
44360
  const o = aP(), i = hi({}), s = (S) => {
44356
- }, a = Me(() => {
44361
+ }, a = Oe(() => {
44357
44362
  const {
44358
44363
  inline: S = !1,
44359
44364
  columnNumber: E = 0
@@ -44361,7 +44366,7 @@ const xpe = /* @__PURE__ */ jt({
44361
44366
  return M === !1 ? {} : {
44362
44367
  "--flm-gf-item-width": `calc((100% - 32px * ${M}) / ${M})`
44363
44368
  };
44364
- }), l = Me(() => t.config.isFullRow ? "full-row" : "");
44369
+ }), l = Oe(() => t.config.isFullRow ? "full-row" : "");
44365
44370
  Dt(() => t.config.model, (S) => c(S)), Dt(i, (S) => u(S)), Na(() => {
44366
44371
  var S, E;
44367
44372
  (S = t.config) != null && S.model && Object.keys((E = t.config) == null ? void 0 : E.model).length && (u(t.config.model), c(t.config.model));
@@ -44635,7 +44640,7 @@ const xpe = /* @__PURE__ */ jt({
44635
44640
  reset: g,
44636
44641
  validate: v
44637
44642
  });
44638
- const w = Me(() => yo(H2, t.config)), x = () => {
44643
+ const w = Oe(() => yo(H2, t.config)), x = () => {
44639
44644
  const {
44640
44645
  items: S = [],
44641
44646
  buttons: E = [],
@@ -44700,7 +44705,7 @@ const xpe = /* @__PURE__ */ jt({
44700
44705
  setup(t, {
44701
44706
  emit: e
44702
44707
  }) {
44703
- const n = {}, r = Me(() => t.config.groups || []), o = Me(() => t.config.buttons || []), i = Me(() => t.isEdit ? t.mode : "read");
44708
+ const n = {}, r = Oe(() => t.config.groups || []), o = Oe(() => t.config.buttons || []), i = Oe(() => t.isEdit ? t.mode : "read");
44704
44709
  function s(T) {
44705
44710
  return Array.isArray(T) ? T.map((_) => {
44706
44711
  if (!_ || typeof _ != "object") return _;
@@ -44844,7 +44849,7 @@ const xpe = /* @__PURE__ */ jt({
44844
44849
  }, {
44845
44850
  immediate: !0
44846
44851
  });
44847
- const v = Me(() => {
44852
+ const v = Oe(() => {
44848
44853
  const T = t.config.collapseConfig || {};
44849
44854
  return T.modelValue != null ? T : {
44850
44855
  ...T,
@@ -45271,12 +45276,12 @@ const xpe = /* @__PURE__ */ jt({
45271
45276
  setup(t, { emit: e }) {
45272
45277
  const n = e, r = t, o = st(), i = st();
45273
45278
  let s = st(!1), a = st(!1), l = st({});
45274
- const u = Me(() => r.config.maxFormItem || 3);
45279
+ const u = Oe(() => r.config.maxFormItem || 3);
45275
45280
  Dt(
45276
45281
  () => r.config.model,
45277
45282
  (S) => updateFormModel(S)
45278
45283
  );
45279
- const c = Me(() => {
45284
+ const c = Oe(() => {
45280
45285
  const { items: S = [], buttons: E, ...M } = r.config;
45281
45286
  return a.value = S.length > u.value, E && a.value && E[0].buttonText != "更多" && (E == null || E.unshift({ buttonText: "更多", event: "openDrawer" })), {
45282
45287
  ...M,
@@ -45284,7 +45289,7 @@ const xpe = /* @__PURE__ */ jt({
45284
45289
  items: S.slice(0, u.value),
45285
45290
  buttons: E
45286
45291
  };
45287
- }), f = Me(() => {
45292
+ }), f = Oe(() => {
45288
45293
  const { items: S, buttons: E, ...M } = r.config;
45289
45294
  return {
45290
45295
  ...M,
@@ -45311,12 +45316,12 @@ const xpe = /* @__PURE__ */ jt({
45311
45316
  O && typeof O == "string" && E.push(O);
45312
45317
  }
45313
45318
  }), E;
45314
- }, p = Me(
45319
+ }, p = Oe(
45315
45320
  () => {
45316
45321
  var S;
45317
45322
  return h((S = r.config.items) == null ? void 0 : S.slice(0, u.value)) ?? [];
45318
45323
  }
45319
- ), m = Me(
45324
+ ), m = Oe(
45320
45325
  () => {
45321
45326
  var S;
45322
45327
  return h((S = r.config.items) == null ? void 0 : S.slice(u.value)) ?? [];
@@ -45558,7 +45563,7 @@ function Ope() {
45558
45563
  };
45559
45564
  }
45560
45565
  function K$(t, e, n = {}) {
45561
- const r = st(), o = Me(
45566
+ const r = st(), o = Oe(
45562
45567
  () => {
45563
45568
  var B;
45564
45569
  return "Web" + ((B = t.tableName) == null ? void 0 : B.replace(/_/g, "").replace(/.+\./g, ""));
@@ -45876,23 +45881,23 @@ function K$(t, e, n = {}) {
45876
45881
  Z && typeof Z == "string" && $.push(Z);
45877
45882
  }
45878
45883
  }), $;
45879
- }, R = Me(() => {
45884
+ }, R = Oe(() => {
45880
45885
  const B = a.value.table.columns || [], $ = [], q = (Z) => {
45881
45886
  Z.forEach(({ prop: Q, isSlot: le, columns: de }) => {
45882
45887
  le && Q && Q !== "tableAction" && $.push(Q), de != null && de.length && q(de);
45883
45888
  });
45884
45889
  };
45885
45890
  return q(B), $;
45886
- }), T = Me(() => {
45891
+ }), T = Oe(() => {
45887
45892
  var B;
45888
45893
  return D((B = a.value.search) == null ? void 0 : B.items);
45889
- }), _ = Me(() => {
45894
+ }), _ = Oe(() => {
45890
45895
  var B;
45891
45896
  return D((B = a.value.readForm) == null ? void 0 : B.items);
45892
- }), U = Me(() => {
45897
+ }), U = Oe(() => {
45893
45898
  var B;
45894
45899
  return D((B = a.value.addForm) == null ? void 0 : B.items);
45895
- }), W = Me(() => {
45900
+ }), W = Oe(() => {
45896
45901
  var B;
45897
45902
  return D((B = a.value.editForm) == null ? void 0 : B.items);
45898
45903
  }), F = () => {
@@ -46673,7 +46678,7 @@ const Mpe = {
46673
46678
  },
46674
46679
  emits: ["customEvent"],
46675
46680
  setup(t, { expose: e, emit: n }) {
46676
- const r = t, o = n, i = st(), s = Me(() => r.tableName.replace(/_/g, ""));
46681
+ const r = t, o = n, i = st(), s = Oe(() => r.tableName.replace(/_/g, ""));
46677
46682
  let a = st(!1), l = st({
46678
46683
  table: {},
46679
46684
  pagination: {}
@@ -46753,7 +46758,7 @@ const Mpe = {
46753
46758
  }
46754
46759
  };
46755
46760
  e({ searchSubmit: m, pageRefresh: p });
46756
- const C = Me(
46761
+ const C = Oe(
46757
46762
  () => {
46758
46763
  const w = l.value.table.columns || [], x = [], S = (E) => {
46759
46764
  E.forEach(({ prop: M, isSlot: O, columns: I }) => {
@@ -55423,7 +55428,7 @@ const zN = (t, e) => {
55423
55428
  innerY: r.y,
55424
55429
  innerW: r.w,
55425
55430
  innerH: r.h
55426
- }), c = Me(() => ({
55431
+ }), c = Oe(() => ({
55427
55432
  "vue-resizable": X(f),
55428
55433
  static: r.static,
55429
55434
  resizing: u.isResizing,
@@ -55433,7 +55438,7 @@ const zN = (t, e) => {
55433
55438
  "disable-userselect": u.isDragging,
55434
55439
  // 'no-touch': unref(isAndroid) && unref(draggableOrResizableAndNotStatic),
55435
55440
  "no-touch": X(h)
55436
- })), f = Me(() => u.resizable && !r.static), h = Me(() => (u.draggable || u.resizable) && !r.static), p = Me(() => a.props.isMirrored), m = Me(() => X(p) ? "vue-resizable-handle vue-rtl-resizable-handle" : "vue-resizable-handle");
55441
+ })), f = Oe(() => u.resizable && !r.static), h = Oe(() => (u.draggable || u.resizable) && !r.static), p = Oe(() => a.props.isMirrored), m = Oe(() => X(p) ? "vue-resizable-handle vue-rtl-resizable-handle" : "vue-resizable-handle");
55437
55442
  function g() {
55438
55443
  s.on("updateWidth", W), s.on("setDraggable", v), s.on("setResizable", b), s.on("setBounded", y), s.on("setTransformScale", C), s.on("setRowHeight", w), s.on("setMaxRows", x), s.on("directionchange", S), s.on("setColNum", E);
55439
55444
  }
@@ -56825,7 +56830,7 @@ const k0e = { class: "form-canvas-area" }, j0e = { class: "canvas-toolbar" }, E0
56825
56830
  flmButton: Lp,
56826
56831
  flmDialog: Gh,
56827
56832
  flmPagination: Up
56828
- }, o = t, i = n, s = Me({
56833
+ }, o = t, i = n, s = Oe({
56829
56834
  get: () => o.layout,
56830
56835
  set: (G) => i("update:layout", G)
56831
56836
  }), a = ".el-button, .el-tag, .form-inner-control-wrap, .custom-widget-placeholder, .vue-resizable-handle, .vue-rtl-resizable-handle, .vue-draggable-handle, .module-wrap--palette-ghost";
@@ -56901,7 +56906,7 @@ const k0e = { class: "form-canvas-area" }, j0e = { class: "canvas-toolbar" }, E0
56901
56906
  function S(G, ee) {
56902
56907
  i("delete-form-child", G, ee);
56903
56908
  }
56904
- const E = st(!1), M = st(""), O = st(null), I = Me(() => {
56909
+ const E = st(!1), M = st(""), O = st(null), I = Oe(() => {
56905
56910
  var ee;
56906
56911
  const G = (ee = O.value) == null ? void 0 : ee.sourceGroup.i;
56907
56912
  return o.layout.filter(
@@ -56931,7 +56936,7 @@ const k0e = { class: "form-canvas-area" }, j0e = { class: "canvas-toolbar" }, E0
56931
56936
  function D() {
56932
56937
  O.value = null, M.value = "";
56933
56938
  }
56934
- const R = Me(
56939
+ const R = Oe(
56935
56940
  () => JN(o.selectedGlobalButtonIndex)
56936
56941
  );
56937
56942
  function T(G) {
@@ -57668,7 +57673,7 @@ const k0e = { class: "form-canvas-area" }, j0e = { class: "canvas-toolbar" }, E0
57668
57673
  l || n.value++;
57669
57674
  }
57670
57675
  );
57671
- const r = Me(() => {
57676
+ const r = Oe(() => {
57672
57677
  const l = e.config || {};
57673
57678
  return !!(l && Array.isArray(l.groups) && l.groups.length);
57674
57679
  });
@@ -57735,7 +57740,7 @@ const k0e = { class: "form-canvas-area" }, j0e = { class: "canvas-toolbar" }, E0
57735
57740
  },
57736
57741
  { immediate: !0 }
57737
57742
  );
57738
- const r = Me(() => {
57743
+ const r = Oe(() => {
57739
57744
  const i = e.groupsConfig || [], s = e.selectedItem;
57740
57745
  return s ? i.filter((a) => !a.visible || a.visible(s)) : [];
57741
57746
  });
@@ -57807,7 +57812,7 @@ const xye = { class: "framework-attr-fields-form" }, wye = {
57807
57812
  publishedDetailFieldLocks: {}
57808
57813
  },
57809
57814
  setup(t) {
57810
- const e = t, n = Me(
57815
+ const e = t, n = Oe(
57811
57816
  () => QN(e.model, e.publishedDetailFieldLocks)
57812
57817
  );
57813
57818
  function r(b, y) {
@@ -57831,9 +57836,9 @@ const xye = { class: "framework-attr-fields-form" }, wye = {
57831
57836
  slider: An.flmSlider,
57832
57837
  switch: An.flmSwitch,
57833
57838
  select: An.flmSelect
57834
- }, a = hi({}), l = st(null), u = Me(() => e.fields.filter(i)), c = Me(
57839
+ }, a = hi({}), l = st(null), u = Oe(() => e.fields.filter(i)), c = Oe(
57835
57840
  () => u.value.filter((b) => !s[b.component])
57836
- ), f = Me(() => {
57841
+ ), f = Oe(() => {
57837
57842
  const b = n.value;
57838
57843
  return u.value.filter((y) => s[y.component]).map((y) => {
57839
57844
  const C = s[y.component], w = y.required === !0, x = b.includes(y.key);
@@ -57850,13 +57855,13 @@ const xye = { class: "framework-attr-fields-form" }, wye = {
57850
57855
  }
57851
57856
  };
57852
57857
  });
57853
- }), h = Me(() => ({
57858
+ }), h = Oe(() => ({
57854
57859
  // 与 framework.vue 中“默认属性编辑表单”保持一致
57855
57860
  size: CL.small,
57856
57861
  "label-position": "right",
57857
57862
  "label-width": "120px",
57858
57863
  ...e.formProps ?? {}
57859
- })), p = Me(() => ({
57864
+ })), p = Oe(() => ({
57860
57865
  ...h.value,
57861
57866
  model: a,
57862
57867
  items: f.value
@@ -57920,9 +57925,9 @@ const oi = /* @__PURE__ */ jt({
57920
57925
  readonlyConfig: {}
57921
57926
  },
57922
57927
  setup(t) {
57923
- const e = t, n = uP(), r = Me(
57928
+ const e = t, n = uP(), r = Oe(
57924
57929
  () => ZN(e.fieldKey, e.hiddenConfig)
57925
- ), o = Me(
57930
+ ), o = Oe(
57926
57931
  () => Eye(e.fieldKey, e.readonlyConfig)
57927
57932
  );
57928
57933
  return (i, s) => {
@@ -57991,15 +57996,15 @@ const oi = /* @__PURE__ */ jt({
57991
57996
  publishedDetailFieldLocks: {}
57992
57997
  },
57993
57998
  setup(t) {
57994
- const e = Me(() => {
57999
+ const e = Oe(() => {
57995
58000
  const F = n.model;
57996
58001
  if (!F) return [];
57997
58002
  const j = F._resolveAttrFields;
57998
58003
  return typeof j == "function" ? j() ?? [] : F.customAttrFields ?? [];
57999
- }), n = t, r = Me(() => {
58004
+ }), n = t, r = Oe(() => {
58000
58005
  var F;
58001
58006
  return ((F = n.model) == null ? void 0 : F.disabledConfig) ?? [];
58002
- }), o = Me(
58007
+ }), o = Oe(
58003
58008
  () => QN(n.model, n.publishedDetailFieldLocks)
58004
58009
  ), i = Tye;
58005
58010
  function s(F) {
@@ -58061,7 +58066,7 @@ const oi = /* @__PURE__ */ jt({
58061
58066
  function w(F) {
58062
58067
  return F == null || F === "" ? [] : typeof F != "string" ? [] : F.split(/[,,]/).map((j) => j.trim()).filter(Boolean);
58063
58068
  }
58064
- const x = Me({
58069
+ const x = Oe({
58065
58070
  get() {
58066
58071
  var F;
58067
58072
  return w((F = n.uploadConfig) == null ? void 0 : F.accept);
@@ -58070,7 +58075,7 @@ const oi = /* @__PURE__ */ jt({
58070
58075
  const j = n.uploadConfig;
58071
58076
  j && (j.accept = Array.isArray(F) && F.length ? F.join(",") : "");
58072
58077
  }
58073
- }), S = Me({
58078
+ }), S = Oe({
58074
58079
  get() {
58075
58080
  var F, j;
58076
58081
  return ((j = (F = n.transferConfig) == null ? void 0 : F.titles) == null ? void 0 : j[0]) ?? "";
@@ -58080,7 +58085,7 @@ const oi = /* @__PURE__ */ jt({
58080
58085
  const j = n.transferConfig.titles || [];
58081
58086
  n.transferConfig.titles = [F, j[1] ?? ""];
58082
58087
  }
58083
- }), E = Me({
58088
+ }), E = Oe({
58084
58089
  get() {
58085
58090
  var F, j;
58086
58091
  return ((j = (F = n.transferConfig) == null ? void 0 : F.titles) == null ? void 0 : j[1]) ?? "";
@@ -58140,12 +58145,12 @@ const oi = /* @__PURE__ */ jt({
58140
58145
  },
58141
58146
  { deep: !0 }
58142
58147
  );
58143
- const I = st(!1), A = st(null), P = st([]), D = Me(
58148
+ const I = st(!1), A = st(null), P = st([]), D = Oe(
58144
58149
  () => A.value === "cascader" ? "编辑级联选项" : "编辑穿梭框选项"
58145
- ), R = Me(() => {
58150
+ ), R = Oe(() => {
58146
58151
  const F = M.value;
58147
58152
  return Array.isArray(F) ? F.length ? `共 ${F.length} 项` : "暂无选项,点击编辑添加" : "当前不是数组,请点击编辑修正";
58148
- }), T = Me(() => {
58153
+ }), T = Oe(() => {
58149
58154
  const F = O.value;
58150
58155
  return Array.isArray(F) ? F.length ? `共 ${F.length} 项` : "暂无选项,点击编辑添加" : "当前不是数组,请点击编辑修正";
58151
58156
  });
@@ -59873,7 +59878,7 @@ const oi = /* @__PURE__ */ jt({
59873
59878
  },
59874
59879
  emits: ["select", "remove", "add"],
59875
59880
  setup(t) {
59876
- const e = t, n = Me(() => JN(e.selectedIndex)), r = Me(() => {
59881
+ const e = t, n = Oe(() => JN(e.selectedIndex)), r = Oe(() => {
59877
59882
  const o = e.selectedIndex;
59878
59883
  return o == null || o === mg ? null : e.buttons[o] ?? null;
59879
59884
  });
@@ -60192,7 +60197,7 @@ const r1e = { class: "fi-rules-editor" }, o1e = {
60192
60197
  formItem: {}
60193
60198
  },
60194
60199
  setup(t) {
60195
- const e = t, n = st(!1), r = st(""), o = st(""), i = Me(() => c(r.value));
60200
+ const e = t, n = st(!1), r = st(""), o = st(""), i = Oe(() => c(r.value));
60196
60201
  function s() {
60197
60202
  r.value = "", o.value = "";
60198
60203
  }
@@ -60964,7 +60969,7 @@ function O1e(t, e, n, r, o) {
60964
60969
  { ...nh.reset }
60965
60970
  ], g.config = y), y ?? null;
60966
60971
  }
60967
- const m = Me(() => {
60972
+ const m = Oe(() => {
60968
60973
  var C;
60969
60974
  const g = e.value;
60970
60975
  if (!g) return null;
@@ -61141,113 +61146,113 @@ function M1e(t, e, n, r, o, i, s, a) {
61141
61146
  };
61142
61147
  }
61143
61148
  function P1e(t) {
61144
- const e = Me(() => {
61149
+ const e = Oe(() => {
61145
61150
  const R = t.value;
61146
61151
  return (R == null ? void 0 : R.type) === "flmInput" && R.config ? R.config : void 0;
61147
- }), n = Me(() => {
61152
+ }), n = Oe(() => {
61148
61153
  const R = t.value;
61149
61154
  return (R == null ? void 0 : R.type) === "flmSelect" && R.config ? R.config : void 0;
61150
- }), r = Me(
61155
+ }), r = Oe(
61151
61156
  () => {
61152
61157
  var R, T;
61153
61158
  return ((R = t.value) == null ? void 0 : R.type) === "flmInputNumber" && ((T = t.value) != null && T.config) ? t.value.config : void 0;
61154
61159
  }
61155
- ), o = Me(
61160
+ ), o = Oe(
61156
61161
  () => {
61157
61162
  var R, T;
61158
61163
  return ((R = t.value) == null ? void 0 : R.type) === "flmDatePicker" && ((T = t.value) != null && T.config) ? t.value.config : void 0;
61159
61164
  }
61160
- ), i = Me(
61165
+ ), i = Oe(
61161
61166
  () => {
61162
61167
  var R, T;
61163
61168
  return ((R = t.value) == null ? void 0 : R.type) === "flmTimePicker" && ((T = t.value) != null && T.config) ? t.value.config : void 0;
61164
61169
  }
61165
- ), s = Me(
61170
+ ), s = Oe(
61166
61171
  () => {
61167
61172
  var R, T;
61168
61173
  return ((R = t.value) == null ? void 0 : R.type) === "flmTimeSelect" && ((T = t.value) != null && T.config) ? t.value.config : void 0;
61169
61174
  }
61170
- ), a = Me(
61175
+ ), a = Oe(
61171
61176
  () => {
61172
61177
  var R, T;
61173
61178
  return ((R = t.value) == null ? void 0 : R.type) === "flmCascader" && ((T = t.value) != null && T.config) ? t.value.config : void 0;
61174
61179
  }
61175
- ), l = Me(
61180
+ ), l = Oe(
61176
61181
  () => {
61177
61182
  var R, T;
61178
61183
  return ((R = t.value) == null ? void 0 : R.type) === "flmCheckbox" && ((T = t.value) != null && T.config) ? t.value.config : void 0;
61179
61184
  }
61180
- ), u = Me(
61185
+ ), u = Oe(
61181
61186
  () => {
61182
61187
  var R, T;
61183
61188
  return ((R = t.value) == null ? void 0 : R.type) === "flmCheckboxGroup" && ((T = t.value) != null && T.config) ? t.value.config : void 0;
61184
61189
  }
61185
- ), c = Me(
61190
+ ), c = Oe(
61186
61191
  () => {
61187
61192
  var R, T;
61188
61193
  return ((R = t.value) == null ? void 0 : R.type) === "flmColorPicker" && ((T = t.value) != null && T.config) ? t.value.config : void 0;
61189
61194
  }
61190
- ), f = Me(
61195
+ ), f = Oe(
61191
61196
  () => {
61192
61197
  var R, T;
61193
61198
  return ((R = t.value) == null ? void 0 : R.type) === "flmRadio" && ((T = t.value) != null && T.config) ? t.value.config : void 0;
61194
61199
  }
61195
- ), h = Me(
61200
+ ), h = Oe(
61196
61201
  () => {
61197
61202
  var R, T;
61198
61203
  return ((R = t.value) == null ? void 0 : R.type) === "flmRate" && ((T = t.value) != null && T.config) ? t.value.config : void 0;
61199
61204
  }
61200
- ), p = Me(
61205
+ ), p = Oe(
61201
61206
  () => {
61202
61207
  var R, T;
61203
61208
  return ((R = t.value) == null ? void 0 : R.type) === "flmSlider" && ((T = t.value) != null && T.config) ? t.value.config : void 0;
61204
61209
  }
61205
- ), m = Me(
61210
+ ), m = Oe(
61206
61211
  () => {
61207
61212
  var R, T;
61208
61213
  return ((R = t.value) == null ? void 0 : R.type) === "flmSwitch" && ((T = t.value) != null && T.config) ? t.value.config : void 0;
61209
61214
  }
61210
- ), g = Me(
61215
+ ), g = Oe(
61211
61216
  () => {
61212
61217
  var R, T;
61213
61218
  return ((R = t.value) == null ? void 0 : R.type) === "flmTransfer" && ((T = t.value) != null && T.config) ? t.value.config : void 0;
61214
61219
  }
61215
- ), v = Me(
61220
+ ), v = Oe(
61216
61221
  () => {
61217
61222
  var R, T;
61218
61223
  return ((R = t.value) == null ? void 0 : R.type) === "flmButton" && ((T = t.value) != null && T.config) ? t.value.config : void 0;
61219
61224
  }
61220
- ), b = Me(
61225
+ ), b = Oe(
61221
61226
  () => {
61222
61227
  var R, T;
61223
61228
  return ((R = t.value) == null ? void 0 : R.type) === "flmDialog" && ((T = t.value) != null && T.config) ? t.value.config : void 0;
61224
61229
  }
61225
- ), y = Me(
61230
+ ), y = Oe(
61226
61231
  () => {
61227
61232
  var R, T;
61228
61233
  return ((R = t.value) == null ? void 0 : R.type) === "flmDrawer" && ((T = t.value) != null && T.config) ? t.value.config : void 0;
61229
61234
  }
61230
- ), C = Me(
61235
+ ), C = Oe(
61231
61236
  () => {
61232
61237
  var R, T;
61233
61238
  return ((R = t.value) == null ? void 0 : R.type) === "flmPagination" && ((T = t.value) != null && T.config) ? t.value.config : void 0;
61234
61239
  }
61235
- ), w = Me(
61240
+ ), w = Oe(
61236
61241
  () => {
61237
61242
  var R, T;
61238
61243
  return ((R = t.value) == null ? void 0 : R.type) === "flmRead" && ((T = t.value) != null && T.config) ? t.value.config : void 0;
61239
61244
  }
61240
- ), x = Me(
61245
+ ), x = Oe(
61241
61246
  () => {
61242
61247
  var R, T;
61243
61248
  return ((R = t.value) == null ? void 0 : R.type) === "flmAlert" && ((T = t.value) != null && T.config) ? t.value.config : void 0;
61244
61249
  }
61245
- ), S = Me(
61250
+ ), S = Oe(
61246
61251
  () => {
61247
61252
  var R, T;
61248
61253
  return ((R = t.value) == null ? void 0 : R.type) === "flmUpload" && ((T = t.value) != null && T.config) ? t.value.config : void 0;
61249
61254
  }
61250
- ), E = Me(
61255
+ ), E = Oe(
61251
61256
  () => {
61252
61257
  var R, T;
61253
61258
  return ((R = t.value) == null ? void 0 : R.type) === "flmTime" && ((T = t.value) != null && T.config) ? t.value.config : void 0;
@@ -61325,20 +61330,20 @@ function P1e(t) {
61325
61330
  (!U || U === "YYYY-MM-DD" || U === "HH:mm:ss") && (T.format = "YYYY-MM-DD HH:mm:ss");
61326
61331
  }
61327
61332
  }
61328
- const I = Me(() => {
61333
+ const I = Oe(() => {
61329
61334
  var R;
61330
61335
  return ((R = t.value) == null ? void 0 : R.config) ?? void 0;
61331
- }), A = Me(
61336
+ }), A = Oe(
61332
61337
  () => {
61333
61338
  var R;
61334
61339
  return !!((R = t.value) != null && R.type) && upe.includes(t.value.type);
61335
61340
  }
61336
- ), P = Me(
61341
+ ), P = Oe(
61337
61342
  () => {
61338
61343
  var R;
61339
61344
  return !!((R = t.value) != null && R.type) && t.value.type !== "flmRead" && t.value.type !== "flmAlert" && t.value.type !== "flmTime";
61340
61345
  }
61341
- ), D = Me(
61346
+ ), D = Oe(
61342
61347
  () => {
61343
61348
  var R;
61344
61349
  return !!((R = t.value) != null && R.type) && cpe.includes(t.value.type);
@@ -61377,7 +61382,7 @@ function P1e(t) {
61377
61382
  };
61378
61383
  }
61379
61384
  function I1e(t, e, n, r, o) {
61380
- const i = Me(() => {
61385
+ const i = Oe(() => {
61381
61386
  if (r.value != null) {
61382
61387
  const c = r.value;
61383
61388
  if (c === mg)
@@ -64809,7 +64814,7 @@ const lwe = { class: "framework-lr" }, uwe = jt({ name: "formFramework" }), cwe
64809
64814
  },
64810
64815
  emits: ["save", "reset", "saveField", "saveGroup", "controlDetailInfo", "subFormBindRequired", "designContextChange"],
64811
64816
  setup(t, { expose: e, emit: n }) {
64812
- const r = t, o = Me(() => {
64817
+ const r = t, o = Oe(() => {
64813
64818
  const et = r.componentGroups;
64814
64819
  if (et && et.length)
64815
64820
  return et;
@@ -64837,13 +64842,13 @@ const lwe = { class: "framework-lr" }, uwe = jt({ name: "formFramework" }), cwe
64837
64842
  { ...s.submit },
64838
64843
  { ...s.cancel },
64839
64844
  { ...s.reset }
64840
- ]), l = Me(
64845
+ ]), l = Oe(
64841
64846
  () => D1e(o.value)
64842
- ), u = Me(() => l.value.businessGroups), c = Me(
64847
+ ), u = Oe(() => l.value.businessGroups), c = Oe(
64843
64848
  () => l.value.customComponentGroups
64844
- ), f = Me(
64849
+ ), f = Oe(
64845
64850
  () => l.value.customFieldLibGroups
64846
- ), h = Me(() => {
64851
+ ), h = Oe(() => {
64847
64852
  const Fe = l.value.presetItems.map((wt) => R1e(wt));
64848
64853
  if (r.hideBasicWidgets) return Fe;
64849
64854
  const Xe = new Set(Fe.map((wt) => wt.type)), vt = hpe.filter(
@@ -65019,7 +65024,7 @@ const lwe = { class: "framework-lr" }, uwe = jt({ name: "formFramework" }), cwe
65019
65024
  ), d1(() => {
65020
65025
  Ce == null || Ce(), Ce = null;
65021
65026
  });
65022
- const lt = Me(() => u1e(I.value)), {
65027
+ const lt = Oe(() => u1e(I.value)), {
65023
65028
  inputConfig: He,
65024
65029
  selectConfig: ot,
65025
65030
  inputNumberConfig: Ct,
@@ -65985,14 +65990,14 @@ const JM = [
65985
65990
  r("select-region", u);
65986
65991
  }, i = () => {
65987
65992
  r("clear-selection");
65988
- }, s = Me(() => n.pageConfig.search), a = Me(() => ({
65993
+ }, s = Oe(() => n.pageConfig.search), a = Oe(() => ({
65989
65994
  ...n.pageConfig.table,
65990
65995
  fit: !0,
65991
65996
  border: n.pageConfig.table.border ?? !0,
65992
65997
  columns: n.pageConfig.table.columns || [],
65993
65998
  data: JM,
65994
65999
  height: n.pageConfig.table.height || "280px"
65995
- })), l = Me(() => ({
66000
+ })), l = Oe(() => ({
65996
66001
  ...N0,
65997
66002
  ...n.pageConfig.pagination,
65998
66003
  total: n.pageConfig.pagination.total || JM.length
@@ -66508,7 +66513,7 @@ const Fwe = { class: "search-field-tree__label" }, $we = jt({ name: "SearchField
66508
66513
  const a = {
66509
66514
  label: "label",
66510
66515
  children: "children"
66511
- }, l = Me(
66516
+ }, l = Oe(
66512
66517
  () => n.rows.map((g) => ({
66513
66518
  nodeId: String(g.flame_id ?? g.field_name),
66514
66519
  label: V2(g),
@@ -66577,7 +66582,7 @@ const Fwe = { class: "search-field-tree__label" }, $we = jt({ name: "SearchField
66577
66582
  },
66578
66583
  emits: ["field-toggle", "field-reorder"],
66579
66584
  setup(t, { emit: e }) {
66580
- const n = t, r = e, o = Me(() => n.model);
66585
+ const n = t, r = e, o = Oe(() => n.model);
66581
66586
  return (i, s) => {
66582
66587
  const a = Ie("el-input-number"), l = Ie("el-form-item"), u = Ie("el-switch"), c = Ie("el-input"), f = Ie("el-form");
66583
66588
  return he(), xt(f, {
@@ -66681,7 +66686,7 @@ const Fwe = { class: "search-field-tree__label" }, $we = jt({ name: "SearchField
66681
66686
  section: { default: "buttons" }
66682
66687
  },
66683
66688
  setup(t) {
66684
- const e = t, n = Me(() => e.model), r = Me({
66689
+ const e = t, n = Oe(() => e.model), r = Oe({
66685
66690
  get: () => n.value.buttons ?? [],
66686
66691
  set: (s) => {
66687
66692
  n.value.buttons = s;
@@ -66883,9 +66888,9 @@ const Fwe = { class: "search-field-tree__label" }, $we = jt({ name: "SearchField
66883
66888
  hasLoadedChildren: u1(_),
66884
66889
  children: U ? b(_) ?? [] : void 0
66885
66890
  };
66886
- }), C = Me(
66891
+ }), C = Oe(
66887
66892
  () => n.displayMode === "compact" ? Mwe(n.rows) : n.rows
66888
- ), w = Me(() => [
66893
+ ), w = Oe(() => [
66889
66894
  m,
66890
66895
  g,
66891
66896
  ...y(C.value),
@@ -67078,24 +67083,24 @@ const Fwe = { class: "search-field-tree__label" }, $we = jt({ name: "SearchField
67078
67083
  hasEditingNode: { type: Boolean }
67079
67084
  },
67080
67085
  setup(t) {
67081
- const e = t, n = Me(() => e.column), r = Me(() => {
67086
+ const e = t, n = Oe(() => e.column), r = Oe(() => {
67082
67087
  var C;
67083
67088
  return ((C = n.value) == null ? void 0 : C.type) === "selection";
67084
- }), o = Me(() => {
67089
+ }), o = Oe(() => {
67085
67090
  var C;
67086
67091
  return ((C = n.value) == null ? void 0 : C.type) === "index";
67087
- }), i = Me(() => {
67092
+ }), i = Oe(() => {
67088
67093
  var C;
67089
67094
  return ((C = n.value) == null ? void 0 : C.prop) === "tableAction";
67090
- }), s = Me(
67095
+ }), s = Oe(
67091
67096
  () => {
67092
67097
  var C, w, x;
67093
67098
  return !!((C = n.value) != null && C.prop) && !i.value && ((w = n.value) == null ? void 0 : w.type) !== "selection" && ((x = n.value) == null ? void 0 : x.type) !== "index";
67094
67099
  }
67095
- ), a = Me(() => !!n.value && (o.value || i.value || s.value)), l = Me(() => s.value), u = Me(() => !!n.value && !r.value), c = Me(() => s.value), f = Me(() => s.value), h = Me(() => {
67100
+ ), a = Oe(() => !!n.value && (o.value || i.value || s.value)), l = Oe(() => s.value), u = Oe(() => !!n.value && !r.value), c = Oe(() => s.value), f = Oe(() => s.value), h = Oe(() => {
67096
67101
  var C, w;
67097
67102
  return s.value && !((w = (C = n.value) == null ? void 0 : C.prop) != null && w.startsWith("ref_"));
67098
- }), p = Me(() => s.value), m = [
67103
+ }), p = Oe(() => s.value), m = [
67099
67104
  { label: "默认格式(不做处理)", value: "formatDefault" },
67100
67105
  { label: "日期时间(YYYY-MM-DD HH:MM:SS)", value: "formatDateTime" },
67101
67106
  { label: "时间(HH:MM:SS)", value: "formatTime" },
@@ -67107,7 +67112,7 @@ const Fwe = { class: "search-field-tree__label" }, $we = jt({ name: "SearchField
67107
67112
  { label: "货币(3位小数)", value: "formatCurrency3" },
67108
67113
  { label: "货币(4位小数)", value: "formatCurrency4" },
67109
67114
  { label: "货币(5位小数)", value: "formatCurrency5" }
67110
- ], g = Me({
67115
+ ], g = Oe({
67111
67116
  get: () => {
67112
67117
  var C;
67113
67118
  return ((C = n.value) == null ? void 0 : C.width) != null ? String(n.value.width) : "";
@@ -67115,7 +67120,7 @@ const Fwe = { class: "search-field-tree__label" }, $we = jt({ name: "SearchField
67115
67120
  set: (C) => {
67116
67121
  n.value && (n.value.width = C || void 0);
67117
67122
  }
67118
- }), v = Me({
67123
+ }), v = Oe({
67119
67124
  get: () => {
67120
67125
  var C;
67121
67126
  return ((C = n.value) == null ? void 0 : C["min-width"]) != null ? String(n.value["min-width"]) : "";
@@ -67123,7 +67128,7 @@ const Fwe = { class: "search-field-tree__label" }, $we = jt({ name: "SearchField
67123
67128
  set: (C) => {
67124
67129
  n.value && (n.value["min-width"] = C || void 0);
67125
67130
  }
67126
- }), b = Me({
67131
+ }), b = Oe({
67127
67132
  get: () => {
67128
67133
  var C, w;
67129
67134
  return ((C = n.value) == null ? void 0 : C.fixed) === !0 ? "left" : ((w = n.value) == null ? void 0 : w.fixed) ?? "";
@@ -67131,7 +67136,7 @@ const Fwe = { class: "search-field-tree__label" }, $we = jt({ name: "SearchField
67131
67136
  set: (C) => {
67132
67137
  n.value && (n.value.fixed = C === "" ? void 0 : C);
67133
67138
  }
67134
- }), y = Me({
67139
+ }), y = Oe({
67135
67140
  get: () => {
67136
67141
  var C;
67137
67142
  return ((C = n.value) == null ? void 0 : C.str_format) ?? "";
@@ -67369,11 +67374,11 @@ const Fwe = { class: "search-field-tree__label" }, $we = jt({ name: "SearchField
67369
67374
  },
67370
67375
  emits: ["toggle-table-root", "toggle-table-child", "toggle-system-column", "load-fk-children", "reorder-table-root", "reorder-table-child", "column-tree-display-mode-change"],
67371
67376
  setup(t, { emit: e }) {
67372
- const n = t, r = e, o = Me(() => n.tableModel), i = Me(() => n.tableActionModel), s = st(null), a = st(!1), l = Me(
67377
+ const n = t, r = e, o = Oe(() => n.tableModel), i = Oe(() => n.tableActionModel), s = st(null), a = st(!1), l = Oe(
67373
67378
  () => s.value ? Twe(s.value, n.fieldRows) : null
67374
- ), u = Me(() => s.value ? Ewe(o.value.columns ?? [], s.value) : null), c = Me(() => s.value ? `列配置 - ${s.value.field_name}` : "列配置"), f = (g) => {
67379
+ ), u = Oe(() => s.value ? Ewe(o.value.columns ?? [], s.value) : null), c = Oe(() => s.value ? `列配置 - ${s.value.field_name}` : "列配置"), f = (g) => {
67375
67380
  s.value = g, a.value = !0;
67376
- }, h = Me({
67381
+ }, h = Oe({
67377
67382
  get: () => i.value.buttons ?? [],
67378
67383
  set: (g) => {
67379
67384
  i.value.buttons = g;
@@ -67541,7 +67546,7 @@ const Fwe = { class: "search-field-tree__label" }, $we = jt({ name: "SearchField
67541
67546
  section: { default: "base" }
67542
67547
  },
67543
67548
  setup(t) {
67544
- const e = t, n = Me(() => e.model), r = Me(() => (n.value["page-sizes"] || []).join(",")), o = (i) => {
67549
+ const e = t, n = Oe(() => e.model), r = Oe(() => (n.value["page-sizes"] || []).join(",")), o = (i) => {
67545
67550
  n.value["page-sizes"] = i.split(",").map((s) => Number(s.trim())).filter((s) => !Number.isNaN(s) && s > 0);
67546
67551
  };
67547
67552
  return (i, s) => {
@@ -67628,7 +67633,7 @@ const Fwe = { class: "search-field-tree__label" }, $we = jt({ name: "SearchField
67628
67633
  },
67629
67634
  emits: ["search-field-toggle", "search-field-reorder", "table-field-toggle-root", "table-field-toggle-child", "toggle-system-column", "load-fk-children", "table-field-reorder-root", "table-field-reorder-child", "column-tree-display-mode-change"],
67630
67635
  setup(t, { emit: e }) {
67631
- const n = t, r = e, o = Me(() => bwe(n.selectedRegion)), i = st({});
67636
+ const n = t, r = e, o = Oe(() => bwe(n.selectedRegion)), i = st({});
67632
67637
  Dt(
67633
67638
  o,
67634
67639
  (a) => {
@@ -67778,7 +67783,7 @@ const Fwe = { class: "search-field-tree__label" }, $we = jt({ name: "SearchField
67778
67783
  addForm: "新增表单",
67779
67784
  editForm: "编辑表单",
67780
67785
  readForm: "查看表单"
67781
- }, i = st(!1), s = st(""), a = Me(
67786
+ }, i = st(!1), s = st(""), a = Oe(
67782
67787
  () => Object.keys(o).filter((c) => c !== n.currentFormKey).map((c) => ({
67783
67788
  value: c,
67784
67789
  label: o[c]
@@ -68013,7 +68018,7 @@ function jCe() {
68013
68018
  function ECe(t, e, n) {
68014
68019
  const r = st([]), o = st([]), i = st(null), s = st("full"), a = st(Ox());
68015
68020
  let l = null;
68016
- const u = Me(() => r.value.length > 0), c = () => jwe(
68021
+ const u = Oe(() => r.value.length > 0), c = () => jwe(
68017
68022
  __(
68018
68023
  o.value,
68019
68024
  e.value.tableAction,
@@ -68173,7 +68178,7 @@ const TCe = { class: "page-builder-framework" }, ACe = { class: "page-framework-
68173
68178
  },
68174
68179
  emits: ["save", "subFormBindRequired"],
68175
68180
  setup(t, { expose: e, emit: n }) {
68176
- const r = t, o = n, i = uP(), s = st("page"), a = Me(() => s.value !== "page"), l = Me(() => s.value), u = st(z2()), c = st(!1), f = st(null), h = st(null), p = st(null), { selectedRegion: m, selectRegion: g, clearSelection: v } = jCe(), {
68181
+ const r = t, o = n, i = uP(), s = st("page"), a = Oe(() => s.value !== "page"), l = Oe(() => s.value), u = st(z2()), c = st(!1), f = st(null), h = st(null), p = st(null), { selectedRegion: m, selectRegion: g, clearSelection: v } = jCe(), {
68177
68182
  searchFieldRows: b,
68178
68183
  tableFieldRows: y,
68179
68184
  hasTableInfo: C,
@@ -68193,16 +68198,16 @@ const TCe = { class: "page-builder-framework" }, ACe = { class: "page-framework-
68193
68198
  loadTableFkChildren: U
68194
68199
  } = ECe(
68195
68200
  nL(r, "tableInfoItems"),
68196
- Me(() => u.value.page),
68201
+ Oe(() => u.value.page),
68197
68202
  (Qe) => {
68198
68203
  var Ne;
68199
68204
  return ((Ne = r.loadFkTableInfoItems) == null ? void 0 : Ne.call(r, Qe)) ?? Promise.resolve([]);
68200
68205
  }
68201
- ), W = Me(() => r.tableInfoItems ?? []), F = () => ({ scope: "main" }), j = st({
68206
+ ), W = Oe(() => r.tableInfoItems ?? []), F = () => ({ scope: "main" }), j = st({
68202
68207
  addForm: F(),
68203
68208
  editForm: F(),
68204
68209
  readForm: F()
68205
- }), B = /* @__PURE__ */ new Map(), $ = st([]), q = Me(
68210
+ }), B = /* @__PURE__ */ new Map(), $ = st([]), q = Oe(
68206
68211
  () => j.value[l.value] ?? F()
68207
68212
  );
68208
68213
  function Z(Qe, Ne) {
@@ -68231,7 +68236,7 @@ const TCe = { class: "page-builder-framework" }, ACe = { class: "page-framework-
68231
68236
  },
68232
68237
  { immediate: !0, deep: !0 }
68233
68238
  );
68234
- const le = Me(() => {
68239
+ const le = Oe(() => {
68235
68240
  const Qe = (r.componentGroups ?? []).filter(
68236
68241
  (H) => H.panelRole !== "customFieldLib"
68237
68242
  ), Ne = q.value;
@@ -68243,7 +68248,7 @@ const TCe = { class: "page-builder-framework" }, ACe = { class: "page-framework-
68243
68248
  }
68244
68249
  const ft = rP(W.value, "main");
68245
68250
  return ft ? [...Qe, ft] : Qe;
68246
- }), de = Me(() => ({
68251
+ }), de = Oe(() => ({
68247
68252
  componentGroups: le.value,
68248
68253
  hideBasicWidgets: r.hideBasicWidgets,
68249
68254
  ...i
@@ -68279,7 +68284,7 @@ const TCe = { class: "page-builder-framework" }, ACe = { class: "page-framework-
68279
68284
  }
68280
68285
  const J = Jt(ft.getConfig());
68281
68286
  H.setConfig(J), u.value.page[Qe] = J;
68282
- }, Ae = Me(() => u.value.page), we = Me(() => ae()), ae = () => {
68287
+ }, Ae = Oe(() => u.value.page), we = Oe(() => ae()), ae = () => {
68283
68288
  var Qe, Ne, ft, H, J, re;
68284
68289
  return {
68285
68290
  page: {