bitboss-ui 2.0.103 → 2.0.105

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 (156) hide show
  1. package/dist/index100.js +9 -9
  2. package/dist/index111.js +11 -11
  3. package/dist/index119.js +2 -2
  4. package/dist/index121.js +5 -5
  5. package/dist/index123.js +1 -1
  6. package/dist/index127.js +1 -1
  7. package/dist/index128.js +1 -1
  8. package/dist/index129.js +1 -1
  9. package/dist/index13.js +3 -3
  10. package/dist/index131.js +1 -1
  11. package/dist/index132.js +2 -2
  12. package/dist/index15.js +4 -4
  13. package/dist/index17.js +3 -3
  14. package/dist/index19.js +9 -9
  15. package/dist/index205.js +114 -52
  16. package/dist/index206.js +4 -0
  17. package/dist/index207.js +2 -13
  18. package/dist/index208.js +4 -20
  19. package/dist/index209.js +2 -4
  20. package/dist/index21.js +12 -12
  21. package/dist/index210.js +278 -123
  22. package/dist/index211.js +16 -5
  23. package/dist/index212.js +13 -122
  24. package/dist/index213.js +16 -16
  25. package/dist/index214.js +16 -13
  26. package/dist/index215.js +24 -13
  27. package/dist/index216.js +3 -2
  28. package/dist/index218.js +8 -41
  29. package/dist/index219.js +249 -5
  30. package/dist/index220.js +52 -5
  31. package/dist/index221.js +42 -10
  32. package/dist/index222.js +5 -369
  33. package/dist/index223.js +60 -2
  34. package/dist/index224.js +84 -4
  35. package/dist/index226.js +8 -3
  36. package/dist/index227.js +25 -7
  37. package/dist/index228.js +17 -8
  38. package/dist/index229.js +48 -3
  39. package/dist/index23.js +14 -14
  40. package/dist/index230.js +15 -84
  41. package/dist/index231.js +14 -0
  42. package/dist/index232.js +16 -8
  43. package/dist/index233.js +3 -25
  44. package/dist/index234.js +39 -15
  45. package/dist/index235.js +6 -48
  46. package/dist/index236.js +7 -15
  47. package/dist/index237.js +12 -12
  48. package/dist/index238.js +53 -16
  49. package/dist/index240.js +13 -27
  50. package/dist/index241.js +3 -250
  51. package/dist/index242.js +123 -49
  52. package/dist/index243.js +125 -44
  53. package/dist/index244.js +2 -5
  54. package/dist/index245.js +18 -58
  55. package/dist/index246.js +5 -2
  56. package/dist/index247.js +352 -98
  57. package/dist/index248.js +4 -3
  58. package/dist/index249.js +2 -2
  59. package/dist/index25.js +6 -6
  60. package/dist/index250.js +2 -18
  61. package/dist/index251.js +2 -106
  62. package/dist/index252.js +20 -0
  63. package/dist/index253.js +53 -47
  64. package/dist/index255.js +100 -12
  65. package/dist/index257.js +12 -2
  66. package/dist/index260.js +3 -3
  67. package/dist/index262.js +9 -9
  68. package/dist/index263.js +9 -23
  69. package/dist/index264.js +23 -89
  70. package/dist/index265.js +91 -0
  71. package/dist/index267.js +6 -0
  72. package/dist/index268.js +6 -7
  73. package/dist/index269.js +2 -176
  74. package/dist/index27.js +1 -1
  75. package/dist/index270.js +2 -281
  76. package/dist/index271.js +2 -6
  77. package/dist/index272.js +2 -2
  78. package/dist/index273.js +2 -2
  79. package/dist/index275.js +2 -2
  80. package/dist/index276.js +2 -2
  81. package/dist/index277.js +2 -126
  82. package/dist/index278.js +2 -431
  83. package/dist/index279.js +27 -21
  84. package/dist/index280.js +24 -0
  85. package/dist/index282.js +6 -3
  86. package/dist/index283.js +3 -28
  87. package/dist/index284.js +6 -199
  88. package/dist/index285.js +10 -435
  89. package/dist/index286.js +16 -126
  90. package/dist/index287.js +9 -89
  91. package/dist/index288.js +430 -8
  92. package/dist/index289.js +2 -3
  93. package/dist/index29.js +3 -3
  94. package/dist/index290.js +88 -6
  95. package/dist/index291.js +3 -11
  96. package/dist/index293.js +224 -9
  97. package/dist/index294.js +200 -8
  98. package/dist/index295.js +2 -2
  99. package/dist/index296.js +126 -2
  100. package/dist/index297.js +176 -2
  101. package/dist/index298.js +21 -1
  102. package/dist/index300.js +8 -2
  103. package/dist/index301.js +435 -21
  104. package/dist/index302.js +129 -0
  105. package/dist/index303.js +3 -224
  106. package/dist/index304.js +1 -1
  107. package/dist/index305.js +213 -3
  108. package/dist/index306.js +3 -213
  109. package/dist/index307.js +3 -2
  110. package/dist/index308.js +58 -5
  111. package/dist/index309.js +7 -66
  112. package/dist/index31.js +2 -2
  113. package/dist/index310.js +19 -3
  114. package/dist/index311.js +66 -3
  115. package/dist/index312.js +6 -57
  116. package/dist/index313.js +2 -33
  117. package/dist/index314.js +1 -1
  118. package/dist/index315.js +1 -1
  119. package/dist/index316.js +8 -3
  120. package/dist/index317.js +8 -4
  121. package/dist/index318.js +5 -8
  122. package/dist/index319.js +2 -7
  123. package/dist/index320.js +3 -6
  124. package/dist/index321.js +32 -18
  125. package/dist/index322.js +46 -6
  126. package/dist/index323.js +2 -47
  127. package/dist/index324.js +480 -2
  128. package/dist/index326.js +414 -470
  129. package/dist/index327.js +43 -420
  130. package/dist/index328.js +2 -47
  131. package/dist/index33.js +8 -8
  132. package/dist/index35.js +3 -3
  133. package/dist/index37.js +19 -19
  134. package/dist/index39.js +5 -5
  135. package/dist/index41.js +2 -2
  136. package/dist/index43.js +9 -9
  137. package/dist/index45.js +6 -6
  138. package/dist/index47.js +2 -2
  139. package/dist/index49.js +2 -2
  140. package/dist/index55.js +1 -1
  141. package/dist/index57.js +2 -2
  142. package/dist/index75.js +3 -3
  143. package/dist/index81.js +1 -1
  144. package/dist/index84.js +3 -3
  145. package/dist/index86.js +1 -1
  146. package/dist/index88.js +4 -4
  147. package/dist/index90.js +1 -1
  148. package/package.json +1 -1
  149. package/dist/index225.js +0 -4
  150. package/dist/index239.js +0 -21
  151. package/dist/index256.js +0 -4
  152. package/dist/index266.js +0 -5
  153. package/dist/index281.js +0 -4
  154. package/dist/index292.js +0 -19
  155. package/dist/index299.js +0 -4
  156. package/dist/index329.js +0 -4
