@dazhicheng/ui 1.5.30 → 1.5.32

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 (174) hide show
  1. package/dist/{index-NG5FNCLD.js → index-CMjNBMj5.js} +3 -2
  2. package/dist/index.js +384 -342
  3. package/dist/{index.modern-DfItAsVf.js → index.modern-BfZxYaPy.js} +1 -1
  4. package/dist/plugins.js +30 -29
  5. package/package.json +1 -1
  6. package/dist/components/tt-area/TtArea.vue.d.ts +0 -2
  7. package/dist/components/tt-area/index.d.ts +0 -1
  8. package/dist/components/tt-button/components/AddButton.vue.d.ts +0 -2
  9. package/dist/components/tt-button/index.d.ts +0 -1740
  10. package/dist/components/tt-button/index.vue.d.ts +0 -1004
  11. package/dist/components/tt-checkbox/index.d.ts +0 -36
  12. package/dist/components/tt-checkbox/index.vue.d.ts +0 -28
  13. package/dist/components/tt-checkbox/type.d.ts +0 -9
  14. package/dist/components/tt-drawer/index.d.ts +0 -3703
  15. package/dist/components/tt-drawer/src/RenderDrawer.vue.d.ts +0 -2121
  16. package/dist/components/tt-drawer/src/components/DrawerFooter.vue.d.ts +0 -94
  17. package/dist/components/tt-drawer/src/components/DrawerHeader.vue.d.ts +0 -27
  18. package/dist/components/tt-drawer/src/hooks/useDrawerRender.d.ts +0 -10
  19. package/dist/components/tt-drawer/src/hooks/useResizable.d.ts +0 -9
  20. package/dist/components/tt-drawer/src/index.d.ts +0 -10
  21. package/dist/components/tt-drawer/src/props.d.ts +0 -99
  22. package/dist/components/tt-drawer/src/typing.d.ts +0 -154
  23. package/dist/components/tt-drawer/src/utils/drawer-api.d.ts +0 -87
  24. package/dist/components/tt-empty/index.d.ts +0 -18
  25. package/dist/components/tt-form/index.d.ts +0 -13
  26. package/dist/components/tt-form/src/components/ExpandableArrow.vue.d.ts +0 -33
  27. package/dist/components/tt-form/src/components/FormActions.vue.d.ts +0 -34
  28. package/dist/components/tt-form/src/components/Slot.d.ts +0 -7
  29. package/dist/components/tt-form/src/config.d.ts +0 -6
  30. package/dist/components/tt-form/src/form/FormControl.vue.d.ts +0 -19
  31. package/dist/components/tt-form/src/form/FormDescription.vue.d.ts +0 -23
  32. package/dist/components/tt-form/src/form/FormItem.vue.d.ts +0 -23
  33. package/dist/components/tt-form/src/form/FormLabel.vue.d.ts +0 -23
  34. package/dist/components/tt-form/src/form/FormMessage.vue.d.ts +0 -2
  35. package/dist/components/tt-form/src/form/FormMessageToolTip.vue.d.ts +0 -8
  36. package/dist/components/tt-form/src/form/FormWarnMessage.vue.d.ts +0 -25
  37. package/dist/components/tt-form/src/form/RenderContent.vue.d.ts +0 -23
  38. package/dist/components/tt-form/src/form/index.d.ts +0 -10
  39. package/dist/components/tt-form/src/form/injectionKeys.d.ts +0 -2
  40. package/dist/components/tt-form/src/form/useFormField.d.ts +0 -11
  41. package/dist/components/tt-form/src/form-render/FormField.vue.d.ts +0 -28
  42. package/dist/components/tt-form/src/form-render/FormLabel.vue.d.ts +0 -27
  43. package/dist/components/tt-form/src/form-render/context.d.ts +0 -7
  44. package/dist/components/tt-form/src/form-render/dependencies.d.ts +0 -361
  45. package/dist/components/tt-form/src/form-render/expandable.d.ts +0 -9
  46. package/dist/components/tt-form/src/form-render/form.vue.d.ts +0 -38
  47. package/dist/components/tt-form/src/form-render/helper.d.ts +0 -11
  48. package/dist/components/tt-form/src/form-render/index.d.ts +0 -3
  49. package/dist/components/tt-form/src/formApi.d.ts +0 -71
  50. package/dist/components/tt-form/src/hooks/useEmitAsProps.d.ts +0 -7
  51. package/dist/components/tt-form/src/hooks/useFormFieldBus.d.ts +0 -14
  52. package/dist/components/tt-form/src/hooks/useForwardPriorityValues.d.ts +0 -14
  53. package/dist/components/tt-form/src/hooks/useForwardProps.d.ts +0 -7
  54. package/dist/components/tt-form/src/hooks/useForwardPropsEmits.d.ts +0 -8
  55. package/dist/components/tt-form/src/index.vue.d.ts +0 -27
  56. package/dist/components/tt-form/src/shared/createContext.d.ts +0 -8
  57. package/dist/components/tt-form/src/shared/global-state.d.ts +0 -17
  58. package/dist/components/tt-form/src/shared/store.d.ts +0 -1
  59. package/dist/components/tt-form/src/shared/zod-defaults.d.ts +0 -54
  60. package/dist/components/tt-form/src/types/common.d.ts +0 -11
  61. package/dist/components/tt-form/src/types/forms.d.ts +0 -280
  62. package/dist/components/tt-form/src/types/index.d.ts +0 -3
  63. package/dist/components/tt-form/src/types/paths.d.ts +0 -142
  64. package/dist/components/tt-form/src/types/shared.d.ts +0 -19
  65. package/dist/components/tt-form/src/types.d.ts +0 -385
  66. package/dist/components/tt-form/src/useForm.d.ts +0 -2
  67. package/dist/components/tt-form/src/useFormContext.d.ts +0 -12
  68. package/dist/components/tt-form-item-error-tooltip/index.d.ts +0 -1549
  69. package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +0 -784
  70. package/dist/components/tt-icon/index.d.ts +0 -76
  71. package/dist/components/tt-icon/index.vue.d.ts +0 -32
  72. package/dist/components/tt-image/index.d.ts +0 -127
  73. package/dist/components/tt-image/src/components/ImageViewer.d.ts +0 -89
  74. package/dist/components/tt-image/tt-image.d.ts +0 -126
  75. package/dist/components/tt-loading/index.d.ts +0 -16
  76. package/dist/components/tt-loading/src/directive.d.ts +0 -9
  77. package/dist/components/tt-loading/src/loading.vue.d.ts +0 -12
  78. package/dist/components/tt-loading/src/service.d.ts +0 -25
  79. package/dist/components/tt-loading/src/type.d.ts +0 -20
  80. package/dist/components/tt-modal/index.d.ts +0 -1809
  81. package/dist/components/tt-modal/src/RenderModal.vue.d.ts +0 -1008
  82. package/dist/components/tt-modal/src/components/ModalFooter.vue.d.ts +0 -210
  83. package/dist/components/tt-modal/src/components/ModalHeader.vue.d.ts +0 -31
  84. package/dist/components/tt-modal/src/components/ModalWrapper.vue.d.ts +0 -224
  85. package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +0 -110
  86. package/dist/components/tt-modal/src/index.d.ts +0 -5
  87. package/dist/components/tt-modal/src/props.d.ts +0 -161
  88. package/dist/components/tt-modal/src/typing.d.ts +0 -188
  89. package/dist/components/tt-modal/src/utils/modal-api.d.ts +0 -97
  90. package/dist/components/tt-modal-form/hooks/useModalFormSlot.d.ts +0 -6
  91. package/dist/components/tt-modal-form/index.d.ts +0 -2
  92. package/dist/components/tt-modal-form/index.vue.d.ts +0 -43
  93. package/dist/components/tt-modal-form/props.d.ts +0 -38
  94. package/dist/components/tt-modal-form/useModalForm.d.ts +0 -6
  95. package/dist/components/tt-select/index.d.ts +0 -7
  96. package/dist/components/tt-select/src/Select.vue.d.ts +0 -861
  97. package/dist/components/tt-select/src/components/SelectTable.vue.d.ts +0 -111
  98. package/dist/components/tt-select/src/components/Table.vue.d.ts +0 -250
  99. package/dist/components/tt-select/src/const.d.ts +0 -16
  100. package/dist/components/tt-select/src/hooks/useDataSource.d.ts +0 -115
  101. package/dist/components/tt-select/src/hooks/useGrid.d.ts +0 -32
  102. package/dist/components/tt-select/src/hooks/useKeyboard.d.ts +0 -59
  103. package/dist/components/tt-select/src/hooks/usePagination.d.ts +0 -16
  104. package/dist/components/tt-select/src/hooks/useSelect.d.ts +0 -87
  105. package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +0 -178
  106. package/dist/components/tt-select/src/props.d.ts +0 -190
  107. package/dist/components/tt-select/src/types/index.d.ts +0 -142
  108. package/dist/components/tt-select/src/utils/index.d.ts +0 -9
  109. package/dist/components/tt-table/index.d.ts +0 -127
  110. package/dist/components/tt-table/src/Table.vue.d.ts +0 -1685
  111. package/dist/components/tt-table/src/componentMap.d.ts +0 -8
  112. package/dist/components/tt-table/src/components/RowContext.d.ts +0 -24
  113. package/dist/components/tt-table/src/components/TableAction.vue.d.ts +0 -79
  114. package/dist/components/tt-table/src/components/TableButtons.d.ts +0 -30
  115. package/dist/components/tt-table/src/components/TableColumnModal.vue.d.ts +0 -26
  116. package/dist/components/tt-table/src/components/TableToobalTools.vue.d.ts +0 -1531
  117. package/dist/components/tt-table/src/emits.d.ts +0 -1
  118. package/dist/components/tt-table/src/enum.d.ts +0 -2
  119. package/dist/components/tt-table/src/hooks/useCellArea.d.ts +0 -15
  120. package/dist/components/tt-table/src/hooks/useColumns.d.ts +0 -27
  121. package/dist/components/tt-table/src/hooks/useCustomColumns.d.ts +0 -20
  122. package/dist/components/tt-table/src/hooks/useDataSource.d.ts +0 -29
  123. package/dist/components/tt-table/src/hooks/useLeftRightSlot.d.ts +0 -1082
  124. package/dist/components/tt-table/src/hooks/usePagination.d.ts +0 -102
  125. package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +0 -30
  126. package/dist/components/tt-table/src/hooks/useTable.d.ts +0 -7
  127. package/dist/components/tt-table/src/hooks/useTableContext.d.ts +0 -43
  128. package/dist/components/tt-table/src/hooks/useTableEvent.d.ts +0 -101
  129. package/dist/components/tt-table/src/hooks/useTableForm.d.ts +0 -15
  130. package/dist/components/tt-table/src/hooks/useTableFormEvent.d.ts +0 -10
  131. package/dist/components/tt-table/src/hooks/useTableHeight.d.ts +0 -15
  132. package/dist/components/tt-table/src/hooks/useTableRender.d.ts +0 -93
  133. package/dist/components/tt-table/src/hooks/useTableSlot.d.ts +0 -11
  134. package/dist/components/tt-table/src/props.d.ts +0 -433
  135. package/dist/components/tt-table/src/toolProps.d.ts +0 -19
  136. package/dist/components/tt-table/src/types/table.d.ts +0 -489
  137. package/dist/components/tt-table/src/types/tableAction.d.ts +0 -26
  138. package/dist/components/tt-table/src/types/tableForm.d.ts +0 -64
  139. package/dist/components/tt-table/src/types/tableTools.d.ts +0 -10
  140. package/dist/components/tt-table/src/utils/context.d.ts +0 -18
  141. package/dist/components/tt-table/src/utils/filters.d.ts +0 -109
  142. package/dist/components/tt-table/src/utils/table-api.d.ts +0 -250
  143. package/dist/components/tt-table/src/utils/table-form-api.d.ts +0 -88
  144. package/dist/components/tt-table/src/utils/vxeTable.d.ts +0 -28
  145. package/dist/components/tt-text/index.d.ts +0 -76
  146. package/dist/components/tt-text/index.vue.d.ts +0 -50
  147. package/dist/components/tt-tree-select/index.d.ts +0 -5
  148. package/dist/components/tt-tree-select/src/TtTreeSelect.vue.d.ts +0 -6
  149. package/dist/components/tt-tree-select/src/cache-options.d.ts +0 -35
  150. package/dist/components/tt-tree-select/src/select.d.ts +0 -10
  151. package/dist/components/tt-tree-select/src/tree.d.ts +0 -23
  152. package/dist/components/tt-tree-select/src/utils.d.ts +0 -10
  153. package/dist/components/tt-upload/index.d.ts +0 -428
  154. package/dist/components/tt-upload/src/TtUpload.d.ts +0 -449
  155. package/dist/components/tt-upload/src/typing.d.ts +0 -251
  156. package/dist/components/types.d.ts +0 -230
  157. package/dist/directives/auto-tip/index.d.ts +0 -3
  158. package/dist/directives/dialog-resize/index.d.ts +0 -25
  159. package/dist/directives/dialog-resize/use-css-variable.d.ts +0 -1
  160. package/dist/directives/dialog-resize/use-draggable.d.ts +0 -4
  161. package/dist/directives/dialog-resize/use-fullscreen.d.ts +0 -1
  162. package/dist/directives/dialog-resize/use-parse-translate.d.ts +0 -4
  163. package/dist/directives/dialog-resize/use-resizer.d.ts +0 -2
  164. package/dist/directives/disabled-tip/index.d.ts +0 -17
  165. package/dist/directives/index.d.ts +0 -3
  166. package/dist/hooks/useFormat.d.ts +0 -73
  167. package/dist/hooks/useLoading.d.ts +0 -9
  168. package/dist/hooks/useSetup.d.ts +0 -8
  169. package/dist/hooks/useTable.d.ts +0 -5
  170. package/dist/hooks/useTemplateSlot.d.ts +0 -9
  171. package/dist/index.d.ts +0 -46
  172. package/dist/plugins/index.d.ts +0 -1
  173. package/dist/plugins/vxeTable/switchStatus.d.ts +0 -7
  174. package/dist/plugins.d.ts +0 -2
