bitboss-ui 2.1.4 → 2.1.6

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 (183) hide show
  1. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +1 -1
  2. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +12 -0
  3. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +12 -0
  4. package/dist/components/BbSelect/BbSelect.vue.d.ts +1 -1
  5. package/dist/index.css +1 -1
  6. package/dist/index100.js +33 -28
  7. package/dist/index106.js +9 -9
  8. package/dist/index111.js +1 -1
  9. package/dist/index113.js +1 -1
  10. package/dist/index117.js +35 -30
  11. package/dist/index121.js +11 -11
  12. package/dist/index13.js +1 -1
  13. package/dist/index131.js +4 -4
  14. package/dist/index136.js +1 -1
  15. package/dist/index137.js +2 -2
  16. package/dist/index138.js +1 -1
  17. package/dist/index15.js +8 -8
  18. package/dist/index17.js +3 -3
  19. package/dist/index19.js +8 -8
  20. package/dist/index206.js +138 -2
  21. package/dist/index207.js +2 -2
  22. package/dist/index208.js +2 -138
  23. package/dist/index209.js +2 -86
  24. package/dist/index21.js +16 -16
  25. package/dist/index210.js +4 -0
  26. package/dist/index211.js +2 -29
  27. package/dist/index212.js +13 -17
  28. package/dist/index213.js +4 -51
  29. package/dist/index214.js +5 -15
  30. package/dist/index215.js +5 -3
  31. package/dist/index216.js +5 -12
  32. package/dist/index217.js +5 -16
  33. package/dist/index218.js +5 -66
  34. package/dist/index219.js +7 -0
  35. package/dist/index220.js +2 -13
  36. package/dist/index221.js +2 -177
  37. package/dist/index222.js +11 -2
  38. package/dist/index223.js +20 -2
  39. package/dist/index224.js +63 -31
  40. package/dist/index226.js +13 -2
  41. package/dist/index227.js +113 -9
  42. package/dist/index229.js +86 -3
  43. package/dist/index23.js +15 -15
  44. package/dist/index231.js +29 -5
  45. package/dist/index232.js +16 -5
  46. package/dist/index233.js +17 -5
  47. package/dist/index234.js +51 -5
  48. package/dist/index235.js +15 -5
  49. package/dist/index236.js +3 -2
  50. package/dist/index237.js +12 -2
  51. package/dist/index238.js +2 -2
  52. package/dist/index239.js +106 -11
  53. package/dist/index241.js +95 -108
  54. package/dist/index243.js +18 -6
  55. package/dist/index244.js +12 -16
  56. package/dist/index245.js +5 -105
  57. package/dist/index246.js +230 -0
  58. package/dist/index247.js +4 -100
  59. package/dist/index248.js +199 -0
  60. package/dist/index25.js +3 -3
  61. package/dist/index250.js +3 -12
  62. package/dist/index251.js +3 -6
  63. package/dist/index252.js +12 -227
  64. package/dist/index253.js +175 -8
  65. package/dist/index254.js +8 -2
  66. package/dist/index255.js +23 -13
  67. package/dist/index256.js +9 -2
  68. package/dist/index257.js +8 -7
  69. package/dist/index258.js +34 -7
  70. package/dist/index259.js +6 -5
  71. package/dist/index260.js +16 -5
  72. package/dist/index261.js +10 -8
  73. package/dist/index262.js +3 -250
  74. package/dist/index263.js +5 -52
  75. package/dist/index264.js +5 -44
  76. package/dist/index265.js +8 -5
  77. package/dist/index266.js +243 -53
  78. package/dist/index267.js +50 -7
  79. package/dist/index268.js +43 -7
  80. package/dist/index269.js +5 -3
  81. package/dist/index27.js +1 -1
  82. package/dist/index270.js +59 -8
  83. package/dist/index271.js +2 -23
  84. package/dist/index272.js +7 -4
  85. package/dist/index273.js +7 -197
  86. package/dist/index274.js +11 -0
  87. package/dist/index276.js +1 -1
  88. package/dist/index278.js +1 -1
  89. package/dist/index279.js +1 -1
  90. package/dist/index280.js +4 -3
  91. package/dist/index281.js +7 -17
  92. package/dist/index282.js +10 -27
  93. package/dist/index283.js +280 -3
  94. package/dist/index284.js +4 -0
  95. package/dist/index285.js +125 -7
  96. package/dist/index286.js +2 -2
  97. package/dist/index287.js +14 -3
  98. package/dist/index288.js +2 -4
  99. package/dist/index289.js +16 -7
  100. package/dist/index29.js +4 -4
  101. package/dist/index290.js +2 -11
  102. package/dist/index291.js +16 -5
  103. package/dist/index292.js +2 -280
  104. package/dist/index293.js +19 -2
  105. package/dist/index294.js +2 -125
  106. package/dist/index295.js +3 -2
  107. package/dist/index297.js +7 -2
  108. package/dist/index298.js +3 -16
  109. package/dist/index299.js +4 -2
  110. package/dist/index300.js +3 -16
  111. package/dist/index301.js +17 -2
  112. package/dist/index302.js +26 -17
  113. package/dist/index303.js +6 -2
  114. package/dist/index304.js +1 -1
  115. package/dist/index305.js +3 -701
  116. package/dist/index306.js +2 -354
  117. package/dist/index307.js +3 -58
  118. package/dist/index308.js +5 -3
  119. package/dist/index309.js +5 -3
  120. package/dist/index31.js +2 -2
  121. package/dist/index310.js +2 -6
  122. package/dist/index311.js +701 -2
  123. package/dist/index312.js +354 -19
  124. package/dist/index313.js +58 -2
  125. package/dist/index314.js +15 -23
  126. package/dist/index316.js +27 -2
  127. package/dist/index317.js +2 -2
  128. package/dist/index318.js +1 -1
  129. package/dist/index319.js +1 -1
  130. package/dist/index320.js +1 -21
  131. package/dist/index321.js +4 -0
  132. package/dist/index322.js +22 -5
  133. package/dist/index325.js +128 -32
  134. package/dist/index326.js +369 -28
  135. package/dist/index327.js +60 -0
  136. package/dist/index328.js +57 -227
  137. package/dist/index329.js +32 -128
  138. package/dist/index33.js +8 -8
  139. package/dist/index330.js +28 -369
  140. package/dist/index332.js +92 -57
  141. package/dist/index333.js +47 -58
  142. package/dist/index334.js +227 -6
  143. package/dist/index335.js +7 -6
  144. package/dist/index336.js +5 -18
  145. package/dist/index337.js +7 -92
  146. package/dist/index338.js +6 -7
  147. package/dist/index339.js +18 -5
  148. package/dist/index340.js +7 -8
  149. package/dist/index341.js +131 -0
  150. package/dist/index343.js +3 -129
  151. package/dist/index35.js +4 -4
  152. package/dist/index37.js +183 -183
  153. package/dist/index39.js +8 -8
  154. package/dist/index41.js +2 -2
  155. package/dist/index43.js +8 -8
  156. package/dist/index45.js +8 -8
  157. package/dist/index47.js +2 -2
  158. package/dist/index49.js +3 -3
  159. package/dist/index53.js +1 -1
  160. package/dist/index55.js +1 -1
  161. package/dist/index57.js +2 -2
  162. package/dist/index61.js +3 -3
  163. package/dist/index65.js +30 -25
  164. package/dist/index67.js +1 -1
  165. package/dist/index79.js +4 -4
  166. package/dist/index81.js +1 -1
  167. package/dist/index83.js +2 -2
  168. package/dist/index85.js +1 -1
  169. package/dist/index87.js +1 -1
  170. package/dist/index90.js +3 -3
  171. package/dist/index92.js +2 -2
  172. package/dist/index94.js +3 -3
  173. package/dist/index96.js +1 -1
  174. package/package.json +1 -1
  175. package/dist/index225.js +0 -6
  176. package/dist/index228.js +0 -15
  177. package/dist/index230.js +0 -7
  178. package/dist/index240.js +0 -22
  179. package/dist/index249.js +0 -20
  180. package/dist/index296.js +0 -17
  181. package/dist/index323.js +0 -5
  182. package/dist/index331.js +0 -49
  183. package/dist/index342.js +0 -5
