bitboss-ui 2.1.16 → 2.1.17

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 (164) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index106.js +7 -7
  3. package/dist/index111.js +1 -1
  4. package/dist/index113.js +1 -1
  5. package/dist/index121.js +11 -11
  6. package/dist/index13.js +1 -1
  7. package/dist/index131.js +4 -4
  8. package/dist/index133.js +1 -1
  9. package/dist/index136.js +1 -1
  10. package/dist/index137.js +2 -2
  11. package/dist/index15.js +8 -8
  12. package/dist/index17.js +3 -3
  13. package/dist/index19.js +8 -8
  14. package/dist/index206.js +2 -138
  15. package/dist/index207.js +138 -2
  16. package/dist/index209.js +86 -2
  17. package/dist/index21.js +16 -16
  18. package/dist/index211.js +29 -2
  19. package/dist/index212.js +17 -4
  20. package/dist/index213.js +51 -13
  21. package/dist/index214.js +14 -10
  22. package/dist/index215.js +3 -20
  23. package/dist/index216.js +12 -197
  24. package/dist/index217.js +18 -0
  25. package/dist/index218.js +4 -72
  26. package/dist/index219.js +15 -0
  27. package/dist/index220.js +11 -13
  28. package/dist/index221.js +18 -112
  29. package/dist/index222.js +199 -0
  30. package/dist/index224.js +72 -5
  31. package/dist/index226.js +13 -5
  32. package/dist/index227.js +114 -5
  33. package/dist/index229.js +2 -5
  34. package/dist/index23.js +15 -15
  35. package/dist/index230.js +4 -3
  36. package/dist/index231.js +2 -2
  37. package/dist/index232.js +12 -7
  38. package/dist/index233.js +5 -250
  39. package/dist/index234.js +5 -52
  40. package/dist/index235.js +5 -44
  41. package/dist/index236.js +4 -4
  42. package/dist/index237.js +5 -60
  43. package/dist/index238.js +5 -13
  44. package/dist/index239.js +2 -86
  45. package/dist/index240.js +4 -0
  46. package/dist/index241.js +2 -29
  47. package/dist/index242.js +5 -17
  48. package/dist/index243.js +5 -51
  49. package/dist/index244.js +8 -15
  50. package/dist/index245.js +250 -12
  51. package/dist/index246.js +52 -16
  52. package/dist/index247.js +44 -2
  53. package/dist/index248.js +5 -34
  54. package/dist/index249.js +60 -2
  55. package/dist/index25.js +3 -3
  56. package/dist/index250.js +2 -7
  57. package/dist/index251.js +2 -7
  58. package/dist/index252.js +7 -3
  59. package/dist/index253.js +7 -5
  60. package/dist/index254.js +3 -2
  61. package/dist/index255.js +183 -2
  62. package/dist/index256.js +33 -182
  63. package/dist/index257.js +17 -105
  64. package/dist/index258.js +14 -0
  65. package/dist/index259.js +5 -99
  66. package/dist/index260.js +108 -0
  67. package/dist/index262.js +100 -12
  68. package/dist/index264.js +45 -47
  69. package/dist/index267.js +3 -9
  70. package/dist/index268.js +6 -23
  71. package/dist/index269.js +16 -3
  72. package/dist/index27.js +1 -1
  73. package/dist/index270.js +9 -6
  74. package/dist/index271.js +23 -16
  75. package/dist/index273.js +1 -1
  76. package/dist/index275.js +2 -5
  77. package/dist/index276.js +1 -1
  78. package/dist/index277.js +5 -2
  79. package/dist/index278.js +1 -1
  80. package/dist/index279.js +1 -1
  81. package/dist/index280.js +3 -4
  82. package/dist/index281.js +17 -3
  83. package/dist/index282.js +28 -3
  84. package/dist/{index342.js → index283.js} +1 -1
  85. package/dist/index284.js +3 -7
  86. package/dist/index286.js +6 -6
  87. package/dist/index287.js +3 -11
  88. package/dist/index288.js +7 -280
  89. package/dist/index289.js +11 -2
  90. package/dist/index29.js +4 -4
  91. package/dist/index290.js +4 -16
  92. package/dist/index291.js +4 -2
  93. package/dist/index292.js +277 -13
  94. package/dist/index293.js +2 -2
  95. package/dist/index294.js +122 -16
  96. package/dist/index295.js +2 -2
  97. package/dist/index298.js +11 -14
  98. package/dist/index300.js +12 -23
  99. package/dist/index302.js +19 -2
  100. package/dist/index303.js +2 -2
  101. package/dist/index304.js +19 -2
  102. package/dist/index305.js +2 -2
  103. package/dist/index306.js +26 -27
  104. package/dist/index307.js +2 -22
  105. package/dist/index308.js +4 -0
  106. package/dist/index309.js +2 -4
  107. package/dist/index31.js +2 -2
  108. package/dist/index310.js +2 -3
  109. package/dist/index311.js +2 -17
  110. package/dist/index312.js +22 -6
  111. package/dist/index314.js +6 -5
  112. package/dist/index315.js +5 -125
  113. package/dist/index316.js +2 -2
  114. package/dist/index317.js +1 -1
  115. package/dist/index318.js +1 -1
  116. package/dist/index320.js +2 -2
  117. package/dist/index325.js +128 -7
  118. package/dist/index326.js +368 -5
  119. package/dist/index327.js +228 -8
  120. package/dist/index33.js +8 -8
  121. package/dist/index330.js +32 -57
  122. package/dist/index331.js +27 -57
  123. package/dist/index333.js +6 -32
  124. package/dist/index334.js +8 -28
  125. package/dist/index335.js +8 -0
  126. package/dist/index336.js +7 -128
  127. package/dist/index337.js +44 -366
  128. package/dist/index338.js +86 -221
  129. package/dist/index339.js +58 -47
  130. package/dist/index340.js +57 -92
  131. package/dist/index341.js +131 -0
  132. package/dist/index343.js +3 -129
  133. package/dist/index35.js +4 -4
  134. package/dist/index37.js +19 -19
  135. package/dist/index39.js +8 -8
  136. package/dist/index41.js +2 -2
  137. package/dist/index43.js +8 -8
  138. package/dist/index45.js +8 -8
  139. package/dist/index47.js +2 -2
  140. package/dist/index49.js +3 -3
  141. package/dist/index53.js +1 -1
  142. package/dist/index55.js +1 -1
  143. package/dist/index57.js +2 -2
  144. package/dist/index61.js +1 -1
  145. package/dist/index67.js +1 -1
  146. package/dist/index79.js +4 -4
  147. package/dist/index81.js +1 -1
  148. package/dist/index83.js +2 -2
  149. package/dist/index85.js +1 -1
  150. package/dist/index87.js +1 -1
  151. package/dist/index90.js +3 -3
  152. package/dist/index92.js +1 -1
  153. package/dist/index94.js +3 -3
  154. package/dist/index96.js +1 -1
  155. package/package.json +2 -2
  156. package/dist/index210.js +0 -6
  157. package/dist/index223.js +0 -7
  158. package/dist/index225.js +0 -7
  159. package/dist/index228.js +0 -7
  160. package/dist/index261.js +0 -20
  161. package/dist/index263.js +0 -8
  162. package/dist/index285.js +0 -5
  163. package/dist/index313.js +0 -4
  164. package/dist/index332.js +0 -9
