bitboss-ui 2.0.49 → 2.0.50

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 (139) hide show
  1. package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +2 -0
  2. package/dist/index108.js +1 -1
  3. package/dist/index110.js +4 -4
  4. package/dist/index120.js +3 -3
  5. package/dist/index126.js +1 -1
  6. package/dist/index127.js +1 -1
  7. package/dist/index128.js +1 -1
  8. package/dist/index13.js +1 -1
  9. package/dist/index130.js +1 -1
  10. package/dist/index132.js +2 -2
  11. package/dist/index133.js +2 -2
  12. package/dist/index15.js +4 -4
  13. package/dist/index17.js +3 -3
  14. package/dist/index19.js +2 -2
  15. package/dist/index204.js +2 -116
  16. package/dist/index205.js +53 -2
  17. package/dist/index207.js +13 -16
  18. package/dist/index208.js +19 -15
  19. package/dist/index209.js +4 -19
  20. package/dist/index21.js +14 -14
  21. package/dist/index210.js +2 -19
  22. package/dist/index211.js +4 -27
  23. package/dist/index212.js +2 -3
  24. package/dist/index213.js +8 -2
  25. package/dist/index214.js +115 -7
  26. package/dist/index215.js +3 -249
  27. package/dist/index216.js +41 -52
  28. package/dist/index217.js +5 -43
  29. package/dist/index218.js +7 -5
  30. package/dist/index219.js +3 -49
  31. package/dist/index220.js +158 -3
  32. package/dist/index221.js +84 -3
  33. package/dist/index223.js +5 -6
  34. package/dist/index224.js +16 -7
  35. package/dist/index225.js +14 -156
  36. package/dist/index226.js +19 -84
  37. package/dist/index227.js +21 -0
  38. package/dist/index228.js +26 -52
  39. package/dist/index229.js +5 -0
  40. package/dist/index23.js +10 -10
  41. package/dist/index230.js +2 -13
  42. package/dist/index231.js +247 -18
  43. package/dist/index232.js +52 -4
  44. package/dist/index233.js +44 -2
  45. package/dist/index234.js +5 -4
  46. package/dist/index235.js +49 -2
  47. package/dist/index236.js +2 -2
  48. package/dist/index237.js +2 -2
  49. package/dist/index239.js +2 -2
  50. package/dist/index240.js +1 -1
  51. package/dist/index241.js +2 -2
  52. package/dist/index242.js +2 -18
  53. package/dist/index243.js +17 -105
  54. package/dist/index244.js +108 -0
  55. package/dist/{index245.js → index246.js} +1 -1
  56. package/dist/index25.js +5 -5
  57. package/dist/index250.js +3 -9
  58. package/dist/index252.js +7 -6
  59. package/dist/index253.js +176 -16
  60. package/dist/index254.js +3 -8
  61. package/dist/index255.js +9 -23
  62. package/dist/index256.js +3 -224
  63. package/dist/index257.js +9 -281
  64. package/dist/index258.js +23 -6
  65. package/dist/index259.js +6 -2
  66. package/dist/index260.js +16 -2
  67. package/dist/index261.js +224 -2
  68. package/dist/index262.js +3 -2
  69. package/dist/index263.js +12 -2
  70. package/dist/index264.js +9 -2
  71. package/dist/index265.js +9 -2
  72. package/dist/index266.js +17 -2
  73. package/dist/index267.js +431 -2
  74. package/dist/index268.js +89 -2
  75. package/dist/index269.js +280 -27
  76. package/dist/index27.js +1 -1
  77. package/dist/index270.js +6 -22
  78. package/dist/index271.js +4 -0
  79. package/dist/index272.js +2 -7
  80. package/dist/index273.js +2 -3
  81. package/dist/index274.js +2 -12
  82. package/dist/index275.js +2 -9
  83. package/dist/index276.js +2 -9
  84. package/dist/index277.js +2 -17
  85. package/dist/index278.js +2 -431
  86. package/dist/index279.js +2 -89
  87. package/dist/index280.js +2 -3
  88. package/dist/index281.js +30 -0
  89. package/dist/index282.js +22 -176
  90. package/dist/index284.js +2 -200
  91. package/dist/index285.js +126 -2
  92. package/dist/index286.js +21 -125
  93. package/dist/index288.js +202 -0
  94. package/dist/index29.js +69 -64
  95. package/dist/index291.js +1 -1
  96. package/dist/index292.js +1 -1
  97. package/dist/index293.js +2 -2
  98. package/dist/index297.js +33 -79
  99. package/dist/index298.js +7 -0
  100. package/dist/index299.js +8 -4
  101. package/dist/index300.js +4 -4
  102. package/dist/index301.js +77 -57
  103. package/dist/index303.js +5 -17
  104. package/dist/index304.js +4 -5
  105. package/dist/index305.js +4 -8
  106. package/dist/index306.js +58 -6
  107. package/dist/index307.js +46 -10
  108. package/dist/index308.js +10 -3
  109. package/dist/index309.js +6 -32
  110. package/dist/index31.js +2 -2
  111. package/dist/index310.js +17 -45
  112. package/dist/{index312.js → index313.js} +1 -1
  113. package/dist/index33.js +2 -2
  114. package/dist/index35.js +2 -2
  115. package/dist/index37.js +11 -11
  116. package/dist/index39.js +4 -4
  117. package/dist/index41.js +2 -2
  118. package/dist/index43.js +2 -2
  119. package/dist/index45.js +6 -6
  120. package/dist/index47.js +2 -2
  121. package/dist/index49.js +2 -2
  122. package/dist/index55.js +1 -1
  123. package/dist/index57.js +1 -1
  124. package/dist/index75.js +3 -3
  125. package/dist/index79.js +2 -2
  126. package/dist/index81.js +1 -1
  127. package/dist/index82.js +15 -15
  128. package/dist/index84.js +2 -2
  129. package/dist/index86.js +1 -1
  130. package/dist/index88.js +3 -3
  131. package/dist/index90.js +1 -1
  132. package/package.json +2 -2
  133. package/dist/index206.js +0 -7
  134. package/dist/index222.js +0 -43
  135. package/dist/index247.js +0 -4
  136. package/dist/index251.js +0 -5
  137. package/dist/index283.js +0 -6
  138. package/dist/index287.js +0 -24
  139. package/dist/index302.js +0 -9
