bitboss-ui 2.0.171 → 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 (193) 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 +12 -6
  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 +11 -11
  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/index139.js +2 -2
  17. package/dist/index15.js +129 -142
  18. package/dist/index17.js +3 -3
  19. package/dist/index19.js +8 -8
  20. package/dist/index209.js +10 -2
  21. package/dist/index21.js +16 -16
  22. package/dist/index210.js +3 -4
  23. package/dist/index211.js +13 -2
  24. package/dist/index212.js +33 -17
  25. package/dist/index213.js +13 -128
  26. package/dist/index214.js +59 -99
  27. package/dist/index216.js +2 -100
  28. package/dist/index217.js +6 -0
  29. package/dist/index218.js +2 -66
  30. package/dist/index219.js +4 -0
  31. package/dist/index220.js +40 -12
  32. package/dist/index222.js +7 -15
  33. package/dist/index223.js +15 -29
  34. package/dist/index224.js +5 -16
  35. package/dist/index225.js +9 -12
  36. package/dist/index226.js +5 -51
  37. package/dist/index227.js +5 -17
  38. package/dist/index228.js +5 -15
  39. package/dist/index229.js +5 -3
  40. package/dist/index23.js +136 -159
  41. package/dist/index230.js +5 -12
  42. package/dist/index231.js +2 -13
  43. package/dist/index232.js +2 -2
  44. package/dist/index233.js +11 -228
  45. package/dist/index234.js +17 -365
  46. package/dist/index235.js +105 -2
  47. package/dist/index237.js +86 -5
  48. package/dist/index239.js +29 -5
  49. package/dist/index240.js +17 -5
  50. package/dist/index241.js +51 -5
  51. package/dist/index242.js +15 -5
  52. package/dist/index243.js +3 -8
  53. package/dist/index244.js +12 -250
  54. package/dist/index245.js +16 -52
  55. package/dist/index246.js +4 -44
  56. package/dist/index247.js +200 -5
  57. package/dist/index249.js +18 -5
  58. package/dist/index25.js +4 -4
  59. package/dist/index250.js +12 -2
  60. package/dist/index251.js +106 -41
  61. package/dist/index253.js +94 -88
  62. package/dist/index255.js +228 -9
  63. package/dist/index256.js +2 -4
  64. package/dist/index257.js +174 -197
  65. package/dist/index258.js +5 -0
  66. package/dist/index259.js +2 -7
  67. package/dist/index260.js +5 -86
  68. package/dist/index261.js +7 -0
  69. package/dist/index262.js +6 -32
  70. package/dist/index263.js +250 -2
  71. package/dist/index264.js +52 -2
  72. package/dist/index265.js +44 -3
  73. package/dist/index266.js +5 -177
  74. package/dist/index267.js +60 -10
  75. package/dist/index268.js +8 -2
  76. package/dist/index269.js +23 -6
  77. package/dist/index27.js +1 -1
  78. package/dist/index270.js +6 -16
  79. package/dist/index271.js +15 -10
  80. package/dist/index272.js +3 -101
  81. package/dist/index273.js +11 -0
  82. package/dist/index274.js +8 -3
  83. package/dist/index275.js +2 -9
  84. package/dist/index276.js +67 -23
  85. package/dist/index277.js +5 -2
  86. package/dist/index278.js +8 -9
  87. package/dist/index279.js +5 -8
  88. package/dist/index280.js +7 -5
  89. package/dist/index281.js +11 -67
  90. package/dist/index282.js +2 -5
  91. package/dist/index284.js +6 -3
  92. package/dist/index285.js +3 -4
  93. package/dist/index286.js +4 -129
  94. package/dist/index287.js +1 -1
  95. package/dist/index288.js +17 -3
  96. package/dist/index289.js +28 -3
  97. package/dist/index29.js +2 -2
  98. package/dist/index290.js +6 -0
  99. package/dist/index291.js +469 -5
  100. package/dist/index292.js +1 -1
  101. package/dist/index293.js +3 -2
  102. package/dist/index294.js +3 -17
  103. package/dist/index295.js +279 -27
  104. package/dist/index296.js +2 -7
  105. package/dist/index297.js +124 -10
  106. package/dist/index298.js +2 -280
  107. package/dist/index299.js +15 -2
  108. package/dist/index300.js +2 -16
  109. package/dist/index301.js +16 -2
  110. package/dist/index302.js +2 -16
  111. package/dist/index303.js +16 -2
  112. package/dist/index304.js +2 -19
  113. package/dist/index305.js +19 -2
  114. package/dist/index306.js +2 -15
  115. package/dist/index307.js +200 -2
  116. package/dist/index308.js +5 -18
  117. package/dist/index309.js +3 -2
  118. package/dist/index31.js +2 -2
  119. package/dist/index310.js +3 -27
  120. package/dist/index311.js +2 -2
  121. package/dist/index312.js +5 -2
  122. package/dist/index313.js +19 -2
  123. package/dist/index314.js +2 -2
  124. package/dist/index315.js +27 -2
  125. package/dist/index316.js +2 -22
  126. package/dist/index317.js +4 -0
  127. package/dist/index318.js +2 -125
  128. package/dist/index319.js +2 -2
  129. package/dist/index320.js +2 -471
  130. package/dist/index321.js +22 -3
  131. package/dist/index323.js +5 -382
  132. package/dist/index324.js +700 -125
  133. package/dist/index325.js +354 -2
  134. package/dist/index326.js +58 -3
  135. package/dist/index327.js +2 -6
  136. package/dist/index328.js +56 -198
  137. package/dist/index329.js +58 -5
  138. package/dist/index33.js +8 -8
  139. package/dist/index330.js +31 -699
  140. package/dist/index331.js +28 -354
  141. package/dist/index333.js +47 -3
  142. package/dist/index334.js +7 -5
  143. package/dist/index335.js +7 -46
  144. package/dist/index336.js +6 -2
  145. package/dist/index337.js +7 -32
  146. package/dist/index338.js +7 -28
  147. package/dist/index339.js +21 -0
  148. package/dist/index340.js +227 -57
  149. package/dist/index341.js +127 -57
  150. package/dist/index342.js +367 -6
  151. package/dist/index343.js +92 -7
  152. package/dist/index345.js +3 -8
  153. package/dist/index346.js +482 -5
  154. package/dist/index347.js +46 -6
  155. package/dist/index348.js +127 -17
  156. package/dist/index349.js +377 -223
  157. package/dist/index35.js +4 -4
  158. package/dist/index350.js +124 -91
  159. package/dist/index37.js +230 -240
  160. package/dist/index39.js +4 -4
  161. package/dist/index41.js +2 -2
  162. package/dist/index43.js +8 -8
  163. package/dist/index45.js +8 -8
  164. package/dist/index47.js +2 -2
  165. package/dist/index49.js +3 -3
  166. package/dist/index53.js +1 -1
  167. package/dist/index55.js +1 -1
  168. package/dist/index57.js +2 -2
  169. package/dist/index61.js +3 -3
  170. package/dist/index67.js +1 -1
  171. package/dist/index79.js +4 -4
  172. package/dist/index81.js +1 -1
  173. package/dist/index83.js +2 -2
  174. package/dist/index85.js +1 -1
  175. package/dist/index87.js +1 -1
  176. package/dist/index90.js +4 -4
  177. package/dist/index92.js +2 -2
  178. package/dist/index94.js +3 -3
  179. package/package.json +1 -1
  180. package/dist/components/CommonFloating.vue.d.ts +0 -38
  181. package/dist/index236.js +0 -7
  182. package/dist/index238.js +0 -7
  183. package/dist/index248.js +0 -62
  184. package/dist/index252.js +0 -22
  185. package/dist/index283.js +0 -10
  186. package/dist/index322.js +0 -5
  187. package/dist/index332.js +0 -60
  188. package/dist/index344.js +0 -8
  189. package/dist/index351.js +0 -484
  190. package/dist/index353.js +0 -5
  191. package/dist/index354.js +0 -49
  192. package/dist/index355.js +0 -483
  193. package/dist/index356.js +0 -4
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 "./index256.js";
3
- import { isNotNil as z } from "./index140.js";
4
- import { useFocusTrap as S } from "./index251.js";
5
- import { useId as A } from "./index8.js";
6
- import { vMaska as K } from "./index252.js";
7
- import P from "./index253.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 "./index257.js";
10
+ import j from "./index214.js";
10
11
  /* empty css */