package/dist/index43.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as j, ref as k, toRef as d, createBlock as z, openBlock as G, unref as B, withCtx as s, renderSlot as l, normalizeProps as v, guardReactiveProps as b, createVNode as R, mergeProps as w, createSlots as W } from "vue";
2
2
  import K from "./index41.js";
3
3
  /* empty css */
4
- import N from "./index209.js";
4
+ import N from "./index229.js";
5
5
  /* empty css */
6
- import { useItemsGetter as U } from "./index211.js";
7
- import { useIndexById as T } from "./index212.js";
8
- import { useBaseOptions as q } from "./index213.js";
9
- import { useCoherence as J } from "./index214.js";
10
- import { hash as Q } from "./index215.js";
11
- import { useHashedWatcher as $ } from "./index216.js";
12
- import { usePrefill as X } from "./index217.js";
6
+ import { useItemsGetter as U } from "./index231.js";
7
+ import { useIndexById as T } from "./index233.js";
8
+ import { useBaseOptions as q } from "./index234.js";
9
+ import { useCoherence as J } from "./index235.js";
10
+ import { hash as Q } from "./index236.js";
11
+ import { useHashedWatcher as $ } from "./index237.js";
12
+ import { usePrefill as X } from "./index232.js";
13
13
  const ue = /* @__PURE__ */ j({
14
14
  __name: "BaseSwitchGroup",
15
15
  props: {
package/dist/index45.js CHANGED
@@ -3,17 +3,17 @@ import { defineComponent as Q, ref as u, computed as f, toRef as E, watch as Z,
3
3
  /* empty css */
4
4
  import ae from "./index111.js";
5
5
  /* empty css */
6
- import { last as le } from "./index238.js";
7
- import { useBaseOptions as ne } from "./index213.js";
8
- import { useIndexById as re } from "./index212.js";
9
- import ie from "./index245.js";
6
+ import { last as le } from "./index221.js";
7
+ import { useBaseOptions as ne } from "./index234.js";
8
+ import { useIndexById as re } from "./index233.js";
9
+ import ie from "./index239.js";
10
10
  /* empty css */
11
- import ue from "./index247.js";
11
+ import ue from "./index241.js";
12
12
  /* empty css */
13
- import se from "./index218.js";
13
+ import se from "./index224.js";
14
14
  /* empty css */
15
- import de from "./index220.js";
16
- import { isEmpty as pe } from "./index237.js";
15
+ import de from "./index226.js";
16
+ import { isEmpty as pe } from "./index220.js";
17
17
  const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], De = /* @__PURE__ */ Q({
18
18
  __name: "BaseTag",
19
19
  props: {
package/dist/index47.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as h, ref as y, computed as u, onMounted as g, watch as B, nextTick as V, createBlock as $, openBlock as k, normalizeClass as C, withCtx as r, createVNode as i, unref as T, createElementVNode as v, mergeProps as x, renderSlot as t } from "vue";
2
- import E from "./index220.js";
3
- import G from "./index218.js";
2
+ import E from "./index226.js";
3
+ import G from "./index224.js";
4
4
  /* empty css */
5
5
  import M from "./index111.js";
6
6
  /* empty css */
package/dist/index49.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as V, ref as h, computed as v, onMounted as B, onBeforeUnmount as M, watch as g, createElementBlock as i, openBlock as r, Fragment as w, createVNode as m, createElementVNode as $, normalizeClass as C, withCtx as n, unref as q, mergeProps as b, renderSlot as d } from "vue";
2
- import E from "./index218.js";
2
+ import E from "./index224.js";
3
3
  /* empty css */
4
- import I from "./index220.js";
4
+ import I from "./index226.js";
5
5
  import { isNotNil as N } from "./index140.js";
6
- import { MaskInput as z } from "./index221.js";
6
+ import { MaskInput as z } from "./index253.js";
7
7
  const D = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type"], F = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type", "value"], U = /* @__PURE__ */ V({
8
8
  __name: "BaseTextInput",
9
9
  props: {
package/dist/index53.js CHANGED
@@ -3,7 +3,7 @@ import B from "./index69.js";
3
3
  /* empty css */
4
4
  import L from "./index85.js";
5
5
  /* empty css */
6
- import { useLocale as g } from "./index228.js";
6
+ import { useLocale as g } from "./index212.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, createElementBlock as l, openBlock as i, normalizeProps as _, guardReactiveProps as h, renderSlot as k } from "vue";
2
- import { isCssColor as y } from "./index222.js";
2
+ import { isCssColor as y } from "./index211.js";
3
3
  import { wait as C } from "./index135.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 s, createElementBlock as m, openBlock as u, normalizeClass as g, createElementVNode as n, renderSlot as r, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
2
- import { isCssColor as l } from "./index222.js";
3
- import { isNil as B } from "./index223.js";
2
+ import { isCssColor as l } from "./index211.js";
3
+ import { isNil as B } from "./index238.js";
4
4
  const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, N = /* @__PURE__ */ p({
5
5
  __name: "BbBadge",
6
6
  props: {
package/dist/index61.js CHANGED
@@ -7,9 +7,9 @@ import p from "./index85.js";
7
7
  /* empty css */
8
8
  import T from "./index113.js";
9
9
  /* empty css */
10
- import { pickBy as W } from "./index253.js";
11
- import { noop as w } from "./index254.js";
12
- import { useLocale as D } from "./index228.js";
10
+ import { pickBy as W } from "./index261.js";
11
+ import { noop as w } from "./index262.js";
12
+ import { useLocale as D } from "./index212.js";
13
13
  const E = {
14
14
  key: 2,
15
15
  class: "bb-button__loading-label sr-only"
package/dist/index65.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, ref as v, computed as g, createBlock as y, openBlock as B, withCtx as a, createVNode as $, mergeProps as w, renderSlot as i, normalizeProps as l, guardReactiveProps as r } from "vue";
1
+ import { defineComponent as f, ref as g, computed as v, createBlock as y, openBlock as B, withCtx as i, createVNode as $, mergeProps as w, renderSlot as a, normalizeProps as l, guardReactiveProps as t } from "vue";
2
2
  import T from "./index19.js";
3
3
  /* empty css */
4
4
  import V from "./index27.js";
@@ -11,6 +11,7 @@ const E = /* @__PURE__ */ f({
11
11
  compact: { type: Boolean },
12
12
  dependencies: {},
13
13
  depsDebounceTime: {},
14
+ direction: {},
14
15
  disabled: { type: Boolean },
15
16
  enforceCoherence: { type: Boolean },
16
17
  errors: {},
@@ -20,9 +21,11 @@ const E = /* @__PURE__ */ f({
20
21
  hint: {},
21
22
  id: {},
22
23
  inputDirection: {},
24
+ inputPosition: { default: "left" },
23
25
  items: {},
24
26
  itemText: {},
25
27
  itemValue: {},
28
+ labelPosition: {},
26
29
  legend: {},
27
30
  loadingText: {},
28
31
  max: {},
@@ -36,7 +39,7 @@ const E = /* @__PURE__ */ f({
36
39
  },
37
40
  emits: ["blur", "change", "click", "focus", "inactive", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
38
41
  setup(d, { emit: p }) {
39
- const m = d, n = p, s = v(!1), u = g(() => m.persistentHint || s.value), c = {
42
+ const u = d, n = p, s = g(!1), m = v(() => u.persistentHint || s.value), c = {
40
43
  onBlur: (e) => n("blur", e),
41
44
  onChange: (e) => n("change", e),
42
45
  onClick: (e) => n("click", e),
@@ -56,24 +59,26 @@ const E = /* @__PURE__ */ f({
56
59
  id: e.id,
57
60
  class: "bb-checkbox-group",
58
61
  compact: e.compact,
59
- direction: "vertical",
62
+ direction: e.direction,
60
63
  errors: e.errors,
61
64
  "has-errors": e.hasErrors,
62
65
  "hide-label": e.hideLegend,
63
66
  hint: e.hint,
67
+ "input-position": e.inputPosition,
64
68
  label: e.legend,
69
+ "label-position": e.labelPosition,
65
70
  "label-tag": "legend",
66
71
  name: e.name,
67
72
  reverse: e.reverse,
68
- "show-hint": u.value,
73
+ "show-hint": m.value,
69
74
  tag: "fieldset"
70
75
  }, {
71
- label: a((t) => [
72
- i(e.$slots, "legend", l(r(t)))
76
+ label: i((r) => [
77
+ a(e.$slots, "legend", l(t(r)))
73
78
  ]),
74
- input: a(({ id: t, hasErrors: b, ariaDescribedby: h }) => [
79
+ input: i(({ id: r, hasErrors: b, ariaDescribedby: h }) => [
75
80
  $(T, w({
76
- id: t,
81
+ id: r,
77
82
  "aria-describedby": h,
78
83
  autofocus: e.autofocus,
79
84
  color: e.color,
@@ -95,35 +100,35 @@ const E = /* @__PURE__ */ f({
95
100
  "no-data-text": e.noDataText,
96
101
  readonly: e.readonly
97
102
  }, c), {
98
- prepend: a((o) => [
99
- i(e.$slots, "prepend", l(r(o)))
103
+ prepend: i((o) => [
104
+ a(e.$slots, "prepend", l(t(o)))
100
105
  ]),
101
- loading: a((o) => [
102
- i(e.$slots, "loading", l(r(o)))
106
+ loading: i((o) => [
107
+ a(e.$slots, "loading", l(t(o)))
103
108
  ]),
104
- "no-data": a((o) => [
105
- i(e.$slots, "no-data", l(r(o)))
109
+ "no-data": i((o) => [
110
+ a(e.$slots, "no-data", l(t(o)))
106
111
  ]),
107
- "option:prepend": a((o) => [
108
- i(e.$slots, "option:prepend", l(r(o)))
112
+ "option:prepend": i((o) => [
113
+ a(e.$slots, "option:prepend", l(t(o)))
109
114
  ]),
110
- icon: a((o) => [
111
- i(e.$slots, "icon", l(r(o)))
115
+ icon: i((o) => [
116
+ a(e.$slots, "icon", l(t(o)))
112
117
  ]),
113
- label: a((o) => [
114
- i(e.$slots, "label", l(r(o)))
118
+ label: i((o) => [
119
+ a(e.$slots, "label", l(t(o)))
115
120
  ]),
116
- "option:append": a((o) => [
117
- i(e.$slots, "option:append", l(r(o)))
121
+ "option:append": i((o) => [
122
+ a(e.$slots, "option:append", l(t(o)))
118
123
  ]),
119
- append: a((o) => [
120
- i(e.$slots, "append", l(r(o)))
124
+ append: i((o) => [
125
+ a(e.$slots, "append", l(t(o)))
121
126
  ]),
122
127
  _: 2
123
128
  }, 1040, ["id", "aria-describedby", "autofocus", "color", "dependencies", "deps-debounce-time", "direction", "disabled", "enforce-coherence", "has-errors", "hide-label", "item-text", "item-value", "items", "loading-text", "max", "model-value", "model-value-debounce-time", "name", "no-data-text", "readonly"])
124
129
  ]),
125
130
  _: 3
126
- }, 8, ["id", "compact", "errors", "has-errors", "hide-label", "hint", "label", "name", "reverse", "show-hint"]));
131
+ }, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "input-position", "label", "label-position", "name", "reverse", "show-hint"]));
127
132
  }
128
133
  });
129
134
  export {
package/dist/index67.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, createElementBlock as o, openBlock as a, createElementVNode as t, createCommentVNode as p, renderSlot as b, createTextVNode as m, toDisplayString as u, withModifiers as d, unref as _ } from "vue";
2
- import { useLocale as f } from "./index228.js";
2
+ import { useLocale as f } from "./index212.js";
3
3
  const h = { class: "bb-chip" }, L = { class: "bb-chip__content" }, k = ["aria-label"], B = /* @__PURE__ */ i({
4
4
  __name: "BbChip",
5
5
  props: {
package/dist/index79.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as N, computed as R, ref as E, watch as W, createBlock as h, openBlock as k, unref as f, normalizeClass as G, withCtx as D, createElementVNode as I, normalizeStyle as J, renderSlot as m, createElementBlock as q, Fragment as F, renderList as Q, createVNode as X, mergeProps as Y, createCommentVNode as A, toDisplayString as Z, normalizeProps as x, guardReactiveProps as ee } from "vue";
2
- import { findRightIndex as T } from "./index270.js";
2
+ import { findRightIndex as T } from "./index254.js";
3
3
  import { useId as te } from "./index8.js";
4
- import { useUntil as ne } from "./index239.js";
4
+ import { useUntil as ne } from "./index222.js";
5
5
  import { wait as oe } from "./index135.js";
6
6
  import ae from "./index13.js";
7
7
  /* empty css */
8
8
  import B from "./index85.js";
9
9
  /* empty css */
10
- import le from "./index241.js";
10
+ import le from "./index227.js";
11
11
  /* empty css */
12
- import K from "./index271.js";
12
+ import K from "./index255.js";
13
13
  const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" }, Ee = /* @__PURE__ */ N({
14
14
  __name: "BbDropdown",
15
15
  props: {
package/dist/index81.js CHANGED
@@ -9,7 +9,7 @@ import z from "./index85.js";
9
9
  /* empty css */
10
10
  import I from "./index113.js";
11
11
  /* empty css */
12
- import { useLocale as M } from "./index228.js";
12
+ import { useLocale as M } from "./index212.js";
13
13
  const O = { class: "bb-dropdown-button__content" }, R = {
14
14
  key: 1,
15
15
  class: "bb-dropdown-button__loading-label sr-only"
package/dist/index83.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as j, ref as g, watch as x, computed as m, createBlock as G, openBlock as V, 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 "./index244.js";
2
+ import { findInTree as ae } from "./index260.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index111.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("./index243.js")).default);
56
+ b || (b = (await import("./index259.js")).default);
57
57
  const o = b.getType(r);
58
58
  if (!o)
59
59
  throw new Error(
package/dist/index85.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as v, ref as p, getCurrentInstance as c, onServerPrefetch as w, onBeforeMount as z, inject as _, watch as b, computed as f, createElementBlock as h, openBlock as $, mergeProps as g } from "vue";
2
- import { isCssColor as I } from "./index222.js";
2
+ import { isCssColor as I } from "./index211.js";
3
3
  const B = ["innerHTML"], k = /* @__PURE__ */ v({
4
4
  __name: "BbIcon",
5
5
  props: {
package/dist/index87.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, createBlock as g, openBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
2
- import { throttle as c } from "./index269.js";
2
+ import { throttle as c } from "./index251.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index90.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as O, mergeModels as E, useModel as P, computed as p, ref as T, watch as q, onMounted as A, createElementBlock as d, openBlock as c, withModifiers as H, normalizeStyle as K, normalizeClass as R, unref as v, createCommentVNode as y, Fragment as U, createElementVNode as l, renderSlot as s, createTextVNode as j, toDisplayString as z, nextTick as G } from "vue";
2
- import { parseSize as J } from "./index255.js";
2
+ import { parseSize as J } from "./index252.js";
3
3
  import { useId as D } from "./index8.js";
4
- import { useLocale as Q } from "./index228.js";
4
+ import { useLocale as Q } from "./index212.js";
5
5
  import { useMobile as X } from "./index9.js";
6
- import { useUntil as Y } from "./index239.js";
6
+ import { useUntil as Y } from "./index222.js";
7
7
  import { wait as h } from "./index135.js";
8
8
  const Z = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], x = {
9
9
  ref: "header",
package/dist/index92.js CHANGED
@@ -3,8 +3,8 @@ import { defineComponent as V, mergeModels as W, useModel as U, computed as d, r
3
3
  /* empty css */
4
4
  import P from "./index13.js";
5
5
  /* empty css */
6
- import { debounce as X } from "./index227.js";
7
- import { useLocale as H } from "./index228.js";
6
+ import { debounce as X } from "./index274.js";
7
+ import { useLocale as H } from "./index212.js";
8
8
  import { useRoute as J } from "./index142.js";
9
9
  const K = ["aria-label"], Q = { class: "bb-pagination__page-label sr-only" }, Y = { class: "bb-pagination__page-label" }, Z = { class: "bb-pagination__page-label" }, ee = { class: "bb-pagination__page-label sr-only" }, ue = /* @__PURE__ */ V({
10
10
  __name: "BbPagination",
package/dist/index94.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as V, ref as m, computed as g, createBlock as k, openBlock as y, unref as l, normalizeClass as D, withCtx as v, createElementVNode as d, createCommentVNode as M, renderSlot as C, toDisplayString as z, normalizeProps as I, guardReactiveProps as O, nextTick as S } from "vue";
2
2
  import { useId as H } from "./index8.js";
3
3
  import { useIntersectionObserver as N } from "./index137.js";
4
- import { useLocale as U } from "./index228.js";
5
- import { useUntil as W } from "./index239.js";
4
+ import { useLocale as U } from "./index212.js";
5
+ import { useUntil as W } from "./index222.js";
6
6
  import q from "./index13.js";
7
7
  /* empty css */
8
- import A from "./index241.js";
8
+ import A from "./index227.js";
9
9
  /* empty css */
10
10
  const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @__PURE__ */ V({
11
11
  __name: "BbPopover",
package/dist/index96.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, computed as a, createElementBlock as l, openBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
2
- import { clamp as p } from "./index206.js";
2
+ import { clamp as p } from "./index207.js";
3
3
  import { getAsPercentageBetween as i } from "./index136.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.1.4",
3
+ "version": "2.1.6",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
package/dist/index225.js DELETED
@@ -1,6 +0,0 @@
1
- import { curry as e } from "./index288.js";
2
- const t = (n, o, r) => n(r) ? o(r) : r, s = e(t);
3
- export {
4
- t as baseWhen,
5
- s as when
6
- };
package/dist/index228.js DELETED
@@ -1,15 +0,0 @@
1
- import { locales as t } from "./index289.js";
2
- import { _config as m } from "./index4.js";
3
- import { get as c } from "./index290.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/index230.js DELETED
@@ -1,7 +0,0 @@
1
- import { getDefaultExportFromCjs as r } from "./index310.js";
2
- import { __require as o } from "./index292.js";
3
- var t = o();
4
- const s = /* @__PURE__ */ r(t);
5
- export {
6
- s as default
7
- };
package/dist/index240.js DELETED
@@ -1,22 +0,0 @@
1
- import { MaskInput as r } from "./index221.js";
2
- const u = /* @__PURE__ */ new WeakMap(), p = (a, n) => {
3
- if (a.arg == null || a.instance == null) return;
4
- const s = "setup" in a.instance.$.type;
5
- a.arg in a.instance ? a.instance[a.arg] = n : s && console.warn("Maska: please expose `%s` using defineExpose", a.arg);
6
- }, k = (a, n) => {
7
- var s;
8
- const t = a instanceof HTMLInputElement ? a : a.querySelector("input");
9
- if (t == null || (t == null ? void 0 : t.type) === "file") return;
10
- let e = {};
11
- if (n.value != null && (e = typeof n.value == "string" ? { mask: n.value } : { ...n.value }), n.arg != null) {
12
- const l = (o) => {
13
- const i = n.modifiers.unmasked ? o.unmasked : n.modifiers.completed ? o.completed : o.masked;
14
- p(n, i);
15
- };
16
- e.onMaska = e.onMaska == null ? l : Array.isArray(e.onMaska) ? [...e.onMaska, l] : [e.onMaska, l];
17
- }
18
- u.has(t) ? (s = u.get(t)) == null || s.update(e) : u.set(t, new r(t, e));
19
- };
20
- export {
21
- k as vMaska
22
- };
package/dist/index249.js DELETED
@@ -1,20 +0,0 @@
1
- import { isNil as c } from "./index223.js";
2
- const a = (t, r) => {
3
- if (!Object.prototype.hasOwnProperty.call(t, r))
4
- throw new Error(
5
- `Object ${JSON.stringify(t, null, 2)} has no property named "${r.toString()}"`
6
- );
7
- }, l = (t) => typeof t == "string" ? t.toLocaleLowerCase() : JSON.stringify(t).toLowerCase(), y = (t, r, s) => {
8
- const i = s.toLocaleLowerCase();
9
- for (let e = 0; e < r.length; e++) {
10
- const n = r[e];
11
- a(t, n);
12
- const o = t[n];
13
- if (c(o)) continue;
14
- if (l(o).includes(i)) return !0;
15
- }
16
- return !1;
17
- };
18
- export {
19
- y as matchAnyKey
20
- };
package/dist/index296.js DELETED
@@ -1,17 +0,0 @@
1
- import { __module as e } from "./index297.js";
2
- var a = e.exports, u;
3
- function i() {
4
- return u ? e.exports : (u = 1, function(_, o) {
5
- (function(n, r) {
6
- _.exports = r();
7
- })(a, function() {
8
- return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(n) {
9
- var r = ["th", "st", "nd", "rd"], t = n % 100;
10
- return "[" + n + (r[(t - 20) % 10] || r[t] || r[0]) + "]";
11
- } };
12
- });
13
- }(e), e.exports);
14
- }
15
- export {
16
- i as __require
17
- };
package/dist/index323.js DELETED
@@ -1,5 +0,0 @@
1
- import o from "./index273.js";
2
- /* empty css */
3
- export {
4
- o as default
5
- };
package/dist/index331.js DELETED
@@ -1,49 +0,0 @@
1
- import { elementScroll as f, observeElementOffset as s, observeElementRect as d, Virtualizer as p } from "./index346.js";
2
- import { defaultKeyExtractor as S, defaultRangeExtractor as V, measureElement as b } from "./index346.js";
3
- import { computed as g, unref as l, shallowRef as E, watch as o, triggerRef as i, onScopeDispose as v } from "vue";
4
- function w(e) {
5
- const t = new p(l(e)), a = E(t), u = t._didMount();
6
- return o(
7
- () => l(e).getScrollElement(),
8
- (r) => {
9
- r && t._willUpdate();
10
- },
11
- {
12
- immediate: !0
13
- }
14
- ), o(
15
- () => l(e),
16
- (r) => {
17
- t.setOptions({
18
- ...r,
19
- onChange: (c, m) => {
20
- var n;
21
- i(a), (n = r.onChange) == null || n.call(r, c, m);
22
- }
23
- }), t._willUpdate(), i(a);
24
- },
25
- {
26
- immediate: !0
27
- }
28
- ), v(u), a;
29
- }
30
- function z(e) {
31
- return w(
32
- g(() => ({
33
- observeElementRect: d,
34
- observeElementOffset: s,
35
- scrollToFn: f,
36
- ...l(e)
37
- }))
38
- );
39
- }
40
- export {
41
- p as Virtualizer,
42
- S as defaultKeyExtractor,
43
- V as defaultRangeExtractor,
44
- f as elementScroll,
45
- b as measureElement,
46
- s as observeElementOffset,
47
- d as observeElementRect,
48
- z as useVirtualizer
49
- };
package/dist/index342.js DELETED
@@ -1,5 +0,0 @@
1
- import o from "./index326.js";
2
- /* empty css */
3
- export {
4
- o as default
5
- };