@avakhula/ui 0.0.505-alpha.2 → 0.0.505-alpha.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.
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
- import { openBlock as N, createElementBlock as Q, normalizeStyle as Ut, normalizeClass as q, resolveComponent as xt, createElementVNode as D, withModifiers as qt, renderSlot as K, createVNode as rt, Transition as _t, withCtx as Z, withDirectives as Ct, vShow as Tt, createBlock as It, toDisplayString as ct, createCommentVNode as Xt, createApp as Yt } from "vue";
1
+ import { openBlock as N, createElementBlock as Q, normalizeStyle as jt, normalizeClass as q, resolveComponent as xt, createElementVNode as D, withModifiers as Ut, renderSlot as K, createVNode as rt, Transition as _t, withCtx as Z, withDirectives as Ct, vShow as Tt, createBlock as It, toDisplayString as ct, createCommentVNode as qt, createApp as Xt } from "vue";
2
2
  function Et() {
3
3
  return "_" + Math.random().toString(36).substr(2, 9);
4
4
  }
5
- const zt = {
5
+ const Yt = {
6
6
  methods: {
7
7
  enter(t) {
8
8
  const e = getComputedStyle(t).width;
@@ -28,7 +28,7 @@ const X = (t, e) => {
28
28
  for (const [n, i] of e)
29
29
  o[n] = i;
30
30
  return o;
31
- }, Gt = {
31
+ }, zt = {
32
32
  name: "IbIcon",
33
33
  props: {
34
34
  name: {
@@ -50,19 +50,19 @@ const X = (t, e) => {
50
50
  (o = (e = this.$refs.icon) == null ? void 0 : e.shadowRoot) != null && o.querySelector("title") && (this.$refs.icon.shadowRoot.querySelector("title").innerHTML = "", clearInterval(t));
51
51
  }, 1e3);
52
52
  }
53
- }, Kt = ["name"];
54
- function Jt(t, e, o, n, i, r) {
53
+ }, Gt = ["name"];
54
+ function Kt(t, e, o, n, i, r) {
55
55
  return N(), Q("ion-icon", {
56
- style: Ut(o.styles),
56
+ style: jt(o.styles),
57
57
  name: o.name,
58
58
  class: q(o.classes + " ib-icon icon-" + o.name),
59
59
  ref: "icon"
60
- }, null, 14, Kt);
60
+ }, null, 14, Gt);
61
61
  }
62
- const Qt = /* @__PURE__ */ X(Gt, [["render", Jt]]);
63
- const Zt = {
62
+ const Jt = /* @__PURE__ */ X(zt, [["render", Kt]]);
63
+ const Qt = {
64
64
  name: "IbAccordion",
65
- mixins: [zt],
65
+ mixins: [Yt],
66
66
  props: {
67
67
  isOpen: {
68
68
  type: Boolean,
@@ -86,10 +86,10 @@ const Zt = {
86
86
  }
87
87
  },
88
88
  components: {
89
- IbIcon: Qt
89
+ IbIcon: Jt
90
90
  }
91
- }, te = ["id", "aria-controls", "aria-expanded"], ee = ["id", "aria-labelledby"], oe = { class: "accordion-content-wrapper" };
92
- function ne(t, e, o, n, i, r) {
91
+ }, Zt = ["id", "aria-controls", "aria-expanded"], te = ["id", "aria-labelledby"], ee = { class: "accordion-content-wrapper" };
92
+ function oe(t, e, o, n, i, r) {
93
93
  const s = xt("ib-icon");
94
94
  return N(), Q("div", {
95
95
  class: q(["ib-accordion", { active: i.isActive }])
@@ -100,14 +100,14 @@ function ne(t, e, o, n, i, r) {
100
100
  "aria-controls": "accordion-section-" + i.uuid,
101
101
  "aria-expanded": i.isActive,
102
102
  type: "button",
103
- onClick: e[0] || (e[0] = qt((...c) => r.onClick && r.onClick(...c), ["prevent"]))
103
+ onClick: e[0] || (e[0] = Ut((...c) => r.onClick && r.onClick(...c), ["prevent"]))
104
104
  }, [
105
105
  K(t.$slots, "title", {}, void 0, !0),
106
106
  rt(s, {
107
107
  class: "chevron-icon",
108
108
  name: "chevron-down-outline"
109
109
  })
110
- ], 8, te),
110
+ ], 8, Zt),
111
111
  rt(_t, {
112
112
  name: "expand",
113
113
  onEnter: t.enter,
@@ -121,10 +121,10 @@ function ne(t, e, o, n, i, r) {
121
121
  id: "accordion-section-" + i.uuid,
122
122
  "aria-labelledby": "accordion" + i.uuid
123
123
  }, [
124
- D("div", oe, [
124
+ D("div", ee, [
125
125
  K(t.$slots, "default", {}, void 0, !0)
126
126
  ])
127
- ], 8, ee), [
127
+ ], 8, te), [
128
128
  [Tt, i.isActive]
129
129
  ])
130
130
  ]),
@@ -132,7 +132,7 @@ function ne(t, e, o, n, i, r) {
132
132
  }, 8, ["onEnter", "onAfterEnter", "onLeave"])
133
133
  ], 2);
134
134
  }
135
- const Qe = /* @__PURE__ */ X(Zt, [["render", ne], ["__scopeId", "data-v-8ece19c1"]]), { performance: H } = window, ie = typeof (H == null ? void 0 : H.now) == "function" && Date.now() > document.createEvent("Event").timeStamp ? () => H.now() : () => Date.now(), V = /* @__PURE__ */ new Map();
135
+ const Ge = /* @__PURE__ */ X(Qt, [["render", oe], ["__scopeId", "data-v-8ece19c1"]]), { performance: H } = window, ne = typeof (H == null ? void 0 : H.now) == "function" && Date.now() > document.createEvent("Event").timeStamp ? () => H.now() : () => Date.now(), V = /* @__PURE__ */ new Map();
136
136
  let F = !1;
