bitboss-ui 2.0.86 → 2.0.87

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 (133) hide show
  1. package/dist/components/BbTable/BbTable.vue.d.ts +4 -0
  2. package/dist/components/BbTable/types.d.ts +2 -0
  3. package/dist/index110.js +27 -27
  4. package/dist/index118.js +1 -1
  5. package/dist/index120.js +5 -5
  6. package/dist/index126.js +1 -1
  7. package/dist/index127.js +1 -1
  8. package/dist/index128.js +1 -1
  9. package/dist/index13.js +1 -1
  10. package/dist/index130.js +1 -1
  11. package/dist/index133.js +2 -2
  12. package/dist/index15.js +4 -4
  13. package/dist/index17.js +3 -3
  14. package/dist/index19.js +2 -2
  15. package/dist/index205.js +2 -5
  16. package/dist/index206.js +2 -16
  17. package/dist/index207.js +4 -16
  18. package/dist/index208.js +2 -19
  19. package/dist/index209.js +124 -17
  20. package/dist/index21.js +14 -14
  21. package/dist/index210.js +5 -27
  22. package/dist/index211.js +125 -3
  23. package/dist/index212.js +19 -2
  24. package/dist/index213.js +16 -8
  25. package/dist/index214.js +14 -247
  26. package/dist/index215.js +2 -52
  27. package/dist/index216.js +2 -44
  28. package/dist/index217.js +41 -5
  29. package/dist/index218.js +18 -58
  30. package/dist/index219.js +5 -52
  31. package/dist/index220.js +55 -0
  32. package/dist/index222.js +13 -20
  33. package/dist/index223.js +5 -4
  34. package/dist/index224.js +12 -2
  35. package/dist/index225.js +360 -155
  36. package/dist/index226.js +4 -84
  37. package/dist/index227.js +166 -0
  38. package/dist/index228.js +84 -2
  39. package/dist/index23.js +16 -16
  40. package/dist/index230.js +19 -2
  41. package/dist/index231.js +27 -3
  42. package/dist/index232.js +3 -41
  43. package/dist/index233.js +7 -5
  44. package/dist/index234.js +249 -7
  45. package/dist/index235.js +50 -10
  46. package/dist/index236.js +43 -125
  47. package/dist/index237.js +5 -125
  48. package/dist/index238.js +60 -2
  49. package/dist/index239.js +3 -5
  50. package/dist/index240.js +7 -369
  51. package/dist/index241.js +1 -1
  52. package/dist/index244.js +1 -1
  53. package/dist/index246.js +1 -1
  54. package/dist/index25.js +6 -6
  55. package/dist/index251.js +6 -281
  56. package/dist/index252.js +16 -6
  57. package/dist/index253.js +9 -2
  58. package/dist/index254.js +23 -2
  59. package/dist/index255.js +89 -2
  60. package/dist/index257.js +9 -2
  61. package/dist/index258.js +4 -2
  62. package/dist/index259.js +281 -2
  63. package/dist/index260.js +6 -2
  64. package/dist/index261.js +2 -2
  65. package/dist/index262.js +2 -2
  66. package/dist/index263.js +2 -28
  67. package/dist/index264.js +2 -22
  68. package/dist/index266.js +126 -7
  69. package/dist/index267.js +429 -7
  70. package/dist/index268.js +176 -23
  71. package/dist/index269.js +3 -89
  72. package/dist/index271.js +7 -6
  73. package/dist/index272.js +21 -15
  74. package/dist/index274.js +4 -0
  75. package/dist/index275.js +3 -176
  76. package/dist/index276.js +12 -9
  77. package/dist/index277.js +9 -3
  78. package/dist/index278.js +9 -12
  79. package/dist/index279.js +16 -8
  80. package/dist/index280.js +4 -9
  81. package/dist/index281.js +434 -15
  82. package/dist/index282.js +126 -3
  83. package/dist/index283.js +199 -3
  84. package/dist/index284.js +2 -431
  85. package/dist/index285.js +2 -2
  86. package/dist/index286.js +2 -89
  87. package/dist/index287.js +2 -2
  88. package/dist/index288.js +2 -126
  89. package/dist/index289.js +1 -21
  90. package/dist/index29.js +3 -3
  91. package/dist/index290.js +30 -0
  92. package/dist/index291.js +21 -199
  93. package/dist/index293.js +81 -428
  94. package/dist/index294.js +218 -121
  95. package/dist/index297.js +1 -1
  96. package/dist/index301.js +4 -5
  97. package/dist/index302.js +4 -8
  98. package/dist/index303.js +59 -3
  99. package/dist/index304.js +3 -4
  100. package/dist/index305.js +33 -4
  101. package/dist/index306.js +7 -4
  102. package/dist/index307.js +4 -58
  103. package/dist/index308.js +7 -6
  104. package/dist/index309.js +6 -18
  105. package/dist/index31.js +2 -2
  106. package/dist/index310.js +18 -32
  107. package/dist/index311.js +3 -6
  108. package/dist/{index315.js → index316.js} +1 -1
  109. package/dist/index33.js +2 -2
  110. package/dist/index35.js +3 -3
  111. package/dist/index37.js +10 -10
  112. package/dist/index39.js +3 -3
  113. package/dist/index41.js +2 -2
  114. package/dist/index43.js +2 -2
  115. package/dist/index45.js +4 -4
  116. package/dist/index47.js +2 -2
  117. package/dist/index49.js +2 -2
  118. package/dist/index55.js +1 -1
  119. package/dist/index57.js +1 -1
  120. package/dist/index75.js +3 -3
  121. package/dist/index79.js +2 -2
  122. package/dist/index81.js +1 -1
  123. package/dist/index84.js +3 -3
  124. package/dist/index86.js +1 -1
  125. package/dist/index88.js +3 -3
  126. package/dist/index90.js +1 -1
  127. package/dist/style.css +1 -1
  128. package/package.json +2 -2
  129. package/dist/index221.js +0 -15
  130. package/dist/index229.js +0 -6
  131. package/dist/index273.js +0 -5
  132. package/dist/index292.js +0 -226
  133. /package/dist/{index256.js → index265.js} +0 -0