package/dist/index23.js CHANGED
@@ -1,27 +1,27 @@
1
1
  import { defineComponent as te, ref as o, computed as v, watch as ae, openBlock as w, createBlock as V, normalizeClass as _, withCtx as n, renderSlot as d, createVNode as E, withDirectives as oe, createElementVNode as i, mergeProps as I, unref as c, withModifiers as re, toDisplayString as ne, normalizeStyle as le, KeepAlive as ie, createCommentVNode as F } from "vue";
2
- import { useFloating as se } from "./index210.js";
3
- import r from "./index211.js";
4
- import ue from "./index212.js";
2
+ import { useFloating as se } from "./index242.js";
3
+ import r from "./index210.js";
4
+ import ue from "./index243.js";
5
5
  import de from "./index213.js";
6
- import ce from "./index214.js";
7
- import pe from "./index215.js";
8
- import { identity as me } from "./index216.js";
6
+ import ce from "./index211.js";
7
+ import pe from "./index212.js";
8
+ import { identity as me } from "./index244.js";
9
9
  import { last as fe } from "./index217.js";
10
- import { useFocusTrap as be } from "./index218.js";
10
+ import { useFocusTrap as be } from "./index234.js";
11
11
  import { useId as ve } from "./index8.js";
12
12
  import { useIntersectionObserver as ye } from "./index132.js";
