bitboss-ui 2.0.170 → 2.0.172

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 (198) hide show
  1. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +95 -5
  2. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +2 -2
  3. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +12 -6
  4. package/dist/components/BbPopover/BbPopover.vue.d.ts +14 -8
  5. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +12 -6
  6. package/dist/components/CommonPopover.vue.d.ts +5 -4
  7. package/dist/index.css +1 -1
  8. package/dist/index106.js +9 -9
  9. package/dist/index111.js +1 -1
  10. package/dist/index113.js +1 -1
  11. package/dist/index121.js +12 -12
  12. package/dist/index129.js +2 -2
  13. package/dist/index13.js +1 -1
  14. package/dist/index131.js +3 -3
  15. package/dist/index133.js +1 -1
  16. package/dist/index136.js +1 -1
  17. package/dist/index138.js +1 -1
  18. package/dist/index139.js +2 -2
  19. package/dist/index15.js +129 -142
  20. package/dist/index17.js +3 -3
  21. package/dist/index19.js +8 -8
  22. package/dist/index207.js +2 -2
  23. package/dist/index208.js +2 -2
  24. package/dist/index209.js +10 -5
  25. package/dist/index21.js +16 -16
  26. package/dist/index210.js +3 -5
  27. package/dist/index211.js +13 -5
  28. package/dist/index212.js +34 -5
  29. package/dist/index213.js +13 -5
  30. package/dist/index214.js +66 -5
  31. package/dist/index216.js +2 -3
  32. package/dist/index217.js +4 -2
  33. package/dist/index218.js +2 -8
  34. package/dist/index219.js +2 -250
  35. package/dist/index220.js +41 -52
  36. package/dist/index221.js +5 -43
  37. package/dist/index222.js +7 -5
  38. package/dist/index223.js +11 -56
  39. package/dist/index224.js +5 -13
  40. package/dist/index225.js +9 -2
  41. package/dist/index226.js +5 -4
  42. package/dist/index227.js +5 -2
  43. package/dist/index228.js +5 -34
  44. package/dist/index229.js +5 -2
  45. package/dist/index23.js +136 -159
  46. package/dist/index230.js +5 -2
  47. package/dist/index231.js +2 -86
  48. package/dist/index232.js +4 -0
  49. package/dist/index233.js +9 -27
  50. package/dist/index234.js +19 -16
  51. package/dist/index235.js +103 -49
  52. package/dist/index237.js +86 -12
  53. package/dist/index239.js +29 -3
  54. package/dist/index240.js +17 -4
  55. package/dist/index241.js +50 -40
  56. package/dist/index242.js +14 -19
  57. package/dist/index243.js +3 -94
  58. package/dist/index244.js +14 -0
  59. package/dist/index245.js +16 -200
  60. package/dist/index246.js +6 -0
  61. package/dist/index247.js +192 -58
  62. package/dist/index249.js +18 -13
  63. package/dist/index25.js +5 -5
  64. package/dist/index250.js +12 -6
  65. package/dist/index251.js +106 -7
  66. package/dist/index253.js +99 -17
  67. package/dist/index255.js +211 -89
  68. package/dist/index256.js +4 -0
  69. package/dist/index257.js +176 -99
  70. package/dist/index258.js +5 -0
  71. package/dist/index259.js +2 -12
  72. package/dist/index260.js +5 -2
  73. package/dist/index261.js +5 -228
  74. package/dist/index262.js +7 -367
  75. package/dist/index263.js +250 -2
  76. package/dist/index264.js +52 -5
  77. package/dist/index265.js +44 -9
  78. package/dist/index266.js +5 -177
  79. package/dist/index267.js +59 -8
  80. package/dist/index268.js +8 -10
  81. package/dist/index269.js +23 -101
  82. package/dist/index27.js +1 -1
  83. package/dist/index270.js +8 -0
  84. package/dist/index271.js +16 -23
  85. package/dist/index272.js +3 -10
  86. package/dist/index273.js +9 -3
  87. package/dist/index274.js +8 -6
  88. package/dist/index275.js +2 -16
  89. package/dist/index276.js +67 -3
  90. package/dist/index277.js +5 -9
  91. package/dist/index278.js +8 -8
  92. package/dist/index279.js +5 -2
  93. package/dist/index280.js +7 -67
  94. package/dist/index281.js +11 -5
  95. package/dist/index282.js +2 -5
  96. package/dist/index284.js +7 -280
  97. package/dist/index285.js +3 -2
  98. package/dist/index286.js +4 -16
  99. package/dist/index287.js +3 -2
  100. package/dist/index288.js +17 -16
  101. package/dist/index289.js +28 -2
  102. package/dist/index29.js +3 -3
  103. package/dist/index290.js +3 -18
  104. package/dist/index291.js +471 -2
  105. package/dist/index292.js +2 -15
  106. package/dist/index293.js +3 -2
  107. package/dist/index294.js +3 -19
  108. package/dist/index295.js +280 -2
  109. package/dist/index296.js +2 -27
  110. package/dist/index297.js +125 -2
  111. package/dist/index298.js +2 -2
  112. package/dist/index299.js +15 -2
  113. package/dist/index300.js +2 -2
  114. package/dist/index301.js +16 -2
  115. package/dist/index302.js +2 -28
  116. package/dist/index303.js +16 -22
  117. package/dist/index305.js +19 -7
  118. package/dist/index306.js +2 -7
  119. package/dist/index307.js +200 -11
  120. package/dist/index308.js +6 -4
  121. package/dist/index309.js +3 -2
  122. package/dist/index31.js +2 -2
  123. package/dist/index310.js +3 -6
  124. package/dist/index311.js +2 -4
  125. package/dist/index312.js +5 -3
  126. package/dist/index313.js +19 -17
  127. package/dist/index314.js +2 -5
  128. package/dist/index315.js +25 -469
  129. package/dist/index316.js +2 -3
  130. package/dist/index317.js +2 -3
  131. package/dist/index318.js +2 -3
  132. package/dist/index319.js +4 -0
  133. package/dist/index320.js +2 -200
  134. package/dist/index321.js +21 -1
  135. package/dist/index323.js +5 -3
  136. package/dist/index324.js +701 -3
  137. package/dist/index325.js +354 -2
  138. package/dist/index326.js +51 -375
  139. package/dist/index327.js +2 -126
  140. package/dist/index328.js +58 -125
  141. package/dist/index329.js +58 -2
  142. package/dist/index33.js +8 -8
  143. package/dist/index330.js +32 -2
  144. package/dist/index331.js +28 -5
  145. package/dist/index333.js +47 -354
  146. package/dist/index334.js +6 -57
  147. package/dist/index335.js +8 -2
  148. package/dist/index336.js +5 -6
  149. package/dist/index337.js +8 -19
  150. package/dist/index338.js +6 -6
  151. package/dist/index339.js +18 -32
  152. package/dist/index340.js +227 -27
  153. package/dist/{index254.js → index341.js} +4 -4
  154. package/dist/index342.js +360 -220
  155. package/dist/index343.js +92 -57
  156. package/dist/index345.js +3 -8
  157. package/dist/index346.js +480 -4
  158. package/dist/index347.js +45 -6
  159. package/dist/index348.js +129 -5
  160. package/dist/index349.js +379 -44
  161. package/dist/index35.js +4 -4
  162. package/dist/index350.js +124 -91
  163. package/dist/index37.js +230 -240
  164. package/dist/index39.js +5 -5
  165. package/dist/index41.js +2 -2
  166. package/dist/index43.js +8 -8
  167. package/dist/index45.js +8 -8
  168. package/dist/index47.js +2 -2
  169. package/dist/index49.js +3 -3
  170. package/dist/index53.js +1 -1
  171. package/dist/index55.js +1 -1
  172. package/dist/index57.js +2 -2
  173. package/dist/index61.js +3 -3
  174. package/dist/index67.js +1 -1
  175. package/dist/index79.js +4 -4
  176. package/dist/index81.js +1 -1
  177. package/dist/index83.js +2 -2
  178. package/dist/index85.js +1 -1
  179. package/dist/index87.js +1 -1
  180. package/dist/index90.js +4 -4
  181. package/dist/index92.js +2 -2
  182. package/dist/index94.js +41 -40
  183. package/dist/index96.js +1 -1
  184. package/package.json +1 -1
  185. package/dist/components/CommonFloating.vue.d.ts +0 -38
  186. package/dist/index215.js +0 -7
  187. package/dist/index236.js +0 -17
  188. package/dist/index238.js +0 -18
  189. package/dist/index252.js +0 -17
  190. package/dist/index283.js +0 -10
  191. package/dist/index322.js +0 -131
  192. package/dist/index332.js +0 -703
  193. package/dist/index344.js +0 -60
  194. package/dist/index352.js +0 -5
  195. package/dist/index353.js +0 -484
  196. package/dist/index354.js +0 -49
  197. package/dist/index355.js +0 -483
  198. /package/dist/{index356.js → index304.js} +0 -0
