bitboss-ui 0.2.2 → 0.2.3

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 (120) hide show
  1. package/dist/components/BbTable/BbTable.vue.d.ts +21 -21
  2. package/dist/components/BbTable/types.d.ts +129 -68
  3. package/dist/index101.js +18 -18
  4. package/dist/index101.js.map +1 -1
  5. package/dist/index109.js +1 -1
  6. package/dist/index11.js +2 -2
  7. package/dist/index111.js +5 -5
  8. package/dist/index113.js +1 -1
  9. package/dist/index116.js +1 -1
  10. package/dist/index117.js +1 -1
  11. package/dist/index118.js +1 -1
  12. package/dist/index119.js +1 -1
  13. package/dist/index121.js +1 -1
  14. package/dist/index125.js +1 -1
  15. package/dist/index126.js +1 -1
  16. package/dist/index128.js +2 -2
  17. package/dist/index15.js +8 -8
  18. package/dist/index17.js +9 -9
  19. package/dist/index19.js +3 -3
  20. package/dist/index195.js +2 -2
  21. package/dist/index195.js.map +1 -1
  22. package/dist/index196.js +4 -2
  23. package/dist/index196.js.map +1 -1
  24. package/dist/index197.js +3 -4
  25. package/dist/index197.js.map +1 -1
  26. package/dist/index198.js +32 -232
  27. package/dist/index198.js.map +1 -1
  28. package/dist/index199.js +6 -2
  29. package/dist/index199.js.map +1 -1
  30. package/dist/index200.js +2 -2
  31. package/dist/index200.js.map +1 -1
  32. package/dist/index201.js +351 -3
  33. package/dist/index201.js.map +1 -1
  34. package/dist/index202.js +133 -34
  35. package/dist/index202.js.map +1 -1
  36. package/dist/index203.js +5 -6
  37. package/dist/index203.js.map +1 -1
  38. package/dist/index204.js +19 -5
  39. package/dist/index204.js.map +1 -1
  40. package/dist/index205.js +2 -16
  41. package/dist/index205.js.map +1 -1
  42. package/dist/index206.js +2 -16
  43. package/dist/index206.js.map +1 -1
  44. package/dist/index207.js +184 -17
  45. package/dist/index207.js.map +1 -1
  46. package/dist/index208.js +23 -20
  47. package/dist/index208.js.map +1 -1
  48. package/dist/index209.js +367 -27
  49. package/dist/index209.js.map +1 -1
  50. package/dist/index21.js +2 -2
  51. package/dist/index210.js +2 -8
  52. package/dist/index210.js.map +1 -1
  53. package/dist/index211.js +16 -2
  54. package/dist/index211.js.map +1 -1
  55. package/dist/index212.js +14 -349
  56. package/dist/index212.js.map +1 -1
  57. package/dist/index213.js +17 -131
  58. package/dist/index213.js.map +1 -1
  59. package/dist/index214.js +27 -184
  60. package/dist/index214.js.map +1 -1
  61. package/dist/index215.js +8 -23
  62. package/dist/index215.js.map +1 -1
  63. package/dist/index216.js +225 -359
  64. package/dist/index216.js.map +1 -1
  65. package/dist/index217.js +10 -3
  66. package/dist/index217.js.map +1 -1
  67. package/dist/index218.js +2 -3
  68. package/dist/index218.js.map +1 -1
  69. package/dist/index219.js +3 -10
  70. package/dist/index219.js.map +1 -1
  71. package/dist/index220.js +3 -2
  72. package/dist/index220.js.map +1 -1
  73. package/dist/index221.js +7 -114
  74. package/dist/index221.js.map +1 -1
  75. package/dist/index222.js +113 -25
  76. package/dist/index222.js.map +1 -1
  77. package/dist/index223.js +27 -12
  78. package/dist/index223.js.map +1 -1
  79. package/dist/index224.js +12 -8
  80. package/dist/index224.js.map +1 -1
  81. package/dist/index226.js +4 -2
  82. package/dist/index226.js.map +1 -1
  83. package/dist/index227.js +434 -3
  84. package/dist/index227.js.map +1 -1
  85. package/dist/index228.js +82 -428
  86. package/dist/index228.js.map +1 -1
  87. package/dist/index229.js +197 -86
  88. package/dist/index229.js.map +1 -1
  89. package/dist/index23.js +1 -1
  90. package/dist/index237.js +2 -200
  91. package/dist/index237.js.map +1 -1
  92. package/dist/index241.js +2 -2
  93. package/dist/index241.js.map +1 -1
  94. package/dist/index242.js +69 -224
  95. package/dist/index242.js.map +1 -1
  96. package/dist/index243.js +2 -258
  97. package/dist/index243.js.map +1 -1
  98. package/dist/index244.js +1 -1
  99. package/dist/index246.js +2 -69
  100. package/dist/index246.js.map +1 -1
  101. package/dist/index247.js +224 -2
  102. package/dist/index247.js.map +1 -1
  103. package/dist/index248.js +258 -2
  104. package/dist/index248.js.map +1 -1
  105. package/dist/index25.js +2 -2
  106. package/dist/index252.js +1 -1
  107. package/dist/index29.js +3 -3
  108. package/dist/index31.js +6 -6
  109. package/dist/index33.js +2 -2
  110. package/dist/index35.js +2 -2
  111. package/dist/index47.js +1 -1
  112. package/dist/index49.js +1 -1
  113. package/dist/index65.js +5 -5
  114. package/dist/index69.js +2 -2
  115. package/dist/index72.js +1 -1
  116. package/dist/index75.js +1 -1
  117. package/dist/index79.js +4 -4
  118. package/dist/index81.js +1 -1
  119. package/dist/style.css +1 -1
  120. package/package.json +1 -1
