bitboss-ui 2.0.146 → 2.0.147

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 (163) hide show
  1. package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +9 -0
  2. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +10 -0
  3. package/dist/index100.js +8 -8
  4. package/dist/index111.js +10 -10
  5. package/dist/index117.js +18 -14
  6. package/dist/index119.js +2 -2
  7. package/dist/index121.js +4 -4
  8. package/dist/index123.js +1 -1
  9. package/dist/index125.js +1 -1
  10. package/dist/index127.js +1 -1
  11. package/dist/index128.js +1 -1
  12. package/dist/index129.js +1 -1
  13. package/dist/index13.js +1 -1
  14. package/dist/index133.js +1 -1
  15. package/dist/index134.js +2 -2
  16. package/dist/index15.js +8 -8
  17. package/dist/index17.js +3 -3
  18. package/dist/index19.js +8 -8
  19. package/dist/index208.js +2 -86
  20. package/dist/index209.js +6 -0
  21. package/dist/index21.js +15 -15
  22. package/dist/index210.js +40 -28
  23. package/dist/index211.js +19 -16
  24. package/dist/index212.js +93 -50
  25. package/dist/index214.js +200 -3
  26. package/dist/index216.js +66 -16
  27. package/dist/index218.js +15 -0
  28. package/dist/index219.js +13 -13
  29. package/dist/index220.js +2 -5
  30. package/dist/index221.js +4 -125
  31. package/dist/index222.js +2 -16
  32. package/dist/index223.js +86 -16
  33. package/dist/index225.js +29 -15
  34. package/dist/index226.js +17 -2
  35. package/dist/index227.js +51 -2
  36. package/dist/index228.js +14 -40
  37. package/dist/index229.js +3 -13
  38. package/dist/index23.js +16 -16
  39. package/dist/index230.js +11 -19
  40. package/dist/index231.js +16 -6
  41. package/dist/index232.js +28 -88
  42. package/dist/index233.js +5 -0
  43. package/dist/index234.js +3 -2
  44. package/dist/index235.js +6 -19
  45. package/dist/index236.js +7 -27
  46. package/dist/index238.js +11 -246
  47. package/dist/index239.js +5 -52
  48. package/dist/index240.js +16 -44
  49. package/dist/index241.js +16 -5
  50. package/dist/index242.js +19 -60
  51. package/dist/index243.js +15 -34
  52. package/dist/index244.js +19 -2
  53. package/dist/index245.js +27 -4
  54. package/dist/index246.js +2 -2
  55. package/dist/index247.js +250 -3
  56. package/dist/index248.js +52 -3
  57. package/dist/index249.js +44 -7
  58. package/dist/index25.js +6 -6
  59. package/dist/index250.js +5 -15
  60. package/dist/index251.js +60 -4
  61. package/dist/index252.js +122 -197
  62. package/dist/index253.js +4 -0
  63. package/dist/index254.js +2 -2
  64. package/dist/index256.js +2 -2
  65. package/dist/index257.js +1 -1
  66. package/dist/index259.js +1 -1
  67. package/dist/index262.js +3 -3
  68. package/dist/index263.js +3 -3
  69. package/dist/index266.js +174 -8
  70. package/dist/index267.js +9 -2
  71. package/dist/index268.js +3 -6
  72. package/dist/index269.js +6 -16
  73. package/dist/index27.js +1 -1
  74. package/dist/index270.js +16 -9
  75. package/dist/index273.js +9 -3
  76. package/dist/index274.js +4 -17
  77. package/dist/index275.js +431 -9
  78. package/dist/index276.js +3 -28
  79. package/dist/index277.js +1 -1
  80. package/dist/index278.js +5 -0
  81. package/dist/index280.js +7 -2
  82. package/dist/index281.js +6 -3
  83. package/dist/index282.js +10 -280
  84. package/dist/index283.js +3 -6
  85. package/dist/index284.js +17 -2
  86. package/dist/index285.js +9 -2
  87. package/dist/index286.js +28 -2
  88. package/dist/index287.js +2 -2
  89. package/dist/index288.js +200 -2
  90. package/dist/index289.js +8 -2
  91. package/dist/index29.js +2 -2
  92. package/dist/index290.js +219 -426
  93. package/dist/index291.js +2 -176
  94. package/dist/index292.js +89 -3
  95. package/dist/index293.js +281 -7
  96. package/dist/index294.js +5 -10
  97. package/dist/index295.js +2 -2
  98. package/dist/index297.js +2 -2
  99. package/dist/index298.js +2 -2
  100. package/dist/index299.js +2 -2
  101. package/dist/index300.js +2 -2
  102. package/dist/index301.js +2 -22
  103. package/dist/index302.js +4 -0
  104. package/dist/index303.js +2 -200
  105. package/dist/index304.js +2 -5
  106. package/dist/index305.js +2 -224
  107. package/dist/index306.js +21 -7
  108. package/dist/index308.js +2 -67
  109. package/dist/index309.js +126 -2
  110. package/dist/index31.js +2 -2
  111. package/dist/index310.js +3 -89
  112. package/dist/index311.js +1 -1
  113. package/dist/index312.js +2 -126
  114. package/dist/index313.js +436 -3
  115. package/dist/index314.js +127 -3
  116. package/dist/index315.js +67 -2
  117. package/dist/index316.js +5 -436
  118. package/dist/index317.js +2 -127
  119. package/dist/index321.js +5 -480
  120. package/dist/index322.js +7 -32
  121. package/dist/index323.js +480 -28
  122. package/dist/index324.js +10 -0
  123. package/dist/index325.js +6 -58
  124. package/dist/index326.js +7 -57
  125. package/dist/index327.js +32 -4
  126. package/dist/index328.js +28 -8
  127. package/dist/index33.js +8 -8
  128. package/dist/index330.js +58 -7
  129. package/dist/index331.js +57 -18
  130. package/dist/index332.js +3 -6
  131. package/dist/index333.js +7 -2
  132. package/dist/index334.js +17 -45
  133. package/dist/index335.js +46 -7
  134. package/dist/index336.js +6 -5
  135. package/dist/index337.js +2 -8
  136. package/dist/index339.js +1 -1
  137. package/dist/index35.js +4 -4
  138. package/dist/index37.js +15 -15
  139. package/dist/index39.js +2 -2
  140. package/dist/index41.js +2 -2
  141. package/dist/index43.js +8 -8
  142. package/dist/index45.js +6 -6
  143. package/dist/index47.js +2 -2
  144. package/dist/index49.js +50 -41
  145. package/dist/index53.js +1 -1
  146. package/dist/index55.js +1 -1
  147. package/dist/index57.js +1 -1
  148. package/dist/index61.js +3 -3
  149. package/dist/index75.js +1 -1
  150. package/dist/index77.js +1 -1
  151. package/dist/index79.js +2 -2
  152. package/dist/index81.js +1 -1
  153. package/dist/index84.js +4 -4
  154. package/dist/index86.js +2 -2
  155. package/dist/index88.js +4 -4
  156. package/package.json +2 -2
  157. package/dist/index213.js +0 -17
  158. package/dist/index215.js +0 -14
  159. package/dist/index217.js +0 -68
  160. package/dist/index224.js +0 -21
  161. package/dist/index279.js +0 -9
  162. package/dist/index307.js +0 -4
  163. package/dist/index329.js +0 -6