package/dist/index15.js CHANGED
@@ -1,19 +1,18 @@
1
- import { defineComponent as H, ref as u, computed as D, createElementBlock as E, openBlock as I, Fragment as M, createVNode as p, normalizeClass as _, withCtx as n, unref as s, withDirectives as F, createElementVNode as c, mergeProps as T, renderSlot as r, withModifiers as q, normalizeStyle as L, nextTick as N } from "vue";
2
- import { isHex as O } from "./index240.js";
3
- import { isNotNil as z } from "./index140.js";
4
- import { useFocusTrap as S } from "./index241.js";
5
- import { useId as A } from "./index8.js";
6
- import { vMaska as K } from "./index242.js";
7
- import P from "./index243.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, 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";
3
+ import { isNotNil as S } from "./index140.js";
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";
8
9
  /* empty css */
9
- import R from "./index245.js";
10
+ import j from "./index214.js";
10
11
  /* empty css */
11
- import U from "./index247.js";
12
+ import G from "./index213.js";
13
+ import J from "./index235.js";
12
14
  /* empty css */
13
- import j from "./index249.js";
14
- import { wait as G } from "./index135.js";
15
- import { useLocale as J } from "./index224.js";
16
- const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], W = ["aria-label"], X = { class: "bb-common-input-inner-container__suffix" }, ce = /* @__PURE__ */ H({
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({
17
16
  __name: "BaseColorInput",
18
17
  props: {
19
18
  "append:icon": {},
@@ -36,148 +35,136 @@ const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
36
35
  transitionDuration: { default: 250 }
37
36
  },
38
37
  emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
39
- setup(y, { emit: v }) {
40
- const t = y, o = v, m = t.id ?? `bb_${A().id.value}`, b = u(null), d = u(null), { t: k } = J(), g = D(() => ({
38
+ setup(f, { emit: y }) {
39
+ const n = f, a = y, k = u(
40
+ null
41
+ ), v = n.id ?? `bb_${T().id.value}`, C = u(null), V = u(null), { t: g } = A(), h = L(() => ({
41
42
  "bb-base-color-input": !0,
42
- "bb-base-color-input--disabled": t.disabled,
43
- "bb-base-color-input--errors": t.hasErrors,
44
- "bb-base-color-input--loading": t.loading,
45
- "bb-base-color-input--readonly": t.readonly,
46
- "bb-base-color-input--compact": t.compact,
43
+ "bb-base-color-input--disabled": n.disabled,
44
+ "bb-base-color-input--errors": n.hasErrors,
45
+ "bb-base-color-input--loading": n.loading,
46
+ "bb-base-color-input--readonly": n.readonly,
47
+ "bb-base-color-input--compact": n.compact,
47
48
  "bb-base-color-input--active": l.value
48
- })), h = {
49
- onBlur: (e) => o("blur", e),
50
- onChange: (e) => o("change", e),
51
- onClick: (e) => o("click", e),
52
- onFocus: (e) => o("focus", e),
53
- onKeydown: (e) => o("keydown", e),
49
+ })), w = {
50
+ onBlur: (e) => a("blur", e),
51
+ onChange: (e) => a("change", e),
52
+ onClick: (e) => a("click", e),
53
+ onFocus: (e) => a("focus", e),
54
+ onKeydown: (e) => a("keydown", e),
54
55
  onInput: (e) => {
55
- o("input", e);
56
+ a("input", e);
56
57
  },
57
- onMousedown: (e) => o("mousedown", e),
58
- onMouseup: (e) => o("mouseup", e),
58
+ onMousedown: (e) => a("mousedown", e),
59
+ onMouseup: (e) => a("mouseup", e),
59
60
  onMaska: (e) => {
60
- const a = e.detail;
61
- O(a.masked) ? o("update:modelValue", a.masked) : a.masked === "" && o("update:modelValue", null);
61
+ const o = e.detail;
62
+ F(o.masked) ? a("update:modelValue", o.masked) : o.masked === "" && a("update:modelValue", null);
62
63
  }
63
- }, w = () => {
64
- V();
65
- }, C = {
64
+ }, $ = () => {
65
+ D();
66
+ }, B = {
66
67
  mask: "!#HHHHHH",
67
68
  tokens: {
68
69
  H: { pattern: /[0-9a-fA-F]/ }
69
70
  },
70
71
  eager: !0
71
- }, l = u(!1), V = async () => {
72
- $.value = !0, l.value = !0, await G(100), B();
73
- }, f = async () => {
74
- l.value = !1;
75
- }, $ = u(!1), { activate: B } = S(d, {
76
- /**
77
- * This traps all clicks outside so we are pressing
78
- * the trigger we just allow and process that in its
79
- * own click handler.
80
- * If we are pressing anything random on the page
81
- * close the popover and be done
82
- */
83
- clickOutsideDeactivates: (e) => {
84
- var i;
85
- const a = e.target;
86
- return a instanceof HTMLElement && (i = d.value) != null && i.$el.contains(a) || f(), !0;
87
- },
88
- escapeDeactivates: () => (N(async () => {
89
- await f();
90
- }), !0),
91
- returnFocusOnDeactivate: !0
92
- });
93
- return (e, a) => (I(), E(M, null, [
94
- p(j, {
95
- class: _(g.value)
96
- }, {
97
- "prepend-outer": n(() => [
98
- r(e.$slots, "prepend-outer")
99
- ]),
100
- "append-outer": n(() => [
101
- r(e.$slots, "append-outer")
102
- ]),
103
- default: n(() => [
104
- p(U, {
105
- ref_key: "innerContainer",
106
- ref: b,
107
- "append:icon": t["append:icon"],
108
- clearable: e.clearable && s(z)(e.modelValue),
109
- "prepend:icon": t["prepend:icon"],
110
- "onClick:clear": a[0] || (a[0] = (i) => e.$emit("update:modelValue", null))
111
- }, {
112
- prepend: n(() => [
113
- r(e.$slots, "prepend")
114
- ]),
115
- prefix: n(() => [
116
- r(e.$slots, "prefix")
117
- ]),
118
- append: n(() => [
119
- c("button", {
120
- ref: "indicator",
121
- "aria-label": s(k)("colorInput.paletteLabel").value,
122
- class: "bb-base-color-input__indicator",
123
- style: L({ backgroundColor: t.modelValue ?? void 0 }),
124
- type: "button",
125
- onClick: q(w, ["stop"])
126
- }, null, 12, W),
127
- r(e.$slots, "append", {}, () => [
128
- c("span", X, [
129
- r(e.$slots, "suffix")
130
- ])
131
- ])
132
- ]),
133
- default: n(() => [
134
- F(c("input", T(h, {
135
- id: s(m),
136
- "aria-describedby": e.ariaDescribedby,
137
- "aria-invalid": e.hasErrors ? !0 : void 0,
138
- autocomplete: e.autocomplete,
139
- autofocus: e.autofocus,
140
- class: "bb-base-color-input__input",
141
- disabled: e.disabled,
142
- name: e.name,
143
- placeholder: e.placeholder,
144
- readonly: e.readonly,
145
- required: e.required,
146
- size: "1",
147
- type: "text",
148
- value: e.modelValue
149
- }), null, 16, Q), [
150
- [s(K), C]
72
+ }, l = u(!1), H = K(l), p = (e) => {
73
+ const o = e.target;
74
+ o && o instanceof HTMLDialogElement && E();
75
+ }, D = async () => {
76
+ l.value = !0, document.addEventListener("click", p, { passive: !0 });
77
+ }, E = async () => {
78
+ l.value = !1, document.removeEventListener("click", p);
79
+ };
80
+ return (e, o) => (m(), c(G, {
81
+ ref_key: "wrapper",
82
+ ref: k,
83
+ class: M(h.value)
84
+ }, {
85
+ "prepend-outer": t(() => [
86
+ r(e.$slots, "prepend-outer")
87
+ ]),
88
+ "append-outer": t(() => [
89
+ r(e.$slots, "append-outer")
90
+ ]),
91
+ default: t(() => [
92
+ b(j, {
93
+ ref_key: "innerContainer",
94
+ ref: C,
95
+ "append:icon": n["append:icon"],
96
+ clearable: e.clearable && i(S)(e.modelValue),
97
+ "prepend:icon": n["prepend:icon"],
98
+ "onClick:clear": o[0] || (o[0] = (s) => e.$emit("update:modelValue", null))
99
+ }, {
100
+ prepend: t(() => [
101
+ r(e.$slots, "prepend")
102
+ ]),
103
+ prefix: t(() => [
104
+ r(e.$slots, "prefix")
105
+ ]),
106
+ append: t(() => [
107
+ d("button", {
108
+ ref: "indicator",
109
+ "aria-label": i(g)("colorInput.paletteLabel").value,
110
+ class: "bb-base-color-input__indicator",
111
+ style: z({ backgroundColor: n.modelValue ?? void 0 }),
112
+ type: "button",
113
+ onClick: q($, ["stop"])
114
+ }, null, 12, R),
115
+ r(e.$slots, "append", {}, () => [
116
+ d("span", W, [
117
+ r(e.$slots, "suffix")
151
118
  ])
152
- ]),
153
- _: 3
154
- }, 8, ["append:icon", "clearable", "prepend:icon"])
155
- ]),
156
- _: 3
157
- }, 8, ["class"]),
158
- p(P, {
159
- "base-class": "bb-base-color-input__pallette",
160
- "container-attributes": { id: s(m) },
161
- offset: 4,
162
- open: l.value,
163
- "teleport-target": e.teleportTarget,
164
- "transition-duration": e.transitionDuration,
165
- wrapper: b.value
166
- }, {
167
- default: n(() => [
168
- p(R, {
169
- ref_key: "pallette",
170
- ref: d,
171
- inert: !l.value,
172
- "model-value": e.modelValue,
173
- "onUpdate:modelValue": a[1] || (a[1] = (i) => o("update:modelValue", i))
174
- }, null, 8, ["inert", "model-value"])
175
- ]),
176
- _: 1
177
- }, 8, ["container-attributes", "open", "teleport-target", "transition-duration", "wrapper"])
178
- ], 64));
119
+ ])
120
+ ]),
121
+ default: t(() => [
122
+ _(d("input", N(w, {
123
+ id: i(v),
124
+ "aria-describedby": e.ariaDescribedby,
125
+ "aria-invalid": e.hasErrors ? !0 : void 0,
126
+ autocomplete: e.autocomplete,
127
+ autofocus: e.autofocus,
128
+ class: "bb-base-color-input__input",
129
+ disabled: e.disabled,
130
+ name: e.name,
131
+ placeholder: e.placeholder,
132
+ readonly: e.readonly,
133
+ required: e.required,
134
+ size: "1",
135
+ type: "text",
136
+ value: e.modelValue
137
+ }), null, 16, Q), [
138
+ [i(O), B]
139
+ ])
140
+ ]),
141
+ _: 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
+ ]),
164
+ _: 3
165
+ }, 8, ["class"]));
179
166
  }
180
167
  });
181
168
  export {
182
- ce as default
169
+ de as default
183
170
  };
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 "./index225.js";
3
- import { when as N } from "./index226.js";
4
- import { booleanishToBoolean as S } from "./index227.js";
2
+ import { isCssColor as y } from "./index216.js";
3
+ import { when as N } from "./index217.js";
4
+ import { booleanishToBoolean as S } from "./index218.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 "./index231.js";
4
+ import K from "./index237.js";
5
5
  /* empty css */
6
- import { useItemsGetter as N } from "./index233.js";
7
- import { useIndexById as w } from "./index234.js";
8
- import { useBaseOptions as U } from "./index235.js";
9
- import { useCoherence as q } from "./index236.js";
10
- import { hash as J } from "./index216.js";
11
- import { useHashedWatcher as C } from "./index237.js";
12
- import { usePrefill as Q } from "./index238.js";
6
+ import { useItemsGetter as N } from "./index239.js";
7
+ import { useIndexById as w } from "./index240.js";
8
+ import { useBaseOptions as U } from "./index241.js";
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";
13
13
  const de = /* @__PURE__ */ j({
14
14
  __name: "BaseCheckboxGroup",
15
15
  props: {
package/dist/index207.js CHANGED
@@ -1,4 +1,4 @@
1
- const t = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
1
+ const n = (t, a, m) => Math.min(Math.max(t, a), m);
2
2
  export {
3
- t as urlAlphabet
3
+ n as clamp
4
4
  };
package/dist/index208.js CHANGED
@@ -1,4 +1,4 @@
1
- const n = (t, a, m) => Math.min(Math.max(t, a), m);
1
+ const t = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
2
2
  export {
3
- n as clamp
3
+ t as urlAlphabet
4
4
  };
package/dist/index209.js CHANGED
@@ -1,7 +1,12 @@
1
- import { getDefaultExportFromCjs as r } from "./index310.js";
2
- import { __require as o } from "./index284.js";
3
- var t = o();
4
- const s = /* @__PURE__ */ r(t);
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
+ };
5
10
  export {
6
- s as default
11
+ o as pickBy
7
12
  };
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 "./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";
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";
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,7 +1,5 @@
1
- import { getDefaultExportFromCjs as r } from "./index310.js";
2
- import { __require as e } from "./index286.js";
3
- var t = e();
4
- const m = /* @__PURE__ */ r(t);
1
+ const o = () => {
2
+ };
5
3
  export {
6
- m as default
4
+ o as noop
7
5
  };
package/dist/index211.js CHANGED
@@ -1,7 +1,15 @@
1
- import { getDefaultExportFromCjs as r } from "./index310.js";
2
- import { __require as e } from "./index288.js";
3
- var o = e();
4
- const m = /* @__PURE__ */ r(o);
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
+ });
5
13
  export {
6
- m as default
14
+ d as useLocale
7
15
  };
package/dist/index212.js CHANGED
@@ -1,7 +1,36 @@
1
- import { getDefaultExportFromCjs as r } from "./index310.js";
2
- import { __require as t } from "./index290.js";
3
- var o = t();
4
- const a = /* @__PURE__ */ r(o);
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
+ });
5
34
  export {
6
- a as default
35
+ $ as default
7
36
  };
package/dist/index213.js CHANGED
@@ -1,7 +1,15 @@
1
- import { getDefaultExportFromCjs as r } from "./index310.js";
2
- import { __require as e } from "./index292.js";
3
- var o = e();
4
- const m = /* @__PURE__ */ r(o);
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]]);
5
13
  export {
6
- m as default
14
+ i as default
7
15
  };
package/dist/index214.js CHANGED
@@ -1,7 +1,68 @@
1
- import { getDefaultExportFromCjs as e } from "./index310.js";
2
- import { __require as r } from "./index294.js";
3
- var o = r();
4
- const p = /* @__PURE__ */ e(o);
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
+ });
5
66
  export {
6
- p as default
67
+ A as default
7
68
  };
package/dist/index216.js CHANGED
@@ -1,5 +1,4 @@
1
- import { hash as o } from "./index302.js";
2
- const t = (r, h = "bb") => `${h}${o(r)}`;
1
+ const s = (r) => !!r && !!r.match(/^(#|var\(--|(rgb|hsl)a?\()/);
3
2
  export {
4
- t as hash
3
+ s as isCssColor
5
4
  };
package/dist/index217.js CHANGED
@@ -1,4 +1,6 @@
1
- const e = (t) => t[t.length - 1];
1
+ import { curry as e } from "./index286.js";
2
+ const t = (n, o, r) => n(r) ? o(r) : r, s = e(t);
2
3
  export {
3
- e as last
4
+ t as baseWhen,
5
+ s as when
4
6
  };
package/dist/index218.js CHANGED
@@ -1,10 +1,4 @@
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
- });
1
+ const o = (e) => typeof e == "boolean" ? e : e === "true";
8
2
  export {
9
- e as useLogger
3
+ o as booleanishToBoolean
10
4
  };