package/dist/index216.js CHANGED
@@ -1,372 +1,238 @@
1
- import { evaluate as j, getSide as M, getOppositePlacement as J, getExpandedPlacements as K, getOppositeAxisPlacements as N, getAlignmentSides as Q, getSideAxis as F, clamp as B, getPaddingObject as I, rectToClientRect as X, getAlignmentAxis as W, getAlignment as Y, getOppositeAxis as U, getAxisLength as $, min as z } from "./index235.js";
2
- function H(o, i, d) {
3
- let {
4
- reference: e,
5
- floating: c
6
- } = o;
7
- const n = F(i), a = W(i), r = $(a), u = M(i), x = n === "y", m = e.x + e.width / 2 - c.width / 2, l = e.y + e.height / 2 - c.height / 2, f = e[r] / 2 - c[r] / 2;
8
- let t;
9
- switch (u) {
10
- case "top":
11
- t = {
12
- x: m,
13
- y: e.y - c.height
14
- };
15
- break;
16
- case "bottom":
17
- t = {
18
- x: m,
19
- y: e.y + e.height
20
- };
21
- break;
22
- case "right":
23
- t = {
24
- x: e.x + e.width,
25
- y: l
26
- };
27
- break;
28
- case "left":
29
- t = {
30
- x: e.x - c.width,
31
- y: l
32
- };
33
- break;
34
- default:
35
- t = {
36
- x: e.x,
37
- y: e.y
38
- };
1
+ import { commonjsGlobal as f, getDefaultExportFromCjs as $ } from "./index230.js";
2
+ var D = "Expected a function", O = "__lodash_hash_undefined__", j = 1 / 0, F = "[object Function]", N = "[object GeneratorFunction]", H = "[object Symbol]", G = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, R = /^\w*$/, A = /^\./, M = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, K = /[\\^$.*+?()[\]{}|]/g, L = /\\(\\)?/g, z = /^\[object .+?Constructor\]$/, U = typeof f == "object" && f && f.Object === Object && f, q = typeof self == "object" && self && self.Object === Object && self, d = U || q || Function("return this")();
3
+ function J(t, e) {
4
+ return t == null ? void 0 : t[e];
5
+ }
6
+ function V(t) {
7
+ var e = !1;
8
+ if (t != null && typeof t.toString != "function")
9
+ try {
10
+ e = !!(t + "");
11
+ } catch {
12
+ }
13
+ return e;
14
+ }
15
+ var X = Array.prototype, Y = Function.prototype, w = Object.prototype, l = d["__core-js_shared__"], m = function() {
16
+ var t = /[^.]+$/.exec(l && l.keys && l.keys.IE_PROTO || "");
17
+ return t ? "Symbol(src)_1." + t : "";
18
+ }(), x = Y.toString, _ = w.hasOwnProperty, P = w.toString, B = RegExp(
19
+ "^" + x.call(_).replace(K, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
20
+ ), C = d.Symbol, Q = X.splice, W = T(d, "Map"), u = T(Object, "create"), v = C ? C.prototype : void 0, S = v ? v.toString : void 0;
21
+ function a(t) {
22
+ var e = -1, r = t ? t.length : 0;
23
+ for (this.clear(); ++e < r; ) {
24
+ var n = t[e];
25
+ this.set(n[0], n[1]);
39
26
  }
40
- switch (Y(i)) {
41
- case "start":
42
- t[a] -= f * (d && x ? -1 : 1);
43
- break;
44
- case "end":
45
- t[a] += f * (d && x ? -1 : 1);
46
- break;
27
+ }
28
+ function Z() {
29
+ this.__data__ = u ? u(null) : {};
30
+ }
31
+ function k(t) {
32
+ return this.has(t) && delete this.__data__[t];
33
+ }
34
+ function tt(t) {
35
+ var e = this.__data__;
36
+ if (u) {
37
+ var r = e[t];
38
+ return r === O ? void 0 : r;
47
39
  }
48
- return t;
49
- }
50
- const tt = async (o, i, d) => {
51
- const {
52
- placement: e = "bottom",
53
- strategy: c = "absolute",
54
- middleware: n = [],
55
- platform: a
56
- } = d, r = n.filter(Boolean), u = await (a.isRTL == null ? void 0 : a.isRTL(i));
57
- let x = await a.getElementRects({
58
- reference: o,
59
- floating: i,
60
- strategy: c
61
- }), {
62
- x: m,
63
- y: l
64
- } = H(x, e, u), f = e, t = {}, s = 0;
65
- for (let p = 0; p < r.length; p++) {
66
- const {
67
- name: g,
68
- fn: w
69
- } = r[p], {
70
- x: h,
71
- y,
72
- data: P,
73
- reset: v
74
- } = await w({
75
- x: m,
76
- y: l,
77
- initialPlacement: e,
78
- placement: f,
79
- strategy: c,
80
- middlewareData: t,
81
- rects: x,
82
- platform: a,
83
- elements: {
84
- reference: o,
85
- floating: i
86
- }
87
- });
88
- if (m = h ?? m, l = y ?? l, t = {
89
- ...t,
90
- [g]: {
91
- ...t[g],
92
- ...P
93
- }
94
- }, v && s <= 50) {
95
- s++, typeof v == "object" && (v.placement && (f = v.placement), v.rects && (x = v.rects === !0 ? await a.getElementRects({
96
- reference: o,
97
- floating: i,
98
- strategy: c
99
- }) : v.rects), {
100
- x: m,
101
- y: l
102
- } = H(x, f, u)), p = -1;
103
- continue;
104
- }
40
+ return _.call(e, t) ? e[t] : void 0;
41
+ }
42
+ function et(t) {
43
+ var e = this.__data__;
44
+ return u ? e[t] !== void 0 : _.call(e, t);
45
+ }
46
+ function rt(t, e) {
47
+ var r = this.__data__;
48
+ return r[t] = u && e === void 0 ? O : e, this;
49
+ }
50
+ a.prototype.clear = Z;
51
+ a.prototype.delete = k;
52
+ a.prototype.get = tt;
53
+ a.prototype.has = et;
54
+ a.prototype.set = rt;
55
+ function i(t) {
56
+ var e = -1, r = t ? t.length : 0;
57
+ for (this.clear(); ++e < r; ) {
58
+ var n = t[e];
59
+ this.set(n[0], n[1]);
105
60
  }
106
- return {
107
- x: m,
108
- y: l,
109
- placement: f,
110
- strategy: c,
111
- middlewareData: t
112
- };
113
- };
114
- async function q(o, i) {
115
- var d;
116
- i === void 0 && (i = {});
117
- const {
118
- x: e,
119
- y: c,
120
- platform: n,
121
- rects: a,
122
- elements: r,
123
- strategy: u
124
- } = o, {
125
- boundary: x = "clippingAncestors",
126
- rootBoundary: m = "viewport",
127
- elementContext: l = "floating",
128
- altBoundary: f = !1,
129
- padding: t = 0
130
- } = j(i, o), s = I(t), g = r[f ? l === "floating" ? "reference" : "floating" : l], w = X(await n.getClippingRect({
131
- element: (d = await (n.isElement == null ? void 0 : n.isElement(g))) == null || d ? g : g.contextElement || await (n.getDocumentElement == null ? void 0 : n.getDocumentElement(r.floating)),
132
- boundary: x,
133
- rootBoundary: m,
134
- strategy: u
135
- })), h = l === "floating" ? {
136
- ...a.floating,
137
- x: e,
138
- y: c
139
- } : a.reference, y = await (n.getOffsetParent == null ? void 0 : n.getOffsetParent(r.floating)), P = await (n.isElement == null ? void 0 : n.isElement(y)) ? await (n.getScale == null ? void 0 : n.getScale(y)) || {
140
- x: 1,
141
- y: 1
142
- } : {
143
- x: 1,
144
- y: 1
145
- }, v = X(n.convertOffsetParentRelativeRectToViewportRelativeRect ? await n.convertOffsetParentRelativeRectToViewportRelativeRect({
146
- rect: h,
147
- offsetParent: y,
148
- strategy: u
149
- }) : h);
150
- return {
151
- top: (w.top - v.top + s.top) / P.y,
152
- bottom: (v.bottom - w.bottom + s.bottom) / P.y,
153
- left: (w.left - v.left + s.left) / P.x,
154
- right: (v.right - w.right + s.right) / P.x
155
- };
156
61
  }
157
- const et = (o) => ({
158
- name: "arrow",
159
- options: o,
160
- async fn(i) {
161
- const {
162
- x: d,
163
- y: e,
164
- placement: c,
165
- rects: n,
166
- platform: a,
167
- elements: r,
168
- middlewareData: u
169
- } = i, {
170
- element: x,
171
- padding: m = 0
172
- } = j(o, i) || {};
173
- if (x == null)
174
- return {};
175
- const l = I(m), f = {
176
- x: d,
177
- y: e
178
- }, t = W(c), s = $(t), p = await a.getDimensions(x), g = t === "y", w = g ? "top" : "left", h = g ? "bottom" : "right", y = g ? "clientHeight" : "clientWidth", P = n.reference[s] + n.reference[t] - f[t] - n.floating[s], v = f[t] - n.reference[t], E = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(x));
179
- let O = E ? E[y] : 0;
180
- (!O || !await (a.isElement == null ? void 0 : a.isElement(E))) && (O = r.floating[y] || n.floating[s]);
181
- const S = P / 2 - v / 2, T = O / 2 - p[s] / 2 - 1, D = z(l[w], T), L = z(l[h], T), b = D, V = O - p[s] - L, A = O / 2 - p[s] / 2 + S, R = B(b, A, V), k = !u.arrow && Y(c) != null && A != R && n.reference[s] / 2 - (A < b ? D : L) - p[s] / 2 < 0, C = k ? A < b ? A - b : A - V : 0;
182
- return {
183
- [t]: f[t] + C,
184
- data: {
185
- [t]: R,
186
- centerOffset: A - R - C,
187
- ...k && {
188
- alignmentOffset: C
189
- }
190
- },
191
- reset: k
192
- };
62
+ function nt() {
63
+ this.__data__ = [];
64
+ }
65
+ function at(t) {
66
+ var e = this.__data__, r = h(e, t);
67
+ if (r < 0)
68
+ return !1;
69
+ var n = e.length - 1;
70
+ return r == n ? e.pop() : Q.call(e, r, 1), !0;
71
+ }
72
+ function ot(t) {
73
+ var e = this.__data__, r = h(e, t);
74
+ return r < 0 ? void 0 : e[r][1];
75
+ }
76
+ function it(t) {
77
+ return h(this.__data__, t) > -1;
78
+ }
79
+ function ct(t, e) {
80
+ var r = this.__data__, n = h(r, t);
81
+ return n < 0 ? r.push([t, e]) : r[n][1] = e, this;
82
+ }
83
+ i.prototype.clear = nt;
84
+ i.prototype.delete = at;
85
+ i.prototype.get = ot;
86
+ i.prototype.has = it;
87
+ i.prototype.set = ct;
88
+ function o(t) {
89
+ var e = -1, r = t ? t.length : 0;
90
+ for (this.clear(); ++e < r; ) {
91
+ var n = t[e];
92
+ this.set(n[0], n[1]);
193
93
  }
194
- }), nt = function(o) {
195
- return o === void 0 && (o = {}), {
196
- name: "flip",
197
- options: o,
198
- async fn(i) {
199
- var d, e;
200
- const {
201
- placement: c,
202
- middlewareData: n,
203
- rects: a,
204
- initialPlacement: r,
205
- platform: u,
206
- elements: x
207
- } = i, {
208
- mainAxis: m = !0,
209
- crossAxis: l = !0,
210
- fallbackPlacements: f,
211
- fallbackStrategy: t = "bestFit",
212
- fallbackAxisSideDirection: s = "none",
213
- flipAlignment: p = !0,
214
- ...g
215
- } = j(o, i);
216
- if ((d = n.arrow) != null && d.alignmentOffset)
217
- return {};
218
- const w = M(c), h = M(r) === r, y = await (u.isRTL == null ? void 0 : u.isRTL(x.floating)), P = f || (h || !p ? [J(r)] : K(r));
219
- !f && s !== "none" && P.push(...N(r, p, s, y));
220
- const v = [r, ...P], E = await q(i, g), O = [];
221
- let S = ((e = n.flip) == null ? void 0 : e.overflows) || [];
222
- if (m && O.push(E[w]), l) {
223
- const b = Q(c, a, y);
224
- O.push(E[b[0]], E[b[1]]);
225
- }
226
- if (S = [...S, {
227
- placement: c,
228
- overflows: O
229
- }], !O.every((b) => b <= 0)) {
230
- var T, D;
231
- const b = (((T = n.flip) == null ? void 0 : T.index) || 0) + 1, V = v[b];
232
- if (V)
233
- return {
234
- data: {
235
- index: b,
236
- overflows: S
237
- },
238
- reset: {
239
- placement: V
240
- }
241
- };
242
- let A = (D = S.filter((R) => R.overflows[0] <= 0).sort((R, k) => R.overflows[1] - k.overflows[1])[0]) == null ? void 0 : D.placement;
243
- if (!A)
244
- switch (t) {
245
- case "bestFit": {
246
- var L;
247
- const R = (L = S.map((k) => [k.placement, k.overflows.filter((C) => C > 0).reduce((C, G) => C + G, 0)]).sort((k, C) => k[1] - C[1])[0]) == null ? void 0 : L[0];
248
- R && (A = R);
249
- break;
250
- }
251
- case "initialPlacement":
252
- A = r;
253
- break;
254
- }
255
- if (c !== A)
256
- return {
257
- reset: {
258
- placement: A
259
- }
260
- };
261
- }
262
- return {};
263
- }
264
- };
265
- };
266
- async function Z(o, i) {
267
- const {
268
- placement: d,
269
- platform: e,
270
- elements: c
271
- } = o, n = await (e.isRTL == null ? void 0 : e.isRTL(c.floating)), a = M(d), r = Y(d), u = F(d) === "y", x = ["left", "top"].includes(a) ? -1 : 1, m = n && u ? -1 : 1, l = j(i, o);
272
- let {
273
- mainAxis: f,
274
- crossAxis: t,
275
- alignmentAxis: s
276
- } = typeof l == "number" ? {
277
- mainAxis: l,
278
- crossAxis: 0,
279
- alignmentAxis: null
280
- } : {
281
- mainAxis: 0,
282
- crossAxis: 0,
283
- alignmentAxis: null,
284
- ...l
285
- };
286
- return r && typeof s == "number" && (t = r === "end" ? s * -1 : s), u ? {
287
- x: t * m,
288
- y: f * x
289
- } : {
290
- x: f * x,
291
- y: t * m
94
+ }
95
+ function st() {
96
+ this.__data__ = {
97
+ hash: new a(),
98
+ map: new (W || i)(),
99
+ string: new a()
292
100
  };
293
101
  }
294
- const it = function(o) {
295
- return o === void 0 && (o = 0), {
296
- name: "offset",
297
- options: o,
298
- async fn(i) {
299
- const {
300
- x: d,
301
- y: e
302
- } = i, c = await Z(i, o);
303
- return {
304
- x: d + c.x,
305
- y: e + c.y,
306
- data: c
307
- };
102
+ function ut(t) {
103
+ return p(this, t).delete(t);
104
+ }
105
+ function ft(t) {
106
+ return p(this, t).get(t);
107
+ }
108
+ function ht(t) {
109
+ return p(this, t).has(t);
110
+ }
111
+ function pt(t, e) {
112
+ return p(this, t).set(t, e), this;
113
+ }
114
+ o.prototype.clear = st;
115
+ o.prototype.delete = ut;
116
+ o.prototype.get = ft;
117
+ o.prototype.has = ht;
118
+ o.prototype.set = pt;
119
+ function h(t, e) {
120
+ for (var r = t.length; r--; )
121
+ if (Ot(t[r][0], e))
122
+ return r;
123
+ return -1;
124
+ }
125
+ function lt(t, e) {
126
+ e = gt(e, t) ? [e] : yt(e);
127
+ for (var r = 0, n = e.length; t != null && r < n; )
128
+ t = t[vt(e[r++])];
129
+ return r && r == n ? t : void 0;
130
+ }
131
+ function dt(t) {
132
+ if (!E(t) || mt(t))
133
+ return !1;
134
+ var e = jt(t) || V(t) ? B : z;
135
+ return e.test(St(t));
136
+ }
137
+ function _t(t) {
138
+ if (typeof t == "string")
139
+ return t;
140
+ if (g(t))
141
+ return S ? S.call(t) : "";
142
+ var e = t + "";
143
+ return e == "0" && 1 / t == -j ? "-0" : e;
144
+ }
145
+ function yt(t) {
146
+ return I(t) ? t : Ct(t);
147
+ }
148
+ function p(t, e) {
149
+ var r = t.__data__;
150
+ return bt(e) ? r[typeof e == "string" ? "string" : "hash"] : r.map;
151
+ }
152
+ function T(t, e) {
153
+ var r = J(t, e);
154
+ return dt(r) ? r : void 0;
155
+ }
156
+ function gt(t, e) {
157
+ if (I(t))
158
+ return !1;
159
+ var r = typeof t;
160
+ return r == "number" || r == "symbol" || r == "boolean" || t == null || g(t) ? !0 : R.test(t) || !G.test(t) || e != null && t in Object(e);
161
+ }
162
+ function bt(t) {
163
+ var e = typeof t;
164
+ return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
165
+ }
166
+ function mt(t) {
167
+ return !!m && m in t;
168
+ }
169
+ var Ct = y(function(t) {
170
+ t = xt(t);
171
+ var e = [];
172
+ return A.test(t) && e.push(""), t.replace(M, function(r, n, c, s) {
173
+ e.push(c ? s.replace(L, "$1") : n || r);
174
+ }), e;
175
+ });
176
+ function vt(t) {
177
+ if (typeof t == "string" || g(t))
178
+ return t;
179
+ var e = t + "";
180
+ return e == "0" && 1 / t == -j ? "-0" : e;
181
+ }
182
+ function St(t) {
183
+ if (t != null) {
184
+ try {
185
+ return x.call(t);
186
+ } catch {
308
187
  }
309
- };
310
- }, ot = function(o) {
311
- return o === void 0 && (o = {}), {
312
- name: "shift",
313
- options: o,
314
- async fn(i) {
315
- const {
316
- x: d,
317
- y: e,
318
- placement: c
319
- } = i, {
320
- mainAxis: n = !0,
321
- crossAxis: a = !1,
322
- limiter: r = {
323
- fn: (g) => {
324
- let {
325
- x: w,
326
- y: h
327
- } = g;
328
- return {
329
- x: w,
330
- y: h
331
- };
332
- }
333
- },
334
- ...u
335
- } = j(o, i), x = {
336
- x: d,
337
- y: e
338
- }, m = await q(i, u), l = F(M(c)), f = U(l);
339
- let t = x[f], s = x[l];
340
- if (n) {
341
- const g = f === "y" ? "top" : "left", w = f === "y" ? "bottom" : "right", h = t + m[g], y = t - m[w];
342
- t = B(h, t, y);
343
- }
344
- if (a) {
345
- const g = l === "y" ? "top" : "left", w = l === "y" ? "bottom" : "right", h = s + m[g], y = s - m[w];
346
- s = B(h, s, y);
347
- }
348
- const p = r.fn({
349
- ...i,
350
- [f]: t,
351
- [l]: s
352
- });
353
- return {
354
- ...p,
355
- data: {
356
- x: p.x - d,
357
- y: p.y - e
358
- }
359
- };
188
+ try {
189
+ return t + "";
190
+ } catch {
360
191
  }
192
+ }
193
+ return "";
194
+ }
195
+ function y(t, e) {
196
+ if (typeof t != "function" || e && typeof e != "function")
197
+ throw new TypeError(D);
198
+ var r = function() {
199
+ var n = arguments, c = e ? e.apply(this, n) : n[0], s = r.cache;
200
+ if (s.has(c))
201
+ return s.get(c);
202
+ var b = t.apply(this, n);
203
+ return r.cache = s.set(c, b), b;
361
204
  };
362
- };
205
+ return r.cache = new (y.Cache || o)(), r;
206
+ }
207
+ y.Cache = o;
208
+ function Ot(t, e) {
209
+ return t === e || t !== t && e !== e;
210
+ }
211
+ var I = Array.isArray;
212
+ function jt(t) {
213
+ var e = E(t) ? P.call(t) : "";
214
+ return e == F || e == N;
215
+ }
216
+ function E(t) {
217
+ var e = typeof t;
218
+ return !!t && (e == "object" || e == "function");
219
+ }
220
+ function wt(t) {
221
+ return !!t && typeof t == "object";
222
+ }
223
+ function g(t) {
224
+ return typeof t == "symbol" || wt(t) && P.call(t) == H;
225
+ }
226
+ function xt(t) {
227
+ return t == null ? "" : _t(t);
228
+ }
229
+ function Pt(t, e, r) {
230
+ var n = t == null ? void 0 : lt(t, e);
231
+ return n === void 0 ? r : n;
232
+ }
233
+ var Tt = Pt;
234
+ const Et = /* @__PURE__ */ $(Tt);
363
235
  export {
364
- et as arrow,
365
- tt as computePosition,
366
- q as detectOverflow,
367
- nt as flip,
368
- it as offset,
369
- X as rectToClientRect,
370
- ot as shift
236
+ Et as default
371
237
  };
372
238
  //# sourceMappingURL=index216.js.map