package/dist/index218.js CHANGED
@@ -1,62 +1,22 @@
1
- import { defineComponent as g, ref as i, computed as d, onMounted as h, openBlock as u, createElementBlock as m, createElementVNode as y, Fragment as x, renderList as B, createBlock as C, normalizeClass as S, withCtx as T, createTextVNode as E, toDisplayString as w } from "vue";
2
- import { range as H } from "./index311.js";
3
- import M from "./index13.js";
4
- /* empty css */
5
- const n = 10, l = 3, V = /* @__PURE__ */ g({
6
- __name: "BaseDatePickerYearSelector",
7
- props: {
8
- cursor: {},
9
- disabled: { type: Boolean }
10
- },
11
- emits: ["update:year"],
12
- setup(p, { emit: _ }) {
13
- const f = p, b = _, o = i(), r = d(() => f.cursor.year()), c = i(r.value - n * l), s = i(r.value + n * l), v = d(
14
- () => H(c.value, s.value).map((e) => ({
15
- text: e,
16
- key: e,
17
- selected: e === r.value,
18
- handler: () => b("update:year", e)
19
- }))
20
- ), k = (e) => {
21
- const t = e.target;
22
- t.scrollTop <= 100 ? c.value = Math.max(
23
- c.value - n * l,
24
- r.value - 200
25
- ) : t.scrollHeight - t.scrollTop === t.clientHeight && (s.value = Math.min(s.value + n * l, 2101));
1
+ import { MaskInput as r } from "./index268.js";
2
+ const u = /* @__PURE__ */ new WeakMap(), p = (a, n) => {
3
+ if (a.arg == null || a.instance == null) return;
4
+ const s = "setup" in a.instance.$.type;
5
+ a.arg in a.instance ? a.instance[a.arg] = n : s && console.warn("Maska: please expose `%s` using defineExpose", a.arg);
6
+ }, k = (a, n) => {
7
+ var s;
8
+ const t = a instanceof HTMLInputElement ? a : a.querySelector("input");
9
+ if (t == null || (t == null ? void 0 : t.type) === "file") return;
10
+ let e = {};
11
+ if (n.value != null && (e = typeof n.value == "string" ? { mask: n.value } : { ...n.value }), n.arg != null) {
12
+ const l = (o) => {
13
+ const i = n.modifiers.unmasked ? o.unmasked : n.modifiers.completed ? o.completed : o.masked;
14
+ p(n, i);
26
15
  };
27
- return h(() => {
28
- if (!o.value) return;
29
- const e = o.value.querySelector(
30
- ".content__btn--selected"
31
- );
32
- e && (e.parentElement.scrollTop = e.offsetTop - e.parentElement.clientHeight / 2 + 16);
33
- }), (e, t) => (u(), m("div", {
34
- ref_key: "container",
35
- ref: o,
36
- class: "bb-base-date-picker__button-menu bb-base-date-picker__year-selector scrollbar-border"
37
- }, [
38
- y("div", {
39
- class: "content",
40
- onScrollPassive: k
41
- }, [
42
- (u(!0), m(x, null, B(v.value, (a) => (u(), C(M, {
43
- key: a.key,
44
- class: S({
45
- content__btn: !0,
46
- "content__btn--selected": a.selected
47
- }),
48
- disabled: e.disabled,
49
- onClick: a.handler
50
- }, {
51
- default: T(() => [
52
- E(w(a.text), 1)
53
- ]),
54
- _: 2
55
- }, 1032, ["class", "disabled", "onClick"]))), 128))
56
- ], 32)
57
- ], 512));
16
+ e.onMaska = e.onMaska == null ? l : Array.isArray(e.onMaska) ? [...e.onMaska, l] : [e.onMaska, l];
58
17
  }
59
- });
18
+ u.has(t) ? (s = u.get(t)) == null || s.update(e) : u.set(t, new r(t, e));
19
+ };
60
20
  export {
61
- V as default
21
+ k as vMaska
62
22
  };
package/dist/index219.js CHANGED
@@ -1,55 +1,8 @@
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 "./index126.js";
5
- /* empty css */
6
- import $ from "./index128.js";
7
- /* empty css */
8
- import b from "./index310.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
- }
1
+ const o = (e, t = 50) => new Promise((r) => {
2
+ const n = setInterval(() => {
3
+ e() && (clearInterval(n), r());
4
+ }, t);
52
5
  });
53
6
  export {
54
- S as default
7
+ o as waitFor
55
8
  };
@@ -0,0 +1,55 @@
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 "./index126.js";
5
+ /* empty css */
6
+ import $ from "./index128.js";
7
+ /* empty css */
8
+ import b from "./index305.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
+ });
53
+ export {
54
+ S as default
55
+ };
package/dist/index222.js CHANGED
@@ -1,22 +1,15 @@
1
- import { MaskInput as r } from "./index275.js";
2
- const u = /* @__PURE__ */ new WeakMap(), p = (a, n) => {
3
- if (a.arg == null || a.instance == null) return;
4
- const s = "setup" in a.instance.$.type;
5
- a.arg in a.instance ? a.instance[a.arg] = n : s && console.warn("Maska: please expose `%s` using defineExpose", a.arg);
6
- }, k = (a, n) => {
7
- var s;
8
- const t = a instanceof HTMLInputElement ? a : a.querySelector("input");
9
- if (t == null || (t == null ? void 0 : t.type) === "file") return;
10
- let e = {};
11
- if (n.value != null && (e = typeof n.value == "string" ? { mask: n.value } : { ...n.value }), n.arg != null) {
12
- const l = (o) => {
13
- const i = n.modifiers.unmasked ? o.unmasked : n.modifiers.completed ? o.completed : o.masked;
14
- p(n, i);
15
- };
16
- e.onMaska = e.onMaska == null ? l : Array.isArray(e.onMaska) ? [...e.onMaska, l] : [e.onMaska, l];
17
- }
18
- u.has(t) ? (s = u.get(t)) == null || s.update(e) : u.set(t, new r(t, e));
19
- };
1
+ import { openBlock as t, createElementBlock as n, renderSlot as e } from "vue";
2
+ /* empty css */
3
+ import r from "./index271.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]]);
20
13
  export {
21
- k as vMaska
14
+ i as default
22
15
  };
package/dist/index223.js CHANGED
@@ -1,6 +1,7 @@
1
- function x(e) {
2
- return /^#([A-Fa-f0-9]{6})$/.test(e);
3
- }
1
+ import o from "./index272.js";
2
+ /* empty css */
3
+ import t from "./index271.js";
4
+ const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-cb4d6ef0"]]);
4
5
  export {
5
- x as isHex
6
+ e as default
6
7
  };
package/dist/index224.js CHANGED
@@ -1,4 +1,14 @@
1
- const n = (t, a, m) => Math.min(Math.max(t, a), m);
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
+ });
2
12
  export {
3
- n as clamp
13
+ m as default
4
14
  };