bitboss-ui 2.0.172 → 2.0.173

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 (182) hide show
  1. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +2 -2
  2. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +16 -2
  3. package/dist/components/BbPopover/BbPopover.vue.d.ts +18 -4
  4. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +16 -2
  5. package/dist/components/CommonPopover.vue.d.ts +3 -0
  6. package/dist/index.css +1 -1
  7. package/dist/index106.js +7 -7
  8. package/dist/index111.js +1 -1
  9. package/dist/index113.js +1 -1
  10. package/dist/index121.js +9 -9
  11. package/dist/index129.js +1 -1
  12. package/dist/index13.js +1 -1
  13. package/dist/index131.js +40 -39
  14. package/dist/index133.js +1 -1
  15. package/dist/index139.js +2 -2
  16. package/dist/index15.js +35 -34
  17. package/dist/index17.js +3 -3
  18. package/dist/index19.js +5 -5
  19. package/dist/index209.js +5 -10
  20. package/dist/index21.js +16 -16
  21. package/dist/index210.js +5 -3
  22. package/dist/index211.js +5 -13
  23. package/dist/index212.js +5 -34
  24. package/dist/index213.js +5 -13
  25. package/dist/index214.js +5 -66
  26. package/dist/index215.js +7 -0
  27. package/dist/index216.js +3 -2
  28. package/dist/index217.js +2 -4
  29. package/dist/index218.js +8 -2
  30. package/dist/index219.js +250 -2
  31. package/dist/index220.js +52 -41
  32. package/dist/index221.js +43 -5
  33. package/dist/index222.js +5 -7
  34. package/dist/index223.js +56 -11
  35. package/dist/index224.js +13 -5
  36. package/dist/index225.js +2 -9
  37. package/dist/index226.js +2 -5
  38. package/dist/index227.js +2 -5
  39. package/dist/index228.js +66 -5
  40. package/dist/index23.js +114 -125
  41. package/dist/index230.js +13 -5
  42. package/dist/index231.js +177 -2
  43. package/dist/index232.js +41 -2
  44. package/dist/index233.js +6 -11
  45. package/dist/index234.js +7 -20
  46. package/dist/index235.js +13 -103
  47. package/dist/{index237.js → index236.js} +1 -1
  48. package/dist/index238.js +31 -0
  49. package/dist/index239.js +14 -27
  50. package/dist/index240.js +1 -1
  51. package/dist/index241.js +4 -4
  52. package/dist/index242.js +1 -1
  53. package/dist/index243.js +12 -3
  54. package/dist/index244.js +34 -12
  55. package/dist/index245.js +3 -16
  56. package/dist/index246.js +5 -4
  57. package/dist/index247.js +2 -200
  58. package/dist/index248.js +13 -0
  59. package/dist/index249.js +18 -16
  60. package/dist/index25.js +5 -5
  61. package/dist/index250.js +120 -12
  62. package/dist/index252.js +6 -0
  63. package/dist/index253.js +4 -100
  64. package/dist/index254.js +202 -0
  65. package/dist/index256.js +18 -2
  66. package/dist/index257.js +11 -176
  67. package/dist/index258.js +106 -3
  68. package/dist/index260.js +100 -5
  69. package/dist/index262.js +226 -6
  70. package/dist/index263.js +2 -250
  71. package/dist/index264.js +2 -52
  72. package/dist/index265.js +10 -44
  73. package/dist/index266.js +3 -5
  74. package/dist/index267.js +6 -60
  75. package/dist/index268.js +15 -8
  76. package/dist/index269.js +3 -23
  77. package/dist/index27.js +1 -1
  78. package/dist/index270.js +2 -6
  79. package/dist/index271.js +8 -15
  80. package/dist/index272.js +9 -3
  81. package/dist/index273.js +23 -9
  82. package/dist/index274.js +9 -8
  83. package/dist/index275.js +8 -2
  84. package/dist/index276.js +1 -1
  85. package/dist/index277.js +5 -5
  86. package/dist/index278.js +279 -7
  87. package/dist/index279.js +2 -5
  88. package/dist/index280.js +16 -7
  89. package/dist/index281.js +2 -11
  90. package/dist/index282.js +16 -2
  91. package/dist/index284.js +19 -7
  92. package/dist/index285.js +2 -3
  93. package/dist/index286.js +15 -4
  94. package/dist/index287.js +2 -3
  95. package/dist/index288.js +19 -17
  96. package/dist/index289.js +2 -28
  97. package/dist/index29.js +2 -2
  98. package/dist/index290.js +26 -3
  99. package/dist/index291.js +2 -471
  100. package/dist/index292.js +1 -1
  101. package/dist/index293.js +2 -3
  102. package/dist/index294.js +2 -3
  103. package/dist/index295.js +2 -280
  104. package/dist/index296.js +28 -2
  105. package/dist/index297.js +22 -125
  106. package/dist/index299.js +7 -15
  107. package/dist/index300.js +7 -2
  108. package/dist/index301.js +10 -15
  109. package/dist/index302.js +6 -2
  110. package/dist/index303.js +3 -16
  111. package/dist/index305.js +2 -19
  112. package/dist/index306.js +3 -2
  113. package/dist/index307.js +14 -197
  114. package/dist/index308.js +470 -5
  115. package/dist/index309.js +2 -3
  116. package/dist/index31.js +2 -2
  117. package/dist/index310.js +200 -3
  118. package/dist/index311.js +5 -2
  119. package/dist/index312.js +4 -5
  120. package/dist/index313.js +121 -15
  121. package/dist/index314.js +2 -2
  122. package/dist/index315.js +3 -27
  123. package/dist/index316.js +3 -2
  124. package/dist/index317.js +3 -2
  125. package/dist/index318.js +3 -2
  126. package/dist/index319.js +1 -1
  127. package/dist/index320.js +5 -2
  128. package/dist/index321.js +8 -22
  129. package/dist/index322.js +7 -0
  130. package/dist/index323.js +4 -5
  131. package/dist/index328.js +32 -57
  132. package/dist/index329.js +27 -57
  133. package/dist/index33.js +5 -5
  134. package/dist/index331.js +7 -28
  135. package/dist/index332.js +21 -0
  136. package/dist/index333.js +58 -47
  137. package/dist/index334.js +58 -7
  138. package/dist/index335.js +6 -7
  139. package/dist/index336.js +46 -5
  140. package/dist/index337.js +128 -7
  141. package/dist/index338.js +368 -6
  142. package/dist/index339.js +7 -18
  143. package/dist/index340.js +5 -227
  144. package/dist/index341.js +7 -127
  145. package/dist/index342.js +220 -360
  146. package/dist/index343.js +1 -1
  147. package/dist/index345.js +1 -1
  148. package/dist/index346.js +1 -1
  149. package/dist/index347.js +125 -43
  150. package/dist/index348.js +43 -125
  151. package/dist/index349.js +283 -229
  152. package/dist/index35.js +4 -4
  153. package/dist/index350.js +39 -38
  154. package/dist/index37.js +17 -17
  155. package/dist/index39.js +4 -4
  156. package/dist/index41.js +2 -2
  157. package/dist/index43.js +5 -5
  158. package/dist/index45.js +6 -6
  159. package/dist/index47.js +2 -2
  160. package/dist/index49.js +3 -3
  161. package/dist/index53.js +1 -1
  162. package/dist/index55.js +1 -1
  163. package/dist/index57.js +2 -2
  164. package/dist/index61.js +3 -3
  165. package/dist/index67.js +1 -1
  166. package/dist/index79.js +106 -112
  167. package/dist/index81.js +1 -1
  168. package/dist/index83.js +2 -2
  169. package/dist/index85.js +1 -1
  170. package/dist/index87.js +1 -1
  171. package/dist/index90.js +4 -4
  172. package/dist/index92.js +2 -2
  173. package/dist/index94.js +56 -56
  174. package/package.json +2 -2
  175. package/dist/index229.js +0 -7
  176. package/dist/index251.js +0 -108
  177. package/dist/index255.js +0 -230
  178. package/dist/index259.js +0 -4
  179. package/dist/index261.js +0 -7
  180. package/dist/index298.js +0 -4
  181. package/dist/index330.js +0 -35
  182. /package/dist/{index304.js → index283.js} +0 -0