@@ -0,0 +1,108 @@
1
+ import { defineComponent as y, ref as F, computed as H, watch as N, createElementBlock as L, openBlock as p, Fragment as S, renderList as V, createBlock as A, withModifiers as O, normalizeClass as P, withCtx as $, createTextVNode as z, toDisplayString as D } from "vue";
2
+ import { hash as d } from "./index215.js";
3
+ import { isNil as l } from "./index250.js";
4
+ import E from "./index67.js";
5
+ /* empty css */
6
+ const K = /* @__PURE__ */ y({
7
+ __name: "ChipsBox",
8
+ props: {
9
+ options: {}
10
+ },
11
+ emits: ["option:unselected"],
12
+ setup(f, { expose: v, emit: h }) {
13
+ const t = f, u = h, n = F(null), i = H(() => t.options.some((e) => !e.disabled)), a = (e = 1) => {
14
+ const s = l(n.value) ? -1 : n.value;
15
+ let o = (s + e) % t.options.length;
16
+ for (; t.options[o].disabled && o !== s; )
17
+ o = a(e + 1);
18
+ return o;
19
+ }, x = () => {
20
+ if (!i.value) return;
21
+ const e = a();
22
+ n.value = e;
23
+ }, c = (e = 1) => {
24
+ const s = l(n.value) ? 0 : n.value;
25
+ let o = (s - e + t.options.length) % t.options.length;
26
+ for (; t.options[o].disabled && o !== s; )
27
+ o = c(e + 1);
28
+ return o;
29
+ }, m = async () => {
30
+ if (!i.value) return;
31
+ const e = c();
32
+ n.value = e;
33
+ }, w = () => {
34
+ if (!i.value) return;
35
+ let e = 0;
36
+ for (; t.options[e].disabled; )
37
+ e++;
38
+ n.value = e;
39
+ }, b = () => {
40
+ if (!i.value) return;
41
+ let e = t.options.length - 1;
42
+ for (; t.options[e].disabled && e !== 0; )
43
+ e--;
44
+ n.value = e;
45
+ }, I = () => {
46
+ if (!i.value) return;
47
+ let e = 0;
48
+ for (; !t.options[e].selected && t.options.length !== e; )
49
+ e++;
50
+ n.value = e;
51
+ }, g = () => {
52
+ if (!i.value) return;
53
+ let e = t.options.length - 1;
54
+ for (; t.options[e].selected && e !== 0; )
55
+ e--;
56
+ n.value = e;
57
+ }, _ = (e) => {
58
+ if (!i.value) return;
59
+ const s = t.options.findIndex(
60
+ (o) => o.valueHash === e
61
+ );
62
+ s >= 0 && (n.value = s);
63
+ }, r = () => {
64
+ n.value = null;
65
+ }, k = () => {
66
+ if (l(n.value)) return;
67
+ const e = t.options[n.value];
68
+ e.selected && u("option:unselected", e);
69
+ }, C = () => l(n.value) ? void 0 : t.options[n.value];
70
+ return N(
71
+ () => t.options,
72
+ (e, s) => {
73
+ d(e) !== d(s) && r();
74
+ },
75
+ {
76
+ flush: "post"
77
+ }
78
+ ), v({
79
+ focusNext: x,
80
+ focusPrevious: m,
81
+ focusFirst: w,
82
+ focusFirstSelected: I,
83
+ focusLast: b,
84
+ focusLastSelected: g,
85
+ blur: r,
86
+ confirmOption: k,
87
+ focusByHash: _,
88
+ getHighlighted: C
89
+ }), (e, s) => (p(!0), L(S, null, V(e.options, (o, B) => (p(), A(E, {
90
+ key: o.valueHash,
91
+ class: P({
92
+ "bb-chipsbox-item": !0,
93
+ "bb-chipsbox-item--focused": B === n.value
94
+ }),
95
+ clearable: !0,
96
+ text: o.text,
97
+ "onClick:clear": O((M) => u("option:unselected", o), ["stop"])
98
+ }, {
99
+ default: $(() => [
100
+ z(D(o.text), 1)
101
+ ]),
102
+ _: 2
103
+ }, 1032, ["class", "text", "onClick:clear"]))), 128));
104
+ }
105
+ });
106
+ export {
107
+ K as default
108
+ };
package/dist/index262.js CHANGED
@@ -1,14 +1,102 @@
1
- import { ref as t } from "vue";
2
- const n = () => {
3
- const e = t([]);
4
- return { array: e, set: (...r) => {
5
- e.value = r;
6
- }, add: (...r) => {
7
- e.value.push(...r);
8
- }, remove: (r) => {
9
- e.value = e.value.filter(r);
10
- } };
11
- };
1
+ import { defineComponent as F, ref as H, computed as L, watch as N, createElementBlock as d, openBlock as v, Fragment as S, renderList as A, withModifiers as O, normalizeClass as P, toDisplayString as V } from "vue";
2
+ import { hash as f } from "./index215.js";
3
+ import { isNil as i } from "./index250.js";
4
+ const z = ["text", "onClick:clear"], j = /* @__PURE__ */ F({
5
+ __name: "CommaBox",
6
+ props: {
7
+ options: {}
8
+ },
9
+ emits: ["option:unselected"],
10
+ setup(m, { expose: h, emit: x }) {
11
+ const t = m, a = x, n = H(null), l = L(() => t.options.some((e) => !e.disabled)), u = (e = 1) => {
12
+ const s = i(n.value) ? -1 : n.value;
13
+ let o = (s + e) % t.options.length;
14
+ for (; t.options[o].disabled && o !== s; )
15
+ o = u(e + 1);
16
+ return o;
17
+ }, b = () => {
18
+ if (!l.value) return;
19
+ const e = u();
20
+ n.value = e;
21
+ }, c = (e = 1) => {
22
+ const s = i(n.value) ? 0 : n.value;
23
+ let o = (s - e + t.options.length) % t.options.length;
24
+ for (; t.options[o].disabled && o !== s; )
25
+ o = c(e + 1);
26
+ return o;
27
+ }, w = async () => {
28
+ if (!l.value) return;
29
+ const e = c();
30
+ n.value = e;
31
+ }, I = () => {
32
+ if (!l.value) return;
33
+ let e = 0;
34
+ for (; t.options[e].disabled; )
35
+ e++;
36
+ n.value = e;
37
+ }, g = () => {
38
+ if (!l.value) return;
39
+ let e = t.options.length - 1;
40
+ for (; t.options[e].disabled && e !== 0; )
41
+ e--;
42
+ n.value = e;
43
+ }, k = () => {
44
+ if (!l.value) return;
45
+ let e = 0;
46
+ for (; !t.options[e].selected && t.options.length !== e; )
47
+ e++;
48
+ n.value = e;
49
+ }, _ = () => {
50
+ if (!l.value) return;
51
+ let e = t.options.length - 1;
52
+ for (; t.options[e].selected && e !== 0; )
53
+ e--;
54
+ n.value = e;
55
+ }, C = (e) => {
56
+ if (!l.value) return;
57
+ const s = t.options.findIndex(
58
+ (o) => o.valueHash === e
59
+ );
60
+ s >= 0 && (n.value = s);
61
+ }, r = () => {
62
+ n.value = null;
63
+ }, y = () => {
64
+ if (i(n.value)) return;
65
+ const e = t.options[n.value];
66
+ e.selected && a("option:unselected", e);
67
+ }, B = () => i(n.value) ? void 0 : t.options[n.value];
68
+ return N(
69
+ () => t.options,
70
+ (e, s) => {
71
+ f(e) !== f(s) && r();
72
+ },
73
+ {
74
+ flush: "post"
75
+ }
76
+ ), h({
77
+ focusNext: b,
78
+ focusPrevious: w,
79
+ focusFirst: I,
80
+ focusFirstSelected: k,
81
+ focusLast: g,
82
+ focusLastSelected: _,
83
+ blur: r,
84
+ confirmOption: y,
85
+ focusByHash: C,
86
+ getHighlighted: B
87
+ }), (e, s) => (v(!0), d(S, null, A(e.options, (o, p) => (v(), d("span", {
88
+ key: o.valueHash,
89
+ class: P({
90
+ "bb-commabox-item": !0,
91
+ "bb-commabox-item--focused": p === n.value,
92
+ "bb-commabox-item--has-comma": p !== e.options.length - 1
93
+ }),
94
+ clearable: !0,
95
+ text: o.text,
96
+ "onClick:clear": O((D) => a("option:unselected", o), ["stop"])
97
+ }, V(o.text), 43, z))), 128));
98
+ }
99
+ });
12
100
  export {
13
- n as useArray
101
+ j as default
14
102
  };
