@web-utils/form-ui 1.0.0-beta71 → 1.0.0-beta73

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 (270) hide show
  1. package/address-input/index.mjs +1 -1
  2. package/affix/index.d.ts +0 -2
  3. package/affix/index.mjs +2 -3
  4. package/capsule-tab/index.mjs +1 -1
  5. package/card/index.mjs +15 -14
  6. package/chunks/-fXBgN9b2.mjs +37 -0
  7. package/chunks/{B3d4fdGH.mjs → -yfgKY3g.mjs} +1 -1
  8. package/chunks/{BeWNlclr.mjs → -zgWD713.mjs} +44 -40
  9. package/chunks/{5itVLmv82.mjs → 8A7LSgb4.mjs} +26 -25
  10. package/chunks/{DoOkwYtO.mjs → Apjns0ZM.mjs} +72 -67
  11. package/chunks/B0BOjeph2.mjs +108 -0
  12. package/chunks/BD6_5FSI.mjs +178 -0
  13. package/chunks/BE4V5Vf5.mjs +133 -0
  14. package/chunks/{DfJJr053.mjs → BGJjAw5E.mjs} +1 -1
  15. package/chunks/{DhQF2ZlD.mjs → BH7VEktl.mjs} +19 -17
  16. package/chunks/{CjmfMN1X2.mjs → BI6kCG2j2.mjs} +2 -2
  17. package/chunks/{6kdakei5.mjs → BYtFzO-8.mjs} +138 -133
  18. package/chunks/{CaRunrOV2.mjs → B_AUZSOW.mjs} +589 -760
  19. package/chunks/BctSGDgW2.mjs +29 -0
  20. package/chunks/{B5voIv4_.mjs → Bes1uXng.mjs} +28 -24
  21. package/chunks/BhIWiH5R.mjs +661 -0
  22. package/chunks/BhzlH7Az.mjs +90 -0
  23. package/chunks/{D6vTCC1Z2.mjs → BrelfRGo2.mjs} +14 -13
  24. package/chunks/{Z0BPDZlb.mjs → BsqIRxSS.mjs} +6 -5
  25. package/chunks/{TtxSplBB.mjs → C--HDCqy.mjs} +13 -10
  26. package/chunks/{DTUh8o0p2.mjs → C6mb7Nru2.mjs} +4 -4
  27. package/chunks/{CIybFvu92.mjs → CFoSvMJ-2.mjs} +1 -1
  28. package/chunks/{Ch_zaHx9.mjs → CO3taG7t2.mjs} +1 -1
  29. package/chunks/{DNSPORak.mjs → CZUhA3sf.mjs} +298 -4
  30. package/chunks/Ccxbv7uz2.mjs +34 -0
  31. package/chunks/Ce4tNNzg2.mjs +63 -0
  32. package/chunks/{B1GA44yT2.mjs → CelJ2L8A2.mjs} +2 -2
  33. package/chunks/CjYOitzM2.mjs +31 -0
  34. package/chunks/Cknuquqx.mjs +32 -0
  35. package/chunks/ClVh1Lek.mjs +130 -0
  36. package/chunks/CwyebsNL2.mjs +39 -0
  37. package/chunks/{9rQitPz7.mjs → D6DYxngS.mjs} +132 -127
  38. package/chunks/D6YM84Pf2.mjs +29 -0
  39. package/chunks/{BkEMJ725.mjs → DTq5QLoT.mjs} +43 -39
  40. package/chunks/{BvcK4D8A2.mjs → DVMfVn-M.mjs} +14 -10
  41. package/chunks/DVdQHb_v.mjs +50 -0
  42. package/chunks/{BaLjN8Ow.mjs → Daa7nl7U.mjs} +19 -15
  43. package/chunks/{D9qn1x3X2.mjs → Dh_BQpvC2.mjs} +2 -2
  44. package/chunks/DizOY5i8.mjs +69 -0
  45. package/chunks/{BQNqBw8h2.mjs → DjaV6_cg2.mjs} +2 -2
  46. package/chunks/{CbbjpJFg2.mjs → Dm3gQGoV2.mjs} +2 -2
  47. package/chunks/DqW9QtF3.mjs +68 -0
  48. package/chunks/{DbtlO6wD.mjs → DqWJCka8.mjs} +9 -7
  49. package/chunks/{BI-ZFlSw2.mjs → DrWUdRj32.mjs} +2 -2
  50. package/chunks/Dv7YRB2U2.mjs +25 -0
  51. package/chunks/DyLQsqWJ.mjs +61 -0
  52. package/chunks/HsHwYW1a.mjs +99 -0
  53. package/chunks/KDVLIvaS.mjs +30 -0
  54. package/chunks/{DxL9oojv2.mjs → Lkg7bYLD2.mjs} +73 -74
  55. package/chunks/{T_jwNKBr.mjs → Opn85Hlx2.mjs} +1 -1
  56. package/chunks/{BoId6V9J.mjs → YdNYH25C.mjs} +1 -1
  57. package/chunks/{BvbjlaN02.mjs → gTgPZrgY2.mjs} +119 -120
  58. package/chunks/{3gUkQF12.mjs → jsgk7Yse2.mjs} +2 -2
  59. package/chunks/nL59ZuIk.mjs +58 -0
  60. package/chunks/{CDqVJ7U3.mjs → neuEq1De.mjs} +70 -67
  61. package/chunks/{B8wGY5Hs2.mjs → sWVkgzQt2.mjs} +2 -2
  62. package/chunks/{Wl17p0C82.mjs → tjwOOiNr2.mjs} +31 -30
  63. package/code-mirror-editor/index.mjs +1 -1
  64. package/confirm-button/index.mjs +1 -1
  65. package/confirmable/index.mjs +1 -1
  66. package/context-menu/index.mjs +1 -1
  67. package/count-up/index.mjs +1 -1
  68. package/custom-scrollbar/index.mjs +1 -1
  69. package/data-box/index.mjs +9 -8
  70. package/data-card/index.mjs +8 -7
  71. package/data-card-text/index.mjs +8 -7
  72. package/data-display/index.mjs +9 -8
  73. package/data-icons/index.mjs +9 -8
  74. package/data-imgtext/index.mjs +9 -8
  75. package/data-operatext/index.mjs +8 -7
  76. package/data-panel/index.mjs +9 -8
  77. package/data-pay/index.mjs +10 -9
  78. package/data-price/index.mjs +8 -7
  79. package/data-progress/index.mjs +10 -9
  80. package/data-rotate/index.mjs +9 -8
  81. package/data-table-picker/index.mjs +11 -10
  82. package/data-tabs/index.mjs +9 -8
  83. package/dict-render/index.mjs +1 -1
  84. package/e-charts/index.mjs +2 -2
  85. package/easy-popup/index.mjs +1 -1
  86. package/editable-progress/index.mjs +8 -7
  87. package/editable-tree/index.mjs +595 -2
  88. package/element-dialog/index.mjs +1 -1
  89. package/element-resize-observer/index.mjs +1 -1
  90. package/flex-box/index.mjs +1 -1
  91. package/flex-column/index.mjs +1 -1
  92. package/flex-item/index.mjs +1 -1
  93. package/flex-row/index.mjs +1 -1
  94. package/flex-scroller/index.mjs +1 -1
  95. package/flow-designer/index.mjs +1 -1
  96. package/flow-viewer/index.mjs +1 -1
  97. package/form-cascader/index.mjs +1 -1
  98. package/form-checkbox/index.mjs +1 -1
  99. package/form-checkbox-group/index.mjs +1 -1
  100. package/form-date-picker/index.mjs +1 -1
  101. package/form-holder/index.mjs +1 -1
  102. package/form-image/index.mjs +1 -1
  103. package/form-input/index.mjs +1 -1
  104. package/form-input-cron-expression/index.mjs +1 -1
  105. package/form-input-email/index.mjs +1 -1
  106. package/form-input-id-card/index.mjs +1 -1
  107. package/form-input-number/index.mjs +1 -1
  108. package/form-input-phone-number/index.mjs +1 -1
  109. package/form-input-tag/index.mjs +1 -1
  110. package/form-input-time/index.mjs +1 -1
  111. package/form-item-group/index.mjs +1 -1
  112. package/form-item-x/index.mjs +1 -1
  113. package/form-radio-group/index.mjs +1 -1
  114. package/form-rate/index.mjs +1 -1
  115. package/form-row/index.mjs +1 -1
  116. package/form-select/index.mjs +1 -1
  117. package/form-slider/index.mjs +1 -1
  118. package/form-switch/index.mjs +1 -1
  119. package/form-table/index.mjs +1 -1
  120. package/form-table-plus/index.mjs +1 -1
  121. package/form-text/index.mjs +1 -1
  122. package/form-textarea/index.mjs +1 -1
  123. package/form-time-select/index.mjs +1 -1
  124. package/form-tree-select/index.mjs +1 -1
  125. package/form-tree-select-multiple/index.mjs +1 -1
  126. package/form-view/index.mjs +3 -3
  127. package/guide-steps/index.mjs +77 -2
  128. package/helper/dictionary.mjs +1 -1
  129. package/helper/input.mjs +1 -1
  130. package/highlight-j-s/index.mjs +1 -1
  131. package/iframe-window/index.mjs +1 -1
  132. package/image-cropper/index.mjs +12 -11
  133. package/image-preview/index.d.ts +1 -153
  134. package/image-preview/index.mjs +201 -2
  135. package/image-viewer/index.mjs +1 -1
  136. package/index.css +1 -1
  137. package/index.mjs +101 -101
  138. package/input-number-range/index.mjs +7 -6
  139. package/keyboard/index.mjs +1 -1
  140. package/loading-view/index.mjs +1 -1
  141. package/name-avatar/index.mjs +1 -1
  142. package/nav-bar/index.mjs +3 -2
  143. package/package.json +5 -1
  144. package/page-index/index.mjs +14 -13
  145. package/page-index-top/index.mjs +12 -10
  146. package/pageable-table/index.mjs +1 -1
  147. package/photo-swipe/index.mjs +1 -1
  148. package/props/col.mjs +1 -1
  149. package/props/form-item.mjs +1 -1
  150. package/sign-panel/index.mjs +1 -1
  151. package/skeleton-panel/index.mjs +3 -2
  152. package/split-pane/index.mjs +1 -1
  153. package/sub-table/index.mjs +1 -1
  154. package/sub-table-plus/index.mjs +1 -1
  155. package/swiper/index.mjs +2 -2
  156. package/table-column/index.mjs +1 -1
  157. package/table-column-def/index.mjs +1 -1
  158. package/table-view/index.mjs +108 -106
  159. package/tag-render/index.mjs +21 -20
  160. package/text-ellipsis/index.d.ts +1 -1
  161. package/text-ellipsis/index.mjs +1 -1
  162. package/toolbar/index.mjs +1 -1
  163. package/toolbar-button/index.mjs +1 -1
  164. package/vue-cron/index.mjs +1 -1
  165. package/vue-tags-input/index.mjs +1 -1
  166. package/vue-tree-select/index.mjs +1 -1
  167. package/vue-video-player/index.d.ts +1 -1
  168. package/vue-video-player/index.mjs +1 -1
  169. package/watermark/index.mjs +1 -1
  170. package/web-types.json +1 -1
  171. package/x-input-tag/index.mjs +47 -46
  172. package/year-calendar/index.mjs +1 -1
  173. package/chunks/49634Q2N2.mjs +0 -936
  174. package/chunks/77cFhiAz.mjs +0 -13
  175. package/chunks/7JVbVOff2.mjs +0 -46
  176. package/chunks/B1ATN2my.mjs +0 -26
  177. package/chunks/B7O8aGqC2.mjs +0 -58
  178. package/chunks/BBPczt0U.mjs +0 -4
  179. package/chunks/BBqq6o072.mjs +0 -243
  180. package/chunks/BCVhSMZN.mjs +0 -1328
  181. package/chunks/BDVLN2ly.mjs +0 -105
  182. package/chunks/BEysX5TF2.mjs +0 -1038
  183. package/chunks/BIj6pa8Z.mjs +0 -15
  184. package/chunks/BJby9uHB2.mjs +0 -233
  185. package/chunks/BUAQybGW.mjs +0 -230
  186. package/chunks/BVIHqL6g.mjs +0 -17
  187. package/chunks/BVSQ6DfJ.mjs +0 -17
  188. package/chunks/B__5L22p2.mjs +0 -346
  189. package/chunks/Baam4z-g.mjs +0 -275
  190. package/chunks/Bdeug17L.mjs +0 -42
  191. package/chunks/BecO0t0_2.mjs +0 -2430
  192. package/chunks/BffxPn8a.mjs +0 -34
  193. package/chunks/Bgw_3soo.mjs +0 -35
  194. package/chunks/BjCfQFUL.mjs +0 -54
  195. package/chunks/BjWs-r2V.mjs +0 -25
  196. package/chunks/BlB1fEo92.mjs +0 -8
  197. package/chunks/BrYtAPbN2.mjs +0 -161
  198. package/chunks/BsKwchVA.mjs +0 -14
  199. package/chunks/BsM0L7CS.mjs +0 -132
  200. package/chunks/C5f3Xfsc2.mjs +0 -36
  201. package/chunks/C7l9aZGE.mjs +0 -577
  202. package/chunks/CFvkR9Ze2.mjs +0 -31
  203. package/chunks/CGM03LI5.mjs +0 -588
  204. package/chunks/CPejK_GQ2.mjs +0 -383
  205. package/chunks/CQSTyCVP.mjs +0 -6
  206. package/chunks/CQxz8uUc.mjs +0 -454
  207. package/chunks/CR29QUwT2.mjs +0 -28
  208. package/chunks/CWvo-ucD.mjs +0 -446
  209. package/chunks/C_eGir-J.mjs +0 -17
  210. package/chunks/Calzy0Az.mjs +0 -1275
  211. package/chunks/CbgD7y-5.mjs +0 -5
  212. package/chunks/CbsGuLZz2.mjs +0 -105
  213. package/chunks/CcT5SsZk.mjs +0 -48
  214. package/chunks/CdBytH8S.mjs +0 -266
  215. package/chunks/CiFlMt6Z.mjs +0 -41
  216. package/chunks/Cjkq49252.mjs +0 -60
  217. package/chunks/CnCSm3LY2.mjs +0 -4
  218. package/chunks/CsLrkldT2.mjs +0 -225
  219. package/chunks/Csiz_xCa2.mjs +0 -273
  220. package/chunks/Ctd3_wOH2.mjs +0 -6
  221. package/chunks/Cu2A_1vk2.mjs +0 -106
  222. package/chunks/CuoF9V8s.mjs +0 -3091
  223. package/chunks/CwBq1JZV.mjs +0 -250
  224. package/chunks/CwWfRmD3.mjs +0 -57
  225. package/chunks/CwqeV7002.mjs +0 -67
  226. package/chunks/Cy8jqgun2.mjs +0 -41
  227. package/chunks/D-hj62se2.mjs +0 -525
  228. package/chunks/D3Xixh5v.mjs +0 -5
  229. package/chunks/D4oNQiIK.mjs +0 -461
  230. package/chunks/D8r81QxD.mjs +0 -732
  231. package/chunks/DL0o_C092.mjs +0 -1093
  232. package/chunks/DLgn1tQG2.mjs +0 -60
  233. package/chunks/DStwh2ne.mjs +0 -281
  234. package/chunks/DXiLi19u2.mjs +0 -33
  235. package/chunks/DZ0frL1U.mjs +0 -69
  236. package/chunks/D_qwjNah.mjs +0 -1094
  237. package/chunks/Dg9Q-Tbi2.mjs +0 -299
  238. package/chunks/Dls3rTka2.mjs +0 -24
  239. package/chunks/DnBzQ-xh.mjs +0 -4
  240. package/chunks/DoNfjRR1.mjs +0 -68
  241. package/chunks/DrKq_frR.mjs +0 -98
  242. package/chunks/DsYXqJLZ.mjs +0 -641
  243. package/chunks/DsZznbt2.mjs +0 -208
  244. package/chunks/Dsd58O0g.mjs +0 -25
  245. package/chunks/Dtq1xYk8.mjs +0 -47
  246. package/chunks/EA6hte7s2.mjs +0 -49
  247. package/chunks/FeuisuNY2.mjs +0 -88
  248. package/chunks/GEtlriHC.mjs +0 -188
  249. package/chunks/GsvG1yFW.mjs +0 -1919
  250. package/chunks/KGmxNbpi.mjs +0 -21
  251. package/chunks/Q2Mal3Qn2.mjs +0 -439
  252. package/chunks/akEzJ4kG.mjs +0 -18
  253. package/chunks/cMuWbLPt.mjs +0 -196
  254. package/chunks/gh52LMTG.mjs +0 -12
  255. package/chunks/hgAOQY9a.mjs +0 -406
  256. package/chunks/lGc5ksPb.mjs +0 -279
  257. package/chunks/mD3gmiOy2.mjs +0 -96
  258. package/chunks/nLBvkerV2.mjs +0 -621
  259. package/chunks/pZQfJv282.mjs +0 -4
  260. package/chunks/qrHhuZXg.mjs +0 -465
  261. package/chunks/uqKZ4RIo.mjs +0 -222
  262. /package/chunks/{B31ub5xS.mjs → BBvIPqcc.mjs} +0 -0
  263. /package/chunks/{e70aZf3z.mjs → BoCxKwBf.mjs} +0 -0
  264. /package/chunks/{h-Uhst9y.mjs → CE67pCwD.mjs} +0 -0
  265. /package/chunks/{BMTtnkb7.mjs → CQeEP_Tl.mjs} +0 -0
  266. /package/chunks/{BwYEpK-u.mjs → CaczibeD.mjs} +0 -0
  267. /package/chunks/{BPpMbPS8.mjs → DZCryyFG.mjs} +0 -0
  268. /package/chunks/{BVuwiZGi.mjs → Dq63V0CC.mjs} +0 -0
  269. /package/chunks/{C1RsHtGI.mjs → OEBJ-trG.mjs} +0 -0
  270. /package/chunks/{7Cv9Cq-02.mjs → fjtZc9Rq2.mjs} +0 -0