package/dist/index.js CHANGED
@@ -7,11 +7,11 @@ var Pe = (e, t, r) => v0(e, typeof t != "symbol" ? t + "" : t, r), bA = (e, t, r
7
7
  var yA = (e, t, r) => (bA(e, t, "read from private field"), r ? r.call(e) : t.get(e)), CA = (e, t, r) => t.has(e) ? wA("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), EA = (e, t, r, o) => (bA(e, t, "write to private field"), o ? o.call(e, r) : t.set(e, r), r);
8
8
  import "axios";
9
9
  import { ElTooltip as xr, ElButton as w0, useFormItem as b0, ElCheckbox as no, emptyProps as y0, ElEmpty as C0, ElImage as im, ElMessage as Jn, ElIcon as E0, ElSelect as Ti, ElSpace as su, dialogProps as IA, ElDialog as I0, uploadProps as D0, ElImageViewer as am, ElUpload as lm, ElCascader as B0, ElTreeSelect as x0, ElTimePicker as S0, ElSwitch as k0, ElSelectV2 as Q0, ElRadioGroup as O0, ElRadio as M0, ElInputNumber as T0, ElInput as sm, ElDatePicker as F0, ElCheckboxGroup as cm, ElCheckboxButton as P0, imageEmits as z0, imageProps as U0, imageViewerEmits as R0, imageViewerProps as N0, ElMessageBox as L0, drawerProps as DA, ElDrawer as j0, selectKey as V0, ElTreeV2 as Sc, vLoading as H0, ElDivider as K0, ElPopover as um, ElScrollbar as wl } from "element-plus";
10
- import { unref as f, watchEffect as sr, watch as ge, reactive as Et, defineComponent as be, ref as K, shallowRef as In, onMounted as an, onUnmounted as Sr, h as je, nextTick as pe, useSlots as co, useAttrs as qn, createElementBlock as de, openBlock as V, Fragment as At, createVNode as J, createBlock as Be, withCtx as ee, mergeProps as _e, resolveDynamicComponent as jn, renderSlot as le, normalizeClass as Ke, render as ro, computed as B, toValue as Y, getCurrentInstance as bn, withDirectives as ln, createSlots as Tt, renderList as lt, normalizeProps as rt, guardReactiveProps as at, createCommentVNode as Fe, normalizeStyle as Ot, createTextVNode as Ct, toDisplayString as ot, useTemplateRef as ko, createElementVNode as Ie, withModifiers as cr, resolveDirective as cu, toHandlers as Fi, toRaw as Mt, resolveComponent as dm, isRef as oo, isReactive as fm, readonly as Am, inject as wt, provide as sn, toRef as Jr, warn as gm, onBeforeUnmount as mm, mergeModels as G0, useModel as hm, Comment as Y0, cloneVNode as _0, useId as pm, Transition as vm, vShow as J0, withKeys as $0, createApp as wm, toRefs as bm, vModelText as BA, isVNode as W0 } from "vue";
11
- import { i as Lt, a as Xt, D as bl, V as Z0, A as xA, b as Ne, c as Wr, d as Xr, e as ym, f as ar, g as q0, h as X0, j as Un, k as Br, l as SA, m as eC, n as tC, o as nC } from "./index.modern-DfItAsVf.js";
10
+ import { unref as f, watchEffect as sr, watch as ge, reactive as Et, defineComponent as be, ref as K, shallowRef as In, onMounted as an, onUnmounted as Sr, h as je, nextTick as pe, useSlots as co, useAttrs as qn, createElementBlock as de, openBlock as V, Fragment as At, createVNode as J, createBlock as Be, withCtx as ee, mergeProps as _e, resolveDynamicComponent as jn, renderSlot as le, normalizeClass as Ke, render as ro, computed as B, toValue as Y, getCurrentInstance as bn, withDirectives as ln, createSlots as Tt, renderList as lt, normalizeProps as rt, guardReactiveProps as at, createCommentVNode as Fe, normalizeStyle as Ot, createTextVNode as Ct, toDisplayString as ot, useTemplateRef as Qo, createElementVNode as Ie, withModifiers as cr, resolveDirective as cu, toHandlers as Fi, toRaw as Mt, resolveComponent as dm, isRef as oo, isReactive as fm, readonly as Am, inject as wt, provide as sn, toRef as Jr, warn as gm, onBeforeUnmount as mm, mergeModels as G0, useModel as hm, Comment as Y0, cloneVNode as _0, useId as pm, Transition as vm, vShow as J0, withKeys as $0, createApp as wm, toRefs as bm, vModelText as BA, isVNode as W0 } from "vue";
11
+ import { i as Lt, a as Xt, D as bl, V as Z0, A as xA, b as Ne, c as Wr, d as Xr, e as ym, f as ar, g as q0, h as X0, j as Un, k as Br, l as SA, m as eC, n as tC, o as nC } from "./index.modern-BfZxYaPy.js";
12
12
  import Ee from "xe-utils";
13
- import { isString as rC, isNumber as oC, isArray as eo, omit as mn, debounce as kc, cloneDeep as kt, isFunction as yl, isEqual as vn, get as wn, set as Qo, pick as Vn, flattenDeep as kA, isUndefined as iC, delay as aC } from "lodash-es";
14
- import { useElementBounding as Oo, createReusableTemplate as lC, useDebounceFn as Xo, useResizeObserver as sC, useElementVisibility as Cm, useBreakpoints as cC, breakpointsTailwind as uC, useTimeoutFn as dC } from "@vueuse/core";
13
+ import { isString as rC, isNumber as oC, isArray as eo, omit as mn, debounce as kc, cloneDeep as kt, isFunction as yl, isEqual as vn, get as wn, set as Oo, pick as Vn, flattenDeep as kA, isUndefined as iC, delay as aC } from "lodash-es";
14
+ import { useElementBounding as Mo, createReusableTemplate as lC, useDebounceFn as ei, useResizeObserver as sC, useElementVisibility as Cm, useBreakpoints as cC, breakpointsTailwind as uC, useTimeoutFn as dC } from "@vueuse/core";
15
15
  import { VxeList as fC, VxeUI as AC, VxePager as gC } from "vxe-pc-ui";
16
16
  import { VxeGrid as Em } from "vxe-table";
17
17
  import { RouterView as Im } from "vue-router";
@@ -2964,16 +2964,16 @@ function oE() {
2964
2964
  return o;
2965
2965
  }
2966
2966
  function zA(e, t, r) {
2967
- typeof r.value == "object" && (r.value = Bo(r.value)), !r.enumerable || r.get || r.set || !r.configurable || !r.writable || t === "__proto__" ? Object.defineProperty(e, t, r) : e[t] = r.value;
2967
+ typeof r.value == "object" && (r.value = xo(r.value)), !r.enumerable || r.get || r.set || !r.configurable || !r.writable || t === "__proto__" ? Object.defineProperty(e, t, r) : e[t] = r.value;
2968
2968
  }
2969
- function Bo(e) {
2969
+ function xo(e) {
2970
2970
  if (typeof e != "object") return e;
2971
2971
  var t = 0, r, o, n, i = Object.prototype.toString.call(e);
2972
2972
  if (i === "[object Object]" ? n = Object.create(e.__proto__ || null) : i === "[object Array]" ? n = Array(e.length) : i === "[object Set]" ? (n = /* @__PURE__ */ new Set(), e.forEach(function(a) {
2973
- n.add(Bo(a));
2973
+ n.add(xo(a));
2974
2974
  })) : i === "[object Map]" ? (n = /* @__PURE__ */ new Map(), e.forEach(function(a, l) {
2975
- n.set(Bo(l), Bo(a));
2976
- })) : i === "[object Date]" ? n = /* @__PURE__ */ new Date(+e) : i === "[object RegExp]" ? n = new RegExp(e.source, e.flags) : i === "[object DataView]" ? n = new e.constructor(Bo(e.buffer)) : i === "[object ArrayBuffer]" ? n = e.slice(0) : i.slice(-6) === "Array]" && (n = new e.constructor(e)), n) {
2975
+ n.set(xo(l), xo(a));
2976
+ })) : i === "[object Date]" ? n = /* @__PURE__ */ new Date(+e) : i === "[object RegExp]" ? n = new RegExp(e.source, e.flags) : i === "[object DataView]" ? n = new e.constructor(xo(e.buffer)) : i === "[object ArrayBuffer]" ? n = e.slice(0) : i.slice(-6) === "Array]" && (n = new e.constructor(e)), n) {
2977
2977
  for (o = Object.getOwnPropertySymbols(e); t < o.length; t++)
2978
2978
  zA(n, o[t], Object.getOwnPropertyDescriptor(e, o[t]));
2979
2979
  for (t = 0, o = Object.getOwnPropertyNames(e); t < o.length; t++)
@@ -2986,14 +2986,14 @@ function Pi(e, t = "12", r = "Microsoft YaHei,Arial,-apple-system,BlinkMacSystem
2986
2986
  const i = document.createElement("canvas").getContext("2d");
2987
2987
  return i && (i.font = `${t} ${r}`, o = i.measureText(e).width), o;
2988
2988
  }
2989
- function Po(e, t, r) {
2989
+ function zo(e, t, r) {
2990
2990
  const o = (r == null ? void 0 : r.excludeAll) || [], n = (r == null ? void 0 : r.exclude) || [];
2991
2991
  return o.includes("Id") || o.push("Id"), o.includes("rowId") || o.push("rowId"), Object.fromEntries(
2992
2992
  Object.entries(e).reduce((i, [a, l]) => (o.includes(a) || n.includes(a) || (l && Lt(l) ? iE(r, t, l, a, i) : l && Xt(l) ? aE(r, t, l, a, i) : lE(r, t, l, a, i)), i), [])
2993
2993
  );
2994
2994
  }
2995
2995
  function iE(e, t, r, o, n) {
2996
- const i = Po(r, t[o] || {}, {
2996
+ const i = zo(r, t[o] || {}, {
2997
2997
  excludeAll: e == null ? void 0 : e.excludeAll,
2998
2998
  ...e
2999
2999
  });
@@ -3007,7 +3007,7 @@ function aE(e, t, r, o, n) {
3007
3007
  a ? u.forEach((A) => {
3008
3008
  const g = d.find((h) => h[a] === A[a]);
3009
3009
  if (g) {
3010
- const h = Po(A, g, {
3010
+ const h = zo(A, g, {
3011
3011
  excludeAll: e == null ? void 0 : e.excludeAll,
3012
3012
  ...e[o]
3013
3013
  });
@@ -3019,7 +3019,7 @@ function aE(e, t, r, o, n) {
3019
3019
  if (Lt(A) && !Lt(h) || Xt(A) && !Xt(h) || typeof A != typeof h || !h)
3020
3020
  i.push(A);
3021
3021
  else if (Lt(A) || Xt(A)) {
3022
- const p = Po(A, h, { excludeAll: e == null ? void 0 : e.excludeAll });
3022
+ const p = zo(A, h, { excludeAll: e == null ? void 0 : e.excludeAll });
3023
3023
  Object.keys(p).length && i.push({ ...p });
3024
3024
  } else A !== h && i.push(A);
3025
3025
  });
@@ -3063,7 +3063,7 @@ function sE() {
3063
3063
  window.dispatchEvent(e);
3064
3064
  }
3065
3065
  function cE(e) {
3066
- return Bo(e);
3066
+ return xo(e);
3067
3067
  }
3068
3068
  function Vm(e, t) {
3069
3069
  return e ? !t || t.length === 0 ? e : t.reduce(
@@ -3175,7 +3175,7 @@ function dE(...e) {
3175
3175
  }
3176
3176
  function ac(e) {
3177
3177
  const t = Number(e) || e === 0, r = Number.isNaN(Number(e)), o = new bl(e);
3178
- return t && !r ? o : new bl(Number.NaN);
3178
+ return t && !r ? o : (console.error("请输入合理数字!"), new bl(Number.NaN));
3179
3179
  }
3180
3180
  class fu {
3181
3181
  constructor() {
@@ -3215,7 +3215,7 @@ function Km(e) {
3215
3215
  y: e ? Number(e.slice(e.indexOf(",") + 1, e.indexOf(")") - 2)) : 0
3216
3216
  };
3217
3217
  }
3218
- function xo(e, t = "px") {
3218
+ function So(e, t = "px") {
3219
3219
  if (!e) return "";
3220
3220
  if (rC(e))
3221
3221
  return e;
@@ -3228,7 +3228,7 @@ function AE(e, t, r, o, n) {
3228
3228
  const d = u.clientX, A = u.clientY, { x: g, y: h } = Km(i.style.transform), p = ((ue = (te = n.value) == null ? void 0 : te.draggableLimit) == null ? void 0 : ue[1]) || 50, m = ((k = (z = n.value) == null ? void 0 : z.draggableLimit) == null ? void 0 : k[2]) || 50, v = ((_ = (x = n.value) == null ? void 0 : x.draggableLimit) == null ? void 0 : _[3]) || 50, w = i.getBoundingClientRect(), I = w.left, E = w.top, y = w.width, C = document.documentElement.clientWidth, b = document.documentElement.clientHeight, D = -I - y + v + g, S = -E + h, O = C - I - p + g, L = b - E - m + h, re = (j) => {
3229
3229
  requestAnimationFrame(() => {
3230
3230
  const oe = Math.min(Math.max(g + j.clientX - d, D), O), Se = Math.min(Math.max(h + j.clientY - A, S), L);
3231
- i.style.transform = `translate(${xo(oe)}, ${xo(Se)})`;
3231
+ i.style.transform = `translate(${So(oe)}, ${So(Se)})`;
3232
3232
  });
3233
3233
  }, ae = () => {
3234
3234
  document.removeEventListener("mousemove", re), document.removeEventListener("mouseup", ae);
@@ -3246,12 +3246,12 @@ function AE(e, t, r, o, n) {
3246
3246
  function gE(e) {
3247
3247
  const t = e.querySelector("header.el-dialog__header");
3248
3248
  {
3249
- const n = Oo(t);
3249
+ const n = Mo(t);
3250
3250
  ge(
3251
3251
  () => n.height,
3252
3252
  (i) => {
3253
3253
  requestAnimationFrame(
3254
- () => e.style.setProperty("--el-dialog-header-height", xo(i.value))
3254
+ () => e.style.setProperty("--el-dialog-header-height", So(i.value))
3255
3255
  );
3256
3256
  },
3257
3257
  { immediate: !0 }
@@ -3259,23 +3259,23 @@ function gE(e) {
3259
3259
  }
3260
3260
  const r = e.querySelector("footer.el-dialog__footer");
3261
3261
  if (r) {
3262
- const n = Oo(r);
3262
+ const n = Mo(r);
3263
3263
  ge(
3264
3264
  () => n.height,
3265
3265
  (i) => {
3266
3266
  requestAnimationFrame(
3267
- () => e.style.setProperty("--el-dialog-footer-height", xo(i.value))
3267
+ () => e.style.setProperty("--el-dialog-footer-height", So(i.value))
3268
3268
  );
3269
3269
  },
3270
3270
  { immediate: !0 }
3271
3271
  );
3272
3272
  }
3273
- const o = Oo(e);
3273
+ const o = Mo(e);
3274
3274
  ge(
3275
3275
  () => Et([o.width.value, o.height.value]),
3276
3276
  ([n, i]) => {
3277
3277
  requestAnimationFrame(() => {
3278
- e.style.setProperty("--el-dialog-width", xo(n)), e.style.setProperty("--el-dialog-height", xo(i));
3278
+ e.style.setProperty("--el-dialog-width", So(n)), e.style.setProperty("--el-dialog-height", So(i));
3279
3279
  });
3280
3280
  },
3281
3281
  { immediate: !0, deep: !0 }
@@ -3446,7 +3446,7 @@ function yE(e, t) {
3446
3446
  missing: /* @__PURE__ */ new Set()
3447
3447
  };
3448
3448
  }
3449
- function zo(e, t) {
3449
+ function Uo(e, t) {
3450
3450
  const r = RA[e] || (RA[e] = /* @__PURE__ */ Object.create(null));
3451
3451
  return r[t] || (r[t] = yE(e, t));
3452
3452
  }
@@ -3470,7 +3470,7 @@ function Wm(e) {
3470
3470
  function EE(e) {
3471
3471
  const t = typeof e == "string" ? Hl(e, !0, zi) : e;
3472
3472
  if (t) {
3473
- const r = zo(t.provider, t.prefix), o = t.name;
3473
+ const r = Uo(t.provider, t.prefix), o = t.name;
3474
3474
  return r.icons[o] || (r.missing.has(o) ? null : void 0);
3475
3475
  }
3476
3476
  }
@@ -3478,7 +3478,7 @@ function IE(e, t) {
3478
3478
  const r = Hl(e, !0, zi);
3479
3479
  if (!r)
3480
3480
  return !1;
3481
- const o = zo(r.provider, r.prefix);
3481
+ const o = Uo(r.provider, r.prefix);
3482
3482
  return t ? CE(o, r.name, t) : (o.missing.add(r.name), !0);
3483
3483
  }
3484
3484
  function DE(e, t) {
@@ -3496,7 +3496,7 @@ function DE(e, t) {
3496
3496
  name: "a"
3497
3497
  }))
3498
3498
  return !1;
3499
- const o = zo(t, r);
3499
+ const o = Uo(t, r);
3500
3500
  return !!$m(o, e);
3501
3501
  }
3502
3502
  const Zm = Object.freeze({
@@ -3804,7 +3804,7 @@ function YE(e) {
3804
3804
  if (o.name === n.name && o.prefix === n.prefix && o.provider === n.provider)
3805
3805
  return;
3806
3806
  o = n;
3807
- const i = n.provider, a = n.prefix, l = n.name, c = r[i] || (r[i] = /* @__PURE__ */ Object.create(null)), s = c[a] || (c[a] = zo(i, a));
3807
+ const i = n.provider, a = n.prefix, l = n.name, c = r[i] || (r[i] = /* @__PURE__ */ Object.create(null)), s = c[a] || (c[a] = Uo(i, a));
3808
3808
  let u;
3809
3809
  l in s.icons ? u = t.loaded : a === "" || s.missing.has(l) ? u = t.missing : u = t.pending;
3810
3810
  const d = {
@@ -4087,7 +4087,8 @@ function gi(e, t, r) {
4087
4087
  o();
4088
4088
  return;
4089
4089
  }
4090
- } catch {
4090
+ } catch (n) {
4091
+ console.error(n);
4091
4092
  }
4092
4093
  o(), tI(e);
4093
4094
  }
@@ -4165,11 +4166,11 @@ const oI = (e, t) => {
4165
4166
  const { provider: s, prefix: u } = c;
4166
4167
  if (u === l && s === a)
4167
4168
  return;
4168
- a = s, l = u, i.push(zo(s, u));
4169
+ a = s, l = u, i.push(Uo(s, u));
4169
4170
  const d = n[s] || (n[s] = /* @__PURE__ */ Object.create(null));
4170
4171
  d[u] || (d[u] = []);
4171
4172
  }), o.pending.forEach((c) => {
4172
- const { provider: s, prefix: u, name: d } = c, A = zo(s, u), g = A.pendingIcons || (A.pendingIcons = /* @__PURE__ */ new Set());
4173
+ const { provider: s, prefix: u, name: d } = c, A = Uo(s, u), g = A.pendingIcons || (A.pendingIcons = /* @__PURE__ */ new Set());
4173
4174
  g.has(d) || (g.add(d), n[s][u].push(d));
4174
4175
  }), i.forEach((c) => {
4175
4176
  const s = n[c.provider][c.prefix];
@@ -4345,9 +4346,11 @@ if (typeof document < "u" && typeof window < "u") {
4345
4346
  typeof t == "object" && t !== null && (t instanceof Array ? t : [t]).forEach((o) => {
4346
4347
  try {
4347
4348
  // Check if item is an object and not null/array
4348
- typeof o != "object" || o === null || o instanceof Array || // Check for 'icons' and 'prefix'
4349
- typeof o.icons != "object" || typeof o.prefix != "string" || DE(o);
4349
+ (typeof o != "object" || o === null || o instanceof Array || // Check for 'icons' and 'prefix'
4350
+ typeof o.icons != "object" || typeof o.prefix != "string" || // Add icon set
4351
+ !DE(o)) && console.error(r);
4350
4352
  } catch {
4353
+ console.error(r);
4351
4354
  }
4352
4355
  });
4353
4356
  }
@@ -4360,8 +4363,9 @@ if (typeof document < "u" && typeof window < "u") {
4360
4363
  const n = t[r];
4361
4364
  if (typeof n != "object" || !n || n.resources === void 0)
4362
4365
  continue;
4363
- RE(r, n);
4366
+ RE(r, n) || console.error(o);
4364
4367
  } catch {
4368
+ console.error(o);
4365
4369
  }
4366
4370
  }
4367
4371
  }
@@ -4629,19 +4633,25 @@ function yI(e, t, r, o) {
4629
4633
  t.value ? p() : m();
4630
4634
  }), r.push(m);
4631
4635
  }
4632
- const Mo = {};
4636
+ const To = {};
4633
4637
  function $A(e, t, r) {
4634
4638
  var c, s, u;
4635
4639
  const o = eo(r.children), n = (s = (c = r.children[0]) == null ? void 0 : c.props) == null ? void 0 : s.modelValue;
4636
4640
  if (!o || !n) return;
4637
4641
  const i = ((u = r.ctx) == null ? void 0 : u.uid) || `D_${Math.random()}`;
4638
- Mo[i] = Mo[i] ?? [];
4639
- const a = Mo[i], l = e.getAttribute("aria-tt-id") || e.getAttribute("aria-tt-id");
4640
- l && pe(() => {
4642
+ To[i] = To[i] ?? [];
4643
+ const a = To[i], l = e.getAttribute("aria-tt-id") || e.getAttribute("aria-tt-id");
4644
+ if (!l) {
4645
+ console.error("需要在 v-dialogResize 元素上设置 aria-tt-id 属性,并且设置 ElDialog 组件的modal-class为该属性的值");
4646
+ return;
4647
+ }
4648
+ pe(() => {
4641
4649
  var I, E;
4642
4650
  const d = r.children[0].component, A = document, g = A == null ? void 0 : A.querySelector(`.${l} .el-overlay-dialog`);
4643
- if (!g)
4651
+ if (!g) {
4652
+ console.error("找不到根元素,看是否是使用了 appendToBody");
4644
4653
  return;
4654
+ }
4645
4655
  g.style.overflow = "hidden";
4646
4656
  const h = A.querySelector(`.${l} .el-dialog`);
4647
4657
  h.style.display = "flex", h.style.flexDirection = "column", h.style.overflow = "auto";
@@ -4662,10 +4672,10 @@ const rh = {
4662
4672
  updated: $A,
4663
4673
  beforeUnmount: (e, t, r) => {
4664
4674
  const o = r.ctx;
4665
- if (!(!(o != null && o.uid) || !Mo[o.uid])) {
4666
- for (const n of Mo[o.uid])
4675
+ if (!(!(o != null && o.uid) || !To[o.uid])) {
4676
+ for (const n of To[o.uid])
4667
4677
  typeof n == "function" && n();
4668
- Mo[o.uid] = [];
4678
+ To[o.uid] = [];
4669
4679
  }
4670
4680
  }
4671
4681
  };
@@ -4994,8 +5004,7 @@ const kI = /* @__PURE__ */ be({
4994
5004
  return ge(
4995
5005
  () => r.modelValue,
4996
5006
  (d) => {
4997
- l.value = d, s.value && (c == null || c.validate("change").catch((A) => {
4998
- })), s.value = !0;
5007
+ l.value = d, s.value && (c == null || c.validate("change").catch((A) => console.log(A))), s.value = !0;
4999
5008
  },
5000
5009
  { immediate: !0, deep: !0 }
5001
5010
  ), (d, A) => ln((V(), Be(f(no), _e(a.value, {
@@ -5076,8 +5085,9 @@ const kI = /* @__PURE__ */ be({
5076
5085
  function a(l) {
5077
5086
  try {
5078
5087
  const c = document.createElement("textarea");
5079
- c.value = l, c.style.position = "fixed", c.style.opacity = "0", document.body.appendChild(c), c.select(), document.execCommand("copy"), document.body.removeChild(c);
5088
+ c.value = l, c.style.position = "fixed", c.style.opacity = "0", document.body.appendChild(c), c.select(), document.execCommand("copy"), document.body.removeChild(c), console.log("复制成功");
5080
5089
  } catch {
5090
+ console.error("复制失败");
5081
5091
  }
5082
5092
  }
5083
5093
  return (l, c) => r.value ? ln((V(), de("span", {
@@ -5324,7 +5334,7 @@ const kI = /* @__PURE__ */ be({
5324
5334
  props: hh,
5325
5335
  emits: ["radio-change", "checkbox-change", "scroll", "checkbox-all"],
5326
5336
  setup(e, { expose: t, emit: r }) {
5327
- const o = e, n = r, { prefixCls: i } = Pt("select-table"), a = ko("vxelist"), l = ko("table"), c = ko("resizableBar"), s = K(!1), u = In(), d = K(""), A = K(!1);
5337
+ const o = e, n = r, { prefixCls: i } = Pt("select-table"), a = Qo("vxelist"), l = Qo("table"), c = Qo("resizableBar"), s = K(!1), u = In(), d = K(""), A = K(!1);
5328
5338
  let g = null;
5329
5339
  const h = K([]), p = K(!1), m = B(() => {
5330
5340
  var G, q;
@@ -5970,13 +5980,13 @@ function nD(e, t, r) {
5970
5980
  plain: !0
5971
5981
  });
5972
5982
  const { defaultData: P } = f(e), { extra: H } = f(t), { currentPage: N, pageSize: R } = t.getPagination() || {}, U = {};
5973
- ae && (Qo(U, f(I) || "", N || 1), Qo(U, f(E) || "", R));
5983
+ ae && (Oo(U, f(I) || "", N || 1), Oo(U, f(E) || "", R));
5974
5984
  let W = {
5975
5985
  ...U,
5976
5986
  ...Y(H),
5977
5987
  ...f(P)
5978
5988
  };
5979
- Qo(W, f(p), f(n)), t.setLoading(!0);
5989
+ Oo(W, f(p), f(n)), t.setLoading(!0);
5980
5990
  const me = f(e).beforeFetch;
5981
5991
  me && Ne(me) && (W = await me(W));
5982
5992
  try {
@@ -6038,7 +6048,7 @@ function nD(e, t, r) {
6038
6048
  o.value = [...o.value, ...R];
6039
6049
  a.value = kt(f(o));
6040
6050
  }
6041
- const Se = Xo(_, 300);
6051
+ const Se = ei(_, 300);
6042
6052
  async function G() {
6043
6053
  f(e).api && (n.value = "", t.setPagination({
6044
6054
  currentPage: 1
@@ -6658,7 +6668,7 @@ const lD = ["title"], sD = /* @__PURE__ */ be({
6658
6668
  expose: t,
6659
6669
  emit: r
6660
6670
  }) {
6661
- var Gn, pr, vo, vr;
6671
+ var Gn, pr, wo, vr;
6662
6672
  const o = e, n = r, i = qn(), a = K(null), l = K(), c = K((Gn = o.selectProps) != null && Gn.multiple ? [] : void 0), s = K(void 0), u = K(!1), {
6663
6673
  prefixCls: d
6664
6674
  } = Pt("select-v2"), A = co(), {
@@ -6755,7 +6765,7 @@ const lD = ["title"], sD = /* @__PURE__ */ be({
6755
6765
  selectValue: c,
6756
6766
  selectOption: s,
6757
6767
  setSelectValue: Je,
6758
- multiple: ((vo = o.selectProps) == null ? void 0 : vo.multiple) || !1,
6768
+ multiple: ((wo = o.selectProps) == null ? void 0 : wo.multiple) || !1,
6759
6769
  reload: O,
6760
6770
  isLoaded: L,
6761
6771
  getPagination: C,
@@ -6854,8 +6864,9 @@ const lD = ["title"], sD = /* @__PURE__ */ be({
6854
6864
  function tt(Ce) {
6855
6865
  try {
6856
6866
  const We = document.createElement("textarea");
6857
- We.value = Ce, We.style.position = "fixed", We.style.opacity = "0", document.body.appendChild(We), We.select(), document.execCommand("copy"), document.body.removeChild(We);
6867
+ We.value = Ce, We.style.position = "fixed", We.style.opacity = "0", document.body.appendChild(We), We.select(), document.execCommand("copy"), document.body.removeChild(We), console.log("复制成功");
6858
6868
  } catch {
6869
+ console.error("复制失败");
6859
6870
  }
6860
6871
  }
6861
6872
  function Qn(Ce) {
@@ -7278,7 +7289,7 @@ class vu {
7278
7289
  /**
7279
7290
  * 确认操作
7280
7291
  */
7281
- Pe(this, "onOk", Xo(async () => {
7292
+ Pe(this, "onOk", ei(async () => {
7282
7293
  var t, r;
7283
7294
  try {
7284
7295
  this.changeOkLoading(!0), this.api.onOk && await ((r = (t = this.api).onOk) == null ? void 0 : r.call(t));
@@ -7842,7 +7853,9 @@ async function QD(e, t) {
7842
7853
  return;
7843
7854
  const o = new Set(Object.keys(r));
7844
7855
  for (const i of Object.keys(t))
7845
- o.has(i) && ["class"].includes(i);
7856
+ o.has(i) && !["class"].includes(i) && console.warn(
7857
+ `[tT Modal]: When 'connectedComponent' exists, do not set props or slots '${i}', which will increase complexity. If you need to modify the props of Modal, please use useVbenModal or api.`
7858
+ );
7846
7859
  }
7847
7860
  const yh = Symbol("SHOW_MODAL");
7848
7861
  function OD(e) {
@@ -8946,7 +8959,7 @@ async function zh(e) {
8946
8959
  if (process.env.NODE_ENV !== "production") {
8947
8960
  if (!xh)
8948
8961
  return;
8949
- (await import("./index-NG5FNCLD.js")).setupDevtoolsPlugin({
8962
+ (await import("./index-CMjNBMj5.js")).setupDevtoolsPlugin({
8950
8963
  id: "vee-validate-devtools-plugin",
8951
8964
  label: "VeeValidate Plugin",
8952
8965
  packageName: "vee-validate",
@@ -8964,30 +8977,34 @@ async function zh(e) {
8964
8977
  icon: "done_outline",
8965
8978
  tooltip: "Validate selected item",
8966
8979
  action: async () => {
8967
- if (Bt) {
8968
- if (Bt.type === "field") {
8969
- await Bt.field.validate();
8970
- return;
8971
- }
8972
- if (Bt.type === "form") {
8973
- await Bt.form.validate();
8974
- return;
8975
- }
8976
- Bt.type === "pathState" && await Bt.form.validateField(Bt.state.path);
8980
+ if (!Bt) {
8981
+ console.error("There is not a valid selected vee-validate node or component");
8982
+ return;
8983
+ }
8984
+ if (Bt.type === "field") {
8985
+ await Bt.field.validate();
8986
+ return;
8977
8987
  }
8988
+ if (Bt.type === "form") {
8989
+ await Bt.form.validate();
8990
+ return;
8991
+ }
8992
+ Bt.type === "pathState" && await Bt.form.validateField(Bt.state.path);
8978
8993
  }
8979
8994
  },
8980
8995
  {
8981
8996
  icon: "delete_sweep",
8982
8997
  tooltip: "Clear validation state of the selected item",
8983
8998
  action: () => {
8984
- if (Bt) {
8985
- if (Bt.type === "field") {
8986
- Bt.field.resetField();
8987
- return;
8988
- }
8989
- Bt.type === "form" && Bt.form.resetForm(), Bt.type === "pathState" && Bt.form.resetField(Bt.state.path);
8999
+ if (!Bt) {
9000
+ console.error("There is not a valid selected vee-validate node or component");
9001
+ return;
8990
9002
  }
9003
+ if (Bt.type === "field") {
9004
+ Bt.field.resetField();
9005
+ return;
9006
+ }
9007
+ Bt.type === "form" && Bt.form.resetForm(), Bt.type === "pathState" && Bt.form.resetField(Bt.state.path);
8991
9008
  }
8992
9009
  }
8993
9010
  ]
@@ -9027,7 +9044,7 @@ async function zh(e) {
9027
9044
  });
9028
9045
  }
9029
9046
  }
9030
- const Uo = ZD(() => {
9047
+ const Ro = ZD(() => {
9031
9048
  setTimeout(async () => {
9032
9049
  await pe(), ir == null || ir.sendInspectorState(xi), ir == null || ir.sendInspectorTree(xi);
9033
9050
  }, 100);
@@ -9041,8 +9058,8 @@ function wB(e) {
9041
9058
  zh(r);
9042
9059
  }
9043
9060
  Di[e.formId] = Object.assign({}, e), Di[e.formId]._vm = t, Sr(() => {
9044
- delete Di[e.formId], Uo();
9045
- }), Uo();
9061
+ delete Di[e.formId], Ro();
9062
+ }), Ro();
9046
9063
  }
9047
9064
  function bB(e) {
9048
9065
  const t = bn();
@@ -9053,8 +9070,8 @@ function bB(e) {
9053
9070
  zh(r);
9054
9071
  }
9055
9072
  Bi[e.id] = Object.assign({}, e), Bi[e.id]._vm = t, Sr(() => {
9056
- delete Bi[e.id], Uo();
9057
- }), Uo();
9073
+ delete Bi[e.id], Ro();
9074
+ }), Ro();
9058
9075
  }
9059
9076
  function yB(e) {
9060
9077
  const { textColor: t, bgColor: r } = Rh(e.meta.value.valid), o = {};
@@ -9349,7 +9366,7 @@ function Nh(e, t, r) {
9349
9366
  on(M, P) || (b.validated ? te() : ue());
9350
9367
  }, {
9351
9368
  deep: !0
9352
- }), process.env.NODE_ENV !== "production" && (q._vm = bn(), ge(() => Object.assign(Object.assign({ errors: S.value }, b), { value: y.value }), Uo, {
9369
+ }), process.env.NODE_ENV !== "production" && (q._vm = bn(), ge(() => Object.assign(Object.assign({ errors: S.value }, b), { value: y.value }), Ro, {
9353
9370
  deep: !0
9354
9371
  }), m || bB(q)), !m)
9355
9372
  return q;
@@ -9440,7 +9457,7 @@ function SB(e, t, r) {
9440
9457
  function kB({ prop: e, value: t, handleChange: r, shouldValidate: o }) {
9441
9458
  const n = bn();
9442
9459
  if (!n || !e) {
9443
- process.env.NODE_ENV;
9460
+ process.env.NODE_ENV !== "production" && console.warn("Failed to setup model events because `useField` was not called in setup.");
9444
9461
  return;
9445
9462
  }
9446
9463
  const i = typeof e == "string" ? e : "modelValue", a = `update:${i}`;
@@ -9675,12 +9692,12 @@ function jh(e) {
9675
9692
  const ft = B(() => hn(s, Y(F))), bt = Y(F), zt = _.findIndex((un) => un === bt);
9676
9693
  zt !== -1 && _.splice(zt, 1);
9677
9694
  const et = B(() => {
9678
- var un, Nr, wo, X;
9695
+ var un, Nr, bo, X;
9679
9696
  const xe = Y(L);
9680
9697
  if (Rn(xe))
9681
9698
  return (Nr = (un = xe.describe) === null || un === void 0 ? void 0 : un.call(xe, Y(F)).required) !== null && Nr !== void 0 ? Nr : !1;
9682
9699
  const Ge = Y(T == null ? void 0 : T.schema);
9683
- return Rn(Ge) && (X = (wo = Ge.describe) === null || wo === void 0 ? void 0 : wo.call(Ge).required) !== null && X !== void 0 ? X : !1;
9700
+ return Rn(Ge) && (X = (bo = Ge.describe) === null || bo === void 0 ? void 0 : bo.call(Ge).required) !== null && X !== void 0 ? X : !1;
9684
9701
  }), Ut = n++, $t = Et({
9685
9702
  id: Ut,
9686
9703
  path: F,
@@ -9981,7 +9998,7 @@ function jh(e) {
9981
9998
  });
9982
9999
  return a.value = !1, T;
9983
10000
  }
9984
- const vo = q((F, { evt: T }) => {
10001
+ const wo = q((F, { evt: T }) => {
9985
10002
  kh(T) && T.target.submit();
9986
10003
  });
9987
10004
  an(() => {
@@ -9993,7 +10010,7 @@ function jh(e) {
9993
10010
  }), oo(L) && ge(L, () => {
9994
10011
  var F;
9995
10012
  (F = P.validateSchema) === null || F === void 0 || F.call(P, "validated-only");
9996
- }), sn(fo, P), process.env.NODE_ENV !== "production" && (wB(P), ge(() => Object.assign(Object.assign({ errors: m.value }, S.value), { values: s, isSubmitting: i.value, isValidating: a.value, submitCount: l.value }), Uo, {
10013
+ }), sn(fo, P), process.env.NODE_ENV !== "production" && (wB(P), ge(() => Object.assign(Object.assign({ errors: m.value }, S.value), { values: s, isSubmitting: i.value, isValidating: a.value, submitCount: l.value }), Ro, {
9997
10014
  deep: !0
9998
10015
  }));
9999
10016
  function vr(F, T) {
@@ -10060,7 +10077,7 @@ function jh(e) {
10060
10077
  return Object.assign({ [ke.model || "modelValue"]: Z.value, [`onUpdate:${ke.model || "modelValue"}`]: Re }, Ae.value);
10061
10078
  });
10062
10079
  }
10063
- const Jt = Object.assign(Object.assign({}, P), { values: Am(s), handleReset: () => It(), submitForm: vo });
10080
+ const Jt = Object.assign(Object.assign({}, P), { values: Am(s), handleReset: () => It(), submitForm: wo });
10064
10081
  return sn(GD, Jt), Jt;
10065
10082
  }
10066
10083
  function PB(e, t, r, o) {
@@ -10354,8 +10371,8 @@ function Ag(e, t = "YYYY-MM-DD") {
10354
10371
  if (!r.isValid())
10355
10372
  throw new Error("Invalid date");
10356
10373
  return r.tz().format(t);
10357
- } catch {
10358
- return String(e ?? "");
10374
+ } catch (r) {
10375
+ return console.error(`Error formatting date: ${r}`), String(e ?? "");
10359
10376
  }
10360
10377
  }
10361
10378
  class YB {
@@ -10399,8 +10416,10 @@ class YB {
10399
10416
  r.forEach((i) => {
10400
10417
  if (Array.isArray(i)) {
10401
10418
  const [a, l = ","] = i;
10402
- if (!Array.isArray(a))
10419
+ if (!Array.isArray(a)) {
10420
+ console.warn(`Invalid field configuration: fields should be an array of strings, got ${typeof a}`);
10403
10421
  return;
10422
+ }
10404
10423
  o(a, l);
10405
10424
  }
10406
10425
  });
@@ -10491,7 +10510,8 @@ class YB {
10491
10510
  r.map(async (c) => (await c.validate()).valid ? Mt(await c.getValues() || {}) : void 0)
10492
10511
  );
10493
10512
  return a ? Object.assign({}, ...l) : l;
10494
- } catch {
10513
+ } catch (l) {
10514
+ console.error("Validation error:", l);
10495
10515
  }
10496
10516
  } : n[i];
10497
10517
  }
@@ -10582,8 +10602,10 @@ class YB {
10582
10602
  updateSchema(t) {
10583
10603
  var a;
10584
10604
  const r = [...t];
10585
- if (!r.every((l) => Reflect.has(l, "fieldName") && l.fieldName))
10605
+ if (!r.every((l) => Reflect.has(l, "fieldName") && l.fieldName)) {
10606
+ console.error("All items in the schema array must have a valid `fieldName` property to be updated");
10586
10607
  return;
10608
+ }
10587
10609
  const n = [...((a = this.state) == null ? void 0 : a.schema) ?? []], i = {};
10588
10610
  r.forEach((l) => {
10589
10611
  l.fieldName && (i[l.fieldName] = l);
@@ -10595,7 +10617,7 @@ class YB {
10595
10617
  async validate(t) {
10596
10618
  var n;
10597
10619
  const o = await (await this.getForm()).validate(t);
10598
- return Object.keys((o == null ? void 0 : o.errors) ?? {}).length > 0 && (n = this.state) != null && n.scrollToFirstError && this.scrollToFirstError(o.errors), o;
10620
+ return Object.keys((o == null ? void 0 : o.errors) ?? {}).length > 0 && (console.error("validate error", o == null ? void 0 : o.errors), (n = this.state) != null && n.scrollToFirstError && this.scrollToFirstError(o.errors)), o;
10599
10621
  }
10600
10622
  async validateAndSubmitForm() {
10601
10623
  var n;
@@ -10609,7 +10631,7 @@ class YB {
10609
10631
  async validateField(t, r) {
10610
10632
  var i;
10611
10633
  const n = await (await this.getForm()).validateField(t, r);
10612
- return Object.keys((n == null ? void 0 : n.errors) ?? {}).length > 0 && (i = this.state) != null && i.scrollToFirstError && this.scrollToFirstError(t), n;
10634
+ return Object.keys((n == null ? void 0 : n.errors) ?? {}).length > 0 && (console.error("validate error", n == null ? void 0 : n.errors), (i = this.state) != null && i.scrollToFirstError && this.scrollToFirstError(t)), n;
10613
10635
  }
10614
10636
  async getForm() {
10615
10637
  var t;
@@ -10998,7 +11020,7 @@ function Wh(e) {
10998
11020
  }
10999
11021
  const Mu = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {
11000
11022
  };
11001
- function Ro(e) {
11023
+ function No(e) {
11002
11024
  return typeof e == "object" && e !== null && !Array.isArray(e);
11003
11025
  }
11004
11026
  const Zh = Ji(() => {
@@ -11013,13 +11035,13 @@ const Zh = Ji(() => {
11013
11035
  }
11014
11036
  });
11015
11037
  function ao(e) {
11016
- if (Ro(e) === !1)
11038
+ if (No(e) === !1)
11017
11039
  return !1;
11018
11040
  const t = e.constructor;
11019
11041
  if (t === void 0 || typeof t != "function")
11020
11042
  return !0;
11021
11043
  const r = t.prototype;
11022
- return !(Ro(r) === !1 || Object.prototype.hasOwnProperty.call(r, "isPrototypeOf") === !1);
11044
+ return !(No(r) === !1 || Object.prototype.hasOwnProperty.call(r, "isPrototypeOf") === !1);
11023
11045
  }
11024
11046
  function $l(e) {
11025
11047
  return ao(e) ? { ...e } : Array.isArray(e) ? [...e] : e;
@@ -11296,7 +11318,7 @@ function Ue(e) {
11296
11318
  }
11297
11319
  return t;
11298
11320
  }
11299
- function No(...e) {
11321
+ function Lo(...e) {
11300
11322
  const [t, r, o] = e;
11301
11323
  return typeof t == "string" ? {
11302
11324
  message: t,
@@ -11377,9 +11399,9 @@ const Tu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11377
11399
  getParsedType: Cx,
11378
11400
  getSizableOrigin: Wl,
11379
11401
  hexToUint8Array: xx,
11380
- isObject: Ro,
11402
+ isObject: No,
11381
11403
  isPlainObject: ao,
11382
- issue: No,
11404
+ issue: Lo,
11383
11405
  joinValues: ie,
11384
11406
  jsonStringifyReplacer: Ol,
11385
11407
  merge: ap,
@@ -11529,7 +11551,7 @@ const $i = (e) => (t, r, o, n) => {
11529
11551
  }, Fx = /* @__PURE__ */ ju(kn), Vu = (e) => (t, r, o) => Zi(e)(t, r, o), Px = /* @__PURE__ */ Vu(kn), Hu = (e) => async (t, r, o) => {
11530
11552
  const n = o ? Object.assign(o, { direction: "backward" }) : { direction: "backward" };
11531
11553
  return qi(e)(t, r, n);
11532
- }, zx = /* @__PURE__ */ Hu(kn), Ku = (e) => async (t, r, o) => qi(e)(t, r, o), Ux = /* @__PURE__ */ Ku(kn), mp = /^[cC][^\s-]{8,}$/, hp = /^[0-9a-z]+$/, pp = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/, vp = /^[0-9a-vA-V]{20}$/, wp = /^[A-Za-z0-9]{27}$/, bp = /^[a-zA-Z0-9_-]{21}$/, yp = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, Rx = /^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/, Cp = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/, Lo = (e) => e ? new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`) : /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/, Nx = /* @__PURE__ */ Lo(4), Lx = /* @__PURE__ */ Lo(6), jx = /* @__PURE__ */ Lo(7), Ep = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, Vx = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/, Hx = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/, Ip = /^[^\s@"]{1,64}@[^\s@]{1,255}$/u, Kx = Ip, Gx = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/, Yx = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
11554
+ }, zx = /* @__PURE__ */ Hu(kn), Ku = (e) => async (t, r, o) => qi(e)(t, r, o), Ux = /* @__PURE__ */ Ku(kn), mp = /^[cC][^\s-]{8,}$/, hp = /^[0-9a-z]+$/, pp = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/, vp = /^[0-9a-vA-V]{20}$/, wp = /^[A-Za-z0-9]{27}$/, bp = /^[a-zA-Z0-9_-]{21}$/, yp = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, Rx = /^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/, Cp = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/, jo = (e) => e ? new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`) : /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/, Nx = /* @__PURE__ */ jo(4), Lx = /* @__PURE__ */ jo(6), jx = /* @__PURE__ */ jo(7), Ep = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, Vx = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/, Hx = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/, Ip = /^[^\s@"]{1,64}@[^\s@]{1,255}$/u, Kx = Ip, Gx = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/, Yx = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
11533
11555
  function Dp() {
11534
11556
  return new RegExp(Yx, "u");
11535
11557
  }
@@ -11615,7 +11637,7 @@ const _x = /^[0-9a-fA-F]{32}$/, Jx = /* @__PURE__ */ Xi(22, "=="), $x = /* @__PU
11615
11637
  undefined: Gp,
11616
11638
  unicodeEmail: Ip,
11617
11639
  uppercase: _p,
11618
- uuid: Lo,
11640
+ uuid: jo,
11619
11641
  uuid4: Nx,
11620
11642
  uuid6: Lx,
11621
11643
  uuid7: jx,
@@ -12153,9 +12175,9 @@ const mv = {
12153
12175
  }[t.version];
12154
12176
  if (o === void 0)
12155
12177
  throw new Error(`Invalid UUID version: "${t.version}"`);
12156
- t.pattern ?? (t.pattern = Lo(o));
12178
+ t.pattern ?? (t.pattern = jo(o));
12157
12179
  } else
12158
- t.pattern ?? (t.pattern = Lo());
12180
+ t.pattern ?? (t.pattern = jo());
12159
12181
  dt.init(e, t);
12160
12182
  }), vv = /* @__PURE__ */ Q("$ZodEmail", (e, t) => {
12161
12183
  t.pattern ?? (t.pattern = Ep), dt.init(e, t);
@@ -12548,7 +12570,7 @@ const nw = /* @__PURE__ */ Q("$ZodObject", (e, t) => {
12548
12570
  }
12549
12571
  return c;
12550
12572
  });
12551
- const n = Ro, i = t.catchall;
12573
+ const n = No, i = t.catchall;
12552
12574
  let a;
12553
12575
  e._zod.parse = (l, c) => {
12554
12576
  a ?? (a = o.value);
@@ -12625,7 +12647,7 @@ const nw = /* @__PURE__ */ Q("$ZodObject", (e, t) => {
12625
12647
  return (E, y) => w(A, E, y);
12626
12648
  };
12627
12649
  let i;
12628
- const a = Ro, l = !Ql.jitless, s = l && Zh.value, u = t.catchall;
12650
+ const a = No, l = !Ql.jitless, s = l && Zh.value, u = t.catchall;
12629
12651
  let d;
12630
12652
  e._zod.parse = (A, g) => {
12631
12653
  d ?? (d = o.value);
@@ -12748,7 +12770,7 @@ const ow = /* @__PURE__ */ Q("$ZodXor", (e, t) => {
12748
12770
  });
12749
12771
  e._zod.parse = (n, i) => {
12750
12772
  const a = n.value;
12751
- if (!Ro(a))
12773
+ if (!No(a))
12752
12774
  return n.issues.push({
12753
12775
  code: "invalid_type",
12754
12776
  expected: "object",
@@ -13298,7 +13320,7 @@ function Sg(e, t, r, o) {
13298
13320
  continue: !o._zod.def.abort
13299
13321
  // params: inst._zod.def.params,
13300
13322
  };
13301
- o._zod.def.params && (n.params = o._zod.def.params), t.issues.push(No(n));
13323
+ o._zod.def.params && (n.params = o._zod.def.params), t.issues.push(Lo(n));
13302
13324
  }
13303
13325
  }
13304
13326
  const sS = () => {
@@ -14874,7 +14896,7 @@ function LS() {
14874
14896
  function Qg(e, t, r) {
14875
14897
  return Math.abs(e) === 1 ? t : r;
14876
14898
  }
14877
- function bo(e) {
14899
+ function yo(e) {
14878
14900
  if (!e)
14879
14901
  return "";
14880
14902
  const t = ["ա", "ե", "ը", "ի", "ո", "ու", "օ"], r = e[e.length - 1];
@@ -14960,17 +14982,17 @@ const jS = () => {
14960
14982
  const i = n.inclusive ? "<=" : "<", a = t(n.origin);
14961
14983
  if (a) {
14962
14984
  const l = Number(n.maximum), c = Qg(l, a.unit.one, a.unit.many);
14963
- return `Չափազանց մեծ արժեք․ սպասվում է, որ ${bo(n.origin ?? "արժեք")} կունենա ${i}${n.maximum.toString()} ${c}`;
14985
+ return `Չափազանց մեծ արժեք․ սպասվում է, որ ${yo(n.origin ?? "արժեք")} կունենա ${i}${n.maximum.toString()} ${c}`;
14964
14986
  }
14965
- return `Չափազանց մեծ արժեք․ սպասվում է, որ ${bo(n.origin ?? "արժեք")} լինի ${i}${n.maximum.toString()}`;
14987
+ return `Չափազանց մեծ արժեք․ սպասվում է, որ ${yo(n.origin ?? "արժեք")} լինի ${i}${n.maximum.toString()}`;
14966
14988
  }
14967
14989
  case "too_small": {
14968
14990
  const i = n.inclusive ? ">=" : ">", a = t(n.origin);
14969
14991
  if (a) {
14970
14992
  const l = Number(n.minimum), c = Qg(l, a.unit.one, a.unit.many);
14971
- return `Չափազանց փոքր արժեք․ սպասվում է, որ ${bo(n.origin)} կունենա ${i}${n.minimum.toString()} ${c}`;
14993
+ return `Չափազանց փոքր արժեք․ սպասվում է, որ ${yo(n.origin)} կունենա ${i}${n.minimum.toString()} ${c}`;
14972
14994
  }
14973
- return `Չափազանց փոքր արժեք․ սպասվում է, որ ${bo(n.origin)} լինի ${i}${n.minimum.toString()}`;
14995
+ return `Չափազանց փոքր արժեք․ սպասվում է, որ ${yo(n.origin)} լինի ${i}${n.minimum.toString()}`;
14974
14996
  }
14975
14997
  case "invalid_format": {
14976
14998
  const i = n;
@@ -14981,11 +15003,11 @@ const jS = () => {
14981
15003
  case "unrecognized_keys":
14982
15004
  return `Չճանաչված բանալի${n.keys.length > 1 ? "ներ" : ""}. ${ie(n.keys, ", ")}`;
14983
15005
  case "invalid_key":
14984
- return `Սխալ բանալի ${bo(n.origin)}-ում`;
15006
+ return `Սխալ բանալի ${yo(n.origin)}-ում`;
14985
15007
  case "invalid_union":
14986
15008
  return "Սխալ մուտքագրում";
14987
15009
  case "invalid_element":
14988
- return `Սխալ արժեք ${bo(n.origin)}-ում`;
15010
+ return `Սխալ արժեք ${yo(n.origin)}-ում`;
14989
15011
  default:
14990
15012
  return "Սխալ մուտքագրում";
14991
15013
  }
@@ -18213,7 +18235,7 @@ function Ar(e, t) {
18213
18235
  });
18214
18236
  }
18215
18237
  // @__NO_SIDE_EFFECTS__
18216
- function ei(e, t) {
18238
+ function ti(e, t) {
18217
18239
  return new tv({
18218
18240
  check: "size_equals",
18219
18241
  ...$(t),
@@ -18221,7 +18243,7 @@ function ei(e, t) {
18221
18243
  });
18222
18244
  }
18223
18245
  // @__NO_SIDE_EFFECTS__
18224
- function ti(e, t) {
18246
+ function ni(e, t) {
18225
18247
  return new nv({
18226
18248
  check: "max_length",
18227
18249
  ...$(t),
@@ -18237,7 +18259,7 @@ function Or(e, t) {
18237
18259
  });
18238
18260
  }
18239
18261
  // @__NO_SIDE_EFFECTS__
18240
- function ni(e, t) {
18262
+ function ri(e, t) {
18241
18263
  return new ov({
18242
18264
  check: "length_equals",
18243
18265
  ...$(t),
@@ -18566,10 +18588,10 @@ function fb(e, t, r) {
18566
18588
  function Ab(e) {
18567
18589
  const t = /* @__PURE__ */ gb((r) => (r.addIssue = (o) => {
18568
18590
  if (typeof o == "string")
18569
- r.issues.push(No(o, r.value, t._zod.def));
18591
+ r.issues.push(Lo(o, r.value, t._zod.def));
18570
18592
  else {
18571
18593
  const n = o;
18572
- n.fatal && (n.continue = !1), n.code ?? (n.code = "custom"), n.input ?? (n.input = r.value), n.inst ?? (n.inst = t), n.continue ?? (n.continue = !t._zod.def.abort), r.issues.push(No(n));
18594
+ n.fatal && (n.continue = !1), n.code ?? (n.code = "custom"), n.input ?? (n.input = r.value), n.inst ?? (n.inst = t), n.continue ?? (n.continue = !t._zod.def.abort), r.issues.push(Lo(n));
18573
18595
  }
18574
18596
  }, e(r.value, r)));
18575
18597
  return t;
@@ -18641,7 +18663,7 @@ function ma(e, t, r, o = {}) {
18641
18663
  };
18642
18664
  return r instanceof RegExp && (i.pattern = r), new e(i);
18643
18665
  }
18644
- function jo(e) {
18666
+ function Vo(e) {
18645
18667
  let t = (e == null ? void 0 : e.target) ?? "draft-2020-12";
18646
18668
  return t === "draft-4" && (t = "draft-04"), t === "draft-7" && (t = "draft-07"), {
18647
18669
  processors: e.processors ?? {},
@@ -18689,7 +18711,7 @@ function st(e, t, r = { path: [], schemaPath: [] }) {
18689
18711
  const c = t.metadataRegistry.get(e);
18690
18712
  return c && Object.assign(a.schema, c), t.io === "input" && en(e) && (delete a.schema.examples, delete a.schema.default), t.io === "input" && a.schema._prefault && ((o = a.schema).default ?? (o.default = a.schema._prefault)), delete a.schema._prefault, t.seen.get(e).schema;
18691
18713
  }
18692
- function Vo(e, t) {
18714
+ function Ho(e, t) {
18693
18715
  var a, l, c, s;
18694
18716
  const r = e.seen.get(t);
18695
18717
  if (!r)
@@ -18763,7 +18785,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
18763
18785
  }
18764
18786
  }
18765
18787
  }
18766
- function Ho(e, t) {
18788
+ function Ko(e, t) {
18767
18789
  var a, l, c;
18768
18790
  const r = e.seen.get(t);
18769
18791
  if (!r)
@@ -18873,11 +18895,11 @@ function en(e, t) {
18873
18895
  return !1;
18874
18896
  }
18875
18897
  const vb = (e, t = {}) => (r) => {
18876
- const o = jo({ ...r, processors: t });
18877
- return st(e, o), Vo(o, e), Ho(o, e);
18898
+ const o = Vo({ ...r, processors: t });
18899
+ return st(e, o), Ho(o, e), Ko(o, e);
18878
18900
  }, Ri = (e, t, r = {}) => (o) => {
18879
- const { libraryOptions: n, target: i } = o ?? {}, a = jo({ ...n ?? {}, target: i, io: t, processors: r });
18880
- return st(e, a), Vo(a, e), Ho(a, e);
18901
+ const { libraryOptions: n, target: i } = o ?? {}, a = Vo({ ...n ?? {}, target: i, io: t, processors: r });
18902
+ return st(e, a), Ho(a, e), Ko(a, e);
18881
18903
  }, h4 = {
18882
18904
  guid: "uuid",
18883
18905
  url: "uri",
@@ -19153,7 +19175,7 @@ const vb = (e, t = {}) => (r) => {
19153
19175
  };
19154
19176
  function Sd(e, t) {
19155
19177
  if ("_idmap" in e) {
19156
- const o = e, n = jo({ ...t, processors: _c }), i = {};
19178
+ const o = e, n = Vo({ ...t, processors: _c }), i = {};
19157
19179
  for (const c of o._idmap.entries()) {
19158
19180
  const [s, u] = c;
19159
19181
  st(u, n);
@@ -19166,7 +19188,7 @@ function Sd(e, t) {
19166
19188
  n.external = l;
19167
19189
  for (const c of o._idmap.entries()) {
19168
19190
  const [s, u] = c;
19169
- Vo(n, u), a[s] = Ho(n, u);
19191
+ Ho(n, u), a[s] = Ko(n, u);
19170
19192
  }
19171
19193
  if (Object.keys(i).length > 0) {
19172
19194
  const c = n.target === "draft-2020-12" ? "$defs" : "definitions";
@@ -19176,8 +19198,8 @@ function Sd(e, t) {
19176
19198
  }
19177
19199
  return { schemas: a };
19178
19200
  }
19179
- const r = jo({ ...t, processors: _c });
19180
- return st(e, r), Vo(r, e), Ho(r, e);
19201
+ const r = Vo({ ...t, processors: _c });
19202
+ return st(e, r), Ho(r, e), Ko(r, e);
19181
19203
  }
19182
19204
  class p4 {
19183
19205
  /** @deprecated Access via ctx instead */
@@ -19213,7 +19235,7 @@ class p4 {
19213
19235
  }
19214
19236
  constructor(t) {
19215
19237
  let r = (t == null ? void 0 : t.target) ?? "draft-2020-12";
19216
- r === "draft-4" && (r = "draft-04"), r === "draft-7" && (r = "draft-07"), this.ctx = jo({
19238
+ r === "draft-4" && (r = "draft-04"), r === "draft-7" && (r = "draft-07"), this.ctx = Vo({
19217
19239
  processors: _c,
19218
19240
  target: r,
19219
19241
  ...(t == null ? void 0 : t.metadata) && { metadata: t.metadata },
@@ -19234,8 +19256,8 @@ class p4 {
19234
19256
  * Must call process() first.
19235
19257
  */
19236
19258
  emit(t, r) {
19237
- r && (r.cycles && (this.ctx.cycles = r.cycles), r.reused && (this.ctx.reused = r.reused), r.external && (this.ctx.external = r.external)), Vo(this.ctx, t);
19238
- const o = Ho(this.ctx, t), { "~standard": n, ...i } = o;
19259
+ r && (r.cycles && (this.ctx.cycles = r.cycles), r.reused && (this.ctx.reused = r.reused), r.external && (this.ctx.external = r.external)), Ho(this.ctx, t);
19260
+ const o = Ko(this.ctx, t), { "~standard": n, ...i } = o;
19239
19261
  return i;
19240
19262
  }
19241
19263
  }
@@ -19402,7 +19424,7 @@ const v4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19402
19424
  _jwt: Id,
19403
19425
  _ksuid: hd,
19404
19426
  _lazy: g4,
19405
- _length: ni,
19427
+ _length: ri,
19406
19428
  _literal: r4,
19407
19429
  _lowercase: oa,
19408
19430
  _lt: dr,
@@ -19410,7 +19432,7 @@ const v4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19410
19432
  _mac: Pw,
19411
19433
  _map: Xk,
19412
19434
  _max: xn,
19413
- _maxLength: ti,
19435
+ _maxLength: ni,
19414
19436
  _maxSize: go,
19415
19437
  _mime: ca,
19416
19438
  _min: nn,
@@ -19448,7 +19470,7 @@ const v4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19448
19470
  _safeParse: Zi,
19449
19471
  _safeParseAsync: qi,
19450
19472
  _set: e4,
19451
- _size: ei,
19473
+ _size: ti,
19452
19474
  _slugify: ga,
19453
19475
  _startsWith: la,
19454
19476
  _string: Tw,
@@ -19487,13 +19509,13 @@ const v4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19487
19509
  describe: mb,
19488
19510
  encode: Qx,
19489
19511
  encodeAsync: Mx,
19490
- extractDefs: Vo,
19491
- finalize: Ho,
19512
+ extractDefs: Ho,
19513
+ finalize: Ko,
19492
19514
  flattenError: ql,
19493
19515
  formatError: Xl,
19494
19516
  globalConfig: Ql,
19495
19517
  globalRegistry: Bn,
19496
- initializeContext: jo,
19518
+ initializeContext: Vo,
19497
19519
  isValidBase64: $u,
19498
19520
  isValidBase64URL: Uv,
19499
19521
  isValidJWT: Lv,
@@ -19522,11 +19544,11 @@ const v4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19522
19544
  gt: fr,
19523
19545
  gte: nn,
19524
19546
  includes: aa,
19525
- length: ni,
19547
+ length: ri,
19526
19548
  lowercase: oa,
19527
19549
  lt: dr,
19528
19550
  lte: xn,
19529
- maxLength: ti,
19551
+ maxLength: ni,
19530
19552
  maxSize: go,
19531
19553
  mime: ca,
19532
19554
  minLength: Or,
@@ -19540,7 +19562,7 @@ const v4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19540
19562
  positive: os,
19541
19563
  property: ss,
19542
19564
  regex: ra,
19543
- size: ei,
19565
+ size: ti,
19544
19566
  slugify: ga,
19545
19567
  startsWith: la,
19546
19568
  toLowerCase: fa,
@@ -19624,7 +19646,7 @@ const kd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19624
19646
  ]
19625
19647
  }), {
19626
19648
  parent: !0
19627
- }), e.with = e.check, e.clone = (r, o) => Sn(e, r, o), e.brand = () => e, e.register = (r, o) => (r.add(e, o), e), e.parse = (r, o) => Qd(e, r, o, { callee: e.parse }), e.safeParse = (r, o) => Md(e, r, o), e.parseAsync = async (r, o) => Od(e, r, o, { callee: e.parseAsync }), e.safeParseAsync = async (r, o) => Td(e, r, o), e.spa = e.safeParseAsync, e.encode = (r, o) => Fd(e, r, o), e.decode = (r, o) => Pd(e, r, o), e.encodeAsync = async (r, o) => zd(e, r, o), e.decodeAsync = async (r, o) => Ud(e, r, o), e.safeEncode = (r, o) => Rd(e, r, o), e.safeDecode = (r, o) => Nd(e, r, o), e.safeEncodeAsync = async (r, o) => Ld(e, r, o), e.safeDecodeAsync = async (r, o) => jd(e, r, o), e.refine = (r, o) => e.check(Xs(r, o)), e.superRefine = (r) => e.check(ec(r)), e.overwrite = (r) => e.check(/* @__PURE__ */ er(r)), e.optional = () => Go(e), e.exactOptional = () => zs(e), e.nullable = () => Yo(e), e.nullish = () => Go(Yo(e)), e.nonoptional = (r) => js(e, r), e.array = () => ai(e), e.or = (r) => za([e, r]), e.and = (r) => xs(e, r), e.transform = (r) => _o(e, Na(r)), e.default = (r) => Rs(e, r), e.prefault = (r) => Ls(e, r), e.catch = (r) => Ks(e, r), e.pipe = (r) => _o(e, r), e.readonly = () => _s(e), e.describe = (r) => {
19649
+ }), e.with = e.check, e.clone = (r, o) => Sn(e, r, o), e.brand = () => e, e.register = (r, o) => (r.add(e, o), e), e.parse = (r, o) => Qd(e, r, o, { callee: e.parse }), e.safeParse = (r, o) => Md(e, r, o), e.parseAsync = async (r, o) => Od(e, r, o, { callee: e.parseAsync }), e.safeParseAsync = async (r, o) => Td(e, r, o), e.spa = e.safeParseAsync, e.encode = (r, o) => Fd(e, r, o), e.decode = (r, o) => Pd(e, r, o), e.encodeAsync = async (r, o) => zd(e, r, o), e.decodeAsync = async (r, o) => Ud(e, r, o), e.safeEncode = (r, o) => Rd(e, r, o), e.safeDecode = (r, o) => Nd(e, r, o), e.safeEncodeAsync = async (r, o) => Ld(e, r, o), e.safeDecodeAsync = async (r, o) => jd(e, r, o), e.refine = (r, o) => e.check(Xs(r, o)), e.superRefine = (r) => e.check(ec(r)), e.overwrite = (r) => e.check(/* @__PURE__ */ er(r)), e.optional = () => Yo(e), e.exactOptional = () => zs(e), e.nullable = () => _o(e), e.nullish = () => Yo(_o(e)), e.nonoptional = (r) => js(e, r), e.array = () => li(e), e.or = (r) => za([e, r]), e.and = (r) => xs(e, r), e.transform = (r) => Jo(e, Na(r)), e.default = (r) => Rs(e, r), e.prefault = (r) => Ls(e, r), e.catch = (r) => Ks(e, r), e.pipe = (r) => Jo(e, r), e.readonly = () => _s(e), e.describe = (r) => {
19628
19650
  const o = e.clone();
19629
19651
  return Bn.add(o, { description: r }), o;
19630
19652
  }, Object.defineProperty(e, "description", {
@@ -19641,26 +19663,26 @@ const kd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19641
19663
  }, e.isOptional = () => e.safeParse(void 0).success, e.isNullable = () => e.safeParse(null).success, e.apply = (r) => r(e), e)), ha = /* @__PURE__ */ Q("_ZodString", (e, t) => {
19642
19664
  na.init(e, t), He.init(e, t), e._zod.processJSONSchema = (o, n, i) => wb(e, o, n);
19643
19665
  const r = e._zod.bag;
19644
- e.format = r.format ?? null, e.minLength = r.minimum ?? null, e.maxLength = r.maximum ?? null, e.regex = (...o) => e.check(/* @__PURE__ */ ra(...o)), e.includes = (...o) => e.check(/* @__PURE__ */ aa(...o)), e.startsWith = (...o) => e.check(/* @__PURE__ */ la(...o)), e.endsWith = (...o) => e.check(/* @__PURE__ */ sa(...o)), e.min = (...o) => e.check(/* @__PURE__ */ Or(...o)), e.max = (...o) => e.check(/* @__PURE__ */ ti(...o)), e.length = (...o) => e.check(/* @__PURE__ */ ni(...o)), e.nonempty = (...o) => e.check(/* @__PURE__ */ Or(1, ...o)), e.lowercase = (o) => e.check(/* @__PURE__ */ oa(o)), e.uppercase = (o) => e.check(/* @__PURE__ */ ia(o)), e.trim = () => e.check(/* @__PURE__ */ da()), e.normalize = (...o) => e.check(/* @__PURE__ */ ua(...o)), e.toLowerCase = () => e.check(/* @__PURE__ */ fa()), e.toUpperCase = () => e.check(/* @__PURE__ */ Aa()), e.slugify = () => e.check(/* @__PURE__ */ ga());
19666
+ e.format = r.format ?? null, e.minLength = r.minimum ?? null, e.maxLength = r.maximum ?? null, e.regex = (...o) => e.check(/* @__PURE__ */ ra(...o)), e.includes = (...o) => e.check(/* @__PURE__ */ aa(...o)), e.startsWith = (...o) => e.check(/* @__PURE__ */ la(...o)), e.endsWith = (...o) => e.check(/* @__PURE__ */ sa(...o)), e.min = (...o) => e.check(/* @__PURE__ */ Or(...o)), e.max = (...o) => e.check(/* @__PURE__ */ ni(...o)), e.length = (...o) => e.check(/* @__PURE__ */ ri(...o)), e.nonempty = (...o) => e.check(/* @__PURE__ */ Or(1, ...o)), e.lowercase = (o) => e.check(/* @__PURE__ */ oa(o)), e.uppercase = (o) => e.check(/* @__PURE__ */ ia(o)), e.trim = () => e.check(/* @__PURE__ */ da()), e.normalize = (...o) => e.check(/* @__PURE__ */ ua(...o)), e.toLowerCase = () => e.check(/* @__PURE__ */ fa()), e.toUpperCase = () => e.check(/* @__PURE__ */ Aa()), e.slugify = () => e.check(/* @__PURE__ */ ga());
19645
19667
  }), zr = /* @__PURE__ */ Q("ZodString", (e, t) => {
19646
- na.init(e, t), ha.init(e, t), e.email = (r) => e.check(/* @__PURE__ */ id(ri, r)), e.url = (r) => e.check(/* @__PURE__ */ rs(oi, r)), e.jwt = (r) => e.check(/* @__PURE__ */ Id(Oa, r)), e.emoji = (r) => e.check(/* @__PURE__ */ ud(pa, r)), e.guid = (r) => e.check(/* @__PURE__ */ Fl(Ko, r)), e.uuid = (r) => e.check(/* @__PURE__ */ ad(Ln, r)), e.uuidv4 = (r) => e.check(/* @__PURE__ */ ld(Ln, r)), e.uuidv6 = (r) => e.check(/* @__PURE__ */ sd(Ln, r)), e.uuidv7 = (r) => e.check(/* @__PURE__ */ cd(Ln, r)), e.nanoid = (r) => e.check(/* @__PURE__ */ dd(va, r)), e.guid = (r) => e.check(/* @__PURE__ */ Fl(Ko, r)), e.cuid = (r) => e.check(/* @__PURE__ */ fd(wa, r)), e.cuid2 = (r) => e.check(/* @__PURE__ */ Ad(ba, r)), e.ulid = (r) => e.check(/* @__PURE__ */ gd(ya, r)), e.base64 = (r) => e.check(/* @__PURE__ */ yd(Sa, r)), e.base64url = (r) => e.check(/* @__PURE__ */ Cd(ka, r)), e.xid = (r) => e.check(/* @__PURE__ */ md(Ca, r)), e.ksuid = (r) => e.check(/* @__PURE__ */ hd(Ea, r)), e.ipv4 = (r) => e.check(/* @__PURE__ */ pd(Ia, r)), e.ipv6 = (r) => e.check(/* @__PURE__ */ vd(Da, r)), e.cidrv4 = (r) => e.check(/* @__PURE__ */ wd(Ba, r)), e.cidrv6 = (r) => e.check(/* @__PURE__ */ bd(xa, r)), e.e164 = (r) => e.check(/* @__PURE__ */ Ed(Qa, r)), e.datetime = (r) => e.check(ry(r)), e.date = (r) => e.check(oy(r)), e.time = (r) => e.check(iy(r)), e.duration = (r) => e.check(ay(r));
19668
+ na.init(e, t), ha.init(e, t), e.email = (r) => e.check(/* @__PURE__ */ id(oi, r)), e.url = (r) => e.check(/* @__PURE__ */ rs(ii, r)), e.jwt = (r) => e.check(/* @__PURE__ */ Id(Oa, r)), e.emoji = (r) => e.check(/* @__PURE__ */ ud(pa, r)), e.guid = (r) => e.check(/* @__PURE__ */ Fl(Go, r)), e.uuid = (r) => e.check(/* @__PURE__ */ ad(Ln, r)), e.uuidv4 = (r) => e.check(/* @__PURE__ */ ld(Ln, r)), e.uuidv6 = (r) => e.check(/* @__PURE__ */ sd(Ln, r)), e.uuidv7 = (r) => e.check(/* @__PURE__ */ cd(Ln, r)), e.nanoid = (r) => e.check(/* @__PURE__ */ dd(va, r)), e.guid = (r) => e.check(/* @__PURE__ */ Fl(Go, r)), e.cuid = (r) => e.check(/* @__PURE__ */ fd(wa, r)), e.cuid2 = (r) => e.check(/* @__PURE__ */ Ad(ba, r)), e.ulid = (r) => e.check(/* @__PURE__ */ gd(ya, r)), e.base64 = (r) => e.check(/* @__PURE__ */ yd(Sa, r)), e.base64url = (r) => e.check(/* @__PURE__ */ Cd(ka, r)), e.xid = (r) => e.check(/* @__PURE__ */ md(Ca, r)), e.ksuid = (r) => e.check(/* @__PURE__ */ hd(Ea, r)), e.ipv4 = (r) => e.check(/* @__PURE__ */ pd(Ia, r)), e.ipv6 = (r) => e.check(/* @__PURE__ */ vd(Da, r)), e.cidrv4 = (r) => e.check(/* @__PURE__ */ wd(Ba, r)), e.cidrv6 = (r) => e.check(/* @__PURE__ */ bd(xa, r)), e.e164 = (r) => e.check(/* @__PURE__ */ Ed(Qa, r)), e.datetime = (r) => e.check(ry(r)), e.date = (r) => e.check(oy(r)), e.time = (r) => e.check(iy(r)), e.duration = (r) => e.check(ay(r));
19647
19669
  });
19648
19670
  function Ni(e) {
19649
19671
  return /* @__PURE__ */ Tw(zr, e);
19650
19672
  }
19651
19673
  const ct = /* @__PURE__ */ Q("ZodStringFormat", (e, t) => {
19652
19674
  dt.init(e, t), ha.init(e, t);
19653
- }), ri = /* @__PURE__ */ Q("ZodEmail", (e, t) => {
19675
+ }), oi = /* @__PURE__ */ Q("ZodEmail", (e, t) => {
19654
19676
  vv.init(e, t), ct.init(e, t);
19655
19677
  });
19656
19678
  function Vd(e) {
19657
- return /* @__PURE__ */ id(ri, e);
19679
+ return /* @__PURE__ */ id(oi, e);
19658
19680
  }
19659
- const Ko = /* @__PURE__ */ Q("ZodGUID", (e, t) => {
19681
+ const Go = /* @__PURE__ */ Q("ZodGUID", (e, t) => {
19660
19682
  hv.init(e, t), ct.init(e, t);
19661
19683
  });
19662
19684
  function Hd(e) {
19663
- return /* @__PURE__ */ Fl(Ko, e);
19685
+ return /* @__PURE__ */ Fl(Go, e);
19664
19686
  }
19665
19687
  const Ln = /* @__PURE__ */ Q("ZodUUID", (e, t) => {
19666
19688
  pv.init(e, t), ct.init(e, t);
@@ -19677,14 +19699,14 @@ function Yd(e) {
19677
19699
  function _d(e) {
19678
19700
  return /* @__PURE__ */ cd(Ln, e);
19679
19701
  }
19680
- const oi = /* @__PURE__ */ Q("ZodURL", (e, t) => {
19702
+ const ii = /* @__PURE__ */ Q("ZodURL", (e, t) => {
19681
19703
  wv.init(e, t), ct.init(e, t);
19682
19704
  });
19683
19705
  function Jd(e) {
19684
- return /* @__PURE__ */ rs(oi, e);
19706
+ return /* @__PURE__ */ rs(ii, e);
19685
19707
  }
19686
19708
  function $d(e) {
19687
- return /* @__PURE__ */ rs(oi, {
19709
+ return /* @__PURE__ */ rs(ii, {
19688
19710
  protocol: /^https?$/,
19689
19711
  hostname: Tp,
19690
19712
  ...$(e)
@@ -19836,16 +19858,16 @@ const ho = /* @__PURE__ */ Q("ZodBoolean", (e, t) => {
19836
19858
  function ms(e) {
19837
19859
  return /* @__PURE__ */ _w(ho, e);
19838
19860
  }
19839
- const ii = /* @__PURE__ */ Q("ZodBigInt", (e, t) => {
19861
+ const ai = /* @__PURE__ */ Q("ZodBigInt", (e, t) => {
19840
19862
  qu.init(e, t), He.init(e, t), e._zod.processJSONSchema = (o, n, i) => Cb(e, o), e.gte = (o, n) => e.check(/* @__PURE__ */ nn(o, n)), e.min = (o, n) => e.check(/* @__PURE__ */ nn(o, n)), e.gt = (o, n) => e.check(/* @__PURE__ */ fr(o, n)), e.gte = (o, n) => e.check(/* @__PURE__ */ nn(o, n)), e.min = (o, n) => e.check(/* @__PURE__ */ nn(o, n)), e.lt = (o, n) => e.check(/* @__PURE__ */ dr(o, n)), e.lte = (o, n) => e.check(/* @__PURE__ */ xn(o, n)), e.max = (o, n) => e.check(/* @__PURE__ */ xn(o, n)), e.positive = (o) => e.check(/* @__PURE__ */ fr(BigInt(0), o)), e.negative = (o) => e.check(/* @__PURE__ */ dr(BigInt(0), o)), e.nonpositive = (o) => e.check(/* @__PURE__ */ xn(BigInt(0), o)), e.nonnegative = (o) => e.check(/* @__PURE__ */ nn(BigInt(0), o)), e.multipleOf = (o, n) => e.check(/* @__PURE__ */ lo(o, n));
19841
19863
  const r = e._zod.bag;
19842
19864
  e.minValue = r.minimum ?? null, e.maxValue = r.maximum ?? null, e.format = r.format ?? null;
19843
19865
  });
19844
19866
  function yf(e) {
19845
- return /* @__PURE__ */ $w(ii, e);
19867
+ return /* @__PURE__ */ $w(ai, e);
19846
19868
  }
19847
19869
  const Ma = /* @__PURE__ */ Q("ZodBigIntFormat", (e, t) => {
19848
- Kv.init(e, t), ii.init(e, t);
19870
+ Kv.init(e, t), ai.init(e, t);
19849
19871
  });
19850
19872
  function Cf(e) {
19851
19873
  return /* @__PURE__ */ Zw(Ma, e);
@@ -19904,9 +19926,9 @@ function Sf(e) {
19904
19926
  return /* @__PURE__ */ ab(Fa, e);
19905
19927
  }
19906
19928
  const Pa = /* @__PURE__ */ Q("ZodArray", (e, t) => {
19907
- Xv.init(e, t), He.init(e, t), e._zod.processJSONSchema = (r, o, n) => Vb(e, r, o, n), e.element = t.element, e.min = (r, o) => e.check(/* @__PURE__ */ Or(r, o)), e.nonempty = (r) => e.check(/* @__PURE__ */ Or(1, r)), e.max = (r, o) => e.check(/* @__PURE__ */ ti(r, o)), e.length = (r, o) => e.check(/* @__PURE__ */ ni(r, o)), e.unwrap = () => e.element;
19929
+ Xv.init(e, t), He.init(e, t), e._zod.processJSONSchema = (r, o, n) => Vb(e, r, o, n), e.element = t.element, e.min = (r, o) => e.check(/* @__PURE__ */ Or(r, o)), e.nonempty = (r) => e.check(/* @__PURE__ */ Or(1, r)), e.max = (r, o) => e.check(/* @__PURE__ */ ni(r, o)), e.length = (r, o) => e.check(/* @__PURE__ */ ri(r, o)), e.unwrap = () => e.element;
19908
19930
  });
19909
- function ai(e, t) {
19931
+ function li(e, t) {
19910
19932
  return /* @__PURE__ */ cb(Pa, e, t);
19911
19933
  }
19912
19934
  function kf(e) {
@@ -19914,7 +19936,7 @@ function kf(e) {
19914
19936
  return Ra(Object.keys(t));
19915
19937
  }
19916
19938
  const Hn = /* @__PURE__ */ Q("ZodObject", (e, t) => {
19917
- rw.init(e, t), He.init(e, t), e._zod.processJSONSchema = (r, o, n) => Hb(e, r, o, n), Ye(e, "shape", () => t.shape), e.keyof = () => Ra(Object.keys(e._zod.def.shape)), e.catchall = (r) => e.clone({ ...e._zod.def, catchall: r }), e.passthrough = () => e.clone({ ...e._zod.def, catchall: Mr() }), e.loose = () => e.clone({ ...e._zod.def, catchall: Mr() }), e.strict = () => e.clone({ ...e._zod.def, catchall: Ta() }), e.strip = () => e.clone({ ...e._zod.def, catchall: void 0 }), e.extend = (r) => op(e, r), e.safeExtend = (r) => ip(e, r), e.merge = (r) => ap(e, r), e.pick = (r) => np(e, r), e.omit = (r) => rp(e, r), e.partial = (...r) => lp(si, e, r[0]), e.required = (...r) => sp(La, e, r[0]);
19939
+ rw.init(e, t), He.init(e, t), e._zod.processJSONSchema = (r, o, n) => Hb(e, r, o, n), Ye(e, "shape", () => t.shape), e.keyof = () => Ra(Object.keys(e._zod.def.shape)), e.catchall = (r) => e.clone({ ...e._zod.def, catchall: r }), e.passthrough = () => e.clone({ ...e._zod.def, catchall: Mr() }), e.loose = () => e.clone({ ...e._zod.def, catchall: Mr() }), e.strict = () => e.clone({ ...e._zod.def, catchall: Ta() }), e.strip = () => e.clone({ ...e._zod.def, catchall: void 0 }), e.extend = (r) => op(e, r), e.safeExtend = (r) => ip(e, r), e.merge = (r) => ap(e, r), e.pick = (r) => np(e, r), e.omit = (r) => rp(e, r), e.partial = (...r) => lp(ci, e, r[0]), e.required = (...r) => sp(La, e, r[0]);
19918
19940
  });
19919
19941
  function Is(e, t) {
19920
19942
  const r = {
@@ -19972,11 +19994,11 @@ function Tf(e, t, r) {
19972
19994
  ...$(r)
19973
19995
  });
19974
19996
  }
19975
- const li = /* @__PURE__ */ Q("ZodIntersection", (e, t) => {
19997
+ const si = /* @__PURE__ */ Q("ZodIntersection", (e, t) => {
19976
19998
  aw.init(e, t), He.init(e, t), e._zod.processJSONSchema = (r, o, n) => Kb(e, r, o, n);
19977
19999
  });
19978
20000
  function xs(e, t) {
19979
- return new li({
20001
+ return new si({
19980
20002
  type: "intersection",
19981
20003
  left: e,
19982
20004
  right: t
@@ -20027,7 +20049,7 @@ function Pf(e, t, r) {
20027
20049
  });
20028
20050
  }
20029
20051
  const Qs = /* @__PURE__ */ Q("ZodMap", (e, t) => {
20030
- sw.init(e, t), He.init(e, t), e._zod.processJSONSchema = (r, o, n) => Lb(e, r), e.keyType = t.keyType, e.valueType = t.valueType, e.min = (...r) => e.check(/* @__PURE__ */ Ar(...r)), e.nonempty = (r) => e.check(/* @__PURE__ */ Ar(1, r)), e.max = (...r) => e.check(/* @__PURE__ */ go(...r)), e.size = (...r) => e.check(/* @__PURE__ */ ei(...r));
20052
+ sw.init(e, t), He.init(e, t), e._zod.processJSONSchema = (r, o, n) => Lb(e, r), e.keyType = t.keyType, e.valueType = t.valueType, e.min = (...r) => e.check(/* @__PURE__ */ Ar(...r)), e.nonempty = (r) => e.check(/* @__PURE__ */ Ar(1, r)), e.max = (...r) => e.check(/* @__PURE__ */ go(...r)), e.size = (...r) => e.check(/* @__PURE__ */ ti(...r));
20031
20053
  });
20032
20054
  function zf(e, t, r) {
20033
20055
  return new Qs({
@@ -20038,7 +20060,7 @@ function zf(e, t, r) {
20038
20060
  });
20039
20061
  }
20040
20062
  const Os = /* @__PURE__ */ Q("ZodSet", (e, t) => {
20041
- cw.init(e, t), He.init(e, t), e._zod.processJSONSchema = (r, o, n) => jb(e, r), e.min = (...r) => e.check(/* @__PURE__ */ Ar(...r)), e.nonempty = (r) => e.check(/* @__PURE__ */ Ar(1, r)), e.max = (...r) => e.check(/* @__PURE__ */ go(...r)), e.size = (...r) => e.check(/* @__PURE__ */ ei(...r));
20063
+ cw.init(e, t), He.init(e, t), e._zod.processJSONSchema = (r, o, n) => jb(e, r), e.min = (...r) => e.check(/* @__PURE__ */ Ar(...r)), e.nonempty = (r) => e.check(/* @__PURE__ */ Ar(1, r)), e.max = (...r) => e.check(/* @__PURE__ */ go(...r)), e.size = (...r) => e.check(/* @__PURE__ */ ti(...r));
20042
20064
  });
20043
20065
  function Uf(e, t) {
20044
20066
  return new Os({
@@ -20121,10 +20143,10 @@ const Fs = /* @__PURE__ */ Q("ZodTransform", (e, t) => {
20121
20143
  throw new _l(e.constructor.name);
20122
20144
  r.addIssue = (i) => {
20123
20145
  if (typeof i == "string")
20124
- r.issues.push(No(i, r.value, t));
20146
+ r.issues.push(Lo(i, r.value, t));
20125
20147
  else {
20126
20148
  const a = i;
20127
- a.fatal && (a.continue = !1), a.code ?? (a.code = "custom"), a.input ?? (a.input = r.value), a.inst ?? (a.inst = e), r.issues.push(No(a));
20149
+ a.fatal && (a.continue = !1), a.code ?? (a.code = "custom"), a.input ?? (a.input = r.value), a.inst ?? (a.inst = e), r.issues.push(Lo(a));
20128
20150
  }
20129
20151
  };
20130
20152
  const n = t.transform(r.value, r);
@@ -20137,11 +20159,11 @@ function Na(e) {
20137
20159
  transform: e
20138
20160
  });
20139
20161
  }
20140
- const si = /* @__PURE__ */ Q("ZodOptional", (e, t) => {
20162
+ const ci = /* @__PURE__ */ Q("ZodOptional", (e, t) => {
20141
20163
  ed.init(e, t), He.init(e, t), e._zod.processJSONSchema = (r, o, n) => xd(e, r, o, n), e.unwrap = () => e._zod.def.innerType;
20142
20164
  });
20143
- function Go(e) {
20144
- return new si({
20165
+ function Yo(e) {
20166
+ return new ci({
20145
20167
  type: "optional",
20146
20168
  innerType: e
20147
20169
  });
@@ -20158,20 +20180,20 @@ function zs(e) {
20158
20180
  const Us = /* @__PURE__ */ Q("ZodNullable", (e, t) => {
20159
20181
  mw.init(e, t), He.init(e, t), e._zod.processJSONSchema = (r, o, n) => _b(e, r, o, n), e.unwrap = () => e._zod.def.innerType;
20160
20182
  });
20161
- function Yo(e) {
20183
+ function _o(e) {
20162
20184
  return new Us({
20163
20185
  type: "nullable",
20164
20186
  innerType: e
20165
20187
  });
20166
20188
  }
20167
20189
  function jf(e) {
20168
- return Go(Yo(e));
20190
+ return Yo(_o(e));
20169
20191
  }
20170
- const ci = /* @__PURE__ */ Q("ZodDefault", (e, t) => {
20192
+ const ui = /* @__PURE__ */ Q("ZodDefault", (e, t) => {
20171
20193
  hw.init(e, t), He.init(e, t), e._zod.processJSONSchema = (r, o, n) => $b(e, r, o, n), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
20172
20194
  });
20173
20195
  function Rs(e, t) {
20174
- return new ci({
20196
+ return new ui({
20175
20197
  type: "default",
20176
20198
  innerType: e,
20177
20199
  get defaultValue() {
@@ -20229,7 +20251,7 @@ function Hf(e) {
20229
20251
  const ja = /* @__PURE__ */ Q("ZodPipe", (e, t) => {
20230
20252
  Cw.init(e, t), He.init(e, t), e._zod.processJSONSchema = (r, o, n) => qb(e, r, o, n), e.in = t.in, e.out = t.out;
20231
20253
  });
20232
- function _o(e, t) {
20254
+ function Jo(e, t) {
20233
20255
  return new ja({
20234
20256
  type: "pipe",
20235
20257
  in: e,
@@ -20289,14 +20311,14 @@ function Yf(e) {
20289
20311
  const qs = /* @__PURE__ */ Q("ZodFunction", (e, t) => {
20290
20312
  Dw.init(e, t), He.init(e, t), e._zod.processJSONSchema = (r, o, n) => Rb(e, r);
20291
20313
  });
20292
- function Jo(e) {
20314
+ function $o(e) {
20293
20315
  return new qs({
20294
20316
  type: "function",
20295
- input: Array.isArray(e == null ? void 0 : e.input) ? Ss(e == null ? void 0 : e.input) : (e == null ? void 0 : e.input) ?? ai(Mr()),
20317
+ input: Array.isArray(e == null ? void 0 : e.input) ? Ss(e == null ? void 0 : e.input) : (e == null ? void 0 : e.input) ?? li(Mr()),
20296
20318
  output: (e == null ? void 0 : e.output) ?? Mr()
20297
20319
  });
20298
20320
  }
20299
- const ui = /* @__PURE__ */ Q("ZodCustom", (e, t) => {
20321
+ const di = /* @__PURE__ */ Q("ZodCustom", (e, t) => {
20300
20322
  Sw.init(e, t), He.init(e, t), e._zod.processJSONSchema = (r, o, n) => Ub(e, r);
20301
20323
  });
20302
20324
  function _f(e) {
@@ -20307,17 +20329,17 @@ function _f(e) {
20307
20329
  return t._zod.check = e, t;
20308
20330
  }
20309
20331
  function Jf(e, t) {
20310
- return /* @__PURE__ */ db(ui, e ?? (() => !0), t);
20332
+ return /* @__PURE__ */ db(di, e ?? (() => !0), t);
20311
20333
  }
20312
20334
  function Xs(e, t = {}) {
20313
- return /* @__PURE__ */ fb(ui, e, t);
20335
+ return /* @__PURE__ */ fb(di, e, t);
20314
20336
  }
20315
20337
  function ec(e) {
20316
20338
  return /* @__PURE__ */ Ab(e);
20317
20339
  }
20318
20340
  const $f = mb, Wf = hb;
20319
20341
  function Zf(e, t = {}) {
20320
- const r = new ui({
20342
+ const r = new di({
20321
20343
  type: "custom",
20322
20344
  check: "custom",
20323
20345
  fn: (o) => o instanceof e,
@@ -20340,11 +20362,11 @@ const qf = (...e) => /* @__PURE__ */ pb({
20340
20362
  String: zr
20341
20363
  }, ...e);
20342
20364
  function Xf(e) {
20343
- const t = Ws(() => za([Ni(e), gs(), ms(), ws(), ai(t), ks(Ni(), t)]));
20365
+ const t = Ws(() => za([Ni(e), gs(), ms(), ws(), li(t), ks(Ni(), t)]));
20344
20366
  return t;
20345
20367
  }
20346
20368
  function eA(e, t) {
20347
- return _o(Na(e), t);
20369
+ return Jo(Na(e), t);
20348
20370
  }
20349
20371
  const b4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20350
20372
  __proto__: null,
@@ -20352,7 +20374,7 @@ const b4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20352
20374
  ZodArray: Pa,
20353
20375
  ZodBase64: Sa,
20354
20376
  ZodBase64URL: ka,
20355
- ZodBigInt: ii,
20377
+ ZodBigInt: ai,
20356
20378
  ZodBigIntFormat: Ma,
20357
20379
  ZodBoolean: ho,
20358
20380
  ZodCIDRv4: Ba,
@@ -20361,22 +20383,22 @@ const b4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20361
20383
  ZodCUID2: ba,
20362
20384
  ZodCatch: Hs,
20363
20385
  ZodCodec: Va,
20364
- ZodCustom: ui,
20386
+ ZodCustom: di,
20365
20387
  ZodCustomStringFormat: mo,
20366
20388
  ZodDate: Fa,
20367
- ZodDefault: ci,
20389
+ ZodDefault: ui,
20368
20390
  ZodDiscriminatedUnion: Bs,
20369
20391
  ZodE164: Qa,
20370
- ZodEmail: ri,
20392
+ ZodEmail: oi,
20371
20393
  ZodEmoji: pa,
20372
20394
  ZodEnum: so,
20373
20395
  ZodExactOptional: Ps,
20374
20396
  ZodFile: Ts,
20375
20397
  ZodFunction: qs,
20376
- ZodGUID: Ko,
20398
+ ZodGUID: Go,
20377
20399
  ZodIPv4: Ia,
20378
20400
  ZodIPv6: Da,
20379
- ZodIntersection: li,
20401
+ ZodIntersection: si,
20380
20402
  ZodJWT: Oa,
20381
20403
  ZodKSUID: Ea,
20382
20404
  ZodLazy: $s,
@@ -20392,7 +20414,7 @@ const b4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20392
20414
  ZodNumber: Ur,
20393
20415
  ZodNumberFormat: Rr,
20394
20416
  ZodObject: Hn,
20395
- ZodOptional: si,
20417
+ ZodOptional: ci,
20396
20418
  ZodPipe: ja,
20397
20419
  ZodPrefault: Ns,
20398
20420
  ZodPromise: Zs,
@@ -20408,7 +20430,7 @@ const b4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20408
20430
  ZodTuple: Ua,
20409
20431
  ZodType: He,
20410
20432
  ZodULID: ya,
20411
- ZodURL: oi,
20433
+ ZodURL: ii,
20412
20434
  ZodUUID: Ln,
20413
20435
  ZodUndefined: ps,
20414
20436
  ZodUnion: po,
@@ -20418,9 +20440,9 @@ const b4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20418
20440
  ZodXor: Ds,
20419
20441
  _ZodString: ha,
20420
20442
  _default: Rs,
20421
- _function: Jo,
20443
+ _function: $o,
20422
20444
  any: Bf,
20423
- array: ai,
20445
+ array: li,
20424
20446
  base64: cf,
20425
20447
  base64url: uf,
20426
20448
  bigint: yf,
@@ -20444,7 +20466,7 @@ const b4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20444
20466
  file: Lf,
20445
20467
  float32: pf,
20446
20468
  float64: vf,
20447
- function: Jo,
20469
+ function: $o,
20448
20470
  guid: Hd,
20449
20471
  hash: hf,
20450
20472
  hex: mf,
@@ -20474,13 +20496,13 @@ const b4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20474
20496
  never: Ta,
20475
20497
  nonoptional: js,
20476
20498
  null: ws,
20477
- nullable: Yo,
20499
+ nullable: _o,
20478
20500
  nullish: jf,
20479
20501
  number: gs,
20480
20502
  object: Is,
20481
- optional: Go,
20503
+ optional: Yo,
20482
20504
  partialRecord: Ff,
20483
- pipe: _o,
20505
+ pipe: Jo,
20484
20506
  prefault: Ls,
20485
20507
  preprocess: eA,
20486
20508
  promise: Yf,
@@ -20533,8 +20555,8 @@ function uy(e) {
20533
20555
  function dy() {
20534
20556
  return _t().customError;
20535
20557
  }
20536
- var $o;
20537
- $o || ($o = {});
20558
+ var Wo;
20559
+ Wo || (Wo = {});
20538
20560
  const fe = {
20539
20561
  ...b4,
20540
20562
  ...w4,
@@ -20824,7 +20846,7 @@ function B4(e) {
20824
20846
  return /* @__PURE__ */ Jw(ho, e);
20825
20847
  }
20826
20848
  function x4(e) {
20827
- return /* @__PURE__ */ Ww(ii, e);
20849
+ return /* @__PURE__ */ Ww(ai, e);
20828
20850
  }
20829
20851
  function S4(e) {
20830
20852
  return /* @__PURE__ */ lb(Fa, e);
@@ -20849,7 +20871,7 @@ const Fg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20849
20871
  ZodArray: Pa,
20850
20872
  ZodBase64: Sa,
20851
20873
  ZodBase64URL: ka,
20852
- ZodBigInt: ii,
20874
+ ZodBigInt: ai,
20853
20875
  ZodBigIntFormat: Ma,
20854
20876
  ZodBoolean: ho,
20855
20877
  ZodCIDRv4: Ba,
@@ -20858,30 +20880,30 @@ const Fg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20858
20880
  ZodCUID2: ba,
20859
20881
  ZodCatch: Hs,
20860
20882
  ZodCodec: Va,
20861
- ZodCustom: ui,
20883
+ ZodCustom: di,
20862
20884
  ZodCustomStringFormat: mo,
20863
20885
  ZodDate: Fa,
20864
- ZodDefault: ci,
20886
+ ZodDefault: ui,
20865
20887
  ZodDiscriminatedUnion: Bs,
20866
20888
  ZodE164: Qa,
20867
- ZodEmail: ri,
20889
+ ZodEmail: oi,
20868
20890
  ZodEmoji: pa,
20869
20891
  ZodEnum: so,
20870
20892
  ZodError: sy,
20871
20893
  ZodExactOptional: Ps,
20872
20894
  ZodFile: Ts,
20873
20895
  get ZodFirstPartyTypeKind() {
20874
- return $o;
20896
+ return Wo;
20875
20897
  },
20876
20898
  ZodFunction: qs,
20877
- ZodGUID: Ko,
20899
+ ZodGUID: Go,
20878
20900
  ZodIPv4: Ia,
20879
20901
  ZodIPv6: Da,
20880
20902
  ZodISODate: us,
20881
20903
  ZodISODateTime: cs,
20882
20904
  ZodISODuration: fs,
20883
20905
  ZodISOTime: ds,
20884
- ZodIntersection: li,
20906
+ ZodIntersection: si,
20885
20907
  ZodIssueCode: cy,
20886
20908
  ZodJWT: Oa,
20887
20909
  ZodKSUID: Ea,
@@ -20898,7 +20920,7 @@ const Fg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20898
20920
  ZodNumber: Ur,
20899
20921
  ZodNumberFormat: Rr,
20900
20922
  ZodObject: Hn,
20901
- ZodOptional: si,
20923
+ ZodOptional: ci,
20902
20924
  ZodPipe: ja,
20903
20925
  ZodPrefault: Ns,
20904
20926
  ZodPromise: Zs,
@@ -20915,7 +20937,7 @@ const Fg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20915
20937
  ZodTuple: Ua,
20916
20938
  ZodType: He,
20917
20939
  ZodULID: ya,
20918
- ZodURL: oi,
20940
+ ZodURL: ii,
20919
20941
  ZodUUID: Ln,
20920
20942
  ZodUndefined: ps,
20921
20943
  ZodUnion: po,
@@ -20925,9 +20947,9 @@ const Fg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20925
20947
  ZodXor: Ds,
20926
20948
  _ZodString: ha,
20927
20949
  _default: Rs,
20928
- _function: Jo,
20950
+ _function: $o,
20929
20951
  any: Bf,
20930
- array: ai,
20952
+ array: li,
20931
20953
  base64: cf,
20932
20954
  base64url: uf,
20933
20955
  bigint: yf,
@@ -20963,7 +20985,7 @@ const Fg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20963
20985
  float64: vf,
20964
20986
  formatError: Xl,
20965
20987
  fromJSONSchema: Ay,
20966
- function: Jo,
20988
+ function: $o,
20967
20989
  getErrorMap: dy,
20968
20990
  globalRegistry: Bn,
20969
20991
  gt: fr,
@@ -20987,7 +21009,7 @@ const Fg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20987
21009
  keyof: kf,
20988
21010
  ksuid: nf,
20989
21011
  lazy: Ws,
20990
- length: ni,
21012
+ length: ri,
20991
21013
  literal: Nf,
20992
21014
  locales: nd,
20993
21015
  looseObject: Of,
@@ -20997,7 +21019,7 @@ const Fg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20997
21019
  lte: xn,
20998
21020
  mac: of,
20999
21021
  map: zf,
21000
- maxLength: ti,
21022
+ maxLength: ni,
21001
21023
  maxSize: go,
21002
21024
  meta: Wf,
21003
21025
  mime: ca,
@@ -21014,16 +21036,16 @@ const Fg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21014
21036
  nonpositive: as,
21015
21037
  normalize: ua,
21016
21038
  null: ws,
21017
- nullable: Yo,
21039
+ nullable: _o,
21018
21040
  nullish: jf,
21019
21041
  number: gs,
21020
21042
  object: Is,
21021
- optional: Go,
21043
+ optional: Yo,
21022
21044
  overwrite: er,
21023
21045
  parse: Qd,
21024
21046
  parseAsync: Od,
21025
21047
  partialRecord: Ff,
21026
- pipe: _o,
21048
+ pipe: Jo,
21027
21049
  positive: os,
21028
21050
  prefault: Ls,
21029
21051
  preprocess: eA,
@@ -21044,7 +21066,7 @@ const Fg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21044
21066
  safeParseAsync: Td,
21045
21067
  set: Uf,
21046
21068
  setErrorMap: uy,
21047
- size: ei,
21069
+ size: ti,
21048
21070
  slugify: ga,
21049
21071
  startsWith: la,
21050
21072
  strictObject: Qf,
@@ -21089,7 +21111,7 @@ const Fg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21089
21111
  ZodArray: Pa,
21090
21112
  ZodBase64: Sa,
21091
21113
  ZodBase64URL: ka,
21092
- ZodBigInt: ii,
21114
+ ZodBigInt: ai,
21093
21115
  ZodBigIntFormat: Ma,
21094
21116
  ZodBoolean: ho,
21095
21117
  ZodCIDRv4: Ba,
@@ -21098,30 +21120,30 @@ const Fg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21098
21120
  ZodCUID2: ba,
21099
21121
  ZodCatch: Hs,
21100
21122
  ZodCodec: Va,
21101
- ZodCustom: ui,
21123
+ ZodCustom: di,
21102
21124
  ZodCustomStringFormat: mo,
21103
21125
  ZodDate: Fa,
21104
- ZodDefault: ci,
21126
+ ZodDefault: ui,
21105
21127
  ZodDiscriminatedUnion: Bs,
21106
21128
  ZodE164: Qa,
21107
- ZodEmail: ri,
21129
+ ZodEmail: oi,
21108
21130
  ZodEmoji: pa,
21109
21131
  ZodEnum: so,
21110
21132
  ZodError: sy,
21111
21133
  ZodExactOptional: Ps,
21112
21134
  ZodFile: Ts,
21113
21135
  get ZodFirstPartyTypeKind() {
21114
- return $o;
21136
+ return Wo;
21115
21137
  },
21116
21138
  ZodFunction: qs,
21117
- ZodGUID: Ko,
21139
+ ZodGUID: Go,
21118
21140
  ZodIPv4: Ia,
21119
21141
  ZodIPv6: Da,
21120
21142
  ZodISODate: us,
21121
21143
  ZodISODateTime: cs,
21122
21144
  ZodISODuration: fs,
21123
21145
  ZodISOTime: ds,
21124
- ZodIntersection: li,
21146
+ ZodIntersection: si,
21125
21147
  ZodIssueCode: cy,
21126
21148
  ZodJWT: Oa,
21127
21149
  ZodKSUID: Ea,
@@ -21138,7 +21160,7 @@ const Fg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21138
21160
  ZodNumber: Ur,
21139
21161
  ZodNumberFormat: Rr,
21140
21162
  ZodObject: Hn,
21141
- ZodOptional: si,
21163
+ ZodOptional: ci,
21142
21164
  ZodPipe: ja,
21143
21165
  ZodPrefault: Ns,
21144
21166
  ZodPromise: Zs,
@@ -21155,7 +21177,7 @@ const Fg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21155
21177
  ZodTuple: Ua,
21156
21178
  ZodType: He,
21157
21179
  ZodULID: ya,
21158
- ZodURL: oi,
21180
+ ZodURL: ii,
21159
21181
  ZodUUID: Ln,
21160
21182
  ZodUndefined: ps,
21161
21183
  ZodUnion: po,
@@ -21165,9 +21187,9 @@ const Fg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21165
21187
  ZodXor: Ds,
21166
21188
  _ZodString: ha,
21167
21189
  _default: Rs,
21168
- _function: Jo,
21190
+ _function: $o,
21169
21191
  any: Bf,
21170
- array: ai,
21192
+ array: li,
21171
21193
  base64: cf,
21172
21194
  base64url: uf,
21173
21195
  bigint: yf,
@@ -21204,7 +21226,7 @@ const Fg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21204
21226
  float64: vf,
21205
21227
  formatError: Xl,
21206
21228
  fromJSONSchema: Ay,
21207
- function: Jo,
21229
+ function: $o,
21208
21230
  getErrorMap: dy,
21209
21231
  globalRegistry: Bn,
21210
21232
  gt: fr,
@@ -21228,7 +21250,7 @@ const Fg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21228
21250
  keyof: kf,
21229
21251
  ksuid: nf,
21230
21252
  lazy: Ws,
21231
- length: ni,
21253
+ length: ri,
21232
21254
  literal: Nf,
21233
21255
  locales: nd,
21234
21256
  looseObject: Of,
@@ -21238,7 +21260,7 @@ const Fg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21238
21260
  lte: xn,
21239
21261
  mac: of,
21240
21262
  map: zf,
21241
- maxLength: ti,
21263
+ maxLength: ni,
21242
21264
  maxSize: go,
21243
21265
  meta: Wf,
21244
21266
  mime: ca,
@@ -21255,16 +21277,16 @@ const Fg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21255
21277
  nonpositive: as,
21256
21278
  normalize: ua,
21257
21279
  null: ws,
21258
- nullable: Yo,
21280
+ nullable: _o,
21259
21281
  nullish: jf,
21260
21282
  number: gs,
21261
21283
  object: Is,
21262
- optional: Go,
21284
+ optional: Yo,
21263
21285
  overwrite: er,
21264
21286
  parse: Qd,
21265
21287
  parseAsync: Od,
21266
21288
  partialRecord: Ff,
21267
- pipe: _o,
21289
+ pipe: Jo,
21268
21290
  positive: os,
21269
21291
  prefault: Ls,
21270
21292
  preprocess: eA,
@@ -21285,7 +21307,7 @@ const Fg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21285
21307
  safeParseAsync: Td,
21286
21308
  set: Uf,
21287
21309
  setErrorMap: uy,
21288
- size: ei,
21310
+ size: ti,
21289
21311
  slugify: ga,
21290
21312
  startsWith: la,
21291
21313
  strictObject: Qf,
@@ -21329,13 +21351,13 @@ cn.set(ho.name, () => {
21329
21351
  });
21330
21352
  cn.set(Ur.name, () => {
21331
21353
  });
21332
- cn.set(ri.name, () => {
21354
+ cn.set(oi.name, () => {
21333
21355
  });
21334
21356
  cn.set(zr.name, () => "");
21335
21357
  cn.set(Pa.name, () => []);
21336
21358
  cn.set(mr.name, () => ({}));
21337
- cn.set(ci.name, (e) => e.def.defaultValue);
21338
- cn.set(si.name, (e) => {
21359
+ cn.set(ui.name, (e) => e.def.defaultValue);
21360
+ cn.set(ci.name, (e) => {
21339
21361
  const t = e.def.innerType;
21340
21362
  return t.type === "default" ? t.def.defaultValue : void 0;
21341
21363
  });
@@ -21348,15 +21370,19 @@ cn.set(Ua.name, (e) => {
21348
21370
  cn.set(po.name, (e) => tA(e.def.options[0]));
21349
21371
  cn.set(Hn.name, (e) => tc(e));
21350
21372
  cn.set(mr.name, (e) => tc(e));
21351
- cn.set(li.name, (e) => tc(e));
21373
+ cn.set(si.name, (e) => tc(e));
21352
21374
  function tA(e) {
21353
21375
  const t = e.constructor.name;
21354
- return cn.has(t) ? cn.get(t)(e) : void 0;
21376
+ if (!cn.has(t)) {
21377
+ console.warn("getSchemaDefaultForField: Unhandled type", e.constructor.name);
21378
+ return;
21379
+ }
21380
+ return cn.get(t)(e);
21355
21381
  }
21356
21382
  function tc(e) {
21357
21383
  return Pg(e, mr) ? {} : Pg(e, Hn) ? Object.fromEntries(
21358
21384
  Object.entries(e.shape).map(([t, r]) => [t, tA(r)])
21359
- ) : {};
21385
+ ) : (console.warn(`getSchemaDefaultObject: Expected object schema, got ${e.constructor.name}`), {});
21360
21386
  }
21361
21387
  function k4(e) {
21362
21388
  return tc(e);
@@ -21397,7 +21423,7 @@ function F4(e) {
21397
21423
  for (const [u, d] of Object.entries(c.shape))
21398
21424
  s[u] = a(d);
21399
21425
  return s;
21400
- } else if (c instanceof li) {
21426
+ } else if (c instanceof si) {
21401
21427
  const s = a(c._def.left), u = a(c._def.right);
21402
21428
  return typeof s == "object" && typeof u == "object" ? { ...s, ...u } : s ?? u;
21403
21429
  } else
@@ -21683,9 +21709,9 @@ const R4 = ["id"], N4 = /* @__PURE__ */ be({
21683
21709
  (u) => {
21684
21710
  if (u) {
21685
21711
  o.value = u;
21686
- const d = Oo(u), A = u.closest(".tt-modal"), g = u.closest(".tt-drawer");
21712
+ const d = Mo(u), A = u.closest(".tt-modal"), g = u.closest(".tt-drawer");
21687
21713
  if (A) {
21688
- const h = Oo(A);
21714
+ const h = Mo(A);
21689
21715
  ge(
21690
21716
  [
21691
21717
  h.x,
@@ -21704,7 +21730,7 @@ const R4 = ["id"], N4 = /* @__PURE__ */ be({
21704
21730
  { flush: "post" }
21705
21731
  );
21706
21732
  } else if (g) {
21707
- const h = Oo(g);
21733
+ const h = Mo(g);
21708
21734
  ge(
21709
21735
  [
21710
21736
  h.x,
@@ -21941,7 +21967,7 @@ function q4(e, t) {
21941
21967
  exists: !1
21942
21968
  };
21943
21969
  } catch {
21944
- return process.env.NODE_ENV, {
21970
+ return process.env.NODE_ENV !== "production" && console.warn(`Failed to describe path ${o} on the schema, returning a default description.`), {
21945
21971
  required: !1,
21946
21972
  exists: !1
21947
21973
  };
@@ -21957,7 +21983,7 @@ function yy(e, t) {
21957
21983
  }
21958
21984
  function Cy(e) {
21959
21985
  if (e instanceof Hn)
21960
- return Object.fromEntries(Object.entries(e.shape).map(([t, r]) => r instanceof ci ? [t, r._def.defaultValue()] : r instanceof Hn ? [t, Cy(r)] : [t, void 0]));
21986
+ return Object.fromEntries(Object.entries(e.shape).map(([t, r]) => r instanceof ui ? [t, r._def.defaultValue()] : r instanceof Hn ? [t, Cy(r)] : [t, void 0]));
21961
21987
  }
21962
21988
  function X4(e, t) {
21963
21989
  if (!Rg(t))
@@ -21982,10 +22008,10 @@ function Ey(e) {
21982
22008
  return e._def.typeName;
21983
22009
  }
21984
22010
  function e1(e) {
21985
- return Ey(e) === $o.ZodArray;
22011
+ return Ey(e) === Wo.ZodArray;
21986
22012
  }
21987
22013
  function Rg(e) {
21988
- return Ey(e) === $o.ZodObject;
22014
+ return Ey(e) === Wo.ZodObject;
21989
22015
  }
21990
22016
  const [rA, t1] = Su("FormRenderProps"), n1 = () => {
21991
22017
  const e = rA(), t = B(() => e.layout === "vertical"), r = B(() => e.componentMap);
@@ -22182,10 +22208,13 @@ const f1 = { class: "flex-auto overflow-hidden" }, A1 = {
22182
22208
  commonComponentProps: {}
22183
22209
  },
22184
22210
  setup(e) {
22185
- const t = ko("wrapperRef"), { componentBindEventMap: r, componentMap: o, isVertical: n } = n1(), i = rA(), a = Hh(), l = Kh(e.fieldName), c = ko("fieldComponentRef"), s = i.form, u = B(() => i.compact), d = B(() => {
22211
+ const t = Qo("wrapperRef"), { componentBindEventMap: r, componentMap: o, isVertical: n } = n1(), i = rA(), a = Hh(), l = Kh(e.fieldName), c = Qo("fieldComponentRef"), s = i.form, u = B(() => i.compact), d = B(() => {
22186
22212
  var x;
22187
22213
  return ((x = l.value) == null ? void 0 : x.length) > 0;
22188
- }), A = B(() => Un(e.component) ? o.value[e.component] : e.component), { dynamicComponentProps: g, dynamicRules: h, isDisabled: p, isIf: m, isRequired: v, isShow: w } = o1(
22214
+ }), A = B(() => {
22215
+ const x = Un(e.component) ? o.value[e.component] : e.component;
22216
+ return x || console.warn(`Component ${e.component} is not registered`), x;
22217
+ }), { dynamicComponentProps: g, dynamicRules: h, isDisabled: p, isIf: m, isRequired: v, isShow: w } = o1(
22189
22218
  () => e.dependencies
22190
22219
  ), I = B(() => {
22191
22220
  var x;
@@ -22419,7 +22448,7 @@ const f1 = { class: "flex-auto overflow-hidden" }, A1 = {
22419
22448
  }
22420
22449
  });
22421
22450
  function m1(e) {
22422
- const t = ko("wrapperRef"), r = Cm(t), o = K({}), n = K(!1), i = cC(uC), a = B(() => {
22451
+ const t = Qo("wrapperRef"), r = Cm(t), o = K({}), n = K(!1), i = cC(uC), a = B(() => {
22423
22452
  const c = e.collapsedRows ?? 1, s = o.value;
22424
22453
  let u = 0;
22425
22454
  for (let d = 1; d <= c; d++)
@@ -22533,8 +22562,8 @@ const h1 = /* @__PURE__ */ be({
22533
22562
  if (Ne(re.formItemClass))
22534
22563
  try {
22535
22564
  z = re.formItemClass();
22536
- } catch {
22537
- z = "";
22565
+ } catch (k) {
22566
+ console.error("Error calling formItemClass function:", k), z = "";
22538
22567
  }
22539
22568
  return {
22540
22569
  colon: g,
@@ -22629,7 +22658,7 @@ const h1 = /* @__PURE__ */ be({
22629
22658
  var v, w;
22630
22659
  !(o != null && o.value.submitOnEnter) || !((v = n.value.formApi) != null && v.isMounted) || m.target instanceof HTMLTextAreaElement || (m.preventDefault(), (w = n.value.formApi) == null || w.validateAndSubmitForm());
22631
22660
  }
22632
- const u = Xo(async () => {
22661
+ const u = ei(async () => {
22633
22662
  var m;
22634
22663
  o != null && o.value.submitOnChange && ((m = n.value.formApi) == null || m.validateAndSubmitForm());
22635
22664
  }, 300), d = {};
@@ -22644,7 +22673,7 @@ const h1 = /* @__PURE__ */ be({
22644
22673
  const E = [];
22645
22674
  if (I.forEach((y) => {
22646
22675
  const C = wn(m, y), b = wn(d, y);
22647
- vn(C, b) || (E.push(y), Qo(d, y, C));
22676
+ vn(C, b) || (E.push(y), Oo(d, y, C));
22648
22677
  }), E.length > 0) {
22649
22678
  const y = await ((w = n.value.formApi) == null ? void 0 : w.getValues());
22650
22679
  n.value.handleValuesChange(cE(y ?? {}), E);
@@ -23242,7 +23271,7 @@ class iA {
23242
23271
  /**
23243
23272
  * 确认操作
23244
23273
  */
23245
- Pe(this, "onOk", Xo(async () => {
23274
+ Pe(this, "onOk", ei(async () => {
23246
23275
  var t, r;
23247
23276
  try {
23248
23277
  this.setDrawerProps({ confirmLoading: !0 }), this.api.onOk && await ((r = (t = this.api).onOk) == null ? void 0 : r.call(t));
@@ -23655,7 +23684,9 @@ async function K1(e, t) {
23655
23684
  return;
23656
23685
  const o = new Set(Object.keys(r));
23657
23686
  for (const i of Object.keys(t))
23658
- o.has(i) && ["class"].includes(i);
23687
+ o.has(i) && !["class"].includes(i) && console.warn(
23688
+ `[Tt Drawer]: When 'connectedComponent' exists, do not set props or slots '${i}', which will increase complexity. If you need to modify the props of Drawer, please use useVbenDrawer or api.`
23689
+ );
23659
23690
  }
23660
23691
  const By = Symbol("SHOW_DRAWER");
23661
23692
  function G1(e) {
@@ -23788,7 +23819,7 @@ function Zc(e) {
23788
23819
  function lA(e) {
23789
23820
  return Array.isArray(e) && e.length;
23790
23821
  }
23791
- function yo(e) {
23822
+ function Co(e) {
23792
23823
  return Array.isArray(e) ? e : Zc(e) ? [e] : [];
23793
23824
  }
23794
23825
  function dl(e, t, r, o, n) {
@@ -23825,7 +23856,7 @@ function nQ(e, { attrs: t, emit: r }, {
23825
23856
  () => {
23826
23857
  e.showCheckbox && pe(() => {
23827
23858
  const p = i.value;
23828
- p && !vn(p.getCheckedKeys(), yo(e.modelValue)) && p.setCheckedKeys(yo(e.modelValue));
23859
+ p && !vn(p.getCheckedKeys(), Co(e.modelValue)) && p.setCheckedKeys(Co(e.modelValue));
23829
23860
  });
23830
23861
  },
23831
23862
  {
@@ -23844,7 +23875,7 @@ function nQ(e, { attrs: t, emit: r }, {
23844
23875
  var w;
23845
23876
  const v = c.value[p];
23846
23877
  return $1(v) ? v(m, (w = i.value) == null ? void 0 : w.getNode(s("value", m))) : m[v];
23847
- }, u = yo(e.modelValue).map((p) => dl(
23878
+ }, u = Co(e.modelValue).map((p) => dl(
23848
23879
  e.data || [],
23849
23880
  (m) => s("value", m) === p,
23850
23881
  (m) => s("children", m),
@@ -23897,7 +23928,7 @@ function nQ(e, { attrs: t, emit: r }, {
23897
23928
  var m;
23898
23929
  pe(() => {
23899
23930
  var w;
23900
- const v = yo(e.modelValue);
23931
+ const v = Co(e.modelValue);
23901
23932
  i.value.setCheckedKeys(v), (w = t.onCheck) == null || w.call(t, p, {
23902
23933
  checkedKeys: i.value.getCheckedKeys(),
23903
23934
  checkedNodes: i.value.getCheckedNodes(),
@@ -23922,7 +23953,7 @@ function nQ(e, { attrs: t, emit: r }, {
23922
23953
  const w = s("value", p);
23923
23954
  if ((I = t.onNodeClick) == null || I.call(t, p, m, v), e.showCheckbox && e.checkStrictly && e.multiple && !e.checkOnClickNode) {
23924
23955
  l = !0;
23925
- const D = yo(e.modelValue);
23956
+ const D = Co(e.modelValue);
23926
23957
  let S = !1;
23927
23958
  D.forEach((L) => {
23928
23959
  L === w && (S = !0);
@@ -23944,7 +23975,7 @@ function nQ(e, { attrs: t, emit: r }, {
23944
23975
  var I;
23945
23976
  if (!e.showCheckbox || l) return;
23946
23977
  if (p.isLeaf || ((I = p.children) == null ? void 0 : I.length) === 0) {
23947
- const E = m.checkedKeys, y = yo(e.modelValue);
23978
+ const E = m.checkedKeys, y = Co(e.modelValue);
23948
23979
  if (!vn(E, y) && (r("update:modelValue", E), e.multiple)) {
23949
23980
  const C = d.value.filter((b) => E.includes(b.value));
23950
23981
  o(C);
@@ -24262,13 +24293,19 @@ const fQ = /* @__PURE__ */ be({
24262
24293
  D.length && D.forEach((S) => {
24263
24294
  var ae;
24264
24295
  const O = (ae = r.checkedOptions) == null ? void 0 : ae[S];
24265
- if (!Array.isArray(O) || O.length === 0)
24296
+ if (!Array.isArray(O) || O.length === 0) {
24297
+ console.warn(`checkedOptions[${S}] 配置错误,必须为非空数组`);
24266
24298
  return;
24299
+ }
24267
24300
  const [L, re] = O.length === 1 ? [O[0], O[0]] : O;
24268
- !L || !re || (b[S] = {
24301
+ if (!L || !re) {
24302
+ console.warn(`checkedOptions[${S}] 配置项无效`);
24303
+ return;
24304
+ }
24305
+ b[S] = {
24269
24306
  label: b[L],
24270
24307
  value: b[re]
24271
- });
24308
+ };
24272
24309
  });
24273
24310
  }
24274
24311
  async function v() {
@@ -24299,8 +24336,10 @@ const fQ = /* @__PURE__ */ be({
24299
24336
  const { valid: b } = await A.validate();
24300
24337
  if (!b) return;
24301
24338
  const { reqParams: D, formValue: S } = await v();
24302
- if (!D)
24339
+ if (!D) {
24340
+ console.warn("自定义校验未通过");
24303
24341
  return;
24342
+ }
24304
24343
  const { addApi: O, editApi: L } = r;
24305
24344
  if (!O && !L) {
24306
24345
  o("submit", {
@@ -24650,8 +24689,9 @@ const bQ = /* @__PURE__ */ be({
24650
24689
  return Xt(h) && h.length > 0 ? h.some((p) => !!(p != null && p.condition)) : Lt(h) ? !!h.condition : !!g;
24651
24690
  }
24652
24691
  function s(A, g = "default", h) {
24653
- if (!A || !Reflect.has(A, g) || !Ne(A[g]))
24654
- return null;
24692
+ if (!A || !Reflect.has(A, g)) return null;
24693
+ if (!Ne(A[g]))
24694
+ return console.error(`${g} is not a function!`), null;
24655
24695
  const p = A[g];
24656
24696
  return p ? p(h) : null;
24657
24697
  }
@@ -24727,22 +24767,22 @@ function CQ(e) {
24727
24767
  function hT() {
24728
24768
  return wt(ky);
24729
24769
  }
24730
- const EQ = "4.3.1", di = {
24770
+ const EQ = "4.3.1", vo = {
24731
24771
  coreVersion: EQ,
24732
24772
  uiVersion: "",
24733
24773
  tableVersion: "",
24734
24774
  designVersion: "",
24735
24775
  ganttVersion: ""
24736
24776
  };
24737
- var To = null, pc = null, yr = null, jg = "z-index-manage", Hr = null, Vg = "z-index-style", Qy = "m", Oy = "s", ji = {
24777
+ var Fo = null, pc = null, yr = null, jg = "z-index-manage", Hr = null, Vg = "z-index-style", Qy = "m", Oy = "s", ji = {
24738
24778
  m: 1e3,
24739
24779
  s: 1e3
24740
24780
  };
24741
24781
  function sA() {
24742
- return To || typeof document < "u" && (To = document), To;
24782
+ return Fo || typeof document < "u" && (Fo = document), Fo;
24743
24783
  }
24744
24784
  function My() {
24745
- return To && !pc && (pc = To.body || To.getElementsByTagName("body")[0]), pc;
24785
+ return Fo && !pc && (pc = Fo.body || Fo.getElementsByTagName("body")[0]), pc;
24746
24786
  }
24747
24787
  function IQ() {
24748
24788
  var e = 0, t = sA();
@@ -24825,7 +24865,7 @@ var BQ = {
24825
24865
  getMax: IQ
24826
24866
  };
24827
24867
  Ty();
24828
- const Wo = {
24868
+ const Zo = {
24829
24869
  size: "",
24830
24870
  version: 1,
24831
24871
  zIndex: 999,
@@ -24839,23 +24879,23 @@ function fA(e) {
24839
24879
  const r = document.documentElement;
24840
24880
  r && r.setAttribute("data-vxe-ui-theme", t);
24841
24881
  }
24842
- return di;
24882
+ return vo;
24843
24883
  }
24844
24884
  function xQ() {
24845
24885
  return Ly.theme;
24846
24886
  }
24847
24887
  function SQ(e) {
24848
- return e && (e.zIndex && BQ.setCurrent(e.zIndex), e.theme && fA(e.theme), Ee.merge(Wo, e)), di;
24888
+ return e && (e.zIndex && BQ.setCurrent(e.zIndex), e.theme && fA(e.theme), Ee.merge(Zo, e)), vo;
24849
24889
  }
24850
24890
  function kQ(e, t) {
24851
- return arguments.length ? Ee.get(Wo, e, t) : Wo;
24891
+ return arguments.length ? Ee.get(Zo, e, t) : Zo;
24852
24892
  }
24853
24893
  const QQ = {}, Xc = {};
24854
24894
  function jy(e) {
24855
24895
  return Ee.isArray(e) ? e : e ? [e] : [];
24856
24896
  }
24857
24897
  function OQ(e) {
24858
- return e && Object.assign(Xc, e), di;
24898
+ return e && Object.assign(Xc, e), vo;
24859
24899
  }
24860
24900
  function Vy(e) {
24861
24901
  return arguments.length ? Ee.get(Xc, e) : Xc;
@@ -24974,7 +25014,7 @@ function zQ() {
24974
25014
  }), Gy());
24975
25015
  }
24976
25016
  function Gy() {
24977
- clearTimeout(Gg), Gg = setTimeout(zQ, Wo.resizeInterval || PQ);
25017
+ clearTimeout(Gg), Gg = setTimeout(zQ, Zo.resizeInterval || PQ);
24978
25018
  }
24979
25019
  class UQ {
24980
25020
  constructor(t) {
@@ -25011,47 +25051,48 @@ const RQ = {
25011
25051
  create(e) {
25012
25052
  return window.ResizeObserver ? new window.ResizeObserver(e) : new UQ(e);
25013
25053
  }
25014
- }, Zo = Et({
25054
+ }, qo = Et({
25015
25055
  language: "",
25016
25056
  langMaps: {}
25017
25057
  });
25018
25058
  let Yg = !1, fl = {};
25019
25059
  function Yy(e, t) {
25020
- const { langMaps: r, language: o } = Zo, { i18n: n } = Wo;
25060
+ const { langMaps: r, language: o } = qo, { i18n: n } = Zo;
25021
25061
  if (n)
25022
25062
  return `${n(e, t) || ""}`;
25023
- if (Yg || (r[o], Yg = !0), !t && fl[e])
25063
+ if (Yg || (r[o] || console.error(`[vxe core] 语言包未安装。Language not installed. https://${vo.uiVersion ? "vxeui.com" : "vxetable.cn"}/#/start/i18n`), Yg = !0), !t && fl[e])
25024
25064
  return fl[e];
25025
25065
  const i = Ee.toFormatString(Ee.get(r[o], e, e), t);
25026
25066
  return t || (fl[e] = i), i;
25027
25067
  }
25028
25068
  function NQ(e) {
25029
- const { language: t } = Zo, r = e || "zh-CN";
25030
- return t !== r && (Zo.language = r, fl = {}), di;
25069
+ const { language: t } = qo, r = e || "zh-CN";
25070
+ return t !== r && (qo.language = r, fl = {}), vo;
25031
25071
  }
25032
25072
  function LQ(e, t) {
25033
- return Zo.langMaps[e] = Object.assign({}, t), di;
25073
+ return qo.langMaps[e] = Object.assign({}, t), vo;
25034
25074
  }
25035
25075
  function jQ(e) {
25036
- const { langMaps: t } = Zo;
25076
+ const { langMaps: t } = qo;
25037
25077
  return !!t[e];
25038
25078
  }
25039
25079
  function VQ() {
25040
- const { language: e } = Zo;
25080
+ const { language: e } = qo;
25041
25081
  return e;
25042
25082
  }
25043
25083
  function vc(e, t) {
25044
25084
  return function(r, o) {
25045
- return `[vxe ${t || ""}] ${Yy(r, o)}`;
25085
+ const n = `[vxe ${t || ""}] ${Yy(r, o)}`;
25086
+ return console[e](n), n;
25046
25087
  };
25047
25088
  }
25048
25089
  const _g = "4.3.1", Wn = {
25049
25090
  create: vc,
25050
25091
  warn: vc("warn", `v${_g}`),
25051
25092
  err: vc("error", `v${_g}`)
25052
- }, hi = {}, Io = {
25093
+ }, hi = {}, Do = {
25053
25094
  mixin(e) {
25054
- return Ee.each(e, (t, r) => Io.add(r, t)), Io;
25095
+ return Ee.each(e, (t, r) => Do.add(r, t)), Do;
25055
25096
  },
25056
25097
  get(e) {
25057
25098
  return hi[e] || null;
@@ -25063,13 +25104,13 @@ const _g = "4.3.1", Wn = {
25063
25104
  !Ee.eqNull(r[n]) && r[n] !== o && Wn.warn("vxe.error.coverProp", [`Renderer.${e}`, n]);
25064
25105
  }), Object.assign(r, t)) : hi[e] = t;
25065
25106
  }
25066
- return Io;
25107
+ return Do;
25067
25108
  },
25068
25109
  forEach(e) {
25069
- return Ee.objectEach(hi, e), Io;
25110
+ return Ee.objectEach(hi, e), Do;
25070
25111
  },
25071
25112
  delete(e) {
25072
- return delete hi[e], Io;
25113
+ return delete hi[e], Do;
25073
25114
  }
25074
25115
  };
25075
25116
  class _y {
@@ -25295,7 +25336,7 @@ const _Q = {
25295
25336
  };
25296
25337
  function gl(e, t) {
25297
25338
  let r = !0, o = !1;
25298
- const n = t || Wo.permissionMethod;
25339
+ const n = t || Zo.permissionMethod;
25299
25340
  if (e && n) {
25300
25341
  r = !1, o = !0;
25301
25342
  let a = !1, l = !1;
@@ -25368,7 +25409,7 @@ function oO(e, t, r) {
25368
25409
  }
25369
25410
  return !1;
25370
25411
  }
25371
- const qe = Object.assign(di, {
25412
+ const qe = Object.assign(vo, {
25372
25413
  renderEmptyElement: rO,
25373
25414
  setTheme: fA,
25374
25415
  getTheme: xQ,
@@ -25387,7 +25428,7 @@ const qe = Object.assign(di, {
25387
25428
  GLOBAL_EVENT_KEYS: Yr,
25388
25429
  createEvent: TQ,
25389
25430
  globalResize: RQ,
25390
- renderer: Io,
25431
+ renderer: Do,
25391
25432
  validators: Jy,
25392
25433
  menus: $y,
25393
25434
  formats: Wy,
@@ -26286,7 +26327,7 @@ function ze(e, t, r) {
26286
26327
  !(t in o) && t.indexOf("webkit") === -1 && (t = "-webkit-" + t), o[t] = r + (typeof r == "string" ? "" : "px");
26287
26328
  }
26288
26329
  }
26289
- function Fo(e, t) {
26330
+ function Po(e, t) {
26290
26331
  var r = "";
26291
26332
  if (typeof e == "string")
26292
26333
  r = e;
@@ -26324,7 +26365,7 @@ function St(e, t, r, o, n) {
26324
26365
  }
26325
26366
  while (n = n.parentNode);
26326
26367
  if (o && e !== window) {
26327
- var g = Fo(n || e), h = g && g.a, p = g && g.d;
26368
+ var g = Po(n || e), h = g && g.a, p = g && g.d;
26328
26369
  g && (a /= p, l /= h, d /= h, u /= p, c = a + u, s = l + d);
26329
26370
  }
26330
26371
  return {
@@ -26346,7 +26387,7 @@ function qg(e, t, r) {
26346
26387
  }
26347
26388
  return !1;
26348
26389
  }
26349
- function qo(e, t, r, o) {
26390
+ function Xo(e, t, r, o) {
26350
26391
  for (var n = 0, i = 0, a = e.children; i < a.length; ) {
26351
26392
  if (a[i].style.display !== "none" && a[i] !== Qe.ghost && (o || a[i] !== Qe.dragged) && zn(a[i], r.draggable, e, !1)) {
26352
26393
  if (n === t)
@@ -26374,7 +26415,7 @@ function Xg(e) {
26374
26415
  var t = 0, r = 0, o = $n();
26375
26416
  if (e)
26376
26417
  do {
26377
- var n = Fo(e), i = n.a, a = n.d;
26418
+ var n = Po(e), i = n.a, a = n.d;
26378
26419
  t += e.scrollLeft * i, r += e.scrollTop * a;
26379
26420
  } while (e !== o && (e = e.parentNode));
26380
26421
  return [t, r];
@@ -26457,7 +26498,7 @@ function DO() {
26457
26498
  });
26458
26499
  var i = Zn({}, e[e.length - 1].rect);
26459
26500
  if (n.thisAnimationDuration) {
26460
- var a = Fo(n, !0);
26501
+ var a = Po(n, !0);
26461
26502
  a && (i.top -= a.f, i.left -= a.e);
26462
26503
  }
26463
26504
  n.fromRect = i;
@@ -26481,7 +26522,7 @@ function DO() {
26481
26522
  }
26482
26523
  var i = !1, a = 0;
26483
26524
  e.forEach(function(l) {
26484
- var c = 0, s = l.target, u = s.fromRect, d = St(s), A = s.prevFromRect, g = s.prevToRect, h = l.rect, p = Fo(s, !0);
26525
+ var c = 0, s = l.target, u = s.fromRect, d = St(s), A = s.prevFromRect, g = s.prevToRect, h = l.rect, p = Po(s, !0);
26485
26526
  p && (d.top -= p.f, d.left -= p.e), s.toRect = d, s.thisAnimationDuration && wc(A, d) && !wc(u, d) && // Make sure animatingRect is on line between toRect & fromRect
26486
26527
  (h.top - d.top) / (h.left - d.left) === (u.top - d.top) / (u.left - d.left) && (c = xO(h, A, g, n.options)), wc(d, u) || (s.prevFromRect = u, s.prevToRect = d, c || (c = n.options.animation), n.animate(s, h, d, c)), c && (i = !0, a = Math.max(a, c), clearTimeout(s.animationResetTimer), s.animationResetTimer = setTimeout(function() {
26487
26528
  s.animationTime = 0, s.prevFromRect = null, s.fromRect = null, s.prevToRect = null, s.thisAnimationDuration = null;
@@ -26493,7 +26534,7 @@ function DO() {
26493
26534
  animate: function(o, n, i, a) {
26494
26535
  if (a) {
26495
26536
  ze(o, "transition", ""), ze(o, "transform", "");
26496
- var l = Fo(this.el), c = l && l.a, s = l && l.d, u = (n.left - i.left) / (c || 1), d = (n.top - i.top) / (s || 1);
26537
+ var l = Po(this.el), c = l && l.a, s = l && l.d, u = (n.left - i.left) / (c || 1), d = (n.top - i.top) / (s || 1);
26497
26538
  o.animatingX = !!u, o.animatingY = !!d, ze(o, "transform", "translate3d(" + u + "px," + d + "px,0)"), this.forRepaintDummy = BO(o), ze(o, "transition", "transform " + a + "ms" + (this.options.easing ? " " + this.options.easing : "")), ze(o, "transform", "translate3d(0,0,0)"), typeof o.animated == "number" && clearTimeout(o.animated), o.animated = setTimeout(function() {
26498
26539
  ze(o, "transition", ""), ze(o, "transform", ""), o.animated = !1, o.animatingX = !1, o.animatingY = !1;
26499
26540
  }, a);
@@ -26507,16 +26548,16 @@ function BO(e) {
26507
26548
  function xO(e, t, r, o) {
26508
26549
  return Math.sqrt(Math.pow(t.top - e.top, 2) + Math.pow(t.left - e.left, 2)) / Math.sqrt(Math.pow(t.top - r.top, 2) + Math.pow(t.left - r.left, 2)) * o.animation;
26509
26550
  }
26510
- var Co = [], bc = {
26551
+ var Eo = [], bc = {
26511
26552
  initializeByDefault: !0
26512
26553
  }, Ka = {
26513
26554
  mount: function(t) {
26514
26555
  for (var r in bc)
26515
26556
  bc.hasOwnProperty(r) && !(r in t) && (t[r] = bc[r]);
26516
- Co.forEach(function(o) {
26557
+ Eo.forEach(function(o) {
26517
26558
  if (o.pluginName === t.pluginName)
26518
26559
  throw "Sortable: Cannot mount plugin ".concat(t.pluginName, " more than once");
26519
- }), Co.push(t);
26560
+ }), Eo.push(t);
26520
26561
  },
26521
26562
  pluginEvent: function(t, r, o) {
26522
26563
  var n = this;
@@ -26524,7 +26565,7 @@ var Co = [], bc = {
26524
26565
  n.eventCanceled = !0;
26525
26566
  };
26526
26567
  var i = t + "Global";
26527
- Co.forEach(function(a) {
26568
+ Eo.forEach(function(a) {
26528
26569
  r[a.pluginName] && (r[a.pluginName][i] && r[a.pluginName][i](Zn({
26529
26570
  sortable: r
26530
26571
  }, o)), r.options[a.pluginName] && r[a.pluginName][t] && r[a.pluginName][t](Zn({
@@ -26533,7 +26574,7 @@ var Co = [], bc = {
26533
26574
  });
26534
26575
  },
26535
26576
  initializePlugins: function(t, r, o, n) {
26536
- Co.forEach(function(l) {
26577
+ Eo.forEach(function(l) {
26537
26578
  var c = l.pluginName;
26538
26579
  if (!(!t.options[c] && !l.initializeByDefault)) {
26539
26580
  var s = new l(t, r, t.options);
@@ -26548,13 +26589,13 @@ var Co = [], bc = {
26548
26589
  },
26549
26590
  getEventProperties: function(t, r) {
26550
26591
  var o = {};
26551
- return Co.forEach(function(n) {
26592
+ return Eo.forEach(function(n) {
26552
26593
  typeof n.eventProperties == "function" && gr(o, n.eventProperties.call(r[n.pluginName], t));
26553
26594
  }), o;
26554
26595
  },
26555
26596
  modifyOption: function(t, r, o) {
26556
26597
  var n;
26557
- return Co.forEach(function(i) {
26598
+ return Eo.forEach(function(i) {
26558
26599
  t[i.pluginName] && i.optionListeners && typeof i.optionListeners[r] == "function" && (n = i.optionListeners[r].call(t[i.pluginName], o));
26559
26600
  }), n;
26560
26601
  }
@@ -26588,7 +26629,7 @@ var kO = ["evt"], fn = function(t, r) {
26588
26629
  putSortable: Ht,
26589
26630
  activeSortable: Qe.active,
26590
26631
  originalEvent: n,
26591
- oldIndex: So,
26632
+ oldIndex: ko,
26592
26633
  oldDraggableIndex: Qi,
26593
26634
  newIndex: En,
26594
26635
  newDraggableIndex: Cr,
@@ -26615,13 +26656,13 @@ function tn(e) {
26615
26656
  cloneEl: vt,
26616
26657
  targetEl: ce,
26617
26658
  rootEl: mt,
26618
- oldIndex: So,
26659
+ oldIndex: ko,
26619
26660
  oldDraggableIndex: Qi,
26620
26661
  newIndex: En,
26621
26662
  newDraggableIndex: Cr
26622
26663
  }, e));
26623
26664
  }
26624
- var ce, yt, Le, mt, _r, ml, vt, Er, So, En, Qi, Cr, rl, Ht, Do = !1, Rl = !1, Nl = [], Kr, Pn, yc, Cc, em, tm, yi, Eo, Oi, Mi = !1, ol = !1, hl, Wt, Ec = [], ru = !1, Ll = [], rc = typeof document < "u", il = AA, nm = Ha || hr ? "cssFloat" : "float", QO = rc && !Xy && !AA && "draggable" in document.createElement("div"), l0 = function() {
26665
+ var ce, yt, Le, mt, _r, ml, vt, Er, ko, En, Qi, Cr, rl, Ht, Bo = !1, Rl = !1, Nl = [], Kr, Pn, yc, Cc, em, tm, yi, Io, Oi, Mi = !1, ol = !1, hl, Wt, Ec = [], ru = !1, Ll = [], rc = typeof document < "u", il = AA, nm = Ha || hr ? "cssFloat" : "float", QO = rc && !Xy && !AA && "draggable" in document.createElement("div"), l0 = function() {
26625
26666
  if (rc) {
26626
26667
  if (hr)
26627
26668
  return !1;
@@ -26629,7 +26670,7 @@ var ce, yt, Le, mt, _r, ml, vt, Er, So, En, Qi, Cr, rl, Ht, Do = !1, Rl = !1, Nl
26629
26670
  return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
26630
26671
  }
26631
26672
  }(), s0 = function(t, r) {
26632
- var o = ze(t), n = parseInt(o.width) - parseInt(o.paddingLeft) - parseInt(o.paddingRight) - parseInt(o.borderLeftWidth) - parseInt(o.borderRightWidth), i = qo(t, 0, r), a = qo(t, 1, r), l = i && ze(i), c = a && ze(a), s = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + St(i).width, u = c && parseInt(c.marginLeft) + parseInt(c.marginRight) + St(a).width;
26673
+ var o = ze(t), n = parseInt(o.width) - parseInt(o.paddingLeft) - parseInt(o.paddingRight) - parseInt(o.borderLeftWidth) - parseInt(o.borderRightWidth), i = Xo(t, 0, r), a = Xo(t, 1, r), l = i && ze(i), c = a && ze(a), s = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + St(i).width, u = c && parseInt(c.marginLeft) + parseInt(c.marginRight) + St(a).width;
26633
26674
  if (o.display === "flex")
26634
26675
  return o.flexDirection === "column" || o.flexDirection === "column-reverse" ? "vertical" : "horizontal";
26635
26676
  if (o.display === "grid")
@@ -26757,7 +26798,7 @@ Qe.prototype = /** @lends Sortable.prototype */
26757
26798
  {
26758
26799
  constructor: Qe,
26759
26800
  _isOutsideThisEl: function(t) {
26760
- !this.el.contains(t) && t !== this.el && (Eo = null);
26801
+ !this.el.contains(t) && t !== this.el && (Io = null);
26761
26802
  },
26762
26803
  _getDirection: function(t, r) {
26763
26804
  return typeof this.options.direction == "function" ? this.options.direction.call(this, t, r, ce) : this.options.direction;
@@ -26766,7 +26807,7 @@ Qe.prototype = /** @lends Sortable.prototype */
26766
26807
  if (t.cancelable) {
26767
26808
  var r = this, o = this.el, n = this.options, i = n.preventOnFilter, a = t.type, l = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, c = (l || t).target, s = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || c, u = n.filter;
26768
26809
  if (jO(o), !ce && !(/mousedown|pointerdown/.test(a) && t.button !== 0 || n.disabled) && !s.isContentEditable && !(!this.nativeDraggable && Si && c && c.tagName.toUpperCase() === "SELECT") && (c = zn(c, n.draggable, o, !1), !(c && c.animated) && ml !== c)) {
26769
- if (So = On(c), Qi = On(c, n.draggable), typeof u == "function") {
26810
+ if (ko = On(c), Qi = On(c, n.draggable), typeof u == "function") {
26770
26811
  if (u.call(this, t, c, this)) {
26771
26812
  tn({
26772
26813
  sortable: r,
@@ -26855,7 +26896,7 @@ Qe.prototype = /** @lends Sortable.prototype */
26855
26896
  }
26856
26897
  },
26857
26898
  _dragStarted: function(t, r) {
26858
- if (Do = !1, mt && ce) {
26899
+ if (Bo = !1, mt && ce) {
26859
26900
  fn("dragStarted", this, {
26860
26901
  evt: r
26861
26902
  }), this.nativeDraggable && Xe(document, "dragover", TO);
@@ -26892,8 +26933,8 @@ Qe.prototype = /** @lends Sortable.prototype */
26892
26933
  },
26893
26934
  _onTouchMove: function(t) {
26894
26935
  if (Kr) {
26895
- var r = this.options, o = r.fallbackTolerance, n = r.fallbackOffset, i = t.touches ? t.touches[0] : t, a = Le && Fo(Le, !0), l = Le && a && a.a, c = Le && a && a.d, s = il && Wt && Xg(Wt), u = (i.clientX - Kr.clientX + n.x) / (l || 1) + (s ? s[0] - Ec[0] : 0) / (l || 1), d = (i.clientY - Kr.clientY + n.y) / (c || 1) + (s ? s[1] - Ec[1] : 0) / (c || 1);
26896
- if (!Qe.active && !Do) {
26936
+ var r = this.options, o = r.fallbackTolerance, n = r.fallbackOffset, i = t.touches ? t.touches[0] : t, a = Le && Po(Le, !0), l = Le && a && a.a, c = Le && a && a.d, s = il && Wt && Xg(Wt), u = (i.clientX - Kr.clientX + n.x) / (l || 1) + (s ? s[0] - Ec[0] : 0) / (l || 1), d = (i.clientY - Kr.clientY + n.y) / (c || 1) + (s ? s[1] - Ec[1] : 0) / (c || 1);
26937
+ if (!Qe.active && !Bo) {
26897
26938
  if (o && Math.max(Math.abs(i.clientX - this._lastX), Math.abs(i.clientY - this._lastY)) < o)
26898
26939
  return;
26899
26940
  this._onDragStart(t, !0);
@@ -26937,7 +26978,7 @@ Qe.prototype = /** @lends Sortable.prototype */
26937
26978
  sortable: o,
26938
26979
  name: "clone"
26939
26980
  }));
26940
- }), !r && Cn(ce, i.dragClass, !0), r ? (Rl = !0, o._loopId = setInterval(o._emulateDragOver, 50)) : (Ze(document, "mouseup", o._onDrop), Ze(document, "touchend", o._onDrop), Ze(document, "touchcancel", o._onDrop), n && (n.effectAllowed = "move", i.setData && i.setData.call(o, n, ce)), Xe(document, "drop", o), ze(ce, "transform", "translateZ(0)")), Do = !0, o._dragStartId = pl(o._dragStarted.bind(o, r, t)), Xe(document, "selectstart", o), yi = !0, window.getSelection().removeAllRanges(), Si && ze(document.body, "user-select", "none");
26981
+ }), !r && Cn(ce, i.dragClass, !0), r ? (Rl = !0, o._loopId = setInterval(o._emulateDragOver, 50)) : (Ze(document, "mouseup", o._onDrop), Ze(document, "touchend", o._onDrop), Ze(document, "touchcancel", o._onDrop), n && (n.effectAllowed = "move", i.setData && i.setData.call(o, n, ce)), Xe(document, "drop", o), ze(ce, "transform", "translateZ(0)")), Bo = !0, o._dragStartId = pl(o._dragStarted.bind(o, r, t)), Xe(document, "selectstart", o), yi = !0, window.getSelection().removeAllRanges(), Si && ze(document.body, "user-select", "none");
26941
26982
  },
26942
26983
  // Returns true - if no further action is needed (either inserted or another condition)
26943
26984
  _onDragOver: function(t) {
@@ -26969,7 +27010,7 @@ Qe.prototype = /** @lends Sortable.prototype */
26969
27010
  insertion: x
26970
27011
  }), x && (u ? s._hideClone() : s._showClone(h), h !== A && (Cn(ce, Ht ? Ht.options.ghostClass : s.options.ghostClass, !1), Cn(ce, l.ghostClass, !0)), Ht !== h && h !== Qe.active ? Ht = h : h === Qe.active && Ht && (Ht = null), A === h && (h._ignoreWhileAnimating = o), h.animateAll(function() {
26971
27012
  m("dragOverAnimationComplete"), h._ignoreWhileAnimating = null;
26972
- }), h !== A && (A.animateAll(), A._ignoreWhileAnimating = null)), (o === ce && !ce.animated || o === r && !o.animated) && (Eo = null), !l.dragoverBubble && !t.rootEl && o !== document && (ce.parentNode[pn]._isOutsideThisEl(t.target), !x && Gr(t)), !l.dragoverBubble && t.stopPropagation && t.stopPropagation(), p = !0;
27013
+ }), h !== A && (A.animateAll(), A._ignoreWhileAnimating = null)), (o === ce && !ce.animated || o === r && !o.animated) && (Io = null), !l.dragoverBubble && !t.rootEl && o !== document && (ce.parentNode[pn]._isOutsideThisEl(t.target), !x && Gr(t)), !l.dragoverBubble && t.stopPropagation && t.stopPropagation(), p = !0;
26973
27014
  }
26974
27015
  function I() {
26975
27016
  En = On(ce), Cr = On(ce, l.draggable), tn({
@@ -26995,7 +27036,7 @@ Qe.prototype = /** @lends Sortable.prototype */
26995
27036
  if (E && r === t.target && (o = E), o && (i = St(o)), al(mt, r, ce, n, o, i, t, !!o) !== !1)
26996
27037
  return v(), E && E.nextSibling ? r.insertBefore(ce, E.nextSibling) : r.appendChild(ce), yt = r, I(), w(!0);
26997
27038
  } else if (E && zO(t, g, this)) {
26998
- var y = qo(r, 0, l, !0);
27039
+ var y = Xo(r, 0, l, !0);
26999
27040
  if (y === ce)
27000
27041
  return w(!1);
27001
27042
  if (o = y, i = St(o), al(mt, r, ce, n, o, i, t, !1) !== !1)
@@ -27003,7 +27044,7 @@ Qe.prototype = /** @lends Sortable.prototype */
27003
27044
  } else if (o.parentNode === r) {
27004
27045
  i = St(o);
27005
27046
  var C = 0, b, D = ce.parentNode !== r, S = !OO(ce.animated && ce.toRect || n, o.animated && o.toRect || i, g), O = g ? "top" : "left", L = qg(o, "top", "top") || qg(ce, "top", "top"), re = L ? L.scrollTop : void 0;
27006
- Eo !== o && (b = i[O], Mi = !1, ol = !S && l.invertSwap || D), C = RO(t, o, i, g, S ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, ol, Eo === o);
27047
+ Io !== o && (b = i[O], Mi = !1, ol = !S && l.invertSwap || D), C = RO(t, o, i, g, S ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, ol, Io === o);
27007
27048
  var ae;
27008
27049
  if (C !== 0) {
27009
27050
  var te = On(ce);
@@ -27013,7 +27054,7 @@ Qe.prototype = /** @lends Sortable.prototype */
27013
27054
  }
27014
27055
  if (C === 0 || ae === o)
27015
27056
  return w(!1);
27016
- Eo = o, Oi = C;
27057
+ Io = o, Oi = C;
27017
27058
  var ue = o.nextElementSibling, z = !1;
27018
27059
  z = C === 1;
27019
27060
  var k = al(mt, r, ce, n, o, i, t, z);
@@ -27041,7 +27082,7 @@ Qe.prototype = /** @lends Sortable.prototype */
27041
27082
  this._nulling();
27042
27083
  return;
27043
27084
  }
27044
- Do = !1, ol = !1, Mi = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), ou(this.cloneId), ou(this._dragStartId), this.nativeDraggable && (Ze(document, "drop", this), Ze(r, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Si && ze(document.body, "user-select", ""), ze(ce, "transform", ""), t && (yi && (t.cancelable && t.preventDefault(), !o.dropBubble && t.stopPropagation()), Le && Le.parentNode && Le.parentNode.removeChild(Le), (mt === yt || Ht && Ht.lastPutMode !== "clone") && vt && vt.parentNode && vt.parentNode.removeChild(vt), ce && (this.nativeDraggable && Ze(ce, "dragend", this), Ic(ce), ce.style["will-change"] = "", yi && !Do && Cn(ce, Ht ? Ht.options.ghostClass : this.options.ghostClass, !1), Cn(ce, this.options.chosenClass, !1), tn({
27085
+ Bo = !1, ol = !1, Mi = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), ou(this.cloneId), ou(this._dragStartId), this.nativeDraggable && (Ze(document, "drop", this), Ze(r, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Si && ze(document.body, "user-select", ""), ze(ce, "transform", ""), t && (yi && (t.cancelable && t.preventDefault(), !o.dropBubble && t.stopPropagation()), Le && Le.parentNode && Le.parentNode.removeChild(Le), (mt === yt || Ht && Ht.lastPutMode !== "clone") && vt && vt.parentNode && vt.parentNode.removeChild(vt), ce && (this.nativeDraggable && Ze(ce, "dragend", this), Ic(ce), ce.style["will-change"] = "", yi && !Bo && Cn(ce, Ht ? Ht.options.ghostClass : this.options.ghostClass, !1), Cn(ce, this.options.chosenClass, !1), tn({
27045
27086
  sortable: this,
27046
27087
  name: "unchoose",
27047
27088
  toEl: yt,
@@ -27070,7 +27111,7 @@ Qe.prototype = /** @lends Sortable.prototype */
27070
27111
  name: "sort",
27071
27112
  toEl: yt,
27072
27113
  originalEvent: t
27073
- })), Ht && Ht.save()) : En !== So && En >= 0 && (tn({
27114
+ })), Ht && Ht.save()) : En !== ko && En >= 0 && (tn({
27074
27115
  sortable: this,
27075
27116
  name: "update",
27076
27117
  toEl: yt,
@@ -27080,7 +27121,7 @@ Qe.prototype = /** @lends Sortable.prototype */
27080
27121
  name: "sort",
27081
27122
  toEl: yt,
27082
27123
  originalEvent: t
27083
- })), Qe.active && ((En == null || En === -1) && (En = So, Cr = Qi), tn({
27124
+ })), Qe.active && ((En == null || En === -1) && (En = ko, Cr = Qi), tn({
27084
27125
  sortable: this,
27085
27126
  name: "end",
27086
27127
  toEl: yt,
@@ -27088,7 +27129,7 @@ Qe.prototype = /** @lends Sortable.prototype */
27088
27129
  }), this.save()))), this._nulling();
27089
27130
  },
27090
27131
  _nulling: function() {
27091
- fn("nulling", this), mt = ce = yt = Le = _r = vt = ml = Er = Kr = Pn = yi = En = Cr = So = Qi = Eo = Oi = Ht = rl = Qe.dragged = Qe.ghost = Qe.clone = Qe.active = null;
27132
+ fn("nulling", this), mt = ce = yt = Le = _r = vt = ml = Er = Kr = Pn = yi = En = Cr = ko = Qi = Io = Oi = Ht = rl = Qe.dragged = Qe.ghost = Qe.clone = Qe.active = null;
27092
27133
  var t = this.el;
27093
27134
  Ll.forEach(function(r) {
27094
27135
  t.contains(r) && (r.checked = !0);
@@ -27204,7 +27245,7 @@ function PO() {
27204
27245
  ru = !1;
27205
27246
  }
27206
27247
  function zO(e, t, r) {
27207
- var o = St(qo(r.el, 0, r.options, !0)), n = a0(r.el, r.options, Le), i = 10;
27248
+ var o = St(Xo(r.el, 0, r.options, !0)), n = a0(r.el, r.options, Le), i = 10;
27208
27249
  return t ? e.clientX < n.left - i || e.clientY < o.top && e.clientX < o.right : e.clientY < n.top - i || e.clientY < o.bottom && e.clientX < o.left;
27209
27250
  }
27210
27251
  function UO(e, t, r) {
@@ -27246,7 +27287,7 @@ function ou(e) {
27246
27287
  return clearTimeout(e);
27247
27288
  }
27248
27289
  rc && Xe(document, "touchmove", function(e) {
27249
- (Qe.active || Do) && e.cancelable && e.preventDefault();
27290
+ (Qe.active || Bo) && e.cancelable && e.preventDefault();
27250
27291
  });
27251
27292
  Qe.utils = {
27252
27293
  on: Xe,
@@ -27265,7 +27306,7 @@ Qe.utils = {
27265
27306
  nextTick: pl,
27266
27307
  cancelNextTick: ou,
27267
27308
  detectDirection: s0,
27268
- getChild: qo,
27309
+ getChild: Xo,
27269
27310
  expando: pn
27270
27311
  };
27271
27312
  Qe.get = function(e) {
@@ -27390,7 +27431,7 @@ mA.prototype = {
27390
27431
  onSpill: function(t) {
27391
27432
  var r = t.dragEl, o = t.putSortable;
27392
27433
  this.sortable.captureAnimationState(), o && o.captureAnimationState();
27393
- var n = qo(this.sortable.el, this.startIndex, this.options);
27434
+ var n = Xo(this.sortable.el, this.startIndex, this.options);
27394
27435
  n ? this.sortable.el.insertBefore(r, n) : this.sortable.el.appendChild(r), this.sortable.animateAll(), o && o.animateAll();
27395
27436
  },
27396
27437
  drop: f0
@@ -27884,7 +27925,7 @@ function WO(e, {
27884
27925
  const q = f(e).formApi;
27885
27926
  q && j && (Se = await q.getValues());
27886
27927
  const ne = {};
27887
- Qo(ne, k, G || 1), Qo(ne, x, oe.pageSize);
27928
+ Oo(ne, k, G || 1), Oo(ne, x, oe.pageSize);
27888
27929
  try {
27889
27930
  r(!0);
27890
27931
  let H = null;
@@ -27922,7 +27963,7 @@ function WO(e, {
27922
27963
  rawDataSource: H
27923
27964
  }), l(), h.value = !0;
27924
27965
  } catch (H) {
27925
- s("fetch-error", H), D([]);
27966
+ s("fetch-error", H), console.error(H, "res"), D([]);
27926
27967
  } finally {
27927
27968
  setTimeout(() => {
27928
27969
  r(!1);
@@ -27973,7 +28014,7 @@ function WO(e, {
27973
28014
  function b(O) {
27974
28015
  u.value = O, s("update:modelValue", O);
27975
28016
  }
27976
- const D = Xo((O) => {
28017
+ const D = ei((O) => {
27977
28018
  var ae, te, ue, z, k;
27978
28019
  const L = f(t).getTreeExpandRecords(), re = (te = (ae = f(e)) == null ? void 0 : ae.treeConfig) == null ? void 0 : te.reserve;
27979
28020
  f(t) && ((ue = f(t)) == null || ue.loadData(O)), f(e).mergeCells && f(t) && ((z = f(t)) == null || z.setMergeCells(f(e).mergeCells)), f(e).clearTreeExpand ? f(t) && ((k = f(t)) == null || k.clearTreeExpand()) : L.length > 0 && re && f(t).setTreeExpand(L, !0), b(O), s("load-data");
@@ -28009,7 +28050,7 @@ function WO(e, {
28009
28050
  (O) => {
28010
28051
  var ae;
28011
28052
  const { fullData: L } = f(t) ? ((ae = f(t)) == null ? void 0 : ae.getTableData()) || {} : { fullData: [] };
28012
- if (Object.keys(Po({ data: O }, { data: L })).length) {
28053
+ if (Object.keys(zo({ data: O }, { data: L })).length) {
28013
28054
  const { data: te, api: ue, modelValue: z } = f(e);
28014
28055
  if ((z ? z.length : 0) === 0 && !ue && te) {
28015
28056
  const x = f(e).isDataCloneDeep ? kt(f(te)) : f(te);
@@ -28027,7 +28068,7 @@ function WO(e, {
28027
28068
  var ae;
28028
28069
  if (f(c)) return;
28029
28070
  const { fullData: L } = f(t) ? ((ae = f(t)) == null ? void 0 : ae.getTableData()) || {} : { fullData: [] };
28030
- if (Object.keys(Po({ data: O }, { data: L })).length) {
28071
+ if (Object.keys(zo({ data: O }, { data: L })).length) {
28031
28072
  const { api: te, modelValue: ue } = f(e);
28032
28073
  if (!te && ue) {
28033
28074
  const z = f(e).isDataCloneDeep ? kt(ue) : f(ue);
@@ -29016,7 +29057,7 @@ class vA {
29016
29057
  onUpdate: () => {
29017
29058
  this.state = this.store.state;
29018
29059
  }
29019
- }), this.state = this.store.state, this.stateHandler = new fu(), Hi(this);
29060
+ }), console.log(o, "defaultStatedefaultStatedefaultStatedefaultStatedefaultStatedefaultStatedefaultState"), this.state = this.store.state, this.stateHandler = new fu(), Hi(this);
29020
29061
  }
29021
29062
  /**
29022
29063
  * 组件挂载时调用,注入表格实例和方法
@@ -29050,7 +29091,8 @@ class vA {
29050
29091
  async reload(t) {
29051
29092
  try {
29052
29093
  this.methods.reload(t);
29053
- } catch {
29094
+ } catch (r) {
29095
+ console.error("tt-table-api - reload 请求数据时发生错误:", r);
29054
29096
  }
29055
29097
  }
29056
29098
  /**
@@ -29290,7 +29332,7 @@ const cM = ["data-testid", "data-table-columns"], uM = ["onClick"], dM = {
29290
29332
  expose: t,
29291
29333
  emit: r
29292
29334
  }) {
29293
- var wo;
29335
+ var bo;
29294
29336
  const o = e, n = r, i = qn(), a = co(), {
29295
29337
  prefixCls: l
29296
29338
  } = Pt("table"), c = K(), s = K({}), u = K(null), d = K(), A = K([]), g = {}, h = K({}), p = bn();
@@ -29300,7 +29342,7 @@ const cM = ["data-testid", "data-table-columns"], uM = ["onClick"], dM = {
29300
29342
  const X = m;
29301
29343
  X.useStore = (xe) => Tn(m.store, xe), m = X;
29302
29344
  }
29303
- const v = (wo = m == null ? void 0 : m.useStore) == null ? void 0 : wo.call(m), w = B(() => o.testId ? o.testId : o.api ? Dm(o.api) : "table"), I = B(() => Gt(w.value, "table"));
29345
+ const v = (bo = m == null ? void 0 : m.useStore) == null ? void 0 : bo.call(m), w = B(() => o.testId ? o.testId : o.api ? Dm(o.api) : "table"), I = B(() => Gt(w.value, "table"));
29304
29346
  sn("tableIdContext", w);
29305
29347
  const E = Et({
29306
29348
  emptyText: Y(v).emptyText,
@@ -29374,7 +29416,7 @@ const cM = ["data-testid", "data-table-columns"], uM = ["onClick"], dM = {
29374
29416
  setTableColumns: Gn,
29375
29417
  getTableColumns: pr,
29376
29418
  // setCacheColumns,
29377
- onResizableChange: vo,
29419
+ onResizableChange: wo,
29378
29420
  onColumnDragend: vr
29379
29421
  } = $O(C, {
29380
29422
  xGrid: d,
@@ -29442,7 +29484,7 @@ const cM = ["data-testid", "data-table-columns"], uM = ["onClick"], dM = {
29442
29484
  clearSelectedRowKeys: oe
29443
29485
  });
29444
29486
  ge(() => Ce.value, (X, xe) => {
29445
- const Ge = Object.keys(lu), ut = Po(X, xe || {}, {
29487
+ const Ge = Object.keys(lu), ut = zo(X, xe || {}, {
29446
29488
  exclude: Ge
29447
29489
  });
29448
29490
  if (Object.keys(ut).length) {
@@ -29473,7 +29515,7 @@ const cM = ["data-testid", "data-table-columns"], uM = ["onClick"], dM = {
29473
29515
  radioChange: ne,
29474
29516
  checkboxChange: k,
29475
29517
  checkboxAll: x,
29476
- resizableChange: vo,
29518
+ resizableChange: wo,
29477
29519
  cellAreaSelectionEnd: it,
29478
29520
  scroll: ke,
29479
29521
  toggleRowExpand: bt,
@@ -29875,7 +29917,7 @@ const cM = ["data-testid", "data-table-columns"], uM = ["onClick"], dM = {
29875
29917
  function v() {
29876
29918
  c.checkedFields = c.checkedFields.filter((y) => c.disabledColumnField.includes(y));
29877
29919
  }
29878
- const w = Xo(() => {
29920
+ const w = ei(() => {
29879
29921
  o("on-submit", {
29880
29922
  checkedModel: [...c.selectedColumns.map((y) => y.field)],
29881
29923
  modalApi: l
@@ -30845,7 +30887,7 @@ var m0 = { exports: {} };
30845
30887
  return this[s + "s"][u] = d, d;
30846
30888
  }, t.validate = function(s, u) {
30847
30889
  var d, A, g, h, p, m, v, w;
30848
- if (typeof s != "string" && (s += ""), s = s.trim(), s.match(/^\d+$/))
30890
+ if (typeof s != "string" && (s += "", console.warn && console.warn("Numeral.js: Value is not string. It has been co-erced to: ", s)), s = s.trim(), s.match(/^\d+$/))
30849
30891
  return !0;
30850
30892
  if (s === "")
30851
30893
  return !1;