bitboss-ui 2.0.68 → 2.0.70

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 (136) hide show
  1. package/dist/index110.js +4 -4
  2. package/dist/index118.js +1 -1
  3. package/dist/index120.js +5 -5
  4. package/dist/index122.js +1 -1
  5. package/dist/index127.js +1 -1
  6. package/dist/index13.js +1 -1
  7. package/dist/index130.js +1 -1
  8. package/dist/index132.js +2 -2
  9. package/dist/index133.js +2 -2
  10. package/dist/index15.js +4 -4
  11. package/dist/index19.js +2 -2
  12. package/dist/index204.js +81 -2
  13. package/dist/index206.js +1 -1
  14. package/dist/index208.js +52 -80
  15. package/dist/index21.js +14 -14
  16. package/dist/index210.js +12 -52
  17. package/dist/index211.js +22 -0
  18. package/dist/index212.js +3 -12
  19. package/dist/index213.js +3 -20
  20. package/dist/index214.js +40 -3
  21. package/dist/index215.js +6 -5
  22. package/dist/index216.js +7 -16
  23. package/dist/index217.js +8 -16
  24. package/dist/index218.js +160 -17
  25. package/dist/index219.js +84 -19
  26. package/dist/index221.js +2 -3
  27. package/dist/index222.js +126 -2
  28. package/dist/index223.js +5 -249
  29. package/dist/index224.js +124 -51
  30. package/dist/index225.js +19 -44
  31. package/dist/index226.js +16 -5
  32. package/dist/index227.js +16 -49
  33. package/dist/index228.js +2 -162
  34. package/dist/index229.js +2 -84
  35. package/dist/index23.js +15 -15
  36. package/dist/index230.js +7 -0
  37. package/dist/index231.js +353 -110
  38. package/dist/index232.js +16 -122
  39. package/dist/index233.js +27 -2
  40. package/dist/index234.js +3 -41
  41. package/dist/index235.js +248 -5
  42. package/dist/index236.js +52 -5
  43. package/dist/index237.js +44 -369
  44. package/dist/index238.js +5 -3
  45. package/dist/index239.js +60 -7
  46. package/dist/index240.js +3 -10
  47. package/dist/index241.js +2 -3
  48. package/dist/index242.js +18 -2
  49. package/dist/index243.js +105 -17
  50. package/dist/{index246.js → index245.js} +1 -1
  51. package/dist/index247.js +4 -0
  52. package/dist/index248.js +10 -2
  53. package/dist/index249.js +3 -3
  54. package/dist/index25.js +5 -5
  55. package/dist/index250.js +4 -3
  56. package/dist/index251.js +3 -6
  57. package/dist/index253.js +6 -8
  58. package/dist/index254.js +176 -23
  59. package/dist/index255.js +430 -8
  60. package/dist/index256.js +88 -3
  61. package/dist/index257.js +6 -3
  62. package/dist/index259.js +3 -7
  63. package/dist/index260.js +6 -173
  64. package/dist/index261.js +23 -281
  65. package/dist/index262.js +3 -6
  66. package/dist/index263.js +12 -2
  67. package/dist/index264.js +9 -2
  68. package/dist/index265.js +9 -2
  69. package/dist/index266.js +17 -2
  70. package/dist/index267.js +4 -2
  71. package/dist/index268.js +9 -2
  72. package/dist/index269.js +200 -2
  73. package/dist/index27.js +1 -1
  74. package/dist/index270.js +281 -2
  75. package/dist/index271.js +6 -2
  76. package/dist/index272.js +2 -2
  77. package/dist/index273.js +2 -28
  78. package/dist/index274.js +2 -22
  79. package/dist/index275.js +4 -0
  80. package/dist/index276.js +2 -3
  81. package/dist/index277.js +126 -12
  82. package/dist/index278.js +21 -8
  83. package/dist/index280.js +2 -17
  84. package/dist/index281.js +2 -4
  85. package/dist/index282.js +2 -2
  86. package/dist/index283.js +2 -126
  87. package/dist/index284.js +2 -431
  88. package/dist/index285.js +1 -21
  89. package/dist/index286.js +30 -0
  90. package/dist/index287.js +22 -2
  91. package/dist/index29.js +3 -3
  92. package/dist/index291.js +224 -5
  93. package/dist/index292.js +2 -65
  94. package/dist/index293.js +3 -89
  95. package/dist/index294.js +211 -3
  96. package/dist/index295.js +2 -3
  97. package/dist/index296.js +59 -204
  98. package/dist/index297.js +5 -224
  99. package/dist/index298.js +33 -79
  100. package/dist/index299.js +7 -0
  101. package/dist/index300.js +7 -4
  102. package/dist/index301.js +4 -8
  103. package/dist/index302.js +4 -4
  104. package/dist/index303.js +59 -4
  105. package/dist/index304.js +3 -58
  106. package/dist/index305.js +79 -4
  107. package/dist/index307.js +6 -6
  108. package/dist/index308.js +6 -18
  109. package/dist/index309.js +17 -5
  110. package/dist/index312.js +1 -1
  111. package/dist/{index313.js → index314.js} +1 -1
  112. package/dist/index33.js +2 -2
  113. package/dist/index35.js +1 -1
  114. package/dist/index37.js +12 -12
  115. package/dist/index39.js +3 -3
  116. package/dist/index43.js +2 -2
  117. package/dist/index45.js +6 -6
  118. package/dist/index47.js +9 -9
  119. package/dist/index49.js +2 -2
  120. package/dist/index53.js +1 -1
  121. package/dist/index61.js +2 -2
  122. package/dist/index75.js +3 -3
  123. package/dist/index79.js +2 -2
  124. package/dist/index81.js +1 -1
  125. package/dist/index84.js +2 -2
  126. package/dist/index86.js +1 -1
  127. package/dist/index88.js +3 -3
  128. package/dist/index90.js +1 -1
  129. package/package.json +1 -1
  130. package/dist/index209.js +0 -10
  131. package/dist/index220.js +0 -29
  132. package/dist/index244.js +0 -108
  133. package/dist/index279.js +0 -11
  134. package/dist/index288.js +0 -202
  135. package/dist/index306.js +0 -35
  136. /package/dist/{index252.js → index258.js} +0 -0
