bitboss-ui 2.0.161 → 2.0.162

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 (171) hide show
  1. package/dist/index100.js +9 -9
  2. package/dist/index111.js +12 -12
  3. package/dist/index119.js +2 -2
  4. package/dist/index121.js +6 -6
  5. package/dist/index123.js +1 -1
  6. package/dist/index125.js +1 -1
  7. package/dist/index127.js +1 -1
  8. package/dist/index128.js +1 -1
  9. package/dist/index129.js +1 -1
  10. package/dist/index13.js +1 -1
  11. package/dist/index131.js +1 -1
  12. package/dist/index133.js +1 -1
  13. package/dist/index134.js +2 -2
  14. package/dist/index15.js +8 -8
  15. package/dist/index17.js +3 -3
  16. package/dist/index19.js +8 -8
  17. package/dist/index207.js +2 -2
  18. package/dist/index208.js +2 -2
  19. package/dist/index209.js +86 -5
  20. package/dist/index21.js +16 -16
  21. package/dist/index211.js +29 -16
  22. package/dist/index212.js +15 -17
  23. package/dist/index213.js +51 -15
  24. package/dist/index214.js +15 -19
  25. package/dist/index215.js +3 -27
  26. package/dist/index216.js +12 -3
  27. package/dist/index217.js +16 -2
  28. package/dist/index218.js +4 -8
  29. package/dist/index219.js +40 -249
  30. package/dist/index220.js +18 -50
  31. package/dist/index221.js +88 -38
  32. package/dist/index223.js +193 -53
  33. package/dist/index225.js +66 -41
  34. package/dist/index227.js +13 -7
  35. package/dist/index228.js +12 -14
  36. package/dist/index229.js +3 -125
  37. package/dist/index23.js +26 -25
  38. package/dist/index230.js +5 -2
  39. package/dist/index231.js +15 -19
  40. package/dist/index232.js +16 -94
  41. package/dist/index233.js +21 -0
  42. package/dist/index234.js +15 -66
  43. package/dist/index235.js +21 -0
  44. package/dist/index236.js +27 -13
  45. package/dist/index237.js +2 -2
  46. package/dist/index238.js +8 -4
  47. package/dist/index239.js +239 -189
  48. package/dist/index240.js +54 -0
  49. package/dist/index241.js +42 -32
  50. package/dist/index242.js +5 -2
  51. package/dist/index243.js +60 -4
  52. package/dist/index244.js +2 -2
  53. package/dist/index245.js +4 -86
  54. package/dist/index246.js +4 -0
  55. package/dist/index247.js +123 -27
  56. package/dist/index248.js +2 -17
  57. package/dist/index249.js +6 -51
  58. package/dist/index25.js +5 -5
  59. package/dist/index250.js +2 -15
  60. package/dist/index251.js +9 -12
  61. package/dist/index252.js +34 -16
  62. package/dist/index253.js +7 -3
  63. package/dist/index254.js +14 -17
  64. package/dist/index255.js +104 -124
  65. package/dist/{index258.js → index257.js} +2 -2
  66. package/dist/index259.js +4 -0
  67. package/dist/index260.js +2 -12
  68. package/dist/index261.js +17 -227
  69. package/dist/index262.js +110 -353
  70. package/dist/index263.js +11 -175
  71. package/dist/index264.js +228 -2
  72. package/dist/index265.js +369 -2
  73. package/dist/index266.js +174 -8
  74. package/dist/index267.js +9 -2
  75. package/dist/index268.js +3 -6
  76. package/dist/index269.js +8 -15
  77. package/dist/index27.js +1 -1
  78. package/dist/index270.js +23 -3
  79. package/dist/index271.js +3 -9
  80. package/dist/index272.js +6 -23
  81. package/dist/index273.js +16 -9
  82. package/dist/index274.js +3 -281
  83. package/dist/index275.js +17 -6
  84. package/dist/index276.js +9 -2
  85. package/dist/index277.js +28 -2
  86. package/dist/index278.js +431 -2
  87. package/dist/index279.js +3 -2
  88. package/dist/index280.js +3 -2
  89. package/dist/index281.js +3 -2
  90. package/dist/index283.js +7 -2
  91. package/dist/index284.js +7 -2
  92. package/dist/index285.js +11 -2
  93. package/dist/index286.js +224 -2
  94. package/dist/index287.js +280 -27
  95. package/dist/index288.js +6 -22
  96. package/dist/index289.js +4 -0
  97. package/dist/index29.js +3 -3
  98. package/dist/index290.js +2 -7
  99. package/dist/index291.js +2 -7
  100. package/dist/index292.js +2 -11
  101. package/dist/index293.js +2 -431
  102. package/dist/index294.js +2 -2
  103. package/dist/index295.js +2 -2
  104. package/dist/index296.js +2 -3
  105. package/dist/index297.js +2 -3
  106. package/dist/index299.js +2 -3
  107. package/dist/index300.js +21 -199
  108. package/dist/index302.js +199 -3
  109. package/dist/index303.js +4 -9
  110. package/dist/index304.js +2 -8
  111. package/dist/index305.js +8 -3
  112. package/dist/index306.js +2 -17
  113. package/dist/index307.js +2 -224
  114. package/dist/index308.js +3 -126
  115. package/dist/index309.js +1 -1
  116. package/dist/index31.js +2 -2
  117. package/dist/index310.js +126 -3
  118. package/dist/index311.js +1 -1
  119. package/dist/index314.js +67 -3
  120. package/dist/index315.js +2 -3
  121. package/dist/index316.js +86 -55
  122. package/dist/index317.js +5 -67
  123. package/dist/index318.js +3 -2
  124. package/dist/index319.js +3 -89
  125. package/dist/index320.js +57 -6
  126. package/dist/index321.js +6 -18
  127. package/dist/index322.js +17 -5
  128. package/dist/index323.js +33 -5
  129. package/dist/index324.js +28 -5
  130. package/dist/index328.js +480 -33
  131. package/dist/index329.js +8 -28
  132. package/dist/index33.js +8 -8
  133. package/dist/index330.js +8 -0
  134. package/dist/index331.js +8 -480
  135. package/dist/index332.js +4 -7
  136. package/dist/index333.js +7 -5
  137. package/dist/index334.js +7 -8
  138. package/dist/index336.js +2 -2
  139. package/dist/index337.js +1 -1
  140. package/dist/index339.js +1 -1
  141. package/dist/index340.js +2 -424
  142. package/dist/index341.js +424 -2
  143. package/dist/index35.js +4 -4
  144. package/dist/index37.js +22 -22
  145. package/dist/index39.js +5 -5
  146. package/dist/index41.js +2 -2
  147. package/dist/index43.js +8 -8
  148. package/dist/index45.js +8 -8
  149. package/dist/index47.js +2 -2
  150. package/dist/index49.js +33 -26
  151. package/dist/index53.js +1 -1
  152. package/dist/index55.js +1 -1
  153. package/dist/index57.js +2 -2
  154. package/dist/index61.js +3 -3
  155. package/dist/index75.js +3 -3
  156. package/dist/index77.js +1 -1
  157. package/dist/index79.js +2 -2
  158. package/dist/index81.js +1 -1
  159. package/dist/index84.js +4 -4
  160. package/dist/index86.js +2 -2
  161. package/dist/index88.js +4 -4
  162. package/dist/index90.js +1 -1
  163. package/package.json +1 -1
  164. package/dist/index210.js +0 -18
  165. package/dist/index222.js +0 -7
  166. package/dist/index224.js +0 -15
  167. package/dist/index226.js +0 -8
  168. package/dist/index256.js +0 -108
  169. package/dist/index282.js +0 -4
  170. package/dist/index325.js +0 -10
  171. /package/dist/{index301.js → index298.js} +0 -0