13
13
  import { useMobile as ge } from "./index9.js";
14
- import { vMaska as ke } from "./index208.js";
14
+ import { vMaska as ke } from "./index245.js";
15
15
  import { wait as Me } from "./index130.js";
16
- import { waitFor as he } from "./index219.js";
16
+ import { waitFor as he } from "./index235.js";
17
17
  import we from "./index21.js";
18
18
  /* empty css */
19
- import Ve from "./index205.js";
19
+ import Ve from "./index238.js";
20
20
  /* empty css */
21
- import Ce from "./index207.js";
22
- import Ye from "./index220.js";
23
- import Ae from "./index221.js";
24
- import { autoUpdate as De, flip as Se, offset as $e, shift as Be, hide as Oe } from "./index222.js";
21
+ import Ce from "./index240.js";
22
+ import Ye from "./index246.js";
23
+ import Ae from "./index237.js";
24
+ import { autoUpdate as De, flip as Se, offset as $e, shift as Be, hide as Oe } from "./index247.js";
25
25
  const _e = ["id", "aria-describedby", "autocomplete", "autofocus", "data-maska", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "value"], Ee = ["aria-label", "disabled"], Ie = ["id"], nt = /* @__PURE__ */ te({
26
26
  __name: "BaseDatePickerInput",
27
27
  props: {
package/dist/index230.js CHANGED
@@ -1,86 +1,17 @@
1
- import { defineComponent as b, openBlock as t, createElementBlock as n, normalizeClass as r, createElementVNode as l, renderSlot as s, createTextVNode as o, toDisplayString as d, createCommentVNode as h, Fragment as c, renderList as m } from "vue";
2
- const p = { class: "bb-cr-container__container" }, u = {
3
- key: 0,
4
- class: "bb-cr-container__loading-container"
5
- }, g = {
6
- key: 1,
7
- class: "bb-cr-container__no-data-container"
8
- }, f = /* @__PURE__ */ b({
9
- __name: "OptionsContainer",
10
- props: {
11
- direction: {},
12
- hasErrors: { type: Boolean },
13
- hideLabel: { type: Boolean },
14
- loadingText: {},
15
- loading: { type: Boolean },
16
- noDataText: {},
17
- options: {}
18
- },
19
- setup(k) {
20
- return (a, y) => (t(), n("span", {
21
- ref: "container",
22
- class: r(["bb-cr-container", {
23
- "bb-cr-container--errors": a.hasErrors,
24
- "bb-cr-container--horizontal": a.direction === "horizontal",
25
- "bb-cr-container--vertical": a.direction === "vertical"
26
- }])
27
- }, [
28
- l("span", p, [
29
- s(a.$slots, "prepend"),
30
- !a.options.length && a.loading ? (t(), n("span", u, [
31
- s(a.$slots, "loading", {}, () => [
32
- o(d(a.loadingText), 1)
33
- ])
34
- ])) : a.options.length ? h("", !0) : (t(), n("span", g, [
35
- s(a.$slots, "no-data", {}, () => [
36
- o(d(a.noDataText), 1)
37
- ])
38
- ])),
39
- (t(!0), n(c, null, m(a.options, (e, i) => (t(), n(c, {
40
- key: (e == null ? void 0 : e.valueHash) || i
41
- }, [
42
- s(a.$slots, "option:prepend", {
43
- id: e.valueHash,
44
- checked: !!e.selected,
45
- disabled: !!e.disabled,
46
- item: e.item,
47
- text: e.text
48
- }),
49
- l("label", {
50
- class: r(["bb-cr-container-option", { "bb-base-radio-selected": e.selected }])
51
- }, [
52
- s(a.$slots, "input", {
53
- index: i,
54
- option: e
55
- }),
56
- l("span", {
57
- class: r({
58
- "bb-cr-container-option__text": !0,
59
- "sr-only": a.hideLabel
60
- })
61
- }, [
62
- s(a.$slots, "label", {
63
- checked: !!e.selected,
64
- item: e.item,
65
- text: e.text
66
- }, () => [
67
- o(d(e.text), 1)
68
- ])
69
- ], 2)
70
- ], 2),
71
- s(a.$slots, "option:append", {
72
- id: e.valueHash,
73
- checked: !!e.selected,
74
- disabled: !!e.disabled,
75
- item: e.item,
76
- text: e.text
77
- })
78
- ], 64))), 128)),
79
- s(a.$slots, "append")
80
- ])
81
- ], 2));
82
- }
83
- });
1
+ import { isNil as f } from "./index250.js";
2
+ import { computed as t, unref as o } from "vue";
3
+ const a = ({ modelValue: e, iteratee: h, multiple: u }) => {
4
+ const i = t(
5
+ () => new Array().concat(o(e))
6
+ ), s = t(() => i.value.reduce(
7
+ (r, n) => (h(n) ? r.coherent.push(n) : r.incoherent.push(n), r),
8
+ { coherent: [], incoherent: [] }
9
+ )), c = t(() => u && !o(e).length || !u && f(o(e)) ? !0 : !s.value.incoherent.length);
10
+ return {
11
+ status: s,
12
+ coherent: c
13
+ };
14
+ };
84
15
  export {
85
- f as default
16
+ a as useCoherence
86
17
  };
@@ -0,0 +1,14 @@
1
+ import { hash as e } from "./index216.js";
2
+ import { debouncedWatch as s } from "./index205.js";
3
+ const n = (o, c, h) => {
4
+ s(
5
+ o,
6
+ (r, t) => {
7
+ e(r) !== e(t) && c(r, t);
8
+ },
9
+ h
10
+ );
11
+ };
12
+ export {
13
+ n as useHashedWatcher
14
+ };
package/dist/index232.js CHANGED
@@ -1,10 +1,18 @@
1
- import { locales as r } from "./index290.js";
2
- import { _config as t } from "./index4.js";
3
- import { get as e } from "./index291.js";
4
- import { readonly as m, computed as c } from "vue";
5
- const l = (o) => m(c(() => e(r[t.locale], o))), a = () => ({
6
- t: l
7
- });
1
+ import { isNotNil as n } from "./index134.js";
2
+ import { ref as t, onServerPrefetch as u, onBeforeMount as c } from "vue";
3
+ const h = ({
4
+ fn: i,
5
+ onStart: s,
6
+ multiple: f,
7
+ currentValue: o
8
+ }) => {
9
+ const a = s || !f && n(o) || f && !!o.length, e = t(!1), l = t(!1), r = async () => {
10
+ e.value = !0, await i({ prefill: !0 }), e.value = !1, l.value = !0;
11
+ };
12
+ return a && (u(r), c(async () => {
13
+ l.value || await r();
14
+ })), { isPrefilling: e, hasPrefilled: l, prefill: r };
15
+ };
8
16
  export {
9
- a as useLocale
17
+ h as usePrefill
10
18
  };
package/dist/index233.js CHANGED
@@ -1,27 +1,5 @@
1
- import { ref as n, computed as a, unref as v } from "vue";
2
- import { useDebounceFn as f } from "./index247.js";
3
- const p = (o) => {
4
- const e = n(0), r = a(() => v(o.items)), t = n([]), u = async (...s) => {
5
- if (Array.isArray(r.value))
6
- t.value = r.value;
7
- else if (typeof r.value == "function") {
8
- const l = ++e.value;
9
- try {
10
- if (t.value = await r.value(...s), l < e.value)
11
- return;
12
- } catch (i) {
13
- console.error(i);
14
- }
15
- e.value--;
16
- }
17
- }, c = f(u, o.debounce || 0);
18
- return {
19
- getter: u,
20
- debouncedGetter: c,
21
- items: t,
22
- loading: a(() => !!e.value)
23
- };
24
- };
1
+ import t from "./index290.js";
2
+ const r = t;
25
3
  export {
26
- p as useItemsGetter
4
+ r as throttle
27
5
  };
package/dist/index234.js CHANGED
@@ -1,19 +1,43 @@
1
- import { computed as i, unref as m } from "vue";
2
- import { hash as s } from "./index229.js";
3
- const p = ({ items: a, key: r }) => {
4
- const n = i(() => {
5
- const t = {}, c = new Array().concat(m(a));
6
- for (let e = 0; e < c.length; e++) {
7
- const o = c[e], u = r ? String(o[r]) : s(o);
8
- t[u] = o;
9
- }
10
- return t;
1
+ import { unrefElement as A } from "./index132.js";
2
+ import { toValue as n, notNullish as g, tryOnScopeDispose as y } from "./index205.js";
3
+ import { ref as i, computed as D, watch as F } from "vue";
4
+ import { createFocusTrap as T } from "./index288.js";
5
+ function E(f, a = {}) {
6
+ let e;
7
+ const { immediate: l, ...p } = a, r = i(!1), s = i(!1), c = (t) => e && e.activate(t), u = (t) => e && e.deactivate(t), v = () => {
8
+ e && (e.pause(), s.value = !0);
9
+ }, m = () => {
10
+ e && (e.unpause(), s.value = !1);
11
+ }, d = D(() => {
12
+ const t = n(f);
13
+ return (Array.isArray(t) ? t : [t]).map((h) => {
14
+ const o = n(h);
15
+ return typeof o == "string" ? o : A(o);
16
+ }).filter(g);
11
17
  });
12
- return {
13
- data: n,
14
- get: (t) => r ? n.value[String(t[r])] : n.value[s(t)]
18
+ return F(
19
+ d,
20
+ (t) => {
21
+ t.length && (e = T(t, {
22
+ ...p,
23
+ onActivate() {
24
+ r.value = !0, a.onActivate && a.onActivate();
25
+ },
26
+ onDeactivate() {
27
+ r.value = !1, a.onDeactivate && a.onDeactivate();
28
+ }
29
+ }), l && c());
30
+ },
31
+ { flush: "post" }
32
+ ), y(() => u()), {
33
+ hasFocus: r,
34
+ isPaused: s,
35
+ activate: c,
36
+ deactivate: u,
37
+ pause: v,
38
+ unpause: m
15
39
  };
16
- };
40
+ }
17
41
  export {
18
- p as useIndexById
42
+ E as useFocusTrap
19
43
  };
package/dist/index235.js CHANGED
@@ -1,50 +1,8 @@
1
- import { computed as d, unref as s } from "vue";
2
- import { useItemText as y } from "./index292.js";
3
- import { useItemValue as x } from "./index293.js";
4
- import { hash as w } from "./index229.js";
5
- import { useLogger as D } from "./index228.js";
6
- const { getItemText: O } = y(), { getItemValue: V } = x(), { warn: H } = D(), T = (i, l, t, a, c) => l || i.disabled ? !0 : typeof t == "function" ? !t(i) : !!(typeof t == "boolean" && !t || a && c >= a), q = ({
7
- items: i,
8
- disabled: l,
9
- selectable: t,
10
- itemText: a,
11
- itemValue: c,
12
- selectedIndexedByHash: p,
13
- max: b = 1 / 0
14
- }) => {
15
- const v = d(() => s(l)), f = d(() => s(i)), h = Object.keys(p.value).length, g = s(b), m = (e) => {
16
- const n = V(e, s(c)), o = w(n), u = O(e, s(a)), r = p.value[o] !== void 0, I = T(
17
- e,
18
- v.value,
19
- t,
20
- g,
21
- h
22
- );
23
- return {
24
- item: e,
25
- text: u,
26
- value: n,
27
- valueHash: o,
28
- selected: r,
29
- disabled: s(I)
30
- };
31
- };
32
- return {
33
- options: d(() => {
34
- const e = [], n = /* @__PURE__ */ new Set();
35
- for (let o = 0; o < f.value.length; o++) {
36
- const u = f.value[o];
37
- u.disabled && H(
38
- "Disabling an item by passing a disabled option to the item itself is deprecated and will be removed in a future version. Use the `disabled` prop or the `selectable` iteratee prop instead."
39
- );
40
- const r = m(u);
41
- n.has(r.valueHash) || (n.add(r.valueHash), e.push(r));
42
- }
43
- return e;
44
- }),
45
- createOption: m
46
- };
47
- };
1
+ const o = (e, t = 50) => new Promise((r) => {
2
+ const n = setInterval(() => {
3
+ e() && (clearInterval(n), r());
4
+ }, t);
5
+ });
48
6
  export {
49
- q as useBaseOptions
7
+ o as waitFor
50
8
  };
package/dist/index236.js CHANGED
@@ -1,17 +1,9 @@
1
- import { isNil as f } from "./index257.js";
2
- import { computed as t, unref as o } from "vue";
3
- const a = ({ modelValue: e, iteratee: h, multiple: u }) => {
4
- const i = t(
5
- () => new Array().concat(o(e))
6
- ), s = t(() => i.value.reduce(
7
- (r, n) => (h(n) ? r.coherent.push(n) : r.incoherent.push(n), r),
8
- { coherent: [], incoherent: [] }
9
- )), c = t(() => u && !o(e).length || !u && f(o(e)) ? !0 : !s.value.incoherent.length);
10
- return {
11
- status: s,
12
- coherent: c
13
- };
14
- };
1
+ import { ref as e } from "vue";
2
+ const o = e(0), s = () => {
3
+ o.value++;
4
+ }, a = () => {
5
+ o.value--;
6
+ }, d = () => ({ openedModals: o, modalHasOpened: s, modalHasClosed: a });
15
7
  export {
16
- a as useCoherence
8
+ d as useModalsState
17
9
  };
package/dist/index237.js CHANGED
@@ -1,14 +1,14 @@
1
- import { hash as e } from "./index229.js";
2
- import { debouncedWatch as s } from "./index247.js";
3
- const n = (o, c, h) => {
4
- s(
5
- o,
6
- (r, t) => {
7
- e(r) !== e(t) && c(r, t);
8
- },
9
- h
10
- );
11
- };
1
+ import { defineComponent as n, getCurrentInstance as s, openBlock as p, createBlock as c, Teleport as l, unref as u, renderSlot as a } from "vue";
2
+ const m = /* @__PURE__ */ n({
3
+ __name: "BbTeleport",
4
+ setup(_) {
5
+ var e, t;
6
+ const o = !!((t = (e = s()) == null ? void 0 : e.proxy) != null && t.$nuxt) ? "#teleports" : "body";
7
+ return (r, d) => (p(), c(l, { to: u(o) }, [
8
+ a(r.$slots, "default")
9
+ ], 8, ["to"]));
10
+ }
11
+ });
12
12
  export {
13
- n as useHashedWatcher
13
+ m as default
14
14
  };
package/dist/index238.js CHANGED
@@ -1,18 +1,55 @@
1
- import { isNotNil as n } from "./index134.js";
2
- import { ref as t, onServerPrefetch as u, onBeforeMount as c } from "vue";
3
- const h = ({
4
- fn: i,
5
- onStart: s,
6
- multiple: f,
7
- currentValue: o
8
- }) => {
9
- const a = s || !f && n(o) || f && !!o.length, e = t(!1), l = t(!1), r = async () => {
10
- e.value = !0, await i({ prefill: !0 }), e.value = !1, l.value = !0;
11
- };
12
- return a && (u(r), c(async () => {
13
- l.value || await r();
14
- })), { isPrefilling: e, hasPrefilled: l, prefill: r };
15
- };
1
+ import { defineComponent as f, ref as d, openBlock as r, createElementBlock as _, renderSlot as e, createElementVNode as t, createBlock as s, unref as p, createCommentVNode as i, createVNode as c } from "vue";
2
+ /* empty css */
3
+ /* empty css */
4
+ import a from "./index127.js";
5
+ /* empty css */
6
+ import $ from "./index129.js";
7
+ /* empty css */
8
+ import b from "./index321.js";
9
+ const y = { class: "bb-common-input-inner-container__prefix" }, k = { class: "bb-common-input-inner-container__suffix" }, S = /* @__PURE__ */ f({
10
+ __name: "CommonInputInnerContainer",
11
+ props: {
12
+ "append:icon": {},
13
+ "prepend:icon": {},
14
+ preventFocus: { type: Boolean }
15
+ },
16
+ setup(m) {
17
+ const u = m, o = d(), l = () => {
18
+ var n;
19
+ !o.value || u.preventFocus || (n = o.value.querySelector("input")) == null || n.focus();
20
+ };
21
+ return (n, C) => (r(), _("span", {
22
+ ref_key: "container",
23
+ ref: o,
24
+ class: "bb-common-input-inner-container",
25
+ onClick: l
26
+ }, [
27
+ e(n.$slots, "prepend", {}, () => [
28
+ t("span", y, [
29
+ e(n.$slots, "prefix")
30
+ ])
31
+ ]),
32
+ n.$props["prepend:icon"] ? (r(), s(p(a), {
33
+ key: 0,
34
+ class: "bb-common-input-inner-container__prepend-icon",
35
+ type: n.$props["prepend:icon"]
36
+ }, null, 8, ["type"])) : i("", !0),
37
+ e(n.$slots, "default"),
38
+ n.$props["append:icon"] ? (r(), s(p(a), {
39
+ key: 1,
40
+ class: "bb-common-input-inner-container__append-icon",
41
+ type: n.$props["append:icon"]
42
+ }, null, 8, ["type"])) : i("", !0),
43
+ c(p($)),
44
+ c(b),
45
+ e(n.$slots, "append", {}, () => [
46
+ t("span", k, [
47
+ e(n.$slots, "suffix")
48
+ ])
49
+ ])
50
+ ], 512));
51
+ }
52
+ });
16
53
  export {
17
- h as usePrefill
54
+ S as default
18
55
  };
package/dist/index240.js CHANGED
@@ -1,29 +1,15 @@
1
- import { getDefaultExportFromCjs as c, commonjsGlobal as k } from "./index271.js";
2
- import { __module as n } from "./index296.js";
3
- (function(f, p) {
4
- (function(r, e) {
5
- f.exports = e();
6
- })(k, function() {
7
- var r = "week", e = "year";
8
- return function(w, u, a) {
9
- var o = u.prototype;
10
- o.week = function(t) {
11
- if (t === void 0 && (t = null), t !== null) return this.add(7 * (t - this.week()), "day");
12
- var s = this.$locale().yearStart || 1;
13
- if (this.month() === 11 && this.date() > 25) {
14
- var l = a(this).startOf(e).add(1, e).date(s), d = a(this).endOf(r);
15
- if (l.isBefore(d)) return 1;
16
- }
17
- var h = a(this).startOf(e).date(s).startOf(r).subtract(1, "millisecond"), i = this.diff(h, r, !0);
18
- return i < 0 ? a(this).startOf("week").week() : Math.ceil(i);
19
- }, o.weeks = function(t) {
20
- return t === void 0 && (t = null), this.week(t);
21
- };
22
- };
23
- });
24
- })(n);
25
- var m = n.exports;
26
- const x = /* @__PURE__ */ c(m);
1
+ import { openBlock as t, createElementBlock as n, renderSlot as e } from "vue";
2
+ /* empty css */
3
+ import r from "./index282.js";
4
+ const s = {}, c = { class: "bb-common-input-outer-container" };
5
+ function p(o, a) {
6
+ return t(), n("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]]);
27
13
  export {
28
- x as default
14
+ i as default
29
15
  };