package/dist/index33.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as L, ref as m, toRef as l, openBlock as E, createBlock as $, unref as p, withCtx as t, renderSlot as i, normalizeProps as f, guardReactiveProps as b, createVNode as B, mergeProps as v, createSlots as C } from "vue";
2
- import { useOptions as w } from "./index228.js";
2
+ import { useOptions as w } from "./index218.js";
3
3
  import q from "./index31.js";
4
4
  /* empty css */
5
- import z from "./index229.js";
5
+ import z from "./index219.js";
6
6
  /* empty css */
7
7
  const N = /* @__PURE__ */ L({
8
8
  __name: "BaseRadioGroup",
package/dist/index35.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as C, ref as g, computed as f, openBlock as l, createElementBlock as i, mergeProps as h, createElementVNode as r, renderSlot as p, Fragment as I, renderList as V, normalizeClass as B, toDisplayString as M } from "vue";
2
2
  import { booleanishToBoolean as D } from "./index207.js";
3
- import { identity as F } from "./index233.js";
3
+ import { identity as F } from "./index228.js";
4
4
  import { isCssColor as v } from "./index205.js";
5
5
  import { isNotNil as T } from "./index134.js";
6
6
  const $ = { class: "bb-base-rating__inner-container" }, q = { class: "bb-base-rating__label-text sr-only" }, x = ["id", "aria-describedby", "autofocus", "checked", "disabled", "name", "required", "value"], H = ["height", "width"], J = /* @__PURE__ */ C({
package/dist/index37.js CHANGED
@@ -6,23 +6,23 @@ import { useMobile as Re } from "./index9.js";
6
6
  import Je from "./index127.js";
7
7
  /* empty css */
8
8
  import { isNotNil as Ye } from "./index134.js";
9
- import { last as je } from "./index222.js";
10
- import { matchAnyKey as j } from "./index243.js";
11
- import { useFloating as Ge } from "./index231.js";
9
+ import { last as je } from "./index229.js";
10
+ import { matchAnyKey as j } from "./index242.js";
11
+ import { useFloating as Ge } from "./index222.js";
12
12
  import { useIntersectionObserver as Xe } from "./index132.js";
13
- import { useLogger as Ze } from "./index209.js";
14
- import { useOptions as et } from "./index228.js";
13
+ import { useLogger as Ze } from "./index217.js";
14
+ import { useOptions as et } from "./index218.js";
15
15
  import { wait as L } from "./index131.js";
16
16
  import { when as tt } from "./index206.js";
17
- import ot from "./index244.js";
17
+ import ot from "./index243.js";
18
18
  /* empty css */
19
- import nt from "./index246.js";
19
+ import nt from "./index245.js";
20
20
  /* empty css */
21
- import lt from "./index210.js";
21
+ import lt from "./index208.js";
22
22
  /* empty css */
23
- import at from "./index212.js";
24
- import { waitFor as it } from "./index235.js";
25
- import { autoUpdate as rt, flip as st, offset as ut, shift as pt } from "./index237.js";
23
+ import at from "./index210.js";
24
+ import { waitFor as it } from "./index215.js";
25
+ import { autoUpdate as rt, flip as st, offset as ut, shift as pt } from "./index231.js";
26
26
  const dt = { class: "bb-base-select__input-container" }, ct = {
27
27
  key: 1,
28
28
  class: "bb-base-select__max-reached"
@@ -71,7 +71,7 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
71
71
  const t = G, h = X;
72
72
  if (t.multiple && !Array.isArray(t.modelValue))
73
73
  throw new Error('Multiple is set to "true" but modelValue is not an array.');
74
- const Z = Me(() => import("./index242.js")), A = v(null), B = v(null), a = v(null), H = v(null), P = v(null), u = y(
74
+ const Z = Me(() => import("./index241.js")), A = v(null), B = v(null), a = v(null), H = v(null), P = v(null), u = y(
75
75
  () => t.comma ? H.value : P.value
76
76
  ), { isMobile: ee } = Re(), te = y(
77
77
  () => t.allowWriting === "not-mobile" && ee.value ? "none" : void 0
package/dist/index39.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as U, ref as d, computed as h, onMounted as W, watch as Z, openBlock as g, createElementBlock as w, mergeProps as T, renderSlot as f, createElementVNode as c, Fragment as ee, renderList as ae, createCommentVNode as H, normalizeProps as re, guardReactiveProps as te, unref as b, normalizeClass as F, normalizeStyle as I } from "vue";
2
- import { clamp as le } from "./index204.js";
3
- import { head as O } from "./index248.js";
2
+ import { clamp as le } from "./index221.js";
3
+ import { head as O } from "./index247.js";
4
4
  import { isCssColor as Y } from "./index205.js";
5
5
  import { isNil as P } from "./index129.js";
6
6
  import { isNotNil as ne } from "./index134.js";
7
7
  import { transposeValue as y } from "./index130.js";
8
- import { hash as J } from "./index221.js";
8
+ import { hash as J } from "./index234.js";
9
9
  const oe = { class: "bb-base-slider__slider-container" }, ie = {
10
10
  key: 0,
11
11
  class: "bb-base-slider__ticks-container"
package/dist/index43.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as $, ref as p, toRef as l, openBlock as w, createBlock as B, unref as f, withCtx as i, renderSlot as s, normalizeProps as b, guardReactiveProps as h, createVNode as O, mergeProps as v, createSlots as z } from "vue";
2
- import { useOptions as F } from "./index228.js";
2
+ import { useOptions as F } from "./index218.js";
3
3
  import M from "./index41.js";
4
4
  /* empty css */
5
- import S from "./index229.js";
5
+ import S from "./index219.js";
6
6
  /* empty css */
7
7
  const I = /* @__PURE__ */ $({
8
8
  __name: "BaseSwitchGroup",
package/dist/index45.js CHANGED
@@ -4,15 +4,15 @@ import { defineComponent as Y, ref as i, computed as k, toRef as B, openBlock as
4
4
  import ue from "./index127.js";
5
5
  /* empty css */
6
6
  import { isNotNil as se } from "./index134.js";
7
- import { last as de } from "./index222.js";
8
- import { useOptions as pe } from "./index228.js";
9
- import ce from "./index244.js";
7
+ import { last as de } from "./index229.js";
8
+ import { useOptions as pe } from "./index218.js";
9
+ import ce from "./index243.js";
10
10
  /* empty css */
11
- import me from "./index246.js";
11
+ import me from "./index245.js";
12
12
  /* empty css */
13
- import fe from "./index210.js";
13
+ import fe from "./index208.js";
14
14
  /* empty css */
15
- import ve from "./index212.js";
15
+ import ve from "./index210.js";
16
16
  const ye = { class: "bb-base-tag__input-container" }, be = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], qe = /* @__PURE__ */ Y({
17
17
  __name: "BaseTag",
18
18
  props: {
package/dist/index47.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as w, ref as g, computed as u, onMounted as y, watch as V, nextTick as k, openBlock as x, createBlock as B, normalizeClass as $, withCtx as r, renderSlot as t, createVNode as i, createElementVNode as C, mergeProps as T } from "vue";
2
- import v from "./index212.js";
3
- import E from "./index210.js";
2
+ import v from "./index210.js";
3
+ import E from "./index208.js";
4
4
  /* empty css */
5
5
  import G from "./index127.js";
6
6
  /* empty css */
@@ -42,17 +42,17 @@ const M = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "n
42
42
  () => o.modelValue ? o.modelValue : ""
43
43
  );
44
44
  y(() => {
45
- o.autoGrow && o.modelValue && l();
45
+ o.autoGrow && o.modelValue && s();
46
46
  }), V(
47
47
  () => o.modelValue,
48
48
  () => {
49
- o.autoGrow && k(l);
49
+ o.autoGrow && k(s);
50
50
  }
51
51
  );
52
52
  function b(e) {
53
53
  if (e.stopPropagation(), e.target instanceof HTMLTextAreaElement) {
54
- let s = e.target.value;
55
- a("input", e), a("update:modelValue", s || null);
54
+ let l = e.target.value;
55
+ a("input", e), a("update:modelValue", l || null);
56
56
  }
57
57
  }
58
58
  function f(e) {
@@ -66,10 +66,10 @@ const M = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "n
66
66
  onMousedown: (e) => a("mousedown", e),
67
67
  onMouseup: (e) => a("mouseup", e)
68
68
  };
69
- function l() {
69
+ function s() {
70
70
  n.value && (n.value.style.height = "0px", n.value.style.height = `${n.value.scrollHeight}px`);
71
71
  }
72
- return (e, s) => (x(), B(v, {
72
+ return (e, l) => (x(), B(v, {
73
73
  class: $(c.value)
74
74
  }, {
75
75
  "prepend-outer": r(() => [
@@ -96,7 +96,7 @@ const M = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "n
96
96
  t(e.$slots, "suffix")
97
97
  ]),
98
98
  default: r(() => [
99
- i(G, null, {
99
+ i(G, { tag: "span" }, {
100
100
  default: r(() => [
101
101
  C("textarea", T({
102
102
  id: e.id,
package/dist/index49.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as m, computed as b, openBlock as c, createElementBlock as f, Fragment as y, createVNode as p, normalizeClass as h, withCtx as n, renderSlot as r, createElementVNode as l, mergeProps as g } from "vue";
2
- import B from "./index210.js";
2
+ import B from "./index208.js";
3
3
  /* empty css */
4
- import k from "./index212.js";
4
+ import k from "./index210.js";
5
5
  const w = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "type", "value"], V = /* @__PURE__ */ m({
6
6
  __name: "BaseTextInput",
7
7
  props: {
package/dist/index53.js CHANGED
@@ -73,7 +73,7 @@ const B = {
73
73
  m(u(e.title), 1)
74
74
  ])
75
75
  ]),
76
- t("p", N, [
76
+ t("div", N, [
77
77
  n(e.$slots, "text", c(d({ text: e.text })), () => [
78
78
  m(u(e.text), 1)
79
79
  ])
package/dist/index61.js CHANGED
@@ -7,8 +7,8 @@ import r from "./index126.js";
7
7
  /* empty css */
8
8
  import $ from "./index128.js";
9
9
  /* empty css */
10
- import { pickBy as P } from "./index240.js";
11
- import { noop as T } from "./index241.js";
10
+ import { pickBy as P } from "./index248.js";
11
+ import { noop as T } from "./index249.js";
12
12
  const W = {
13
13
  key: 2,
14
14
  class: "bb-button__loading-label sr-only"
package/dist/index75.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as Q, defineAsyncComponent as W, computed as A, ref as g, openBlock as $, createElementBlock as D, mergeProps as B, createElementVNode as O, renderSlot as w, normalizeProps as X, guardReactiveProps as Y, unref as h, createBlock as Z, withCtx as K, normalizeStyle as _, Fragment as P, renderList as x, createVNode as ee, createCommentVNode as te } from "vue";
2
- import { findRightIndex as H } from "./index253.js";
2
+ import { findRightIndex as H } from "./index260.js";
3
3
  import { useId as ne } from "./index8.js";
4
4
  import { wait as oe } from "./index131.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 "./index254.js";
8
+ import N from "./index261.js";
9
9
  const me = /* @__PURE__ */ Q({
10
10
  __name: "BbDropdown",
11
11
  props: {
@@ -24,7 +24,7 @@ const me = /* @__PURE__ */ Q({
24
24
  },
25
25
  setup(V) {
26
26
  const j = W(
27
- () => import("./index250.js")
27
+ () => import("./index259.js")
28
28
  ), r = V, d = r.id ?? `bb_${ne().id.value}`, m = A(() => {
29
29
  let e = r.items.findIndex((t) => !t.disabled), o = H(
30
30
  r.items,
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 "./index252.js";
2
+ import { findInTree as ae } from "./index258.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index127.js";
5
5
  /* empty css */
@@ -56,7 +56,7 @@ const le = ["accept", "autofocus", "disabled", "multiple"], se = {
56
56
  const r = a.accept[t];
57
57
  if (r.includes("/")) e.push(r);
58
58
  else {
59
- b || (b = (await import("./index251.js")).default);
59
+ b || (b = (await import("./index257.js")).default);
60
60
  const o = b.getType(r);
61
61
  if (!o)
62
62
  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 "./index238.js";
2
+ import { throttle as c } from "./index213.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index84.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as te, ref as l, useAttrs as oe, getCurrentInstance as le, computed as p, nextTick as se, onBeforeUnmount as x, onMounted as ae, watch as ne, openBlock as g, createBlock as ie, Teleport as re, createElementVNode as s, mergeProps as O, createElementBlock as V, renderSlot as n, createTextVNode as ue, toDisplayString as S, createCommentVNode as z } from "vue";
2
- import { useFocusTrap as ce } from "./index234.js";
2
+ import { useFocusTrap as ce } from "./index214.js";
3
3
  import { useId as A } from "./index8.js";
4
4
  import { wait as E } from "./index131.js";
5
- import { useModalsState as b } from "./index239.js";
5
+ import { useModalsState as b } from "./index216.js";
6
6
  const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"], ge = /* @__PURE__ */ te({
7
7
  __name: "BbOffCanvas",
8
8
  props: {
package/dist/index86.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as A, computed as _, ref as g, onMounted as E, onBeforeUnmount as P, openBlock as y, createElementBlock as k, normalizeClass as C, createElementVNode as i, createVNode as V, unref as S, withCtx as h, renderSlot as b, Fragment as W, renderList as R, toDisplayString as M, nextTick as $ } from "vue";
2
- import { debounce as F } from "./index255.js";
2
+ import { debounce as F } from "./index268.js";
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  import w from "./index13.js";
package/dist/index88.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as S, defineAsyncComponent as H, ref as n, computed as m, openBlock as b, createElementBlock as q, mergeProps as A, createElementVNode as p, renderSlot as y, normalizeProps as I, guardReactiveProps as V, createBlock as C, unref as W, withCtx as $, createCommentVNode as T, nextTick as z } from "vue";
2
- import { useFocusTrap as R } from "./index234.js";
2
+ import { useFocusTrap as R } from "./index214.js";
3
3
  import { useId as j } from "./index8.js";
4
4
  import { useIntersectionObserver as G } from "./index132.js";
5
- import { waitFor as J } from "./index235.js";
5
+ import { waitFor as J } from "./index215.js";
6
6
  import K from "./index13.js";
7
7
  /* empty css */
8
8
  const te = /* @__PURE__ */ S({
@@ -24,7 +24,7 @@ const te = /* @__PURE__ */ S({
24
24
  emits: ["shown", "hidden"],
25
25
  setup(B, { expose: P, emit: _ }) {
26
26
  const N = H(
27
- () => import("./index250.js")
27
+ () => import("./index259.js")
28
28
  ), t = B, s = _, { id: D } = j(), c = `bbp_${D.value}`, r = n(), l = n(), { activate: E, deactivate: L } = R(l, {
29
29
  /**
30
30
  * This traps all clicks outside so we are pressing
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 "./index204.js";
2
+ import { clamp as p } from "./index221.js";
3
3
  import { getAsPercentageBetween as i } from "./index130.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.68",
3
+ "version": "2.0.70",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
package/dist/index209.js DELETED
@@ -1,10 +0,0 @@
1
- const o = "bitboss-ui | ", e = () => ({
2
- warn: (r) => console.warn(`${o}${r}`),
3
- error: (r) => console.error(`${o}${r}`),
4
- throw: (r) => {
5
- throw new Error(`${o}${r}`);
6
- }
7
- });
8
- export {
9
- e as useLogger
10
- };
package/dist/index220.js DELETED
@@ -1,29 +0,0 @@
1
- import { getDefaultExportFromCjs as c, commonjsGlobal as k } from "./index262.js";
2
- import { __module as n } from "./index268.js";
3
- (function(f, p) {
4
- (function(r, e) {
5
- f.exports = e();
6
- })(k, function() {
7
- var r = "week", e = "year";
8
- return function(w, u, a) {
9
- var o = u.prototype;
10
- o.week = function(t) {
11
- if (t === void 0 && (t = null), t !== null) return this.add(7 * (t - this.week()), "day");
12
- var s = this.$locale().yearStart || 1;
13
- if (this.month() === 11 && this.date() > 25) {
14
- var l = a(this).startOf(e).add(1, e).date(s), d = a(this).endOf(r);
15
- if (l.isBefore(d)) return 1;
16
- }
17
- var h = a(this).startOf(e).date(s).startOf(r).subtract(1, "millisecond"), i = this.diff(h, r, !0);
18
- return i < 0 ? a(this).startOf("week").week() : Math.ceil(i);
19
- }, o.weeks = function(t) {
20
- return t === void 0 && (t = null), this.week(t);
21
- };
22
- };
23
- });
24
- })(n);
25
- var m = n.exports;
26
- const x = /* @__PURE__ */ c(m);
27
- export {
28
- x as default
29
- };
package/dist/index244.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 "./index221.js";
3
- import { isNil as l } from "./index129.js";
4
- import E from "./index124.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/index279.js DELETED
@@ -1,11 +0,0 @@
1
- import { get as o } from "./index310.js";
2
- const e = () => ({
3
- getItemValue(n, f) {
4
- if (typeof f > "u") return n;
5
- if (typeof f == "function") return f(n);
6
- if (typeof f == "string") return o(n, f);
7
- }
8
- });
9
- export {
10
- e as useItemValue
11
- };