@@ -0,0 +1,202 @@
1
+ /*!
2
+ * tabbable 6.2.0
3
+ * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
4
+ */
5
+ var w = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], v = /* @__PURE__ */ w.join(","), T = typeof Element > "u", o = T ? function() {
6
+ } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, b = !T && Element.prototype.getRootNode ? function(i) {
7
+ var t;
8
+ return i == null || (t = i.getRootNode) === null || t === void 0 ? void 0 : t.call(i);
9
+ } : function(i) {
10
+ return i == null ? void 0 : i.ownerDocument;
11
+ }, h = function i(t, e) {
12
+ var r;
13
+ e === void 0 && (e = !0);
14
+ var a = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "inert"), l = a === "" || a === "true", n = l || e && t && i(t.parentNode);
15
+ return n;
16
+ }, A = function(t) {
17
+ var e, r = t == null || (e = t.getAttribute) === null || e === void 0 ? void 0 : e.call(t, "contenteditable");
18
+ return r === "" || r === "true";
19
+ }, I = function(t, e, r) {
20
+ if (h(t))
21
+ return [];
22
+ var a = Array.prototype.slice.apply(t.querySelectorAll(v));
23
+ return e && o.call(t, v) && a.unshift(t), a = a.filter(r), a;
24
+ }, m = function i(t, e, r) {
25
+ for (var a = [], l = Array.from(t); l.length; ) {
26
+ var n = l.shift();
27
+ if (!h(n, !1))
28
+ if (n.tagName === "SLOT") {
29
+ var u = n.assignedElements(), c = u.length ? u : n.children, s = i(c, !0, r);
30
+ r.flatten ? a.push.apply(a, s) : a.push({
31
+ scopeParent: n,
32
+ candidates: s
33
+ });
34
+ } else {
35
+ var f = o.call(n, v);
36
+ f && r.filter(n) && (e || !t.includes(n)) && a.push(n);
37
+ var d = n.shadowRoot || // check for an undisclosed shadow
38
+ typeof r.getShadowRoot == "function" && r.getShadowRoot(n), E = !h(d, !1) && (!r.shadowRootFilter || r.shadowRootFilter(n));
39
+ if (d && E) {
40
+ var y = i(d === !0 ? n.children : d.children, !0, r);
41
+ r.flatten ? a.push.apply(a, y) : a.push({
42
+ scopeParent: n,
43
+ candidates: y
44
+ });
45
+ } else
46
+ l.unshift.apply(l, n.children);
47
+ }
48
+ }
49
+ return a;
50
+ }, N = function(t) {
51
+ return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
52
+ }, R = function(t) {
53
+ if (!t)
54
+ throw new Error("No node provided");
55
+ return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || A(t)) && !N(t) ? 0 : t.tabIndex;
56
+ }, x = function(t, e) {
57
+ var r = R(t);
58
+ return r < 0 && e && !N(t) ? 0 : r;
59
+ }, O = function(t, e) {
60
+ return t.tabIndex === e.tabIndex ? t.documentOrder - e.documentOrder : t.tabIndex - e.tabIndex;
61
+ }, C = function(t) {
62
+ return t.tagName === "INPUT";
63
+ }, F = function(t) {
64
+ return C(t) && t.type === "hidden";
65
+ }, D = function(t) {
66
+ var e = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(r) {
67
+ return r.tagName === "SUMMARY";
68
+ });
69
+ return e;
70
+ }, k = function(t, e) {
71
+ for (var r = 0; r < t.length; r++)
72
+ if (t[r].checked && t[r].form === e)
73
+ return t[r];
74
+ }, M = function(t) {
75
+ if (!t.name)
76
+ return !0;
77
+ var e = t.form || b(t), r = function(u) {
78
+ return e.querySelectorAll('input[type="radio"][name="' + u + '"]');
79
+ }, a;
80
+ if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
81
+ a = r(window.CSS.escape(t.name));
82
+ else
83
+ try {
84
+ a = r(t.name);
85
+ } catch (n) {
86
+ return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", n.message), !1;
87
+ }
88
+ var l = k(a, t.form);
89
+ return !l || l === t;
90
+ }, L = function(t) {
91
+ return C(t) && t.type === "radio";
92
+ }, P = function(t) {
93
+ return L(t) && !M(t);
94
+ }, B = function(t) {
95
+ var e, r = t && b(t), a = (e = r) === null || e === void 0 ? void 0 : e.host, l = !1;
96
+ if (r && r !== t) {
97
+ var n, u, c;
98
+ for (l = !!((n = a) !== null && n !== void 0 && (u = n.ownerDocument) !== null && u !== void 0 && u.contains(a) || t != null && (c = t.ownerDocument) !== null && c !== void 0 && c.contains(t)); !l && a; ) {
99
+ var s, f, d;
100
+ r = b(a), a = (s = r) === null || s === void 0 ? void 0 : s.host, l = !!((f = a) !== null && f !== void 0 && (d = f.ownerDocument) !== null && d !== void 0 && d.contains(a));
101
+ }
102
+ }
103
+ return l;
104
+ }, p = function(t) {
105
+ var e = t.getBoundingClientRect(), r = e.width, a = e.height;
106
+ return r === 0 && a === 0;
107
+ }, q = function(t, e) {
108
+ var r = e.displayCheck, a = e.getShadowRoot;
109
+ if (getComputedStyle(t).visibility === "hidden")
110
+ return !0;
111
+ var l = o.call(t, "details>summary:first-of-type"), n = l ? t.parentElement : t;
112
+ if (o.call(n, "details:not([open]) *"))
113
+ return !0;
114
+ if (!r || r === "full" || r === "legacy-full") {
115
+ if (typeof a == "function") {
116
+ for (var u = t; t; ) {
117
+ var c = t.parentElement, s = b(t);
118
+ if (c && !c.shadowRoot && a(c) === !0)
119
+ return p(t);
120
+ t.assignedSlot ? t = t.assignedSlot : !c && s !== t.ownerDocument ? t = s.host : t = c;
121
+ }
122
+ t = u;
123
+ }
124
+ if (B(t))
125
+ return !t.getClientRects().length;
126
+ if (r !== "legacy-full")
127
+ return !0;
128
+ } else if (r === "non-zero-area")
129
+ return p(t);
130
+ return !1;
131
+ }, U = function(t) {
132
+ if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
133
+ for (var e = t.parentElement; e; ) {
134
+ if (e.tagName === "FIELDSET" && e.disabled) {
135
+ for (var r = 0; r < e.children.length; r++) {
136
+ var a = e.children.item(r);
137
+ if (a.tagName === "LEGEND")
138
+ return o.call(e, "fieldset[disabled] *") ? !0 : !a.contains(t);
139
+ }
140
+ return !0;
141
+ }
142
+ e = e.parentElement;
143
+ }
144
+ return !1;
145
+ }, g = function(t, e) {
146
+ return !(e.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
147
+ // because we're limited in the type of selectors we can use in JSDom (see related
148
+ // note related to `candidateSelectors`)
149
+ h(e) || F(e) || q(e, t) || // For a details element with a summary, the summary element gets the focus
150
+ D(e) || U(e));
151
+ }, S = function(t, e) {
152
+ return !(P(e) || R(e) < 0 || !g(t, e));
153
+ }, V = function(t) {
154
+ var e = parseInt(t.getAttribute("tabindex"), 10);
155
+ return !!(isNaN(e) || e >= 0);
156
+ }, j = function i(t) {
157
+ var e = [], r = [];
158
+ return t.forEach(function(a, l) {
159
+ var n = !!a.scopeParent, u = n ? a.scopeParent : a, c = x(u, n), s = n ? i(a.candidates) : u;
160
+ c === 0 ? n ? e.push.apply(e, s) : e.push(u) : r.push({
161
+ documentOrder: l,
162
+ tabIndex: c,
163
+ item: a,
164
+ isScope: n,
165
+ content: s
166
+ });
167
+ }), r.sort(O).reduce(function(a, l) {
168
+ return l.isScope ? a.push.apply(a, l.content) : a.push(l.content), a;
169
+ }, []).concat(e);
170
+ }, Z = function(t, e) {
171
+ e = e || {};
172
+ var r;
173
+ return e.getShadowRoot ? r = m([t], e.includeContainer, {
174
+ filter: S.bind(null, e),
175
+ flatten: !1,
176
+ getShadowRoot: e.getShadowRoot,
177
+ shadowRootFilter: V
178
+ }) : r = I(t, e.includeContainer, S.bind(null, e)), j(r);
179
+ }, z = function(t, e) {
180
+ e = e || {};
181
+ var r;
182
+ return e.getShadowRoot ? r = m([t], e.includeContainer, {
183
+ filter: g.bind(null, e),
184
+ flatten: !0,
185
+ getShadowRoot: e.getShadowRoot
186
+ }) : r = I(t, e.includeContainer, g.bind(null, e)), r;
187
+ }, G = function(t, e) {
188
+ if (e = e || {}, !t)
189
+ throw new Error("No node provided");
190
+ return o.call(t, v) === !1 ? !1 : S(e, t);
191
+ }, W = /* @__PURE__ */ w.concat("iframe").join(","), X = function(t, e) {
192
+ if (e = e || {}, !t)
193
+ throw new Error("No node provided");
194
+ return o.call(t, W) === !1 ? !1 : g(e, t);
195
+ };
196
+ export {
197
+ z as focusable,
198
+ R as getTabIndex,
199
+ X as isFocusable,
200
+ G as isTabbable,
201
+ Z as tabbable
202
+ };
package/dist/index29.js CHANGED
@@ -1,14 +1,14 @@
1
- import { defineComponent as C, computed as M, ref as g, onMounted as E, watch as N, openBlock as x, createBlock as T, normalizeClass as q, withCtx as i, renderSlot as d, createVNode as A, createElementVNode as D, mergeProps as L, withModifiers as S } from "vue";
2
- import { clamp as b } from "./index205.js";
3
- import j from "./index228.js";
1
+ import { defineComponent as M, computed as D, ref as g, onMounted as E, watch as N, openBlock as A, createBlock as x, normalizeClass as T, withCtx as s, renderSlot as d, createVNode as q, createElementVNode as L, mergeProps as S, withModifiers as K } from "vue";
2
+ import { clamp as b } from "./index204.js";
3
+ import j from "./index205.js";
4
4
  /* empty css */