@@ -1,1919 +0,0 @@
1
- import { i as e, n as t, t as n } from "./Bdeug17L.mjs";
2
- import { O as r, T as i, b as a, f as o, o as s, p as c, r as l, t as u, w as d } from "./hgAOQY9a.mjs";
3
- import { E as f, O as p, c as m, g as h, k as g, l as _, m as v, o as y, p as b, s as x, t as S, u as C, x as w } from "./DrKq_frR.mjs";
4
- import { n as T, t as E } from "./KGmxNbpi.mjs";
5
- import { n as D, t as O } from "./BIj6pa8Z.mjs";
6
- import { t as k } from "./DsZznbt2.mjs";
7
- import { n as A } from "./BVSQ6DfJ.mjs";
8
- import { t as j } from "./BVIHqL6g.mjs";
9
- import { n as M } from "./BBPczt0U.mjs";
10
- import { t as ee } from "./CQSTyCVP.mjs";
11
- import { Comment as N, Fragment as te, Text as ne, Transition as re, cloneVNode as ie, computed as P, createBlock as F, createCommentVNode as ae, createElementBlock as oe, createVNode as I, defineComponent as L, getCurrentInstance as se, inject as R, mergeProps as ce, nextTick as le, normalizeClass as ue, normalizeStyle as de, onBeforeMount as fe, onBeforeUnmount as z, onDeactivated as pe, onMounted as B, openBlock as V, provide as me, readonly as he, ref as H, renderSlot as U, shallowRef as ge, toDisplayString as _e, toRef as ve, unref as W, vShow as ye, watch as G, withCtx as K, withDirectives as be } from "vue";
12
- import { fromPairs as xe, isNil as Se, isUndefined as Ce } from "lodash-unified";
13
- //#region node_modules/.pnpm/element-plus@2.13.7_typescr_0fa4751f8fa020301a8746973788e8b7/node_modules/element-plus/es/hooks/use-model-toggle/index.mjs
14
- var we = m({
15
- type: C(Boolean),
16
- default: null
17
- }), Te = m({ type: C(Function) }), Ee = (e) => {
18
- let t = `update:${e}`, n = `onUpdate:${e}`, r = [t];
19
- return {
20
- useModelToggle: ({ indicator: r, toggleReason: a, shouldHideWhenRouteChanges: o, shouldProceed: s, onShow: c, onHide: l }) => {
21
- let u = se(), { emit: d } = u, f = u.props, m = P(() => p(f[n])), h = P(() => f[e] === null), g = (e) => {
22
- r.value !== !0 && (r.value = !0, a && (a.value = e), p(c) && c(e));
23
- }, _ = (e) => {
24
- r.value !== !1 && (r.value = !1, a && (a.value = e), p(l) && l(e));
25
- }, v = (e) => {
26
- if (f.disabled === !0 || p(s) && !s()) return;
27
- let n = m.value && i;
28
- n && d(t, !0), (h.value || !n) && g(e);
29
- }, y = (e) => {
30
- if (f.disabled === !0 || !i) return;
31
- let n = m.value && i;
32
- n && d(t, !1), (h.value || !n) && _(e);
33
- }, x = (e) => {
34
- b(e) && (f.disabled && e ? m.value && d(t, !1) : r.value !== e && (e ? g() : _()));
35
- };
36
- return G(() => f[e], x), o && u.appContext.config.globalProperties.$route !== void 0 && G(() => ({ ...u.proxy.$route }), () => {
37
- o.value && r.value && y();
38
- }), B(() => {
39
- x(f[e]);
40
- }), {
41
- hide: y,
42
- show: v,
43
- toggle: () => {
44
- r.value ? y() : v();
45
- },
46
- hasUpdateHandler: m
47
- };
48
- },
49
- useModelToggleProps: {
50
- [e]: we,
51
- [n]: Te
52
- },
53
- useModelToggleEmits: r
54
- };
55
- }, { useModelToggle: De, useModelToggleProps: Oe, useModelToggleEmits: ke } = Ee("modelValue"), q = "bottom", Ae = "right", J = "left", je = "auto", Me = [
56
- "top",
57
- q,
58
- Ae,
59
- J
60
- ], Ne = "start", Pe = "clippingParents", Fe = "viewport", Ie = "popper", Le = "reference", Re = Me.reduce(function(e, t) {
61
- return e.concat([t + "-" + Ne, t + "-end"]);
62
- }, []), ze = [].concat(Me, [je]).reduce(function(e, t) {
63
- return e.concat([
64
- t,
65
- t + "-" + Ne,
66
- t + "-end"
67
- ]);
68
- }, []), Be = [
69
- "beforeRead",
70
- "read",
71
- "afterRead",
72
- "beforeMain",
73
- "main",
74
- "afterMain",
75
- "beforeWrite",
76
- "write",
77
- "afterWrite"
78
- ];
79
- function Y(e) {
80
- return e ? (e.nodeName || "").toLowerCase() : null;
81
- }
82
- function X(e) {
83
- if (e == null) return window;
84
- if (e.toString() !== "[object Window]") {
85
- var t = e.ownerDocument;
86
- return t && t.defaultView || window;
87
- }
88
- return e;
89
- }
90
- function Ve(e) {
91
- return e instanceof X(e).Element || e instanceof Element;
92
- }
93
- function Z(e) {
94
- return e instanceof X(e).HTMLElement || e instanceof HTMLElement;
95
- }
96
- function He(e) {
97
- return typeof ShadowRoot > "u" ? !1 : e instanceof X(e).ShadowRoot || e instanceof ShadowRoot;
98
- }
99
- function Ue(e) {
100
- var t = e.state;
101
- Object.keys(t.elements).forEach(function(e) {
102
- var n = t.styles[e] || {}, r = t.attributes[e] || {}, i = t.elements[e];
103
- !Z(i) || !Y(i) || (Object.assign(i.style, n), Object.keys(r).forEach(function(e) {
104
- var t = r[e];
105
- t === !1 ? i.removeAttribute(e) : i.setAttribute(e, t === !0 ? "" : t);
106
- }));
107
- });
108
- }
109
- function We(e) {
110
- var t = e.state, n = {
111
- popper: {
112
- position: t.options.strategy,
113
- left: "0",
114
- top: "0",
115
- margin: "0"
116
- },
117
- arrow: { position: "absolute" },
118
- reference: {}
119
- };
120
- return Object.assign(t.elements.popper.style, n.popper), t.styles = n, t.elements.arrow && Object.assign(t.elements.arrow.style, n.arrow), function() {
121
- Object.keys(t.elements).forEach(function(e) {
122
- var r = t.elements[e], i = t.attributes[e] || {}, a = Object.keys(t.styles.hasOwnProperty(e) ? t.styles[e] : n[e]).reduce(function(e, t) {
123
- return e[t] = "", e;
124
- }, {});
125
- !Z(r) || !Y(r) || (Object.assign(r.style, a), Object.keys(i).forEach(function(e) {
126
- r.removeAttribute(e);
127
- }));
128
- });
129
- };
130
- }
131
- var Ge = {
132
- name: "applyStyles",
133
- enabled: !0,
134
- phase: "write",
135
- fn: Ue,
136
- effect: We,
137
- requires: ["computeStyles"]
138
- };
139
- function Q(e) {
140
- return e.split("-")[0];
141
- }
142
- var Ke = Math.max, qe = Math.min, Je = Math.round;
143
- function Ye(e, t) {
144
- t === void 0 && (t = !1);
145
- var n = e.getBoundingClientRect(), r = 1, i = 1;
146
- if (Z(e) && t) {
147
- var a = e.offsetHeight, o = e.offsetWidth;
148
- o > 0 && (r = Je(n.width) / o || 1), a > 0 && (i = Je(n.height) / a || 1);
149
- }
150
- return {
151
- width: n.width / r,
152
- height: n.height / i,
153
- top: n.top / i,
154
- right: n.right / r,
155
- bottom: n.bottom / i,
156
- left: n.left / r,
157
- x: n.left / r,
158
- y: n.top / i
159
- };
160
- }
161
- function Xe(e) {
162
- var t = Ye(e), n = e.offsetWidth, r = e.offsetHeight;
163
- return Math.abs(t.width - n) <= 1 && (n = t.width), Math.abs(t.height - r) <= 1 && (r = t.height), {
164
- x: e.offsetLeft,
165
- y: e.offsetTop,
166
- width: n,
167
- height: r
168
- };
169
- }
170
- function Ze(e, t) {
171
- var n = t.getRootNode && t.getRootNode();
172
- if (e.contains(t)) return !0;
173
- if (n && He(n)) {
174
- var r = t;
175
- do {
176
- if (r && e.isSameNode(r)) return !0;
177
- r = r.parentNode || r.host;
178
- } while (r);
179
- }
180
- return !1;
181
- }
182
- function $(e) {
183
- return X(e).getComputedStyle(e);
184
- }
185
- function Qe(e) {
186
- return [
187
- "table",
188
- "td",
189
- "th"
190
- ].indexOf(Y(e)) >= 0;
191
- }
192
- function $e(e) {
193
- return ((Ve(e) ? e.ownerDocument : e.document) || window.document).documentElement;
194
- }
195
- function et(e) {
196
- return Y(e) === "html" ? e : e.assignedSlot || e.parentNode || (He(e) ? e.host : null) || $e(e);
197
- }
198
- function tt(e) {
199
- return !Z(e) || $(e).position === "fixed" ? null : e.offsetParent;
200
- }
201
- function nt(e) {
202
- var t = navigator.userAgent.toLowerCase().indexOf("firefox") !== -1;
203
- if (navigator.userAgent.indexOf("Trident") !== -1 && Z(e) && $(e).position === "fixed") return null;
204
- var n = et(e);
205
- for (He(n) && (n = n.host); Z(n) && ["html", "body"].indexOf(Y(n)) < 0;) {
206
- var r = $(n);
207
- if (r.transform !== "none" || r.perspective !== "none" || r.contain === "paint" || ["transform", "perspective"].indexOf(r.willChange) !== -1 || t && r.willChange === "filter" || t && r.filter && r.filter !== "none") return n;
208
- n = n.parentNode;
209
- }
210
- return null;
211
- }
212
- function rt(e) {
213
- for (var t = X(e), n = tt(e); n && Qe(n) && $(n).position === "static";) n = tt(n);
214
- return n && (Y(n) === "html" || Y(n) === "body" && $(n).position === "static") ? t : n || nt(e) || t;
215
- }
216
- function it(e) {
217
- return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
218
- }
219
- function at(e, t, n) {
220
- return Ke(e, qe(t, n));
221
- }
222
- function ot(e, t, n) {
223
- var r = at(e, t, n);
224
- return r > n ? n : r;
225
- }
226
- function st() {
227
- return {
228
- top: 0,
229
- right: 0,
230
- bottom: 0,
231
- left: 0
232
- };
233
- }
234
- function ct(e) {
235
- return Object.assign({}, st(), e);
236
- }
237
- function lt(e, t) {
238
- return t.reduce(function(t, n) {
239
- return t[n] = e, t;
240
- }, {});
241
- }
242
- var ut = function(e, t) {
243
- return e = typeof e == "function" ? e(Object.assign({}, t.rects, { placement: t.placement })) : e, ct(typeof e == "number" ? lt(e, Me) : e);
244
- };
245
- function dt(e) {
246
- var t, n = e.state, r = e.name, i = e.options, a = n.elements.arrow, o = n.modifiersData.popperOffsets, s = Q(n.placement), c = it(s), l = ["left", "right"].indexOf(s) >= 0 ? "height" : "width";
247
- if (!(!a || !o)) {
248
- var u = ut(i.padding, n), d = Xe(a), f = c === "y" ? "top" : J, p = c === "y" ? q : Ae, m = n.rects.reference[l] + n.rects.reference[c] - o[c] - n.rects.popper[l], h = o[c] - n.rects.reference[c], g = rt(a), _ = g ? c === "y" ? g.clientHeight || 0 : g.clientWidth || 0 : 0, v = m / 2 - h / 2, y = u[f], b = _ - d[l] - u[p], x = _ / 2 - d[l] / 2 + v, S = at(y, x, b), C = c;
249
- n.modifiersData[r] = (t = {}, t[C] = S, t.centerOffset = S - x, t);
250
- }
251
- }
252
- function ft(e) {
253
- var t = e.state, n = e.options.element, r = n === void 0 ? "[data-popper-arrow]" : n;
254
- r != null && (typeof r == "string" && (r = t.elements.popper.querySelector(r), !r) || !Ze(t.elements.popper, r) || (t.elements.arrow = r));
255
- }
256
- var pt = {
257
- name: "arrow",
258
- enabled: !0,
259
- phase: "main",
260
- fn: dt,
261
- effect: ft,
262
- requires: ["popperOffsets"],
263
- requiresIfExists: ["preventOverflow"]
264
- };
265
- function mt(e) {
266
- return e.split("-")[1];
267
- }
268
- var ht = {
269
- top: "auto",
270
- right: "auto",
271
- bottom: "auto",
272
- left: "auto"
273
- };
274
- function gt(e) {
275
- var t = e.x, n = e.y, r = window.devicePixelRatio || 1;
276
- return {
277
- x: Je(t * r) / r || 0,
278
- y: Je(n * r) / r || 0
279
- };
280
- }
281
- function _t(e) {
282
- var t, n = e.popper, r = e.popperRect, i = e.placement, a = e.variation, o = e.offsets, s = e.position, c = e.gpuAcceleration, l = e.adaptive, u = e.roundOffsets, d = e.isFixed, f = o.x, p = f === void 0 ? 0 : f, m = o.y, h = m === void 0 ? 0 : m, g = typeof u == "function" ? u({
283
- x: p,
284
- y: h
285
- }) : {
286
- x: p,
287
- y: h
288
- };
289
- p = g.x, h = g.y;
290
- var _ = o.hasOwnProperty("x"), v = o.hasOwnProperty("y"), y = J, b = "top", x = window;
291
- if (l) {
292
- var S = rt(n), C = "clientHeight", w = "clientWidth";
293
- if (S === X(n) && (S = $e(n), $(S).position !== "static" && s === "absolute" && (C = "scrollHeight", w = "scrollWidth")), S = S, i === "top" || (i === "left" || i === "right") && a === "end") {
294
- b = q;
295
- var T = d && S === x && x.visualViewport ? x.visualViewport.height : S[C];
296
- h -= T - r.height, h *= c ? 1 : -1;
297
- }
298
- if (i === "left" || (i === "top" || i === "bottom") && a === "end") {
299
- y = Ae;
300
- var E = d && S === x && x.visualViewport ? x.visualViewport.width : S[w];
301
- p -= E - r.width, p *= c ? 1 : -1;
302
- }
303
- }
304
- var D = Object.assign({ position: s }, l && ht), O = u === !0 ? gt({
305
- x: p,
306
- y: h
307
- }) : {
308
- x: p,
309
- y: h
310
- };
311
- if (p = O.x, h = O.y, c) {
312
- var k;
313
- return Object.assign({}, D, (k = {}, k[b] = v ? "0" : "", k[y] = _ ? "0" : "", k.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + p + "px, " + h + "px)" : "translate3d(" + p + "px, " + h + "px, 0)", k));
314
- }
315
- return Object.assign({}, D, (t = {}, t[b] = v ? h + "px" : "", t[y] = _ ? p + "px" : "", t.transform = "", t));
316
- }
317
- function vt(e) {
318
- var t = e.state, n = e.options, r = n.gpuAcceleration, i = r === void 0 ? !0 : r, a = n.adaptive, o = a === void 0 ? !0 : a, s = n.roundOffsets, c = s === void 0 ? !0 : s, l = {
319
- placement: Q(t.placement),
320
- variation: mt(t.placement),
321
- popper: t.elements.popper,
322
- popperRect: t.rects.popper,
323
- gpuAcceleration: i,
324
- isFixed: t.options.strategy === "fixed"
325
- };
326
- t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, _t(Object.assign({}, l, {
327
- offsets: t.modifiersData.popperOffsets,
328
- position: t.options.strategy,
329
- adaptive: o,
330
- roundOffsets: c
331
- })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, _t(Object.assign({}, l, {
332
- offsets: t.modifiersData.arrow,
333
- position: "absolute",
334
- adaptive: !1,
335
- roundOffsets: c
336
- })))), t.attributes.popper = Object.assign({}, t.attributes.popper, { "data-popper-placement": t.placement });
337
- }
338
- var yt = {
339
- name: "computeStyles",
340
- enabled: !0,
341
- phase: "beforeWrite",
342
- fn: vt,
343
- data: {}
344
- }, bt = { passive: !0 };
345
- function xt(e) {
346
- var t = e.state, n = e.instance, r = e.options, i = r.scroll, a = i === void 0 ? !0 : i, o = r.resize, s = o === void 0 ? !0 : o, c = X(t.elements.popper), l = [].concat(t.scrollParents.reference, t.scrollParents.popper);
347
- return a && l.forEach(function(e) {
348
- e.addEventListener("scroll", n.update, bt);
349
- }), s && c.addEventListener("resize", n.update, bt), function() {
350
- a && l.forEach(function(e) {
351
- e.removeEventListener("scroll", n.update, bt);
352
- }), s && c.removeEventListener("resize", n.update, bt);
353
- };
354
- }
355
- var St = {
356
- name: "eventListeners",
357
- enabled: !0,
358
- phase: "write",
359
- fn: function() {},
360
- effect: xt,
361
- data: {}
362
- }, Ct = {
363
- left: "right",
364
- right: "left",
365
- bottom: "top",
366
- top: "bottom"
367
- };
368
- function wt(e) {
369
- return e.replace(/left|right|bottom|top/g, function(e) {
370
- return Ct[e];
371
- });
372
- }
373
- var Tt = {
374
- start: "end",
375
- end: "start"
376
- };
377
- function Et(e) {
378
- return e.replace(/start|end/g, function(e) {
379
- return Tt[e];
380
- });
381
- }
382
- function Dt(e) {
383
- var t = X(e);
384
- return {
385
- scrollLeft: t.pageXOffset,
386
- scrollTop: t.pageYOffset
387
- };
388
- }
389
- function Ot(e) {
390
- return Ye($e(e)).left + Dt(e).scrollLeft;
391
- }
392
- function kt(e) {
393
- var t = X(e), n = $e(e), r = t.visualViewport, i = n.clientWidth, a = n.clientHeight, o = 0, s = 0;
394
- return r && (i = r.width, a = r.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (o = r.offsetLeft, s = r.offsetTop)), {
395
- width: i,
396
- height: a,
397
- x: o + Ot(e),
398
- y: s
399
- };
400
- }
401
- function At(e) {
402
- var t, n = $e(e), r = Dt(e), i = (t = e.ownerDocument) == null ? void 0 : t.body, a = Ke(n.scrollWidth, n.clientWidth, i ? i.scrollWidth : 0, i ? i.clientWidth : 0), o = Ke(n.scrollHeight, n.clientHeight, i ? i.scrollHeight : 0, i ? i.clientHeight : 0), s = -r.scrollLeft + Ot(e), c = -r.scrollTop;
403
- return $(i || n).direction === "rtl" && (s += Ke(n.clientWidth, i ? i.clientWidth : 0) - a), {
404
- width: a,
405
- height: o,
406
- x: s,
407
- y: c
408
- };
409
- }
410
- function jt(e) {
411
- var t = $(e), n = t.overflow, r = t.overflowX, i = t.overflowY;
412
- return /auto|scroll|overlay|hidden/.test(n + i + r);
413
- }
414
- function Mt(e) {
415
- return [
416
- "html",
417
- "body",
418
- "#document"
419
- ].indexOf(Y(e)) >= 0 ? e.ownerDocument.body : Z(e) && jt(e) ? e : Mt(et(e));
420
- }
421
- function Nt(e, t) {
422
- var n;
423
- t === void 0 && (t = []);
424
- var r = Mt(e), i = r === ((n = e.ownerDocument) == null ? void 0 : n.body), a = X(r), o = i ? [a].concat(a.visualViewport || [], jt(r) ? r : []) : r, s = t.concat(o);
425
- return i ? s : s.concat(Nt(et(o)));
426
- }
427
- function Pt(e) {
428
- return Object.assign({}, e, {
429
- left: e.x,
430
- top: e.y,
431
- right: e.x + e.width,
432
- bottom: e.y + e.height
433
- });
434
- }
435
- function Ft(e) {
436
- var t = Ye(e);
437
- return t.top += e.clientTop, t.left += e.clientLeft, t.bottom = t.top + e.clientHeight, t.right = t.left + e.clientWidth, t.width = e.clientWidth, t.height = e.clientHeight, t.x = t.left, t.y = t.top, t;
438
- }
439
- function It(e, t) {
440
- return t === "viewport" ? Pt(kt(e)) : Ve(t) ? Ft(t) : Pt(At($e(e)));
441
- }
442
- function Lt(e) {
443
- var t = Nt(et(e)), n = ["absolute", "fixed"].indexOf($(e).position) >= 0 && Z(e) ? rt(e) : e;
444
- return Ve(n) ? t.filter(function(e) {
445
- return Ve(e) && Ze(e, n) && Y(e) !== "body";
446
- }) : [];
447
- }
448
- function Rt(e, t, n) {
449
- var r = t === "clippingParents" ? Lt(e) : [].concat(t), i = [].concat(r, [n]), a = i[0], o = i.reduce(function(t, n) {
450
- var r = It(e, n);
451
- return t.top = Ke(r.top, t.top), t.right = qe(r.right, t.right), t.bottom = qe(r.bottom, t.bottom), t.left = Ke(r.left, t.left), t;
452
- }, It(e, a));
453
- return o.width = o.right - o.left, o.height = o.bottom - o.top, o.x = o.left, o.y = o.top, o;
454
- }
455
- function zt(e) {
456
- var t = e.reference, n = e.element, r = e.placement, i = r ? Q(r) : null, a = r ? mt(r) : null, o = t.x + t.width / 2 - n.width / 2, s = t.y + t.height / 2 - n.height / 2, c;
457
- switch (i) {
458
- case "top":
459
- c = {
460
- x: o,
461
- y: t.y - n.height
462
- };
463
- break;
464
- case q:
465
- c = {
466
- x: o,
467
- y: t.y + t.height
468
- };
469
- break;
470
- case Ae:
471
- c = {
472
- x: t.x + t.width,
473
- y: s
474
- };
475
- break;
476
- case J:
477
- c = {
478
- x: t.x - n.width,
479
- y: s
480
- };
481
- break;
482
- default: c = {
483
- x: t.x,
484
- y: t.y
485
- };
486
- }
487
- var l = i ? it(i) : null;
488
- if (l != null) {
489
- var u = l === "y" ? "height" : "width";
490
- switch (a) {
491
- case Ne:
492
- c[l] = c[l] - (t[u] / 2 - n[u] / 2);
493
- break;
494
- case "end":
495
- c[l] = c[l] + (t[u] / 2 - n[u] / 2);
496
- break;
497
- }
498
- }
499
- return c;
500
- }
501
- function Bt(e, t) {
502
- t === void 0 && (t = {});
503
- var n = t, r = n.placement, i = r === void 0 ? e.placement : r, a = n.boundary, o = a === void 0 ? Pe : a, s = n.rootBoundary, c = s === void 0 ? Fe : s, l = n.elementContext, u = l === void 0 ? Ie : l, d = n.altBoundary, f = d === void 0 ? !1 : d, p = n.padding, m = p === void 0 ? 0 : p, h = ct(typeof m == "number" ? lt(m, Me) : m), g = u === "popper" ? Le : Ie, _ = e.rects.popper, v = e.elements[f ? g : u], y = Rt(Ve(v) ? v : v.contextElement || $e(e.elements.popper), o, c), b = Ye(e.elements.reference), x = zt({
504
- reference: b,
505
- element: _,
506
- strategy: "absolute",
507
- placement: i
508
- }), S = Pt(Object.assign({}, _, x)), C = u === "popper" ? S : b, w = {
509
- top: y.top - C.top + h.top,
510
- bottom: C.bottom - y.bottom + h.bottom,
511
- left: y.left - C.left + h.left,
512
- right: C.right - y.right + h.right
513
- }, T = e.modifiersData.offset;
514
- if (u === "popper" && T) {
515
- var E = T[i];
516
- Object.keys(w).forEach(function(e) {
517
- var t = ["right", "bottom"].indexOf(e) >= 0 ? 1 : -1, n = ["top", "bottom"].indexOf(e) >= 0 ? "y" : "x";
518
- w[e] += E[n] * t;
519
- });
520
- }
521
- return w;
522
- }
523
- function Vt(e, t) {
524
- t === void 0 && (t = {});
525
- var n = t, r = n.placement, i = n.boundary, a = n.rootBoundary, o = n.padding, s = n.flipVariations, c = n.allowedAutoPlacements, l = c === void 0 ? ze : c, u = mt(r), d = u ? s ? Re : Re.filter(function(e) {
526
- return mt(e) === u;
527
- }) : Me, f = d.filter(function(e) {
528
- return l.indexOf(e) >= 0;
529
- });
530
- f.length === 0 && (f = d);
531
- var p = f.reduce(function(t, n) {
532
- return t[n] = Bt(e, {
533
- placement: n,
534
- boundary: i,
535
- rootBoundary: a,
536
- padding: o
537
- })[Q(n)], t;
538
- }, {});
539
- return Object.keys(p).sort(function(e, t) {
540
- return p[e] - p[t];
541
- });
542
- }
543
- function Ht(e) {
544
- if (Q(e) === "auto") return [];
545
- var t = wt(e);
546
- return [
547
- Et(e),
548
- t,
549
- Et(t)
550
- ];
551
- }
552
- function Ut(e) {
553
- var t = e.state, n = e.options, r = e.name;
554
- if (!t.modifiersData[r]._skip) {
555
- for (var i = n.mainAxis, a = i === void 0 ? !0 : i, o = n.altAxis, s = o === void 0 ? !0 : o, c = n.fallbackPlacements, l = n.padding, u = n.boundary, d = n.rootBoundary, f = n.altBoundary, p = n.flipVariations, m = p === void 0 ? !0 : p, h = n.allowedAutoPlacements, g = t.options.placement, _ = Q(g) === g, v = c || (_ || !m ? [wt(g)] : Ht(g)), y = [g].concat(v).reduce(function(e, n) {
556
- return e.concat(Q(n) === "auto" ? Vt(t, {
557
- placement: n,
558
- boundary: u,
559
- rootBoundary: d,
560
- padding: l,
561
- flipVariations: m,
562
- allowedAutoPlacements: h
563
- }) : n);
564
- }, []), b = t.rects.reference, x = t.rects.popper, S = /* @__PURE__ */ new Map(), C = !0, w = y[0], T = 0; T < y.length; T++) {
565
- var E = y[T], D = Q(E), O = mt(E) === Ne, k = ["top", q].indexOf(D) >= 0, A = k ? "width" : "height", j = Bt(t, {
566
- placement: E,
567
- boundary: u,
568
- rootBoundary: d,
569
- altBoundary: f,
570
- padding: l
571
- }), M = k ? O ? Ae : J : O ? q : "top";
572
- b[A] > x[A] && (M = wt(M));
573
- var ee = wt(M), N = [];
574
- if (a && N.push(j[D] <= 0), s && N.push(j[M] <= 0, j[ee] <= 0), N.every(function(e) {
575
- return e;
576
- })) {
577
- w = E, C = !1;
578
- break;
579
- }
580
- S.set(E, N);
581
- }
582
- if (C) for (var te = m ? 3 : 1, ne = function(e) {
583
- var t = y.find(function(t) {
584
- var n = S.get(t);
585
- if (n) return n.slice(0, e).every(function(e) {
586
- return e;
587
- });
588
- });
589
- if (t) return w = t, "break";
590
- }, re = te; re > 0 && ne(re) !== "break"; re--);
591
- t.placement !== w && (t.modifiersData[r]._skip = !0, t.placement = w, t.reset = !0);
592
- }
593
- }
594
- var Wt = {
595
- name: "flip",
596
- enabled: !0,
597
- phase: "main",
598
- fn: Ut,
599
- requiresIfExists: ["offset"],
600
- data: { _skip: !1 }
601
- };
602
- function Gt(e, t, n) {
603
- return n === void 0 && (n = {
604
- x: 0,
605
- y: 0
606
- }), {
607
- top: e.top - t.height - n.y,
608
- right: e.right - t.width + n.x,
609
- bottom: e.bottom - t.height + n.y,
610
- left: e.left - t.width - n.x
611
- };
612
- }
613
- function Kt(e) {
614
- return [
615
- "top",
616
- Ae,
617
- q,
618
- J
619
- ].some(function(t) {
620
- return e[t] >= 0;
621
- });
622
- }
623
- function qt(e) {
624
- var t = e.state, n = e.name, r = t.rects.reference, i = t.rects.popper, a = t.modifiersData.preventOverflow, o = Bt(t, { elementContext: "reference" }), s = Bt(t, { altBoundary: !0 }), c = Gt(o, r), l = Gt(s, i, a), u = Kt(c), d = Kt(l);
625
- t.modifiersData[n] = {
626
- referenceClippingOffsets: c,
627
- popperEscapeOffsets: l,
628
- isReferenceHidden: u,
629
- hasPopperEscaped: d
630
- }, t.attributes.popper = Object.assign({}, t.attributes.popper, {
631
- "data-popper-reference-hidden": u,
632
- "data-popper-escaped": d
633
- });
634
- }
635
- var Jt = {
636
- name: "hide",
637
- enabled: !0,
638
- phase: "main",
639
- requiresIfExists: ["preventOverflow"],
640
- fn: qt
641
- };
642
- function Yt(e, t, n) {
643
- var r = Q(e), i = ["left", "top"].indexOf(r) >= 0 ? -1 : 1, a = typeof n == "function" ? n(Object.assign({}, t, { placement: e })) : n, o = a[0], s = a[1];
644
- return o = o || 0, s = (s || 0) * i, ["left", "right"].indexOf(r) >= 0 ? {
645
- x: s,
646
- y: o
647
- } : {
648
- x: o,
649
- y: s
650
- };
651
- }
652
- function Xt(e) {
653
- var t = e.state, n = e.options, r = e.name, i = n.offset, a = i === void 0 ? [0, 0] : i, o = ze.reduce(function(e, n) {
654
- return e[n] = Yt(n, t.rects, a), e;
655
- }, {}), s = o[t.placement], c = s.x, l = s.y;
656
- t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += c, t.modifiersData.popperOffsets.y += l), t.modifiersData[r] = o;
657
- }
658
- var Zt = {
659
- name: "offset",
660
- enabled: !0,
661
- phase: "main",
662
- requires: ["popperOffsets"],
663
- fn: Xt
664
- };
665
- function Qt(e) {
666
- var t = e.state, n = e.name;
667
- t.modifiersData[n] = zt({
668
- reference: t.rects.reference,
669
- element: t.rects.popper,
670
- strategy: "absolute",
671
- placement: t.placement
672
- });
673
- }
674
- var $t = {
675
- name: "popperOffsets",
676
- enabled: !0,
677
- phase: "read",
678
- fn: Qt,
679
- data: {}
680
- };
681
- function en(e) {
682
- return e === "x" ? "y" : "x";
683
- }
684
- function tn(e) {
685
- var t = e.state, n = e.options, r = e.name, i = n.mainAxis, a = i === void 0 ? !0 : i, o = n.altAxis, s = o === void 0 ? !1 : o, c = n.boundary, l = n.rootBoundary, u = n.altBoundary, d = n.padding, f = n.tether, p = f === void 0 ? !0 : f, m = n.tetherOffset, h = m === void 0 ? 0 : m, g = Bt(t, {
686
- boundary: c,
687
- rootBoundary: l,
688
- padding: d,
689
- altBoundary: u
690
- }), _ = Q(t.placement), v = mt(t.placement), y = !v, b = it(_), x = en(b), S = t.modifiersData.popperOffsets, C = t.rects.reference, w = t.rects.popper, T = typeof h == "function" ? h(Object.assign({}, t.rects, { placement: t.placement })) : h, E = typeof T == "number" ? {
691
- mainAxis: T,
692
- altAxis: T
693
- } : Object.assign({
694
- mainAxis: 0,
695
- altAxis: 0
696
- }, T), D = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, O = {
697
- x: 0,
698
- y: 0
699
- };
700
- if (S) {
701
- if (a) {
702
- var k = b === "y" ? "top" : J, A = b === "y" ? q : Ae, j = b === "y" ? "height" : "width", M = S[b], ee = M + g[k], N = M - g[A], te = p ? -w[j] / 2 : 0, ne = v === "start" ? C[j] : w[j], re = v === "start" ? -w[j] : -C[j], ie = t.elements.arrow, P = p && ie ? Xe(ie) : {
703
- width: 0,
704
- height: 0
705
- }, F = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : st(), ae = F[k], oe = F[A], I = at(0, C[j], P[j]), L = y ? C[j] / 2 - te - I - ae - E.mainAxis : ne - I - ae - E.mainAxis, se = y ? -C[j] / 2 + te + I + oe + E.mainAxis : re + I + oe + E.mainAxis, R = t.elements.arrow && rt(t.elements.arrow), ce = R ? b === "y" ? R.clientTop || 0 : R.clientLeft || 0 : 0, le = (D == null ? void 0 : D[b]) ?? 0, ue = M + L - le - ce, de = M + se - le, fe = at(p ? qe(ee, ue) : ee, M, p ? Ke(N, de) : N);
706
- S[b] = fe, O[b] = fe - M;
707
- }
708
- if (s) {
709
- var z = b === "x" ? "top" : J, pe = b === "x" ? q : Ae, B = S[x], V = x === "y" ? "height" : "width", me = B + g[z], he = B - g[pe], H = ["top", J].indexOf(_) !== -1, U = (D == null ? void 0 : D[x]) ?? 0, ge = H ? me : B - C[V] - w[V] - U + E.altAxis, _e = H ? B + C[V] + w[V] - U - E.altAxis : he, ve = p && H ? ot(ge, B, _e) : at(p ? ge : me, B, p ? _e : he);
710
- S[x] = ve, O[x] = ve - B;
711
- }
712
- t.modifiersData[r] = O;
713
- }
714
- }
715
- var nn = {
716
- name: "preventOverflow",
717
- enabled: !0,
718
- phase: "main",
719
- fn: tn,
720
- requiresIfExists: ["offset"]
721
- };
722
- function rn(e) {
723
- return {
724
- scrollLeft: e.scrollLeft,
725
- scrollTop: e.scrollTop
726
- };
727
- }
728
- function an(e) {
729
- return e === X(e) || !Z(e) ? Dt(e) : rn(e);
730
- }
731
- function on(e) {
732
- var t = e.getBoundingClientRect(), n = Je(t.width) / e.offsetWidth || 1, r = Je(t.height) / e.offsetHeight || 1;
733
- return n !== 1 || r !== 1;
734
- }
735
- function sn(e, t, n) {
736
- n === void 0 && (n = !1);
737
- var r = Z(t), i = Z(t) && on(t), a = $e(t), o = Ye(e, i), s = {
738
- scrollLeft: 0,
739
- scrollTop: 0
740
- }, c = {
741
- x: 0,
742
- y: 0
743
- };
744
- return (r || !r && !n) && ((Y(t) !== "body" || jt(a)) && (s = an(t)), Z(t) ? (c = Ye(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : a && (c.x = Ot(a))), {
745
- x: o.left + s.scrollLeft - c.x,
746
- y: o.top + s.scrollTop - c.y,
747
- width: o.width,
748
- height: o.height
749
- };
750
- }
751
- function cn(e) {
752
- var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), r = [];
753
- e.forEach(function(e) {
754
- t.set(e.name, e);
755
- });
756
- function i(e) {
757
- n.add(e.name), [].concat(e.requires || [], e.requiresIfExists || []).forEach(function(e) {
758
- if (!n.has(e)) {
759
- var r = t.get(e);
760
- r && i(r);
761
- }
762
- }), r.push(e);
763
- }
764
- return e.forEach(function(e) {
765
- n.has(e.name) || i(e);
766
- }), r;
767
- }
768
- function ln(e) {
769
- var t = cn(e);
770
- return Be.reduce(function(e, n) {
771
- return e.concat(t.filter(function(e) {
772
- return e.phase === n;
773
- }));
774
- }, []);
775
- }
776
- function un(e) {
777
- var t;
778
- return function() {
779
- return t || (t = new Promise(function(n) {
780
- Promise.resolve().then(function() {
781
- t = void 0, n(e());
782
- });
783
- })), t;
784
- };
785
- }
786
- function dn(e) {
787
- var t = e.reduce(function(e, t) {
788
- var n = e[t.name];
789
- return e[t.name] = n ? Object.assign({}, n, t, {
790
- options: Object.assign({}, n.options, t.options),
791
- data: Object.assign({}, n.data, t.data)
792
- }) : t, e;
793
- }, {});
794
- return Object.keys(t).map(function(e) {
795
- return t[e];
796
- });
797
- }
798
- var fn = {
799
- placement: "bottom",
800
- modifiers: [],
801
- strategy: "absolute"
802
- };
803
- function pn() {
804
- return ![...arguments].some(function(e) {
805
- return !(e && typeof e.getBoundingClientRect == "function");
806
- });
807
- }
808
- function mn(e) {
809
- e === void 0 && (e = {});
810
- var t = e, n = t.defaultModifiers, r = n === void 0 ? [] : n, i = t.defaultOptions, a = i === void 0 ? fn : i;
811
- return function(e, t, n) {
812
- n === void 0 && (n = a);
813
- var i = {
814
- placement: "bottom",
815
- orderedModifiers: [],
816
- options: Object.assign({}, fn, a),
817
- modifiersData: {},
818
- elements: {
819
- reference: e,
820
- popper: t
821
- },
822
- attributes: {},
823
- styles: {}
824
- }, o = [], s = !1, c = {
825
- state: i,
826
- setOptions: function(n) {
827
- var o = typeof n == "function" ? n(i.options) : n;
828
- u(), i.options = Object.assign({}, a, i.options, o), i.scrollParents = {
829
- reference: Ve(e) ? Nt(e) : e.contextElement ? Nt(e.contextElement) : [],
830
- popper: Nt(t)
831
- };
832
- var s = ln(dn([].concat(r, i.options.modifiers)));
833
- return i.orderedModifiers = s.filter(function(e) {
834
- return e.enabled;
835
- }), l(), c.update();
836
- },
837
- forceUpdate: function() {
838
- if (!s) {
839
- var e = i.elements, t = e.reference, n = e.popper;
840
- if (pn(t, n)) {
841
- i.rects = {
842
- reference: sn(t, rt(n), i.options.strategy === "fixed"),
843
- popper: Xe(n)
844
- }, i.reset = !1, i.placement = i.options.placement, i.orderedModifiers.forEach(function(e) {
845
- return i.modifiersData[e.name] = Object.assign({}, e.data);
846
- });
847
- for (var r = 0; r < i.orderedModifiers.length; r++) {
848
- if (i.reset === !0) {
849
- i.reset = !1, r = -1;
850
- continue;
851
- }
852
- var a = i.orderedModifiers[r], o = a.fn, l = a.options, u = l === void 0 ? {} : l, d = a.name;
853
- typeof o == "function" && (i = o({
854
- state: i,
855
- options: u,
856
- name: d,
857
- instance: c
858
- }) || i);
859
- }
860
- }
861
- }
862
- },
863
- update: un(function() {
864
- return new Promise(function(e) {
865
- c.forceUpdate(), e(i);
866
- });
867
- }),
868
- destroy: function() {
869
- u(), s = !0;
870
- }
871
- };
872
- if (!pn(e, t)) return c;
873
- c.setOptions(n).then(function(e) {
874
- !s && n.onFirstUpdate && n.onFirstUpdate(e);
875
- });
876
- function l() {
877
- i.orderedModifiers.forEach(function(e) {
878
- var t = e.name, n = e.options, r = n === void 0 ? {} : n, a = e.effect;
879
- if (typeof a == "function") {
880
- var s = a({
881
- state: i,
882
- name: t,
883
- instance: c,
884
- options: r
885
- });
886
- o.push(s || function() {});
887
- }
888
- });
889
- }
890
- function u() {
891
- o.forEach(function(e) {
892
- return e();
893
- }), o = [];
894
- }
895
- return c;
896
- };
897
- }
898
- mn(), mn({ defaultModifiers: [
899
- St,
900
- $t,
901
- yt,
902
- Ge
903
- ] });
904
- var hn = mn({ defaultModifiers: [
905
- St,
906
- $t,
907
- yt,
908
- Ge,
909
- Zt,
910
- Wt,
911
- nn,
912
- pt,
913
- Jt
914
- ] }), gn = (e, t, n = {}) => {
915
- let r = {
916
- name: "updateState",
917
- enabled: !0,
918
- phase: "write",
919
- fn: ({ state: e }) => {
920
- let t = _n(e);
921
- Object.assign(o.value, t);
922
- },
923
- requires: ["computeStyles"]
924
- }, i = P(() => {
925
- let { onFirstUpdate: e, placement: t, strategy: i, modifiers: a } = W(n);
926
- return {
927
- onFirstUpdate: e,
928
- placement: t || "bottom",
929
- strategy: i || "absolute",
930
- modifiers: [
931
- ...a || [],
932
- r,
933
- {
934
- name: "applyStyles",
935
- enabled: !1
936
- }
937
- ]
938
- };
939
- }), a = ge(), o = H({
940
- styles: {
941
- popper: {
942
- position: W(i).strategy,
943
- left: "0",
944
- top: "0"
945
- },
946
- arrow: { position: "absolute" }
947
- },
948
- attributes: {}
949
- }), s = () => {
950
- a.value && (a.value.destroy(), a.value = void 0);
951
- };
952
- return G(i, (e) => {
953
- let t = W(a);
954
- t && t.setOptions(e);
955
- }, { deep: !0 }), G([e, t], ([e, t]) => {
956
- s(), !(!e || !t) && (a.value = hn(e, t, W(i)));
957
- }), z(() => {
958
- s();
959
- }), {
960
- state: P(() => {
961
- var e;
962
- return { ...((e = W(a)) == null ? void 0 : e.state) || {} };
963
- }),
964
- styles: P(() => W(o).styles),
965
- attributes: P(() => W(o).attributes),
966
- update: () => {
967
- var e;
968
- return (e = W(a)) == null ? void 0 : e.update();
969
- },
970
- forceUpdate: () => {
971
- var e;
972
- return (e = W(a)) == null ? void 0 : e.forceUpdate();
973
- },
974
- instanceRef: P(() => W(a))
975
- };
976
- };
977
- function _n(e) {
978
- let t = Object.keys(e.elements);
979
- return {
980
- styles: xe(t.map((t) => [t, e.styles[t] || {}])),
981
- attributes: xe(t.map((t) => [t, e.attributes[t]]))
982
- };
983
- }
984
- //#endregion
985
- //#region node_modules/.pnpm/element-plus@2.13.7_typescr_0fa4751f8fa020301a8746973788e8b7/node_modules/element-plus/es/hooks/use-timeout/index.mjs
986
- function vn() {
987
- let e, t = (t, r) => {
988
- n(), e = globalThis.setTimeout(t, r);
989
- }, n = () => {
990
- e !== void 0 && (globalThis.clearTimeout(e), e = void 0);
991
- };
992
- return r(() => n()), {
993
- registerTimeout: t,
994
- cancelTimeout: n
995
- };
996
- }
997
- //#endregion
998
- //#region node_modules/.pnpm/element-plus@2.13.7_typescr_0fa4751f8fa020301a8746973788e8b7/node_modules/element-plus/es/hooks/use-popper-container/index.mjs
999
- var yn = () => {
1000
- let e = y(), t = D(), n = P(() => `${e.value}-popper-container-${t.prefix}`);
1001
- return {
1002
- id: n,
1003
- selector: P(() => `#${n.value}`)
1004
- };
1005
- }, bn = (e) => {
1006
- let t = document.createElement("div");
1007
- return t.id = e, document.body.appendChild(t), t;
1008
- }, xn = () => {
1009
- let { id: e, selector: t } = yn();
1010
- return fe(() => {
1011
- i && (document.body.querySelector(t.value) || bn(e.value));
1012
- }), {
1013
- id: e,
1014
- selector: t
1015
- };
1016
- }, Sn = _({
1017
- showAfter: {
1018
- type: Number,
1019
- default: 0
1020
- },
1021
- hideAfter: {
1022
- type: Number,
1023
- default: 200
1024
- },
1025
- autoClose: {
1026
- type: Number,
1027
- default: 0
1028
- }
1029
- }), Cn = {
1030
- showAfter: 0,
1031
- hideAfter: 200,
1032
- autoClose: 0
1033
- }, wn = ({ showAfter: e, hideAfter: t, autoClose: n, open: r, close: i }) => {
1034
- let { registerTimeout: a } = vn(), { registerTimeout: o, cancelTimeout: s } = vn();
1035
- return {
1036
- onOpen: (t, s = W(e)) => {
1037
- a(() => {
1038
- r(t);
1039
- let e = W(n);
1040
- h(e) && e > 0 && o(() => {
1041
- i(t);
1042
- }, e);
1043
- }, s);
1044
- },
1045
- onClose: (e, n = W(t)) => {
1046
- s(), a(() => {
1047
- i(e);
1048
- }, n);
1049
- }
1050
- };
1051
- }, Tn = Symbol("elForwardRef"), En = (e) => {
1052
- me(Tn, { setForwardRef: ((t) => {
1053
- e.value = t;
1054
- }) });
1055
- }, Dn = (e) => ({
1056
- mounted(t) {
1057
- e(t);
1058
- },
1059
- updated(t) {
1060
- e(t);
1061
- },
1062
- unmounted() {
1063
- e(null);
1064
- }
1065
- }), On = [
1066
- "dialog",
1067
- "grid",
1068
- "group",
1069
- "listbox",
1070
- "menu",
1071
- "navigation",
1072
- "tooltip",
1073
- "tree"
1074
- ], kn = _({ role: {
1075
- type: String,
1076
- values: On,
1077
- default: "tooltip"
1078
- } }), An = Symbol("popper"), jn = Symbol("popperContent"), Mn = /* @__PURE__ */ L({
1079
- name: "ElPopperArrow",
1080
- inheritAttrs: !1,
1081
- __name: "arrow",
1082
- setup(e, { expose: t }) {
1083
- let n = x("popper"), { arrowRef: r, arrowStyle: i } = R(jn, void 0);
1084
- return z(() => {
1085
- r.value = void 0;
1086
- }), t({ arrowRef: r }), (e, t) => (V(), oe("span", {
1087
- ref_key: "arrowRef",
1088
- ref: r,
1089
- class: ue(W(n).e("arrow")),
1090
- style: de(W(i)),
1091
- "data-popper-arrow": ""
1092
- }, null, 6));
1093
- }
1094
- }), Nn = _({
1095
- virtualRef: { type: C(Object) },
1096
- virtualTriggering: Boolean,
1097
- onMouseenter: { type: C(Function) },
1098
- onMouseleave: { type: C(Function) },
1099
- onClick: { type: C(Function) },
1100
- onKeydown: { type: C(Function) },
1101
- onFocus: { type: C(Function) },
1102
- onBlur: { type: C(Function) },
1103
- onContextmenu: { type: C(Function) },
1104
- id: String,
1105
- open: Boolean
1106
- }), Pn = "ElOnlyChild", Fn = /* @__PURE__ */ L({
1107
- name: Pn,
1108
- setup(e, { slots: t, attrs: n }) {
1109
- var r;
1110
- let i = Dn(((r = R(Tn)) == null ? void 0 : r.setForwardRef) ?? w);
1111
- return () => {
1112
- var e;
1113
- let r = (e = t.default) == null ? void 0 : e.call(t, n);
1114
- if (!r) return null;
1115
- let [a, o] = In(r);
1116
- return a ? (o > 1 && u(Pn, "requires exact only one valid child."), be(ie(a, n), [[i]])) : (u(Pn, "no valid child node found"), null);
1117
- };
1118
- }
1119
- });
1120
- function In(e) {
1121
- if (!e) return [null, 0];
1122
- let t = e, n = t.filter((e) => e.type !== N).length;
1123
- for (let e of t) {
1124
- if (g(e)) switch (e.type) {
1125
- case N: continue;
1126
- case ne:
1127
- case "svg": return [Ln(e), n];
1128
- case te: return In(e.children);
1129
- default: return [e, n];
1130
- }
1131
- return [Ln(e), n];
1132
- }
1133
- return [null, 0];
1134
- }
1135
- function Ln(e) {
1136
- return I("span", { class: x("only-child").e("content") }, [e]);
1137
- }
1138
- //#endregion
1139
- //#region node_modules/.pnpm/element-plus@2.13.7_typescr_0fa4751f8fa020301a8746973788e8b7/node_modules/element-plus/es/components/popper/src/trigger2.mjs
1140
- var Rn = /* @__PURE__ */ L({
1141
- name: "ElPopperTrigger",
1142
- inheritAttrs: !1,
1143
- __name: "trigger",
1144
- props: Nn,
1145
- setup(e, { expose: t }) {
1146
- let n = e, { role: r, triggerRef: i } = R(An, void 0);
1147
- En(i);
1148
- let a = P(() => l.value ? n.id : void 0), o = P(() => {
1149
- if (r && r.value === "tooltip") return n.open && n.id ? n.id : void 0;
1150
- }), l = P(() => {
1151
- if (r && r.value !== "tooltip") return r.value;
1152
- }), u = P(() => l.value ? `${n.open}` : void 0), d, f = [
1153
- "onMouseenter",
1154
- "onMouseleave",
1155
- "onClick",
1156
- "onKeydown",
1157
- "onFocus",
1158
- "onBlur",
1159
- "onContextmenu"
1160
- ];
1161
- return B(() => {
1162
- G(() => n.virtualRef, (e) => {
1163
- e && (i.value = c(e));
1164
- }, { immediate: !0 }), G(i, (e, t) => {
1165
- d == null || d(), d = void 0, v(t) && f.forEach((e) => {
1166
- let r = n[e];
1167
- r && t.removeEventListener(e.slice(2).toLowerCase(), r, ["onFocus", "onBlur"].includes(e));
1168
- }), v(e) && (f.forEach((t) => {
1169
- let r = n[t];
1170
- r && e.addEventListener(t.slice(2).toLowerCase(), r, ["onFocus", "onBlur"].includes(t));
1171
- }), s(e) && (d = G([
1172
- a,
1173
- o,
1174
- l,
1175
- u
1176
- ], (t) => {
1177
- [
1178
- "aria-controls",
1179
- "aria-describedby",
1180
- "aria-haspopup",
1181
- "aria-expanded"
1182
- ].forEach((n, r) => {
1183
- Se(t[r]) ? e.removeAttribute(n) : e.setAttribute(n, t[r]);
1184
- });
1185
- }, { immediate: !0 }))), v(t) && s(t) && [
1186
- "aria-controls",
1187
- "aria-describedby",
1188
- "aria-haspopup",
1189
- "aria-expanded"
1190
- ].forEach((e) => t.removeAttribute(e));
1191
- }, { immediate: !0 });
1192
- }), z(() => {
1193
- if (d == null || d(), d = void 0, i.value && v(i.value)) {
1194
- let e = i.value;
1195
- f.forEach((t) => {
1196
- let r = n[t];
1197
- r && e.removeEventListener(t.slice(2).toLowerCase(), r, ["onFocus", "onBlur"].includes(t));
1198
- }), i.value = void 0;
1199
- }
1200
- }), t({ triggerRef: i }), (t, n) => e.virtualTriggering ? ae("v-if", !0) : (V(), F(W(Fn), ce({ key: 0 }, t.$attrs, {
1201
- "aria-controls": a.value,
1202
- "aria-describedby": o.value,
1203
- "aria-expanded": u.value,
1204
- "aria-haspopup": l.value
1205
- }), {
1206
- default: K(() => [U(t.$slots, "default")]),
1207
- _: 3
1208
- }, 16, [
1209
- "aria-controls",
1210
- "aria-describedby",
1211
- "aria-expanded",
1212
- "aria-haspopup"
1213
- ]));
1214
- }
1215
- }), zn = _({ arrowOffset: {
1216
- type: Number,
1217
- default: 5
1218
- } }), Bn = { arrowOffset: 5 }, Vn = _({
1219
- ..._({
1220
- boundariesPadding: {
1221
- type: Number,
1222
- default: 0
1223
- },
1224
- fallbackPlacements: {
1225
- type: C(Array),
1226
- default: void 0
1227
- },
1228
- gpuAcceleration: {
1229
- type: Boolean,
1230
- default: !0
1231
- },
1232
- offset: {
1233
- type: Number,
1234
- default: 12
1235
- },
1236
- placement: {
1237
- type: String,
1238
- values: ze,
1239
- default: "bottom"
1240
- },
1241
- popperOptions: {
1242
- type: C(Object),
1243
- default: () => ({})
1244
- },
1245
- strategy: {
1246
- type: String,
1247
- values: ["fixed", "absolute"],
1248
- default: "absolute"
1249
- }
1250
- }),
1251
- ...zn,
1252
- id: String,
1253
- style: { type: C([
1254
- String,
1255
- Array,
1256
- Object
1257
- ]) },
1258
- className: { type: C([
1259
- String,
1260
- Array,
1261
- Object
1262
- ]) },
1263
- effect: {
1264
- type: C(String),
1265
- default: "dark"
1266
- },
1267
- visible: Boolean,
1268
- enterable: {
1269
- type: Boolean,
1270
- default: !0
1271
- },
1272
- pure: Boolean,
1273
- focusOnShow: Boolean,
1274
- trapping: Boolean,
1275
- popperClass: { type: C([
1276
- String,
1277
- Array,
1278
- Object
1279
- ]) },
1280
- popperStyle: { type: C([
1281
- String,
1282
- Array,
1283
- Object
1284
- ]) },
1285
- referenceEl: { type: C(Object) },
1286
- triggerTargetEl: { type: C(Object) },
1287
- stopPopperMouseEvent: {
1288
- type: Boolean,
1289
- default: !0
1290
- },
1291
- virtualTriggering: Boolean,
1292
- zIndex: Number,
1293
- ...j(["ariaLabel"]),
1294
- loop: Boolean
1295
- }), Hn = {
1296
- boundariesPadding: 0,
1297
- gpuAcceleration: !0,
1298
- offset: 12,
1299
- placement: "bottom",
1300
- popperOptions: () => ({}),
1301
- strategy: "absolute",
1302
- ...Bn,
1303
- effect: "dark",
1304
- enterable: !0,
1305
- stopPopperMouseEvent: !0,
1306
- visible: !1,
1307
- pure: !1,
1308
- focusOnShow: !1,
1309
- trapping: !1,
1310
- virtualTriggering: !1,
1311
- loop: !1,
1312
- style: void 0,
1313
- popperStyle: void 0
1314
- }, Un = {
1315
- mouseenter: (e) => e instanceof MouseEvent,
1316
- mouseleave: (e) => e instanceof MouseEvent,
1317
- focus: () => !0,
1318
- blur: () => !0,
1319
- close: () => !0
1320
- }, Wn = (e, t = []) => {
1321
- let { placement: n, strategy: r, popperOptions: i } = e, a = {
1322
- placement: n,
1323
- strategy: r,
1324
- ...i,
1325
- modifiers: [...Kn(e), ...t]
1326
- };
1327
- return qn(a, i == null ? void 0 : i.modifiers), a;
1328
- }, Gn = (e) => {
1329
- if (i) return c(e);
1330
- };
1331
- function Kn(e) {
1332
- let { offset: t, gpuAcceleration: n, fallbackPlacements: r } = e;
1333
- return [
1334
- {
1335
- name: "offset",
1336
- options: { offset: [0, t ?? 12] }
1337
- },
1338
- {
1339
- name: "preventOverflow",
1340
- options: { padding: {
1341
- top: 0,
1342
- bottom: 0,
1343
- left: 0,
1344
- right: 0
1345
- } }
1346
- },
1347
- {
1348
- name: "flip",
1349
- options: {
1350
- padding: 5,
1351
- fallbackPlacements: r
1352
- }
1353
- },
1354
- {
1355
- name: "computeStyles",
1356
- options: { gpuAcceleration: n }
1357
- }
1358
- ];
1359
- }
1360
- function qn(e, t) {
1361
- t && (e.modifiers = [...e.modifiers, ...t ?? []]);
1362
- }
1363
- //#endregion
1364
- //#region node_modules/.pnpm/element-plus@2.13.7_typescr_0fa4751f8fa020301a8746973788e8b7/node_modules/element-plus/es/components/popper/src/composables/use-content.mjs
1365
- var Jn = 0, Yn = (e) => {
1366
- let { popperInstanceRef: t, contentRef: n, triggerRef: r, role: i } = R(An, void 0), o = H(), s = P(() => e.arrowOffset), c = P(() => ({
1367
- name: "eventListeners",
1368
- enabled: !!e.visible
1369
- })), l = P(() => {
1370
- let e = W(o), t = W(s) ?? Jn;
1371
- return {
1372
- name: "arrow",
1373
- enabled: !Ce(e),
1374
- options: {
1375
- element: e,
1376
- padding: t
1377
- }
1378
- };
1379
- }), u = P(() => ({
1380
- onFirstUpdate: () => {
1381
- h();
1382
- },
1383
- ...Wn(e, [W(l), W(c)])
1384
- })), d = P(() => Gn(e.referenceEl) || W(r)), { attributes: f, state: p, styles: m, update: h, forceUpdate: g, instanceRef: _ } = gn(d, n, u);
1385
- G(_, (e) => t.value = e, { flush: "sync" }), B(() => {
1386
- G(() => {
1387
- var e, t;
1388
- return (e = W(d)) == null || (t = e.getBoundingClientRect) == null ? void 0 : t.call(e);
1389
- }, () => {
1390
- h();
1391
- });
1392
- });
1393
- let v;
1394
- return G(() => e.visible, (e) => {
1395
- v == null || v(), v = void 0, e && (v = a(n, h).stop);
1396
- }), z(() => {
1397
- t.value = void 0, v == null || v(), v = void 0;
1398
- }), {
1399
- attributes: f,
1400
- arrowRef: o,
1401
- contentRef: n,
1402
- instanceRef: _,
1403
- state: p,
1404
- styles: m,
1405
- role: i,
1406
- forceUpdate: g,
1407
- update: h
1408
- };
1409
- }, Xn = (e, { attributes: t, styles: n, role: r }) => {
1410
- let { nextZIndex: i } = A(), a = x("popper"), o = P(() => W(t).popper), s = H(h(e.zIndex) ? e.zIndex : i()), c = P(() => [
1411
- a.b(),
1412
- a.is("pure", e.pure),
1413
- a.is(e.effect),
1414
- e.popperClass
1415
- ]), l = P(() => [
1416
- { zIndex: W(s) },
1417
- W(n).popper,
1418
- e.popperStyle || {}
1419
- ]);
1420
- return {
1421
- ariaModal: P(() => r.value === "dialog" ? "false" : void 0),
1422
- arrowStyle: P(() => W(n).arrow || {}),
1423
- contentAttrs: o,
1424
- contentClass: c,
1425
- contentStyle: l,
1426
- contentZIndex: s,
1427
- updateZIndex: () => {
1428
- s.value = h(e.zIndex) ? e.zIndex : i();
1429
- }
1430
- };
1431
- }, Zn = (e, t) => {
1432
- let n = H(!1), r = H();
1433
- return z(() => {
1434
- r.value = void 0;
1435
- }), {
1436
- focusStartRef: r,
1437
- trapped: n,
1438
- onFocusAfterReleased: (e) => {
1439
- var n;
1440
- ((n = e.detail) == null ? void 0 : n.focusReason) !== "pointer" && (r.value = "first", t("blur"));
1441
- },
1442
- onFocusAfterTrapped: () => {
1443
- t("focus");
1444
- },
1445
- onFocusInTrap: (t) => {
1446
- e.visible && !n.value && (t.target && (r.value = t.target), n.value = !0);
1447
- },
1448
- onFocusoutPrevented: (t) => {
1449
- e.trapping || (t.detail.focusReason === "pointer" && t.preventDefault(), n.value = !1);
1450
- },
1451
- onReleaseRequested: () => {
1452
- n.value = !1, t("close");
1453
- }
1454
- };
1455
- }, Qn = /* @__PURE__ */ L({
1456
- name: "ElPopperContent",
1457
- __name: "content",
1458
- props: Vn,
1459
- emits: Un,
1460
- setup(e, { expose: t, emit: n }) {
1461
- let r = n, i = e, { focusStartRef: a, trapped: o, onFocusAfterReleased: s, onFocusAfterTrapped: c, onFocusInTrap: l, onFocusoutPrevented: u, onReleaseRequested: d } = Zn(i, r), { attributes: f, arrowRef: p, contentRef: m, styles: h, instanceRef: g, role: _, update: y } = Yn(i), { ariaModal: b, arrowStyle: x, contentAttrs: S, contentClass: C, contentStyle: T, updateZIndex: E } = Xn(i, {
1462
- styles: h,
1463
- attributes: f,
1464
- role: _
1465
- }), D = R(M, void 0);
1466
- me(jn, {
1467
- arrowStyle: x,
1468
- arrowRef: p
1469
- }), D && me(M, {
1470
- ...D,
1471
- addInputId: w,
1472
- removeInputId: w
1473
- });
1474
- let O, A = (e = !0) => {
1475
- y(), e && E();
1476
- }, j = () => {
1477
- A(!1), i.visible && i.focusOnShow ? o.value = !0 : i.visible === !1 && (o.value = !1);
1478
- };
1479
- return B(() => {
1480
- G(() => i.triggerTargetEl, (e, t) => {
1481
- O == null || O(), O = void 0;
1482
- let n = W(e || m.value), r = W(t || m.value);
1483
- v(n) && (O = G([
1484
- _,
1485
- () => i.ariaLabel,
1486
- b,
1487
- () => i.id
1488
- ], (e) => {
1489
- [
1490
- "role",
1491
- "aria-label",
1492
- "aria-modal",
1493
- "id"
1494
- ].forEach((t, r) => {
1495
- Se(e[r]) ? n.removeAttribute(t) : n.setAttribute(t, e[r]);
1496
- });
1497
- }, { immediate: !0 })), r !== n && v(r) && [
1498
- "role",
1499
- "aria-label",
1500
- "aria-modal",
1501
- "id"
1502
- ].forEach((e) => {
1503
- r.removeAttribute(e);
1504
- });
1505
- }, { immediate: !0 }), G(() => i.visible, j, { immediate: !0 });
1506
- }), z(() => {
1507
- O == null || O(), O = void 0, m.value = void 0;
1508
- }), t({
1509
- popperContentRef: m,
1510
- popperInstanceRef: g,
1511
- updatePopper: A,
1512
- contentStyle: T
1513
- }), (t, n) => (V(), oe("div", ce({
1514
- ref_key: "contentRef",
1515
- ref: m
1516
- }, W(S), {
1517
- style: W(T),
1518
- class: W(C),
1519
- tabindex: "-1",
1520
- onMouseenter: n[0] || (n[0] = (e) => t.$emit("mouseenter", e)),
1521
- onMouseleave: n[1] || (n[1] = (e) => t.$emit("mouseleave", e))
1522
- }), [I(W(k), {
1523
- loop: e.loop,
1524
- trapped: W(o),
1525
- "trap-on-focus-in": !0,
1526
- "focus-trap-el": W(m),
1527
- "focus-start-el": W(a),
1528
- onFocusAfterTrapped: W(c),
1529
- onFocusAfterReleased: W(s),
1530
- onFocusin: W(l),
1531
- onFocusoutPrevented: W(u),
1532
- onReleaseRequested: W(d)
1533
- }, {
1534
- default: K(() => [U(t.$slots, "default")]),
1535
- _: 3
1536
- }, 8, [
1537
- "loop",
1538
- "trapped",
1539
- "focus-trap-el",
1540
- "focus-start-el",
1541
- "onFocusAfterTrapped",
1542
- "onFocusAfterReleased",
1543
- "onFocusin",
1544
- "onFocusoutPrevented",
1545
- "onReleaseRequested"
1546
- ])], 16));
1547
- }
1548
- }), $n = S(/* @__PURE__ */ L({
1549
- name: "ElPopper",
1550
- inheritAttrs: !1,
1551
- __name: "popper",
1552
- props: kn,
1553
- setup(e, { expose: t }) {
1554
- let n = e, r = {
1555
- triggerRef: H(),
1556
- popperInstanceRef: H(),
1557
- contentRef: H(),
1558
- referenceRef: H(),
1559
- role: P(() => n.role)
1560
- };
1561
- return t(r), me(An, r), (e, t) => U(e.$slots, "default");
1562
- }
1563
- }));
1564
- ({
1565
- ...Cn,
1566
- ...Hn
1567
- });
1568
- var er = _({
1569
- ...Sn,
1570
- ...Vn,
1571
- appendTo: { type: T.to.type },
1572
- content: {
1573
- type: String,
1574
- default: ""
1575
- },
1576
- rawContent: Boolean,
1577
- persistent: Boolean,
1578
- visible: {
1579
- type: C(Boolean),
1580
- default: null
1581
- },
1582
- transition: String,
1583
- teleported: {
1584
- type: Boolean,
1585
- default: !0
1586
- },
1587
- disabled: Boolean,
1588
- ...j(["ariaLabel"])
1589
- }), tr = _({
1590
- ...Nn,
1591
- disabled: Boolean,
1592
- trigger: {
1593
- type: C([String, Array]),
1594
- default: "hover"
1595
- },
1596
- triggerKeys: {
1597
- type: C(Array),
1598
- default: () => [
1599
- e.enter,
1600
- e.numpadEnter,
1601
- e.space
1602
- ]
1603
- },
1604
- focusOnTarget: Boolean
1605
- }), { useModelToggleProps: nr, useModelToggleEmits: rr, useModelToggle: ir } = Ee("visible"), ar = _({
1606
- ...kn,
1607
- ...nr,
1608
- ...er,
1609
- ...tr,
1610
- ...zn,
1611
- showArrow: {
1612
- type: Boolean,
1613
- default: !0
1614
- }
1615
- }), or = [
1616
- ...rr,
1617
- "before-show",
1618
- "before-hide",
1619
- "show",
1620
- "hide",
1621
- "open",
1622
- "close"
1623
- ], sr = Symbol("elTooltip"), cr = (e, t) => f(e) ? e.includes(t) : e === t, lr = (e, t, n) => (r) => {
1624
- cr(W(e), t) && n(r);
1625
- }, ur = /* @__PURE__ */ L({
1626
- name: "ElTooltipTrigger",
1627
- __name: "trigger",
1628
- props: tr,
1629
- setup(e, { expose: r }) {
1630
- let i = e, a = x("tooltip"), { controlled: o, id: s, open: c, onOpen: u, onClose: d, onToggle: f } = R(sr, void 0), p = H(null), m = () => {
1631
- if (W(o) || i.disabled) return !0;
1632
- }, h = ve(i, "trigger"), g = n(m, lr(h, "hover", (e) => {
1633
- u(e), i.focusOnTarget && e.target && le(() => {
1634
- l(e.target, { preventScroll: !0 });
1635
- });
1636
- })), _ = n(m, lr(h, "hover", d)), v = n(m, lr(h, "click", (e) => {
1637
- e.button === 0 && f(e);
1638
- })), y = n(m, lr(h, "focus", u)), b = n(m, lr(h, "focus", d)), S = n(m, lr(h, "contextmenu", (e) => {
1639
- e.preventDefault(), f(e);
1640
- })), C = n(m, (e) => {
1641
- let n = t(e);
1642
- i.triggerKeys.includes(n) && (e.preventDefault(), f(e));
1643
- });
1644
- return r({ triggerRef: p }), (t, n) => (V(), F(W(Rn), {
1645
- id: W(s),
1646
- "virtual-ref": e.virtualRef,
1647
- open: W(c),
1648
- "virtual-triggering": e.virtualTriggering,
1649
- class: ue(W(a).e("trigger")),
1650
- onBlur: W(b),
1651
- onClick: W(v),
1652
- onContextmenu: W(S),
1653
- onFocus: W(y),
1654
- onMouseenter: W(g),
1655
- onMouseleave: W(_),
1656
- onKeydown: W(C)
1657
- }, {
1658
- default: K(() => [U(t.$slots, "default")]),
1659
- _: 3
1660
- }, 8, [
1661
- "id",
1662
- "virtual-ref",
1663
- "open",
1664
- "virtual-triggering",
1665
- "class",
1666
- "onBlur",
1667
- "onClick",
1668
- "onContextmenu",
1669
- "onFocus",
1670
- "onMouseenter",
1671
- "onMouseleave",
1672
- "onKeydown"
1673
- ]));
1674
- }
1675
- }), dr = /* @__PURE__ */ L({
1676
- name: "ElTooltipContent",
1677
- inheritAttrs: !1,
1678
- __name: "content",
1679
- props: er,
1680
- setup(e, { expose: t }) {
1681
- let r = e, { selector: i } = yn(), a = x("tooltip"), s = H(), c = d(() => {
1682
- var e;
1683
- return (e = s.value) == null ? void 0 : e.popperContentRef;
1684
- }), u, { controlled: f, id: p, open: m, trigger: h, onClose: g, onOpen: _, onShow: v, onHide: y, onBeforeShow: b, onBeforeHide: S } = R(sr, void 0), C = P(() => r.transition || `${a.namespace.value}-fade-in-linear`), w = P(() => r.persistent);
1685
- z(() => {
1686
- u == null || u();
1687
- });
1688
- let T = P(() => W(w) ? !0 : W(m)), D = P(() => r.disabled ? !1 : W(m)), O = P(() => r.appendTo || i.value), k = P(() => r.style ?? {}), A = H(!0), j = () => {
1689
- y(), se() && l(document.body, { preventScroll: !0 }), A.value = !0;
1690
- }, M = () => {
1691
- if (W(f)) return !0;
1692
- }, N = n(M, () => {
1693
- r.enterable && cr(W(h), "hover") && _();
1694
- }), te = n(M, () => {
1695
- cr(W(h), "hover") && g();
1696
- }), ne = () => {
1697
- var e, t;
1698
- (e = s.value) == null || (t = e.updatePopper) == null || t.call(e), b == null || b();
1699
- }, ie = () => {
1700
- S == null || S();
1701
- }, oe = () => {
1702
- v();
1703
- }, L = () => {
1704
- r.virtualTriggering || g();
1705
- }, se = (e) => {
1706
- var t;
1707
- let n = (t = s.value) == null ? void 0 : t.popperContentRef, r = (e == null ? void 0 : e.relatedTarget) || document.activeElement;
1708
- return n == null ? void 0 : n.contains(r);
1709
- };
1710
- return G(() => W(m), (e) => {
1711
- e ? (A.value = !1, u = o(c, () => {
1712
- W(f) || ee(W(h)).every((e) => e !== "hover" && e !== "focus") && g();
1713
- }, { detectIframe: !0 })) : u == null || u();
1714
- }, { flush: "post" }), t({
1715
- contentRef: s,
1716
- isFocusInsideContent: se
1717
- }), (t, n) => (V(), F(W(E), {
1718
- disabled: !e.teleported,
1719
- to: O.value
1720
- }, {
1721
- default: K(() => [T.value || !A.value ? (V(), F(re, {
1722
- key: 0,
1723
- name: C.value,
1724
- appear: !w.value,
1725
- onAfterLeave: j,
1726
- onBeforeEnter: ne,
1727
- onAfterEnter: oe,
1728
- onBeforeLeave: ie,
1729
- persisted: ""
1730
- }, {
1731
- default: K(() => [be(I(W(Qn), ce({
1732
- id: W(p),
1733
- ref_key: "contentRef",
1734
- ref: s
1735
- }, t.$attrs, {
1736
- "aria-label": e.ariaLabel,
1737
- "aria-hidden": A.value,
1738
- "boundaries-padding": e.boundariesPadding,
1739
- "fallback-placements": e.fallbackPlacements,
1740
- "gpu-acceleration": e.gpuAcceleration,
1741
- offset: e.offset,
1742
- placement: e.placement,
1743
- "popper-options": e.popperOptions,
1744
- "arrow-offset": e.arrowOffset,
1745
- strategy: e.strategy,
1746
- effect: e.effect,
1747
- enterable: e.enterable,
1748
- pure: e.pure,
1749
- "popper-class": e.popperClass,
1750
- "popper-style": [e.popperStyle, k.value],
1751
- "reference-el": e.referenceEl,
1752
- "trigger-target-el": e.triggerTargetEl,
1753
- visible: D.value,
1754
- "z-index": e.zIndex,
1755
- loop: e.loop,
1756
- onMouseenter: W(N),
1757
- onMouseleave: W(te),
1758
- onBlur: L,
1759
- onClose: W(g)
1760
- }), {
1761
- default: K(() => [U(t.$slots, "default")]),
1762
- _: 3
1763
- }, 16, [
1764
- "id",
1765
- "aria-label",
1766
- "aria-hidden",
1767
- "boundaries-padding",
1768
- "fallback-placements",
1769
- "gpu-acceleration",
1770
- "offset",
1771
- "placement",
1772
- "popper-options",
1773
- "arrow-offset",
1774
- "strategy",
1775
- "effect",
1776
- "enterable",
1777
- "pure",
1778
- "popper-class",
1779
- "popper-style",
1780
- "reference-el",
1781
- "trigger-target-el",
1782
- "visible",
1783
- "z-index",
1784
- "loop",
1785
- "onMouseenter",
1786
- "onMouseleave",
1787
- "onClose"
1788
- ]), [[ye, D.value]])]),
1789
- _: 3
1790
- }, 8, ["name", "appear"])) : ae("v-if", !0)]),
1791
- _: 3
1792
- }, 8, ["disabled", "to"]));
1793
- }
1794
- }), fr = ["innerHTML"], pr = { key: 1 }, mr = S(/* @__PURE__ */ L({
1795
- name: "ElTooltip",
1796
- __name: "tooltip",
1797
- props: ar,
1798
- emits: or,
1799
- setup(e, { expose: t, emit: n }) {
1800
- let r = e, i = n;
1801
- xn();
1802
- let a = x("tooltip"), o = O(), s = H(), c = H(), l = () => {
1803
- var e;
1804
- let t = W(s);
1805
- t && ((e = t.popperInstanceRef) == null || e.update());
1806
- }, u = H(!1), d = H(), { show: f, hide: p, hasUpdateHandler: m } = ir({
1807
- indicator: u,
1808
- toggleReason: d
1809
- }), { onOpen: h, onClose: g } = wn({
1810
- showAfter: ve(r, "showAfter"),
1811
- hideAfter: ve(r, "hideAfter"),
1812
- autoClose: ve(r, "autoClose"),
1813
- open: f,
1814
- close: p
1815
- }), _ = P(() => b(r.visible) && !m.value), v = P(() => [a.b(), r.popperClass]);
1816
- return me(sr, {
1817
- controlled: _,
1818
- id: o,
1819
- open: he(u),
1820
- trigger: ve(r, "trigger"),
1821
- onOpen: h,
1822
- onClose: g,
1823
- onToggle: (e) => {
1824
- W(u) ? g(e) : h(e);
1825
- },
1826
- onShow: () => {
1827
- i("show", d.value);
1828
- },
1829
- onHide: () => {
1830
- i("hide", d.value);
1831
- },
1832
- onBeforeShow: () => {
1833
- i("before-show", d.value);
1834
- },
1835
- onBeforeHide: () => {
1836
- i("before-hide", d.value);
1837
- },
1838
- updatePopper: l
1839
- }), G(() => r.disabled, (e) => {
1840
- e && u.value && (u.value = !1), !e && b(r.visible) && (u.value = r.visible);
1841
- }), pe(() => u.value && p()), z(() => {
1842
- d.value = void 0;
1843
- }), t({
1844
- popperRef: s,
1845
- contentRef: c,
1846
- isFocusInsideContent: (e) => {
1847
- var t;
1848
- return (t = c.value) == null ? void 0 : t.isFocusInsideContent(e);
1849
- },
1850
- updatePopper: l,
1851
- onOpen: h,
1852
- onClose: g,
1853
- hide: p
1854
- }), (t, n) => (V(), F(W($n), {
1855
- ref_key: "popperRef",
1856
- ref: s,
1857
- role: e.role
1858
- }, {
1859
- default: K(() => [I(ur, {
1860
- disabled: e.disabled,
1861
- trigger: e.trigger,
1862
- "trigger-keys": e.triggerKeys,
1863
- "virtual-ref": e.virtualRef,
1864
- "virtual-triggering": e.virtualTriggering,
1865
- "focus-on-target": e.focusOnTarget
1866
- }, {
1867
- default: K(() => [t.$slots.default ? U(t.$slots, "default", { key: 0 }) : ae("v-if", !0)]),
1868
- _: 3
1869
- }, 8, [
1870
- "disabled",
1871
- "trigger",
1872
- "trigger-keys",
1873
- "virtual-ref",
1874
- "virtual-triggering",
1875
- "focus-on-target"
1876
- ]), I(dr, {
1877
- ref_key: "contentRef",
1878
- ref: c,
1879
- "aria-label": e.ariaLabel,
1880
- "boundaries-padding": e.boundariesPadding,
1881
- content: e.content,
1882
- disabled: e.disabled,
1883
- effect: e.effect,
1884
- enterable: e.enterable,
1885
- "fallback-placements": e.fallbackPlacements,
1886
- "hide-after": e.hideAfter,
1887
- "gpu-acceleration": e.gpuAcceleration,
1888
- offset: e.offset,
1889
- persistent: e.persistent,
1890
- "popper-class": v.value,
1891
- "popper-style": e.popperStyle,
1892
- placement: e.placement,
1893
- "popper-options": e.popperOptions,
1894
- "arrow-offset": e.arrowOffset,
1895
- pure: e.pure,
1896
- "raw-content": e.rawContent,
1897
- "reference-el": e.referenceEl,
1898
- "trigger-target-el": e.triggerTargetEl,
1899
- "show-after": e.showAfter,
1900
- strategy: e.strategy,
1901
- teleported: e.teleported,
1902
- transition: e.transition,
1903
- "virtual-triggering": e.virtualTriggering,
1904
- "z-index": e.zIndex,
1905
- "append-to": e.appendTo,
1906
- loop: e.loop
1907
- }, {
1908
- default: K(() => [U(t.$slots, "content", {}, () => [e.rawContent ? (V(), oe("span", {
1909
- key: 0,
1910
- innerHTML: e.content
1911
- }, null, 8, fr)) : (V(), oe("span", pr, _e(e.content), 1))]), e.showArrow ? (V(), F(W(Mn), { key: 0 })) : ae("v-if", !0)]),
1912
- _: 3
1913
- }, 8, /* @__PURE__ */ "aria-label.boundaries-padding.content.disabled.effect.enterable.fallback-placements.hide-after.gpu-acceleration.offset.persistent.popper-class.popper-style.placement.popper-options.arrow-offset.pure.raw-content.reference-el.trigger-target-el.show-after.strategy.teleported.transition.virtual-triggering.z-index.append-to.loop".split("."))]),
1914
- _: 3
1915
- }, 8, ["role"]));
1916
- }
1917
- }));
1918
- //#endregion
1919
- export { ze as a, On as i, tr as n, er as r, mr as t };