package/dist/index264.js CHANGED
@@ -1,16 +1,16 @@
1
- import { defineComponent as U, ref as f, computed as x, watch as D, createElementBlock as d, openBlock as p, withModifiers as X, normalizeStyle as h, normalizeClass as $, createElementVNode as c, renderSlot as m, createTextVNode as z, toDisplayString as g, unref as H, Fragment as Z, renderList as ee } from "vue";
2
- import { isNil as b } from "./index247.js";
3
- import { useVirtualizer as te } from "./index339.js";
1
+ import { defineComponent as U, ref as f, computed as x, watch as D, createElementBlock as d, openBlock as p, withModifiers as X, normalizeStyle as h, normalizeClass as $, createElementVNode as v, renderSlot as m, createTextVNode as z, toDisplayString as g, unref as H, Fragment as Z, renderList as ee } from "vue";
2
+ import { isNil as b } from "./index250.js";
3
+ import { useVirtualizer as te } from "./index337.js";
4
4
  import { isNotNil as oe } from "./index140.js";
5
- import { hash as L } from "./index230.js";
6
- import { useLocale as ne } from "./index213.js";
5
+ import { hash as L } from "./index215.js";
6
+ import { useLocale as ne } from "./index219.js";
7
7
  const le = { class: "bb-listbox__outer-container scrollbar-border" }, ie = {
8
8
  key: 0,
9
9
  class: "bb-listbox__loading"
10
10
  }, se = {
11
11
  key: 1,
12
12
  class: "bb-listbox__no-data"
13
- }, ae = ["aria-selected", "data-index"], ue = { class: "autocomplete-option__content" }, re = { class: "autocomplete-option__label" }, xe = /* @__PURE__ */ U({
13
+ }, ae = ["aria-selected", "data-index"], ue = { class: "autocomplete-option__label" }, be = /* @__PURE__ */ U({
14
14
  __name: "ListBox",
15
15
  props: {
16
16
  compact: { type: Boolean },
@@ -24,30 +24,30 @@ const le = { class: "bb-listbox__outer-container scrollbar-border" }, ie = {
24
24
  },
25
25
  emits: ["option:selected", "option:unselected"],
26
26
  setup(N, { expose: V, emit: O }) {
27
- const o = N, _ = O, { t: y } = ne(), s = f(null), C = (e) => "option_" + JSON.stringify(e).replace(/\W/g, "_"), i = x(
27
+ const o = N, y = O, { t: I } = ne(), s = f(null), C = (e) => "option_" + JSON.stringify(e).replace(/\W/g, "_"), i = x(
28
28
  () => o.options.map((e) => ({ ...e, id: C(e.value) }))
29
- ), v = te({
29
+ ), c = te({
30
30
  get count() {
31
31
  return o.options.length;
32
32
  },
33
33
  getScrollElement: () => s.value ? s.value : null,
34
- estimateSize: () => o.compact ? 33 : 41,
34
+ estimateSize: () => o.compact ? 32 : 40,
35
35
  overscan: 5,
36
- measureElement: () => o.compact ? 33 : 41,
36
+ measureElement: () => o.compact ? 32 : 40,
37
37
  useAnimationFrameWithResizeObserver: !0
38
38
  }), F = (e) => {
39
- e && v.value.measureElement(e);
40
- }, M = x(() => v.value.getVirtualItems()), A = x(() => v.value.getTotalSize()), n = f(null), a = x(
39
+ e && c.value.measureElement(e);
40
+ }, M = x(() => c.value.getVirtualItems()), A = x(() => c.value.getTotalSize()), n = f(null), a = x(
41
41
  () => o.open && o.options.some((e) => !e.disabled)
42
- ), I = (e = 1) => {
42
+ ), _ = (e = 1) => {
43
43
  const l = b(n.value) ? -1 : n.value;
44
44
  let t = (l + e) % o.options.length;
45
45
  for (; o.options[t].disabled && t !== l; )
46
- t = I(e + 1);
46
+ t = _(e + 1);
47
47
  return t;
48
48
  }, R = () => {
49
49
  if (!a.value) return;
50
- const e = I();
50
+ const e = _();
51
51
  n.value = e, u();
52
52
  }, S = (e = 1) => {
53
53
  const l = b(n.value) ? 0 : n.value;
@@ -92,14 +92,14 @@ const le = { class: "bb-listbox__outer-container scrollbar-border" }, ie = {
92
92
  }, k = () => {
93
93
  n.value = null;
94
94
  }, u = () => {
95
- s.value && oe(n.value) && v.value.scrollToIndex(n.value, {
95
+ s.value && oe(n.value) && c.value.scrollToIndex(n.value, {
96
96
  align: "center",
97
97
  behavior: "smooth"
98
98
  });
99
99
  }, w = () => {
100
100
  if (b(n.value) || !o.open) return;
101
101
  const e = o.options[n.value];
102
- e.selected ? _("option:unselected", e) : _("option:selected", e);
102
+ e.selected ? y("option:unselected", e) : y("option:selected", e);
103
103
  }, B = f(0), E = () => {
104
104
  s.value && (B.value = s.value.scrollHeight);
105
105
  }, G = (e) => !e.disabled, K = (e) => {
@@ -124,7 +124,7 @@ const le = { class: "bb-listbox__outer-container scrollbar-border" }, ie = {
124
124
  ), D(
125
125
  () => o.options,
126
126
  (e, l) => {
127
- L(e.map((t) => t.valueHash)) !== L(l.map((t) => t.valueHash)) && (v.value.calculateRange(), E(), k());
127
+ L(e.map((t) => t.valueHash)) !== L(l.map((t) => t.valueHash)) && (c.value.calculateRange(), E(), k());
128
128
  },
129
129
  {
130
130
  flush: "post"
@@ -154,8 +154,8 @@ const le = { class: "bb-listbox__outer-container scrollbar-border" }, ie = {
154
154
  }),
155
155
  onClick: X(K, ["stop"])
156
156
  }, [
157
- c("span", le, [
158
- c("span", {
157
+ v("span", le, [
158
+ v("span", {
159
159
  ref_key: "inner",
160
160
  ref: s,
161
161
  class: "bb-listbox__inner-container",
@@ -164,7 +164,7 @@ const le = { class: "bb-listbox__outer-container scrollbar-border" }, ie = {
164
164
  m(e.$slots, "options:prepend"),
165
165
  e.loading && !e.options.length ? (p(), d("span", ie, [
166
166
  m(e.$slots, "loading", {}, () => [
167
- z(g(e.loadingText || H(y)("common.loadingText").value), 1)
167
+ z(g(e.loadingText || H(I)("common.loadingText").value), 1)
168
168
  ])
169
169
  ])) : e.options.length ? (p(), d("span", {
170
170
  key: 2,
@@ -191,35 +191,33 @@ const le = { class: "bb-listbox__outer-container scrollbar-border" }, ie = {
191
191
  transform: `translateY(${t.start}px)`
192
192
  })
193
193
  }, [
194
- c("span", ue, [
195
- m(e.$slots, "option", {
196
- disabled: !!i.value[t.index].disabled,
197
- focused: n.value === t.index,
198
- index: t.index,
199
- item: i.value[t.index].item,
200
- selected: !!i.value[t.index].selected,
201
- text: i.value[t.index].text,
202
- value: i.value[t.index].value
203
- }, () => [
204
- l[0] || (l[0] = c("svg", {
205
- class: "autocomplete-option__checkbox",
206
- role: "presentation",
207
- viewBox: "276.411 158.834 114.971 114.97"
208
- }, [
209
- c("path", {
210
- d: "M 297.574 224.786 L 318.309 243.134 L 371.568 189.232",
211
- fill: "none",
212
- "stroke-linecap": "round",
213
- "stroke-width": "14px"
214
- })
215
- ], -1)),
216
- c("span", re, g(i.value[t.index].text), 1)
217
- ])
194
+ m(e.$slots, "option", {
195
+ disabled: !!i.value[t.index].disabled,
196
+ focused: n.value === t.index,
197
+ index: t.index,
198
+ item: i.value[t.index].item,
199
+ selected: !!i.value[t.index].selected,
200
+ text: i.value[t.index].text,
201
+ value: i.value[t.index].value
202
+ }, () => [
203
+ l[0] || (l[0] = v("svg", {
204
+ class: "autocomplete-option__checkbox",
205
+ role: "presentation",
206
+ viewBox: "276.411 158.834 114.971 114.97"
207
+ }, [
208
+ v("path", {
209
+ d: "M 297.574 224.786 L 318.309 243.134 L 371.568 189.232",
210
+ fill: "none",
211
+ "stroke-linecap": "round",
212
+ "stroke-width": "14px"
213
+ })
214
+ ], -1)),
215
+ v("span", ue, g(i.value[t.index].text), 1)
218
216
  ])
219
217
  ], 14, ae))), 128))
220
218
  ], 4)) : (p(), d("span", se, [
221
219
  m(e.$slots, "no-data", {}, () => [
222
- z(g(e.noDataText || H(y)("common.noDataText").value), 1)
220
+ z(g(e.noDataText || H(I)("common.noDataText").value), 1)
223
221
  ])
224
222
  ])),
225
223
  m(e.$slots, "options:append")
@@ -229,5 +227,5 @@ const le = { class: "bb-listbox__outer-container scrollbar-border" }, ie = {
229
227
  }
230
228
  });
231
229
  export {
232
- xe as default
230
+ be as default
233
231
  };
package/dist/index267.js CHANGED
@@ -1,11 +1,5 @@
1
- const o = (n, t) => {
2
- for (let e = n.length - 1; e >= 0; e--) {
3
- const i = n[e];
4
- if (t(i, e, n))
5
- return e;
6
- }
7
- return -1;
8
- };
1
+ import t from "./index320.js";
2
+ const r = t;
9
3
  export {
10
- o as findRightIndex
4
+ r as throttle
11
5
  };
package/dist/index268.js CHANGED
@@ -1,25 +1,8 @@
1
- const e = {
2
- inert: ":not([inert]):not([inert] *)",
3
- negTabIndex: ':not([tabindex^="-"])',
4
- disabled: ":not(:disabled)"
5
- }, n = [
6
- `a[href]${e.inert}${e.negTabIndex}`,
7
- `area[href]${e.inert}${e.negTabIndex}`,
8
- `input:not([type="hidden"]):not([type="radio"])${e.inert}${e.negTabIndex}${e.disabled}`,
9
- `input[type="radio"]${e.inert}${e.negTabIndex}${e.disabled}`,
10
- `select${e.inert}${e.negTabIndex}${e.disabled}`,
11
- `textarea${e.inert}${e.negTabIndex}${e.disabled}`,
12
- `button${e.inert}${e.negTabIndex}${e.disabled}`,
13
- `details${e.inert} > summary:first-of-type${e.negTabIndex}`,
14
- // Discard until Firefox supports `:has()`
15
- // See: https://github.com/KittyGiraudel/focusable-selectors/issues/12
16
- // `details:not(:has(> summary))${not.inert}${not.negTabIndex}`,
17
- `iframe${e.inert}${e.negTabIndex}`,
18
- `audio[controls]${e.inert}${e.negTabIndex}`,
19
- `video[controls]${e.inert}${e.negTabIndex}`,
20
- `[contenteditable]${e.inert}${e.negTabIndex}`,
21
- `[tabindex]${e.inert}${e.negTabIndex}`
22
- ];
1
+ import e from "./index321.js";
2
+ import o from "./index322.js";
3
+ import r from "./index323.js";
4
+ const f = new r(o, e)._freeze();
23
5
  export {
24
- n as default
6
+ r as Mime,
7
+ f as default
25
8
  };
package/dist/index269.js CHANGED
@@ -1,5 +1,18 @@
1
- import t from "./index320.js";
2
- const r = t;
1
+ const e = (o, r, f) => o.reduce((t, n) => {
2
+ if (t) return t;
3
+ if (f(n))
4
+ return n;
5
+ if (r in n) {
6
+ const i = e(
7
+ [].concat(n[r]),
8
+ r,
9
+ f
10
+ );
11
+ if (i)
12
+ return i;
13
+ }
14
+ return t;
15
+ }, null);
3
16
  export {
4
- r as throttle
17
+ e as findInTree
5
18
  };
package/dist/index27.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as S, computed as n, createElementBlock as c, openBlock as r, normalizeClass as T, createBlock as w, createVNode as B, createElementVNode as p, resolveDynamicComponent as E, normalizeProps as o, guardReactiveProps as l, withCtx as b, renderSlot as P, createTextVNode as V, toDisplayString as d, unref as m, Fragment as D, renderList as I } from "vue";
2
- import { deburr as N } from "./index252.js";
2
+ import { deburr as N } from "./index254.js";
3
3
  import { getAsPercentage as $ } from "./index136.js";
4
4
  import { useId as F } from "./index8.js";
5
5
  import R from "./index69.js";
package/dist/index270.js CHANGED
@@ -1,8 +1,11 @@
1
- import e from "./index321.js";
2
- import o from "./index322.js";
3
- import r from "./index323.js";
4
- const f = new r(o, e)._freeze();
1
+ const o = (n, t) => {
2
+ for (let e = n.length - 1; e >= 0; e--) {
3
+ const i = n[e];
4
+ if (t(i, e, n))
5
+ return e;
6
+ }
7
+ return -1;
8
+ };
5
9
  export {
6
- r as Mime,
7
- f as default
10
+ o as findRightIndex
8
11
  };
package/dist/index271.js CHANGED
@@ -1,18 +1,25 @@
1
- const e = (o, r, f) => o.reduce((t, n) => {
2
- if (t) return t;
3
- if (f(n))
4
- return n;
5
- if (r in n) {
6
- const i = e(
7
- [].concat(n[r]),
8
- r,
9
- f
10
- );
11
- if (i)
12
- return i;
13
- }
14
- return t;
15
- }, null);
1
+ const e = {
2
+ inert: ":not([inert]):not([inert] *)",
3
+ negTabIndex: ':not([tabindex^="-"])',
4
+ disabled: ":not(:disabled)"
5
+ }, n = [
6
+ `a[href]${e.inert}${e.negTabIndex}`,
7
+ `area[href]${e.inert}${e.negTabIndex}`,
8
+ `input:not([type="hidden"]):not([type="radio"])${e.inert}${e.negTabIndex}${e.disabled}`,
9
+ `input[type="radio"]${e.inert}${e.negTabIndex}${e.disabled}`,
10
+ `select${e.inert}${e.negTabIndex}${e.disabled}`,
11
+ `textarea${e.inert}${e.negTabIndex}${e.disabled}`,
12
+ `button${e.inert}${e.negTabIndex}${e.disabled}`,
13
+ `details${e.inert} > summary:first-of-type${e.negTabIndex}`,
14
+ // Discard until Firefox supports `:has()`
15
+ // See: https://github.com/KittyGiraudel/focusable-selectors/issues/12
16
+ // `details:not(:has(> summary))${not.inert}${not.negTabIndex}`,
17
+ `iframe${e.inert}${e.negTabIndex}`,
18
+ `audio[controls]${e.inert}${e.negTabIndex}`,
19
+ `video[controls]${e.inert}${e.negTabIndex}`,
20
+ `[contenteditable]${e.inert}${e.negTabIndex}`,
21
+ `[tabindex]${e.inert}${e.negTabIndex}`
22
+ ];
16
23
  export {
17
- e as findInTree
24
+ n as default
18
25
  };
package/dist/index273.js CHANGED
@@ -1,4 +1,4 @@
1
- import { get as o } from "./index287.js";
1
+ import { get as o } from "./index289.js";
2
2
  const e = () => ({
3
3
  getItemValue(n, f) {
4
4
  if (typeof f > "u") return n;
package/dist/index275.js CHANGED
@@ -1,7 +1,4 @@
1
- const o = (l, n, f = (r) => r, u) => l.map((r) => Array.isArray(r[n]) ? [
2
- f(r, u),
3
- ...o(r[n], n, f, f(r, u))
4
- ] : [f(r, u)]).flat();
1
+ const t = (d, o) => +d + +o;
5
2
  export {
6
- o as flattenTree
3
+ t as add
7
4
  };
package/dist/index276.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as d, createElementBlock as l, openBlock as o, normalizeClass as u, createElementVNode as t, createBlock as i, createCommentVNode as s, unref as f, withCtx as g, toDisplayString as n } from "vue";
2
- import { useLocale as k } from "./index213.js";
2
+ import { useLocale as k } from "./index219.js";
3
3
  import h from "./index13.js";
4
4
  /* empty css */
5
5
  import C from "./index85.js";
package/dist/index277.js CHANGED
@@ -1,4 +1,7 @@
1
- const t = (d, o) => +d + +o;
1
+ const o = (l, n, f = (r) => r, u) => l.map((r) => Array.isArray(r[n]) ? [
2
+ f(r, u),
3
+ ...o(r[n], n, f, f(r, u))
4
+ ] : [f(r, u)]).flat();
2
5
  export {
3
- t as add
6
+ o as flattenTree
4
7
  };
package/dist/index278.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getType as t } from "./index309.js";
1
+ import { getType as t } from "./index291.js";
2
2
  function o(r) {
3
3
  return t(r) === "Array";
4
4
  }
package/dist/index279.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getType as o } from "./index309.js";
1
+ import { getType as o } from "./index291.js";
2
2
  function c(e) {
3
3
  if (o(e) !== "Object")
4
4
  return !1;
package/dist/index280.js CHANGED
@@ -1,6 +1,5 @@
1
- const e = function(t) {
2
- return (...n) => n.length >= t.length ? t(...n) : e(t.bind(void 0, ...n));
3
- };
1
+ import o from "./index209.js";
2
+ /* empty css */
4
3
  export {
5
- e as curry
4
+ o as default
6
5
  };
package/dist/index281.js CHANGED
@@ -1,5 +1,19 @@
1
- import o from "./index216.js";
2
- /* empty css */
1
+ import { get as t } from "./index289.js";
2
+ const o = () => ({
3
+ getItemText(r, n) {
4
+ if (typeof r == "string" && !n) return r;
5
+ if (n) {
6
+ if (typeof n == "function") {
7
+ let f = n(r);
8
+ return typeof f != "string" && (f = JSON.stringify(f)), f;
9
+ } else if (typeof n == "string") {
10
+ const f = t(r, n);
11
+ return typeof f == "string" ? f : JSON.stringify(f);
12
+ }
13
+ }
14
+ return JSON.stringify(r);
15
+ }
16
+ });
3
17
  export {
4
- o as default
18
+ o as useItemText
5
19
  };
package/dist/index282.js CHANGED
@@ -1,5 +1,30 @@
1
- import o from "./index218.js";
2
- /* empty css */
1
+ function y(t, r) {
2
+ return t > r ? 1 : -1;
3
+ }
4
+ function c(t, r) {
5
+ var n = 5381;
6
+ if (typeof t == "object" && t !== null && (t.toString === Object.prototype.toString || t.toString === Array.prototype.toString)) {
7
+ r || (r = /* @__PURE__ */ new WeakSet());
8
+ for (var p = Object.keys(t).sort(y), i = 0; i < p.length; i++) {
9
+ var s = p[i], e = t[s];
10
+ if (n = 33 * n ^ c(s, r), typeof e == "object" && e !== null && (t.toString === Object.prototype.toString || t.toString === Array.prototype.toString)) {
11
+ if (r.has(e)) continue;
12
+ r.add(e);
13
+ }
14
+ n = 33 * n ^ c(e, r);
15
+ }
16
+ return 33 * n ^ c(t.constructor, r);
17
+ }
18
+ var o = typeof t;
19
+ try {
20
+ t instanceof Date ? o += t.getTime() : o += String(t);
21
+ } catch {
22
+ o += String(Object.assign({}, t));
23
+ }
24
+ for (var a = 0; a < o.length; a++) n = 33 * n ^ o.charCodeAt(a);
25
+ return n;
26
+ }
3
27
  export {
4
- o as default
28
+ c as hash,
29
+ y as sortNumbers
5
30
  };