@oiij/naive-ui 0.0.43 → 0.0.45

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.
Files changed (28) hide show
  1. package/dist/components/bubble/Bubble.vue.d.ts +26 -3
  2. package/dist/components/bubble/index.d.ts +2 -2
  3. package/dist/components/config-providers/ConfigProviders.vue.d.ts +19 -2
  4. package/dist/components/config-providers/index.d.ts +4 -4
  5. package/dist/components/copy-button/CopyButton.vue.d.ts +12 -3
  6. package/dist/components/copy-button/index.d.ts +2 -2
  7. package/dist/components/data-table-plus/index.d.ts +8 -5
  8. package/dist/components/full-loading/FullLoading.vue.d.ts +17 -2
  9. package/dist/components/full-loading/index.d.ts +2 -2
  10. package/dist/components/preset-form/index.d.ts +2 -2
  11. package/dist/components/preset-input/index.d.ts +4 -4
  12. package/dist/components/preset-picker/PresetPicker.vue.d.ts +1 -1
  13. package/dist/components/preset-select/index.d.ts +4 -4
  14. package/dist/components/remote-request/index.d.ts +4 -4
  15. package/dist/components/search-input/SearchInput.vue.d.ts +20 -3
  16. package/dist/components/search-input/index.d.ts +2 -2
  17. package/dist/components/tooltip-button/TooltipButton.vue.d.ts +10 -3
  18. package/dist/components/tooltip-button/index.d.ts +2 -2
  19. package/dist/components/transition/BaseTransition.vue.d.ts +7 -2
  20. package/dist/components/transition/index.d.ts +2 -2
  21. package/dist/components/type-writer/TypeWriter.vue.d.ts +16 -3
  22. package/dist/components/type-writer/index.d.ts +2 -2
  23. package/dist/components.cjs +14 -14
  24. package/dist/components.js +364 -356
  25. package/dist/components.umd.cjs +15 -15
  26. package/dist/composables/useNaiveForm.d.cts +4 -4
  27. package/dist/composables/useNaiveForm.d.ts +4 -4
  28. package/package.json +3 -3
@@ -1,5 +1,5 @@
1
- import { inject as Rr, onBeforeMount as Io, defineComponent as le, createBlock as N, openBlock as P, Transition as Bo, mergeProps as X, unref as y, withCtx as O, renderSlot as z, ref as q, toValue as Le, isRef as Qt, isReactive as zo, watchEffect as Ne, watch as Ke, computed as te, nextTick as Or, normalizeClass as Ou, createElementVNode as eu, normalizeStyle as an, createVNode as V, createCommentVNode as Y, resolveDynamicComponent as Ee, Teleport as Uo, normalizeProps as ke, guardReactiveProps as Xe, createSlots as Mr, onMounted as qo, createElementBlock as he, createTextVNode as ru, toDisplayString as Je, onScopeDispose as ln, onUnmounted as jo, reactive as ku, toRefs as Ho, useTemplateRef as ht, Fragment as Me, h as Ae, renderList as bu, toRaw as ge, toRef as Go, withModifiers as Vo, mergeModels as Wo, useModel as Zo } from "vue";
2
- import { NEl as sn, NAvatar as Yo, NFlex as Qe, NSpin as Lr, cM as Hn, NConfigProvider as Xo, NLoadingBarProvider as Qo, NDialogProvider as Jo, NModalProvider as Ko, NNotificationProvider as ei, NMessageProvider as ui, NGlobalStyle as ti, useDialog as ni, useLoadingBar as ri, useMessage as oi, useModal as ii, useNotification as ai, NTooltip as cn, NButton as je, NInputGroup as li, NInput as fn, NFormItem as si, NTimePicker as ci, NSwitch as fi, NSlider as di, NSelect as Nr, NRate as pi, NRadioGroup as hi, NInputNumber as bi, NDynamicTags as mi, NDatePicker as gi, NDivider as dn, NCheckboxGroup as ki, NColorPicker as xi, NCheckbox as vi, NRadio as _i, NGrid as Jt, NGi as Kt, NBadge as $r, NCollapseTransition as Ir, NDataTable as yi, NPagination as Br, NModal as zr, NForm as Ei, NButtonGroup as Ai } from "naive-ui";
1
+ import { inject as Rr, onBeforeMount as Io, defineComponent as le, createBlock as N, openBlock as P, Transition as Bo, mergeProps as Y, unref as y, withCtx as O, renderSlot as z, ref as q, toValue as Ne, isRef as Qt, isReactive as zo, watchEffect as $e, watch as eu, computed as te, nextTick as Or, normalizeClass as Ou, createElementVNode as uu, normalizeStyle as an, createVNode as V, createCommentVNode as Z, resolveDynamicComponent as Ee, Teleport as Uo, normalizeProps as ke, guardReactiveProps as Qe, createSlots as Mr, onMounted as qo, createElementBlock as pe, createTextVNode as ou, toDisplayString as Ke, onScopeDispose as ln, onUnmounted as jo, reactive as ku, toRefs as Ho, useTemplateRef as ht, Fragment as Le, h as Ae, renderList as bu, toRaw as ge, toRef as Go, withModifiers as Vo, mergeModels as Wo, useModel as Zo } from "vue";
2
+ import { NEl as sn, NAvatar as Yo, NFlex as Je, NSpin as Lr, cM as Hn, NConfigProvider as Xo, NLoadingBarProvider as Qo, NDialogProvider as Jo, NModalProvider as Ko, NNotificationProvider as ei, NMessageProvider as ui, NGlobalStyle as ti, useDialog as ni, useLoadingBar as ri, useMessage as oi, useModal as ii, useNotification as ai, NTooltip as cn, NButton as je, NInputGroup as li, NInput as fn, NFormItem as si, NTimePicker as ci, NSwitch as fi, NSlider as di, NSelect as Nr, NRate as pi, NRadioGroup as hi, NInputNumber as bi, NDynamicTags as mi, NDatePicker as gi, NDivider as dn, NCheckboxGroup as ki, NColorPicker as xi, NCheckbox as vi, NRadio as _i, NGrid as Jt, NGi as Kt, NBadge as $r, NCollapseTransition as Ir, NDataTable as yi, NPagination as Br, NModal as zr, NForm as Ei, NButtonGroup as Ai } from "naive-ui";
3
3
  import { createEventHook as rt, useClipboard as wi, useTimeoutFn as Ci, useDebounceFn as Ur } from "@vueuse/core";