package/dist/index131.js CHANGED
@@ -1,11 +1,11 @@
1
- import { defineComponent as V, mergeModels as h, ref as i, useModel as $, createBlock as k, openBlock as y, normalizeClass as D, withCtx as d, createElementVNode as u, createCommentVNode as O, renderSlot as B, unref as m, normalizeProps as P, guardReactiveProps as z } from "vue";
2
- import { throttle as p } from "./index272.js";
1
+ import { defineComponent as V, mergeModels as h, ref as k, useModel as $, createBlock as y, openBlock as B, unref as n, normalizeClass as D, withCtx as d, createElementVNode as u, createCommentVNode as O, renderSlot as C, normalizeProps as P, guardReactiveProps as z } from "vue";
2
+ import { throttle as m } from "./index269.js";
3
3
  import { useId as F } from "./index8.js";
4
- import { useLocale as N } from "./index211.js";
5
- import { wait as H } from "./index135.js";
6
- import I from "./index13.js";
4
+ import { useLocale as N } from "./index224.js";
5
+ import { useUntil as U } from "./index248.js";
6
+ import H from "./index13.js";
7
7
  /* empty css */
8
- import R from "./index235.js";
8
+ import I from "./index250.js";
9
9
  /* empty css */
10
10
  const W = /* @__PURE__ */ V({
11
11
  __name: "BbTooltip",
@@ -28,33 +28,33 @@ const W = /* @__PURE__ */ V({
28
28
  modelModifiers: {}
29
29
  }),
30
30
  emits: ["update:modelValue"],
31
- setup(f) {
32
- const a = f, { t: C } = N(), c = `bb_${a.id ?? F().id.value}`, r = i(), v = i(!0), t = $(f, "modelValue");
33
- let s;
31
+ setup(p) {
32
+ const a = p, { t: L } = N(), c = `bb_${a.id ?? F().id.value}`, s = k(), f = k(!0), o = $(p, "modelValue"), v = U(o);
33
+ let i;
34
34
  const b = () => {
35
- t.value || a.disabled || (clearTimeout(s), document.addEventListener("mousemove", w, { passive: !0 }), s = setTimeout(() => {
36
- T(), document.addEventListener("keydown", g, { passive: !0 });
35
+ o.value || a.disabled || (clearTimeout(i), document.addEventListener("mousemove", g, { passive: !0 }), i = setTimeout(() => {
36
+ T(), document.addEventListener("keydown", w, { passive: !0 });
37
37
  }, a.timeout));
38
- }, L = b, w = p((e) => {
39
- const o = e.target;
40
- if (o && o instanceof HTMLElement) {
41
- let l = !0;
42
- r.value && r.value.$el.contains(o) && (l = !1), l && n();
38
+ }, E = b, g = m((e) => {
39
+ const t = e.target;
40
+ if (t && t instanceof HTMLElement) {
41
+ let r = !0;
42
+ s.value && s.value.$el.contains(t) && (r = !1), r && l();
43
43
  }
44
- }, a.transitionDuration), g = (e) => {
45
- t.value && e.key === "Escape" && n();
46
- }, E = () => {
47
- v.value = !1, n();
48
- }, M = i(!1), T = p(async () => {
49
- v.value && (M.value = !0, await H(50), t.value = !0);
50
- }, a.transitionDuration), n = p(async () => {
51
- clearTimeout(s), document.removeEventListener("mousemove", w), document.removeEventListener("keydown", g), t.value = !1;
44
+ }, a.transitionDuration), w = (e) => {
45
+ o.value && e.key === "Escape" && l();
46
+ }, M = () => {
47
+ f.value = !1, l();
48
+ }, T = m(async () => {
49
+ f.value && (o.value = !0);
50
+ }, a.transitionDuration), l = m(async () => {
51
+ clearTimeout(i), document.removeEventListener("mousemove", g), document.removeEventListener("keydown", w), o.value = !1;
52
52
  }, a.transitionDuration);
53
- return (e, o) => (y(), k(R, {
53
+ return (e, t) => (B(), y(I, {
54
54
  ref_key: "wrapper",
55
- ref: r,
56
- modelValue: t.value,
57
- "onUpdate:modelValue": o[0] || (o[0] = (l) => t.value = l),
55
+ ref: s,
56
+ modelValue: o.value,
57
+ "onUpdate:modelValue": t[0] || (t[0] = (r) => o.value = r),
58
58
  "arrow-padding": e.arrowPadding,
59
59
  block: e.block,
60
60
  class: D(["bb-tooltip", {
@@ -63,19 +63,20 @@ const W = /* @__PURE__ */ V({
63
63
  offset: e.offset,
64
64
  padding: e.padding,
65
65
  placement: e.placement,
66
+ "render-content": n(v),
66
67
  "transition-duration": e.transitionDuration
67
68
  }, {
68
69
  activator: d(() => [
69
- B(e.$slots, "activator", P(z({
70
+ C(e.$slots, "activator", P(z({
70
71
  props: {
71
- "aria-describedby": c,
72
+ "aria-describedby": n(v) ? c : void 0,
72
73
  onMouseenter: b,
73
- onFocus: m(L),
74
- onBlur: m(n),
74
+ onFocus: n(E),
75
+ onBlur: n(l),
75
76
  disabled: e.disabled
76
77
  },
77
78
  disabled: e.disabled,
78
- open: t.value,
79
+ open: o.value,
79
80
  placement: e.placement
80
81
  })))
81
82
  ]),
@@ -84,14 +85,14 @@ const W = /* @__PURE__ */ V({
84
85
  id: c,
85
86
  class: "bb-tooltip__content"
86
87
  }, [
87
- e.showClose ? (y(), k(I, {
88
+ e.showClose ? (B(), y(H, {
88
89
  key: 0,
89
- "aria-label": m(C)("common.closeLabel").value,
90
+ "aria-label": n(L)("common.closeLabel").value,
90
91
  class: "bb-tooltip__close",
91
92
  tabindex: "-1",
92
- onClick: E
93
+ onClick: M
93
94
  }, {
94
- default: d(() => o[1] || (o[1] = [
95
+ default: d(() => t[1] || (t[1] = [
95
96
  u("svg", {
96
97
  fill: "none",
97
98
  viewBox: "0 0 24 24",
@@ -107,11 +108,11 @@ const W = /* @__PURE__ */ V({
107
108
  ])),
108
109
  _: 1
109
110
  }, 8, ["aria-label"])) : O("", !0),
110
- B(e.$slots, "default")
111
+ C(e.$slots, "default")
111
112
  ])
112
113
  ]),
113
114
  _: 3
114
- }, 8, ["modelValue", "arrow-padding", "block", "class", "offset", "padding", "placement", "transition-duration"]));
115
+ }, 8, ["modelValue", "arrow-padding", "block", "class", "offset", "padding", "placement", "render-content", "transition-duration"]));
115
116
  }
116
117
  });
117
118
  export {
package/dist/index133.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as $, computed as g, resolveComponent as y, createElementBlock as f, openBlock as i, Fragment as k, renderList as h, normalizeClass as b, createElementVNode as s, renderSlot as t, createVNode as v, createSlots as B, withCtx as _, mergeProps as C } from "vue";
2
- import { flattenTree as T } from "./index279.js";
2
+ import { flattenTree as T } from "./index277.js";
3
3
  const w = { class: "bb-tree-row" }, E = { class: "bb-tree-main-content" }, N = /* @__PURE__ */ $({
4
4
  __name: "BbTree",
5
5
  props: {
package/dist/index139.js CHANGED
@@ -1,5 +1,5 @@
1
- import { isArray as p } from "./index277.js";
2
- import { isPlainObject as c } from "./index278.js";
1
+ import { isArray as p } from "./index320.js";
2
+ import { isPlainObject as c } from "./index321.js";
3
3
  function i(e, n, u, l, r) {
4
4
  const o = {}.propertyIsEnumerable.call(l, n) ? "enumerable" : "nonenumerable";
5
5
  o === "enumerable" && (e[n] = u), r && o === "nonenumerable" && Object.defineProperty(e, n, {
package/dist/index15.js CHANGED
@@ -1,16 +1,16 @@
1
- import { defineComponent as I, ref as u, computed as L, createBlock as c, openBlock as m, normalizeClass as M, withCtx as t, createVNode as b, unref as i, withDirectives as _, createElementVNode as d, mergeProps as N, renderSlot as r, withModifiers as q, normalizeStyle as z, createCommentVNode as U } from "vue";
2
- import { isHex as F } from "./index246.js";
1
+ import { defineComponent as I, ref as u, computed as L, createBlock as c, openBlock as m, normalizeClass as M, withCtx as t, createVNode as b, unref as i, createCommentVNode as _, withDirectives as N, createElementVNode as d, mergeProps as q, renderSlot as r, withModifiers as z, normalizeStyle as U } from "vue";
2
+ import { isHex as F } from "./index253.js";
3
3
  import { isNotNil as S } from "./index140.js";
4
4
  import { useId as T } from "./index8.js";
5
- import { useLocale as A } from "./index211.js";
6
- import { useUntil as K } from "./index233.js";
7
- import { vMaska as O } from "./index234.js";
8
- import P from "./index247.js";
5
+ import { useLocale as A } from "./index224.js";
6
+ import { useUntil as K } from "./index248.js";
7
+ import { vMaska as O } from "./index249.js";
8
+ import P from "./index254.js";
9
9
  /* empty css */
10
- import j from "./index214.js";
10
+ import j from "./index228.js";
11
11
  /* empty css */
12
- import G from "./index213.js";
13
- import J from "./index235.js";
12
+ import G from "./index230.js";
13
+ import J from "./index250.js";
14
14
  /* empty css */
15
15
  const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], R = ["aria-label"], W = { class: "bb-common-input-inner-container__suffix" }, de = /* @__PURE__ */ I({
16
16
  __name: "BaseColorInput",
@@ -95,7 +95,7 @@ const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
95
95
  "append:icon": n["append:icon"],
96
96
  clearable: e.clearable && i(S)(e.modelValue),
97
97
  "prepend:icon": n["prepend:icon"],
98
- "onClick:clear": o[0] || (o[0] = (s) => e.$emit("update:modelValue", null))
98
+ "onClick:clear": o[2] || (o[2] = (s) => e.$emit("update:modelValue", null))
99
99
  }, {
100
100
  prepend: t(() => [
101
101
  r(e.$slots, "prepend")
@@ -108,9 +108,9 @@ const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
108
108
  ref: "indicator",
109
109
  "aria-label": i(g)("colorInput.paletteLabel").value,
110
110
  class: "bb-base-color-input__indicator",
111
- style: z({ backgroundColor: n.modelValue ?? void 0 }),
111
+ style: U({ backgroundColor: n.modelValue ?? void 0 }),
112
112
  type: "button",
113
- onClick: q($, ["stop"])
113
+ onClick: z($, ["stop"])
114
114
  }, null, 12, R),
115
115
  r(e.$slots, "append", {}, () => [
116
116
  d("span", W, [
@@ -119,7 +119,28 @@ const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
119
119
  ])
120
120
  ]),
121
121
  default: t(() => [
122
- _(d("input", N(w, {
122
+ i(H) ? (m(), c(J, {
123
+ key: 0,
124
+ modelValue: l.value,
125
+ "onUpdate:modelValue": o[1] || (o[1] = (s) => l.value = s),
126
+ block: !0,
127
+ class: "bb-base-color-input__pallette",
128
+ dialog: "",
129
+ offset: 4,
130
+ "transition-duration": e.transitionDuration
131
+ }, {
132
+ default: t(() => [
133
+ b(P, {
134
+ ref_key: "pallette",
135
+ ref: V,
136
+ inert: !l.value,
137
+ "model-value": e.modelValue,
138
+ "onUpdate:modelValue": o[0] || (o[0] = (s) => a("update:modelValue", s))
139
+ }, null, 8, ["inert", "model-value"])
140
+ ]),
141
+ _: 1
142
+ }, 8, ["modelValue", "transition-duration"])) : _("", !0),
143
+ N(d("input", q(w, {
123
144
  id: i(v),
124
145
  "aria-describedby": e.ariaDescribedby,
125
146
  "aria-invalid": e.hasErrors ? !0 : void 0,
@@ -139,27 +160,7 @@ const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
139
160
  ])
140
161
  ]),
141
162
  _: 3
142
- }, 8, ["append:icon", "clearable", "prepend:icon"]),
143
- b(J, {
144
- modelValue: l.value,
145
- "onUpdate:modelValue": o[2] || (o[2] = (s) => l.value = s),
146
- block: !0,
147
- class: "bb-base-color-input__pallette",
148
- dialog: "",
149
- "transition-duration": e.transitionDuration
150
- }, {
151
- default: t(() => [
152
- i(H) ? (m(), c(P, {
153
- key: 0,
154
- ref_key: "pallette",
155
- ref: V,
156
- inert: !l.value,
157
- "model-value": e.modelValue,
158
- "onUpdate:modelValue": o[1] || (o[1] = (s) => a("update:modelValue", s))
159
- }, null, 8, ["inert", "model-value"])) : U("", !0)
160
- ]),
161
- _: 1
162
- }, 8, ["modelValue", "transition-duration"])
163
+ }, 8, ["append:icon", "clearable", "prepend:icon"])
163
164
  ]),
164
165
  _: 3
165
166
  }, 8, ["class"]));
package/dist/index17.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as E, ref as m, computed as n, watch as _, createElementBlock as p, openBlock as h, normalizeProps as i, guardReactiveProps as f, createCommentVNode as I, createElementVNode as l, mergeProps as k, renderSlot as F } from "vue";
2
- import { isCssColor as y } from "./index216.js";
3
- import { when as N } from "./index217.js";
4
- import { booleanishToBoolean as S } from "./index218.js";
2
+ import { isCssColor as y } from "./index227.js";
3
+ import { when as N } from "./index252.js";
4
+ import { booleanishToBoolean as S } from "./index225.js";
5
5
  const A = {
6
6
  "aria-hidden": "true",
7
7
  class: "bb-base-checkbox-container"
package/dist/index19.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 b, guardReactiveProps as v, createVNode as R, mergeProps as T } from "vue";
2
2
  import W from "./index17.js";
3
3
  /* empty css */
4
- import K from "./index237.js";
4
+ import K from "./index236.js";
5
5
  /* empty css */
6
- import { useItemsGetter as N } from "./index239.js";
6
+ import { useItemsGetter as N } from "./index238.js";
7
7
  import { useIndexById as w } from "./index240.js";
8
8
  import { useBaseOptions as U } from "./index241.js";
9
9
  import { useCoherence as q } from "./index242.js";
10
- import { hash as J } from "./index243.js";
11
- import { useHashedWatcher as C } from "./index244.js";
12
- import { usePrefill as Q } from "./index245.js";
10
+ import { hash as J } from "./index216.js";
11
+ import { useHashedWatcher as C } from "./index243.js";
12
+ import { usePrefill as Q } from "./index239.js";
13
13
  const de = /* @__PURE__ */ j({
14
14
  __name: "BaseCheckboxGroup",
15
15
  props: {
package/dist/index209.js CHANGED
@@ -1,12 +1,7 @@
1
- const o = (t, r) => {
2
- const e = {};
3
- for (const c in t)
4
- if (Object.prototype.hasOwnProperty.call(t, c)) {
5
- const n = t[c];
6
- r(n, c, t) && (e[c] = n);
7
- }
8
- return e;
9
- };
1
+ import { getDefaultExportFromCjs as r } from "./index302.js";
2
+ import { __require as o } from "./index278.js";
3
+ var t = o();
4
+ const s = /* @__PURE__ */ r(t);
10
5
  export {
11
- o as pickBy
6
+ s as default
12
7
  };
package/dist/index21.js CHANGED
@@ -5,22 +5,22 @@ import { _config as C } from "./index4.js";
5
5
  import { useId as F } from "./index8.js";
6
6
  import f from "./index13.js";
7
7
  /* empty css */
8
- import s from "./index224.js";
9
- import G from "./index228.js";
10
- import J from "./index229.js";
11
- import K from "./index230.js";
12
- import Q from "./index227.js";
13
- import X from "./index260.js";
14
- import ee from "./index261.js";
15
- import { hash as M } from "./index243.js";
16
- import { last as ae } from "./index232.js";
17
- import { useLogger as te } from "./index262.js";
18
- import oe from "./index263.js";
19
- import le from "./index264.js";
20
- import re from "./index265.js";
21
- import B from "./index266.js";
22
- import se from "./index267.js";
23
- import { useLocale as de } from "./index211.js";
8
+ import s from "./index209.js";
9
+ import G from "./index210.js";
10
+ import J from "./index211.js";
11
+ import K from "./index212.js";
12
+ import Q from "./index213.js";
13
+ import X from "./index214.js";
14
+ import ee from "./index215.js";
15
+ import { hash as M } from "./index216.js";
16
+ import { last as ae } from "./index217.js";
17
+ import { useLogger as te } from "./index218.js";
18
+ import oe from "./index219.js";
19
+ import le from "./index220.js";
20
+ import re from "./index221.js";
21
+ import B from "./index222.js";
22
+ import se from "./index223.js";
23
+ import { useLocale as de } from "./index224.js";
24
24
  const ie = { class: "bb-base-date-picker" }, ne = { class: "bb-base-date-picker__body" }, ue = { class: "bb-base-date-picker__controls" }, me = { class: "sr-only" }, pe = { class: "sr-only" }, ce = { class: "sr-only" }, fe = {
25
25
  style: { transform: "rotate(180deg)" },
26
26
  viewBox: "0 0 24 24",
package/dist/index210.js CHANGED
@@ -1,5 +1,7 @@
1
- const o = () => {
2
- };
1
+ import { getDefaultExportFromCjs as r } from "./index302.js";
2
+ import { __require as e } from "./index280.js";
3
+ var t = e();
4
+ const m = /* @__PURE__ */ r(t);
3
5
  export {
4
- o as noop
6
+ m as default
5
7
  };
package/dist/index211.js CHANGED
@@ -1,15 +1,7 @@
1
- import { locales as t } from "./index280.js";
2
- import { _config as m } from "./index4.js";
3
- import { get as c } from "./index281.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
- });
1
+ import { getDefaultExportFromCjs as r } from "./index302.js";
2
+ import { __require as e } from "./index282.js";
3
+ var o = e();
4
+ const m = /* @__PURE__ */ r(o);
13
5
  export {
14
- d as useLocale
6
+ m as default
15
7
  };
package/dist/index212.js CHANGED
@@ -1,36 +1,7 @@
1
- import { defineComponent as p, getCurrentInstance as a, resolveComponent as u, createBlock as f, openBlock as k, resolveDynamicComponent as g, unref as d, withCtx as b, renderSlot as x } from "vue";
2
- import { _config as e } from "./index4.js";
3
- import { useLogger as l } from "./index262.js";
4
- const $ = /* @__PURE__ */ p({
5
- __name: "RouterComponent",
6
- setup(y) {
7
- var o, i, r, s;
8
- const m = !!((i = (o = a()) == null ? void 0 : o.proxy) != null && i.$inertia), c = !!((s = (r = a()) == null ? void 0 : r.proxy) != null && s.$nuxt);
9
- let t;
10
- if (m) {
11
- if (t = u(e.inertiaLinkName), typeof t == "string") {
12
- const { warn: n } = l();
13
- n(
14
- `Inertia link component "${e.inertiaLinkName}" could not be resolved. Ensure you app registers a link component with the name "${e.inertiaLinkName}" or set bitboss-ui config key "inertiaLinkName" to the correct value globally. Please visit ${e.documentationURL}/getting-started to resolve setup issues in bitboss-ui.`
15
- );
16
- }
17
- } else if (c) {
18
- if (t = u(e.nuxtLinkName), typeof t == "string") {
19
- const { warn: n } = l();
20
- n(
21
- `Nuxt link component "${e.nuxtLinkName}" could not be resolved. Ensure you app registers a link component with the name "${e.nuxtLinkName}" or set bitboss-ui config key "nuxtLinkName" to the correct value globally. Please visit ${e.documentationURL}/getting-started to resolve setup issues in bitboss-ui.`
22
- );
23
- }
24
- } else
25
- t = "router-link";
26
- return (n, L) => (k(), f(g(d(t)), null, {
27
- default: b(() => [
28
- x(n.$slots, "default")
29
- ]),
30
- _: 3
31
- }));
32
- }
33
- });
1
+ import { getDefaultExportFromCjs as r } from "./index302.js";
2
+ import { __require as t } from "./index284.js";
3
+ var o = t();
4
+ const a = /* @__PURE__ */ r(o);
34
5
  export {
35
- $ as default
6
+ a as default
36
7
  };
package/dist/index213.js CHANGED
@@ -1,15 +1,7 @@
1
- import { createElementBlock as t, openBlock as n, renderSlot as e } from "vue";
2
- /* empty css */
3
- import r from "./index284.js";
4
- const s = {}, c = { class: "bb-common-input-outer-container" };
5
- function p(o, a) {
6
- return n(), t("span", c, [
7
- e(o.$slots, "prepend-outer"),
8
- e(o.$slots, "default"),
9
- e(o.$slots, "append-outer")
10
- ]);
11
- }
12
- const i = /* @__PURE__ */ r(s, [["render", p]]);
1
+ import { getDefaultExportFromCjs as r } from "./index302.js";
2
+ import { __require as e } from "./index286.js";
3
+ var o = e();
4
+ const m = /* @__PURE__ */ r(o);
13
5
  export {
14
- i as default
6
+ m as default
15
7
  };
package/dist/index214.js CHANGED
@@ -1,68 +1,7 @@
1
- import { defineComponent as _, ref as $, createElementBlock as k, openBlock as r, normalizeClass as y, renderSlot as n, createBlock as c, createCommentVNode as s, createVNode as p, createElementVNode as l, unref as i } from "vue";
2
- /* empty css */
3
- /* empty css */
4
- import m from "./index85.js";
5
- /* empty css */
6
- import C from "./index113.js";
7
- /* empty css */
8
- import h from "./index330.js";
9
- import B from "./index331.js";
10
- /* empty css */
11
- const v = { class: "bb-common-input-inner-container__prefix" }, I = { class: "bb-common-input-inner-container__suffix" }, A = /* @__PURE__ */ _({
12
- __name: "CommonInputInnerContainer",
13
- props: {
14
- "append:icon": {},
15
- clearable: { type: Boolean },
16
- "prepend:icon": {},
17
- preventFocus: { type: Boolean }
18
- },
19
- emits: ["click:clear"],
20
- setup(u, { emit: d }) {
21
- const t = u, f = d, o = $(), a = () => {
22
- var e;
23
- !o.value || t.preventFocus || (e = o.value.querySelector("input")) == null || e.focus();
24
- }, b = () => {
25
- f("click:clear"), a();
26
- };
27
- return (e, E) => (r(), k("span", {
28
- ref_key: "container",
29
- ref: o,
30
- class: y(["bb-common-input-inner-container", {
31
- "bb-common-input-inner-container--clearable": t.clearable
32
- }]),
33
- onClick: a
34
- }, [
35
- n(e.$slots, "prepend", {}, () => [
36
- l("span", v, [
37
- n(e.$slots, "prefix")
38
- ])
39
- ]),
40
- e.$props["prepend:icon"] ? (r(), c(i(m), {
41
- key: 0,
42
- class: "bb-common-input-inner-container__prepend-icon",
43
- type: e.$props["prepend:icon"]
44
- }, null, 8, ["type"])) : s("", !0),
45
- n(e.$slots, "default"),
46
- p(B, {
47
- "aria-hidden": !e.clearable,
48
- tabindex: e.clearable ? 0 : -1,
49
- onClick: b
50
- }, null, 8, ["aria-hidden", "tabindex"]),
51
- e.$props["append:icon"] ? (r(), c(i(m), {
52
- key: 1,
53
- class: "bb-common-input-inner-container__append-icon",
54
- type: e.$props["append:icon"]
55
- }, null, 8, ["type"])) : s("", !0),
56
- p(h),
57
- p(i(C)),
58
- n(e.$slots, "append", {}, () => [
59
- l("span", I, [
60
- n(e.$slots, "suffix")
61
- ])
62
- ])
63
- ], 2));
64
- }
65
- });
1
+ import { getDefaultExportFromCjs as e } from "./index302.js";
2
+ import { __require as r } from "./index288.js";
3
+ var o = r();
4
+ const p = /* @__PURE__ */ e(o);
66
5
  export {
67
- A as default
6
+ p as default
68
7
  };
@@ -0,0 +1,7 @@
1
+ import { getDefaultExportFromCjs as e } from "./index302.js";
2
+ import { __require as r } from "./index290.js";
3
+ var o = r();
4
+ const f = /* @__PURE__ */ e(o);
5
+ export {
6
+ f as default
7
+ };
package/dist/index216.js CHANGED
@@ -1,4 +1,5 @@
1
- const s = (r) => !!r && !!r.match(/^(#|var\(--|(rgb|hsl)a?\()/);
1
+ import { hash as o } from "./index296.js";
2
+ const t = (r, h = "bb") => `${h}${o(r)}`;
2
3
  export {
3
- s as isCssColor
4
+ t as hash
4
5
  };
package/dist/index217.js CHANGED
@@ -1,6 +1,4 @@
1
- import { curry as e } from "./index286.js";
2
- const t = (n, o, r) => n(r) ? o(r) : r, s = e(t);
1
+ const e = (t) => t[t.length - 1];
3
2
  export {
4
- t as baseWhen,
5
- s as when
3
+ e as last
6
4
  };
package/dist/index218.js CHANGED
@@ -1,4 +1,10 @@
1
- const o = (e) => typeof e == "boolean" ? e : e === "true";
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
+ });
2
8
  export {
3
- o as booleanishToBoolean
9
+ e as useLogger
4
10
  };