137
137
  const Lt = (t) => {
138
138
  V.forEach(({ bindTimeStamp: e, callback: o }, n) => {
@@ -143,11 +143,11 @@ const Lt = (t) => {
143
143
  console.error(i);
144
144
  }
145
145
  });
146
- }, se = () => {
146
+ }, ie = () => {
147
147
  F || (document.addEventListener("click", Lt, { capture: !0 }), F = !0);
148
- }, re = () => {
148
+ }, se = () => {
149
149
  F && (document.removeEventListener("click", Lt), F = !1);
150
- }, ce = (t, { value: e, arg: o = "click" }) => {
150
+ }, re = (t, { value: e, arg: o = "click" }) => {
151
151
  if (typeof e != "function")
152
152
  throw new Error(
153
153
  `[OutsideDirective] Value must be a function; got ${typeof e}!`
@@ -156,15 +156,15 @@ const Lt = (t) => {
156
156
  throw new Error(
157
157
  `[OutsideDirective] Cannot bind ${o} events; only click events are currently supported!`
158
158
  );
159
- V.has(t) || (F || se(), V.set(t, {
160
- bindTimeStamp: ie(),
159
+ V.has(t) || (F || ie(), V.set(t, {
160
+ bindTimeStamp: ne(),
161
161
  callback: e
162
162
  }));
163
- }, le = (t) => {
164
- V.delete(t), V.size === 0 && re();
165
- }, Ze = {
166
- created: ce,
167
- beforeUnmount: le
163
+ }, ce = (t) => {
164
+ V.delete(t), V.size === 0 && se();
165
+ }, Ke = {
166
+ created: re,
167
+ beforeUnmount: ce
168
168
  }, lt = {
169
169
  topLeft: "top-left",
170
170
  topCenter: "top-center",
@@ -178,15 +178,15 @@ const Lt = (t) => {
178
178
  leftTop: "left-top",
179
179
  leftCenter: "left-center",
180
180
  leftBottom: "left-bottom"
181
- }, ae = ["top", "right", "bottom", "left"], at = ["start", "end"], ut = /* @__PURE__ */ ae.reduce((t, e) => t.concat(e, e + "-" + at[0], e + "-" + at[1]), []), ft = Math.min, B = Math.max, j = Math.round, L = (t) => ({
181
+ }, le = ["top", "right", "bottom", "left"], at = ["start", "end"], ut = /* @__PURE__ */ le.reduce((t, e) => t.concat(e, e + "-" + at[0], e + "-" + at[1]), []), ft = Math.min, B = Math.max, j = Math.round, L = (t) => ({
182
182
  x: t,
183
183
  y: t
184
- }), ue = {
184
+ }), ae = {
185
185
  left: "right",
186
186
  right: "left",
187
187
  bottom: "top",
188
188
  top: "bottom"
189
- }, fe = {
189
+ }, ue = {
190
190
  start: "end",
191
191
  end: "start"
192
192
  };
@@ -199,7 +199,7 @@ function Y(t) {
199
199
  function A(t) {
200
200
  return t.split("-")[1];
201
201
  }
202
- function pe(t) {
202
+ function fe(t) {
203
203
  return t === "x" ? "y" : "x";
204
204
  }
205
205
  function $t(t) {
@@ -209,21 +209,21 @@ function At(t) {
209
209
  return ["top", "bottom"].includes(Y(t)) ? "y" : "x";
210
210
  }
211
211
  function Ot(t) {
212
- return pe(At(t));
212
+ return fe(At(t));
213
213
  }
214
- function de(t, e, o) {
214
+ function pe(t, e, o) {
215
215
  o === void 0 && (o = !1);
216
216
  const n = A(t), i = Ot(t), r = $t(i);
217
217
  let s = i === "x" ? n === (o ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
218
218
  return e.reference[r] > e.floating[r] && (s = pt(s)), [s, pt(s)];
219
219
  }
220
- function he(t) {
221
- return t.replace(/start|end/g, (e) => fe[e]);
220
+ function de(t) {
221
+ return t.replace(/start|end/g, (e) => ue[e]);
222
222
  }
223
223
  function pt(t) {
224
- return t.replace(/left|right|bottom|top/g, (e) => ue[e]);
224
+ return t.replace(/left|right|bottom|top/g, (e) => ae[e]);
225
225
  }
226
- function me(t) {
226
+ function he(t) {
227
227
  return {
228
228
  top: 0,
229
229
  right: 0,
@@ -232,8 +232,8 @@ function me(t) {
232
232
  ...t
233
233
  };
234
234
  }
235
- function ge(t) {
236
- return typeof t != "number" ? me(t) : {
235
+ function me(t) {
236
+ return typeof t != "number" ? he(t) : {
237
237
  top: t,
238
238
  right: t,
239
239
  bottom: t,
@@ -254,9 +254,9 @@ function dt(t, e, o) {
254
254
  reference: n,
255
255
  floating: i
256
256
  } = t;
257
- const r = At(e), s = Ot(e), c = $t(s), a = Y(e), l = r === "y", p = n.x + n.width / 2 - i.width / 2, f = n.y + n.height / 2 - i.height / 2, u = n[c] / 2 - i[c] / 2;
257
+ const r = At(e), s = Ot(e), c = $t(s), l = Y(e), a = r === "y", p = n.x + n.width / 2 - i.width / 2, f = n.y + n.height / 2 - i.height / 2, u = n[c] / 2 - i[c] / 2;
258
258
  let d;
259
- switch (a) {
259
+ switch (l) {
260
260
  case "top":
261
261
  d = {
262
262
  x: p,
@@ -289,66 +289,69 @@ function dt(t, e, o) {
289
289
  }
290
290
  switch (A(e)) {
291
291
  case "start":
292
- d[s] -= u * (o && l ? -1 : 1);
292
+ d[s] -= u * (o && a ? -1 : 1);
293
293
  break;
294
294
  case "end":
295
- d[s] += u * (o && l ? -1 : 1);
295
+ d[s] += u * (o && a ? -1 : 1);
296
296
  break;
297
297
  }
298
298
  return d;
299
299
  }
300
- const be = async (t, e, o) => {
300
+ const ge = async (t, e, o) => {
301
301
  const {
302
302
  placement: n = "bottom",
303
303
  strategy: i = "absolute",
304
304
  middleware: r = [],
305
305
  platform: s
306
- } = o, c = r.filter(Boolean), a = await (s.isRTL == null ? void 0 : s.isRTL(e));
307
- let l = await s.getElementRects({
306
+ } = o, c = r.filter(Boolean), l = await (s.isRTL == null ? void 0 : s.isRTL(e));
307
+ let a = await s.getElementRects({
308
308
  reference: t,
309
309
  floating: e,
310
310
  strategy: i
311
311
  }), {
312
312
  x: p,
313
313
  y: f
314
- } = dt(l, n, a), u = n, d = {}, b = 0;
315
- for (let h = 0; h < c.length; h++) {
314
+ } = dt(a, n, l), u = n, d = {}, h = 0;
315
+ for (let m = 0; m < c.length; m++) {
316
316
  const {
317
- name: m,
318
- fn: y
319
- } = c[h], {
320
- x: v,
317
+ name: v,
318
+ fn: b
319
+ } = c[m], {
320
+ x: y,
321
321
  y: _,
322
- data: C,
322
+ data: E,
323
323
  reset: g
324
- } = await y({
324
+ } = await b({
325
325
  x: p,
326
326
  y: f,
327
327
  initialPlacement: n,
328
328
  placement: u,
329
329
  strategy: i,
330
330
  middlewareData: d,
331
- rects: l,
331
+ rects: a,
332
332
  platform: s,
333
333
  elements: {
334
334
  reference: t,
335
335
  floating: e
336
336
  }
337
337
  });
338
- p = v ?? p, f = _ ?? f, d = {
338
+ if (p = y ?? p, f = _ ?? f, d = {
339
339
  ...d,
340
- [m]: {
341
- ...d[m],
342
- ...C
340
+ [v]: {
341
+ ...d[v],
342
+ ...E
343
343
  }
344
- }, g && b <= 50 && (b++, typeof g == "object" && (g.placement && (u = g.placement), g.rects && (l = g.rects === !0 ? await s.getElementRects({
345
- reference: t,
346
- floating: e,
347
- strategy: i
348
- }) : g.rects), {
349
- x: p,
350
- y: f
351
- } = dt(l, u, a)), h = -1);
344
+ }, g && h <= 50) {
345
+ h++, typeof g == "object" && (g.placement && (u = g.placement), g.rects && (a = g.rects === !0 ? await s.getElementRects({
346
+ reference: t,
347
+ floating: e,
348
+ strategy: i
349
+ }) : g.rects), {
350
+ x: p,
351
+ y: f
352
+ } = dt(a, u, l)), m = -1;
353
+ continue;
354
+ }
352
355
  }
353
356
  return {
354
357
  x: p,
@@ -358,7 +361,7 @@ const be = async (t, e, o) => {
358
361
  middlewareData: d
359
362
  };
360
363
  };
361
- async function ye(t, e) {
364
+ async function be(t, e) {
362
365
  var o;
363
366
  e === void 0 && (e = {});
364
367
  const {
@@ -367,45 +370,44 @@ async function ye(t, e) {
367
370
  platform: r,
368
371
  rects: s,
369
372
  elements: c,
370
- strategy: a
373
+ strategy: l
371
374
  } = t, {
372
- boundary: l = "clippingAncestors",
375
+ boundary: a = "clippingAncestors",
373
376
  rootBoundary: p = "viewport",
374
377
  elementContext: f = "floating",
375
378
  altBoundary: u = !1,
376
379
  padding: d = 0
377
- } = St(e, t), b = ge(d), m = c[u ? f === "floating" ? "reference" : "floating" : f], y = U(await r.getClippingRect({
378
- element: (o = await (r.isElement == null ? void 0 : r.isElement(m))) == null || o ? m : m.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(c.floating)),
379
- boundary: l,
380
+ } = St(e, t), h = me(d), v = c[u ? f === "floating" ? "reference" : "floating" : f], b = U(await r.getClippingRect({
381
+ element: (o = await (r.isElement == null ? void 0 : r.isElement(v))) == null || o ? v : v.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(c.floating)),
382
+ boundary: a,
380
383
  rootBoundary: p,
381
- strategy: a
382
- })), v = f === "floating" ? {
384
+ strategy: l
385
+ })), y = f === "floating" ? {
383
386
  ...s.floating,
384
387
  x: n,
385
388
  y: i
386
- } : s.reference, _ = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(c.floating)), C = await (r.isElement == null ? void 0 : r.isElement(_)) ? await (r.getScale == null ? void 0 : r.getScale(_)) || {
389
+ } : s.reference, _ = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(c.floating)), E = await (r.isElement == null ? void 0 : r.isElement(_)) ? await (r.getScale == null ? void 0 : r.getScale(_)) || {
387
390
  x: 1,
388
391
  y: 1
389
392
  } : {
390
393
  x: 1,
391
394
  y: 1
392
395
  }, g = U(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({
393
- elements: c,
394
- rect: v,
396
+ rect: y,
395
397
  offsetParent: _,
396
- strategy: a
397
- }) : v);
398
+ strategy: l
399
+ }) : y);
398
400
  return {
399
- top: (y.top - g.top + b.top) / C.y,
400
- bottom: (g.bottom - y.bottom + b.bottom) / C.y,
401
- left: (y.left - g.left + b.left) / C.x,
402
- right: (g.right - y.right + b.right) / C.x
401
+ top: (b.top - g.top + h.top) / E.y,
402
+ bottom: (g.bottom - b.bottom + h.bottom) / E.y,
403
+ left: (b.left - g.left + h.left) / E.x,
404
+ right: (g.right - b.right + h.right) / E.x
403
405
  };
404
406
  }
405
407
  function ve(t, e, o) {
406
- return (t ? [...o.filter((i) => A(i) === t), ...o.filter((i) => A(i) !== t)] : o.filter((i) => Y(i) === i)).filter((i) => t ? A(i) === t || (e ? he(i) !== i : !1) : !0);
408
+ return (t ? [...o.filter((i) => A(i) === t), ...o.filter((i) => A(i) !== t)] : o.filter((i) => Y(i) === i)).filter((i) => t ? A(i) === t || (e ? de(i) !== i : !1) : !0);
407
409
  }
408
- const we = function(t) {
410
+ const ye = function(t) {
409
411
  return t === void 0 && (t = {}), {
410
412
  name: "autoPlacement",
411
413
  options: t,
@@ -415,56 +417,56 @@ const we = function(t) {
415
417
  rects: r,
416
418
  middlewareData: s,
417
419
  placement: c,
418
- platform: a,
419
- elements: l
420
+ platform: l,
421
+ elements: a
420
422
  } = e, {
421
423
  crossAxis: p = !1,
422
424
  alignment: f,
423
425
  allowedPlacements: u = ut,
424
426
  autoAlignment: d = !0,
425
- ...b
426
- } = St(t, e), h = f !== void 0 || u === ut ? ve(f || null, d, u) : u, m = await ye(e, b), y = ((o = s.autoPlacement) == null ? void 0 : o.index) || 0, v = h[y];
427
- if (v == null)
427
+ ...h
428
+ } = St(t, e), m = f !== void 0 || u === ut ? ve(f || null, d, u) : u, v = await be(e, h), b = ((o = s.autoPlacement) == null ? void 0 : o.index) || 0, y = m[b];
429
+ if (y == null)
428
430
  return {};
429
- const _ = de(v, r, await (a.isRTL == null ? void 0 : a.isRTL(l.floating)));
430
- if (c !== v)
431
+ const _ = pe(y, r, await (l.isRTL == null ? void 0 : l.isRTL(a.floating)));
432
+ if (c !== y)
431
433
  return {
432
434
  reset: {
433
- placement: h[0]
435
+ placement: m[0]
434
436
  }
435
437
  };
436
- const C = [m[Y(v)], m[_[0]], m[_[1]]], g = [...((n = s.autoPlacement) == null ? void 0 : n.overflows) || [], {
437
- placement: v,
438
- overflows: C
439
- }], nt = h[y + 1];
438
+ const E = [v[Y(y)], v[_[0]], v[_[1]]], g = [...((n = s.autoPlacement) == null ? void 0 : n.overflows) || [], {
439
+ placement: y,
440
+ overflows: E
441
+ }], nt = m[b + 1];
440
442
  if (nt)
441
443
  return {
442
444
  data: {
443
- index: y + 1,
445
+ index: b + 1,
444
446
  overflows: g
445
447
  },
446
448
  reset: {
447
449
  placement: nt
448
450
  }
449
451
  };
450
- const it = g.map((T) => {
451
- const P = A(T.placement);
452
- return [T.placement, P && p ? (
452
+ const it = g.map((C) => {
453
+ const P = A(C.placement);
454
+ return [C.placement, P && p ? (
453
455
  // Check along the mainAxis and main crossAxis side.
454
- T.overflows.slice(0, 2).reduce((Ht, jt) => Ht + jt, 0)
456
+ C.overflows.slice(0, 2).reduce((Wt, Ht) => Wt + Ht, 0)
455
457
  ) : (
456
458
  // Check only the mainAxis.
457
- T.overflows[0]
458
- ), T.overflows];
459
- }).sort((T, P) => T[1] - P[1]), st = ((i = it.filter((T) => T[2].slice(
459
+ C.overflows[0]
460
+ ), C.overflows];
461
+ }).sort((C, P) => C[1] - P[1]), st = ((i = it.filter((C) => C[2].slice(
460
462
  0,
461
463
  // Aligned placements should not check their opposite crossAxis
462
464
  // side.
463
- A(T[0]) ? 2 : 3
465
+ A(C[0]) ? 2 : 3
464
466
  ).every((P) => P <= 0))[0]) == null ? void 0 : i[0]) || it[0][0];
465
467
  return st !== c ? {
466
468
  data: {
467
- index: y + 1,
469
+ index: b + 1,
468
470
  overflows: g
469
471
  },
470
472
  reset: {
@@ -488,10 +490,10 @@ function $(t) {
488
490
  function kt(t) {
489
491
  return t instanceof Node || t instanceof w(t).Node;
490
492
  }
491
- function E(t) {
493
+ function I(t) {
492
494
  return t instanceof Element || t instanceof w(t).Element;
493
495
  }
494
- function I(t) {
496
+ function T(t) {
495
497
  return t instanceof HTMLElement || t instanceof w(t).HTMLElement;
496
498
  }
497
499
  function ht(t) {
@@ -506,16 +508,16 @@ function W(t) {
506
508
  } = x(t);
507
509
  return /auto|scroll|overlay|hidden|clip/.test(e + n + o) && !["inline", "contents"].includes(i);
508
510
  }
509
- function xe(t) {
511
+ function we(t) {
510
512
  return ["table", "td", "th"].includes(S(t));
511
513
  }
512
514
  function tt(t) {
513
515
  const e = et(), o = x(t);
514
516
  return o.transform !== "none" || o.perspective !== "none" || (o.containerType ? o.containerType !== "normal" : !1) || !e && (o.backdropFilter ? o.backdropFilter !== "none" : !1) || !e && (o.filter ? o.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((n) => (o.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (o.contain || "").includes(n));
515
517
  }
516
- function _e(t) {
518
+ function xe(t) {
517
519
  let e = R(t);
518
- for (; I(e) && !z(e); ) {
520
+ for (; T(e) && !z(e); ) {
519
521
  if (tt(e))
520
522
  return e;
521
523
  e = R(e);
@@ -532,7 +534,7 @@ function x(t) {
532
534
  return w(t).getComputedStyle(t);
533
535
  }
534
536
  function G(t) {
535
- return E(t) ? {
537
+ return I(t) ? {
536
538
  scrollLeft: t.scrollLeft,
537
539
  scrollTop: t.scrollTop
538
540
  } : {
@@ -554,7 +556,7 @@ function R(t) {
554
556
  }
555
557
  function Rt(t) {
556
558
  const e = R(t);
557
- return z(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : I(e) && W(e) ? e : Rt(e);
559
+ return z(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : T(e) && W(e) ? e : Rt(e);
558
560
  }
559
561
  function J(t, e, o) {
560
562
  var n;
@@ -565,7 +567,7 @@ function J(t, e, o) {
565
567
  function Pt(t) {
566
568
  const e = x(t);
567
569
  let o = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
568
- const i = I(t), r = i ? t.offsetWidth : o, s = i ? t.offsetHeight : n, c = j(o) !== r || j(n) !== s;
570
+ const i = T(t), r = i ? t.offsetWidth : o, s = i ? t.offsetHeight : n, c = j(o) !== r || j(n) !== s;
569
571
  return c && (o = r, n = s), {
570
572
  width: o,
571
573
  height: n,
@@ -573,11 +575,11 @@ function Pt(t) {
573
575
  };
574
576
  }
575
577
  function Dt(t) {
576
- return E(t) ? t : t.contextElement;
578
+ return I(t) ? t : t.contextElement;
577
579
  }
578
580
  function k(t) {
579
581
  const e = Dt(t);
580
- if (!I(e))
582
+ if (!T(e))
581
583
  return L(1);
582
584
  const o = e.getBoundingClientRect(), {
583
585
  width: n,
@@ -590,84 +592,73 @@ function k(t) {
590
592
  y: c
591
593
  };
592
594
  }
593
- const Ce = /* @__PURE__ */ L(0);
595
+ const _e = /* @__PURE__ */ L(0);
594
596
  function Bt(t) {
595
597
  const e = w(t);
596
- return !et() || !e.visualViewport ? Ce : {
598
+ return !et() || !e.visualViewport ? _e : {
597
599
  x: e.visualViewport.offsetLeft,
598
600
  y: e.visualViewport.offsetTop
599
601
  };
600
602
  }
601
- function Te(t, e, o) {
603
+ function Ce(t, e, o) {
602
604
  return e === void 0 && (e = !1), !o || e && o !== w(t) ? !1 : e;
603
605
  }
604
606
  function M(t, e, o, n) {
605
607
  e === void 0 && (e = !1), o === void 0 && (o = !1);
606
608
  const i = t.getBoundingClientRect(), r = Dt(t);
607
609
  let s = L(1);
608
- e && (n ? E(n) && (s = k(n)) : s = k(t));
609
- const c = Te(r, o, n) ? Bt(r) : L(0);
610
- let a = (i.left + c.x) / s.x, l = (i.top + c.y) / s.y, p = i.width / s.x, f = i.height / s.y;
610
+ e && (n ? I(n) && (s = k(n)) : s = k(t));
611
+ const c = Ce(r, o, n) ? Bt(r) : L(0);
612
+ let l = (i.left + c.x) / s.x, a = (i.top + c.y) / s.y, p = i.width / s.x, f = i.height / s.y;
611
613
  if (r) {
612
- const u = w(r), d = n && E(n) ? w(n) : n;
613
- let b = u, h = b.frameElement;
614
- for (; h && n && d !== b; ) {
615
- const m = k(h), y = h.getBoundingClientRect(), v = x(h), _ = y.left + (h.clientLeft + parseFloat(v.paddingLeft)) * m.x, C = y.top + (h.clientTop + parseFloat(v.paddingTop)) * m.y;
616
- a *= m.x, l *= m.y, p *= m.x, f *= m.y, a += _, l += C, b = w(h), h = b.frameElement;
614
+ const u = w(r), d = n && I(n) ? w(n) : n;
615
+ let h = u.frameElement;
616
+ for (; h && n && d !== u; ) {
617
+ const m = k(h), v = h.getBoundingClientRect(), b = x(h), y = v.left + (h.clientLeft + parseFloat(b.paddingLeft)) * m.x, _ = v.top + (h.clientTop + parseFloat(b.paddingTop)) * m.y;
618
+ l *= m.x, a *= m.y, p *= m.x, f *= m.y, l += y, a += _, h = w(h).frameElement;
617
619
  }
618
620
  }
619
621
  return U({
620
622
  width: p,
621
623
  height: f,
622
- x: a,
623
- y: l
624
- });
625
- }
626
- const Ie = [":popover-open", ":modal"];
627
- function Nt(t) {
628
- return Ie.some((e) => {
629
- try {
630
- return t.matches(e);
631
- } catch {
632
- return !1;
633
- }
624
+ x: l,
625
+ y: a
634
626
  });
635
627
  }
636
- function Ee(t) {
628
+ function Te(t) {
637
629
  let {
638
- elements: e,
639
- rect: o,
640
- offsetParent: n,
641
- strategy: i
630
+ rect: e,
631
+ offsetParent: o,
632
+ strategy: n
642
633
  } = t;
643
- const r = i === "fixed", s = $(n), c = e ? Nt(e.floating) : !1;
644
- if (n === s || c && r)
645
- return o;
646
- let a = {
634
+ const i = T(o), r = $(o);
635
+ if (o === r)
636
+ return e;
637
+ let s = {
647
638
  scrollLeft: 0,
648
639
  scrollTop: 0
649
- }, l = L(1);
650
- const p = L(0), f = I(n);
651
- if ((f || !f && !r) && ((S(n) !== "body" || W(s)) && (a = G(n)), I(n))) {
652
- const u = M(n);
653
- l = k(n), p.x = u.x + n.clientLeft, p.y = u.y + n.clientTop;
640
+ }, c = L(1);
641
+ const l = L(0);
642
+ if ((i || !i && n !== "fixed") && ((S(o) !== "body" || W(r)) && (s = G(o)), T(o))) {
643
+ const a = M(o);
644
+ c = k(o), l.x = a.x + o.clientLeft, l.y = a.y + o.clientTop;
654
645
  }
655
646
  return {
656
- width: o.width * l.x,
657
- height: o.height * l.y,
658
- x: o.x * l.x - a.scrollLeft * l.x + p.x,
659
- y: o.y * l.y - a.scrollTop * l.y + p.y
647
+ width: e.width * c.x,
648
+ height: e.height * c.y,
649
+ x: e.x * c.x - s.scrollLeft * c.x + l.x,
650
+ y: e.y * c.y - s.scrollTop * c.y + l.y
660
651
  };
661
652
  }
662
- function Le(t) {
653
+ function Ie(t) {
663
654
  return Array.from(t.getClientRects());
664
655
  }
665
- function Vt(t) {
656
+ function Nt(t) {
666
657
  return M($(t)).left + G(t).scrollLeft;
667
658
  }
668
- function Se(t) {
659
+ function Ee(t) {
669
660
  const e = $(t), o = G(t), n = t.ownerDocument.body, i = B(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), r = B(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
670
- let s = -o.scrollLeft + Vt(t);
661
+ let s = -o.scrollLeft + Nt(t);
671
662
  const c = -o.scrollTop;
672
663
  return x(n).direction === "rtl" && (s += B(e.clientWidth, n.clientWidth) - i), {
673
664
  width: i,
@@ -676,38 +667,38 @@ function Se(t) {
676
667
  y: c
677
668
  };
678
669
  }
679
- function $e(t, e) {
670
+ function Le(t, e) {
680
671
  const o = w(t), n = $(t), i = o.visualViewport;
681
- let r = n.clientWidth, s = n.clientHeight, c = 0, a = 0;
672
+ let r = n.clientWidth, s = n.clientHeight, c = 0, l = 0;
682
673
  if (i) {
683
674
  r = i.width, s = i.height;
684
- const l = et();
685
- (!l || l && e === "fixed") && (c = i.offsetLeft, a = i.offsetTop);
675
+ const a = et();
676
+ (!a || a && e === "fixed") && (c = i.offsetLeft, l = i.offsetTop);
686
677
  }
687
678
  return {
688
679
  width: r,
689
680
  height: s,
690
681
  x: c,
691
- y: a
682
+ y: l
692
683
  };
693
684
  }
694
- function Ae(t, e) {
695
- const o = M(t, !0, e === "fixed"), n = o.top + t.clientTop, i = o.left + t.clientLeft, r = I(t) ? k(t) : L(1), s = t.clientWidth * r.x, c = t.clientHeight * r.y, a = i * r.x, l = n * r.y;
685
+ function Se(t, e) {
686
+ const o = M(t, !0, e === "fixed"), n = o.top + t.clientTop, i = o.left + t.clientLeft, r = T(t) ? k(t) : L(1), s = t.clientWidth * r.x, c = t.clientHeight * r.y, l = i * r.x, a = n * r.y;
696
687
  return {
697
688
  width: s,
698
689
  height: c,
699
- x: a,
700
- y: l
690
+ x: l,
691
+ y: a
701
692
  };
702
693
  }
703
694
  function mt(t, e, o) {
704
695
  let n;
705
696
  if (e === "viewport")
706
- n = $e(t, o);
697
+ n = Le(t, o);
707
698
  else if (e === "document")
708
- n = Se($(t));
709
- else if (E(e))
710
- n = Ae(e, o);
699
+ n = Ee($(t));
700
+ else if (I(e))
701
+ n = Se(e, o);
711
702
  else {
712
703
  const i = Bt(t);
713
704
  n = {
@@ -718,123 +709,120 @@ function mt(t, e, o) {
718
709
  }
719
710
  return U(n);
720
711
  }
721
- function Ft(t, e) {
712
+ function Vt(t, e) {
722
713
  const o = R(t);
723
- return o === e || !E(o) || z(o) ? !1 : x(o).position === "fixed" || Ft(o, e);
714
+ return o === e || !I(o) || z(o) ? !1 : x(o).position === "fixed" || Vt(o, e);
724
715
  }
725
- function Oe(t, e) {
716
+ function $e(t, e) {
726
717
  const o = e.get(t);
727
718
  if (o)
728
719
  return o;
729
- let n = J(t, [], !1).filter((c) => E(c) && S(c) !== "body"), i = null;
720
+ let n = J(t, [], !1).filter((c) => I(c) && S(c) !== "body"), i = null;
730
721
  const r = x(t).position === "fixed";
731
722
  let s = r ? R(t) : t;
732
- for (; E(s) && !z(s); ) {
733
- const c = x(s), a = tt(s);
734
- !a && c.position === "fixed" && (i = null), (r ? !a && !i : !a && c.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || W(s) && !a && Ft(t, s)) ? n = n.filter((p) => p !== s) : i = c, s = R(s);
723
+ for (; I(s) && !z(s); ) {
724
+ const c = x(s), l = tt(s);
725
+ !l && c.position === "fixed" && (i = null), (r ? !l && !i : !l && c.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || W(s) && !l && Vt(t, s)) ? n = n.filter((p) => p !== s) : i = c, s = R(s);
735
726
  }
736
727
  return e.set(t, n), n;
737
728
  }
738
- function ke(t) {
729
+ function Ae(t) {
739
730
  let {
740
731
  element: e,
741
732
  boundary: o,
742
733
  rootBoundary: n,
743
734
  strategy: i
744
735
  } = t;
745
- const s = [...o === "clippingAncestors" ? Oe(e, this._c) : [].concat(o), n], c = s[0], a = s.reduce((l, p) => {
736
+ const s = [...o === "clippingAncestors" ? $e(e, this._c) : [].concat(o), n], c = s[0], l = s.reduce((a, p) => {
746
737
  const f = mt(e, p, i);
747
- return l.top = B(f.top, l.top), l.right = ft(f.right, l.right), l.bottom = ft(f.bottom, l.bottom), l.left = B(f.left, l.left), l;
738
+ return a.top = B(f.top, a.top), a.right = ft(f.right, a.right), a.bottom = ft(f.bottom, a.bottom), a.left = B(f.left, a.left), a;
748
739
  }, mt(e, c, i));
749
740
  return {
750
- width: a.right - a.left,
751
- height: a.bottom - a.top,
752
- x: a.left,
753
- y: a.top
741
+ width: l.right - l.left,
742
+ height: l.bottom - l.top,
743
+ x: l.left,
744
+ y: l.top
754
745
  };
755
746
  }
756
- function Re(t) {
757
- const {
758
- width: e,
759
- height: o
760
- } = Pt(t);
761
- return {
762
- width: e,
763
- height: o
764
- };
747
+ function Oe(t) {
748
+ return Pt(t);
765
749
  }
766
- function Pe(t, e, o) {
767
- const n = I(e), i = $(e), r = o === "fixed", s = M(t, !0, r, e);
750
+ function ke(t, e, o) {
751
+ const n = T(e), i = $(e), r = o === "fixed", s = M(t, !0, r, e);
768
752
  let c = {
769
753
  scrollLeft: 0,
770
754
  scrollTop: 0
771
755
  };
772
- const a = L(0);
756
+ const l = L(0);
773
757
  if (n || !n && !r)
774
758
  if ((S(e) !== "body" || W(i)) && (c = G(e)), n) {
775
- const f = M(e, !0, r, e);
776
- a.x = f.x + e.clientLeft, a.y = f.y + e.clientTop;
759
+ const a = M(e, !0, r, e);
760
+ l.x = a.x + e.clientLeft, l.y = a.y + e.clientTop;
777
761
  } else
778
- i && (a.x = Vt(i));
779
- const l = s.left + c.scrollLeft - a.x, p = s.top + c.scrollTop - a.y;
762
+ i && (l.x = Nt(i));
780
763
  return {
781
- x: l,
782
- y: p,
764
+ x: s.left + c.scrollLeft - l.x,
765
+ y: s.top + c.scrollTop - l.y,
783
766
  width: s.width,
784
767
  height: s.height
785
768
  };
786
769
  }
787
770
  function gt(t, e) {
788
- return !I(t) || x(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
771
+ return !T(t) || x(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
789
772
  }
790
- function Mt(t, e) {
773
+ function Ft(t, e) {
791
774
  const o = w(t);
792
- if (!I(t) || Nt(t))
775
+ if (!T(t))
793
776
  return o;
794
777
  let n = gt(t, e);
795
- for (; n && xe(n) && x(n).position === "static"; )
778
+ for (; n && we(n) && x(n).position === "static"; )
796
779
  n = gt(n, e);
797
- return n && (S(n) === "html" || S(n) === "body" && x(n).position === "static" && !tt(n)) ? o : n || _e(t) || o;
780
+ return n && (S(n) === "html" || S(n) === "body" && x(n).position === "static" && !tt(n)) ? o : n || xe(t) || o;
798
781
  }
799
- const De = async function(t) {
800
- const e = this.getOffsetParent || Mt, o = this.getDimensions;
782
+ const Re = async function(t) {
783
+ let {
784
+ reference: e,
785
+ floating: o,
786
+ strategy: n
787
+ } = t;
788
+ const i = this.getOffsetParent || Ft, r = this.getDimensions;
801
789
  return {
802
- reference: Pe(t.reference, await e(t.floating), t.strategy),
790
+ reference: ke(e, await i(o), n),
803
791
  floating: {
804
792
  x: 0,
805
793
  y: 0,
806
- ...await o(t.floating)
794
+ ...await r(o)
807
795
  }
808
796
  };
809
797
  };
810
- function Be(t) {
798
+ function Pe(t) {
811
799
  return x(t).direction === "rtl";
812
800
  }
813
- const Ne = {
814
- convertOffsetParentRelativeRectToViewportRelativeRect: Ee,
801
+ const De = {
802
+ convertOffsetParentRelativeRectToViewportRelativeRect: Te,
815
803
  getDocumentElement: $,
816
- getClippingRect: ke,
817
- getOffsetParent: Mt,
818
- getElementRects: De,
819
- getClientRects: Le,
820
- getDimensions: Re,
804
+ getClippingRect: Ae,
805
+ getOffsetParent: Ft,
806
+ getElementRects: Re,
807
+ getClientRects: Ie,
808
+ getDimensions: Oe,
821
809
  getScale: k,
822
- isElement: E,
823
- isRTL: Be
824
- }, Ve = we, Fe = (t, e, o) => {
810
+ isElement: I,
811
+ isRTL: Pe
812
+ }, Be = (t, e, o) => {
825
813
  const n = /* @__PURE__ */ new Map(), i = {
826
- platform: Ne,
814
+ platform: De,
827
815
  ...o
828
816
  }, r = {
829
817
  ...i.platform,
830
818
  _c: n
831
819
  };
832
- return be(t, e, {
820
+ return ge(t, e, {
833
821
  ...i,
834
822
  platform: r
835
823
  });
836
824
  };
837
- const Me = {
825
+ const Ne = {
838
826
  name: "IbPopover",
839
827
  props: {
840
828
  position: {
@@ -860,12 +848,12 @@ const Me = {
860
848
  },
861
849
  methods: {
862
850
  showPopover() {
863
- this.isVisible || (this.isVisible = !0, Fe(
851
+ this.isVisible || (this.isVisible = !0, Be(
864
852
  this.parentNode,
865
853
  this.$refs.popover,
866
854
  {
867
855
  middleware: [
868
- Ve({
856
+ ye({
869
857
  allowedPlacements: this.position
870
858
  })
871
859
  ]
@@ -891,7 +879,7 @@ const Me = {
891
879
  !this.alwaysVisible && this.parentNode && (this.parentNode.removeEventListener("focus", this.showPopover, !0), this.parentNode.removeEventListener("blur", this.hidePopover, !0), this.parentNode.removeEventListener("mouseover", this.showPopover, !0), this.parentNode.removeEventListener("mouseleave", this.hidePopover, !0));
892
880
  }
893
881
  };
894
- function We(t, e, o, n, i, r) {
882
+ function Ve(t, e, o, n, i, r) {
895
883
  return N(), It(_t, null, {
896
884
  default: Z(() => [
897
885
  Ct(D("div", {
@@ -906,8 +894,8 @@ function We(t, e, o, n, i, r) {
906
894
  _: 3
907
895
  });
908
896
  }
909
- const He = /* @__PURE__ */ X(Me, [["render", We], ["__scopeId", "data-v-abbb57fc"]]);
910
- const je = {
897
+ const Fe = /* @__PURE__ */ X(Ne, [["render", Ve], ["__scopeId", "data-v-abbb57fc"]]);
898
+ const Me = {
911
899
  name: "IbTooltip",
912
900
  props: {
913
901
  position: {
@@ -930,9 +918,9 @@ const je = {
930
918
  return this.title && t.push("ib-tooltip-large"), t;
931
919
  }
932
920
  },
933
- components: { IbPopover: He }
934
- }, Ue = { key: 0 };
935
- function qe(t, e, o, n, i, r) {
921
+ components: { IbPopover: Fe }
922
+ }, We = { key: 0 };
923
+ function He(t, e, o, n, i, r) {
936
924
  const s = xt("ib-popover");
937
925
  return N(), It(s, {
938
926
  position: o.position,
@@ -940,14 +928,14 @@ function qe(t, e, o, n, i, r) {
940
928
  class: q(r.classList)
941
929
  }, {
942
930
  default: Z(() => [
943
- o.title ? (N(), Q("b", Ue, ct(o.title), 1)) : Xt("", !0),
931
+ o.title ? (N(), Q("b", We, ct(o.title), 1)) : qt("", !0),
944
932
  D("p", null, ct(o.text), 1)
945
933
  ]),
946
934
  _: 1
947
935
  }, 8, ["position", "always-visible", "class"]);
948
936
  }
949
- const Xe = /* @__PURE__ */ X(je, [["render", qe], ["__scopeId", "data-v-796ac7bb"]]);
950
- class Wt {
937
+ const je = /* @__PURE__ */ X(Me, [["render", He], ["__scopeId", "data-v-796ac7bb"]]);
938
+ class Mt {
951
939
  constructor() {
952
940
  this.tooltipInstance = null, this.tooltipContainer = null, this.uuid = null;
953
941
  }
@@ -973,7 +961,7 @@ class Wt {
973
961
  top: 0px;
974
962
  left: 0px;
975
963
  `;
976
- this.tooltipContainer = document.createElement("div"), this.tooltipContainer.setAttribute("style", i), document.body.appendChild(this.tooltipContainer), this.tooltipInstance = Yt(Xe, {
964
+ this.tooltipContainer = document.createElement("div"), this.tooltipContainer.setAttribute("style", i), document.body.appendChild(this.tooltipContainer), this.tooltipInstance = Xt(je, {
977
965
  title: o.title,
978
966
  text: o.text,
979
967
  alwaysVisible: !0,
@@ -993,7 +981,7 @@ class Wt {
993
981
  e == null || e.removeAttribute("aria-describedby"), this.uuid = null, (o = this.tooltipInstance) == null || o.unmount(), this.tooltipInstance = null, (n = this.tooltipContainer) == null || n.remove(), this.tooltipContainer = null;
994
982
  }
995
983
  getPositionStyle(e, o) {
996
- const { top: n, bottom: i, left: r, right: s, width: c, height: a } = e.getBoundingClientRect(), { width: l, height: p } = this.tooltipContainer.firstChild.getBoundingClientRect(), f = document.documentElement.scrollTop;
984
+ const { top: n, bottom: i, left: r, right: s, width: c, height: l } = e.getBoundingClientRect(), { width: a, height: p } = this.tooltipContainer.firstChild.getBoundingClientRect(), f = document.documentElement.scrollTop;
997
985
  let u = `
998
986
  bottom: auto!important;
999
987
  right: auto!important;
@@ -1001,11 +989,11 @@ class Wt {
1001
989
  `;
1002
990
  switch (o) {
1003
991
  case "bottomCenter":
1004
- u = u + `left: ${r + c / 2 - l / 2}px!important;
992
+ u = u + `left: ${r + c / 2 - a / 2}px!important;
1005
993
  top: ${i + f + 5}px!important;`;
1006
994
  break;
1007
995
  case "bottomLeft":
1008
- u = u + `left: ${s - l - c / 2 + 14}px!important;
996
+ u = u + `left: ${s - a - c / 2 + 14}px!important;
1009
997
  top: ${i + f + 5}px!important;`;
1010
998
  break;
1011
999
  case "bottomRight":
@@ -1013,7 +1001,7 @@ class Wt {
1013
1001
  top: ${i + f + 5}px!important;`;
1014
1002
  break;
1015
1003
  case "topLeft":
1016
- u = u + `left: ${s - l - c / 2 + 14}px!important;
1004
+ u = u + `left: ${s - a - c / 2 + 14}px!important;
1017
1005
  top: ${n - p + f - 5}px!important;`;
1018
1006
  break;
1019
1007
  case "topRight":
@@ -1021,31 +1009,31 @@ class Wt {
1021
1009
  top: ${n - p + f - 5}px!important;`;
1022
1010
  break;
1023
1011
  case "leftTop":
1024
- u = u + `left: ${r - l - 5}px!important;
1025
- top: ${i - p - a / 2 + f + 12}px!important`;
1012
+ u = u + `left: ${r - a - 5}px!important;
1013
+ top: ${i - p - l / 2 + f + 12}px!important`;
1026
1014
  break;
1027
1015
  case "leftCenter":
1028
- u = u + `left: ${r - l - 5}px!important;
1029
- top: ${i + f - p / 2 - a / 2}px!important;`;
1016
+ u = u + `left: ${r - a - 5}px!important;
1017
+ top: ${i + f - p / 2 - l / 2}px!important;`;
1030
1018
  break;
1031
1019
  case "leftBottom":
1032
- u = u + `left: ${r - l - 5}px!important;
1033
- top: ${i + f - a / 2 - 12}px!important;`;
1020
+ u = u + `left: ${r - a - 5}px!important;
1021
+ top: ${i + f - l / 2 - 12}px!important;`;
1034
1022
  break;
1035
1023
  case "rightTop":
1036
1024
  u = u + `left: ${s + 5}px!important;
1037
- top: ${i - p - a / 2 + f + 12}px!important`;
1025
+ top: ${i - p - l / 2 + f + 12}px!important`;
1038
1026
  break;
1039
1027
  case "rightCenter":
1040
1028
  u = u + `left: ${s + 5}px!important;
1041
- top: ${i + f - p / 2 - a / 2}px!important;`;
1029
+ top: ${i + f - p / 2 - l / 2}px!important;`;
1042
1030
  break;
1043
1031
  case "rightBottom":
1044
1032
  u = u + `left: ${s + 5}px!important;
1045
- top: ${i + f - a / 2 - 12}px!important`;
1033
+ top: ${i + f - l / 2 - 12}px!important`;
1046
1034
  break;
1047
1035
  default:
1048
- u = u + `left: ${r + c / 2 - l / 2}px!important;
1036
+ u = u + `left: ${r + c / 2 - a / 2}px!important;
1049
1037
  top: ${n - p + f - 5}px!important`;
1050
1038
  break;
1051
1039
  }
@@ -1055,7 +1043,7 @@ class Wt {
1055
1043
  return e ? lt[e] : lt.topCenter;
1056
1044
  }
1057
1045
  }
1058
- const O = new Wt(), Ye = (t, e) => {
1046
+ const O = new Mt(), Ue = (t, e) => {
1059
1047
  var i;
1060
1048
  O.getTooltipContainer() && O.destroyTooltip();
1061
1049
  const o = Object.keys(e.modifiers)[0] || e.arg, n = {
@@ -1063,32 +1051,32 @@ const O = new Wt(), Ye = (t, e) => {
1063
1051
  text: typeof e.value == "object" ? e.value.text : e.value
1064
1052
  };
1065
1053
  O.createTooltip(t, n, o);
1066
- }, ze = (t, e) => {
1054
+ }, qe = (t, e) => {
1067
1055
  const o = O.getId();
1068
1056
  if (e.getAttribute("aria-describedby") !== o)
1069
1057
  return;
1070
1058
  const n = O.getTooltipContainer(), i = e !== t.target && !e.contains(t.target), r = n !== t.target && !(n != null && n.contains(t.target));
1071
1059
  i && r && O.destroyTooltip(e);
1072
1060
  }, bt = (t, e) => {
1073
- t.__tooltip_create = () => Ye(t, e), t.__tooltip_destroy = (o) => ze(o, t), t.addEventListener("mouseenter", t.__tooltip_create), document.addEventListener("mousemove", t.__tooltip_destroy);
1074
- }, yt = (t) => {
1061
+ t.__tooltip_create = () => Ue(t, e), t.__tooltip_destroy = (o) => qe(o, t), t.addEventListener("mouseenter", t.__tooltip_create), document.addEventListener("mousemove", t.__tooltip_destroy);
1062
+ }, vt = (t) => {
1075
1063
  O.destroyTooltip(t), t.removeEventListener("mouseenter", t.__tooltip_create), document.removeEventListener("mousemove", t.__tooltip_destroy);
1076
- }, to = {
1064
+ }, Je = {
1077
1065
  mounted(t, e) {
1078
1066
  bt(t, e);
1079
1067
  },
1080
1068
  updated(t, e) {
1081
- yt(t), bt(t, e);
1069
+ vt(t), bt(t, e);
1082
1070
  },
1083
1071
  beforeUnmount(t) {
1084
- yt(t);
1072
+ vt(t);
1085
1073
  }
1086
1074
  };
1087
- function Ge(t) {
1075
+ function Xe(t) {
1088
1076
  return t.scrollHeight > t.clientHeight;
1089
1077
  }
1090
- const ot = new Wt(), vt = (t, e) => {
1091
- if (Ge(t)) {
1078
+ const ot = new Mt(), yt = (t, e) => {
1079
+ if (Xe(t)) {
1092
1080
  const o = {
1093
1081
  title: e.value.title || "",
1094
1082
  text: typeof e.value == "object" ? e.value.text : e.value
@@ -1097,60 +1085,60 @@ const ot = new Wt(), vt = (t, e) => {
1097
1085
  }
1098
1086
  }, wt = () => {
1099
1087
  ot.destroyTooltip();
1100
- }, eo = {
1088
+ }, Qe = {
1101
1089
  mounted(t, e) {
1102
- t.addEventListener("mouseenter", () => vt(t, e)), t.addEventListener("mouseleave", wt);
1090
+ t.addEventListener("mouseenter", () => yt(t, e)), t.addEventListener("mouseleave", wt);
1103
1091
  },
1104
1092
  beforeUnmount(t, e) {
1105
- ot.destroyTooltip(), t.removeEventListener("mouseenter", () => vt(t, e)), t.removeEventListener("mouseleave", wt);
1093
+ ot.destroyTooltip(), t.removeEventListener("mouseenter", () => yt(t, e)), t.removeEventListener("mouseleave", wt);
1106
1094
  }
1107
1095
  };
1108
1096
  export {
1109
- Qe as IbAccordion,
1110
- Qe as IbAlert,
1111
- Qe as IbAvatar,
1112
- Qe as IbBadge,
1113
- Qe as IbBreadcrumbs,
1114
- Qe as IbButton,
1115
- Qe as IbButtonGroup,
1116
- Qe as IbCell,
1117
- Qe as IbCheckbox,
1118
- Qe as IbCheckboxCell,
1119
- Qe as IbCheckboxGroup,
1120
- Qe as IbDatePicker,
1121
- Qe as IbDropdown,
1122
- Qe as IbDropdownItem,
1123
- Qe as IbDropdownList,
1124
- Qe as IbFormGroup,
1125
- Qe as IbIcon,
1126
- Qe as IbIconButton,
1127
- Qe as IbInput,
1128
- Qe as IbLabel,
1129
- Qe as IbLimitSelector,
1130
- Qe as IbModal,
1131
- Qe as IbPagination,
1132
- Qe as IbPanel,
1133
- Qe as IbPhoneInput,
1134
- Qe as IbPopover,
1135
- Qe as IbProgressBar,
1136
- Qe as IbRadio,
1137
- Qe as IbRow,
1138
- Qe as IbSorting,
1139
- Qe as IbSplitButton,
1140
- Qe as IbSplitButtonItem,
1141
- Qe as IbStatusIndicator,
1142
- Qe as IbTab,
1143
- Qe as IbTabDropdown,
1144
- Qe as IbTable,
1145
- Qe as IbTabs,
1146
- Qe as IbTagPill,
1147
- Qe as IbTextEditor,
1148
- Qe as IbTextarea,
1149
- Qe as IbToggle,
1150
- Qe as IbToggleTip,
1151
- Qe as IbTooltip,
1152
- Qe as IbTreeSelect,
1153
- Ze as OutsideDirective,
1154
- eo as TextOverflowTooltipDirective,
1155
- to as TooltipDirective
1097
+ Ge as IbAccordion,
1098
+ Ge as IbAlert,
1099
+ Ge as IbAvatar,
1100
+ Ge as IbBadge,
1101
+ Ge as IbBreadcrumbs,
1102
+ Ge as IbButton,
1103
+ Ge as IbButtonGroup,
1104
+ Ge as IbCell,
1105
+ Ge as IbCheckbox,
1106
+ Ge as IbCheckboxCell,
1107
+ Ge as IbCheckboxGroup,
1108
+ Ge as IbDatePicker,
1109
+ Ge as IbDropdown,
1110
+ Ge as IbDropdownItem,
1111
+ Ge as IbDropdownList,
1112
+ Ge as IbFormGroup,
1113
+ Ge as IbIcon,
1114
+ Ge as IbIconButton,
1115
+ Ge as IbInput,
1116
+ Ge as IbLabel,
1117
+ Ge as IbLimitSelector,
1118
+ Ge as IbModal,
1119
+ Ge as IbPagination,
1120
+ Ge as IbPanel,
1121
+ Ge as IbPhoneInput,
1122
+ Ge as IbPopover,
1123
+ Ge as IbProgressBar,
1124
+ Ge as IbRadio,
1125
+ Ge as IbRow,
1126
+ Ge as IbSorting,
1127
+ Ge as IbSplitButton,
1128
+ Ge as IbSplitButtonItem,
1129
+ Ge as IbStatusIndicator,
1130
+ Ge as IbTab,
1131
+ Ge as IbTabDropdown,
1132
+ Ge as IbTable,
1133
+ Ge as IbTabs,
1134
+ Ge as IbTagPill,
1135
+ Ge as IbTextEditor,
1136
+ Ge as IbTextarea,
1137
+ Ge as IbToggle,
1138
+ Ge as IbToggleTip,
1139
+ Ge as IbTooltip,
1140
+ Ge as IbTreeSelect,
1141
+ Ke as OutsideDirective,
1142
+ Qe as TextOverflowTooltipDirective,
1143
+ Je as TooltipDirective
1156
1144
  };