@quoreadmin/ui 1.10.33 → 1.11.0

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 (365) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.js +29 -27
  3. package/dist/index10.js +2 -2
  4. package/dist/index101.js +20 -25
  5. package/dist/index102.js +34 -0
  6. package/dist/{index103.js → index104.js} +1 -1
  7. package/dist/index106.js +147 -2
  8. package/dist/index107.js +2 -37
  9. package/dist/index108.js +39 -0
  10. package/dist/index11.js +2 -2
  11. package/dist/{index109.js → index110.js} +2 -2
  12. package/dist/{index111.js → index112.js} +1 -1
  13. package/dist/{index113.js → index114.js} +3 -3
  14. package/dist/{index115.js → index116.js} +5 -5
  15. package/dist/{index117.js → index118.js} +1 -1
  16. package/dist/index12.js +2 -2
  17. package/dist/{index119.js → index120.js} +5 -5
  18. package/dist/index13.js +2 -2
  19. package/dist/{index131.js → index132.js} +2 -2
  20. package/dist/{index136.js → index137.js} +1 -1
  21. package/dist/{index138.js → index139.js} +2 -2
  22. package/dist/index14.js +2 -2
  23. package/dist/index142.js +167 -0
  24. package/dist/{index143.js → index146.js} +1 -1
  25. package/dist/index15.js +2 -2
  26. package/dist/{index147.js → index150.js} +379 -399
  27. package/dist/{index149.js → index152.js} +1 -1
  28. package/dist/{index151.js → index154.js} +10 -10
  29. package/dist/index16.js +2 -2
  30. package/dist/index160.js +581 -86
  31. package/dist/index163.js +93 -0
  32. package/dist/index165.js +87 -356
  33. package/dist/index168.js +389 -0
  34. package/dist/index17.js +2 -2
  35. package/dist/{index167.js → index170.js} +1 -1
  36. package/dist/index172.js +205 -111
  37. package/dist/index175.js +110 -87
  38. package/dist/index176.js +478 -844
  39. package/dist/index177.js +5520 -36
  40. package/dist/index178.js +90 -279
  41. package/dist/index179.js +833 -122
  42. package/dist/index18.js +2 -2
  43. package/dist/index180.js +36 -1197
  44. package/dist/index181.js +268 -760
  45. package/dist/index182.js +146 -1304
  46. package/dist/index183.js +1151 -228
  47. package/dist/index184.js +754 -88
  48. package/dist/index185.js +1308 -2
  49. package/dist/index186.js +259 -1359
  50. package/dist/index187.js +108 -0
  51. package/dist/index188.js +2 -18
  52. package/dist/index189.js +1372 -14
  53. package/dist/index19.js +2 -2
  54. package/dist/index191.js +8 -8
  55. package/dist/index192.js +10 -17
  56. package/dist/index193.js +18 -759
  57. package/dist/index194.js +18 -1177
  58. package/dist/index195.js +22 -1231
  59. package/dist/index196.js +740 -11258
  60. package/dist/index197.js +1177 -36
  61. package/dist/index198.js +1233 -43
  62. package/dist/index199.js +11258 -1209
  63. package/dist/index2.js +2 -2
  64. package/dist/index20.js +3 -3
  65. package/dist/index200.js +38 -0
  66. package/dist/index201.js +44 -5938
  67. package/dist/index202.js +1149 -128
  68. package/dist/index204.js +5933 -13
  69. package/dist/index205.js +205 -76
  70. package/dist/index206.js +28 -246
  71. package/dist/index207.js +14 -13680
  72. package/dist/index208.js +77 -26
  73. package/dist/index209.js +245 -55
  74. package/dist/index21.js +2 -2
  75. package/dist/index210.js +13655 -209
  76. package/dist/index211.js +26 -310
  77. package/dist/index212.js +43 -277
  78. package/dist/index213.js +231 -81
  79. package/dist/index214.js +291 -387
  80. package/dist/index215.js +296 -21
  81. package/dist/index219.js +2 -2
  82. package/dist/index22.js +2 -2
  83. package/dist/index220.js +1 -1
  84. package/dist/index222.js +4 -4
  85. package/dist/index224.js +1 -1
  86. package/dist/index225.js +1 -1
  87. package/dist/index226.js +1 -1
  88. package/dist/index227.js +4 -4
  89. package/dist/index229.js +1 -1
  90. package/dist/index23.js +2 -2
  91. package/dist/index230.js +84 -157
  92. package/dist/index231.js +384 -205
  93. package/dist/index232.js +22 -37
  94. package/dist/index233.js +127 -10
  95. package/dist/index234.js +25 -148
  96. package/dist/index235.js +80 -20
  97. package/dist/index236.js +1 -1
  98. package/dist/index237.js +13 -15
  99. package/dist/index238.js +19 -198
  100. package/dist/index239.js +18 -68
  101. package/dist/index24.js +2 -2
  102. package/dist/index240.js +20 -34
  103. package/dist/index241.js +143 -22
  104. package/dist/index242.js +11 -13
  105. package/dist/index243.js +12 -12
  106. package/dist/index244.js +198 -19
  107. package/dist/index245.js +48 -814
  108. package/dist/index246.js +34 -702
  109. package/dist/index247.js +39 -175
  110. package/dist/index248.js +253 -20
  111. package/dist/index249.js +8 -20
  112. package/dist/index250.js +138 -22
  113. package/dist/index251.js +83 -20
  114. package/dist/index252.js +160 -19
  115. package/dist/index253.js +228 -3
  116. package/dist/index254.js +31 -181
  117. package/dist/index255.js +10 -133
  118. package/dist/index256.js +22 -1223
  119. package/dist/index257.js +21 -126
  120. package/dist/index258.js +12 -12
  121. package/dist/index259.js +836 -22
  122. package/dist/index26.js +2 -2
  123. package/dist/index260.js +701 -21
  124. package/dist/index261.js +174 -36
  125. package/dist/index262.js +15 -22
  126. package/dist/index263.js +7 -7
  127. package/dist/index264.js +13 -13
  128. package/dist/index265.js +2 -1
  129. package/dist/index266.js +187 -2
  130. package/dist/index267.js +131 -78
  131. package/dist/index268.js +1223 -20
  132. package/dist/index269.js +11 -11
  133. package/dist/index27.js +2 -2
  134. package/dist/index270.js +22 -253
  135. package/dist/index271.js +21 -7
  136. package/dist/index272.js +29 -138
  137. package/dist/index273.js +20 -83
  138. package/dist/index274.js +20 -3709
  139. package/dist/index275.js +2 -60
  140. package/dist/index276.js +2 -83
  141. package/dist/index277.js +3690 -33
  142. package/dist/index278.js +34 -189
  143. package/dist/index279.js +82 -9
  144. package/dist/index28.js +2 -2
  145. package/dist/index280.js +34 -39
  146. package/dist/index281.js +186 -32
  147. package/dist/index282.js +9 -53
  148. package/dist/index283.js +39 -63
  149. package/dist/index284.js +35 -702
  150. package/dist/index285.js +40 -33
  151. package/dist/index286.js +40 -23
  152. package/dist/index287.js +727 -10
  153. package/dist/index288.js +38 -696
  154. package/dist/index289.js +62 -818
  155. package/dist/index29.js +2 -2
  156. package/dist/index290.js +10 -53
  157. package/dist/index291.js +694 -68
  158. package/dist/index292.js +820 -26
  159. package/dist/index293.js +2 -22
  160. package/dist/index294.js +78 -21
  161. package/dist/index295.js +52 -14
  162. package/dist/index296.js +26 -17
  163. package/dist/index297.js +22 -23
  164. package/dist/index298.js +22 -3
  165. package/dist/index299.js +16 -27
  166. package/dist/index3.js +2 -2
  167. package/dist/index30.js +2 -2
  168. package/dist/index300.js +17 -2
  169. package/dist/index301.js +21 -77
  170. package/dist/index302.js +78 -21
  171. package/dist/index303.js +22 -935
  172. package/dist/index304.js +935 -22
  173. package/dist/index305.js +15 -13
  174. package/dist/index306.js +5 -5
  175. package/dist/index307.js +19 -68
  176. package/dist/index308.js +68 -18
  177. package/dist/index309.js +14 -14
  178. package/dist/index31.js +3 -3
  179. package/dist/index310.js +19 -22
  180. package/dist/index311.js +14 -14
  181. package/dist/index312.js +21 -62
  182. package/dist/index313.js +63 -1534
  183. package/dist/index314.js +79 -381
  184. package/dist/index315.js +3 -2731
  185. package/dist/index316.js +24 -83
  186. package/dist/index317.js +1294 -3558
  187. package/dist/index318.js +379 -53
  188. package/dist/index319.js +2730 -14
  189. package/dist/index32.js +2 -2
  190. package/dist/index320.js +82 -80
  191. package/dist/index321.js +3749 -153
  192. package/dist/index322.js +54 -240
  193. package/dist/index323.js +15 -37
  194. package/dist/index324.js +75 -226
  195. package/dist/index325.js +200 -4
  196. package/dist/index326.js +236 -124
  197. package/dist/index327.js +36 -67
  198. package/dist/index328.js +124 -81
  199. package/dist/index329.js +397 -26
  200. package/dist/index33.js +2 -2
  201. package/dist/index330.js +235 -9
  202. package/dist/index331.js +5 -74
  203. package/dist/index332.js +133 -3
  204. package/dist/index333.js +68 -2
  205. package/dist/index334.js +83 -79
  206. package/dist/index335.js +27 -52
  207. package/dist/index336.js +8 -5
  208. package/dist/index337.js +74 -4
  209. package/dist/index338.js +3 -178
  210. package/dist/index339.js +2 -63
  211. package/dist/index34.js +2 -2
  212. package/dist/index340.js +82 -74
  213. package/dist/index341.js +53 -8
  214. package/dist/index342.js +5 -12
  215. package/dist/index343.js +4 -54
  216. package/dist/index344.js +176 -9
  217. package/dist/index345.js +61 -12
  218. package/dist/index346.js +75 -58
  219. package/dist/index347.js +19 -51
  220. package/dist/index348.js +19 -30
  221. package/dist/index349.js +64 -2
  222. package/dist/index35.js +2 -2
  223. package/dist/index350.js +37 -5
  224. package/dist/index351.js +9 -2
  225. package/dist/index352.js +13 -23
  226. package/dist/index353.js +52 -38
  227. package/dist/index354.js +12 -2
  228. package/dist/index355.js +14 -11
  229. package/dist/index356.js +54 -16
  230. package/dist/index357.js +52 -10
  231. package/dist/index358.js +31 -10
  232. package/dist/index359.js +2 -17
  233. package/dist/index36.js +2 -2
  234. package/dist/index360.js +5 -2
  235. package/dist/index361.js +2 -9
  236. package/dist/index362.js +23 -10
  237. package/dist/index363.js +39 -12
  238. package/dist/index364.js +2 -20
  239. package/dist/index365.js +11 -20
  240. package/dist/index366.js +18 -62
  241. package/dist/index367.js +10 -37
  242. package/dist/index368.js +10 -21
  243. package/dist/index369.js +16 -55
  244. package/dist/index37.js +2 -2
  245. package/dist/index370.js +2 -29
  246. package/dist/index371.js +9 -7
  247. package/dist/index372.js +9 -51
  248. package/dist/index373.js +13 -5
  249. package/dist/index374.js +19 -10
  250. package/dist/index375.js +56 -7
  251. package/dist/index376.js +29 -28
  252. package/dist/index377.js +7 -2
  253. package/dist/index378.js +50 -68
  254. package/dist/index379.js +5 -166
  255. package/dist/index38.js +2 -2
  256. package/dist/index380.js +12 -17
  257. package/dist/index381.js +6 -100
  258. package/dist/index382.js +28 -91
  259. package/dist/index383.js +2 -98
  260. package/dist/index384.js +69 -12
  261. package/dist/index385.js +167 -7
  262. package/dist/index386.js +131 -28
  263. package/dist/index387.js +17 -11
  264. package/dist/index388.js +98 -1
  265. package/dist/index389.js +90 -3
  266. package/dist/index39.js +2 -2
  267. package/dist/index390.js +98 -12
  268. package/dist/index391.js +30 -4
  269. package/dist/index392.js +11 -33
  270. package/dist/index393.js +4 -31
  271. package/dist/index394.js +4 -28
  272. package/dist/index395.js +12 -60
  273. package/dist/index396.js +7 -3
  274. package/dist/index397.js +12 -2
  275. package/dist/index398.js +5 -2
  276. package/dist/index399.js +33 -17
  277. package/dist/index4.js +2 -2
  278. package/dist/index40.js +2 -2
  279. package/dist/index400.js +31 -13
  280. package/dist/index401.js +28 -6
  281. package/dist/index402.js +57 -28
  282. package/dist/index403.js +489 -0
  283. package/dist/index404.js +128 -0
  284. package/dist/index405.js +5 -0
  285. package/dist/index406.js +4 -0
  286. package/dist/index407.js +4 -0
  287. package/dist/index408.js +19 -0
  288. package/dist/index409.js +15 -0
  289. package/dist/index41.js +2 -2
  290. package/dist/index410.js +8 -0
  291. package/dist/index411.js +34 -0
  292. package/dist/index42.js +4 -29
  293. package/dist/index43.js +25 -32
  294. package/dist/index44.js +32 -37
  295. package/dist/index45.js +37 -1391
  296. package/dist/index46.js +1350 -348
  297. package/dist/index47.js +367 -145
  298. package/dist/index48.js +155 -18
  299. package/dist/index49.js +16 -42
  300. package/dist/index5.js +2 -2
  301. package/dist/index50.js +45 -5
  302. package/dist/index51.js +5 -69
  303. package/dist/index52.js +67 -61
  304. package/dist/index53.js +57 -175
  305. package/dist/index54.js +173 -77
  306. package/dist/index55.js +79 -200
  307. package/dist/index56.js +206 -68
  308. package/dist/index57.js +69 -20
  309. package/dist/index58.js +20 -11
  310. package/dist/index59.js +10 -6
  311. package/dist/index6.js +2 -2
  312. package/dist/index60.js +5 -209
  313. package/dist/index61.js +210 -12
  314. package/dist/index62.js +12 -184
  315. package/dist/index63.js +176 -68
  316. package/dist/index64.js +79 -0
  317. package/dist/index66.js +7 -91
  318. package/dist/index67.js +93 -0
  319. package/dist/index7.js +2 -2
  320. package/dist/{index74.js → index75.js} +2 -2
  321. package/dist/index79.js +38 -395
  322. package/dist/index8.js +3 -3
  323. package/dist/index80.js +419 -0
  324. package/dist/{index83.js → index84.js} +4 -4
  325. package/dist/{index85.js → index86.js} +1 -1
  326. package/dist/index88.js +23 -143
  327. package/dist/index89.js +156 -0
  328. package/dist/index9.js +2 -2
  329. package/dist/{index90.js → index91.js} +5 -5
  330. package/dist/{index92.js → index93.js} +5 -5
  331. package/dist/{index98.js → index99.js} +4 -4
  332. package/dist/src/components/popper/popper.vue.d.ts +90 -0
  333. package/dist/src/components/popper/use-popper.d.ts +37 -0
  334. package/dist/src/index.d.ts +1 -0
  335. package/package.json +2 -1
  336. package/dist/index100.js +0 -29
  337. package/dist/index105.js +0 -149
  338. package/dist/index157.js +0 -588
  339. package/dist/index162.js +0 -120
  340. package/dist/index169.js +0 -210
  341. package/dist/index173.js +0 -497
  342. package/dist/index174.js +0 -5524
  343. package/dist/index190.js +0 -20
  344. package/dist/index203.js +0 -37
  345. package/dist/index65.js +0 -9
  346. package/dist/index78.js +0 -62
  347. package/dist/index87.js +0 -36
  348. package/dist/src/components/room-details-popover/room-details-popover.d.ts +0 -2167
  349. /package/dist/{index121.js → index122.js} +0 -0
  350. /package/dist/{index123.js → index124.js} +0 -0
  351. /package/dist/{index125.js → index126.js} +0 -0
  352. /package/dist/{index127.js → index128.js} +0 -0
  353. /package/dist/{index129.js → index130.js} +0 -0
  354. /package/dist/{index134.js → index135.js} +0 -0
  355. /package/dist/{index141.js → index144.js} +0 -0
  356. /package/dist/{index145.js → index148.js} +0 -0
  357. /package/dist/{index153.js → index156.js} +0 -0
  358. /package/dist/{index155.js → index158.js} +0 -0
  359. /package/dist/{index68.js → index69.js} +0 -0
  360. /package/dist/{index70.js → index71.js} +0 -0
  361. /package/dist/{index72.js → index73.js} +0 -0
  362. /package/dist/{index76.js → index77.js} +0 -0
  363. /package/dist/{index81.js → index82.js} +0 -0
  364. /package/dist/{index94.js → index95.js} +0 -0
  365. /package/dist/{index96.js → index97.js} +0 -0