package/dist/index49.js CHANGED
@@ -1,10 +1,10 @@
1
- import { defineComponent as k, ref as h, computed as B, onMounted as V, onBeforeUnmount as v, openBlock as r, createElementBlock as u, Fragment as M, createVNode as s, normalizeClass as g, withCtx as n, renderSlot as d, unref as $, mergeProps as m, createElementVNode as w } from "vue";
2
- import C from "./index234.js";
1
+ import { defineComponent as h, ref as V, computed as v, onMounted as B, onBeforeUnmount as M, watch as g, openBlock as i, createElementBlock as r, Fragment as w, createVNode as m, normalizeClass as $, withCtx as n, renderSlot as d, unref as C, mergeProps as b, createElementVNode as q } from "vue";
2
+ import E from "./index225.js";
3
3
  /* empty css */
4
- import q from "./index236.js";
5
- import { isNotNil as E } from "./index135.js";
6
- import { MaskInput as I } from "./index263.js";
7
- const N = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type"], z = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type", "value"], P = /* @__PURE__ */ k({
4
+ import I from "./index227.js";
5
+ import { isNotNil as N } from "./index135.js";
6
+ import { MaskInput as z } from "./index266.js";
7
+ const D = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type"], L = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type", "value"], U = /* @__PURE__ */ h({
8
8
  __name: "BaseTextInput",
9
9
  props: {
10
10
  "append:icon": {},
@@ -29,8 +29,8 @@ const N = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
29
29
  type: { default: "text" }
30
30
  },
31
31
  emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
32
- setup(b, { emit: c }) {
33
- const a = b, o = c, t = h(), f = B(() => ({
32
+ setup(c, { emit: f }) {
33
+ const a = c, o = f, t = V(), y = v(() => ({
34
34
  "bb-base-text-input": !0,
35
35
  "bb-base-text-input--disabled": a.disabled,
36
36
  "bb-base-text-input--errors": a.hasErrors,
@@ -38,15 +38,22 @@ const N = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
38
38
  "bb-base-text-input--readonly": a.readonly,
39
39
  "bb-base-text-input--compact": a.compact
40
40
  }));
41
- let i;
42
- const y = (e) => {
41
+ let u;
42
+ const k = (e) => {
43
43
  a.mask && (e.detail.unmasked ? a.emitMasked ? o("update:modelValue", e.detail.masked) : o("update:modelValue", e.detail.unmasked) : o("update:modelValue", null));
44
+ }, s = (e) => {
45
+ t.value.value = e ?? "", u.updateValue(t.value);
44
46
  };
45
- V(() => {
46
- a.mask && (i = new I(t.value, a.mask), a.modelValue && (t.value.value = a.modelValue));
47
- }), v(() => {
48
- a.mask && (i == null || i.destroy());
49
- });
47
+ B(() => {
48
+ a.mask && (u = new z(t.value, a.mask), s(a.modelValue));
49
+ }), M(() => {
50
+ a.mask && (u == null || u.destroy());
51
+ }), g(
52
+ () => a.modelValue,
53
+ (e) => {
54
+ a.mask && s(e);
55
+ }
56
+ );
50
57
  const p = {
51
58
  onBlur: (e) => o("blur", e),
52
59
  onChange: (e) => o("change", e),
@@ -63,9 +70,9 @@ const N = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
63
70
  onMousedown: (e) => o("mousedown", e),
64
71
  onMouseup: (e) => o("mouseup", e)
65
72
  };
66
- return (e, l) => (r(), u(M, null, [
67
- s(q, {
68
- class: g(f.value)
73
+ return (e, l) => (i(), r(w, null, [
74
+ m(I, {
75
+ class: $(y.value)
69
76
  }, {
70
77
  "prepend-outer": n(() => [
71
78
  d(e.$slots, "prepend-outer")
@@ -74,11 +81,11 @@ const N = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
74
81
  d(e.$slots, "append-outer")
75
82
  ]),
76
83
  default: n(() => [
77
- s(C, {
84
+ m(E, {
78
85
  "append:icon": a["append:icon"],
79
- clearable: a.clearable && $(E)(a.modelValue),
86
+ clearable: a.clearable && C(N)(a.modelValue),
80
87
  "prepend:icon": a["prepend:icon"],
81
- "onClick:clear": l[0] || (l[0] = (D) => e.$emit("update:modelValue", null))
88
+ "onClick:clear": l[0] || (l[0] = (F) => e.$emit("update:modelValue", null))
82
89
  }, {
83
90
  prepend: n(() => [
84
91
  d(e.$slots, "prepend")
@@ -93,7 +100,7 @@ const N = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
93
100
  d(e.$slots, "suffix")
94
101
  ]),
95
102
  default: n(() => [
96
- e.mask ? (r(), u("input", m({
103
+ e.mask ? (i(), r("input", b({
97
104
  key: 0,
98
105
  id: e.id,
99
106
  ref_key: "input",
@@ -111,7 +118,7 @@ const N = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
111
118
  required: e.required,
112
119
  size: "1",
113
120
  type: e.type
114
- }, p, { onMaska: y }), null, 16, N)) : (r(), u("input", m({
121
+ }, p, { onMaska: k }), null, 16, D)) : (i(), r("input", b({
115
122
  key: 1,
116
123
  id: e.id,
117
124
  ref_key: "input",
@@ -130,17 +137,17 @@ const N = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
130
137
  size: "1",
131
138
  type: e.type,
132
139
  value: e.modelValue
133
- }, p), null, 16, z))
140
+ }, p), null, 16, L))
134
141
  ]),
135
142
  _: 3
136
143
  }, 8, ["append:icon", "clearable", "prepend:icon"])
137
144
  ]),
138
145
  _: 3
139
146
  }, 8, ["class"]),
140
- l[1] || (l[1] = w("span", null, null, -1))
147
+ l[1] || (l[1] = q("span", null, null, -1))
141
148
  ], 64));
142
149
  }
143
150
  });
144
151
  export {
145
- P as default
152
+ U as default
146
153
  };
package/dist/index53.js CHANGED
@@ -3,7 +3,7 @@ import B from "./index126.js";
3
3
  /* empty css */
4
4
  import L from "./index127.js";
5
5
  /* empty css */
6
- import { useLocale as g } from "./index224.js";
6
+ import { useLocale as g } from "./index228.js";
7
7
  const $ = {
8
8
  class: "bb-alert__inner-container",
9
9
  role: "alert"
package/dist/index55.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as b, computed as z, ref as o, onMounted as g, openBlock as l, createElementBlock as i, normalizeProps as _, guardReactiveProps as h, renderSlot as k } from "vue";
2
- import { isCssColor as y } from "./index242.js";
2
+ import { isCssColor as y } from "./index244.js";
3
3
  import { wait as C } from "./index130.js";
4
4
  const w = ["alt", "sizes", "src", "srcset"], B = {
5
5
  key: 1,
package/dist/index57.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as p, useSlots as d, computed as n, openBlock as m, createElementBlock as u, normalizeClass as g, createElementVNode as s, renderSlot as l, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
2
- import { isCssColor as r } from "./index242.js";
3
- import { isNil as B } from "./index265.js";
2
+ import { isCssColor as r } from "./index244.js";
3
+ import { isNil as B } from "./index259.js";
4
4
  const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, S = /* @__PURE__ */ p({
5
5
  __name: "BbBadge",
6
6
  props: {
package/dist/index61.js CHANGED
@@ -7,9 +7,9 @@ import p from "./index127.js";
7
7
  /* empty css */
8
8
  import T from "./index129.js";
9
9
  /* empty css */
10
- import { pickBy as W } from "./index266.js";
11
- import { noop as w } from "./index267.js";
12
- import { useLocale as D } from "./index224.js";
10
+ import { pickBy as W } from "./index267.js";
11
+ import { noop as w } from "./index268.js";
12
+ import { useLocale as D } from "./index228.js";
13
13
  const E = {
14
14
  key: 2,
15
15
  class: "bb-button__loading-label sr-only"
package/dist/index75.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as X, computed as F, ref as y, openBlock as h, createElementBlock as D, mergeProps as A, createElementVNode as _, renderSlot as g, normalizeProps as Y, guardReactiveProps as Z, unref as $, createVNode as B, withCtx as O, normalizeStyle as x, Fragment as K, renderList as ee, createBlock as P, createCommentVNode as j, toDisplayString as te } from "vue";
2
- import { findRightIndex as H } from "./index271.js";
2
+ import { findRightIndex as H } from "./index269.js";
3
3
  import { useId as ne } from "./index8.js";
4
4
  import { wait as oe } from "./index130.js";
5
5
  import { useIntersectionObserver as ae } from "./index132.js";
6
6
  import le from "./index13.js";
7
7
  /* empty css */
8
- import N from "./index272.js";
9
- import se from "./index232.js";
8
+ import N from "./index270.js";
9
+ import se from "./index221.js";
10
10
  /* empty css */
11
11
  import V from "./index127.js";
12
12
  /* empty css */
package/dist/index77.js CHANGED
@@ -9,7 +9,7 @@ import S from "./index127.js";
9
9
  /* empty css */
10
10
  import R from "./index129.js";
11
11
  /* empty css */
12
- import { useLocale as T } from "./index224.js";
12
+ import { useLocale as T } from "./index228.js";
13
13
  const Z = { class: "bb-dropdown-button__content" }, q = {
14
14
  key: 1,
15
15
  class: "bb-dropdown-button__loading-label sr-only"
package/dist/index79.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as j, ref as g, watch as x, computed as m, openBlock as V, createBlock as G, resolveDynamicComponent as K, normalizeClass as O, withCtx as M, createElementVNode as c, withModifiers as y, renderSlot as U, normalizeProps as Y, guardReactiveProps as Z, createTextVNode as J, unref as Q, createVNode as W, createElementBlock as F, Fragment as X, renderList as ee, toDisplayString as te } from "vue";
2
- import { findInTree as ae } from "./index269.js";
2
+ import { findInTree as ae } from "./index273.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index128.js";
5
5
  /* empty css */
@@ -53,7 +53,7 @@ const le = ["accept", "autofocus", "disabled", "multiple"], se = { class: "bb-dr
53
53
  const r = a.accept[t];
54
54
  if (r.includes("/")) e.push(r);
55
55
  else {
56
- b || (b = (await import("./index268.js")).default);
56
+ b || (b = (await import("./index272.js")).default);
57
57
  const o = b.getType(r);
58
58
  if (!o)
59
59
  throw new Error(
package/dist/index81.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, openBlock as g, createBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
2
- import { throttle as c } from "./index270.js";
2
+ import { throttle as c } from "./index271.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index84.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as ae, ref as l, useAttrs as ne, computed as u, getCurrentInstance as ie, nextTick as re, onBeforeUnmount as A, onMounted as ue, watch as ce, openBlock as g, createBlock as de, withCtx as fe, createElementVNode as s, mergeProps as E, createElementBlock as $, renderSlot as n, createTextVNode as ve, toDisplayString as H, unref as pe, createCommentVNode as T } from "vue";
2
- import { useFocusTrap as be } from "./index225.js";
2
+ import { useFocusTrap as be } from "./index219.js";
3
3
  import { useId as I } from "./index8.js";
4
4
  import { wait as D } from "./index130.js";
5
- import { useModalsState as b } from "./index227.js";
6
- import me from "./index228.js";
5
+ import { useModalsState as b } from "./index253.js";
6
+ import me from "./index254.js";
7
7
  import { useMobile as ye } from "./index9.js";
8
- import { useLocale as he } from "./index224.js";
8
+ import { useLocale as he } from "./index228.js";
9
9
  const ge = ["inert"], _e = { class: "bb-offcanvas-close" }, ke = ["aria-label"], De = /* @__PURE__ */ ae({
10
10
  __name: "BbOffCanvas",
11
11
  props: {
package/dist/index86.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as E, computed as h, ref as g, onMounted as P, onBeforeUnmount as W, openBlock as k, createElementBlock as V, normalizeClass as $, createElementVNode as i, createVNode as S, unref as v, withCtx as w, renderSlot as c, toDisplayString as m, Fragment as R, renderList as F, nextTick as x } from "vue";
2
- import { debounce as T } from "./index273.js";
2
+ import { debounce as T } from "./index251.js";
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  import z from "./index13.js";
6
6
  /* empty css */
7
- import { useLocale as D } from "./index224.js";
7
+ import { useLocale as D } from "./index228.js";
8
8
  const G = ["aria-label"], I = { class: "bb-pagination__page-label sr-only" }, O = { class: "bb-pagination__page-label" }, j = { class: "bb-pagination__page-label" }, q = { class: "bb-pagination__page-label sr-only" }, Z = /* @__PURE__ */ E({
9
9
  __name: "BbPagination",
10
10
  props: {
package/dist/index88.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as O, ref as n, computed as v, openBlock as y, createElementBlock as S, mergeProps as F, createElementVNode as p, renderSlot as k, normalizeProps as H, guardReactiveProps as V, createVNode as q, withCtx as T, createBlock as I, toDisplayString as W, unref as z, createCommentVNode as A, nextTick as R } from "vue";
2
- import { useFocusTrap as j } from "./index225.js";
2
+ import { useFocusTrap as j } from "./index219.js";
3
3
  import { useId as G } from "./index8.js";
4
4
  import { useIntersectionObserver as J } from "./index132.js";
5
- import { waitFor as K } from "./index226.js";
5
+ import { waitFor as K } from "./index249.js";
6
6
  import Q from "./index13.js";
7
7
  /* empty css */
8
- import U from "./index232.js";
8
+ import U from "./index221.js";
9
9
  /* empty css */
10
- import { useLocale as X } from "./index224.js";
10
+ import { useLocale as X } from "./index228.js";
11
11
  import { useDebounceFn as Y } from "./index206.js";
12
12
  const Z = { class: "bb-popover__close-label sr-only" }, ce = /* @__PURE__ */ O({
13
13
  __name: "BbPopover",
package/dist/index90.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, computed as a, openBlock as l, createElementBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
2
- import { clamp as p } from "./index207.js";
2
+ import { clamp as p } from "./index208.js";
3
3
  import { getAsPercentageBetween as i } from "./index131.js";
4
4
  const _ = /* @__PURE__ */ r({
5
5
  __name: "BbProgress",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.0.161",
3
+ "version": "2.0.162",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
package/dist/index210.js DELETED
@@ -1,18 +0,0 @@
1
- import { getDefaultExportFromCjs as f, commonjsGlobal as n } from "./index275.js";
2
- import { __module as e } from "./index277.js";
3
- (function(s, a) {
4
- (function(i, t) {
5
- s.exports = t();
6
- })(n, function() {
7
- return function(i, t) {
8
- t.prototype.isSameOrAfter = function(r, o) {
9
- return this.isSame(r, o) || this.isAfter(r, o);
10
- };
11
- };
12
- });
13
- })(e);
14
- var m = e.exports;
15
- const c = /* @__PURE__ */ f(m);
16
- export {
17
- c as default
18
- };
package/dist/index222.js DELETED
@@ -1,7 +0,0 @@
1
- import o from "./index288.js";
2
- /* empty css */
3
- import t from "./index290.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8c6b13bd"]]);
5
- export {
6
- m as default
7
- };
package/dist/index224.js DELETED
@@ -1,15 +0,0 @@
1
- import { locales as t } from "./index291.js";
2
- import { _config as m } from "./index4.js";
3
- import { get as c } from "./index292.js";
4
- import { readonly as l, computed as n } from "vue";
5
- const p = (o, ...r) => l(
6
- n(() => c(t[m.locale], o).replace(
7
- /\{(\d+)\}/g,
8
- (a, e) => r[e]
9
- ))
10
- ), d = () => ({
11
- t: p
12
- });
13
- export {
14
- d as useLocale
15
- };
package/dist/index226.js DELETED
@@ -1,8 +0,0 @@
1
- const o = (e, t = 50) => new Promise((r) => {
2
- const n = setInterval(() => {
3
- e() && (clearInterval(n), r());
4
- }, t);
5
- });
6
- export {
7
- o as waitFor
8
- };
package/dist/index256.js DELETED
@@ -1,108 +0,0 @@
1
- import { defineComponent as y, ref as F, computed as H, watch as N, openBlock as p, createElementBlock as L, Fragment as S, renderList as V, createBlock as A, normalizeClass as O, withModifiers as P, withCtx as $, createTextVNode as z, toDisplayString as D } from "vue";
2
- import { hash as d } from "./index216.js";
3
- import { isNil as l } from "./index265.js";
4
- import E from "./index125.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: O({
92
- "bb-chipsbox-item": !0,
93
- "bb-chipsbox-item--focused": B === n.value
94
- }),
95
- clearable: !0,
96
- text: o.text,
97
- "onClick:clear": P((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/index282.js DELETED
@@ -1,4 +0,0 @@
1
- var e = { exports: {} };
2
- export {
3
- e as __module
4
- };
package/dist/index325.js DELETED
@@ -1,10 +0,0 @@
1
- import { getType as o } from "./index335.js";
2
- function c(e) {
3
- if (o(e) !== "Object")
4
- return !1;
5
- const t = Object.getPrototypeOf(e);
6
- return !!t && t.constructor === Object && t === Object.prototype;
7
- }
8
- export {
9
- c as isPlainObject
10
- };
File without changes