11
- import U from "./index218.js";
12
+ import G from "./index213.js";
13
+ import J from "./index235.js";
12
14
  /* empty css */
13
- import j from "./index220.js";
14
- import { wait as G } from "./index135.js";
15
- import { useLocale as J } from "./index231.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 "./index209.js";
3
- import { when as N } from "./index210.js";
4
- import { booleanishToBoolean as S } from "./index235.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 "./index260.js";
4
+ import K from "./index237.js";
5
5
  /* empty css */
6
- import { useItemsGetter as N } from "./index223.js";
7
- import { useIndexById as w } from "./index227.js";
8
- import { useBaseOptions as U } from "./index226.js";
9
- import { useCoherence as q } from "./index228.js";
10
- import { hash as J } from "./index229.js";
11
- import { useHashedWatcher as C } from "./index230.js";
12
- import { usePrefill as Q } from "./index224.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/index209.js CHANGED
@@ -1,4 +1,12 @@
1
- const s = (r) => !!r && !!r.match(/^(#|var\(--|(rgb|hsl)a?\()/);
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
+ };
2
10
  export {
3
- s as isCssColor
11
+ o as pickBy
4
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 "./index236.js";
9
- import G from "./index237.js";
10
- import J from "./index238.js";
11
- import K from "./index239.js";
12
- import Q from "./index240.js";
13
- import X from "./index241.js";
14
- import ee from "./index242.js";
15
- import { hash as M } from "./index229.js";
16
- import { last as ae } from "./index211.js";
17
- import { useLogger as te } from "./index243.js";
18
- import oe from "./index244.js";
19
- import le from "./index245.js";
20
- import re from "./index246.js";
21
- import B from "./index247.js";
22
- import se from "./index248.js";
23
- import { useLocale as de } from "./index231.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,6 +1,5 @@
1
- import { curry as e } from "./index284.js";
2
- const t = (n, o, r) => n(r) ? o(r) : r, s = e(t);
1
+ const o = () => {
2
+ };
3
3
  export {
4
- t as baseWhen,
5
- s as when
4
+ o as noop
6
5
  };
package/dist/index211.js CHANGED
@@ -1,4 +1,15 @@
1
- const e = (t) => t[t.length - 1];
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
+ });
2
13
  export {
3
- e as last
14
+ d as useLocale
4
15
  };
