bitboss-ui 2.1.123 → 2.1.125

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/index232.js CHANGED
@@ -8,14 +8,14 @@ import s from "./index60.js";
8
8
  import c from "./index219.js";
9
9
  import { findRightIndex as l } from "./index229.js";
10
10
  import u from "./index230.js";
11
- import { parseWidthString as ee } from "./index231.js";
12
- import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createVNode as _, defineComponent as v, mergeProps as y, normalizeProps as te, normalizeStyle as ne, onBeforeUnmount as re, openBlock as b, ref as x, renderList as S, renderSlot as C, toDisplayString as ie, unref as w, useTemplateRef as ae, watch as T, withCtx as E } from "vue";
11
+ import { parseWidthString as d } from "./index231.js";
12
+ import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createVNode as v, defineComponent as y, mergeProps as b, normalizeProps as ee, normalizeStyle as te, onBeforeUnmount as ne, openBlock as x, ref as S, renderList as re, renderSlot as C, toDisplayString as ie, unref as ae, useTemplateRef as oe, watch as w, withCtx as T } from "vue";
13
13
  //#region src/components/BbDropdown/BbDropdown.vue?vue&type=script&setup=true&lang.ts
14
- var oe = [
14
+ var se = [
15
15
  "id",
16
16
  "aria-labelledby",
17
17
  "inert"
18
- ], se = { class: "item__content" }, ce = 500, le = 10, D = /* @__PURE__ */ v({
18
+ ], ce = { class: "item__content" }, le = 500, ue = 10, E = /* @__PURE__ */ y({
19
19
  inheritAttrs: !1,
20
20
  __name: "BbDropdown",
21
21
  props: {
@@ -34,9 +34,9 @@ var oe = [
34
34
  trigger: { default: "click" },
35
35
  width: { default: "auto" }
36
36
  },
37
- setup(v) {
38
- let D = v, O = D.id ?? `bb_${t().id.value}`, k = x(), A = f(() => a(k.value)), ue = f(() => D.activator != null), de = ae("popover"), j = f(() => a(de.value)), M = x(!1), fe = o(M, { initialValue: D.eager }), pe = f(() => {
39
- let e = D.trigger;
37
+ setup(y) {
38
+ let E = y, D = E.id ?? `bb_${t().id.value}`, O = S(D), k = S(), A = p(() => a(k.value)), de = p(() => E.activator != null), fe = oe("popover"), j = p(() => a(fe.value)), M = S(!1), pe = o(M, { initialValue: E.eager }), me = p(() => {
39
+ let e = E.trigger;
40
40
  return new Set(Array.isArray(e) ? e : [e]);
41
41
  }), N = (e, t) => ({ getBoundingClientRect: () => ({
42
42
  x: e,
@@ -50,20 +50,20 @@ var oe = [
50
50
  toJSON() {
51
51
  return this;
52
52
  }
53
- }) }), P = x(null), me = f(() => D.placement === "cursor" && P.value ? P.value : k.value), F = (e) => {
53
+ }) }), P = S(null), he = p(() => E.placement === "cursor" && P.value ? P.value : k.value), F = (e) => {
54
54
  let t = a(e);
55
55
  t && (k.value = t);
56
- }, { resume: he, pause: I } = r(A, async ([{ intersectionRatio: e }]) => {
56
+ }, { resume: I, pause: ge } = r(A, async ([{ intersectionRatio: e }]) => {
57
57
  e !== 1 && M.value && await Z();
58
58
  }, {
59
59
  threshold: [0, 1],
60
60
  immediate: !1
61
- }), L = f(() => {
62
- let e = D.items.findIndex((e) => !e.disabled), t = l(D.items, (e) => !e.disabled);
63
- return D.items.map((n, r) => {
64
- let i = `${O}-item-${n.key}`, { onClick: a, ...o } = n, s = async (e) => {
61
+ }), L = p(() => {
62
+ let e = E.items.findIndex((e) => !e.disabled), t = l(E.items, (e) => !e.disabled);
63
+ return E.items.map((n, r) => {
64
+ let i = `${D}-item-${n.key}`, { onClick: a, ...o } = n, s = async (e) => {
65
65
  e.stopPropagation(), await Z();
66
- let t = document.querySelector(`#${O}`);
66
+ let t = document.querySelector(`#${D}`);
67
67
  t && t.focus(), a?.(e);
68
68
  }, c = (n) => {
69
69
  if (!(!(n.target instanceof HTMLElement) || !n.target.dataset.dropdownItem || !j.value)) {
@@ -74,15 +74,15 @@ var oe = [
74
74
  }
75
75
  } else if (n.key === "ArrowUp") {
76
76
  if (n.preventDefault(), r !== e) {
77
- let e = l(D.items, (e, t) => t < r && !e.disabled), t = Array.from(j.value.querySelectorAll(".bb-dropdown__item"))[e];
77
+ let e = l(E.items, (e, t) => t < r && !e.disabled), t = Array.from(j.value.querySelectorAll(".bb-dropdown__item"))[e];
78
78
  t instanceof HTMLElement && t.focus();
79
79
  }
80
80
  } else if (n.key === "Tab") {
81
81
  if (r === t && !n.shiftKey) {
82
- let e = Array.from(document.querySelectorAll(u.join(","))), t = e[e.findIndex((e) => e.id === O) + 1];
82
+ let e = Array.from(document.querySelectorAll(u.join(","))), t = e[e.findIndex((e) => e.id === D) + 1];
83
83
  t instanceof HTMLElement && (n.preventDefault(), Z(), t.focus());
84
84
  } else if (r === e && n.shiftKey) {
85
- let e = document.querySelector(`#${O}`);
85
+ let e = document.querySelector(`#${D}`);
86
86
  e && (n.preventDefault(), e.focus());
87
87
  }
88
88
  }
@@ -92,40 +92,40 @@ var oe = [
92
92
  ...o,
93
93
  original: n,
94
94
  key: n.key.split(/\W+/g).join("_").toLowerCase(),
95
- disabled: o.disabled || D.disabled,
95
+ disabled: o.disabled || E.disabled,
96
96
  id: i,
97
97
  onClick: s,
98
98
  onKeydown: c
99
99
  };
100
100
  });
101
101
  }), R = (e) => {
102
- if (!D.disabled) {
102
+ if (!E.disabled) {
103
103
  if (H) {
104
104
  H = !1, e.preventDefault(), e.stopPropagation();
105
105
  return;
106
106
  }
107
- e.stopPropagation(), D.placement === "cursor" && (P.value = N(e.clientX, e.clientY)), M.value ? Z() : X();
107
+ e.stopPropagation(), E.placement === "cursor" && (P.value = N(e.clientX, e.clientY)), M.value ? Z() : X();
108
108
  }
109
109
  }, z = (e) => {
110
- D.disabled || (e.preventDefault(), e.stopPropagation(), !(D.placement === "cursor" && (P.value = N(e.clientX, e.clientY), M.value)) && (M.value ? Z() : X()));
110
+ E.disabled || (e.preventDefault(), e.stopPropagation(), !(E.placement === "cursor" && (P.value = N(e.clientX, e.clientY), M.value)) && (M.value ? Z() : X()));
111
111
  }, B, V = null, H = !1, U = () => {
112
112
  clearTimeout(B), V = null;
113
113
  }, W = (e) => {
114
- D.disabled || e.pointerType === "mouse" || (H = !1, V = {
114
+ E.disabled || e.pointerType === "mouse" || (H = !1, V = {
115
115
  x: e.clientX,
116
116
  y: e.clientY
117
117
  }, B = setTimeout(() => {
118
- H = !0, D.placement === "cursor" && V && (P.value = N(V.x, V.y)), V = null, X();
119
- }, ce));
118
+ H = !0, E.placement === "cursor" && V && (P.value = N(V.x, V.y)), V = null, X();
119
+ }, le));
120
120
  }, G = (e) => {
121
121
  if (!V) return;
122
122
  let t = e.clientX - V.x, n = e.clientY - V.y;
123
- Math.sqrt(t * t + n * n) > le && U();
123
+ Math.sqrt(t * t + n * n) > ue && U();
124
124
  }, K = () => {
125
125
  U();
126
126
  }, q = async (e) => {
127
- if (D.disabled) return;
128
- let t = D.items.findIndex((e) => !e.disabled), n = l(D.items, (e) => !e.disabled), r = (e) => {
127
+ if (E.disabled) return;
128
+ let t = E.items.findIndex((e) => !e.disabled), n = l(E.items, (e) => !e.disabled), r = (e) => {
129
129
  if (!j.value || !L.value.length || e === -1) return;
130
130
  let t = L.value[e].id;
131
131
  j.value.querySelector(`#${t}`)?.focus();
@@ -135,58 +135,59 @@ var oe = [
135
135
  let t = e.target;
136
136
  t instanceof HTMLElement && (j.value?.contains(t) || Z());
137
137
  }, Y = (e) => {
138
- !M.value || e.key !== "Escape" || (e.stopImmediatePropagation(), e.preventDefault(), document.activeElement?.id !== O && document.querySelector(`#${O}`)?.focus(), Z());
138
+ !M.value || e.key !== "Escape" || (e.stopImmediatePropagation(), e.preventDefault(), document.activeElement?.id !== D && document.querySelector(`#${D}`)?.focus(), Z());
139
139
  }, X = async () => {
140
- he(), await e(50), M.value = !0, document.addEventListener("click", J, { passive: !0 }), document.addEventListener("contextmenu", J, { passive: !0 }), document.addEventListener("focusin", J, { passive: !0 }), document.addEventListener("keydown", Y, { capture: !0 });
140
+ I(), await e(50), M.value = !0, document.addEventListener("click", J, { passive: !0 }), document.addEventListener("contextmenu", J, { passive: !0 }), document.addEventListener("focusin", J, { passive: !0 }), document.addEventListener("keydown", Y, { capture: !0 });
141
141
  }, Z = async () => {
142
- M.value = !1, I();
142
+ M.value = !1, ge();
143
143
  };
144
- T(M, (e) => {
144
+ w(M, (e) => {
145
145
  e || (document.removeEventListener("click", J), document.removeEventListener("contextmenu", J), document.removeEventListener("focusin", J), document.removeEventListener("keydown", Y, { capture: !0 }));
146
- }), T(() => D.activator, (e) => {
146
+ }), w(() => E.activator, (e) => {
147
147
  e && F(e);
148
148
  }, { immediate: !0 });
149
149
  let Q = null;
150
- T([k, pe], ([e, t]) => {
150
+ w([k, me], ([e, t]) => {
151
151
  if (Q &&= (Q(), null), !e) return;
152
- e.id = O;
153
- let n = [];
154
- t.has("click") && (e.addEventListener("click", R), n.push(() => e.removeEventListener("click", R))), t.has("contextMenu") && (e.addEventListener("contextmenu", z), e.addEventListener("pointerdown", W), e.addEventListener("pointermove", G), e.addEventListener("pointerup", K), e.addEventListener("pointercancel", K), n.push(() => {
152
+ let n = !1;
153
+ e.id || (e.id = D, n = !0), O.value = e.id, e.setAttribute("aria-haspopup", "menu");
154
+ let r = [];
155
+ t.has("click") && (e.addEventListener("click", R), r.push(() => e.removeEventListener("click", R))), t.has("contextMenu") && (e.addEventListener("contextmenu", z), e.addEventListener("pointerdown", W), e.addEventListener("pointermove", G), e.addEventListener("pointerup", K), e.addEventListener("pointercancel", K), r.push(() => {
155
156
  e.removeEventListener("contextmenu", z), e.removeEventListener("pointerdown", W), e.removeEventListener("pointermove", G), e.removeEventListener("pointerup", K), e.removeEventListener("pointercancel", K), U();
156
- })), e.addEventListener("keydown", q), n.push(() => e.removeEventListener("keydown", q)), Q = () => {
157
- n.forEach((e) => e()), e.removeAttribute("id"), e.removeAttribute("aria-expanded"), e.removeAttribute("aria-controls");
157
+ })), e.addEventListener("keydown", q), r.push(() => e.removeEventListener("keydown", q)), Q = () => {
158
+ r.forEach((e) => e()), n && e.removeAttribute("id"), e.removeAttribute("aria-haspopup"), e.removeAttribute("aria-expanded"), e.removeAttribute("aria-controls");
158
159
  };
159
- }, { immediate: !0 }), T([
160
+ }, { immediate: !0 }), w([
160
161
  k,
161
162
  M,
162
- fe
163
+ pe
163
164
  ], ([e, t, n]) => {
164
- e && (e.setAttribute("aria-expanded", n ? String(t) : "false"), n ? e.setAttribute("aria-controls", `menu_${O}`) : e.removeAttribute("aria-controls"));
165
- }, { immediate: !0 }), re(() => {
165
+ e && (e.setAttribute("aria-expanded", n ? String(t) : "false"), n ? e.setAttribute("aria-controls", `menu_${D}`) : e.removeAttribute("aria-controls"));
166
+ }, { immediate: !0 }), ne(() => {
166
167
  Q?.();
167
168
  });
168
- let { width: ge } = n(A, {
169
+ let { width: _e } = n(A, {
169
170
  width: 0,
170
171
  height: 0
171
- }, { box: "border-box" }), $ = f(() => {
172
- if (D.width !== "auto") {
173
- if (D.width) {
174
- let { value: e, unit: t } = ee(D.width);
175
- return t === "%" ? A.value ? `${ge.value * (e / 100)}px` : "0px" : `${e}px`;
172
+ }, { box: "border-box" }), $ = p(() => {
173
+ if (E.width !== "auto") {
174
+ if (E.width) {
175
+ let { value: e, unit: t } = d(E.width);
176
+ return t === "%" ? A.value ? `${_e.value * (e / 100)}px` : "0px" : `${e}px`;
176
177
  }
177
178
  return "0px";
178
179
  }
179
180
  });
180
- return (e, t) => (b(), h(d, null, [ue.value ? m("", !0) : C(e.$slots, "activator", te(y({ key: 0 }, {
181
+ return (e, t) => (x(), g(f, null, [de.value ? h("", !0) : C(e.$slots, "activator", ee(b({ key: 0 }, {
181
182
  props: { ref: F },
182
183
  disabled: e.disabled,
183
184
  open: M.value,
184
185
  placement: e.placement
185
- }))), _(s, y({
186
+ }))), v(s, b({
186
187
  ref: "popover",
187
188
  modelValue: M.value,
188
189
  "onUpdate:modelValue": t[0] ||= (e) => M.value = e,
189
- anchor: me.value,
190
+ anchor: he.value,
190
191
  "arrow-padding": e.arrowPadding,
191
192
  boundary: e.boundary,
192
193
  class: ["bb-dropdown", { [`bb-dropdown--${e.theme}`]: !0 }],
@@ -197,20 +198,20 @@ var oe = [
197
198
  placement: e.placement === "cursor" ? "bottom-start" : e.placement,
198
199
  "transition-duration": e.transitionDuration
199
200
  }, e.$attrs), {
200
- default: E(() => [g("span", {
201
- id: `menu_${w(O)}`,
202
- "aria-labelledby": w(O),
203
- "aria-role": "menu",
201
+ default: T(() => [_("span", {
202
+ id: `menu_${ae(D)}`,
203
+ "aria-labelledby": O.value,
204
+ role: "menu",
204
205
  class: "bb-dropdown__items-container",
205
206
  inert: !M.value,
206
- style: ne($.value ? { width: $.value } : void 0)
207
+ style: te($.value ? { width: $.value } : void 0)
207
208
  }, [
208
209
  C(e.$slots, "prepend", {
209
210
  disabled: e.disabled,
210
211
  open: M.value,
211
212
  placement: e.placement
212
213
  }),
213
- (b(!0), h(d, null, S(L.value, ({ original: t, ...n }, r) => (b(), h(d, { key: n.key }, [
214
+ (x(!0), g(f, null, re(L.value, ({ original: t, ...n }, r) => (x(), g(f, { key: n.key }, [
214
215
  C(e.$slots, "item:prepend", {
215
216
  disabled: n.disabled,
216
217
  index: r,
@@ -219,8 +220,8 @@ var oe = [
219
220
  placement: e.placement,
220
221
  text: n.text
221
222
  }),
222
- _(i, y({
223
- "aria-role": "menuitem",
223
+ v(i, b({
224
+ role: "menuitem",
224
225
  class: ["bb-dropdown__item", {
225
226
  "bb-dropdown__item--first": r === 0,
226
227
  "bb-dropdown__item--last": r === e.items.length - 1
@@ -228,7 +229,7 @@ var oe = [
228
229
  "data-dropdown-item": !0,
229
230
  ref_for: !0
230
231
  }, n), {
231
- default: E(() => [C(e.$slots, n.key, {
232
+ default: T(() => [C(e.$slots, n.key, {
232
233
  disabled: n.disabled,
233
234
  index: r,
234
235
  item: t,
@@ -236,17 +237,17 @@ var oe = [
236
237
  placement: e.placement,
237
238
  text: n.text
238
239
  }, () => [
239
- n["prepend:icon"] ? (b(), p(c, {
240
+ n["prepend:icon"] ? (x(), m(c, {
240
241
  key: 0,
241
242
  class: "item__prepend-icon",
242
243
  type: n["prepend:icon"]
243
- }, null, 8, ["type"])) : m("", !0),
244
- g("span", se, ie(n.text), 1),
245
- n["append:icon"] ? (b(), p(c, {
244
+ }, null, 8, ["type"])) : h("", !0),
245
+ _("span", ce, ie(n.text), 1),
246
+ n["append:icon"] ? (x(), m(c, {
246
247
  key: 1,
247
248
  class: "item__append-icon",
248
249
  type: n["append:icon"]
249
- }, null, 8, ["type"])) : m("", !0)
250
+ }, null, 8, ["type"])) : h("", !0)
250
251
  ])]),
251
252
  _: 2
252
253
  }, 1040, ["class"]),
@@ -264,7 +265,7 @@ var oe = [
264
265
  open: M.value,
265
266
  placement: e.placement
266
267
  })
267
- ], 12, oe)]),
268
+ ], 12, se)]),
268
269
  _: 3
269
270
  }, 16, [
270
271
  "modelValue",
@@ -282,4 +283,4 @@ var oe = [
282
283
  }
283
284
  });
284
285
  //#endregion
285
- export { D as default };
286
+ export { E as default };
package/dist/index240.js CHANGED
@@ -1,12 +1,13 @@
1
- import e from "./index36.js";
2
- import { useLocale as t } from "./index42.js";
3
- import { extractDomContainer as n } from "./index45.js";
4
- import { isEqual as r } from "./index82.js";
5
- import { noop as i } from "./index142.js";
6
- import a from "./index219.js";
7
- import { pickBy as o } from "./index239.js";
8
- import s from "./index254.js";
9
- import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineAsyncComponent as g, defineComponent as _, mergeModels as v, mergeProps as y, normalizeClass as b, openBlock as x, ref as S, renderSlot as C, toDisplayString as w, toRef as T, unref as E, useAttrs as D, useModel as O, withCtx as k } from "vue";
1
+ import { useLogger as e } from "./index31.js";
2
+ import t from "./index36.js";
3
+ import { useLocale as n } from "./index42.js";
4
+ import { extractDomContainer as r } from "./index45.js";
5
+ import { isEqual as i } from "./index82.js";
6
+ import { noop as a } from "./index142.js";
7
+ import o from "./index219.js";
8
+ import { pickBy as s } from "./index239.js";
9
+ import c from "./index254.js";
10
+ import { computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineAsyncComponent as g, defineComponent as _, mergeModels as v, mergeProps as y, normalizeClass as b, openBlock as x, ref as S, renderSlot as C, toDisplayString as w, toRef as T, unref as E, useAttrs as D, useModel as O, withCtx as k } from "vue";
10
11
  //#region src/components/BbButton/BbButton.vue?vue&type=script&setup=true&lang.ts
11
12
  var A = {
12
13
  key: 2,
@@ -64,8 +65,10 @@ var A = {
64
65
  }),
65
66
  emits: ["update:modelValue"],
66
67
  setup(_, { expose: v }) {
67
- let j = g(() => import("./index345.js")), M = _, N = O(_, "modelValue"), P = l(() => N.value !== void 0), F = l(() => r(N.value, M.trueValue)), { t: I } = t(), L = D(), R = S(), z = (e) => {
68
- R.value = n(e) ?? void 0;
68
+ let j = g(() => import("./index345.js")), M = _, N = O(_, "modelValue"), P = l(() => N.value !== void 0), F = l(() => i(N.value, M.trueValue)), { t: I } = n();
69
+ e();
70
+ let L = D(), R = S(), z = (e) => {
71
+ R.value = r(e) ?? void 0;
69
72
  }, B = l(() => {
70
73
  let { onClick: e, ...t } = L;
71
74
  return t;
@@ -73,16 +76,16 @@ var A = {
73
76
  if (H.value && !M.enabledWhileLoading) return (M.type === "submit" || M.href || M.to) && e.preventDefault(), null;
74
77
  if (P.value) {
75
78
  let e = M.trueValue, t = M.falseValue;
76
- N.value = r(N.value, e) ? t : e;
79
+ N.value = i(N.value, e) ? t : e;
77
80
  }
78
- V.value++, await (L.onClick ?? i)(e), V.value--;
81
+ V.value++, await (L.onClick ?? a)(e), V.value--;
79
82
  }, G = typeof M.size == "string" ? { default: M.size } : {
80
83
  default: "md",
81
84
  ...M.size
82
85
  }, K = Object.entries(G).reduce((e, [t, n]) => (t === "default" ? e[`data-${n}`] = "" : e[`data-${t}:${n}`] = "", e), {}), q = T(() => ({
83
86
  ...B.value,
84
87
  ...K,
85
- ...o(M, (e, t) => ![
88
+ ...s(M, (e, t) => ![
86
89
  "append:icon",
87
90
  "autoLoading",
88
91
  "disabled",
@@ -99,14 +102,14 @@ var A = {
99
102
  "trueValue"
100
103
  ].includes(t))
101
104
  }));
102
- return v({ $el: R }), (t, n) => (x(), f(c, null, [h(E(e), y({ ref: z }, q.value, {
105
+ return v({ $el: R }), (e, n) => (x(), u(E(t), y({ ref: z }, q.value, {
103
106
  "aria-disabled": H.value ? !0 : void 0,
104
107
  "aria-pressed": P.value ? F.value : void 0,
105
108
  class: {
106
109
  "bb-button": !0,
107
110
  "bb-button--loading": H.value,
108
111
  "bb-button--group": M.group,
109
- "bb-button--icon": !!t.icon,
112
+ "bb-button--icon": !!e.icon,
110
113
  "bb-button--active": P.value && F.value
111
114
  },
112
115
  disabled: U.value,
@@ -114,23 +117,37 @@ var A = {
114
117
  onClick: W
115
118
  }), {
116
119
  default: k(() => [
117
- h(E(s), { class: "bb-button__spinner" }),
118
- M.icon ? (x(), u(a, {
120
+ h(E(c), { class: "bb-button__spinner" }),
121
+ M.icon ? (x(), u(o, {
119
122
  key: 0,
120
123
  class: "bb-button__icon",
121
124
  type: M.icon
122
- }, null, 8, ["type"])) : M["prepend:icon"] ? (x(), u(a, {
125
+ }, null, 8, ["type"])) : M["prepend:icon"] ? (x(), u(o, {
123
126
  key: 1,
124
127
  class: "bb-button__prepend-icon",
125
128
  type: M["prepend:icon"]
126
129
  }, null, 8, ["type"])) : d("", !0),
127
- p("span", { class: b(["bb-button__content", { "sr-only": !!t.icon }]) }, [C(t.$slots, "default", {}, () => [m(w(t.text), 1)])], 2),
130
+ p("span", { class: b(["bb-button__content", { "sr-only": !!e.icon }]) }, [C(e.$slots, "default", {}, () => [m(w(e.text), 1)])], 2),
128
131
  H.value ? (x(), f("span", A, w(E(I)("common.loadingText")), 1)) : d("", !0),
129
- !t.icon && M["append:icon"] ? (x(), u(a, {
132
+ !e.icon && M["append:icon"] ? (x(), u(o, {
130
133
  key: 3,
131
134
  class: "bb-button__append-icon",
132
135
  type: M["append:icon"]
133
- }, null, 8, ["type"])) : d("", !0)
136
+ }, null, 8, ["type"])) : d("", !0),
137
+ e.tooltip != null || e.$slots.tooltip ? (x(), u(E(j), {
138
+ key: 4,
139
+ activator: R.value,
140
+ placement: e.tooltipPlacement,
141
+ "show-close": !1,
142
+ timeout: e.tooltipTimeout
143
+ }, {
144
+ default: k(() => [C(e.$slots, "tooltip", { text: e.tooltip }, () => [m(w(e.tooltip), 1)])]),
145
+ _: 3
146
+ }, 8, [
147
+ "activator",
148
+ "placement",
149
+ "timeout"
150
+ ])) : d("", !0)
134
151
  ]),
135
152
  _: 3
136
153
  }, 16, [
@@ -139,20 +156,7 @@ var A = {
139
156
  "class",
140
157
  "disabled",
141
158
  "tabindex"
142
- ]), t.tooltip != null || t.$slots.tooltip ? (x(), u(E(j), {
143
- key: 0,
144
- activator: R.value,
145
- placement: t.tooltipPlacement,
146
- "show-close": !1,
147
- timeout: t.tooltipTimeout
148
- }, {
149
- default: k(() => [C(t.$slots, "tooltip", { text: t.tooltip }, () => [m(w(t.tooltip), 1)])]),
150
- _: 3
151
- }, 8, [
152
- "activator",
153
- "placement",
154
- "timeout"
155
- ])) : d("", !0)], 64));
159
+ ]));
156
160
  }
157
161
  });
158
162
  //#endregion
package/dist/index270.js CHANGED
@@ -56,7 +56,7 @@ var w = [
56
56
  let n = A.accept[t];
57
57
  if (n.includes("/")) e.push(n);
58
58
  else {
59
- k ||= (await import("./index353.js")).default;
59
+ k ||= (await import("./index356.js")).default;
60
60
  let t = k.getType(n);
61
61
  if (!t) throw Error(`Could not detect the correct mime associated with ${n}`);
62
62
  e.push(t);