4
4
  function Di(e) {
5
5
  let u = ".", t = "__", n = "--", r;
@@ -414,7 +414,7 @@ const Gr = /* @__PURE__ */ le({
414
414
  transitionProps: {}
415
415
  },
416
416
  setup(e) {
417
- return bt(Ki, ua()), (u, t) => (P(), N(Bo, X({
417
+ return bt(Ki, ua()), (u, t) => (P(), N(Bo, Y({
418
418
  name: `${y(Iu)}-${u.name}`,
419
419
  appear: "",
420
420
  mode: "out-in"
@@ -454,7 +454,7 @@ un || (un = function(u, t, n) {
454
454
  tn || (tn = function(u, t) {
455
455
  return new u(...t);
456
456
  });
457
- const Qu = ve(Array.prototype.forEach), oa = ve(Array.prototype.lastIndexOf), Yn = ve(Array.prototype.pop), wu = ve(Array.prototype.push), ia = ve(Array.prototype.splice), ot = ve(String.prototype.toLowerCase), Pt = ve(String.prototype.toString), Xn = ve(String.prototype.match), Cu = ve(String.prototype.replace), aa = ve(String.prototype.indexOf), la = ve(String.prototype.trim), Oe = ve(Object.prototype.hasOwnProperty), me = ve(RegExp.prototype.test), Du = sa(TypeError);
457
+ const Qu = ve(Array.prototype.forEach), oa = ve(Array.prototype.lastIndexOf), Yn = ve(Array.prototype.pop), wu = ve(Array.prototype.push), ia = ve(Array.prototype.splice), ot = ve(String.prototype.toLowerCase), Pt = ve(String.prototype.toString), Xn = ve(String.prototype.match), Cu = ve(String.prototype.replace), aa = ve(String.prototype.indexOf), la = ve(String.prototype.trim), Me = ve(Object.prototype.hasOwnProperty), me = ve(RegExp.prototype.test), Du = sa(TypeError);
458
458
  function ve(e) {
459
459
  return function(u) {
460
460
  u instanceof RegExp && (u.lastIndex = 0);
@@ -486,13 +486,13 @@ function j(e, u) {
486
486
  }
487
487
  function ca(e) {
488
488
  for (let u = 0; u < e.length; u++)
489
- Oe(e, u) || (e[u] = null);
489
+ Me(e, u) || (e[u] = null);
490
490
  return e;
491
491
  }
492
- function Ye(e) {
492
+ function Xe(e) {
493
493
  const u = Wr(null);
494
494
  for (const [t, n] of Vr(e))
495
- Oe(e, t) && (Array.isArray(n) ? u[t] = ca(n) : n && typeof n == "object" && n.constructor === Object ? u[t] = Ye(n) : u[t] = n);
495
+ Me(e, t) && (Array.isArray(n) ? u[t] = ca(n) : n && typeof n == "object" && n.constructor === Object ? u[t] = Xe(n) : u[t] = n);
496
496
  return u;
497
497
  }
498
498
  function Fu(e, u) {
@@ -608,20 +608,20 @@ function Xr() {
608
608
  u.isSupported = typeof Vr == "function" && typeof g == "function" && h && h.createHTMLDocument !== void 0;
609
609
  const {
610
610
  MUSTACHE_EXPR: W,
611
- ERB_EXPR: Q,
611
+ ERB_EXPR: J,
612
612
  TMPLIT_EXPR: F,
613
613
  DATA_ATTR: G,
614
- ARIA_ATTR: be,
614
+ ARIA_ATTR: he,
615
615
  IS_SCRIPT_OR_DATA: Re,
616
- ATTR_WHITESPACE: J,
617
- CUSTOM_ELEMENT: ce
616
+ ATTR_WHITESPACE: X,
617
+ CUSTOM_ELEMENT: se
618
618
  } = ur;
619
619
  let {
620
620
  IS_ALLOWED_URI: Fe
621
- } = ur, K = null;
622
- const fe = j({}, [...Qn, ...Rt, ...Ot, ...Mt, ...Jn]);
621
+ } = ur, Q = null;
622
+ const ce = j({}, [...Qn, ...Rt, ...Ot, ...Mt, ...Jn]);
623
623
  let ne = null;
624
- const Z = j({}, [...Kn, ...Lt, ...er, ...Ju]);
624
+ const Ce = j({}, [...Kn, ...Lt, ...er, ...Ju]);
625
625
  let U = Object.seal(Wr(null, {
626
626
  tagNameCheck: {
627
627
  writable: !0,
@@ -641,16 +641,16 @@ function Xr() {
641
641
  enumerable: !0,
642
642
  value: !1
643
643
  }
644
- })), Ce = null, se = null, w = !0, M = !0, R = !1, H = !0, Ie = !1, Be = !0, iu = !1, yt = !1, Et = !1, lu = !1, qu = !1, ju = !1, Cn = !0, Dn = !1;
644
+ })), K = null, Oe = null, be = !0, w = !0, M = !1, R = !0, H = !1, Be = !0, Ve = !1, yt = !1, Et = !1, lu = !1, qu = !1, ju = !1, Cn = !0, Dn = !1;
645
645
  const To = "user-content-";
646
646
  let At = !0, yu = !1, su = {}, cu = null;
647
647
  const Fn = j({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
648
648
  let Sn = null;
649
649
  const Tn = j({}, ["audio", "video", "img", "source", "image", "track"]);
650
650
  let wt = null;
651
- const Pn = j({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Hu = "http://www.w3.org/1998/Math/MathML", Gu = "http://www.w3.org/2000/svg", Ve = "http://www.w3.org/1999/xhtml";
652
- let fu = Ve, Ct = !1, Dt = null;
653
- const Po = j({}, [Hu, Gu, Ve], Pt);
651
+ const Pn = j({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Hu = "http://www.w3.org/1998/Math/MathML", Gu = "http://www.w3.org/2000/svg", We = "http://www.w3.org/1999/xhtml";
652
+ let fu = We, Ct = !1, Dt = null;
653
+ const Po = j({}, [Hu, Gu, We], Pt);
654
654
  let Vu = j({}, ["mi", "mo", "mn", "ms", "mtext"]), Wu = j({}, ["annotation-xml"]);
655
655
  const Ro = j({}, ["title", "style", "font", "a", "script"]);
656
656
  let Eu = null;
@@ -661,8 +661,8 @@ function Xr() {
661
661
  }, Ft = function() {
662
662
  let k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
663
663
  if (!(du && du === k)) {
664
- if ((!k || typeof k != "object") && (k = {}), k = Ye(k), Eu = // eslint-disable-next-line unicorn/prefer-includes
665
- Oo.indexOf(k.PARSER_MEDIA_TYPE) === -1 ? Mo : k.PARSER_MEDIA_TYPE, oe = Eu === "application/xhtml+xml" ? Pt : ot, K = Oe(k, "ALLOWED_TAGS") ? j({}, k.ALLOWED_TAGS, oe) : fe, ne = Oe(k, "ALLOWED_ATTR") ? j({}, k.ALLOWED_ATTR, oe) : Z, Dt = Oe(k, "ALLOWED_NAMESPACES") ? j({}, k.ALLOWED_NAMESPACES, Pt) : Po, wt = Oe(k, "ADD_URI_SAFE_ATTR") ? j(Ye(Pn), k.ADD_URI_SAFE_ATTR, oe) : Pn, Sn = Oe(k, "ADD_DATA_URI_TAGS") ? j(Ye(Tn), k.ADD_DATA_URI_TAGS, oe) : Tn, cu = Oe(k, "FORBID_CONTENTS") ? j({}, k.FORBID_CONTENTS, oe) : Fn, Ce = Oe(k, "FORBID_TAGS") ? j({}, k.FORBID_TAGS, oe) : Ye({}), se = Oe(k, "FORBID_ATTR") ? j({}, k.FORBID_ATTR, oe) : Ye({}), su = Oe(k, "USE_PROFILES") ? k.USE_PROFILES : !1, w = k.ALLOW_ARIA_ATTR !== !1, M = k.ALLOW_DATA_ATTR !== !1, R = k.ALLOW_UNKNOWN_PROTOCOLS || !1, H = k.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ie = k.SAFE_FOR_TEMPLATES || !1, Be = k.SAFE_FOR_XML !== !1, iu = k.WHOLE_DOCUMENT || !1, lu = k.RETURN_DOM || !1, qu = k.RETURN_DOM_FRAGMENT || !1, ju = k.RETURN_TRUSTED_TYPE || !1, Et = k.FORCE_BODY || !1, Cn = k.SANITIZE_DOM !== !1, Dn = k.SANITIZE_NAMED_PROPS || !1, At = k.KEEP_CONTENT !== !1, yu = k.IN_PLACE || !1, Fe = k.ALLOWED_URI_REGEXP || Zr, fu = k.NAMESPACE || Ve, Vu = k.MATHML_TEXT_INTEGRATION_POINTS || Vu, Wu = k.HTML_INTEGRATION_POINTS || Wu, U = k.CUSTOM_ELEMENT_HANDLING || {}, k.CUSTOM_ELEMENT_HANDLING && Rn(k.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (U.tagNameCheck = k.CUSTOM_ELEMENT_HANDLING.tagNameCheck), k.CUSTOM_ELEMENT_HANDLING && Rn(k.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (U.attributeNameCheck = k.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), k.CUSTOM_ELEMENT_HANDLING && typeof k.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (U.allowCustomizedBuiltInElements = k.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Ie && (M = !1), qu && (lu = !0), su && (K = j({}, Jn), ne = [], su.html === !0 && (j(K, Qn), j(ne, Kn)), su.svg === !0 && (j(K, Rt), j(ne, Lt), j(ne, Ju)), su.svgFilters === !0 && (j(K, Ot), j(ne, Lt), j(ne, Ju)), su.mathMl === !0 && (j(K, Mt), j(ne, er), j(ne, Ju))), k.ADD_TAGS && (K === fe && (K = Ye(K)), j(K, k.ADD_TAGS, oe)), k.ADD_ATTR && (ne === Z && (ne = Ye(ne)), j(ne, k.ADD_ATTR, oe)), k.ADD_URI_SAFE_ATTR && j(wt, k.ADD_URI_SAFE_ATTR, oe), k.FORBID_CONTENTS && (cu === Fn && (cu = Ye(cu)), j(cu, k.FORBID_CONTENTS, oe)), At && (K["#text"] = !0), iu && j(K, ["html", "head", "body"]), K.table && (j(K, ["tbody"]), delete Ce.tbody), k.TRUSTED_TYPES_POLICY) {
664
+ if ((!k || typeof k != "object") && (k = {}), k = Xe(k), Eu = // eslint-disable-next-line unicorn/prefer-includes
665
+ Oo.indexOf(k.PARSER_MEDIA_TYPE) === -1 ? Mo : k.PARSER_MEDIA_TYPE, oe = Eu === "application/xhtml+xml" ? Pt : ot, Q = Me(k, "ALLOWED_TAGS") ? j({}, k.ALLOWED_TAGS, oe) : ce, ne = Me(k, "ALLOWED_ATTR") ? j({}, k.ALLOWED_ATTR, oe) : Ce, Dt = Me(k, "ALLOWED_NAMESPACES") ? j({}, k.ALLOWED_NAMESPACES, Pt) : Po, wt = Me(k, "ADD_URI_SAFE_ATTR") ? j(Xe(Pn), k.ADD_URI_SAFE_ATTR, oe) : Pn, Sn = Me(k, "ADD_DATA_URI_TAGS") ? j(Xe(Tn), k.ADD_DATA_URI_TAGS, oe) : Tn, cu = Me(k, "FORBID_CONTENTS") ? j({}, k.FORBID_CONTENTS, oe) : Fn, K = Me(k, "FORBID_TAGS") ? j({}, k.FORBID_TAGS, oe) : Xe({}), Oe = Me(k, "FORBID_ATTR") ? j({}, k.FORBID_ATTR, oe) : Xe({}), su = Me(k, "USE_PROFILES") ? k.USE_PROFILES : !1, be = k.ALLOW_ARIA_ATTR !== !1, w = k.ALLOW_DATA_ATTR !== !1, M = k.ALLOW_UNKNOWN_PROTOCOLS || !1, R = k.ALLOW_SELF_CLOSE_IN_ATTR !== !1, H = k.SAFE_FOR_TEMPLATES || !1, Be = k.SAFE_FOR_XML !== !1, Ve = k.WHOLE_DOCUMENT || !1, lu = k.RETURN_DOM || !1, qu = k.RETURN_DOM_FRAGMENT || !1, ju = k.RETURN_TRUSTED_TYPE || !1, Et = k.FORCE_BODY || !1, Cn = k.SANITIZE_DOM !== !1, Dn = k.SANITIZE_NAMED_PROPS || !1, At = k.KEEP_CONTENT !== !1, yu = k.IN_PLACE || !1, Fe = k.ALLOWED_URI_REGEXP || Zr, fu = k.NAMESPACE || We, Vu = k.MATHML_TEXT_INTEGRATION_POINTS || Vu, Wu = k.HTML_INTEGRATION_POINTS || Wu, U = k.CUSTOM_ELEMENT_HANDLING || {}, k.CUSTOM_ELEMENT_HANDLING && Rn(k.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (U.tagNameCheck = k.CUSTOM_ELEMENT_HANDLING.tagNameCheck), k.CUSTOM_ELEMENT_HANDLING && Rn(k.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (U.attributeNameCheck = k.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), k.CUSTOM_ELEMENT_HANDLING && typeof k.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (U.allowCustomizedBuiltInElements = k.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), H && (w = !1), qu && (lu = !0), su && (Q = j({}, Jn), ne = [], su.html === !0 && (j(Q, Qn), j(ne, Kn)), su.svg === !0 && (j(Q, Rt), j(ne, Lt), j(ne, Ju)), su.svgFilters === !0 && (j(Q, Ot), j(ne, Lt), j(ne, Ju)), su.mathMl === !0 && (j(Q, Mt), j(ne, er), j(ne, Ju))), k.ADD_TAGS && (Q === ce && (Q = Xe(Q)), j(Q, k.ADD_TAGS, oe)), k.ADD_ATTR && (ne === Ce && (ne = Xe(ne)), j(ne, k.ADD_ATTR, oe)), k.ADD_URI_SAFE_ATTR && j(wt, k.ADD_URI_SAFE_ATTR, oe), k.FORBID_CONTENTS && (cu === Fn && (cu = Xe(cu)), j(cu, k.FORBID_CONTENTS, oe)), At && (Q["#text"] = !0), Ve && j(Q, ["html", "head", "body"]), Q.table && (j(Q, ["tbody"]), delete K.tbody), k.TRUSTED_TYPES_POLICY) {
666
666
  if (typeof k.TRUSTED_TYPES_POLICY.createHTML != "function")
667
667
  throw Du('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
668
668
  if (typeof k.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -679,7 +679,7 @@ function Xr() {
679
679
  tagName: "template"
680
680
  });
681
681
  const L = ot(k.tagName), ue = ot(S.tagName);
682
- return Dt[k.namespaceURI] ? k.namespaceURI === Gu ? S.namespaceURI === Ve ? L === "svg" : S.namespaceURI === Hu ? L === "svg" && (ue === "annotation-xml" || Vu[ue]) : !!On[L] : k.namespaceURI === Hu ? S.namespaceURI === Ve ? L === "math" : S.namespaceURI === Gu ? L === "math" && Wu[ue] : !!Mn[L] : k.namespaceURI === Ve ? S.namespaceURI === Gu && !Wu[ue] || S.namespaceURI === Hu && !Vu[ue] ? !1 : !Mn[L] && (Ro[L] || !On[L]) : !!(Eu === "application/xhtml+xml" && Dt[k.namespaceURI]) : !1;
682
+ return Dt[k.namespaceURI] ? k.namespaceURI === Gu ? S.namespaceURI === We ? L === "svg" : S.namespaceURI === Hu ? L === "svg" && (ue === "annotation-xml" || Vu[ue]) : !!On[L] : k.namespaceURI === Hu ? S.namespaceURI === We ? L === "math" : S.namespaceURI === Gu ? L === "math" && Wu[ue] : !!Mn[L] : k.namespaceURI === We ? S.namespaceURI === Gu && !Wu[ue] || S.namespaceURI === Hu && !Vu[ue] ? !1 : !Mn[L] && (Ro[L] || !On[L]) : !!(Eu === "application/xhtml+xml" && Dt[k.namespaceURI]) : !1;
683
683
  }, ze = function(k) {
684
684
  wu(u.removed, {
685
685
  element: k
@@ -720,9 +720,9 @@ function Xr() {
720
720
  const re = Xn(k, /^[\r\n\t ]+/);
721
721
  L = re && re[0];
722
722
  }
723
- Eu === "application/xhtml+xml" && fu === Ve && (k = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + k + "</body></html>");
723
+ Eu === "application/xhtml+xml" && fu === We && (k = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + k + "</body></html>");
724
724
  const ue = m ? m.createHTML(k) : k;
725
- if (fu === Ve)
725
+ if (fu === We)
726
726
  try {
727
727
  S = new v().parseFromString(ue, Eu);
728
728
  } catch {
@@ -734,8 +734,8 @@ function Xr() {
734
734
  } catch {
735
735
  }
736
736
  }
737
- const de = S.body || S.documentElement;
738
- return k && L && de.insertBefore(t.createTextNode(L), de.childNodes[0] || null), fu === Ve ? D.call(S, iu ? "html" : "body")[0] : iu ? S.documentElement : de;
737
+ const fe = S.body || S.documentElement;
738
+ return k && L && fe.insertBefore(t.createTextNode(L), fe.childNodes[0] || null), fu === We ? D.call(S, Ve ? "html" : "body")[0] : Ve ? S.documentElement : fe;
739
739
  }, Nn = function(k) {
740
740
  return C.call(
741
741
  k.ownerDocument || k,
@@ -749,47 +749,47 @@ function Xr() {
749
749
  }, $n = function(k) {
750
750
  return typeof i == "function" && k instanceof i;
751
751
  };
752
- function We(B, k, S) {
752
+ function Ze(B, k, S) {
753
753
  Qu(B, (L) => {
754
754
  L.call(u, k, S, du);
755
755
  });
756
756
  }
757
757
  const In = function(k) {
758
758
  let S = null;
759
- if (We(I.beforeSanitizeElements, k, null), St(k))
759
+ if (Ze(I.beforeSanitizeElements, k, null), St(k))
760
760
  return ze(k), !0;
761
761
  const L = oe(k.nodeName);
762
- if (We(I.uponSanitizeElement, k, {
762
+ if (Ze(I.uponSanitizeElement, k, {
763
763
  tagName: L,
764
- allowedTags: K
764
+ allowedTags: Q
765
765
  }), Be && k.hasChildNodes() && !$n(k.firstElementChild) && me(/<[/\w!]/g, k.innerHTML) && me(/<[/\w!]/g, k.textContent) || k.nodeType === Su.progressingInstruction || Be && k.nodeType === Su.comment && me(/<[/\w]/g, k.data))
766
766
  return ze(k), !0;
767
- if (!K[L] || Ce[L]) {
768
- if (!Ce[L] && zn(L) && (U.tagNameCheck instanceof RegExp && me(U.tagNameCheck, L) || U.tagNameCheck instanceof Function && U.tagNameCheck(L)))
767
+ if (!Q[L] || K[L]) {
768
+ if (!K[L] && zn(L) && (U.tagNameCheck instanceof RegExp && me(U.tagNameCheck, L) || U.tagNameCheck instanceof Function && U.tagNameCheck(L)))
769
769
  return !1;
770
770
  if (At && !cu[L]) {
771
- const ue = g(k) || k.parentNode, de = p(k) || k.childNodes;
772
- if (de && ue) {
773
- const re = de.length;
771
+ const ue = g(k) || k.parentNode, fe = p(k) || k.childNodes;
772
+ if (fe && ue) {
773
+ const re = fe.length;
774
774
  for (let _e = re - 1; _e >= 0; --_e) {
775
- const Ze = _(de[_e], !0);
776
- Ze.__removalCount = (k.__removalCount || 0) + 1, ue.insertBefore(Ze, E(k));
775
+ const Ye = _(fe[_e], !0);
776
+ Ye.__removalCount = (k.__removalCount || 0) + 1, ue.insertBefore(Ye, E(k));
777
777
  }
778
778
  }
779
779
  }
780
780
  return ze(k), !0;
781
781
  }
782
- return k instanceof l && !No(k) || (L === "noscript" || L === "noembed" || L === "noframes") && me(/<\/no(script|embed|frames)/i, k.innerHTML) ? (ze(k), !0) : (Ie && k.nodeType === Su.text && (S = k.textContent, Qu([W, Q, F], (ue) => {
782
+ return k instanceof l && !No(k) || (L === "noscript" || L === "noembed" || L === "noframes") && me(/<\/no(script|embed|frames)/i, k.innerHTML) ? (ze(k), !0) : (H && k.nodeType === Su.text && (S = k.textContent, Qu([W, J, F], (ue) => {
783
783
  S = Cu(S, ue, " ");
784
784
  }), k.textContent !== S && (wu(u.removed, {
785
785
  element: k.cloneNode()
786
- }), k.textContent = S)), We(I.afterSanitizeElements, k, null), !1);
786
+ }), k.textContent = S)), Ze(I.afterSanitizeElements, k, null), !1);
787
787
  }, Bn = function(k, S, L) {
788
788
  if (Cn && (S === "id" || S === "name") && (L in t || L in Lo))
789
789
  return !1;
790
- if (!(M && !se[S] && me(G, S))) {
791
- if (!(w && me(be, S))) {
792
- if (!ne[S] || se[S]) {
790
+ if (!(w && !Oe[S] && me(G, S))) {
791
+ if (!(be && me(he, S))) {
792
+ if (!ne[S] || Oe[S]) {
793
793
  if (
794
794
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
795
795
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
@@ -799,9 +799,9 @@ function Xr() {
799
799
  S === "is" && U.allowCustomizedBuiltInElements && (U.tagNameCheck instanceof RegExp && me(U.tagNameCheck, L) || U.tagNameCheck instanceof Function && U.tagNameCheck(L)))
800
800
  ) return !1;
801
801
  } else if (!wt[S]) {
802
- if (!me(Fe, Cu(L, J, ""))) {
802
+ if (!me(Fe, Cu(L, X, ""))) {
803
803
  if (!((S === "src" || S === "xlink:href" || S === "href") && k !== "script" && aa(L, "data:") === 0 && Sn[k])) {
804
- if (!(R && !me(Re, Cu(L, J, "")))) {
804
+ if (!(M && !me(Re, Cu(L, X, "")))) {
805
805
  if (L)
806
806
  return !1;
807
807
  }
@@ -812,9 +812,9 @@ function Xr() {
812
812
  }
813
813
  return !0;
814
814
  }, zn = function(k) {
815
- return k !== "annotation-xml" && Xn(k, ce);
815
+ return k !== "annotation-xml" && Xn(k, se);
816
816
  }, Un = function(k) {
817
- We(I.beforeSanitizeAttributes, k, null);
817
+ Ze(I.beforeSanitizeAttributes, k, null);
818
818
  const {
819
819
  attributes: S
820
820
  } = k;
@@ -829,13 +829,13 @@ function Xr() {
829
829
  };
830
830
  let ue = S.length;
831
831
  for (; ue--; ) {
832
- const de = S[ue], {
832
+ const fe = S[ue], {
833
833
  name: re,
834
834
  namespaceURI: _e,
835
- value: Ze
836
- } = de, Au = oe(re), Tt = Ze;
837
- let pe = re === "value" ? Tt : la(Tt);
838
- if (L.attrName = Au, L.attrValue = pe, L.keepAttr = !0, L.forceKeepAttr = void 0, We(I.uponSanitizeAttribute, k, L), pe = L.attrValue, Dn && (Au === "id" || Au === "name") && (pu(re, k), pe = To + pe), Be && me(/((--!?|])>)|<\/(style|title)/i, pe)) {
835
+ value: Ye
836
+ } = fe, Au = oe(re), Tt = Ye;
837
+ let de = re === "value" ? Tt : la(Tt);
838
+ if (L.attrName = Au, L.attrValue = de, L.keepAttr = !0, L.forceKeepAttr = void 0, Ze(I.uponSanitizeAttribute, k, L), de = L.attrValue, Dn && (Au === "id" || Au === "name") && (pu(re, k), de = To + de), Be && me(/((--!?|])>)|<\/(style|title)/i, de)) {
839
839
  pu(re, k);
840
840
  continue;
841
841
  }
@@ -845,46 +845,46 @@ function Xr() {
845
845
  pu(re, k);
846
846
  continue;
847
847
  }
848
- if (!H && me(/\/>/i, pe)) {
848
+ if (!R && me(/\/>/i, de)) {
849
849
  pu(re, k);
850
850
  continue;
851
851
  }
852
- Ie && Qu([W, Q, F], (jn) => {
853
- pe = Cu(pe, jn, " ");
852
+ H && Qu([W, J, F], (jn) => {
853
+ de = Cu(de, jn, " ");
854
854
  });
855
855
  const qn = oe(k.nodeName);
856
- if (!Bn(qn, Au, pe)) {
856
+ if (!Bn(qn, Au, de)) {
857
857
  pu(re, k);
858
858
  continue;
859
859
  }
860
860
  if (m && typeof x == "object" && typeof x.getAttributeType == "function" && !_e)
861
861
  switch (x.getAttributeType(qn, Au)) {
862
862
  case "TrustedHTML": {
863
- pe = m.createHTML(pe);
863
+ de = m.createHTML(de);
864
864
  break;
865
865
  }
866
866
  case "TrustedScriptURL": {
867
- pe = m.createScriptURL(pe);
867
+ de = m.createScriptURL(de);
868
868
  break;
869
869
  }
870
870
  }
871
- if (pe !== Tt)
871
+ if (de !== Tt)
872
872
  try {
873
- _e ? k.setAttributeNS(_e, re, pe) : k.setAttribute(re, pe), St(k) ? ze(k) : Yn(u.removed);
873
+ _e ? k.setAttributeNS(_e, re, de) : k.setAttribute(re, de), St(k) ? ze(k) : Yn(u.removed);
874
874
  } catch {
875
875
  pu(re, k);
876
876
  }
877
877
  }
878
- We(I.afterSanitizeAttributes, k, null);
878
+ Ze(I.afterSanitizeAttributes, k, null);
879
879
  }, $o = function B(k) {
880
880
  let S = null;
881
881
  const L = Nn(k);
882
- for (We(I.beforeSanitizeShadowDOM, k, null); S = L.nextNode(); )
883
- We(I.uponSanitizeShadowNode, S, null), In(S), Un(S), S.content instanceof o && B(S.content);
884
- We(I.afterSanitizeShadowDOM, k, null);
882
+ for (Ze(I.beforeSanitizeShadowDOM, k, null); S = L.nextNode(); )
883
+ Ze(I.uponSanitizeShadowNode, S, null), In(S), Un(S), S.content instanceof o && B(S.content);
884
+ Ze(I.afterSanitizeShadowDOM, k, null);
885
885
  };
886
886
  return u.sanitize = function(B) {
887
- let k = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, S = null, L = null, ue = null, de = null;
887
+ let k = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, S = null, L = null, ue = null, fe = null;
888
888
  if (Ct = !B, Ct && (B = "<!-->"), typeof B != "string" && !$n(B))
889
889
  if (typeof B.toString == "function") {
890
890
  if (B = B.toString(), typeof B != "string")
@@ -895,14 +895,14 @@ function Xr() {
895
895
  return B;
896
896
  if (yt || Ft(k), u.removed = [], typeof B == "string" && (yu = !1), yu) {
897
897
  if (B.nodeName) {
898
- const Ze = oe(B.nodeName);
899
- if (!K[Ze] || Ce[Ze])
898
+ const Ye = oe(B.nodeName);
899
+ if (!Q[Ye] || K[Ye])
900
900
  throw Du("root node is forbidden and cannot be sanitized in-place");
901
901
  }
902
902
  } else if (B instanceof i)
903
903
  S = Ln("<!---->"), L = S.ownerDocument.importNode(B, !0), L.nodeType === Su.element && L.nodeName === "BODY" || L.nodeName === "HTML" ? S = L : S.appendChild(L);
904
904
  else {
905
- if (!lu && !Ie && !iu && // eslint-disable-next-line unicorn/prefer-includes
905
+ if (!lu && !H && !Ve && // eslint-disable-next-line unicorn/prefer-includes
906
906
  B.indexOf("<") === -1)
907
907
  return m && ju ? m.createHTML(B) : B;
908
908
  if (S = Ln(B), !S)
@@ -916,16 +916,16 @@ function Xr() {
916
916
  return B;
917
917
  if (lu) {
918
918
  if (qu)
919
- for (de = T.call(S.ownerDocument); S.firstChild; )
920
- de.appendChild(S.firstChild);
919
+ for (fe = T.call(S.ownerDocument); S.firstChild; )
920
+ fe.appendChild(S.firstChild);
921
921
  else
922
- de = S;
923
- return (ne.shadowroot || ne.shadowrootmode) && (de = $.call(n, de, !0)), de;
922
+ fe = S;
923
+ return (ne.shadowroot || ne.shadowrootmode) && (fe = $.call(n, fe, !0)), fe;
924
924
  }
925
- let _e = iu ? S.outerHTML : S.innerHTML;
926
- return iu && K["!doctype"] && S.ownerDocument && S.ownerDocument.doctype && S.ownerDocument.doctype.name && me(Yr, S.ownerDocument.doctype.name) && (_e = "<!DOCTYPE " + S.ownerDocument.doctype.name + `>
927
- ` + _e), Ie && Qu([W, Q, F], (Ze) => {
928
- _e = Cu(_e, Ze, " ");
925
+ let _e = Ve ? S.outerHTML : S.innerHTML;
926
+ return Ve && Q["!doctype"] && S.ownerDocument && S.ownerDocument.doctype && S.ownerDocument.doctype.name && me(Yr, S.ownerDocument.doctype.name) && (_e = "<!DOCTYPE " + S.ownerDocument.doctype.name + `>
927
+ ` + _e), H && Qu([W, J, F], (Ye) => {
928
+ _e = Cu(_e, Ye, " ");
929
929
  }), m && ju ? m.createHTML(_e) : _e;
930
930
  }, u.setConfig = function() {
931
931
  let B = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -1197,10 +1197,10 @@ var ae;
1197
1197
  e[e.NUM = 35] = "NUM", e[e.SEMI = 59] = "SEMI", e[e.EQUALS = 61] = "EQUALS", e[e.ZERO = 48] = "ZERO", e[e.NINE = 57] = "NINE", e[e.LOWER_A = 97] = "LOWER_A", e[e.LOWER_F = 102] = "LOWER_F", e[e.LOWER_X = 120] = "LOWER_X", e[e.LOWER_Z = 122] = "LOWER_Z", e[e.UPPER_A = 65] = "UPPER_A", e[e.UPPER_F = 70] = "UPPER_F", e[e.UPPER_Z = 90] = "UPPER_Z";
1198
1198
  })(ae || (ae = {}));
1199
1199
  const qa = 32;
1200
- var nu;
1200
+ var ru;
1201
1201
  (function(e) {
1202
1202
  e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
1203
- })(nu || (nu = {}));
1203
+ })(ru || (ru = {}));
1204
1204
  function nn(e) {
1205
1205
  return e >= ae.ZERO && e <= ae.NINE;
1206
1206
  }
@@ -1217,13 +1217,13 @@ var ie;
1217
1217
  (function(e) {
1218
1218
  e[e.EntityStart = 0] = "EntityStart", e[e.NumericStart = 1] = "NumericStart", e[e.NumericDecimal = 2] = "NumericDecimal", e[e.NumericHex = 3] = "NumericHex", e[e.NamedEntity = 4] = "NamedEntity";
1219
1219
  })(ie || (ie = {}));
1220
- var tu;
1220
+ var nu;
1221
1221
  (function(e) {
1222
1222
  e[e.Legacy = 0] = "Legacy", e[e.Strict = 1] = "Strict", e[e.Attribute = 2] = "Attribute";
1223
- })(tu || (tu = {}));
1223
+ })(nu || (nu = {}));
1224
1224
  class Va {
1225
1225
  constructor(u, t, n) {
1226
- this.decodeTree = u, this.emitCodePoint = t, this.errors = n, this.state = ie.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = tu.Strict;
1226
+ this.decodeTree = u, this.emitCodePoint = t, this.errors = n, this.state = ie.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = nu.Strict;
1227
1227
  }
1228
1228
  /** Resets the instance to make it reusable. */
1229
1229
  startEntity(u) {
@@ -1331,7 +1331,7 @@ class Va {
1331
1331
  return (n = this.errors) === null || n === void 0 || n.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
1332
1332
  if (u === ae.SEMI)
1333
1333
  this.consumed += 1;
1334
- else if (this.decodeMode === tu.Strict)
1334
+ else if (this.decodeMode === nu.Strict)
1335
1335
  return 0;
1336
1336
  return this.emitCodePoint(Ua(this.result), this.consumed), this.errors && (u !== ae.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
1337
1337
  }
@@ -1346,18 +1346,18 @@ class Va {
1346
1346
  */
1347
1347
  stateNamedEntity(u, t) {
1348
1348
  const { decodeTree: n } = this;
1349
- let r = n[this.treeIndex], o = (r & nu.VALUE_LENGTH) >> 14;
1349
+ let r = n[this.treeIndex], o = (r & ru.VALUE_LENGTH) >> 14;
1350
1350
  for (; t < u.length; t++, this.excess++) {
1351
1351
  const a = u.charCodeAt(t);
1352
1352
  if (this.treeIndex = Wa(n, r, this.treeIndex + Math.max(1, o), a), this.treeIndex < 0)
1353
1353
  return this.result === 0 || // If we are parsing an attribute
1354
- this.decodeMode === tu.Attribute && // We shouldn't have consumed any characters after the entity,
1354
+ this.decodeMode === nu.Attribute && // We shouldn't have consumed any characters after the entity,
1355
1355
  (o === 0 || // And there should be no invalid characters.
1356
1356
  Ga(a)) ? 0 : this.emitNotTerminatedNamedEntity();
1357
- if (r = n[this.treeIndex], o = (r & nu.VALUE_LENGTH) >> 14, o !== 0) {
1357
+ if (r = n[this.treeIndex], o = (r & ru.VALUE_LENGTH) >> 14, o !== 0) {
1358
1358
  if (a === ae.SEMI)
1359
1359
  return this.emitNamedEntityData(this.treeIndex, o, this.consumed + this.excess);
1360
- this.decodeMode !== tu.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
1360
+ this.decodeMode !== nu.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
1361
1361
  }
1362
1362
  }
1363
1363
  return -1;
@@ -1369,7 +1369,7 @@ class Va {
1369
1369
  */
1370
1370
  emitNotTerminatedNamedEntity() {
1371
1371
  var u;
1372
- const { result: t, decodeTree: n } = this, r = (n[t] & nu.VALUE_LENGTH) >> 14;
1372
+ const { result: t, decodeTree: n } = this, r = (n[t] & ru.VALUE_LENGTH) >> 14;
1373
1373
  return this.emitNamedEntityData(t, r, this.consumed), (u = this.errors) === null || u === void 0 || u.missingSemicolonAfterCharacterReference(), this.consumed;
1374
1374
  }
1375
1375
  /**
@@ -1383,7 +1383,7 @@ class Va {
1383
1383
  */
1384
1384
  emitNamedEntityData(u, t, n) {
1385
1385
  const { decodeTree: r } = this;
1386
- return this.emitCodePoint(t === 1 ? r[u] & ~nu.VALUE_LENGTH : r[u + 1], n), t === 3 && this.emitCodePoint(r[u + 2], n), n;
1386
+ return this.emitCodePoint(t === 1 ? r[u] & ~ru.VALUE_LENGTH : r[u + 1], n), t === 3 && this.emitCodePoint(r[u + 2], n), n;
1387
1387
  }
1388
1388
  /**
1389
1389
  * Signal to the parser that the end of the input was reached.
@@ -1396,7 +1396,7 @@ class Va {
1396
1396
  var u;
1397
1397
  switch (this.state) {
1398
1398
  case ie.NamedEntity:
1399
- return this.result !== 0 && (this.decodeMode !== tu.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
1399
+ return this.result !== 0 && (this.decodeMode !== nu.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
1400
1400
  // Otherwise, emit a numeric entity if we have one.
1401
1401
  case ie.NumericDecimal:
1402
1402
  return this.emitNumericEntity(0, 2);
@@ -1432,7 +1432,7 @@ function uo(e) {
1432
1432
  };
1433
1433
  }
1434
1434
  function Wa(e, u, t, n) {
1435
- const r = (u & nu.BRANCH_LENGTH) >> 7, o = u & nu.JUMP_TABLE;
1435
+ const r = (u & ru.BRANCH_LENGTH) >> 7, o = u & ru.JUMP_TABLE;
1436
1436
  if (r === 0)
1437
1437
  return o !== 0 && n === o ? t : -1;
1438
1438
  if (o) {
@@ -1453,7 +1453,7 @@ function Wa(e, u, t, n) {
1453
1453
  }
1454
1454
  const Za = uo($a);
1455
1455
  uo(Ia);
1456
- function to(e, u = tu.Legacy) {
1456
+ function to(e, u = nu.Legacy) {
1457
1457
  return Za(e, u);
1458
1458
  }
1459
1459
  function Ya(e) {
@@ -1517,7 +1517,7 @@ const n0 = /[&<>"]/, r0 = /[&<>"]/g, o0 = {
1517
1517
  function i0(e) {
1518
1518
  return o0[e];
1519
1519
  }
1520
- function ou(e) {
1520
+ function iu(e) {
1521
1521
  return n0.test(e) ? e.replace(r0, i0) : e;
1522
1522
  }
1523
1523
  const a0 = /[.?*+^$[\]\\(){}|-]/g;
@@ -1605,7 +1605,7 @@ const s0 = { mdurl: Ma, ucmicro: Na }, c0 = /* @__PURE__ */ Object.freeze(/* @__
1605
1605
  __proto__: null,
1606
1606
  arrayReplaceAt: no,
1607
1607
  assign: kt,
1608
- escapeHtml: ou,
1608
+ escapeHtml: iu,
1609
1609
  escapeRE: l0,
1610
1610
  fromCodePoint: ct,
1611
1611
  has: Qa,
@@ -1719,11 +1719,11 @@ const h0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1719
1719
  }, Symbol.toStringTag, { value: "Module" })), He = {};
1720
1720
  He.code_inline = function(e, u, t, n, r) {
1721
1721
  const o = e[u];
1722
- return "<code" + r.renderAttrs(o) + ">" + ou(o.content) + "</code>";
1722
+ return "<code" + r.renderAttrs(o) + ">" + iu(o.content) + "</code>";
1723
1723
  };
1724
1724
  He.code_block = function(e, u, t, n, r) {
1725
1725
  const o = e[u];
1726
- return "<pre" + r.renderAttrs(o) + "><code>" + ou(e[u].content) + `</code></pre>
1726
+ return "<pre" + r.renderAttrs(o) + "><code>" + iu(e[u].content) + `</code></pre>
1727
1727
  `;
1728
1728
  };
1729
1729
  He.fence = function(e, u, t, n, r) {
@@ -1734,7 +1734,7 @@ He.fence = function(e, u, t, n, r) {
1734
1734
  i = c[0], l = c.slice(2).join("");
1735
1735
  }
1736
1736
  let s;
1737
- if (t.highlight ? s = t.highlight(o.content, i, l) || ou(o.content) : s = ou(o.content), s.indexOf("<pre") === 0)
1737
+ if (t.highlight ? s = t.highlight(o.content, i, l) || iu(o.content) : s = iu(o.content), s.indexOf("<pre") === 0)
1738
1738
  return s + `
1739
1739
  `;
1740
1740
  if (a) {
@@ -1765,7 +1765,7 @@ He.softbreak = function(e, u, t) {
1765
1765
  `;
1766
1766
  };
1767
1767
  He.text = function(e, u) {
1768
- return ou(e[u].content);
1768
+ return iu(e[u].content);
1769
1769
  };
1770
1770
  He.html_block = function(e, u) {
1771
1771
  return e[u].content;
@@ -1781,7 +1781,7 @@ _u.prototype.renderAttrs = function(u) {
1781
1781
  if (!u.attrs)
1782
1782
  return "";
1783
1783
  for (r = "", t = 0, n = u.attrs.length; t < n; t++)
1784
- r += " " + ou(u.attrs[t][0]) + '="' + ou(u.attrs[t][1]) + '"';
1784
+ r += " " + iu(u.attrs[t][0]) + '="' + iu(u.attrs[t][1]) + '"';
1785
1785
  return r;
1786
1786
  };
1787
1787
  _u.prototype.renderToken = function(u, t, n) {
@@ -1931,10 +1931,10 @@ we.prototype.disable = function(e, u) {
1931
1931
  we.prototype.getRules = function(e) {
1932
1932
  return this.__cache__ === null && this.__compile__(), this.__cache__[e] || [];
1933
1933
  };
1934
- function $e(e, u, t) {
1934
+ function Ie(e, u, t) {
1935
1935
  this.type = e, this.tag = u, this.attrs = null, this.map = null, this.nesting = t, this.level = 0, this.children = null, this.content = "", this.markup = "", this.info = "", this.meta = null, this.block = !1, this.hidden = !1;
1936
1936
  }
1937
- $e.prototype.attrIndex = function(u) {
1937
+ Ie.prototype.attrIndex = function(u) {
1938
1938
  if (!this.attrs)
1939
1939
  return -1;
1940
1940
  const t = this.attrs;
@@ -1943,26 +1943,26 @@ $e.prototype.attrIndex = function(u) {
1943
1943
  return n;
1944
1944
  return -1;
1945
1945
  };
1946
- $e.prototype.attrPush = function(u) {
1946
+ Ie.prototype.attrPush = function(u) {
1947
1947
  this.attrs ? this.attrs.push(u) : this.attrs = [u];
1948
1948
  };
1949
- $e.prototype.attrSet = function(u, t) {
1949
+ Ie.prototype.attrSet = function(u, t) {
1950
1950
  const n = this.attrIndex(u), r = [u, t];
1951
1951
  n < 0 ? this.attrPush(r) : this.attrs[n] = r;
1952
1952
  };
1953
- $e.prototype.attrGet = function(u) {
1953
+ Ie.prototype.attrGet = function(u) {
1954
1954
  const t = this.attrIndex(u);
1955
1955
  let n = null;
1956
1956
  return t >= 0 && (n = this.attrs[t][1]), n;
1957
1957
  };
1958
- $e.prototype.attrJoin = function(u, t) {
1958
+ Ie.prototype.attrJoin = function(u, t) {
1959
1959
  const n = this.attrIndex(u);
1960
1960
  n < 0 ? this.attrPush([u, t]) : this.attrs[n][1] = this.attrs[n][1] + " " + t;
1961
1961
  };
1962
1962
  function oo(e, u, t) {
1963
1963
  this.src = e, this.env = t, this.tokens = [], this.inlineMode = !1, this.md = u;
1964
1964
  }
1965
- oo.prototype.Token = $e;
1965
+ oo.prototype.Token = Ie;
1966
1966
  const b0 = /\r\n?|\n/g, m0 = /\0/g;
1967
1967
  function g0(e) {
1968
1968
  let u;
@@ -2188,7 +2188,7 @@ function Ge(e, u, t, n) {
2188
2188
  this.bMarks.push(r.length), this.eMarks.push(r.length), this.tShift.push(0), this.sCount.push(0), this.bsCount.push(0), this.lineMax = this.bMarks.length - 1;
2189
2189
  }
2190
2190
  Ge.prototype.push = function(e, u, t) {
2191
- const n = new $e(e, u, t);
2191
+ const n = new Ie(e, u, t);
2192
2192
  return n.block = !0, t < 0 && this.level--, n.level = this.level, t > 0 && this.level++, this.tokens.push(n), n;
2193
2193
  };
2194
2194
  Ge.prototype.isEmpty = function(u) {
@@ -2250,7 +2250,7 @@ Ge.prototype.getLines = function(u, t, n, r) {
2250
2250
  }
2251
2251
  return o.join("");
2252
2252
  };
2253
- Ge.prototype.Token = $e;
2253
+ Ge.prototype.Token = Ie;
2254
2254
  const M0 = 65536;
2255
2255
  function It(e, u) {
2256
2256
  const t = e.bMarks[u] + e.tShift[u], n = e.eMarks[u];
@@ -2555,11 +2555,11 @@ function U0(e, u, t, n) {
2555
2555
  i = e.push("list_item_open", "li", 1), i.markup = String.fromCharCode(d);
2556
2556
  const D = [l, 0];
2557
2557
  i.map = D, f && (i.info = e.src.slice(a, x - 1));
2558
- const $ = e.tight, I = e.tShift[l], W = e.sCount[l], Q = e.listIndent;
2559
- if (e.listIndent = e.blkIndent, e.blkIndent = T, e.tight = !0, e.tShift[l] = h - e.bMarks[l], e.sCount[l] = b, h >= r && e.isEmpty(l + 1) ? e.line = Math.min(e.line + 2, t) : e.md.block.tokenize(e, l, t, !0), (!e.tight || E) && (s = !1), E = e.line - l > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent = Q, e.tShift[l] = I, e.sCount[l] = W, e.tight = $, i = e.push("list_item_close", "li", -1), i.markup = String.fromCharCode(d), l = e.line, D[1] = l, l >= t || e.sCount[l] < e.blkIndent || e.sCount[l] - e.blkIndent >= 4)
2558
+ const $ = e.tight, I = e.tShift[l], W = e.sCount[l], J = e.listIndent;
2559
+ if (e.listIndent = e.blkIndent, e.blkIndent = T, e.tight = !0, e.tShift[l] = h - e.bMarks[l], e.sCount[l] = b, h >= r && e.isEmpty(l + 1) ? e.line = Math.min(e.line + 2, t) : e.md.block.tokenize(e, l, t, !0), (!e.tight || E) && (s = !1), E = e.line - l > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent = J, e.tShift[l] = I, e.sCount[l] = W, e.tight = $, i = e.push("list_item_close", "li", -1), i.markup = String.fromCharCode(d), l = e.line, D[1] = l, l >= t || e.sCount[l] < e.blkIndent || e.sCount[l] - e.blkIndent >= 4)
2560
2560
  break;
2561
2561
  let F = !1;
2562
- for (let G = 0, be = p.length; G < be; G++)
2562
+ for (let G = 0, he = p.length; G < he; G++)
2563
2563
  if (p[G](e, l, t, !0)) {
2564
2564
  F = !0;
2565
2565
  break;
@@ -2900,12 +2900,12 @@ function zu(e, u, t, n) {
2900
2900
  this.src = e, this.env = t, this.md = u, this.tokens = n, this.tokens_meta = Array(n.length), this.pos = 0, this.posMax = this.src.length, this.level = 0, this.pending = "", this.pendingLevel = 0, this.cache = {}, this.delimiters = [], this._prev_delimiters = [], this.backticks = {}, this.backticksScanned = !1, this.linkLevel = 0;
2901
2901
  }
2902
2902
  zu.prototype.pushPending = function() {
2903
- const e = new $e("text", "", 0);
2903
+ const e = new Ie("text", "", 0);
2904
2904
  return e.content = this.pending, e.level = this.pendingLevel, this.tokens.push(e), this.pending = "", e;
2905
2905
  };
2906
2906
  zu.prototype.push = function(e, u, t) {
2907
2907
  this.pending && this.pushPending();
2908
- const n = new $e(e, u, t);
2908
+ const n = new Ie(e, u, t);
2909
2909
  let r = null;
2910
2910
  return t < 0 && (this.level--, this.delimiters = this._prev_delimiters.pop()), n.level = this.level, t > 0 && (this.level++, this._prev_delimiters.push(this.delimiters), this.delimiters = [], r = { delimiters: this.delimiters }), this.pendingLevel = this.level, this.tokens.push(n), this.tokens_meta.push(r), n;
2911
2911
  };
@@ -2917,7 +2917,7 @@ zu.prototype.scanDelims = function(e, u) {
2917
2917
  const a = o - e, i = o < t ? this.src.charCodeAt(o) : 32, l = Nu(r) || Lu(String.fromCharCode(r)), s = Nu(i) || Lu(String.fromCharCode(i)), c = Mu(r), f = Mu(i), v = !f && (!s || c || l), x = !c && (!l || f || s);
2918
2918
  return { can_open: v && (u || !x || l), can_close: x && (u || !v || s), length: a };
2919
2919
  };
2920
- zu.prototype.Token = $e;
2920
+ zu.prototype.Token = Ie;
2921
2921
  function il(e) {
2922
2922
  switch (e) {
2923
2923
  case 10:
@@ -3653,7 +3653,7 @@ const gu = 2147483647, Ue = 36, _n = 1, $u = 26, jl = 38, Hl = 700, po = 72, ho
3653
3653
  "not-basic": "Illegal input >= 0x80 (not a basic code point)",
3654
3654
  "invalid-input": "Invalid input"
3655
3655
  }, Ut = Ue - _n, qe = Math.floor, qt = String.fromCharCode;
3656
- function uu(e) {
3656
+ function tu(e) {
3657
3657
  throw new RangeError(Zl[e]);
3658
3658
  }
3659
3659
  function Yl(e, u) {
@@ -3698,21 +3698,21 @@ const Xl = (e) => String.fromCodePoint(...e), Ql = function(e) {
3698
3698
  let n = 0, r = ho, o = po, a = e.lastIndexOf(bo);
3699
3699
  a < 0 && (a = 0);
3700
3700
  for (let i = 0; i < a; ++i)
3701
- e.charCodeAt(i) >= 128 && uu("not-basic"), u.push(e.charCodeAt(i));
3701
+ e.charCodeAt(i) >= 128 && tu("not-basic"), u.push(e.charCodeAt(i));
3702
3702
  for (let i = a > 0 ? a + 1 : 0; i < t; ) {
3703
3703
  const l = n;
3704
3704
  for (let c = 1, f = Ue; ; f += Ue) {
3705
- i >= t && uu("invalid-input");
3705
+ i >= t && tu("invalid-input");
3706
3706
  const v = Ql(e.charCodeAt(i++));
3707
- v >= Ue && uu("invalid-input"), v > qe((gu - n) / c) && uu("overflow"), n += v * c;
3707
+ v >= Ue && tu("invalid-input"), v > qe((gu - n) / c) && tu("overflow"), n += v * c;
3708
3708
  const x = f <= o ? _n : f >= o + $u ? $u : f - o;
3709
3709
  if (v < x)
3710
3710
  break;
3711
3711
  const d = Ue - x;
3712
- c > qe(gu / d) && uu("overflow"), c *= d;
3712
+ c > qe(gu / d) && tu("overflow"), c *= d;
3713
3713
  }
3714
3714
  const s = u.length + 1;
3715
- o = ko(n - l, s, l == 0), qe(n / s) > gu - r && uu("overflow"), r += qe(n / s), n %= s, u.splice(n++, 0, r);
3715
+ o = ko(n - l, s, l == 0), qe(n / s) > gu - r && tu("overflow"), r += qe(n / s), n %= s, u.splice(n++, 0, r);
3716
3716
  }
3717
3717
  return String.fromCodePoint(...u);
3718
3718
  }, vo = function(e) {
@@ -3729,9 +3729,9 @@ const Xl = (e) => String.fromCodePoint(...e), Ql = function(e) {
3729
3729
  for (const c of e)
3730
3730
  c >= n && c < l && (l = c);
3731
3731
  const s = i + 1;
3732
- l - n > qe((gu - r) / s) && uu("overflow"), r += (l - n) * s, n = l;
3732
+ l - n > qe((gu - r) / s) && tu("overflow"), r += (l - n) * s, n = l;
3733
3733
  for (const c of e)
3734
- if (c < n && ++r > gu && uu("overflow"), c === n) {
3734
+ if (c < n && ++r > gu && tu("overflow"), c === n) {
3735
3735
  let f = r;
3736
3736
  for (let v = Ue; ; v += Ue) {
3737
3737
  const x = v <= o ? _n : v >= o + $u ? $u : v - o;
@@ -4036,22 +4036,22 @@ Pe.prototype.renderInline = function(e, u) {
4036
4036
  return u = u || {}, this.renderer.render(this.parseInline(e, u), this.options, u);
4037
4037
  };
4038
4038
  function ss(e, u) {
4039
- const { manual: t = !1, domPurify: n = !0, ...r } = u ?? {}, o = q(Qt(e) ? Le(e.value) : zo(e) ? Le(e) : e);
4040
- Qt(e) && Ne(() => {
4041
- o.value = Le(e.value);
4039
+ const { manual: t = !1, domPurify: n = !0, ...r } = u ?? {}, o = q(Qt(e) ? Ne(e.value) : zo(e) ? Ne(e) : e);
4040
+ Qt(e) && $e(() => {
4041
+ o.value = Ne(e.value);
4042
4042
  });
4043
4043
  const a = q(""), i = q(), l = Pe({ ...r });
4044
4044
  function s(c) {
4045
4045
  const f = l.render(c);
4046
4046
  if (a.value = n ? Ea.sanitize(f) : f, i.value) i.value.innerHTML = a.value;
4047
4047
  else {
4048
- const v = Ke(i, (x) => {
4048
+ const v = eu(i, (x) => {
4049
4049
  x && (x.innerHTML = a.value, v());
4050
4050
  });
4051
4051
  }
4052
4052
  return a.value;
4053
4053
  }
4054
- return t || (s(o.value ?? ""), Ke(o, (c) => {
4054
+ return t || (s(o.value ?? ""), eu(o, (c) => {
4055
4055
  s(c ?? "");
4056
4056
  })), {
4057
4057
  value: o,
@@ -4065,7 +4065,7 @@ function cs(e, u) {
4065
4065
  const { step: t = 1, interval: n = 50, enabled: r = !0 } = u ?? {}, o = q(0), a = q(!1), i = q(!1), l = q(!1), s = te(() => r ? e.value.slice(0, o.value) : e.value), c = te(() => Number(Math.min(o.value / e.value.length * 100, 100).toFixed(2)));
4066
4066
  let f = null;
4067
4067
  const v = rt(), x = rt(), d = rt();
4068
- Ke(e, (b, h) => {
4068
+ eu(e, (b, h) => {
4069
4069
  if (!h) {
4070
4070
  o.value = 0, _();
4071
4071
  return;
@@ -4754,41 +4754,41 @@ function ds() {
4754
4754
  for (var $ = 0; $ < D.length; ++$) {
4755
4755
  if (C && C.cause == T + "," + $)
4756
4756
  return;
4757
- var I = D[$], W = I.inside, Q = !!I.lookbehind, F = !!I.greedy, G = I.alias;
4757
+ var I = D[$], W = I.inside, J = !!I.lookbehind, F = !!I.greedy, G = I.alias;
4758
4758
  if (F && !I.pattern.global) {
4759
- var be = I.pattern.toString().match(/[imsuy]*$/)[0];
4760
- I.pattern = RegExp(I.pattern.source, be + "g");
4759
+ var he = I.pattern.toString().match(/[imsuy]*$/)[0];
4760
+ I.pattern = RegExp(I.pattern.source, he + "g");
4761
4761
  }
4762
- for (var Re = I.pattern || I, J = b.next, ce = h; J !== g.tail && !(C && ce >= C.reach); ce += J.value.length, J = J.next) {
4763
- var Fe = J.value;
4762
+ for (var Re = I.pattern || I, X = b.next, se = h; X !== g.tail && !(C && se >= C.reach); se += X.value.length, X = X.next) {
4763
+ var Fe = X.value;
4764
4764
  if (g.length > p.length)
4765
4765
  return;
4766
4766
  if (!(Fe instanceof l)) {
4767
- var K = 1, fe;
4767
+ var Q = 1, ce;
4768
4768
  if (F) {
4769
- if (fe = s(Re, ce, p, Q), !fe || fe.index >= p.length)
4769
+ if (ce = s(Re, se, p, J), !ce || ce.index >= p.length)
4770
4770
  break;
4771
- var Ce = fe.index, ne = fe.index + fe[0].length, Z = ce;
4772
- for (Z += J.value.length; Ce >= Z; )
4773
- J = J.next, Z += J.value.length;
4774
- if (Z -= J.value.length, ce = Z, J.value instanceof l)
4771
+ var K = ce.index, ne = ce.index + ce[0].length, Ce = se;
4772
+ for (Ce += X.value.length; K >= Ce; )
4773
+ X = X.next, Ce += X.value.length;
4774
+ if (Ce -= X.value.length, se = Ce, X.value instanceof l)
4775
4775
  continue;
4776
- for (var U = J; U !== g.tail && (Z < ne || typeof U.value == "string"); U = U.next)
4777
- K++, Z += U.value.length;
4778
- K--, Fe = p.slice(ce, Z), fe.index -= ce;
4779
- } else if (fe = s(Re, 0, Fe, Q), !fe)
4776
+ for (var U = X; U !== g.tail && (Ce < ne || typeof U.value == "string"); U = U.next)
4777
+ Q++, Ce += U.value.length;
4778
+ Q--, Fe = p.slice(se, Ce), ce.index -= se;
4779
+ } else if (ce = s(Re, 0, Fe, J), !ce)
4780
4780
  continue;
4781
- var Ce = fe.index, se = fe[0], w = Fe.slice(0, Ce), M = Fe.slice(Ce + se.length), R = ce + Fe.length;
4782
- C && R > C.reach && (C.reach = R);
4783
- var H = J.prev;
4784
- w && (H = v(g, H, w), ce += w.length), x(g, H, K);
4785
- var Ie = new l(T, W ? i.tokenize(se, W) : se, G, se);
4786
- if (J = v(g, H, Ie), M && v(g, J, M), K > 1) {
4781
+ var K = ce.index, Oe = ce[0], be = Fe.slice(0, K), w = Fe.slice(K + Oe.length), M = se + Fe.length;
4782
+ C && M > C.reach && (C.reach = M);
4783
+ var R = X.prev;
4784
+ be && (R = v(g, R, be), se += be.length), x(g, R, Q);
4785
+ var H = new l(T, W ? i.tokenize(Oe, W) : Oe, G, Oe);
4786
+ if (X = v(g, R, H), w && v(g, X, w), Q > 1) {
4787
4787
  var Be = {
4788
4788
  cause: T + "," + $,
4789
- reach: R
4789
+ reach: M
4790
4790
  };
4791
- c(p, g, m, J.prev, ce, Be), C && Be.reach > C.reach && (C.reach = Be.reach);
4791
+ c(p, g, m, X.prev, se, Be), C && Be.reach > C.reach && (C.reach = Be.reach);
4792
4792
  }
4793
4793
  }
4794
4794
  }
@@ -5370,7 +5370,7 @@ const ks = ["innerHTML"], xs = /* @__PURE__ */ le({
5370
5370
  class: Ou([y(ut)])
5371
5371
  }, {
5372
5372
  default: O(() => [
5373
- eu("div", {
5373
+ uu("div", {
5374
5374
  class: Ou([y(r) && !c.markdown ? `${y(ut)}__cursor` : void 0, c.markdown ? `${y(ut)}__markdown` : void 0]),
5375
5375
  style: an([c.markdown ? void 0 : { "--cursor-content": `'${c.suffix}'` }]),
5376
5376
  innerHTML: s.value
@@ -5420,7 +5420,7 @@ const uf = /* @__PURE__ */ le({
5420
5420
  }, {
5421
5421
  default: O(() => [
5422
5422
  z(n.$slots, "avatar", {}, () => [
5423
- n.avatar ? (P(), N(y(Yo), X({
5423
+ n.avatar ? (P(), N(y(Yo), Y({
5424
5424
  key: 0,
5425
5425
  round: ""
5426
5426
  }, n.avatar.props), {
@@ -5428,9 +5428,9 @@ const uf = /* @__PURE__ */ le({
5428
5428
  (P(), N(Ee(n.avatar.icon)))
5429
5429
  ]),
5430
5430
  _: 1
5431
- }, 16)) : Y("", !0)
5431
+ }, 16)) : Z("", !0)
5432
5432
  ]),
5433
- V(y(Qe), { vertical: "" }, {
5433
+ V(y(Je), { vertical: "" }, {
5434
5434
  default: O(() => [
5435
5435
  z(n.$slots, "header"),
5436
5436
  V(y(Gr), null, {
@@ -5438,7 +5438,7 @@ const uf = /* @__PURE__ */ le({
5438
5438
  n.loading ? z(n.$slots, "loading", { key: 0 }, () => [
5439
5439
  V(y(Lr), { style: { height: "44px" } })
5440
5440
  ]) : z(n.$slots, "default", { key: 1 }, () => [
5441
- eu("div", {
5441
+ uu("div", {
5442
5442
  class: Ou([`${y(Vt)}__content`, n.contentClass]),
5443
5443
  style: an(n.contentStyle)
5444
5444
  }, [
@@ -5495,7 +5495,7 @@ const Fs = /* @__PURE__ */ le({
5495
5495
  setup(e) {
5496
5496
  bt(tt, Ds());
5497
5497
  const u = q("auto");
5498
- return Ne(() => {
5498
+ return $e(() => {
5499
5499
  if (e.disableScroll) {
5500
5500
  const t = e.scrollSelector instanceof HTMLElement ? e.scrollSelector : document.querySelector(e.scrollSelector);
5501
5501
  t && (e.show && (u.value = t.style.overflow), t.style.overflow = e.show ? "hidden" : u.value);
@@ -5509,7 +5509,7 @@ const Fs = /* @__PURE__ */ le({
5509
5509
  style: an(typeof t.mask == "object" ? t.mask : {})
5510
5510
  }, {
5511
5511
  default: O(() => [
5512
- V(y(Lr), ke(Xe(t.spinProps)), Mr({ _: 2 }, [
5512
+ V(y(Lr), ke(Qe(t.spinProps)), Mr({ _: 2 }, [
5513
5513
  t.$slots.description ? {
5514
5514
  name: "description",
5515
5515
  fn: O(() => [
@@ -5527,7 +5527,7 @@ const Fs = /* @__PURE__ */ le({
5527
5527
  ]), 1040)
5528
5528
  ]),
5529
5529
  _: 3
5530
- }, 8, ["class", "style"])) : Y("", !0)
5530
+ }, 8, ["class", "style"])) : Z("", !0)
5531
5531
  ], 8, ["to"]))
5532
5532
  ]),
5533
5533
  _: 3
@@ -5567,17 +5567,17 @@ const Fs = /* @__PURE__ */ le({
5567
5567
  return null;
5568
5568
  }
5569
5569
  });
5570
- return (r, o) => (P(), N(y(Xo), ke(Xe(r.configProviderProps)), {
5570
+ return (r, o) => (P(), N(y(Xo), ke(Qe(r.configProviderProps)), {
5571
5571
  default: O(() => [
5572
- V(y(Qo), ke(Xe(r.loadingBarProps)), {
5572
+ V(y(Qo), ke(Qe(r.loadingBarProps)), {
5573
5573
  default: O(() => [
5574
- V(y(Jo), ke(Xe(r.dialogProviderProps)), {
5574
+ V(y(Jo), ke(Qe(r.dialogProviderProps)), {
5575
5575
  default: O(() => [
5576
- V(y(Ko), ke(Xe(r.modalProviderProps)), {
5576
+ V(y(Ko), ke(Qe(r.modalProviderProps)), {
5577
5577
  default: O(() => [
5578
- V(y(ei), ke(Xe(r.notificationProviderProps)), {
5578
+ V(y(ei), ke(Qe(r.notificationProviderProps)), {
5579
5579
  default: O(() => [
5580
- V(y(ui), ke(Xe(r.messageProviderProps)), {
5580
+ V(y(ui), ke(Qe(r.messageProviderProps)), {
5581
5581
  default: O(() => [
5582
5582
  z(r.$slots, "default"),
5583
5583
  V(y(n))
@@ -5596,8 +5596,8 @@ const Fs = /* @__PURE__ */ le({
5596
5596
  ]),
5597
5597
  _: 3
5598
5598
  }, 16),
5599
- r.globalStyle ? (P(), N(y(ti), { key: 0 })) : Y("", !0),
5600
- V(y(Fs), X({ show: u.value }, r.fullLoadingProps), null, 16, ["show"])
5599
+ r.globalStyle ? (P(), N(y(ti), { key: 0 })) : Z("", !0),
5600
+ V(y(Fs), Y({ show: u.value }, r.fullLoadingProps), null, 16, ["show"])
5601
5601
  ]),
5602
5602
  _: 3
5603
5603
  }, 16));
@@ -5616,8 +5616,8 @@ const Fs = /* @__PURE__ */ le({
5616
5616
  viewBox: "0 0 24 24"
5617
5617
  };
5618
5618
  function Ps(e, u, t, n, r, o) {
5619
- return P(), he("svg", Ts, u[0] || (u[0] = [
5620
- eu("path", {
5619
+ return P(), pe("svg", Ts, u[0] || (u[0] = [
5620
+ uu("path", {
5621
5621
  fill: "currentColor",
5622
5622
  d: "M18.355 6.54h-1.94V4.69a2.69 2.69 0 0 0-1.646-2.484A2.7 2.7 0 0 0 13.745 2h-8.05a2.68 2.68 0 0 0-2.67 2.69v10.09a2.68 2.68 0 0 0 2.67 2.69h1.94v1.85a2.68 2.68 0 0 0 2.67 2.68h8a2.68 2.68 0 0 0 2.67-2.68V9.23a2.69 2.69 0 0 0-2.62-2.69M7.635 9.23v6.74h-1.94a1.18 1.18 0 0 1-1.17-1.19V4.69a1.18 1.18 0 0 1 1.17-1.19h8.05a1.18 1.18 0 0 1 1.17 1.19v1.85h-4.61a2.69 2.69 0 0 0-2.67 2.69"
5623
5623
  }, null, -1)
@@ -5637,20 +5637,20 @@ const Rs = /* @__PURE__ */ yn(Ss, [["render", Ps]]), nf = /* @__PURE__ */ le({
5637
5637
  source: e.value,
5638
5638
  ...e.config
5639
5639
  });
5640
- Ke(n, () => {
5640
+ eu(n, () => {
5641
5641
  n.value && t("copied", e.value);
5642
5642
  });
5643
5643
  function o(a) {
5644
5644
  a.preventDefault(), r();
5645
5645
  }
5646
- return (a, i) => (P(), N(y(cn), ke(Xe(a.tooltipProps)), {
5646
+ return (a, i) => (P(), N(y(cn), ke(Qe(a.tooltipProps)), {
5647
5647
  trigger: O(() => [
5648
- eu("div", {
5648
+ uu("div", {
5649
5649
  style: { cursor: "pointer" },
5650
5650
  onClick: o
5651
5651
  }, [
5652
5652
  z(a.$slots, "default", {}, () => [
5653
- V(y(je), X({
5653
+ V(y(je), Y({
5654
5654
  quaternary: "",
5655
5655
  size: "tiny"
5656
5656
  }, a.buttonProps), {
@@ -5666,7 +5666,7 @@ const Rs = /* @__PURE__ */ yn(Ss, [["render", Ps]]), nf = /* @__PURE__ */ le({
5666
5666
  ]),
5667
5667
  default: O(() => [
5668
5668
  z(a.$slots, "tooltip", {}, () => [
5669
- ru(Je(y(n) ? "复制成功" : "复制"), 1)
5669
+ ou(Ke(y(n) ? "复制成功" : "复制"), 1)
5670
5670
  ])
5671
5671
  ]),
5672
5672
  _: 3
@@ -5674,9 +5674,9 @@ const Rs = /* @__PURE__ */ yn(Ss, [["render", Ps]]), nf = /* @__PURE__ */ le({
5674
5674
  }
5675
5675
  }), Eo = (e, { manual: u, ready: t = !0, refreshDeps: n = [], refreshDepsAction: r }) => {
5676
5676
  const o = q(!1);
5677
- return Ne(() => {
5677
+ return $e(() => {
5678
5678
  !u && e.options.refreshDeps !== !0 && (o.value = y(t));
5679
- }), n instanceof Array ? Ke(
5679
+ }), n instanceof Array ? eu(
5680
5680
  [o, ...n],
5681
5681
  ([a]) => {
5682
5682
  a && !u && a && (r ? r() : e.refresh());
@@ -5685,7 +5685,7 @@ const Rs = /* @__PURE__ */ yn(Ss, [["render", Ps]]), nf = /* @__PURE__ */ le({
5685
5685
  deep: !0,
5686
5686
  immediate: !1
5687
5687
  }
5688
- ) : Ke(o, (a) => {
5688
+ ) : eu(o, (a) => {
5689
5689
  !u && a && (r ? r() : e.refresh());
5690
5690
  }), {
5691
5691
  name: "autoRunPlugin",
@@ -5732,7 +5732,7 @@ const at = /* @__PURE__ */ new Map(), Os = (e, u, t) => {
5732
5732
  const a = q(), i = q(), l = (c, f) => {
5733
5733
  r ? r(f) : Os(c, t, f), Is(c, f.data);
5734
5734
  }, s = (c, f = []) => o ? o(f) : Ms(c);
5735
- return Ne(() => {
5735
+ return $e(() => {
5736
5736
  if (!u)
5737
5737
  return;
5738
5738
  const c = s(u);
@@ -5891,7 +5891,7 @@ const fc = (e, { debounceWait: u, debounceLeading: t, debounceTrailing: n, debou
5891
5891
  const i = {}, l = y(t), s = y(n), c = y(r);
5892
5892
  return l !== void 0 && (i.leading = l), s !== void 0 && (i.trailing = s), c !== void 0 && (i.maxWait = c), i;
5893
5893
  });
5894
- return Ne((i) => {
5894
+ return $e((i) => {
5895
5895
  if (y(u)) {
5896
5896
  const l = e.runAsync.bind(e);
5897
5897
  o.value = Co(
@@ -5992,7 +5992,7 @@ const ye = new xc(), vc = (e, { ready: u = !0, debugKey: t, ...n }) => {
5992
5992
  Object.entries({ ready: u, ...n }).map(([a, i]) => [a, y(i)])
5993
5993
  )
5994
5994
  );
5995
- return Ne(() => {
5995
+ return $e(() => {
5996
5996
  t && ye.has(t) && ye.emit({
5997
5997
  ...e,
5998
5998
  options: { ...e.options, ...o.value }
@@ -6103,7 +6103,7 @@ const Ac = (e, { pollingInterval: u, pollingWhenHidden: t = !0, pollingErrorRetr
6103
6103
  var l;
6104
6104
  r && clearTimeout(r), (l = o.value) == null || l.call(o);
6105
6105
  };
6106
- return Ne(() => {
6106
+ return $e(() => {
6107
6107
  y(u) || i();
6108
6108
  }), y(u) ? {
6109
6109
  name: "pollingPlugin",
@@ -6161,7 +6161,7 @@ const Fc = (e, { refreshOnWindowFocus: u, focusTimespan: t = 5e3 }) => {
6161
6161
  var o;
6162
6162
  (o = n.value) == null || o.call(n);
6163
6163
  };
6164
- return Ne((o) => {
6164
+ return $e((o) => {
6165
6165
  if (y(u)) {
6166
6166
  const a = wc(
6167
6167
  e.refresh.bind(e),
@@ -6220,7 +6220,7 @@ const Rc = (e, { throttleWait: u, throttleLeading: t, throttleTrailing: n }) =>
6220
6220
  const s = {};
6221
6221
  return y(t) !== void 0 && (s.leading = y(t)), y(n) !== void 0 && (s.trailing = y(n)), s;
6222
6222
  }), a = e.runAsync.bind(e), i = q(), l = te(() => y(u));
6223
- return Ke([l, o], (s) => {
6223
+ return eu([l, o], (s) => {
6224
6224
  r && (r.cancel(), e.runAsync = a);
6225
6225
  const [c, f] = s, v = Pc(
6226
6226
  (x) => {
@@ -6401,7 +6401,7 @@ function Bc(e, u = {}, t = []) {
6401
6401
  );
6402
6402
  x.options = l, x.pluginImpls = t.map((_) => _(x, l));
6403
6403
  const d = te(() => Qt(a) ? a.value : a);
6404
- if (Ne(() => {
6404
+ if ($e(() => {
6405
6405
  if (!o) {
6406
6406
  const _ = x.state.params || u.defaultParams || [];
6407
6407
  d.value && x.options.refreshDeps === !0 && s.value && x.run(..._);
@@ -6457,8 +6457,8 @@ const Uc = {
6457
6457
  viewBox: "0 0 24 24"
6458
6458
  };
6459
6459
  function jc(e, u, t, n, r, o) {
6460
- return P(), he("svg", qc, u[0] || (u[0] = [
6461
- eu("path", {
6460
+ return P(), pe("svg", qc, u[0] || (u[0] = [
6461
+ uu("path", {
6462
6462
  fill: "none",
6463
6463
  stroke: "currentColor",
6464
6464
  "stroke-linecap": "round",
@@ -6484,13 +6484,13 @@ const Tr = /* @__PURE__ */ yn(Uc, [["render", jc]]), Do = /* @__PURE__ */ le({
6484
6484
  setup(e, { emit: u }) {
6485
6485
  const t = u, n = ht("input-ref"), r = q(e.value ?? null), o = te(() => typeof e.searchButton == "boolean" ? "text" : e.searchButton), { start: a } = Ci(() => {
6486
6486
  }, typeof e.autoTrigger == "number" ? e.autoTrigger : 500);
6487
- Ne(() => {
6487
+ $e(() => {
6488
6488
  r.value = e.value ?? null;
6489
6489
  });
6490
6490
  const i = Ur(() => {
6491
6491
  t("update:value", r.value);
6492
6492
  }, typeof e.autoTrigger == "number" ? e.autoTrigger : 500);
6493
- Ke(r, () => {
6493
+ eu(r, () => {
6494
6494
  a(), e.autoTrigger && i();
6495
6495
  });
6496
6496
  function l() {
@@ -6499,11 +6499,11 @@ const Tr = /* @__PURE__ */ yn(Uc, [["render", jc]]), Do = /* @__PURE__ */ le({
6499
6499
  function s(c) {
6500
6500
  c.key === "Enter" && l();
6501
6501
  }
6502
- return Ne(() => {
6502
+ return $e(() => {
6503
6503
  !e.loading && r.value && n.value?.focus();
6504
6504
  }), (c, f) => (P(), N(y(li), null, {
6505
6505
  default: O(() => [
6506
- V(y(fn), X({
6506
+ V(y(fn), Y({
6507
6507
  ref: "input-ref",
6508
6508
  value: r.value,
6509
6509
  "onUpdate:value": f[0] || (f[0] = (v) => r.value = v),
@@ -6523,15 +6523,15 @@ const Tr = /* @__PURE__ */ yn(Uc, [["render", jc]]), Do = /* @__PURE__ */ le({
6523
6523
  value: c.value,
6524
6524
  loading: c.loading
6525
6525
  }, () => [
6526
- o.value ? (P(), N(y(je), X({
6526
+ o.value ? (P(), N(y(je), Y({
6527
6527
  key: 0,
6528
6528
  type: c.type,
6529
6529
  loading: c.loading
6530
6530
  }, c.buttonProps, { onClick: l }), Mr({
6531
6531
  default: O(() => [
6532
- o.value === "text" ? (P(), he(Me, { key: 0 }, [
6533
- ru(" 搜索 ")
6534
- ], 64)) : Y("", !0)
6532
+ o.value === "text" ? (P(), pe(Le, { key: 0 }, [
6533
+ ou(" 搜索 ")
6534
+ ], 64)) : Z("", !0)
6535
6535
  ]),
6536
6536
  _: 2
6537
6537
  }, [
@@ -6544,7 +6544,7 @@ const Tr = /* @__PURE__ */ yn(Uc, [["render", jc]]), Do = /* @__PURE__ */ le({
6544
6544
  ]),
6545
6545
  key: "0"
6546
6546
  } : void 0
6547
- ]), 1040, ["type", "loading"])) : Y("", !0)
6547
+ ]), 1040, ["type", "loading"])) : Z("", !0)
6548
6548
  ])
6549
6549
  ]),
6550
6550
  _: 3
@@ -6647,9 +6647,9 @@ const mu = /* @__PURE__ */ le({
6647
6647
  emits: ["update:value"],
6648
6648
  setup(e, { emit: u }) {
6649
6649
  const t = u;
6650
- return (n, r) => n.options && n.options.length > 0 ? (P(), N(y(Qe), ke(X({ key: 0 }, n.flexProps)), {
6650
+ return (n, r) => n.options && n.options.length > 0 ? (P(), N(y(Je), ke(Y({ key: 0 }, n.flexProps)), {
6651
6651
  default: O(() => [
6652
- (P(!0), he(Me, null, bu(n.options, ({ key: o, render: a, label: i, ...l }, s) => (P(), he(Me, { key: s }, [
6652
+ (P(!0), pe(Le, null, bu(n.options, ({ key: o, render: a, label: i, ...l }, s) => (P(), pe(Le, { key: s }, [
6653
6653
  a ? (P(), N(Ee(y(Se)(a(n.exposeRefs, n.exposeActions), i, { path: o, labelPlacement: "left" })), { key: 0 })) : (P(), N(Ee(y(Se)(
6654
6654
  Ae(y(mu), {
6655
6655
  options: l,
@@ -6662,7 +6662,7 @@ const mu = /* @__PURE__ */ le({
6662
6662
  ], 64))), 128))
6663
6663
  ]),
6664
6664
  _: 1
6665
- }, 16)) : Y("", !0);
6665
+ }, 16)) : Z("", !0);
6666
6666
  }
6667
6667
  }), Xt = /* @__PURE__ */ le({
6668
6668
  __name: "GridFilter",
@@ -6676,9 +6676,9 @@ const mu = /* @__PURE__ */ le({
6676
6676
  emits: ["update:value"],
6677
6677
  setup(e, { emit: u }) {
6678
6678
  const t = u;
6679
- return (n, r) => n.options && n.options.length >= 0 ? (P(), N(y(Jt), ke(X({ key: 0 }, n.gridProps)), {
6679
+ return (n, r) => n.options && n.options.length >= 0 ? (P(), N(y(Jt), ke(Y({ key: 0 }, n.gridProps)), {
6680
6680
  default: O(() => [
6681
- (P(!0), he(Me, null, bu(n.options, ({ key: o, gridSpan: a, gridItemProps: i, render: l, label: s, ...c }, f) => (P(), N(y(Kt), X({
6681
+ (P(!0), pe(Le, null, bu(n.options, ({ key: o, gridSpan: a, gridItemProps: i, render: l, label: s, ...c }, f) => (P(), N(y(Kt), Y({
6682
6682
  key: f,
6683
6683
  span: a
6684
6684
  }, { ref_for: !0 }, i), {
@@ -6697,7 +6697,7 @@ const mu = /* @__PURE__ */ le({
6697
6697
  }, 1040, ["span"]))), 128))
6698
6698
  ]),
6699
6699
  _: 1
6700
- }, 16)) : Y("", !0);
6700
+ }, 16)) : Z("", !0);
6701
6701
  }
6702
6702
  }), Hc = { style: { height: "100%", display: "flex", alignItems: "center" } }, Gc = {
6703
6703
  key: 0,
@@ -6717,14 +6717,14 @@ const mu = /* @__PURE__ */ le({
6717
6717
  filterGridProps: {},
6718
6718
  filterFlexProps: {},
6719
6719
  filterLayout: { default: "grid" },
6720
- filterCollapsedType: { default: "collapsed" },
6720
+ filterCollapsedType: { default: "modal" },
6721
6721
  filterModalTrigger: { default: "manual" },
6722
6722
  filterLabel: { default: "更多筛选" },
6723
6723
  filterModalProps: {},
6724
6724
  contextMenuOptions: {},
6725
6725
  search: { type: [Object, Boolean] },
6726
6726
  pagination: { type: [Object, Boolean] },
6727
- clearable: { type: Boolean },
6727
+ clearable: { type: [Boolean, String] },
6728
6728
  columnsFilterOptions: { type: Function },
6729
6729
  columnsSorterOptions: { type: Function },
6730
6730
  dataTableProps: {}
@@ -6756,7 +6756,7 @@ const mu = /* @__PURE__ */ le({
6756
6756
  [i.pageSize]: c.value.pageSize,
6757
6757
  [i.search]: null,
6758
6758
  ...e.defaultParams
6759
- }, d = structuredClone(ge(Le(x))), { loading: _, data: A, error: E, params: p, run: g, runAsync: m, refresh: b, refreshAsync: h, cancel: C, mutate: T } = wn(e.api, {
6759
+ }, d = structuredClone(ge(Ne(x))), { loading: _, data: A, error: E, params: p, run: g, runAsync: m, refresh: b, refreshAsync: h, cancel: C, mutate: T } = wn(e.api, {
6760
6760
  defaultParams: [
6761
6761
  x
6762
6762
  ],
@@ -6792,7 +6792,7 @@ const mu = /* @__PURE__ */ le({
6792
6792
  }
6793
6793
  }
6794
6794
  }
6795
- function Q(w) {
6795
+ function J(w) {
6796
6796
  return g({
6797
6797
  ...p.value[0],
6798
6798
  ...w
@@ -6800,17 +6800,17 @@ const mu = /* @__PURE__ */ le({
6800
6800
  }
6801
6801
  const F = {
6802
6802
  onUpdatePage: (w) => {
6803
- n("update:page", w), !_.value && Q({
6803
+ n("update:page", w), !_.value && J({
6804
6804
  [i.page]: w
6805
6805
  });
6806
6806
  },
6807
6807
  onUpdatePageSize: (w) => {
6808
- n("update:pageSize", w), !_.value && Q({
6808
+ n("update:pageSize", w), !_.value && J({
6809
6809
  [i.pageSize]: w
6810
6810
  });
6811
6811
  },
6812
6812
  onUpdateFilters: (w, M) => {
6813
- n("update:filters", w, M), f.value = w, Q({
6813
+ n("update:filters", w, M), f.value = w, J({
6814
6814
  [i.page]: 1,
6815
6815
  ...e.columnsFilterOptions ? e.columnsFilterOptions(w) : { [i.filter]: w }
6816
6816
  });
@@ -6822,7 +6822,7 @@ const mu = /* @__PURE__ */ le({
6822
6822
  for (const R of w)
6823
6823
  M[R.columnKey] = R;
6824
6824
  else w && (M[w.columnKey] = w);
6825
- v.value = M, Q({
6825
+ v.value = M, J({
6826
6826
  [i.page]: 1,
6827
6827
  ...e.columnsSorterOptions ? e.columnsSorterOptions(M) : { [i.sorter]: M }
6828
6828
  });
@@ -6832,7 +6832,7 @@ const mu = /* @__PURE__ */ le({
6832
6832
  n("scroll", w);
6833
6833
  },
6834
6834
  onUpdateCheckedRowKeys: (w, M, R) => {
6835
- const H = w.map((Ie) => D.find((Be) => Be[i.rowKey] === Ie));
6835
+ const H = w.map((Be) => D.find((Ve) => Ve[i.rowKey] === Be));
6836
6836
  n("update:checkedRowKeys", w, H, { row: ge(R.row), action: R.action }, ge($.value));
6837
6837
  },
6838
6838
  onUpdateExpandedRowKeys: (w) => {
@@ -6849,28 +6849,31 @@ const mu = /* @__PURE__ */ le({
6849
6849
  }
6850
6850
  };
6851
6851
  }
6852
- const be = q(!1), Re = q({});
6853
- function J(w, M, R) {
6854
- M && (R ? (e.filterModalTrigger === "manual" && (Re.value[M] = w), e.filterModalTrigger === "auto" && Q({
6855
- [M]: w
6856
- })) : Q({
6857
- [M]: w
6852
+ const he = q(!1), Re = q({});
6853
+ function X(w, M) {
6854
+ w && (e.filterCollapsedType === "modal" ? (e.filterModalTrigger === "manual" && (Re.value[w] = M), e.filterModalTrigger === "auto" && J({
6855
+ [w]: M
6856
+ })) : J({
6857
+ [w]: M
6858
6858
  }));
6859
6859
  }
6860
- const ce = q(!1);
6860
+ const se = q(!1);
6861
6861
  function Fe() {
6862
- ce.value = !0;
6862
+ se.value = !0;
6863
+ }
6864
+ function Q() {
6865
+ g(structuredClone(d));
6863
6866
  }
6864
- function K() {
6865
- Q(d);
6867
+ function ce() {
6868
+ Q();
6866
6869
  }
6867
- function fe() {
6868
- Q(Re.value);
6870
+ function ne() {
6871
+ J(Re.value);
6869
6872
  }
6870
- const ne = te(() => {
6873
+ const Ce = te(() => {
6871
6874
  const w = [i.page, i.pageSize];
6872
6875
  return Object.entries(p.value[0]).filter(([M]) => !w.includes(M)).some(([M, R]) => !(R == null || Array.isArray(R) && R.length === 0 || typeof R == "string" && R.trim() === "" || typeof R == "boolean" && R === !0));
6873
- }), Z = {
6876
+ }), U = {
6874
6877
  loading: _,
6875
6878
  data: A,
6876
6879
  error: E,
@@ -6880,7 +6883,7 @@ const mu = /* @__PURE__ */ le({
6880
6883
  sorters: v,
6881
6884
  rawList: $,
6882
6885
  dataTableRef: a
6883
- }, U = {
6886
+ }, K = {
6884
6887
  run: g,
6885
6888
  runAsync: m,
6886
6889
  refresh: b,
@@ -6893,37 +6896,38 @@ const mu = /* @__PURE__ */ le({
6893
6896
  runParams: (w) => g(Object.assign(p.value[0], w)),
6894
6897
  runParamsAsync: async (w) => m(Object.assign(p.value[0], w)),
6895
6898
  showFilterModal: Fe,
6896
- resetParams: K
6897
- }, Ce = te(() => e.filterOptions?.filter((w) => typeof w.hidden == "function" ? !w.hidden(Z) : !w.hidden).filter((w) => !w.collapsed)), se = te(() => e.filterOptions?.filter((w) => typeof w.hidden == "function" ? !w.hidden(Z) : !w.hidden).filter((w) => w.collapsed));
6899
+ resetParams: Q,
6900
+ onValueUpdate: X
6901
+ }, Oe = te(() => e.filterOptions?.filter((w) => typeof w.hidden == "function" ? !w.hidden(U) : !w.hidden).filter((w) => !w.collapsed)), be = te(() => e.filterOptions?.filter((w) => typeof w.hidden == "function" ? !w.hidden(U) : !w.hidden).filter((w) => w.collapsed));
6898
6902
  return u({
6899
- refs: Z,
6900
- actions: U
6901
- }), (w, M) => (P(), N(y(Qe), {
6902
- style: { width: 100, height: 100 },
6903
+ refs: U,
6904
+ actions: K
6905
+ }), (w, M) => (P(), N(y(Je), {
6906
+ style: { width: "100%", height: "100%" },
6903
6907
  vertical: ""
6904
6908
  }, {
6905
6909
  default: O(() => [
6906
6910
  z(w.$slots, "header", {
6907
- refs: Z,
6908
- actions: U
6911
+ refs: U,
6912
+ actions: K
6909
6913
  }, () => [
6910
- V(y(Qe), null, {
6914
+ V(y(Je), null, {
6911
6915
  default: O(() => [
6912
6916
  z(w.$slots, "title", {}, () => [
6913
- eu("div", Hc, [
6914
- w.title ? (P(), he("span", Gc, Je(w.title), 1)) : Y("", !0)
6917
+ uu("div", Hc, [
6918
+ w.title ? (P(), pe("span", Gc, Ke(w.title), 1)) : Z("", !0)
6915
6919
  ])
6916
6920
  ]),
6917
- w.search ? (P(), N(y(Do), X({
6921
+ w.search ? (P(), N(y(Do), Y({
6918
6922
  key: 0,
6919
- style: { marginLeft: "auto", width: "260px" },
6923
+ style: { marginLeft: "auto", width: "280px" },
6920
6924
  value: y(p)[0][i.search],
6921
6925
  loading: y(_)
6922
6926
  }, l, {
6923
- "onUpdate:value": M[0] || (M[0] = (R) => Q({ [i.search]: R }))
6924
- }), null, 16, ["value", "loading"])) : Y("", !0),
6927
+ "onUpdate:value": M[0] || (M[0] = (R) => J({ [i.search]: R }))
6928
+ }), null, 16, ["value", "loading"])) : Z("", !0),
6925
6929
  V(y($r), {
6926
- show: ne.value,
6930
+ show: Ce.value,
6927
6931
  dot: ""
6928
6932
  }, {
6929
6933
  default: O(() => [
@@ -6932,103 +6936,103 @@ const mu = /* @__PURE__ */ le({
6932
6936
  onClick: Fe
6933
6937
  }, {
6934
6938
  default: O(() => [
6935
- ru(Je(w.filterLabel), 1)
6939
+ ou(Ke(w.filterLabel), 1)
6936
6940
  ]),
6937
6941
  _: 1
6938
- })) : Y("", !0)
6942
+ })) : Z("", !0)
6939
6943
  ]),
6940
6944
  _: 1
6941
6945
  }, 8, ["show"]),
6942
- w.clearable ? (P(), N(y(je), {
6946
+ (typeof w.clearable == "boolean" ? w.clearable === !0 : w.clearable === "main") ? (P(), N(y(je), {
6943
6947
  key: 1,
6944
- onClick: K
6948
+ onClick: Q
6945
6949
  }, {
6946
6950
  default: O(() => M[9] || (M[9] = [
6947
- ru(" 清除 ", -1)
6951
+ ou(" 清除 ", -1)
6948
6952
  ])),
6949
6953
  _: 1,
6950
6954
  __: [9]
6951
- })) : Y("", !0),
6955
+ })) : Z("", !0),
6952
6956
  z(w.$slots, "header-extra", {
6953
- refs: Z,
6954
- actions: U
6957
+ refs: U,
6958
+ actions: K
6955
6959
  })
6956
6960
  ]),
6957
6961
  _: 3
6958
6962
  })
6959
6963
  ]),
6960
6964
  z(w.$slots, "filter", {
6961
- refs: Z,
6962
- actions: U
6965
+ refs: U,
6966
+ actions: K
6963
6967
  }, () => [
6964
- V(y(Qe), { vertical: "" }, {
6968
+ V(y(Je), { vertical: "" }, {
6965
6969
  default: O(() => [
6966
6970
  r.value.grid ? (P(), N(Xt, {
6967
6971
  key: 0,
6968
- options: Ce.value,
6969
- "expose-refs": Z,
6970
- "expose-actions": U,
6972
+ options: Oe.value,
6973
+ "expose-refs": U,
6974
+ "expose-actions": K,
6971
6975
  params: y(p),
6972
6976
  "grid-props": w.filterGridProps,
6973
- "onUpdate:value": M[1] || (M[1] = (R, H) => J(R, H))
6974
- }, null, 8, ["options", "params", "grid-props"])) : Y("", !0),
6977
+ "onUpdate:value": M[1] || (M[1] = (R, H) => X(H, R))
6978
+ }, null, 8, ["options", "params", "grid-props"])) : Z("", !0),
6975
6979
  r.value.flex ? (P(), N(Yt, {
6976
6980
  key: 1,
6977
- options: Ce.value,
6978
- "expose-refs": Z,
6979
- "expose-actions": U,
6981
+ options: Oe.value,
6982
+ "expose-refs": U,
6983
+ "expose-actions": K,
6980
6984
  params: y(p),
6981
6985
  "grid-props": w.filterGridProps,
6982
- "onUpdate:value": M[2] || (M[2] = (R, H) => J(R, H))
6983
- }, null, 8, ["options", "params", "grid-props"])) : Y("", !0),
6984
- se.value && w.filterCollapsedType === "collapsed" && se.value.length > 0 ? (P(), N(y(dn), {
6986
+ "onUpdate:value": M[2] || (M[2] = (R, H) => X(H, R))
6987
+ }, null, 8, ["options", "params", "grid-props"])) : Z("", !0),
6988
+ be.value && w.filterCollapsedType === "collapsed" && be.value.length > 0 ? (P(), N(y(dn), {
6985
6989
  key: 2,
6986
6990
  style: { margin: "5px 0" }
6987
6991
  }, {
6988
6992
  default: O(() => [
6989
6993
  V(y(je), {
6990
6994
  size: "tiny",
6991
- onClick: M[3] || (M[3] = (R) => be.value = !be.value)
6995
+ onClick: M[3] || (M[3] = (R) => he.value = !he.value)
6992
6996
  }, {
6993
6997
  default: O(() => [
6994
- ru(Je(be.value ? "折叠" : "展开"), 1)
6998
+ ou(Ke(he.value ? "折叠" : "展开"), 1)
6995
6999
  ]),
6996
7000
  _: 1
6997
7001
  })
6998
7002
  ]),
6999
7003
  _: 1
7000
- })) : Y("", !0),
7001
- se.value && w.filterCollapsedType === "collapsed" && se.value.length > 0 ? (P(), N(y(Ir), {
7004
+ })) : Z("", !0),
7005
+ be.value && w.filterCollapsedType === "collapsed" && be.value.length > 0 ? (P(), N(y(Ir), {
7002
7006
  key: 3,
7003
- show: be.value
7007
+ show: he.value
7004
7008
  }, {
7005
7009
  default: O(() => [
7006
7010
  r.value.collapsedGrid ? (P(), N(Xt, {
7007
7011
  key: 0,
7008
- options: se.value,
7009
- "expose-refs": Z,
7010
- "expose-actions": U,
7012
+ options: be.value,
7013
+ "expose-refs": U,
7014
+ "expose-actions": K,
7011
7015
  params: y(p),
7012
7016
  "grid-props": w.filterGridProps,
7013
- "onUpdate:value": M[4] || (M[4] = (R, H) => J(R, H))
7014
- }, null, 8, ["options", "params", "grid-props"])) : Y("", !0),
7017
+ "onUpdate:value": M[4] || (M[4] = (R, H) => X(H, R))
7018
+ }, null, 8, ["options", "params", "grid-props"])) : Z("", !0),
7015
7019
  r.value.collapsedFlex ? (P(), N(Yt, {
7016
7020
  key: 1,
7017
- options: se.value,
7018
- "expose-refs": Z,
7019
- "expose-actions": U,
7021
+ options: be.value,
7022
+ "expose-refs": U,
7023
+ "expose-actions": K,
7020
7024
  params: y(p),
7021
7025
  "grid-props": w.filterFlexProps,
7022
- "onUpdate:value": M[5] || (M[5] = (R, H) => J(R, H))
7023
- }, null, 8, ["options", "params", "grid-props"])) : Y("", !0)
7026
+ "onUpdate:value": M[5] || (M[5] = (R, H) => X(H, R))
7027
+ }, null, 8, ["options", "params", "grid-props"])) : Z("", !0)
7024
7028
  ]),
7025
7029
  _: 1
7026
- }, 8, ["show"])) : Y("", !0)
7030
+ }, 8, ["show"])) : Z("", !0)
7027
7031
  ]),
7028
7032
  _: 1
7029
7033
  })
7030
7034
  ]),
7031
- V(y(yi), X({
7035
+ V(y(yi), Y({
7032
7036
  ref: "data-table-ref",
7033
7037
  remote: "",
7034
7038
  "flex-height": "",
@@ -7051,76 +7055,80 @@ const mu = /* @__PURE__ */ le({
7051
7055
  }), {
7052
7056
  empty: O(() => [
7053
7057
  z(w.$slots, "empty", {
7054
- refs: Z,
7055
- actions: U
7058
+ refs: U,
7059
+ actions: K
7056
7060
  })
7057
7061
  ]),
7058
7062
  loading: O(() => [
7059
7063
  z(w.$slots, "loading", {
7060
- refs: Z,
7061
- actions: U
7064
+ refs: U,
7065
+ actions: K
7062
7066
  })
7063
7067
  ]),
7064
7068
  _: 3
7065
7069
  }, 16, ["scroll-x", "row-key", "children-key", "loading", "columns", "data", "onUpdate:filters", "onUpdate:sorter", "onLoad", "onScroll", "onUpdate:checkedRowKeys", "onUpdate:expandedRowKeys"]),
7066
7070
  z(w.$slots, "footer", {
7067
- refs: Z,
7068
- actions: U
7071
+ refs: U,
7072
+ actions: K
7069
7073
  }, () => [
7070
- V(y(Qe), null, {
7074
+ V(y(Je), null, {
7071
7075
  default: O(() => [
7072
7076
  z(w.$slots, "footer-extra", {
7073
- refs: Z,
7074
- actions: U
7077
+ refs: U,
7078
+ actions: K
7075
7079
  }),
7076
- w.pagination ? (P(), N(y(Br), X({
7080
+ w.pagination ? (P(), N(y(Br), Y({
7077
7081
  key: 0,
7078
7082
  style: { marginLeft: "auto" },
7079
7083
  disabled: y(_)
7080
7084
  }, { ...s, ...c.value }, {
7081
7085
  "onUpdate:page": F.onUpdatePage,
7082
7086
  "onUpdate:pageSize": F.onUpdatePageSize
7083
- }), null, 16, ["disabled", "onUpdate:page", "onUpdate:pageSize"])) : Y("", !0)
7087
+ }), null, 16, ["disabled", "onUpdate:page", "onUpdate:pageSize"])) : Z("", !0)
7084
7088
  ]),
7085
7089
  _: 3
7086
7090
  })
7087
7091
  ]),
7088
- w.filterCollapsedType === "modal" ? (P(), N(y(zr), X({
7092
+ w.filterCollapsedType === "modal" ? (P(), N(y(zr), Y({
7089
7093
  key: 0,
7090
- show: ce.value,
7091
- "onUpdate:show": M[8] || (M[8] = (R) => ce.value = R),
7094
+ show: se.value,
7095
+ "onUpdate:show": M[8] || (M[8] = (R) => se.value = R),
7092
7096
  style: { width: "auto" },
7093
7097
  preset: "dialog",
7094
7098
  title: w.filterLabel,
7099
+ "negative-text": (typeof w.clearable == "boolean" ? w.clearable === !0 : w.clearable === "modal") ? "清除" : void 0,
7095
7100
  "positive-text": w.filterModalTrigger === "manual" ? "确定" : void 0
7096
- }, w.filterModalProps, { onPositiveClick: fe }), {
7101
+ }, w.filterModalProps, {
7102
+ onNegativeClick: ce,
7103
+ onPositiveClick: ne
7104
+ }), {
7097
7105
  default: O(() => [
7098
7106
  z(w.$slots, "filter-modal", {
7099
- refs: Z,
7100
- actions: U
7107
+ refs: U,
7108
+ actions: K
7101
7109
  }, () => [
7102
7110
  r.value.collapsedGrid ? (P(), N(Xt, {
7103
7111
  key: 0,
7104
- options: se.value,
7105
- "expose-refs": Z,
7106
- "expose-actions": U,
7112
+ options: be.value,
7113
+ "expose-refs": U,
7114
+ "expose-actions": K,
7107
7115
  params: y(p),
7108
7116
  "grid-props": w.filterGridProps,
7109
- "onUpdate:value": M[6] || (M[6] = (R, H) => J(R, H, !0))
7110
- }, null, 8, ["options", "params", "grid-props"])) : Y("", !0),
7117
+ "onUpdate:value": M[6] || (M[6] = (R, H) => X(H, R))
7118
+ }, null, 8, ["options", "params", "grid-props"])) : Z("", !0),
7111
7119
  r.value.collapsedFlex ? (P(), N(Yt, {
7112
7120
  key: 1,
7113
- options: se.value,
7114
- "expose-refs": Z,
7115
- "expose-actions": U,
7121
+ options: be.value,
7122
+ "expose-refs": U,
7123
+ "expose-actions": K,
7116
7124
  params: y(p),
7117
7125
  "grid-props": w.filterFlexProps,
7118
- "onUpdate:value": M[7] || (M[7] = (R, H) => J(R, H, !0))
7119
- }, null, 8, ["options", "params", "grid-props"])) : Y("", !0)
7126
+ "onUpdate:value": M[7] || (M[7] = (R, H) => X(H, R))
7127
+ }, null, 8, ["options", "params", "grid-props"])) : Z("", !0)
7120
7128
  ])
7121
7129
  ]),
7122
7130
  _: 3
7123
- }, 16, ["show", "title", "positive-text"])) : Y("", !0)
7131
+ }, 16, ["show", "title", "negative-text", "positive-text"])) : Z("", !0)
7124
7132
  ]),
7125
7133
  _: 3
7126
7134
  }));
@@ -7149,7 +7157,7 @@ function So(e = {}, u = {}) {
7149
7157
  return e;
7150
7158
  }
7151
7159
  function Vc(e, u) {
7152
- const { rules: t, clearRules: n } = u ?? {}, r = structuredClone(ge(Le(e))), o = q(Le(e ?? {})), a = t, i = q(), l = {
7160
+ const { rules: t, clearRules: n } = u ?? {}, r = structuredClone(ge(Ne(e))), o = q(Ne(e ?? {})), a = t, i = q(), l = {
7153
7161
  ref: i,
7154
7162
  model: o,
7155
7163
  rules: a
@@ -7158,7 +7166,7 @@ function Vc(e, u) {
7158
7166
  return new Promise((_, A) => {
7159
7167
  if (!i.value)
7160
7168
  return A(new Error("useNaiveForm: formRef is not found."));
7161
- i.value.validate().then((E) => (s.trigger(ge(Le(o))), _(E))).catch(A);
7169
+ i.value.validate().then((E) => (s.trigger(ge(Ne(o))), _(E))).catch(A);
7162
7170
  });
7163
7171
  }
7164
7172
  function f() {
@@ -7254,7 +7262,7 @@ const of = /* @__PURE__ */ le({
7254
7262
  function g(m, b) {
7255
7263
  b && A.setValues({ [b]: m });
7256
7264
  }
7257
- return (m, b) => (P(), N(y(Ei), X({
7265
+ return (m, b) => (P(), N(y(Ei), Y({
7258
7266
  ref_key: "formRef",
7259
7267
  ref: i,
7260
7268
  model: y(o),
@@ -7269,9 +7277,9 @@ const of = /* @__PURE__ */ le({
7269
7277
  refs: _,
7270
7278
  actions: A
7271
7279
  }, () => [
7272
- r.value.grid && E.value && E.value.length > 0 ? (P(), N(y(Jt), ke(X({ key: 0 }, m.gridProps)), {
7280
+ r.value.grid && E.value && E.value.length > 0 ? (P(), N(y(Jt), ke(Y({ key: 0 }, m.gridProps)), {
7273
7281
  default: O(() => [
7274
- (P(!0), he(Me, null, bu(E.value, ({ key: h, gridSpan: C, gridItemProps: T, render: D, label: $, ...I }, W) => (P(), N(y(Kt), X({
7282
+ (P(!0), pe(Le, null, bu(E.value, ({ key: h, gridSpan: C, gridItemProps: T, render: D, label: $, ...I }, W) => (P(), N(y(Kt), Y({
7275
7283
  key: W,
7276
7284
  span: C
7277
7285
  }, { ref_for: !0 }, T), {
@@ -7280,7 +7288,7 @@ const of = /* @__PURE__ */ le({
7280
7288
  Ae(y(mu), {
7281
7289
  options: I,
7282
7290
  value: h ? y(o)[h] : void 0,
7283
- "onUpdate:value": (Q) => g(Q, h)
7291
+ "onUpdate:value": (J) => g(J, h)
7284
7292
  }),
7285
7293
  $,
7286
7294
  { path: h }
@@ -7290,10 +7298,10 @@ const of = /* @__PURE__ */ le({
7290
7298
  }, 1040, ["span"]))), 128))
7291
7299
  ]),
7292
7300
  _: 1
7293
- }, 16)) : Y("", !0),
7294
- r.value.flex && E.value && E.value.length > 0 ? (P(), N(y(Qe), ke(X({ key: 1 }, m.flexProps)), {
7301
+ }, 16)) : Z("", !0),
7302
+ r.value.flex && E.value && E.value.length > 0 ? (P(), N(y(Je), ke(Y({ key: 1 }, m.flexProps)), {
7295
7303
  default: O(() => [
7296
- (P(!0), he(Me, null, bu(E.value, ({ key: h, render: C, label: T, ...D }, $) => (P(), he(Me, { key: $ }, [
7304
+ (P(!0), pe(Le, null, bu(E.value, ({ key: h, render: C, label: T, ...D }, $) => (P(), pe(Le, { key: $ }, [
7297
7305
  C ? (P(), N(Ee(y(Se)(C(_, A), T, { path: h })), { key: 0 })) : (P(), N(Ee(y(Se)(
7298
7306
  Ae(y(mu), {
7299
7307
  options: D,
@@ -7306,7 +7314,7 @@ const of = /* @__PURE__ */ le({
7306
7314
  ], 64))), 128))
7307
7315
  ]),
7308
7316
  _: 1
7309
- }, 16)) : Y("", !0),
7317
+ }, 16)) : Z("", !0),
7310
7318
  p.value && p.value.length > 0 ? (P(), N(y(dn), {
7311
7319
  key: 2,
7312
7320
  style: { margin: "5px 0" }
@@ -7317,18 +7325,18 @@ const of = /* @__PURE__ */ le({
7317
7325
  onClick: b[0] || (b[0] = (h) => d.value = !d.value)
7318
7326
  }, {
7319
7327
  default: O(() => [
7320
- ru(Je(d.value ? "折叠" : "展开"), 1)
7328
+ ou(Ke(d.value ? "折叠" : "展开"), 1)
7321
7329
  ]),
7322
7330
  _: 1
7323
7331
  })
7324
7332
  ]),
7325
7333
  _: 1
7326
- })) : Y("", !0),
7334
+ })) : Z("", !0),
7327
7335
  V(y(Ir), { show: d.value }, {
7328
7336
  default: O(() => [
7329
- r.value.collapsedGrid && p.value && p.value.length > 0 ? (P(), N(y(Jt), ke(X({ key: 0 }, m.gridProps)), {
7337
+ r.value.collapsedGrid && p.value && p.value.length > 0 ? (P(), N(y(Jt), ke(Y({ key: 0 }, m.gridProps)), {
7330
7338
  default: O(() => [
7331
- (P(!0), he(Me, null, bu(p.value, ({ key: h, gridSpan: C, gridItemProps: T, render: D, label: $, ...I }, W) => (P(), N(y(Kt), X({
7339
+ (P(!0), pe(Le, null, bu(p.value, ({ key: h, gridSpan: C, gridItemProps: T, render: D, label: $, ...I }, W) => (P(), N(y(Kt), Y({
7332
7340
  key: W,
7333
7341
  span: C
7334
7342
  }, { ref_for: !0 }, T), {
@@ -7337,7 +7345,7 @@ const of = /* @__PURE__ */ le({
7337
7345
  Ae(y(mu), {
7338
7346
  options: I,
7339
7347
  value: h ? y(o)[h] : void 0,
7340
- "onUpdate:value": (Q) => g(Q, h)
7348
+ "onUpdate:value": (J) => g(J, h)
7341
7349
  }),
7342
7350
  $,
7343
7351
  { path: h }
@@ -7347,10 +7355,10 @@ const of = /* @__PURE__ */ le({
7347
7355
  }, 1040, ["span"]))), 128))
7348
7356
  ]),
7349
7357
  _: 1
7350
- }, 16)) : Y("", !0),
7351
- r.value.collapsedFlex && p.value && p.value.length > 0 ? (P(), N(y(Qe), ke(X({ key: 1 }, m.flexProps)), {
7358
+ }, 16)) : Z("", !0),
7359
+ r.value.collapsedFlex && p.value && p.value.length > 0 ? (P(), N(y(Je), ke(Y({ key: 1 }, m.flexProps)), {
7352
7360
  default: O(() => [
7353
- (P(!0), he(Me, null, bu(p.value, ({ key: h, render: C, label: T, ...D }, $) => (P(), he(Me, { key: $ }, [
7361
+ (P(!0), pe(Le, null, bu(p.value, ({ key: h, render: C, label: T, ...D }, $) => (P(), pe(Le, { key: $ }, [
7354
7362
  C ? (P(), N(Ee(y(Se)(C(_, A), T, { path: h })), { key: 0 })) : (P(), N(Ee(y(Se)(
7355
7363
  Ae(y(mu), {
7356
7364
  options: D,
@@ -7363,7 +7371,7 @@ const of = /* @__PURE__ */ le({
7363
7371
  ], 64))), 128))
7364
7372
  ]),
7365
7373
  _: 1
7366
- }, 16)) : Y("", !0)
7374
+ }, 16)) : Z("", !0)
7367
7375
  ]),
7368
7376
  _: 1
7369
7377
  }, 8, ["show"])
@@ -7385,8 +7393,8 @@ const of = /* @__PURE__ */ le({
7385
7393
  viewBox: "0 0 24 24"
7386
7394
  };
7387
7395
  function Xc(e, u, t, n, r, o) {
7388
- return P(), he("svg", Yc, u[0] || (u[0] = [
7389
- eu("path", {
7396
+ return P(), pe("svg", Yc, u[0] || (u[0] = [
7397
+ uu("path", {
7390
7398
  fill: "currentColor",
7391
7399
  d: "M12 1.75A10.25 10.25 0 1 0 22.25 12A10.26 10.26 0 0 0 12 1.75m4.67 13.5a1 1 0 0 1 0 1.42a1 1 0 0 1-1.42 0L12 13.42l-3.25 3.25a1 1 0 0 1-1.41-1.42L10.59 12L7.34 8.75a1 1 0 1 1 1.41-1.41L12 10.59l3.25-3.25a1 1 0 1 1 1.42 1.41L13.42 12z"
7392
7400
  }, null, -1)
@@ -7419,7 +7427,7 @@ const Qc = /* @__PURE__ */ yn(Zc, [["render", Xc]]), af = /* @__PURE__ */ le({
7419
7427
  fixed: "left",
7420
7428
  ...e.selectionOptions
7421
7429
  });
7422
- Ke(() => e.multiple, () => {
7430
+ eu(() => e.multiple, () => {
7423
7431
  i.multiple = e.multiple;
7424
7432
  });
7425
7433
  const l = ku([
@@ -7452,10 +7460,10 @@ const Qc = /* @__PURE__ */ yn(Zc, [["render", Xc]]), af = /* @__PURE__ */ le({
7452
7460
  }
7453
7461
  function d() {
7454
7462
  if (n("positiveClick"), e.multiple) {
7455
- const b = ge(Le(o)), h = b.map((C) => ge(Le(a.value.find((T) => T?.[r.value] === C))));
7463
+ const b = ge(Ne(o)), h = b.map((C) => ge(Ne(a.value.find((T) => T?.[r.value] === C))));
7456
7464
  n("update:value", b, h);
7457
7465
  } else {
7458
- const b = o.value[0] ?? null, h = ge(Le(a.value.find((C) => C?.[r.value] === b)));
7466
+ const b = o.value[0] ?? null, h = ge(Ne(a.value.find((C) => C?.[r.value] === b)));
7459
7467
  n("update:value", b, h);
7460
7468
  }
7461
7469
  s.value = !1;
@@ -7499,11 +7507,11 @@ const Qc = /* @__PURE__ */ yn(Zc, [["render", Xc]]), af = /* @__PURE__ */ le({
7499
7507
  trigger: Array.isArray(b.value) ? "hover" : "manual"
7500
7508
  }, {
7501
7509
  trigger: O(() => [
7502
- V(y($r), X({ value: p.value }, b.badgeProps), {
7510
+ V(y($r), Y({ value: p.value }, b.badgeProps), {
7503
7511
  default: O(() => [
7504
7512
  V(y(Ai), null, {
7505
7513
  default: O(() => [
7506
- V(y(je), X({
7514
+ V(y(je), Y({
7507
7515
  type: b.type,
7508
7516
  disabled: b.disabled
7509
7517
  }, b.buttonProps, { onClick: c }), {
@@ -7512,9 +7520,9 @@ const Qc = /* @__PURE__ */ yn(Zc, [["render", Xc]]), af = /* @__PURE__ */ le({
7512
7520
  ]),
7513
7521
  default: O(() => [
7514
7522
  z(b.$slots, "button", {}, () => [
7515
- eu("span", null, Je(Array.isArray(b.value) ? "已选择" : A.value), 1)
7523
+ uu("span", null, Ke(Array.isArray(b.value) ? "已选择" : A.value), 1)
7516
7524
  ]),
7517
- V(y(zr), X({
7525
+ V(y(zr), Y({
7518
7526
  show: s.value,
7519
7527
  "onUpdate:show": h[0] || (h[0] = (C) => s.value = C),
7520
7528
  style: { width: "auto" },
@@ -7556,7 +7564,7 @@ const Qc = /* @__PURE__ */ yn(Zc, [["render", Xc]]), af = /* @__PURE__ */ le({
7556
7564
  _: 3
7557
7565
  }, 16, ["type", "disabled"]),
7558
7566
  z(b.$slots, "clear-button", {}, () => [
7559
- E.value ? (P(), N(y(je), X({
7567
+ E.value ? (P(), N(y(je), Y({
7560
7568
  key: 0,
7561
7569
  circle: "",
7562
7570
  type: b.type
@@ -7569,7 +7577,7 @@ const Qc = /* @__PURE__ */ yn(Zc, [["render", Xc]]), af = /* @__PURE__ */ le({
7569
7577
  ])
7570
7578
  ]),
7571
7579
  _: 3
7572
- }, 16, ["type"])) : Y("", !0)
7580
+ }, 16, ["type"])) : Z("", !0)
7573
7581
  ])
7574
7582
  ]),
7575
7583
  _: 3
@@ -7579,7 +7587,7 @@ const Qc = /* @__PURE__ */ yn(Zc, [["render", Xc]]), af = /* @__PURE__ */ le({
7579
7587
  }, 16, ["value"])
7580
7588
  ]),
7581
7589
  default: O(() => [
7582
- eu("div", null, Je(Array.isArray(b.value) ? A.value : ""), 1)
7590
+ uu("div", null, Ke(Array.isArray(b.value) ? A.value : ""), 1)
7583
7591
  ]),
7584
7592
  _: 3
7585
7593
  }, 8, ["show", "trigger"]));
@@ -7635,8 +7643,8 @@ const Qc = /* @__PURE__ */ yn(Zc, [["render", Xc]]), af = /* @__PURE__ */ le({
7635
7643
  onError: (F, G) => {
7636
7644
  e.requestOptions?.onError?.(F, G), n("error", F, G);
7637
7645
  },
7638
- onFinally: (F, G, be) => {
7639
- e.requestOptions?.onFinally?.(F, G, be), n("finally", F, G, be);
7646
+ onFinally: (F, G, he) => {
7647
+ e.requestOptions?.onFinally?.(F, G, he), n("finally", F, G, he);
7640
7648
  }
7641
7649
  }, e.requestPlugins), g = te(() => s.value ? Array.isArray(s.value[o.list]) ? s.value[o.list] : (console.warn(`DataTablePlus: data[${o.list}] must be an array`), []) : []), m = te(() => typeof e.optionFormat == "function" ? g.value.map((F) => e.optionFormat(F)).filter((F) => !!F) : g.value.map((F) => ({
7642
7650
  [o.label]: F[o.label],
@@ -7672,8 +7680,8 @@ const Qc = /* @__PURE__ */ yn(Zc, [["render", Xc]]), af = /* @__PURE__ */ le({
7672
7680
  n("scroll", F);
7673
7681
  },
7674
7682
  onUpdateValue: (F, G) => {
7675
- const be = Array.isArray(F) ? g.value.filter((Re) => F.includes(Re[o.value])) : g.value.find((Re) => Re[o.value] === F) ?? null;
7676
- n("update:value", F, G, ge(Le(be)));
7683
+ const he = Array.isArray(F) ? g.value.filter((Re) => F.includes(Re[o.value])) : g.value.find((Re) => Re[o.value] === F) ?? null;
7684
+ n("update:value", F, G, ge(Ne(he)));
7677
7685
  },
7678
7686
  onSearch: (F) => {
7679
7687
  C.value = F, !f.value && (e.debounce ? T() : h({
@@ -7710,7 +7718,7 @@ const Qc = /* @__PURE__ */ yn(Zc, [["render", Xc]]), af = /* @__PURE__ */ le({
7710
7718
  pagination: i,
7711
7719
  rawList: g,
7712
7720
  selectRef: r
7713
- }, Q = {
7721
+ }, J = {
7714
7722
  run: x,
7715
7723
  runAsync: d,
7716
7724
  refresh: _,
@@ -7725,8 +7733,8 @@ const Qc = /* @__PURE__ */ yn(Zc, [["render", Xc]]), af = /* @__PURE__ */ le({
7725
7733
  };
7726
7734
  return u({
7727
7735
  refs: W,
7728
- actions: Q
7729
- }), (F, G) => (P(), N(y(Nr), X({
7736
+ actions: J
7737
+ }), (F, G) => (P(), N(y(Nr), Y({
7730
7738
  ref: "select-ref",
7731
7739
  remote: "",
7732
7740
  filterable: "",
@@ -7753,21 +7761,21 @@ const Qc = /* @__PURE__ */ yn(Zc, [["render", Xc]]), af = /* @__PURE__ */ le({
7753
7761
  header: O(() => [
7754
7762
  z(F.$slots, "header", {
7755
7763
  refs: W,
7756
- actions: Q
7764
+ actions: J
7757
7765
  })
7758
7766
  ]),
7759
7767
  action: O(() => [
7760
7768
  z(F.$slots, "footer", {
7761
7769
  refs: W,
7762
- actions: Q
7770
+ actions: J
7763
7771
  }, () => [
7764
- V(y(Qe), null, {
7772
+ V(y(Je), null, {
7765
7773
  default: O(() => [
7766
7774
  z(F.$slots, "footer-extra", {
7767
7775
  refs: W,
7768
- actions: Q
7776
+ actions: J
7769
7777
  }),
7770
- F.pagination ? (P(), N(y(Br), X({
7778
+ F.pagination ? (P(), N(y(Br), Y({
7771
7779
  key: 0,
7772
7780
  style: { marginLeft: "auto" },
7773
7781
  simple: "",
@@ -7775,7 +7783,7 @@ const Qc = /* @__PURE__ */ yn(Zc, [["render", Xc]]), af = /* @__PURE__ */ le({
7775
7783
  }, { ...a, ...i.value }, {
7776
7784
  "onUpdate:page": $.onUpdatePage,
7777
7785
  "onUpdate:pageSize": $.onUpdatePageSize
7778
- }), null, 16, ["disabled", "onUpdate:page", "onUpdate:pageSize"])) : Y("", !0)
7786
+ }), null, 16, ["disabled", "onUpdate:page", "onUpdate:pageSize"])) : Z("", !0)
7779
7787
  ]),
7780
7788
  _: 3
7781
7789
  })
@@ -7867,8 +7875,8 @@ const Qc = /* @__PURE__ */ yn(Zc, [["render", Xc]]), af = /* @__PURE__ */ le({
7867
7875
  function a() {
7868
7876
  t.value = !1, u.value = r.value;
7869
7877
  }
7870
- return (i, l) => (P(), he("div", { onClick: o }, [
7871
- t.value ? (P(), N(y(fn), X({
7878
+ return (i, l) => (P(), pe("div", { onClick: o }, [
7879
+ t.value ? (P(), N(y(fn), Y({
7872
7880
  key: 0,
7873
7881
  ref_key: "inputRef",
7874
7882
  ref: n,
@@ -7877,8 +7885,8 @@ const Qc = /* @__PURE__ */ yn(Zc, [["render", Xc]]), af = /* @__PURE__ */ le({
7877
7885
  "onUpdate:value": l[0] || (l[0] = (s) => r.value = s),
7878
7886
  onChange: a,
7879
7887
  onBlur: a
7880
- }), null, 16, ["value"])) : (P(), he(Me, { key: 1 }, [
7881
- ru(Je(r.value), 1)
7888
+ }), null, 16, ["value"])) : (P(), pe(Le, { key: 1 }, [
7889
+ ou(Ke(r.value), 1)
7882
7890
  ], 64))
7883
7891
  ]));
7884
7892
  }
@@ -7892,9 +7900,9 @@ const Qc = /* @__PURE__ */ yn(Zc, [["render", Xc]]), af = /* @__PURE__ */ le({
7892
7900
  emits: ["click"],
7893
7901
  setup(e, { emit: u }) {
7894
7902
  const t = u;
7895
- return (n, r) => (P(), N(y(cn), ke(Xe(n.tooltipProps)), {
7903
+ return (n, r) => (P(), N(y(cn), ke(Qe(n.tooltipProps)), {
7896
7904
  trigger: O(() => [
7897
- V(y(je), X(n.buttonProps, {
7905
+ V(y(je), Y(n.buttonProps, {
7898
7906
  onClick: r[0] || (r[0] = (o) => t("click", o))
7899
7907
  }), {
7900
7908
  icon: O(() => [
@@ -7908,7 +7916,7 @@ const Qc = /* @__PURE__ */ yn(Zc, [["render", Xc]]), af = /* @__PURE__ */ le({
7908
7916
  ]),
7909
7917
  default: O(() => [
7910
7918
  z(n.$slots, "tooltip", {}, () => [
7911
- ru(Je(n.value), 1)
7919
+ ou(Ke(n.value), 1)
7912
7920
  ])
7913
7921
  ]),
7914
7922
  _: 3