package/dist/index212.js CHANGED
@@ -1,20 +1,36 @@
1
- import { isNil as c } from "./index264.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;
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
+ }));
15
32
  }
16
- return !1;
17
- };
33
+ });
18
34
  export {
19
- y as matchAnyKey
35
+ $ as default
20
36
  };
package/dist/index213.js CHANGED
@@ -1,130 +1,15 @@
1
- import { arrow as j, computePosition as A } from "./index234.js";
2
- import { autoUpdate as W, flip as X, offset as Y, platform as Z, shift as ee } from "./index234.js";
3
- import { isNode as B, getNodeName as F } from "./index286.js";
4
- import { getOverflowAncestors as te } from "./index286.js";
5
- import { computed as r, ref as c, shallowRef as I, watch as x, getCurrentScope as U, onScopeDispose as k, shallowReadonly as o, unref as q } from "vue";
6
- function z(e) {
7
- return e != null && typeof e == "object" && "$el" in e;
8
- }
9
- function V(e) {
10
- if (z(e)) {
11
- const l = e.$el;
12
- return B(l) && F(l) === "#comment" ? null : l;
13
- }
14
- return e;
15
- }
16
- function i(e) {
17
- return typeof e == "function" ? e() : q(e);
18
- }
19
- function K(e) {
20
- return {
21
- name: "arrow",
22
- options: e,
23
- fn(l) {
24
- const t = V(i(e.element));
25
- return t == null ? {} : j({
26
- element: t,
27
- padding: e.padding
28
- }).fn(l);
29
- }
30
- };
31
- }
32
- function M(e) {
33
- return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
34
- }
35
- function C(e, l) {
36
- const t = M(e);
37
- return Math.round(l * t) / t;
38
- }
39
- function L(e, l, t) {
40
- t === void 0 && (t = {});
41
- const D = t.whileElementsMounted, s = r(() => {
42
- var n;
43
- return (n = i(t.open)) != null ? n : !0;
44
- }), O = r(() => i(t.middleware)), p = r(() => {
45
- var n;
46
- return (n = i(t.placement)) != null ? n : "bottom";
47
- }), w = r(() => {
48
- var n;
49
- return (n = i(t.strategy)) != null ? n : "absolute";
50
- }), S = r(() => {
51
- var n;
52
- return (n = i(t.transform)) != null ? n : !0;
53
- }), f = r(() => V(e.value)), u = r(() => V(l.value)), y = c(0), h = c(0), m = c(w.value), P = c(p.value), E = I({}), g = c(!1), _ = r(() => {
54
- const n = {
55
- position: m.value,
56
- left: "0",
57
- top: "0"
58
- };
59
- if (!u.value)
60
- return n;
61
- const a = C(u.value, y.value), b = C(u.value, h.value);
62
- return S.value ? {
63
- ...n,
64
- transform: "translate(" + a + "px, " + b + "px)",
65
- ...M(u.value) >= 1.5 && {
66
- willChange: "transform"
67
- }
68
- } : {
69
- position: m.value,
70
- left: a + "px",
71
- top: b + "px"
72
- };
73
- });
74
- let d;
75
- function v() {
76
- if (f.value == null || u.value == null)
77
- return;
78
- const n = s.value;
79
- A(f.value, u.value, {
80
- middleware: O.value,
81
- placement: p.value,
82
- strategy: w.value
83
- }).then((a) => {
84
- y.value = a.x, h.value = a.y, m.value = a.strategy, P.value = a.placement, E.value = a.middlewareData, g.value = n !== !1;
85
- });
86
- }
87
- function R() {
88
- typeof d == "function" && (d(), d = void 0);
89
- }
90
- function N() {
91
- if (R(), D === void 0) {
92
- v();
93
- return;
94
- }
95
- if (f.value != null && u.value != null) {
96
- d = D(f.value, u.value, v);
97
- return;
98
- }
99
- }
100
- function $() {
101
- s.value || (g.value = !1);
102
- }
103
- return x([O, p, w, s], v, {
104
- flush: "sync"
105
- }), x([f, u], N, {
106
- flush: "sync"
107
- }), x(s, $, {
108
- flush: "sync"
109
- }), U() && k(R), {
110
- x: o(y),
111
- y: o(h),
112
- strategy: o(m),
113
- placement: o(P),
114
- middlewareData: o(E),
115
- isPositioned: o(g),
116
- floatingStyles: _,
117
- update: v
118
- };
119
- }
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]]);
120
13
  export {
121
- K as arrow,
122
- W as autoUpdate,
123
- A as computePosition,
124
- X as flip,
125
- te as getOverflowAncestors,
126
- Y as offset,
127
- Z as platform,
128
- ee as shift,
129
- L as useFloating
14
+ i as default
130
15
  };