@@ -0,0 +1,489 @@
1
+ import { evaluate as _, getSide as W, getSideAxis as F, getOppositePlacement as K, getExpandedPlacements as Q, getOppositeAxisPlacements as Z, getAlignmentSides as ee, clamp as Y, getAlignment as B, min as j, max as $, getOppositeAxis as te, sides as ne, getPaddingObject as U, getAlignmentAxis as q, getAxisLength as G, rectToClientRect as z } from "./index404.js";
2
+ function X(t, e, d) {
3
+ let {
4
+ reference: o,
5
+ floating: f
6
+ } = t;
7
+ const n = F(e), i = q(e), s = G(i), g = W(e), x = n === "y", c = o.x + o.width / 2 - f.width / 2, r = o.y + o.height / 2 - f.height / 2, m = o[s] / 2 - f[s] / 2;
8
+ let a;
9
+ switch (g) {
10
+ case "top":
11
+ a = {
12
+ x: c,
13
+ y: o.y - f.height
14
+ };
15
+ break;
16
+ case "bottom":
17
+ a = {
18
+ x: c,
19
+ y: o.y + o.height
20
+ };
21
+ break;
22
+ case "right":
23
+ a = {
24
+ x: o.x + o.width,
25
+ y: r
26
+ };
27
+ break;
28
+ case "left":
29
+ a = {
30
+ x: o.x - f.width,
31
+ y: r
32
+ };
33
+ break;
34
+ default:
35
+ a = {
36
+ x: o.x,
37
+ y: o.y
38
+ };
39
+ }
40
+ switch (B(e)) {
41
+ case "start":
42
+ a[i] -= m * (d && x ? -1 : 1);
43
+ break;
44
+ case "end":
45
+ a[i] += m * (d && x ? -1 : 1);
46
+ break;
47
+ }
48
+ return a;
49
+ }
50
+ async function ie(t, e) {
51
+ var d;
52
+ e === void 0 && (e = {});
53
+ const {
54
+ x: o,
55
+ y: f,
56
+ platform: n,
57
+ rects: i,
58
+ elements: s,
59
+ strategy: g
60
+ } = t, {
61
+ boundary: x = "clippingAncestors",
62
+ rootBoundary: c = "viewport",
63
+ elementContext: r = "floating",
64
+ altBoundary: m = !1,
65
+ padding: a = 0
66
+ } = _(e, t), l = U(a), h = s[m ? r === "floating" ? "reference" : "floating" : r], w = z(await n.getClippingRect({
67
+ element: (d = await (n.isElement == null ? void 0 : n.isElement(h))) == null || d ? h : h.contextElement || await (n.getDocumentElement == null ? void 0 : n.getDocumentElement(s.floating)),
68
+ boundary: x,
69
+ rootBoundary: c,
70
+ strategy: g
71
+ })), v = r === "floating" ? {
72
+ x: o,
73
+ y: f,
74
+ width: i.floating.width,
75
+ height: i.floating.height
76
+ } : i.reference, p = await (n.getOffsetParent == null ? void 0 : n.getOffsetParent(s.floating)), y = await (n.isElement == null ? void 0 : n.isElement(p)) ? await (n.getScale == null ? void 0 : n.getScale(p)) || {
77
+ x: 1,
78
+ y: 1
79
+ } : {
80
+ x: 1,
81
+ y: 1
82
+ }, O = z(n.convertOffsetParentRelativeRectToViewportRelativeRect ? await n.convertOffsetParentRelativeRectToViewportRelativeRect({
83
+ elements: s,
84
+ rect: v,
85
+ offsetParent: p,
86
+ strategy: g
87
+ }) : v);
88
+ return {
89
+ top: (w.top - O.top + l.top) / y.y,
90
+ bottom: (O.bottom - w.bottom + l.bottom) / y.y,
91
+ left: (w.left - O.left + l.left) / y.x,
92
+ right: (O.right - w.right + l.right) / y.x
93
+ };
94
+ }
95
+ const oe = 50, ce = async (t, e, d) => {
96
+ const {
97
+ placement: o = "bottom",
98
+ strategy: f = "absolute",
99
+ middleware: n = [],
100
+ platform: i
101
+ } = d, s = i.detectOverflow ? i : {
102
+ ...i,
103
+ detectOverflow: ie
104
+ }, g = await (i.isRTL == null ? void 0 : i.isRTL(e));
105
+ let x = await i.getElementRects({
106
+ reference: t,
107
+ floating: e,
108
+ strategy: f
109
+ }), {
110
+ x: c,
111
+ y: r
112
+ } = X(x, o, g), m = o, a = 0;
113
+ const l = {};
114
+ for (let u = 0; u < n.length; u++) {
115
+ const h = n[u];
116
+ if (!h)
117
+ continue;
118
+ const {
119
+ name: w,
120
+ fn: v
121
+ } = h, {
122
+ x: p,
123
+ y,
124
+ data: O,
125
+ reset: A
126
+ } = await v({
127
+ x: c,
128
+ y: r,
129
+ initialPlacement: o,
130
+ placement: m,
131
+ strategy: f,
132
+ middlewareData: l,
133
+ rects: x,
134
+ platform: s,
135
+ elements: {
136
+ reference: t,
137
+ floating: e
138
+ }
139
+ });
140
+ c = p ?? c, r = y ?? r, l[w] = {
141
+ ...l[w],
142
+ ...O
143
+ }, A && a < oe && (a++, typeof A == "object" && (A.placement && (m = A.placement), A.rects && (x = A.rects === !0 ? await i.getElementRects({
144
+ reference: t,
145
+ floating: e,
146
+ strategy: f
147
+ }) : A.rects), {
148
+ x: c,
149
+ y: r
150
+ } = X(x, m, g)), u = -1);
151
+ }
152
+ return {
153
+ x: c,
154
+ y: r,
155
+ placement: m,
156
+ strategy: f,
157
+ middlewareData: l
158
+ };
159
+ }, re = (t) => ({
160
+ name: "arrow",
161
+ options: t,
162
+ async fn(e) {
163
+ const {
164
+ x: d,
165
+ y: o,
166
+ placement: f,
167
+ rects: n,
168
+ platform: i,
169
+ elements: s,
170
+ middlewareData: g
171
+ } = e, {
172
+ element: x,
173
+ padding: c = 0
174
+ } = _(t, e) || {};
175
+ if (x == null)
176
+ return {};
177
+ const r = U(c), m = {
178
+ x: d,
179
+ y: o
180
+ }, a = q(f), l = G(a), u = await i.getDimensions(x), h = a === "y", w = h ? "top" : "left", v = h ? "bottom" : "right", p = h ? "clientHeight" : "clientWidth", y = n.reference[l] + n.reference[a] - m[a] - n.floating[l], O = m[a] - n.reference[a], A = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(x));
181
+ let R = A ? A[p] : 0;
182
+ (!R || !await (i.isElement == null ? void 0 : i.isElement(A))) && (R = s.floating[p] || n.floating[l]);
183
+ const E = y / 2 - O / 2, D = R / 2 - u[l] / 2 - 1, P = j(r[w], D), L = j(r[v], D), k = P, M = R - u[l] - L, b = R / 2 - u[l] / 2 + E, V = Y(k, b, M), T = !g.arrow && B(f) != null && b !== V && n.reference[l] / 2 - (b < k ? P : L) - u[l] / 2 < 0, S = T ? b < k ? b - k : b - M : 0;
184
+ return {
185
+ [a]: m[a] + S,
186
+ data: {
187
+ [a]: V,
188
+ centerOffset: b - V - S,
189
+ ...T && {
190
+ alignmentOffset: S
191
+ }
192
+ },
193
+ reset: T
194
+ };
195
+ }
196
+ }), fe = function(t) {
197
+ return t === void 0 && (t = {}), {
198
+ name: "flip",
199
+ options: t,
200
+ async fn(e) {
201
+ var d, o;
202
+ const {
203
+ placement: f,
204
+ middlewareData: n,
205
+ rects: i,
206
+ initialPlacement: s,
207
+ platform: g,
208
+ elements: x
209
+ } = e, {
210
+ mainAxis: c = !0,
211
+ crossAxis: r = !0,
212
+ fallbackPlacements: m,
213
+ fallbackStrategy: a = "bestFit",
214
+ fallbackAxisSideDirection: l = "none",
215
+ flipAlignment: u = !0,
216
+ ...h
217
+ } = _(t, e);
218
+ if ((d = n.arrow) != null && d.alignmentOffset)
219
+ return {};
220
+ const w = W(f), v = F(s), p = W(s) === s, y = await (g.isRTL == null ? void 0 : g.isRTL(x.floating)), O = m || (p || !u ? [K(s)] : Q(s)), A = l !== "none";
221
+ !m && A && O.push(...Z(s, u, l, y));
222
+ const R = [s, ...O], E = await g.detectOverflow(e, h), D = [];
223
+ let P = ((o = n.flip) == null ? void 0 : o.overflows) || [];
224
+ if (c && D.push(E[w]), r) {
225
+ const b = ee(f, i, y);
226
+ D.push(E[b[0]], E[b[1]]);
227
+ }
228
+ if (P = [...P, {
229
+ placement: f,
230
+ overflows: D
231
+ }], !D.every((b) => b <= 0)) {
232
+ var L, k;
233
+ const b = (((L = n.flip) == null ? void 0 : L.index) || 0) + 1, V = R[b];
234
+ if (V && (!(r === "alignment" ? v !== F(V) : !1) || // We leave the current main axis only if every placement on that axis
235
+ // overflows the main axis.
236
+ P.every((C) => F(C.placement) === v ? C.overflows[0] > 0 : !0)))
237
+ return {
238
+ data: {
239
+ index: b,
240
+ overflows: P
241
+ },
242
+ reset: {
243
+ placement: V
244
+ }
245
+ };
246
+ let T = (k = P.filter((S) => S.overflows[0] <= 0).sort((S, C) => S.overflows[1] - C.overflows[1])[0]) == null ? void 0 : k.placement;
247
+ if (!T)
248
+ switch (a) {
249
+ case "bestFit": {
250
+ var M;
251
+ const S = (M = P.filter((C) => {
252
+ if (A) {
253
+ const H = F(C.placement);
254
+ return H === v || // Create a bias to the `y` side axis due to horizontal
255
+ // reading directions favoring greater width.
256
+ H === "y";
257
+ }
258
+ return !0;
259
+ }).map((C) => [C.placement, C.overflows.filter((H) => H > 0).reduce((H, J) => H + J, 0)]).sort((C, H) => C[1] - H[1])[0]) == null ? void 0 : M[0];
260
+ S && (T = S);
261
+ break;
262
+ }
263
+ case "initialPlacement":
264
+ T = s;
265
+ break;
266
+ }
267
+ if (f !== T)
268
+ return {
269
+ reset: {
270
+ placement: T
271
+ }
272
+ };
273
+ }
274
+ return {};
275
+ }
276
+ };
277
+ };
278
+ function I(t, e) {
279
+ return {
280
+ top: t.top - e.height,
281
+ right: t.right - e.width,
282
+ bottom: t.bottom - e.height,
283
+ left: t.left - e.width
284
+ };
285
+ }
286
+ function N(t) {
287
+ return ne.some((e) => t[e] >= 0);
288
+ }
289
+ const me = function(t) {
290
+ return t === void 0 && (t = {}), {
291
+ name: "hide",
292
+ options: t,
293
+ async fn(e) {
294
+ const {
295
+ rects: d,
296
+ platform: o
297
+ } = e, {
298
+ strategy: f = "referenceHidden",
299
+ ...n
300
+ } = _(t, e);
301
+ switch (f) {
302
+ case "referenceHidden": {
303
+ const i = await o.detectOverflow(e, {
304
+ ...n,
305
+ elementContext: "reference"
306
+ }), s = I(i, d.reference);
307
+ return {
308
+ data: {
309
+ referenceHiddenOffsets: s,
310
+ referenceHidden: N(s)
311
+ }
312
+ };
313
+ }
314
+ case "escaped": {
315
+ const i = await o.detectOverflow(e, {
316
+ ...n,
317
+ altBoundary: !0
318
+ }), s = I(i, d.floating);
319
+ return {
320
+ data: {
321
+ escapedOffsets: s,
322
+ escaped: N(s)
323
+ }
324
+ };
325
+ }
326
+ default:
327
+ return {};
328
+ }
329
+ }
330
+ };
331
+ }, se = /* @__PURE__ */ new Set(["left", "top"]);
332
+ async function ae(t, e) {
333
+ const {
334
+ placement: d,
335
+ platform: o,
336
+ elements: f
337
+ } = t, n = await (o.isRTL == null ? void 0 : o.isRTL(f.floating)), i = W(d), s = B(d), g = F(d) === "y", x = se.has(i) ? -1 : 1, c = n && g ? -1 : 1, r = _(e, t);
338
+ let {
339
+ mainAxis: m,
340
+ crossAxis: a,
341
+ alignmentAxis: l
342
+ } = typeof r == "number" ? {
343
+ mainAxis: r,
344
+ crossAxis: 0,
345
+ alignmentAxis: null
346
+ } : {
347
+ mainAxis: r.mainAxis || 0,
348
+ crossAxis: r.crossAxis || 0,
349
+ alignmentAxis: r.alignmentAxis
350
+ };
351
+ return s && typeof l == "number" && (a = s === "end" ? l * -1 : l), g ? {
352
+ x: a * c,
353
+ y: m * x
354
+ } : {
355
+ x: m * x,
356
+ y: a * c
357
+ };
358
+ }
359
+ const de = function(t) {
360
+ return t === void 0 && (t = 0), {
361
+ name: "offset",
362
+ options: t,
363
+ async fn(e) {
364
+ var d, o;
365
+ const {
366
+ x: f,
367
+ y: n,
368
+ placement: i,
369
+ middlewareData: s
370
+ } = e, g = await ae(e, t);
371
+ return i === ((d = s.offset) == null ? void 0 : d.placement) && (o = s.arrow) != null && o.alignmentOffset ? {} : {
372
+ x: f + g.x,
373
+ y: n + g.y,
374
+ data: {
375
+ ...g,
376
+ placement: i
377
+ }
378
+ };
379
+ }
380
+ };
381
+ }, ge = function(t) {
382
+ return t === void 0 && (t = {}), {
383
+ name: "shift",
384
+ options: t,
385
+ async fn(e) {
386
+ const {
387
+ x: d,
388
+ y: o,
389
+ placement: f,
390
+ platform: n
391
+ } = e, {
392
+ mainAxis: i = !0,
393
+ crossAxis: s = !1,
394
+ limiter: g = {
395
+ fn: (w) => {
396
+ let {
397
+ x: v,
398
+ y: p
399
+ } = w;
400
+ return {
401
+ x: v,
402
+ y: p
403
+ };
404
+ }
405
+ },
406
+ ...x
407
+ } = _(t, e), c = {
408
+ x: d,
409
+ y: o
410
+ }, r = await n.detectOverflow(e, x), m = F(W(f)), a = te(m);
411
+ let l = c[a], u = c[m];
412
+ if (i) {
413
+ const w = a === "y" ? "top" : "left", v = a === "y" ? "bottom" : "right", p = l + r[w], y = l - r[v];
414
+ l = Y(p, l, y);
415
+ }
416
+ if (s) {
417
+ const w = m === "y" ? "top" : "left", v = m === "y" ? "bottom" : "right", p = u + r[w], y = u - r[v];
418
+ u = Y(p, u, y);
419
+ }
420
+ const h = g.fn({
421
+ ...e,
422
+ [a]: l,
423
+ [m]: u
424
+ });
425
+ return {
426
+ ...h,
427
+ data: {
428
+ x: h.x - d,
429
+ y: h.y - o,
430
+ enabled: {
431
+ [a]: i,
432
+ [m]: s
433
+ }
434
+ }
435
+ };
436
+ }
437
+ };
438
+ }, ue = function(t) {
439
+ return t === void 0 && (t = {}), {
440
+ name: "size",
441
+ options: t,
442
+ async fn(e) {
443
+ var d, o;
444
+ const {
445
+ placement: f,
446
+ rects: n,
447
+ platform: i,
448
+ elements: s
449
+ } = e, {
450
+ apply: g = () => {
451
+ },
452
+ ...x
453
+ } = _(t, e), c = await i.detectOverflow(e, x), r = W(f), m = B(f), a = F(f) === "y", {
454
+ width: l,
455
+ height: u
456
+ } = n.floating;
457
+ let h, w;
458
+ r === "top" || r === "bottom" ? (h = r, w = m === (await (i.isRTL == null ? void 0 : i.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (w = r, h = m === "end" ? "top" : "bottom");
459
+ const v = u - c.top - c.bottom, p = l - c.left - c.right, y = j(u - c[h], v), O = j(l - c[w], p), A = !e.middlewareData.shift;
460
+ let R = y, E = O;
461
+ if ((d = e.middlewareData.shift) != null && d.enabled.x && (E = p), (o = e.middlewareData.shift) != null && o.enabled.y && (R = v), A && !m) {
462
+ const P = $(c.left, 0), L = $(c.right, 0), k = $(c.top, 0), M = $(c.bottom, 0);
463
+ a ? E = l - 2 * (P !== 0 || L !== 0 ? P + L : $(c.left, c.right)) : R = u - 2 * (k !== 0 || M !== 0 ? k + M : $(c.top, c.bottom));
464
+ }
465
+ await g({
466
+ ...e,
467
+ availableWidth: E,
468
+ availableHeight: R
469
+ });
470
+ const D = await i.getDimensions(s.floating);
471
+ return l !== D.width || u !== D.height ? {
472
+ reset: {
473
+ rects: !0
474
+ }
475
+ } : {};
476
+ }
477
+ };
478
+ };
479
+ export {
480
+ re as arrow,
481
+ ce as computePosition,
482
+ ie as detectOverflow,
483
+ fe as flip,
484
+ me as hide,
485
+ de as offset,
486
+ z as rectToClientRect,
487
+ ge as shift,
488
+ ue as size
489
+ };
@@ -0,0 +1,128 @@
1
+ const S = ["top", "right", "bottom", "left"], m = Math.min, h = Math.max, w = Math.round, C = Math.floor, j = (t) => ({
2
+ x: t,
3
+ y: t
4
+ }), p = {
5
+ left: "right",
6
+ right: "left",
7
+ bottom: "top",
8
+ top: "bottom"
9
+ };
10
+ function L(t, n, e) {
11
+ return h(t, m(n, e));
12
+ }
13
+ function E(t, n) {
14
+ return typeof t == "function" ? t(n) : t;
15
+ }
16
+ function g(t) {
17
+ return t.split("-")[0];
18
+ }
19
+ function a(t) {
20
+ return t.split("-")[1];
21
+ }
22
+ function x(t) {
23
+ return t === "x" ? "y" : "x";
24
+ }
25
+ function b(t) {
26
+ return t === "y" ? "height" : "width";
27
+ }
28
+ function d(t) {
29
+ const n = t[0];
30
+ return n === "t" || n === "b" ? "y" : "x";
31
+ }
32
+ function A(t) {
33
+ return x(d(t));
34
+ }
35
+ function R(t, n, e) {
36
+ e === void 0 && (e = !1);
37
+ const r = a(t), i = A(t), o = b(i);
38
+ let c = i === "x" ? r === (e ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
39
+ return n.reference[o] > n.floating[o] && (c = f(c)), [c, f(c)];
40
+ }
41
+ function T(t) {
42
+ const n = f(t);
43
+ return [s(t), n, s(n)];
44
+ }
45
+ function s(t) {
46
+ return t.includes("start") ? t.replace("start", "end") : t.replace("end", "start");
47
+ }
48
+ const u = ["left", "right"], l = ["right", "left"], P = ["top", "bottom"], y = ["bottom", "top"];
49
+ function O(t, n, e) {
50
+ switch (t) {
51
+ case "top":
52
+ case "bottom":
53
+ return e ? n ? l : u : n ? u : l;
54
+ case "left":
55
+ case "right":
56
+ return n ? P : y;
57
+ default:
58
+ return [];
59
+ }
60
+ }
61
+ function k(t, n, e, r) {
62
+ const i = a(t);
63
+ let o = O(g(t), e === "start", r);
64
+ return i && (o = o.map((c) => c + "-" + i), n && (o = o.concat(o.map(s)))), o;
65
+ }
66
+ function f(t) {
67
+ const n = g(t);
68
+ return p[n] + t.slice(n.length);
69
+ }
70
+ function M(t) {
71
+ return {
72
+ top: 0,
73
+ right: 0,
74
+ bottom: 0,
75
+ left: 0,
76
+ ...t
77
+ };
78
+ }
79
+ function q(t) {
80
+ return typeof t != "number" ? M(t) : {
81
+ top: t,
82
+ right: t,
83
+ bottom: t,
84
+ left: t
85
+ };
86
+ }
87
+ function z(t) {
88
+ const {
89
+ x: n,
90
+ y: e,
91
+ width: r,
92
+ height: i
93
+ } = t;
94
+ return {
95
+ width: r,
96
+ height: i,
97
+ top: e,
98
+ left: n,
99
+ right: n + r,
100
+ bottom: e + i,
101
+ x: n,
102
+ y: e
103
+ };
104
+ }
105
+ export {
106
+ L as clamp,
107
+ j as createCoords,
108
+ E as evaluate,
109
+ M as expandPaddingObject,
110
+ C as floor,
111
+ a as getAlignment,
112
+ A as getAlignmentAxis,
113
+ R as getAlignmentSides,
114
+ b as getAxisLength,
115
+ T as getExpandedPlacements,
116
+ s as getOppositeAlignmentPlacement,
117
+ x as getOppositeAxis,
118
+ k as getOppositeAxisPlacements,
119
+ f as getOppositePlacement,
120
+ q as getPaddingObject,
121
+ g as getSide,
122
+ d as getSideAxis,
123
+ h as max,
124
+ m as min,
125
+ z as rectToClientRect,
126
+ w as round,
127
+ S as sides
128
+ };
@@ -0,0 +1,5 @@
1
+ import a from "./index391.js";
2
+ const e = typeof URLSearchParams < "u" ? URLSearchParams : a;
3
+ export {
4
+ e as default
5
+ };
@@ -0,0 +1,4 @@
1
+ const a = typeof FormData < "u" ? FormData : null;
2
+ export {
3
+ a as default
4
+ };
@@ -0,0 +1,4 @@
1
+ const l = typeof Blob < "u" ? Blob : null;
2
+ export {
3
+ l as default
4
+ };
@@ -0,0 +1,19 @@
1
+ function y(t, n) {
2
+ t = t || 10;
3
+ const c = new Array(t), o = new Array(t);
4
+ let e = 0, r = 0, i;
5
+ return n = n !== void 0 ? n : 1e3, function(h) {
6
+ const d = Date.now(), a = o[r];
7
+ i || (i = d), c[e] = h, o[e] = d;
8
+ let f = r, u = 0;
9
+ for (; f !== e; )
10
+ u += c[f++], f = f % t;
11
+ if (e = (e + 1) % t, e === r && (r = (r + 1) % t), d - i < n)
12
+ return;
13
+ const w = a && d - a;
14
+ return w ? Math.round(u * 1e3 / w) : void 0;
15
+ };
16
+ }
17
+ export {
18
+ y as default
19
+ };
@@ -0,0 +1,15 @@
1
+ function h(r, a) {
2
+ let s = 0, u = 1e3 / a, e, t;
3
+ const n = (l, o = Date.now()) => {
4
+ s = o, e = null, t && (clearTimeout(t), t = null), r(...l);
5
+ };
6
+ return [(...l) => {
7
+ const o = Date.now(), i = o - s;
8
+ i >= u ? n(l, o) : (e = l, t || (t = setTimeout(() => {
9
+ t = null, n(e);
10
+ }, u - i)));
11
+ }, () => e && n(e)];
12
+ }
13
+ export {
14
+ h as default
15
+ };
package/dist/index41.js CHANGED
@@ -1,8 +1,8 @@
1
- import f from "./index138.js";
1
+ import f from "./index139.js";
2
2
  import { openBlock as o, createElementBlock as n, renderSlot as t, createBlock as p, Transition as a, withCtx as s, normalizeStyle as l, normalizeClass as i, createCommentVNode as d, Teleport as u, createVNode as m, withModifiers as k, createElementVNode as y } from "vue";
3
3
  /* empty css */
4
4
  /* empty css */
5
- import g from "./index65.js";
5
+ import g from "./index66.js";
6
6
  function C(e, r, E, L, $, w) {
7
7
  return o(), n("div", {
8
8
  ref: "popover",
@@ -0,0 +1,8 @@
1
+ import o from "./index381.js";
2
+ const n = o.hasStandardBrowserEnv ? /* @__PURE__ */ ((r, e) => (t) => (t = new URL(t, o.origin), r.protocol === t.protocol && r.host === t.host && (e || r.port === t.port)))(
3
+ new URL(o.origin),
4
+ o.navigator && /(msie|trident)/i.test(o.navigator.userAgent)
5
+ ) : () => !0;
6
+ export {
7
+ n as default
8
+ };