bitboss-ui 2.1.10 → 2.1.11
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.
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +2 -2
- package/dist/index.css +1 -1
- package/dist/index106.js +9 -9
- package/dist/index111.js +1 -1
- package/dist/index113.js +1 -1
- package/dist/index121.js +12 -12
- package/dist/index13.js +1 -1
- package/dist/index131.js +4 -4
- package/dist/index133.js +1 -1
- package/dist/index136.js +1 -1
- package/dist/index137.js +2 -2
- package/dist/index138.js +1 -1
- package/dist/index15.js +8 -8
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index206.js +138 -2
- package/dist/index207.js +2 -2
- package/dist/index208.js +2 -138
- package/dist/index209.js +13 -3
- package/dist/index21.js +16 -16
- package/dist/index210.js +13 -2
- package/dist/index211.js +11 -2
- package/dist/index212.js +2 -18
- package/dist/index213.js +4 -12
- package/dist/index214.js +2 -51
- package/dist/index215.js +66 -15
- package/dist/index217.js +13 -17
- package/dist/index218.js +181 -27
- package/dist/index219.js +5 -13
- package/dist/index220.js +5 -16
- package/dist/index221.js +5 -6
- package/dist/index222.js +5 -4
- package/dist/index223.js +5 -106
- package/dist/index224.js +7 -0
- package/dist/index225.js +2 -100
- package/dist/index226.js +4 -0
- package/dist/index227.js +2 -66
- package/dist/index228.js +22 -0
- package/dist/index229.js +113 -13
- package/dist/index23.js +155 -153
- package/dist/index231.js +6 -0
- package/dist/index232.js +189 -222
- package/dist/index234.js +86 -2
- package/dist/index236.js +28 -6
- package/dist/index237.js +17 -7
- package/dist/index238.js +51 -5
- package/dist/index239.js +15 -5
- package/dist/index240.js +3 -5
- package/dist/index241.js +12 -5
- package/dist/index242.js +16 -5
- package/dist/index243.js +10 -5
- package/dist/index244.js +3 -2
- package/dist/index245.js +2 -11
- package/dist/index246.js +7 -18
- package/dist/index247.js +23 -2
- package/dist/index248.js +9 -5
- package/dist/index249.js +8 -5
- package/dist/index25.js +3 -3
- package/dist/index250.js +3 -8
- package/dist/index251.js +101 -245
- package/dist/index253.js +96 -40
- package/dist/index255.js +6 -60
- package/dist/index256.js +15 -85
- package/dist/index257.js +36 -0
- package/dist/index258.js +3 -34
- package/dist/index259.js +5 -4
- package/dist/index260.js +5 -197
- package/dist/index261.js +10 -0
- package/dist/index262.js +250 -3
- package/dist/index263.js +51 -12
- package/dist/index264.js +44 -183
- package/dist/index265.js +4 -5
- package/dist/index266.js +59 -15
- package/dist/index267.js +9 -3
- package/dist/index268.js +16 -7
- package/dist/index269.js +12 -23
- package/dist/index27.js +1 -1
- package/dist/index270.js +6 -9
- package/dist/index271.js +230 -10
- package/dist/index272.js +2 -3
- package/dist/index273.js +7 -9
- package/dist/index274.js +7 -8
- package/dist/index275.js +2 -5
- package/dist/index276.js +5 -2
- package/dist/index277.js +1 -1
- package/dist/index278.js +1 -1
- package/dist/index279.js +1 -1
- package/dist/index280.js +4 -3
- package/dist/index281.js +7 -3
- package/dist/index282.js +11 -3
- package/dist/index283.js +5 -0
- package/dist/index285.js +7 -17
- package/dist/index286.js +3 -28
- package/dist/index287.js +3 -4
- package/dist/index288.js +4 -3
- package/dist/index289.js +280 -2
- package/dist/index29.js +4 -4
- package/dist/index290.js +2 -7
- package/dist/index291.js +124 -10
- package/dist/index292.js +2 -4
- package/dist/index293.js +13 -278
- package/dist/index294.js +2 -2
- package/dist/index299.js +1 -1
- package/dist/index301.js +3 -15
- package/dist/index302.js +17 -2
- package/dist/index303.js +27 -18
- package/dist/index304.js +6 -2
- package/dist/index305.js +5 -27
- package/dist/index306.js +3 -2
- package/dist/index307.js +3 -2
- package/dist/index308.js +718 -2
- package/dist/index309.js +366 -2
- package/dist/index31.js +2 -2
- package/dist/index310.js +58 -2
- package/dist/index311.js +1 -21
- package/dist/index312.js +7 -0
- package/dist/index313.js +19 -2
- package/dist/index314.js +2 -3
- package/dist/index315.js +26 -5
- package/dist/index316.js +2 -125
- package/dist/index317.js +2 -2
- package/dist/index318.js +2 -3
- package/dist/index319.js +2 -5
- package/dist/index320.js +2 -718
- package/dist/index321.js +22 -366
- package/dist/index323.js +2 -5
- package/dist/index324.js +2 -33
- package/dist/index325.js +33 -28
- package/dist/index326.js +30 -0
- package/dist/index328.js +128 -6
- package/dist/index329.js +366 -16
- package/dist/index33.js +8 -8
- package/dist/index330.js +58 -47
- package/dist/index331.js +58 -7
- package/dist/index332.js +7 -128
- package/dist/index333.js +5 -368
- package/dist/index334.js +8 -228
- package/dist/index335.js +92 -7
- package/dist/index336.js +227 -5
- package/dist/index337.js +7 -8
- package/dist/index338.js +17 -91
- package/dist/index339.js +7 -58
- package/dist/index340.js +47 -58
- package/dist/index342.js +1 -1
- package/dist/index343.js +124 -483
- package/dist/index344.js +430 -44
- package/dist/index345.js +121 -123
- package/dist/index346.js +473 -421
- package/dist/index347.js +48 -125
- package/dist/index35.js +4 -4
- package/dist/index37.js +20 -20
- package/dist/index39.js +8 -8
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +8 -8
- package/dist/index47.js +2 -2
- package/dist/index49.js +3 -3
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index61.js +3 -3
- package/dist/index67.js +1 -1
- package/dist/index79.js +4 -4
- package/dist/index81.js +1 -1
- package/dist/index83.js +2 -2
- package/dist/index85.js +1 -1
- package/dist/index87.js +1 -1
- package/dist/index90.js +3 -3
- package/dist/index92.js +2 -2
- package/dist/index94.js +3 -3
- package/dist/index96.js +1 -1
- package/package.json +1 -1
- package/dist/index216.js +0 -14
- package/dist/index230.js +0 -115
- package/dist/index233.js +0 -4
- package/dist/index235.js +0 -4
- package/dist/index252.js +0 -54
- package/dist/index254.js +0 -7
- package/dist/index284.js +0 -9
- package/dist/index322.js +0 -60
- package/dist/index327.js +0 -4
package/dist/index230.js
DELETED
@@ -1,115 +0,0 @@
|
|
1
|
-
import { defineComponent as P, mergeModels as D, useModel as V, ref as r, watch as A, onMounted as x, computed as S, createBlock as b, openBlock as v, resolveDynamicComponent as g, normalizeStyle as z, normalizeClass as E, unref as n, withCtx as w, renderSlot as y, createCommentVNode as N, mergeProps as h, createElementVNode as C } from "vue";
|
2
|
-
import { wait as F } from "./index135.js";
|
3
|
-
import { useFloating as U, arrow as j } from "./index332.js";
|
4
|
-
import { flip as q, offset as G, shift as H, hide as I, autoUpdate as J } from "./index333.js";
|
5
|
-
const K = { class: "bb-common-popover__bubble" }, W = /* @__PURE__ */ P({
|
6
|
-
__name: "CommonPopover",
|
7
|
-
props: /* @__PURE__ */ D({
|
8
|
-
arrowPadding: {},
|
9
|
-
offset: {},
|
10
|
-
block: { type: Boolean },
|
11
|
-
padding: { default: 0 },
|
12
|
-
placement: {},
|
13
|
-
transitionDuration: { default: 250 },
|
14
|
-
containerAttributes: {},
|
15
|
-
dialog: { type: Boolean },
|
16
|
-
renderContent: { type: Boolean, default: !0 },
|
17
|
-
tag: { default: "span" }
|
18
|
-
}, {
|
19
|
-
modelValue: { type: Boolean, default: !1 },
|
20
|
-
modelModifiers: {}
|
21
|
-
}),
|
22
|
-
emits: ["update:modelValue"],
|
23
|
-
setup(s) {
|
24
|
-
const o = s, a = V(s, "modelValue"), i = r(), t = r(), p = r(), { floatingStyles: k, placement: _, middlewareData: l, update: M } = U(
|
25
|
-
i,
|
26
|
-
t,
|
27
|
-
{
|
28
|
-
placement: o.placement,
|
29
|
-
whileElementsMounted: J,
|
30
|
-
middleware: [
|
31
|
-
q(),
|
32
|
-
G(o.offset),
|
33
|
-
H({ padding: o.padding }),
|
34
|
-
I(),
|
35
|
-
j({
|
36
|
-
element: p,
|
37
|
-
padding: o.arrowPadding
|
38
|
-
})
|
39
|
-
],
|
40
|
-
strategy: "fixed"
|
41
|
-
}
|
42
|
-
), d = (e) => {
|
43
|
-
e ? (M(), o.dialog ? t.value.showModal() : t.value.showPopover()) : F(o.transitionDuration).then(() => {
|
44
|
-
t.value && (o.dialog ? t.value.close() : t.value.hidePopover());
|
45
|
-
});
|
46
|
-
};
|
47
|
-
A(a, d, { flush: "post" }), x(() => {
|
48
|
-
a.value && d(a.value);
|
49
|
-
});
|
50
|
-
const $ = S(() => {
|
51
|
-
if (l.value.arrow) {
|
52
|
-
const { x: e, y: u } = l.value.arrow;
|
53
|
-
return {
|
54
|
-
style: {
|
55
|
-
left: `${e}px`,
|
56
|
-
top: `${u}px`
|
57
|
-
}
|
58
|
-
};
|
59
|
-
}
|
60
|
-
}), B = () => {
|
61
|
-
a.value = !1;
|
62
|
-
};
|
63
|
-
return (e, u) => (v(), b(g(e.dialog ? "div" : e.tag), {
|
64
|
-
ref_key: "wrapper",
|
65
|
-
ref: i,
|
66
|
-
class: E(["bb-common-popover", {
|
67
|
-
"bb-common-popover--open": a.value && !!t.value,
|
68
|
-
"bb-common-popover--block": o.block,
|
69
|
-
[`bb-common-popover--${n(_)}`]: !0
|
70
|
-
}]),
|
71
|
-
style: z({
|
72
|
-
"--transition-duration": `${o.transitionDuration}ms`
|
73
|
-
})
|
74
|
-
}, {
|
75
|
-
default: w(() => {
|
76
|
-
var m, c, f;
|
77
|
-
return [
|
78
|
-
y(e.$slots, "activator"),
|
79
|
-
e.renderContent ? (v(), b(g(e.dialog ? "dialog" : e.tag), h({
|
80
|
-
key: 0,
|
81
|
-
ref_key: "content",
|
82
|
-
ref: t,
|
83
|
-
class: ["bb-common-popover__bubble-container", {
|
84
|
-
"bb-common-popover__bubble-container--open": a.value && !!t.value
|
85
|
-
}],
|
86
|
-
popover: "manual",
|
87
|
-
style: {
|
88
|
-
...((m = e.containerAttributes) == null ? void 0 : m.style) ?? {},
|
89
|
-
...n(k),
|
90
|
-
"--arrow-offset-x": Math.round(((f = (c = n(l)) == null ? void 0 : c.arrow) == null ? void 0 : f.x) ?? 0) + "px",
|
91
|
-
"--page-padding": `${e.padding}px`
|
92
|
-
},
|
93
|
-
tabindex: a.value ? void 0 : -1
|
94
|
-
}, e.containerAttributes, { onClose: n(B) }), {
|
95
|
-
default: w(() => [
|
96
|
-
C("span", h({
|
97
|
-
ref_key: "bubblearrow",
|
98
|
-
ref: p,
|
99
|
-
class: "bb-common-popover__arrow"
|
100
|
-
}, $.value), null, 16),
|
101
|
-
C("span", K, [
|
102
|
-
y(e.$slots, "default")
|
103
|
-
])
|
104
|
-
]),
|
105
|
-
_: 3
|
106
|
-
}, 16, ["class", "style", "tabindex", "onClose"])) : N("", !0)
|
107
|
-
];
|
108
|
-
}),
|
109
|
-
_: 3
|
110
|
-
}, 8, ["class", "style"]));
|
111
|
-
}
|
112
|
-
});
|
113
|
-
export {
|
114
|
-
W as default
|
115
|
-
};
|
package/dist/index233.js
DELETED
package/dist/index235.js
DELETED
package/dist/index252.js
DELETED
@@ -1,54 +0,0 @@
|
|
1
|
-
import { defineComponent as p, ref as b, watch as _, computed as m, createElementBlock as d, openBlock as c, normalizeClass as u, createElementVNode as t, createVNode as h, withCtx as f, toDisplayString as o } from "vue";
|
2
|
-
import k from "./index254.js";
|
3
|
-
const y = { class: "bb-base-date-picker__year-container" }, v = {
|
4
|
-
"aria-live": "polite",
|
5
|
-
class: "bb-base-date-picker__selected-day-label"
|
6
|
-
}, B = { class: "bb-base-date-picker__weekday" }, D = { class: "bb-base-date-picker__monthday" }, M = { class: "bb-base-date-picker__month-button" }, C = /* @__PURE__ */ p({
|
7
|
-
__name: "BaseDatePickerHeader",
|
8
|
-
props: {
|
9
|
-
cursor: {},
|
10
|
-
disabled: { type: Boolean },
|
11
|
-
hidden: { type: Boolean }
|
12
|
-
},
|
13
|
-
emits: ["mode:year", "mode:month"],
|
14
|
-
setup(n) {
|
15
|
-
const s = n, r = b("top"), l = (e, a) => {
|
16
|
-
e && a && (r.value = e.isBefore(a) ? "top" : "bottom");
|
17
|
-
};
|
18
|
-
_(
|
19
|
-
() => s.cursor,
|
20
|
-
(e, a) => {
|
21
|
-
l(e, a);
|
22
|
-
}
|
23
|
-
);
|
24
|
-
const i = m(() => s.cursor.format("YYYY"));
|
25
|
-
return (e, a) => (c(), d("div", {
|
26
|
-
class: u(["bb-base-date-picker__header", { "bb-base-date-picker__header--hidden": e.hidden }])
|
27
|
-
}, [
|
28
|
-
t("div", y, [
|
29
|
-
h(k, {
|
30
|
-
direction: r.value,
|
31
|
-
duration: 500,
|
32
|
-
gap: 30
|
33
|
-
}, {
|
34
|
-
default: f(() => [
|
35
|
-
(c(), d("span", {
|
36
|
-
key: i.value,
|
37
|
-
"aria-live": "polite",
|
38
|
-
class: "bb-base-date-picker__year-button"
|
39
|
-
}, o(i.value), 1))
|
40
|
-
]),
|
41
|
-
_: 1
|
42
|
-
}, 8, ["direction"])
|
43
|
-
]),
|
44
|
-
t("div", v, [
|
45
|
-
t("span", B, o(e.cursor.format("ddd")) + ", ", 1),
|
46
|
-
t("span", D, o(e.cursor.format("DD")), 1),
|
47
|
-
t("span", M, o(e.cursor.format("MMMM")), 1)
|
48
|
-
])
|
49
|
-
], 2));
|
50
|
-
}
|
51
|
-
});
|
52
|
-
export {
|
53
|
-
C as default
|
54
|
-
};
|
package/dist/index254.js
DELETED
package/dist/index284.js
DELETED
package/dist/index322.js
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
var o = function(a, e, s, t) {
|
2
|
-
if (s === "a" && !t) throw new TypeError("Private accessor was defined without a getter");
|
3
|
-
if (typeof e == "function" ? a !== e || !t : !e.has(a)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
4
|
-
return s === "m" ? t : s === "a" ? t.call(a) : t ? t.value : e.get(a);
|
5
|
-
}, i, l, r;
|
6
|
-
class d {
|
7
|
-
constructor(...e) {
|
8
|
-
i.set(this, /* @__PURE__ */ new Map()), l.set(this, /* @__PURE__ */ new Map()), r.set(this, /* @__PURE__ */ new Map());
|
9
|
-
for (const s of e)
|
10
|
-
this.define(s);
|
11
|
-
}
|
12
|
-
define(e, s = !1) {
|
13
|
-
for (let [t, f] of Object.entries(e)) {
|
14
|
-
t = t.toLowerCase(), f = f.map((n) => n.toLowerCase()), o(this, r, "f").has(t) || o(this, r, "f").set(t, /* @__PURE__ */ new Set());
|
15
|
-
const h = o(this, r, "f").get(t);
|
16
|
-
let u = !0;
|
17
|
-
for (let n of f) {
|
18
|
-
const w = n.startsWith("*");
|
19
|
-
if (n = w ? n.slice(1) : n, h == null || h.add(n), u && o(this, l, "f").set(t, n), u = !1, w)
|
20
|
-
continue;
|
21
|
-
const c = o(this, i, "f").get(n);
|
22
|
-
if (c && c != t && !s)
|
23
|
-
throw new Error(`"${t} -> ${n}" conflicts with "${c} -> ${n}". Pass \`force=true\` to override this definition.`);
|
24
|
-
o(this, i, "f").set(n, t);
|
25
|
-
}
|
26
|
-
}
|
27
|
-
return this;
|
28
|
-
}
|
29
|
-
getType(e) {
|
30
|
-
if (typeof e != "string")
|
31
|
-
return null;
|
32
|
-
const s = e.replace(/^.*[/\\]/s, "").toLowerCase(), t = s.replace(/^.*\./s, "").toLowerCase(), f = s.length < e.length;
|
33
|
-
return !(t.length < s.length - 1) && f ? null : o(this, i, "f").get(t) ?? null;
|
34
|
-
}
|
35
|
-
getExtension(e) {
|
36
|
-
var s;
|
37
|
-
return typeof e != "string" ? null : (e = (s = e == null ? void 0 : e.split) == null ? void 0 : s.call(e, ";")[0], (e && o(this, l, "f").get(e.trim().toLowerCase())) ?? null);
|
38
|
-
}
|
39
|
-
getAllExtensions(e) {
|
40
|
-
return typeof e != "string" ? null : o(this, r, "f").get(e.toLowerCase()) ?? null;
|
41
|
-
}
|
42
|
-
_freeze() {
|
43
|
-
this.define = () => {
|
44
|
-
throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances");
|
45
|
-
}, Object.freeze(this);
|
46
|
-
for (const e of o(this, r, "f").values())
|
47
|
-
Object.freeze(e);
|
48
|
-
return this;
|
49
|
-
}
|
50
|
-
_getTestState() {
|
51
|
-
return {
|
52
|
-
types: o(this, i, "f"),
|
53
|
-
extensions: o(this, l, "f")
|
54
|
-
};
|
55
|
-
}
|
56
|
-
}
|
57
|
-
i = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap();
|
58
|
-
export {
|
59
|
-
d as default
|
60
|
-
};
|
package/dist/index327.js
DELETED