package/dist/index49.js CHANGED
@@ -1,9 +1,10 @@
1
- import { defineComponent as m, computed as b, openBlock as c, createElementBlock as f, Fragment as y, createVNode as r, normalizeClass as B, withCtx as n, renderSlot as l, unref as g, createElementVNode as p, mergeProps as h } from "vue";
2
- import $ from "./index217.js";
1
+ import { defineComponent as k, computed as B, openBlock as g, createElementBlock as V, Fragment as h, createVNode as u, normalizeClass as w, withCtx as l, renderSlot as r, unref as C, createElementVNode as i, mergeProps as $ } from "vue";
2
+ import E from "./index216.js";
3
3
  /* empty css */
4
- import k from "./index219.js";
5
- import { isNotNil as C } from "./index135.js";
6
- const V = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "type", "value"], M = /* @__PURE__ */ m({
4
+ import M from "./index218.js";
5
+ import { isNotNil as T } from "./index135.js";
6
+ import { Mask as q } from "./index266.js";
7
+ const D = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "type", "value"], H = /* @__PURE__ */ k({
7
8
  __name: "BaseTextInput",
8
9
  props: {
9
10
  "append:icon": {},
@@ -13,9 +14,11 @@ const V = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
13
14
  clearable: { type: Boolean },
14
15
  compact: { type: Boolean },
15
16
  disabled: { type: Boolean },
17
+ emitMasked: { type: Boolean },
16
18
  hasErrors: { type: Boolean },
17
19
  id: {},
18
20
  loading: { type: Boolean },
21
+ mask: {},
19
22
  modelValue: {},
20
23
  name: {},
21
24
  placeholder: {},
@@ -25,57 +28,63 @@ const V = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
25
28
  type: { default: "text" }
26
29
  },
27
30
  emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
28
- setup(s, { emit: u }) {
29
- const o = s, a = u, d = b(() => ({
31
+ setup(d, { emit: m }) {
32
+ const o = d, n = m, c = B(() => ({
30
33
  "bb-base-text-input": !0,
31
34
  "bb-base-text-input--disabled": o.disabled,
32
35
  "bb-base-text-input--errors": o.hasErrors,
33
36
  "bb-base-text-input--loading": o.loading,
34
37
  "bb-base-text-input--readonly": o.readonly,
35
38
  "bb-base-text-input--compact": o.compact
36
- })), i = {
37
- onBlur: (e) => a("blur", e),
38
- onChange: (e) => a("change", e),
39
- onClick: (e) => a("click", e),
40
- onFocus: (e) => a("focus", e),
41
- onKeydown: (e) => a("keydown", e),
39
+ })), t = o.mask ? new q(o.mask) : null, b = (e) => e && t ? o.emitMasked ? t.masked(e) : t.unmasked(e) : e || null, s = (e) => e && t ? t.masked(e) : e, f = {
40
+ onBlur: (e) => n("blur", e),
41
+ onChange: (e) => n("change", e),
42
+ onClick: (e) => n("click", e),
43
+ onFocus: (e) => n("focus", e),
44
+ onKeydown: (e) => n("keydown", e),
42
45
  onInput: (e) => {
43
- e.target instanceof HTMLInputElement && a("update:modelValue", e.target.value || null), a("input", e);
46
+ if (e.target instanceof HTMLInputElement) {
47
+ let a = (t == null ? void 0 : t.unmasked(e.target.value)) ?? null;
48
+ e.inputType === "deleteContentBackward" && a && (a = a.slice(0, a.length - 1));
49
+ const p = b(a), y = s(a) ?? "";
50
+ n("update:modelValue", p), e.target.value = y;
51
+ }
52
+ n("input", e);
44
53
  },
45
- onMousedown: (e) => a("mousedown", e),
46
- onMouseup: (e) => a("mouseup", e)
54
+ onMousedown: (e) => n("mousedown", e),
55
+ onMouseup: (e) => n("mouseup", e)
47
56
  };
48
- return (e, t) => (c(), f(y, null, [
49
- r(k, {
50
- class: B(d.value)
57
+ return (e, a) => (g(), V(h, null, [
58
+ u(M, {
59
+ class: w(c.value)
51
60
  }, {
52
- "prepend-outer": n(() => [
53
- l(e.$slots, "prepend-outer")
61
+ "prepend-outer": l(() => [
62
+ r(e.$slots, "prepend-outer")
54
63
  ]),
55
- "append-outer": n(() => [
56
- l(e.$slots, "append-outer")
64
+ "append-outer": l(() => [
65
+ r(e.$slots, "append-outer")
57
66
  ]),
58
- default: n(() => [
59
- r($, {
67
+ default: l(() => [
68
+ u(E, {
60
69
  "append:icon": o["append:icon"],
61
- clearable: o.clearable && g(C)(o.modelValue),
70
+ clearable: o.clearable && C(T)(o.modelValue),
62
71
  "prepend:icon": o["prepend:icon"],
63
- "onClick:clear": t[0] || (t[0] = (v) => e.$emit("update:modelValue", null))
72
+ "onClick:clear": a[0] || (a[0] = (p) => e.$emit("update:modelValue", null))
64
73
  }, {
65
- prepend: n(() => [
66
- l(e.$slots, "prepend")
74
+ prepend: l(() => [
75
+ r(e.$slots, "prepend")
67
76
  ]),
68
- prefix: n(() => [
69
- l(e.$slots, "prefix")
77
+ prefix: l(() => [
78
+ r(e.$slots, "prefix")
70
79
  ]),
71
- append: n(() => [
72
- l(e.$slots, "append")
80
+ append: l(() => [
81
+ r(e.$slots, "append")
73
82
  ]),
74
- suffix: n(() => [
75
- l(e.$slots, "suffix")
83
+ suffix: l(() => [
84
+ r(e.$slots, "suffix")
76
85
  ]),
77
- default: n(() => [
78
- p("input", h({
86
+ default: l(() => [
87
+ i("input", $({
79
88
  id: e.id,
80
89
  ref: "input",
81
90
  "aria-describedby": e.ariaDescribedby,
@@ -90,18 +99,18 @@ const V = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
90
99
  required: e.required,
91
100
  size: "1",
92
101
  type: e.type,
93
- value: e.modelValue
94
- }, i), null, 16, V)
102
+ value: s(e.modelValue)
103
+ }, f), null, 16, D)
95
104
  ]),
96
105
  _: 3
97
106
  }, 8, ["append:icon", "clearable", "prepend:icon"])
98
107
  ]),
99
108
  _: 3
100
109
  }, 8, ["class"]),
101
- t[1] || (t[1] = p("span", null, null, -1))
110
+ a[1] || (a[1] = i("span", null, null, -1))
102
111
  ], 64));
103
112
  }
104
113
  });
105
114
  export {
106
- M as default
115
+ H as default
107
116
  };
package/dist/index53.js CHANGED
@@ -3,7 +3,7 @@ import B from "./index126.js";
3
3
  /* empty css */
4
4
  import L from "./index127.js";
5
5
  /* empty css */
6
- import { useLocale as g } from "./index229.js";
6
+ import { useLocale as g } from "./index219.js";
7
7
  const $ = {
8
8
  class: "bb-alert__inner-container",
9
9
  role: "alert"
package/dist/index55.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as b, computed as z, ref as o, onMounted as g, openBlock as l, createElementBlock as i, normalizeProps as _, guardReactiveProps as h, renderSlot as k } from "vue";
2
- import { isCssColor as y } from "./index244.js";
2
+ import { isCssColor as y } from "./index220.js";
3
3
  import { wait as C } from "./index130.js";
4
4
  const w = ["alt", "sizes", "src", "srcset"], B = {
5
5
  key: 1,
package/dist/index57.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, useSlots as d, computed as n, openBlock as m, createElementBlock as u, normalizeClass as g, createElementVNode as s, renderSlot as l, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
2
- import { isCssColor as r } from "./index244.js";
2
+ import { isCssColor as r } from "./index220.js";
3
3
  import { isNil as B } from "./index265.js";
4
4
  const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, S = /* @__PURE__ */ p({
5
5
  __name: "BbBadge",
package/dist/index61.js CHANGED
@@ -7,9 +7,9 @@ import p from "./index127.js";
7
7
  /* empty css */
8
8
  import T from "./index129.js";
9
9
  /* empty css */
10
- import { pickBy as W } from "./index266.js";
11
- import { noop as w } from "./index267.js";
12
- import { useLocale as D } from "./index229.js";
10
+ import { pickBy as W } from "./index267.js";
11
+ import { noop as w } from "./index268.js";
12
+ import { useLocale as D } from "./index219.js";
13
13
  const E = {
14
14
  key: 2,
15
15
  class: "bb-button__loading-label sr-only"
package/dist/index75.js CHANGED
@@ -6,7 +6,7 @@ import { useIntersectionObserver as ae } from "./index132.js";
6
6
  import le from "./index13.js";
7
7
  /* empty css */
8
8
  import N from "./index272.js";
9
- import se from "./index232.js";
9
+ import se from "./index212.js";
10
10
  /* empty css */
11
11
  import V from "./index127.js";
12
12
  /* empty css */
package/dist/index77.js CHANGED
@@ -9,7 +9,7 @@ import S from "./index127.js";
9
9
  /* empty css */
10
10
  import R from "./index129.js";
11
11
  /* empty css */
12
- import { useLocale as T } from "./index229.js";
12
+ import { useLocale as T } from "./index219.js";
13
13
  const Z = { class: "bb-dropdown-button__content" }, q = {
14
14
  key: 1,
15
15
  class: "bb-dropdown-button__loading-label sr-only"
package/dist/index79.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as j, ref as g, watch as x, computed as m, openBlock as V, createBlock as G, resolveDynamicComponent as K, normalizeClass as O, withCtx as M, createElementVNode as c, withModifiers as y, renderSlot as U, normalizeProps as Y, guardReactiveProps as Z, createTextVNode as J, unref as Q, createVNode as W, createElementBlock as F, Fragment as X, renderList as ee, toDisplayString as te } from "vue";
2
- import { findInTree as ae } from "./index269.js";
2
+ import { findInTree as ae } from "./index270.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index128.js";
5
5
  /* empty css */
@@ -53,7 +53,7 @@ const le = ["accept", "autofocus", "disabled", "multiple"], se = { class: "bb-dr
53
53
  const r = a.accept[t];
54
54
  if (r.includes("/")) e.push(r);
55
55
  else {
56
- b || (b = (await import("./index268.js")).default);
56
+ b || (b = (await import("./index269.js")).default);
57
57
  const o = b.getType(r);
58
58
  if (!o)
59
59
  throw new Error(
package/dist/index81.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, openBlock as g, createBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
2
- import { throttle as c } from "./index248.js";
2
+ import { throttle as c } from "./index234.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index84.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as ae, ref as l, useAttrs as ne, computed as u, getCurrentInstance as ie, nextTick as re, onBeforeUnmount as A, onMounted as ue, watch as ce, openBlock as g, createBlock as de, withCtx as fe, createElementVNode as s, mergeProps as E, createElementBlock as $, renderSlot as n, createTextVNode as ve, toDisplayString as H, unref as pe, createCommentVNode as T } from "vue";
2
- import { useFocusTrap as be } from "./index228.js";
2
+ import { useFocusTrap as be } from "./index210.js";
3
3
  import { useId as I } from "./index8.js";
4
4
  import { wait as D } from "./index130.js";
5
- import { useModalsState as b } from "./index249.js";
6
- import me from "./index250.js";
5
+ import { useModalsState as b } from "./index236.js";
6
+ import me from "./index238.js";
7
7
  import { useMobile as ye } from "./index9.js";
8
- import { useLocale as he } from "./index229.js";
8
+ import { useLocale as he } from "./index219.js";
9
9
  const ge = ["inert"], _e = { class: "bb-offcanvas-close" }, ke = ["aria-label"], De = /* @__PURE__ */ ae({
10
10
  __name: "BbOffCanvas",
11
11
  props: {
package/dist/index86.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as E, computed as h, ref as g, onMounted as P, onBeforeUnmount as W, openBlock as k, createElementBlock as V, normalizeClass as $, createElementVNode as i, createVNode as S, unref as v, withCtx as w, renderSlot as c, toDisplayString as m, Fragment as R, renderList as F, nextTick as x } from "vue";
2
- import { debounce as T } from "./index270.js";
2
+ import { debounce as T } from "./index273.js";
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  import z from "./index13.js";
6
6
  /* empty css */
7
- import { useLocale as D } from "./index229.js";
7
+ import { useLocale as D } from "./index219.js";
8
8
  const G = ["aria-label"], I = { class: "bb-pagination__page-label sr-only" }, O = { class: "bb-pagination__page-label" }, j = { class: "bb-pagination__page-label" }, q = { class: "bb-pagination__page-label sr-only" }, Z = /* @__PURE__ */ E({
9
9
  __name: "BbPagination",
10
10
  props: {
package/dist/index88.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as O, ref as n, computed as v, openBlock as y, createElementBlock as S, mergeProps as F, createElementVNode as p, renderSlot as k, normalizeProps as H, guardReactiveProps as V, createVNode as q, withCtx as T, createBlock as I, toDisplayString as W, unref as z, createCommentVNode as A, nextTick as R } from "vue";
2
- import { useFocusTrap as j } from "./index228.js";
2
+ import { useFocusTrap as j } from "./index210.js";
3
3
  import { useId as G } from "./index8.js";
4
4
  import { useIntersectionObserver as J } from "./index132.js";
5
- import { waitFor as K } from "./index231.js";
5
+ import { waitFor as K } from "./index235.js";
6
6
  import Q from "./index13.js";
7
7
  /* empty css */
8
- import U from "./index232.js";
8
+ import U from "./index212.js";
9
9
  /* empty css */
10
- import { useLocale as X } from "./index229.js";
10
+ import { useLocale as X } from "./index219.js";
11
11
  import { useDebounceFn as Y } from "./index206.js";
12
12
  const Z = { class: "bb-popover__close-label sr-only" }, ce = /* @__PURE__ */ O({
13
13
  __name: "BbPopover",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.0.146",
3
+ "version": "2.0.147",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
@@ -94,4 +94,4 @@
94
94
  "lint-staged": {
95
95
  "*.{js,css,md,html,json,vue,ts}": "prettier --write"
96
96
  }
97
- }
97
+ }
package/dist/index213.js DELETED
@@ -1,17 +0,0 @@
1
- import { isNil as f } from "./index265.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
- };
15
- export {
16
- a as useCoherence
17
- };
package/dist/index215.js DELETED
@@ -1,14 +0,0 @@
1
- import { hash as e } from "./index214.js";
2
- import { debouncedWatch as s } from "./index206.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/index217.js DELETED
@@ -1,68 +0,0 @@
1
- import { defineComponent as _, ref as $, openBlock as r, createElementBlock as k, normalizeClass as y, renderSlot as n, createElementVNode as c, createBlock as s, unref as p, createCommentVNode as l, createVNode as i } from "vue";
2
- /* empty css */
3
- /* empty css */
4
- import m from "./index127.js";
5
- /* empty css */
6
- import C from "./index129.js";
7
- /* empty css */
8
- import h from "./index322.js";
9
- import B from "./index323.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
- c("span", v, [
37
- n(e.$slots, "prefix")
38
- ])
39
- ]),
40
- e.$props["prepend:icon"] ? (r(), s(p(m), {
41
- key: 0,
42
- class: "bb-common-input-inner-container__prepend-icon",
43
- type: e.$props["prepend:icon"]
44
- }, null, 8, ["type"])) : l("", !0),
45
- n(e.$slots, "default"),
46
- i(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(), s(p(m), {
52
- key: 1,
53
- class: "bb-common-input-inner-container__append-icon",
54
- type: e.$props["append:icon"]
55
- }, null, 8, ["type"])) : l("", !0),
56
- i(h),
57
- i(p(C)),
58
- n(e.$slots, "append", {}, () => [
59
- c("span", I, [
60
- n(e.$slots, "suffix")
61
- ])
62
- ])
63
- ], 2));
64
- }
65
- });
66
- export {
67
- A as default
68
- };
package/dist/index224.js DELETED
@@ -1,21 +0,0 @@
1
- import { commonjsGlobal as i, getDefaultExportFromCjs as m } from "./index283.js";
2
- import { __module as _ } from "./index288.js";
3
- import { __require as s } from "./index282.js";
4
- (function(n, d) {
5
- (function(t, o) {
6
- n.exports = o(s());
7
- })(i, function(t) {
8
- function o(e) {
9
- return e && typeof e == "object" && "default" in e ? e : { default: e };
10
- }
11
- var a = o(t), r = { name: "it", weekdays: "domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"), weekdaysShort: "dom_lun_mar_mer_gio_ven_sab".split("_"), weekdaysMin: "do_lu_ma_me_gi_ve_sa".split("_"), months: "gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"), weekStart: 1, monthsShort: "gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"), formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "tra %s", past: "%s fa", s: "qualche secondo", m: "un minuto", mm: "%d minuti", h: "un' ora", hh: "%d ore", d: "un giorno", dd: "%d giorni", M: "un mese", MM: "%d mesi", y: "un anno", yy: "%d anni" }, ordinal: function(e) {
12
- return e + "º";
13
- } };
14
- return a.default.locale(r, null, !0), r;
15
- });
16
- })(_);
17
- var u = _.exports;
18
- const p = /* @__PURE__ */ m(u);
19
- export {
20
- p as default
21
- };
package/dist/index279.js DELETED
@@ -1,9 +0,0 @@
1
- const s = (t, e) => {
2
- const o = t.__vccOpts || t;
3
- for (const [r, c] of e)
4
- o[r] = c;
5
- return o;
6
- };
7
- export {
8
- s as default
9
- };
package/dist/index307.js DELETED
@@ -1,4 +0,0 @@
1
- const t = (d, o) => +d + +o;
2
- export {
3
- t as add
4
- };
package/dist/index329.js DELETED
@@ -1,6 +0,0 @@
1
- function e(t) {
2
- return Object.prototype.toString.call(t).slice(8, -1);
3
- }
4
- export {
5
- e as getType
6
- };