5
- import z from "./index230.js";
6
- const O = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "step"], J = /* @__PURE__ */ C({
5
+ import z from "./index207.js";
6
+ const O = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "step"], J = /* @__PURE__ */ M({
7
7
  __name: "BaseNumberInput",
8
8
  props: {
9
9
  "append:icon": {},
10
10
  ariaDescribedby: {},
11
- autocomplete: {},
11
+ autocomplete: { default: "off" },
12
12
  autofocus: {},
13
13
  disabled: { type: Boolean },
14
14
  hasErrors: { type: Boolean },
@@ -24,108 +24,113 @@ const O = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "n
24
24
  required: { type: Boolean },
25
25
  step: { default: 1 }
26
26
  },
27
- emits: ["blur", "change", "click", "decrease", "focus", "increase", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
28
- setup(v, { expose: I, emit: V }) {
29
- const n = v, l = V, $ = M(() => ({
27
+ emits: ["blur", "change", "click", "decrease", "focus", "increase", "input", "keydown", "keyup", "mousedown", "mouseup", "update:modelValue"],
28
+ setup(v, { expose: k, emit: w }) {
29
+ const n = v, t = w, I = D(() => ({
30
30
  "bb-base-number-input": !0,
31
31
  "bb-base-number-input--disabled": n.disabled,
32
32
  "bb-base-number-input--errors": n.hasErrors,
33
33
  "bb-base-number-input--loading": n.loading,
34
34
  "bb-base-number-input--readonly": n.readonly
35
- })), s = g(null), p = g(!1), r = () => {
35
+ })), u = g(null), p = g(!1), i = () => {
36
36
  if (n.disabled || n.readonly || p.value) return;
37
- const e = typeof n.min > "u" ? -1 / 0 : n.min, t = typeof n.max > "u" ? 1 / 0 : n.max;
37
+ const e = typeof n.min > "u" ? -1 / 0 : n.min, a = typeof n.max > "u" ? 1 / 0 : n.max;
38
38
  let o = Math.max(Number(n.modelValue || 0) - n.step, e);
39
- o = o === null ? o : b(o, e, t), l("decrease", o), l("update:modelValue", o);
40
- }, u = () => {
39
+ o = o === null ? o : b(o, e, a), t("decrease", o), t("update:modelValue", o);
40
+ }, r = () => {
41
41
  if (n.disabled || n.readonly || p.value) return;
42
- const e = typeof n.min > "u" ? -1 / 0 : n.min, t = typeof n.max > "u" ? 1 / 0 : n.max;
43
- let o = Math.min(Number(n.modelValue || 0) + +n.step, t);
44
- o = o === null ? o : b(o, e, t), l("increase", o), l("update:modelValue", o);
42
+ const e = typeof n.min > "u" ? -1 / 0 : n.min, a = typeof n.max > "u" ? 1 / 0 : n.max;
43
+ let o = Math.min(Number(n.modelValue || 0) + +n.step, a);
44
+ o = o === null ? o : b(o, e, a), t("increase", o), t("update:modelValue", o);
45
45
  };
46
- I({
47
- increase: u,
48
- decrease: r
46
+ k({
47
+ increase: r,
48
+ decrease: i
49
49
  });
50
- const k = (e) => {
50
+ const V = (e) => {
51
51
  if (e.target instanceof HTMLInputElement) {
52
- const t = e.target.value, o = /[,.]/g, m = [...t.matchAll(o)];
53
- if (!(m.length === 1 && m.some((a) => a.index === t.length - 1)) && !(m.length && t[t.length - 1] === "0") && t !== "-") {
52
+ const a = e.target.value, o = /[,.]/g, m = [...a.matchAll(o)];
53
+ if (!(m.length === 1 && m.some((l) => l.index === a.length - 1)) && !(m.length && a[a.length - 1] === "0") && a !== "-") {
54
54
  p.value = !1;
55
- let a;
56
- e.target.value === "" ? a = null : a = y(e.target.value);
55
+ let l;
56
+ e.target.value === "" ? l = null : l = y(e.target.value);
57
57
  const c = typeof n.min > "u" ? -1 / 0 : n.min, f = typeof n.max > "u" ? 1 / 0 : n.max;
58
- a = a === null ? a : b(a, c, f), l("update:modelValue", a), s.value && (a === null ? s.value.value = "" : s.value.value = `${a}`);
58
+ l = l === null ? l : b(l, c, f), t("update:modelValue", l), u.value && (l === null ? u.value.value = "" : u.value.value = `${l}`);
59
59
  } else
60
60
  p.value = !0;
61
- l("input", e);
61
+ t("input", e);
62
62
  }
63
+ }, $ = (e) => {
64
+ e.key === "ArrowUp" ? (e.preventDefault(), r()) : e.key === "ArrowDown" && (e.preventDefault(), i());
63
65
  }, y = (e) => {
64
66
  if (typeof e == "number") return e;
65
- let t = e.replaceAll(",", "."), a = t.slice(0, 1).concat(t.slice(1).replaceAll("-", "")).replaceAll(/[^\d.-]/g, "").split("."), c = a.slice(0, 1).join("") || 0, f = a.slice(1).join("") || 0, B = `${c}.${f}`;
66
- return Number(B);
67
- }, w = {
68
- onBlur: (e) => l("blur", e),
69
- onChange: (e) => l("change", e),
70
- onClick: (e) => l("click", e),
71
- onFocus: (e) => l("focus", e),
72
- onKeydown: (e) => l("keydown", e),
73
- onMousedown: (e) => l("mousedown", e),
74
- onMouseup: (e) => l("mouseup", e)
67
+ let a = e.replaceAll(",", "."), l = a.slice(0, 1).concat(a.slice(1).replaceAll("-", "")).replaceAll(/[^\d.-]/g, "").split("."), c = l.slice(0, 1).join("") || 0, f = l.slice(1).join("") || 0, C = `${c}.${f}`;
68
+ return Number(C);
69
+ }, B = {
70
+ onBlur: (e) => t("blur", e),
71
+ onChange: (e) => t("change", e),
72
+ onClick: (e) => t("click", e),
73
+ onFocus: (e) => t("focus", e),
74
+ onKeydown: (e) => {
75
+ $(e), t("keydown", e);
76
+ },
77
+ onKeyup: (e) => t("keyup", e),
78
+ onMousedown: (e) => t("mousedown", e),
79
+ onMouseup: (e) => t("mouseup", e)
75
80
  }, h = (e) => {
76
- s.value ? e === null || e === "" || e === void 0 ? s.value.value = "" : typeof e < "u" && (s.value.value = y(e).toString()) : console.error("Could not align input as it is not mounted");
81
+ u.value ? e === null || e === "" || e === void 0 ? u.value.value = "" : typeof e < "u" && (u.value.value = y(e).toString()) : console.error("Could not align input as it is not mounted");
77
82
  };
78
83
  return E(() => {
79
84
  h(n.modelValue);
80
- }), N(() => n.modelValue, h), (e, t) => (x(), T(z, {
81
- class: q($.value)
85
+ }), N(() => n.modelValue, h), (e, a) => (A(), x(z, {
86
+ class: T(I.value)
82
87
  }, {
83
- "prepend-outer": i(() => [
88
+ "prepend-outer": s(() => [
84
89
  d(e.$slots, "prepend-outer", {
85
- decrease: r,
86
- increase: u
90
+ decrease: i,
91
+ increase: r
87
92
  })
88
93
  ]),
89
- "append-outer": i(() => [
94
+ "append-outer": s(() => [
90
95
  d(e.$slots, "append-outer", {
91
- decrease: r,
92
- increase: u
96
+ decrease: i,
97
+ increase: r
93
98
  })
94
99
  ]),
95
- default: i(() => [
96
- A(j, {
100
+ default: s(() => [
101
+ q(j, {
97
102
  "append:icon": n["append:icon"],
98
103
  "prepend:icon": n["prepend:icon"]
99
104
  }, {
100
- prepend: i(() => [
105
+ prepend: s(() => [
101
106
  d(e.$slots, "prepend", {
102
- decrease: r,
103
- increase: u
107
+ decrease: i,
108
+ increase: r
104
109
  })
105
110
  ]),
106
- prefix: i(() => [
111
+ prefix: s(() => [
107
112
  d(e.$slots, "prefix", {
108
- decrease: r,
109
- increase: u
113
+ decrease: i,
114
+ increase: r
110
115
  })
111
116
  ]),
112
- append: i(() => [
117
+ append: s(() => [
113
118
  d(e.$slots, "append", {
114
- decrease: r,
115
- increase: u
119
+ decrease: i,
120
+ increase: r
116
121
  })
117
122
  ]),
118
- suffix: i(() => [
123
+ suffix: s(() => [
119
124
  d(e.$slots, "suffix", {
120
- decrease: r,
121
- increase: u
125
+ decrease: i,
126
+ increase: r
122
127
  })
123
128
  ]),
124
- default: i(() => [
125
- D("input", L({
129
+ default: s(() => [
130
+ L("input", S({
126
131
  id: e.id,
127
132
  ref_key: "input",
128
- ref: s,
133
+ ref: u,
129
134
  "aria-describedby": e.ariaDescribedby,
130
135
  autocomplete: e.autocomplete,
131
136
  autofocus: e.autofocus,
@@ -139,8 +144,8 @@ const O = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "n
139
144
  size: "1",
140
145
  step: e.step,
141
146
  type: "text"
142
- }, w, {
143
- onInput: S(k, ["stop"])
147
+ }, B, {
148
+ onInput: K(V, ["stop"])
144
149
  }), null, 16, O)
145
150
  ]),
146
151
  _: 3
package/dist/index291.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index243.js";
1
+ import o from "./index244.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index292.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index245.js";
1
+ import o from "./index246.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index293.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as K, ref as b, computed as m, watch as N, openBlock as r, createElementBlock as c, normalizeClass as $, normalizeStyle as h, withModifiers as Q, createElementVNode as x, renderSlot as v, createTextVNode as D, toDisplayString as g, Fragment as U, renderList as X } from "vue";
2
2
  import { isNil as f } from "./index129.js";
3
- import { useVirtualizer as Z } from "./index310.js";
3
+ import { useVirtualizer as Z } from "./index307.js";
4
4
  import { isNotNil as ee } from "./index134.js";
5
- import { hash as H } from "./index212.js";
5
+ import { hash as H } from "./index229.js";
6
6
  const te = { class: "bb-listbox__outer-container scrollbar-border" }, oe = {
7
7
  key: 0,
8
8
  class: "bb-listbox__loading"
package/dist/index297.js CHANGED
@@ -1,81 +1,35 @@
1
- import { defineComponent as _, toRef as y, ref as p, computed as o, openBlock as v, createBlock as h, Teleport as A, createElementVNode as r, mergeProps as n, renderSlot as $ } from "vue";
2
- import b from "./index312.js";
3
- import { useFloating as k, arrow as x } from "./index236.js";
4
- import { autoUpdate as B, flip as C, offset as D, shift as P } from "./index240.js";
5
- const N = /* @__PURE__ */ _({
6
- __name: "CommonFloating",
7
- props: {
8
- arrowPadding: {},
9
- eager: { type: Boolean },
10
- offset: {},
11
- padding: {},
12
- placement: {},
13
- theme: {},
14
- transitionDuration: {},
15
- containerAttributes: { default: () => ({}) },
16
- bubbleAttributes: {},
17
- wrapper: {},
18
- baseClass: {},
19
- open: { type: Boolean }
20
- },
21
- setup(u) {
22
- const e = u, f = y(e, "wrapper"), a = p(), l = p(), { floatingStyles: c, placement: d, middlewareData: s } = k(
23
- f,
24
- a,
25
- {
26
- placement: e.placement,
27
- whileElementsMounted: B,
28
- middleware: [
29
- C(),
30
- D(e.offset),
31
- P({ padding: e.padding }),
32
- x({
33
- element: l,
34
- padding: e.arrowPadding
35
- })
36
- ]
37
- }
38
- ), m = o(() => {
39
- if (s.value.arrow) {
40
- const { x: t, y: i } = s.value.arrow;
41
- return {
42
- style: {
43
- left: `${t}px`,
44
- top: `${i}px`
45
- }
46
- };
47
- }
48
- }), g = o(() => b({}, e.containerAttributes, {
49
- class: {
50
- "bb-floating": !0,
51
- [`bb-floating--${d.value}`]: !0,
52
- [`${e.baseClass}__bubble-container--${e.theme}`]: e.theme,
53
- "bb-floating--hidden": !e.open,
54
- "bb-floating--open": e.open
55
- },
56
- style: {
57
- ...c.value,
58
- "--transition-duration": `${e.transitionDuration}ms`
59
- },
60
- inert: !e.open
61
- })), w = o(() => b({}, e.bubbleAttributes, {}));
62
- return (t, i) => (v(), h(A, { to: "body" }, [
63
- r("span", n({
64
- ref_key: "content",
65
- ref: a
66
- }, g.value), [
67
- r("span", n({
68
- ref_key: "bubblearrow",
69
- ref: l,
70
- class: "bb-floating__arrow"
71
- }, m.value), null, 16),
72
- r("span", n({ class: "bb-floating__bubble" }, w.value), [
73
- $(t.$slots, "default")
74
- ], 16)
75
- ], 16)
76
- ]));
77
- }
78
- });
1
+ import { openBlock as e, createElementBlock as t, createElementVNode as o } from "vue";
2
+ /* empty css */
3
+ import n from "./index252.js";
4
+ const l = {}, s = {
5
+ class: "bb-error-icon",
6
+ fill: "none",
7
+ viewBox: "0 0 20 20",
8
+ xmlns: "http://www.w3.org/2000/svg"
9
+ };
10
+ function i(c, r) {
11
+ return e(), t("svg", s, r[0] || (r[0] = [
12
+ o("path", {
13
+ d: "M9.99422 18.3333C14.5966 18.3333 18.3276 14.6024 18.3276 9.99999C18.3276 5.39762 14.5966 1.66666 9.99422 1.66666C5.39185 1.66666 1.66089 5.39762 1.66089 9.99999C1.66089 14.6024 5.39185 18.3333 9.99422 18.3333Z",
14
+ fill: "currentColor"
15
+ }, null, -1),
16
+ o("path", {
17
+ d: "M9.99414 6.66666V9.99999",
18
+ stroke: "white",
19
+ "stroke-linecap": "round",
20
+ "stroke-linejoin": "round",
21
+ "stroke-width": "2"
22
+ }, null, -1),
23
+ o("path", {
24
+ d: "M9.99414 13.3333H10.0025",
25
+ stroke: "white",
26
+ "stroke-linecap": "round",
27
+ "stroke-linejoin": "round",
28
+ "stroke-width": "2"
29
+ }, null, -1)
30
+ ]));
31
+ }
32
+ const a = /* @__PURE__ */ n(l, [["render", i]]);
79
33
  export {
80
- N as default
34
+ a as default
81
35
  };
@@ -0,0 +1,7 @@
1
+ import { getType as t } from "./index300.js";
2
+ function o(r) {
3
+ return t(r) === "Array";
4
+ }
5
+ export {
6
+ o as isArray
7
+ };