bitboss-ui 2.0.176 → 2.1.0
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/BaseColorInput/BaseColorInput.vue.d.ts +0 -4
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +0 -4
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +0 -4
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +1 -1
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +32 -28
- package/dist/components/BbPopover/BbPopover.vue.d.ts +1 -1
- package/dist/components/BbSelect/BbSelect.vue.d.ts +0 -4
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +1 -1
- package/dist/index.css +1 -1
- package/dist/index106.js +9 -9
- package/dist/index107.js +29 -31
- package/dist/index111.js +1 -1
- package/dist/index113.js +1 -1
- package/dist/index121.js +12 -12
- package/dist/index129.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index131.js +13 -14
- package/dist/index136.js +1 -1
- package/dist/index137.js +2 -2
- package/dist/index138.js +1 -1
- package/dist/index139.js +2 -2
- package/dist/index15.js +13 -14
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index206.js +2 -138
- package/dist/index207.js +138 -2
- package/dist/index208.js +2 -2
- package/dist/index209.js +2 -13
- package/dist/index21.js +16 -16
- package/dist/index210.js +4 -66
- package/dist/index211.js +4 -0
- package/dist/index212.js +65 -176
- package/dist/index214.js +15 -0
- package/dist/index215.js +12 -28
- package/dist/index216.js +13 -17
- package/dist/index217.js +10 -50
- package/dist/index218.js +5 -15
- package/dist/index219.js +5 -3
- package/dist/index220.js +5 -12
- package/dist/index221.js +5 -16
- package/dist/index222.js +5 -34
- package/dist/index223.js +5 -2
- package/dist/index224.js +2 -4
- package/dist/index225.js +2 -2
- package/dist/index226.js +2 -5
- package/dist/index227.js +20 -5
- package/dist/index228.js +113 -5
- package/dist/index23.js +45 -46
- package/dist/index230.js +86 -5
- package/dist/index232.js +29 -2
- package/dist/index233.js +16 -2
- package/dist/index234.js +17 -2
- package/dist/index235.js +51 -13
- package/dist/index236.js +14 -10
- package/dist/index237.js +3 -20
- package/dist/index238.js +12 -113
- package/dist/index239.js +6 -0
- package/dist/index240.js +191 -100
- package/dist/index242.js +5 -100
- package/dist/index243.js +7 -0
- package/dist/index244.js +8 -4
- package/dist/index245.js +239 -186
- package/dist/index246.js +54 -0
- package/dist/index247.js +42 -16
- package/dist/index248.js +5 -12
- package/dist/index249.js +59 -5
- package/dist/index25.js +22 -21
- package/dist/index250.js +17 -227
- package/dist/index251.js +11 -12
- package/dist/index252.js +6 -3
- package/dist/index253.js +106 -5
- package/dist/index255.js +98 -6
- package/dist/index257.js +221 -45
- package/dist/index258.js +177 -44
- package/dist/index259.js +2 -5
- package/dist/index260.js +3 -60
- package/dist/index261.js +34 -2
- package/dist/index262.js +2 -2
- package/dist/index263.js +9 -8
- package/dist/index264.js +3 -23
- package/dist/index265.js +6 -10
- package/dist/index266.js +16 -3
- package/dist/index267.js +3 -41
- package/dist/index268.js +9 -7
- package/dist/index269.js +8 -14
- package/dist/index27.js +1 -1
- package/dist/index270.js +23 -3
- package/dist/index271.js +9 -6
- package/dist/index272.js +8 -16
- package/dist/index273.js +4 -8
- package/dist/index274.js +8 -9
- package/dist/index275.js +2 -8
- package/dist/index276.js +67 -2
- package/dist/index278.js +4 -67
- package/dist/index279.js +3 -5
- package/dist/index281.js +9 -0
- package/dist/index282.js +6 -6
- package/dist/index283.js +11 -3
- package/dist/index284.js +4 -3
- package/dist/index285.js +3 -17
- package/dist/index286.js +3 -28
- package/dist/index287.js +3 -2
- package/dist/index288.js +17 -4
- package/dist/index289.js +28 -4
- package/dist/index29.js +3 -3
- package/dist/index302.js +19 -3
- package/dist/index303.js +2 -7
- package/dist/index304.js +26 -10
- package/dist/index305.js +2 -3
- package/dist/index306.js +2 -3
- package/dist/index307.js +2 -3
- package/dist/index308.js +2 -6
- package/dist/index309.js +1 -1
- package/dist/index31.js +2 -2
- package/dist/index310.js +22 -5
- package/dist/index312.js +3 -2
- package/dist/index313.js +3 -27
- package/dist/index314.js +2 -2
- package/dist/index315.js +6 -2
- package/dist/index316.js +1 -1
- package/dist/index317.js +5 -2
- package/dist/index318.js +5 -2
- package/dist/index319.js +701 -22
- package/dist/index320.js +356 -0
- package/dist/index321.js +53 -466
- package/dist/index322.js +33 -2
- package/dist/index323.js +28 -5
- package/dist/index325.js +2 -701
- package/dist/index326.js +129 -354
- package/dist/index327.js +365 -54
- package/dist/index328.js +8 -2
- package/dist/index329.js +5 -6
- package/dist/index33.js +8 -8
- package/dist/index330.js +8 -47
- package/dist/index331.js +44 -126
- package/dist/index332.js +6 -368
- package/dist/index333.js +18 -6
- package/dist/index334.js +57 -18
- package/dist/index335.js +57 -32
- package/dist/index336.js +227 -27
- package/dist/index337.js +9 -0
- package/dist/index338.js +92 -57
- package/dist/index340.js +3 -8
- package/dist/index341.js +128 -5
- package/dist/index342.js +434 -6
- package/dist/index343.js +125 -226
- package/dist/index344.js +474 -85
- package/dist/index345.js +43 -478
- package/dist/index35.js +4 -4
- package/dist/index37.js +20 -21
- package/dist/index39.js +5 -5
- 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 +18 -19
- 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 +159 -225
- package/dist/index92.js +2 -2
- package/dist/index94.js +11 -12
- package/dist/index96.js +1 -1
- package/dist/types/CommonProps.d.ts +0 -4
- package/package.json +1 -2
- package/dist/components/BbTeleport.vue.d.ts +0 -20
- package/dist/index213.js +0 -88
- package/dist/index229.js +0 -7
- package/dist/index231.js +0 -7
- package/dist/index254.js +0 -7
- package/dist/index256.js +0 -252
- package/dist/index280.js +0 -10
- package/dist/index311.js +0 -21
- package/dist/index324.js +0 -202
- package/dist/index339.js +0 -60
- package/dist/index346.js +0 -131
- package/dist/index348.js +0 -5
- package/dist/index349.js +0 -49
- package/dist/index350.js +0 -438
- package/dist/index351.js +0 -129
package/dist/index264.js
CHANGED
@@ -1,25 +1,5 @@
|
|
1
|
-
const
|
2
|
-
|
3
|
-
negTabIndex: ':not([tabindex^="-"])',
|
4
|
-
disabled: ":not(:disabled)"
|
5
|
-
}, n = [
|
6
|
-
`a[href]${e.inert}${e.negTabIndex}`,
|
7
|
-
`area[href]${e.inert}${e.negTabIndex}`,
|
8
|
-
`input:not([type="hidden"]):not([type="radio"])${e.inert}${e.negTabIndex}${e.disabled}`,
|
9
|
-
`input[type="radio"]${e.inert}${e.negTabIndex}${e.disabled}`,
|
10
|
-
`select${e.inert}${e.negTabIndex}${e.disabled}`,
|
11
|
-
`textarea${e.inert}${e.negTabIndex}${e.disabled}`,
|
12
|
-
`button${e.inert}${e.negTabIndex}${e.disabled}`,
|
13
|
-
`details${e.inert} > summary:first-of-type${e.negTabIndex}`,
|
14
|
-
// Discard until Firefox supports `:has()`
|
15
|
-
// See: https://github.com/KittyGiraudel/focusable-selectors/issues/12
|
16
|
-
// `details:not(:has(> summary))${not.inert}${not.negTabIndex}`,
|
17
|
-
`iframe${e.inert}${e.negTabIndex}`,
|
18
|
-
`audio[controls]${e.inert}${e.negTabIndex}`,
|
19
|
-
`video[controls]${e.inert}${e.negTabIndex}`,
|
20
|
-
`[contenteditable]${e.inert}${e.negTabIndex}`,
|
21
|
-
`[tabindex]${e.inert}${e.negTabIndex}`
|
22
|
-
];
|
1
|
+
const o = () => {
|
2
|
+
};
|
23
3
|
export {
|
24
|
-
|
4
|
+
o as noop
|
25
5
|
};
|
package/dist/index265.js
CHANGED
@@ -1,12 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
const n = t[c];
|
6
|
-
r(n, c, t) && (e[c] = n);
|
7
|
-
}
|
8
|
-
return e;
|
9
|
-
};
|
1
|
+
import e from "./index319.js";
|
2
|
+
import o from "./index320.js";
|
3
|
+
import r from "./index321.js";
|
4
|
+
const f = new r(o, e)._freeze();
|
10
5
|
export {
|
11
|
-
|
6
|
+
r as Mime,
|
7
|
+
f as default
|
12
8
|
};
|
package/dist/index266.js
CHANGED
@@ -1,5 +1,18 @@
|
|
1
|
-
const
|
2
|
-
|
1
|
+
const e = (o, r, f) => o.reduce((t, n) => {
|
2
|
+
if (t) return t;
|
3
|
+
if (f(n))
|
4
|
+
return n;
|
5
|
+
if (r in n) {
|
6
|
+
const i = e(
|
7
|
+
[].concat(n[r]),
|
8
|
+
r,
|
9
|
+
f
|
10
|
+
);
|
11
|
+
if (i)
|
12
|
+
return i;
|
13
|
+
}
|
14
|
+
return t;
|
15
|
+
}, null);
|
3
16
|
export {
|
4
|
-
|
17
|
+
e as findInTree
|
5
18
|
};
|
package/dist/index267.js
CHANGED
@@ -1,43 +1,5 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
import { createFocusTrap as F } from "./index321.js";
|
4
|
-
import { shallowRef as n, computed as T, toValue as i, watch as w } from "vue";
|
5
|
-
function N(f, a = {}) {
|
6
|
-
let t;
|
7
|
-
const { immediate: l, ...p } = a, o = n(!1), r = n(!1), c = (e) => t && t.activate(e), u = (e) => t && t.deactivate(e), v = () => {
|
8
|
-
t && (t.pause(), r.value = !0);
|
9
|
-
}, m = () => {
|
10
|
-
t && (t.unpause(), r.value = !1);
|
11
|
-
}, h = T(() => {
|
12
|
-
const e = i(f);
|
13
|
-
return A(e).map((d) => {
|
14
|
-
const s = i(d);
|
15
|
-
return typeof s == "string" ? s : g(s);
|
16
|
-
}).filter(D);
|
17
|
-
});
|
18
|
-
return w(
|
19
|
-
h,
|
20
|
-
(e) => {
|
21
|
-
e.length && (t = F(e, {
|
22
|
-
...p,
|
23
|
-
onActivate() {
|
24
|
-
o.value = !0, a.onActivate && a.onActivate();
|
25
|
-
},
|
26
|
-
onDeactivate() {
|
27
|
-
o.value = !1, a.onDeactivate && a.onDeactivate();
|
28
|
-
}
|
29
|
-
}), l && c());
|
30
|
-
},
|
31
|
-
{ flush: "post" }
|
32
|
-
), y(() => u()), {
|
33
|
-
hasFocus: o,
|
34
|
-
isPaused: r,
|
35
|
-
activate: c,
|
36
|
-
deactivate: u,
|
37
|
-
pause: v,
|
38
|
-
unpause: m
|
39
|
-
};
|
40
|
-
}
|
1
|
+
import t from "./index318.js";
|
2
|
+
const r = t;
|
41
3
|
export {
|
42
|
-
|
4
|
+
r as throttle
|
43
5
|
};
|
package/dist/index268.js
CHANGED
@@ -1,9 +1,11 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
o
|
4
|
-
|
5
|
-
|
6
|
-
},
|
1
|
+
function u(e, i) {
|
2
|
+
let t;
|
3
|
+
return function(...o) {
|
4
|
+
t !== void 0 && clearTimeout(t), t = setTimeout(() => {
|
5
|
+
e.apply(this, o);
|
6
|
+
}, i);
|
7
|
+
};
|
8
|
+
}
|
7
9
|
export {
|
8
|
-
|
10
|
+
u as debounce
|
9
11
|
};
|
package/dist/index269.js
CHANGED
@@ -1,17 +1,11 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
},
|
7
|
-
setup(o) {
|
8
|
-
var t, e;
|
9
|
-
const r = o, n = !!((e = (t = c()) == null ? void 0 : t.proxy) != null && e.$nuxt), p = r.target || (n ? "#teleports" : "body");
|
10
|
-
return (s, _) => (u(), l(f, { to: d(p) }, [
|
11
|
-
m(s.$slots, "default")
|
12
|
-
], 8, ["to"]));
|
1
|
+
const o = (n, t) => {
|
2
|
+
for (let e = n.length - 1; e >= 0; e--) {
|
3
|
+
const i = n[e];
|
4
|
+
if (t(i, e, n))
|
5
|
+
return e;
|
13
6
|
}
|
14
|
-
|
7
|
+
return -1;
|
8
|
+
};
|
15
9
|
export {
|
16
|
-
|
10
|
+
o as findRightIndex
|
17
11
|
};
|
package/dist/index27.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as S, computed as n, createElementBlock as c, openBlock as r, normalizeClass as T, createBlock as w, createVNode as B, createElementVNode as p, resolveDynamicComponent as E, normalizeProps as o, guardReactiveProps as l, withCtx as b, renderSlot as P, createTextVNode as V, toDisplayString as d, unref as m, Fragment as D, renderList as I } from "vue";
|
2
|
-
import { deburr as N } from "./
|
2
|
+
import { deburr as N } from "./index260.js";
|
3
3
|
import { getAsPercentage as $ } from "./index136.js";
|
4
4
|
import { useId as F } from "./index8.js";
|
5
5
|
import R from "./index69.js";
|
package/dist/index270.js
CHANGED
@@ -1,5 +1,25 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
const e = {
|
2
|
+
inert: ":not([inert]):not([inert] *)",
|
3
|
+
negTabIndex: ':not([tabindex^="-"])',
|
4
|
+
disabled: ":not(:disabled)"
|
5
|
+
}, n = [
|
6
|
+
`a[href]${e.inert}${e.negTabIndex}`,
|
7
|
+
`area[href]${e.inert}${e.negTabIndex}`,
|
8
|
+
`input:not([type="hidden"]):not([type="radio"])${e.inert}${e.negTabIndex}${e.disabled}`,
|
9
|
+
`input[type="radio"]${e.inert}${e.negTabIndex}${e.disabled}`,
|
10
|
+
`select${e.inert}${e.negTabIndex}${e.disabled}`,
|
11
|
+
`textarea${e.inert}${e.negTabIndex}${e.disabled}`,
|
12
|
+
`button${e.inert}${e.negTabIndex}${e.disabled}`,
|
13
|
+
`details${e.inert} > summary:first-of-type${e.negTabIndex}`,
|
14
|
+
// Discard until Firefox supports `:has()`
|
15
|
+
// See: https://github.com/KittyGiraudel/focusable-selectors/issues/12
|
16
|
+
// `details:not(:has(> summary))${not.inert}${not.negTabIndex}`,
|
17
|
+
`iframe${e.inert}${e.negTabIndex}`,
|
18
|
+
`audio[controls]${e.inert}${e.negTabIndex}`,
|
19
|
+
`video[controls]${e.inert}${e.negTabIndex}`,
|
20
|
+
`[contenteditable]${e.inert}${e.negTabIndex}`,
|
21
|
+
`[tabindex]${e.inert}${e.negTabIndex}`
|
22
|
+
];
|
3
23
|
export {
|
4
|
-
|
24
|
+
n as default
|
5
25
|
};
|
package/dist/index271.js
CHANGED
@@ -1,8 +1,11 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
import { get as o } from "./index283.js";
|
2
|
+
const e = () => ({
|
3
|
+
getItemValue(n, f) {
|
4
|
+
if (typeof f > "u") return n;
|
5
|
+
if (typeof f == "function") return f(n);
|
6
|
+
if (typeof f == "string") return o(n, f);
|
7
|
+
}
|
8
|
+
});
|
5
9
|
export {
|
6
|
-
|
7
|
-
f as default
|
10
|
+
e as useItemValue
|
8
11
|
};
|
package/dist/index272.js
CHANGED
@@ -1,18 +1,10 @@
|
|
1
|
-
const
|
2
|
-
|
3
|
-
|
4
|
-
return n;
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
r,
|
9
|
-
f
|
10
|
-
);
|
11
|
-
if (i)
|
12
|
-
return i;
|
13
|
-
}
|
14
|
-
return t;
|
15
|
-
}, null);
|
1
|
+
const u = (t, r) => t.reduce(
|
2
|
+
(e, n, o, d) => {
|
3
|
+
const s = r(n, o, d);
|
4
|
+
return e[s] = n, e;
|
5
|
+
},
|
6
|
+
{}
|
7
|
+
);
|
16
8
|
export {
|
17
|
-
|
9
|
+
u as indexBy
|
18
10
|
};
|
package/dist/index273.js
CHANGED
@@ -1,11 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
return
|
4
|
-
t !== void 0 && clearTimeout(t), t = setTimeout(() => {
|
5
|
-
e.apply(this, o);
|
6
|
-
}, i);
|
7
|
-
};
|
1
|
+
import { getType as t } from "./index284.js";
|
2
|
+
function o(r) {
|
3
|
+
return t(r) === "Array";
|
8
4
|
}
|
9
5
|
export {
|
10
|
-
|
6
|
+
o as isArray
|
11
7
|
};
|
package/dist/index274.js
CHANGED
@@ -1,11 +1,10 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
});
|
1
|
+
import { getType as o } from "./index284.js";
|
2
|
+
function c(e) {
|
3
|
+
if (o(e) !== "Object")
|
4
|
+
return !1;
|
5
|
+
const t = Object.getPrototypeOf(e);
|
6
|
+
return !!t && t.constructor === Object && t === Object.prototype;
|
7
|
+
}
|
9
8
|
export {
|
10
|
-
|
9
|
+
c as isPlainObject
|
11
10
|
};
|
package/dist/index275.js
CHANGED
package/dist/index276.js
CHANGED
@@ -1,4 +1,69 @@
|
|
1
|
-
|
1
|
+
import { defineComponent as d, createElementBlock as l, openBlock as o, normalizeClass as u, createElementVNode as t, createBlock as i, createCommentVNode as s, unref as f, withCtx as g, toDisplayString as n } from "vue";
|
2
|
+
import { useLocale as k } from "./index216.js";
|
3
|
+
import h from "./index13.js";
|
4
|
+
/* empty css */
|
5
|
+
import C from "./index85.js";
|
6
|
+
/* empty css */
|
7
|
+
const w = { class: "bb-toast-message__icon-container" }, v = { class: "bb-toast-message__content" }, y = {
|
8
|
+
key: 1,
|
9
|
+
class: "bb-toast-message__title"
|
10
|
+
}, B = { class: "bb-toast-message__text" }, z = /* @__PURE__ */ d({
|
11
|
+
__name: "BbToastMessage",
|
12
|
+
props: {
|
13
|
+
title: {},
|
14
|
+
text: {},
|
15
|
+
icon: {},
|
16
|
+
theme: { default: "default" },
|
17
|
+
id: {},
|
18
|
+
showClose: { type: Boolean }
|
19
|
+
},
|
20
|
+
emits: ["click:close"],
|
21
|
+
setup(r, { emit: c }) {
|
22
|
+
const m = r, p = c, { t: _ } = k(), b = () => {
|
23
|
+
p("click:close", m.id);
|
24
|
+
};
|
25
|
+
return (e, a) => (o(), l("div", {
|
26
|
+
"aria-atomic": "true",
|
27
|
+
"aria-live": "polite",
|
28
|
+
"aria-role": "alert",
|
29
|
+
class: u(["bb-toast-message", { [`bb-toast-message--${e.theme}`]: e.theme }])
|
30
|
+
}, [
|
31
|
+
t("div", w, [
|
32
|
+
e.icon ? (o(), i(C, {
|
33
|
+
key: 0,
|
34
|
+
class: "bb-toast-message__icon",
|
35
|
+
type: e.icon
|
36
|
+
}, null, 8, ["type"])) : s("", !0)
|
37
|
+
]),
|
38
|
+
t("div", v, [
|
39
|
+
e.showClose ? (o(), i(h, {
|
40
|
+
key: 0,
|
41
|
+
"aria-label": f(_)("common.closeLabel").value,
|
42
|
+
class: "bb-toast-message__close",
|
43
|
+
onClick: b
|
44
|
+
}, {
|
45
|
+
default: g(() => a[0] || (a[0] = [
|
46
|
+
t("svg", {
|
47
|
+
fill: "none",
|
48
|
+
viewBox: "0 0 24 24",
|
49
|
+
xmlns: "http://www.w3.org/2000/svg"
|
50
|
+
}, [
|
51
|
+
t("path", {
|
52
|
+
d: "M23 23L1 1M23 1L1 23",
|
53
|
+
stroke: "currentColor",
|
54
|
+
"stroke-linecap": "round",
|
55
|
+
"stroke-width": "2"
|
56
|
+
})
|
57
|
+
], -1)
|
58
|
+
])),
|
59
|
+
_: 1
|
60
|
+
}, 8, ["aria-label"])) : s("", !0),
|
61
|
+
e.title ? (o(), l("p", y, n(e.title), 1)) : s("", !0),
|
62
|
+
t("p", B, n(e.text), 1)
|
63
|
+
])
|
64
|
+
], 2));
|
65
|
+
}
|
66
|
+
});
|
2
67
|
export {
|
3
|
-
|
68
|
+
z as default
|
4
69
|
};
|
package/dist/index278.js
CHANGED
@@ -1,69 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
/* empty css */
|
5
|
-
import C from "./index85.js";
|
6
|
-
/* empty css */
|
7
|
-
const w = { class: "bb-toast-message__icon-container" }, v = { class: "bb-toast-message__content" }, y = {
|
8
|
-
key: 1,
|
9
|
-
class: "bb-toast-message__title"
|
10
|
-
}, B = { class: "bb-toast-message__text" }, z = /* @__PURE__ */ d({
|
11
|
-
__name: "BbToastMessage",
|
12
|
-
props: {
|
13
|
-
title: {},
|
14
|
-
text: {},
|
15
|
-
icon: {},
|
16
|
-
theme: { default: "default" },
|
17
|
-
id: {},
|
18
|
-
showClose: { type: Boolean }
|
19
|
-
},
|
20
|
-
emits: ["click:close"],
|
21
|
-
setup(r, { emit: c }) {
|
22
|
-
const m = r, p = c, { t: _ } = k(), b = () => {
|
23
|
-
p("click:close", m.id);
|
24
|
-
};
|
25
|
-
return (e, a) => (o(), l("div", {
|
26
|
-
"aria-atomic": "true",
|
27
|
-
"aria-live": "polite",
|
28
|
-
"aria-role": "alert",
|
29
|
-
class: u(["bb-toast-message", { [`bb-toast-message--${e.theme}`]: e.theme }])
|
30
|
-
}, [
|
31
|
-
t("div", w, [
|
32
|
-
e.icon ? (o(), i(C, {
|
33
|
-
key: 0,
|
34
|
-
class: "bb-toast-message__icon",
|
35
|
-
type: e.icon
|
36
|
-
}, null, 8, ["type"])) : s("", !0)
|
37
|
-
]),
|
38
|
-
t("div", v, [
|
39
|
-
e.showClose ? (o(), i(h, {
|
40
|
-
key: 0,
|
41
|
-
"aria-label": f(_)("common.closeLabel").value,
|
42
|
-
class: "bb-toast-message__close",
|
43
|
-
onClick: b
|
44
|
-
}, {
|
45
|
-
default: g(() => a[0] || (a[0] = [
|
46
|
-
t("svg", {
|
47
|
-
fill: "none",
|
48
|
-
viewBox: "0 0 24 24",
|
49
|
-
xmlns: "http://www.w3.org/2000/svg"
|
50
|
-
}, [
|
51
|
-
t("path", {
|
52
|
-
d: "M23 23L1 1M23 1L1 23",
|
53
|
-
stroke: "currentColor",
|
54
|
-
"stroke-linecap": "round",
|
55
|
-
"stroke-width": "2"
|
56
|
-
})
|
57
|
-
], -1)
|
58
|
-
])),
|
59
|
-
_: 1
|
60
|
-
}, 8, ["aria-label"])) : s("", !0),
|
61
|
-
e.title ? (o(), l("p", y, n(e.title), 1)) : s("", !0),
|
62
|
-
t("p", B, n(e.text), 1)
|
63
|
-
])
|
64
|
-
], 2));
|
65
|
-
}
|
66
|
-
});
|
1
|
+
const e = function(t) {
|
2
|
+
return (...n) => n.length >= t.length ? t(...n) : e(t.bind(void 0, ...n));
|
3
|
+
};
|
67
4
|
export {
|
68
|
-
|
5
|
+
e as curry
|
69
6
|
};
|
package/dist/index279.js
CHANGED
package/dist/index281.js
ADDED
package/dist/index282.js
CHANGED
package/dist/index283.js
CHANGED
@@ -1,5 +1,13 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
function c(n, r, e) {
|
2
|
+
const i = typeof r == "string" ? r.split(".") : r;
|
3
|
+
let t = n;
|
4
|
+
for (const o of i)
|
5
|
+
if (t && typeof t == "object" && o in t)
|
6
|
+
t = t[o];
|
7
|
+
else
|
8
|
+
return e;
|
9
|
+
return t === void 0 ? e : t;
|
10
|
+
}
|
3
11
|
export {
|
4
|
-
|
12
|
+
c as get
|
5
13
|
};
|
package/dist/index284.js
CHANGED
package/dist/index285.js
CHANGED
@@ -1,19 +1,5 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
getItemText(r, n) {
|
4
|
-
if (typeof r == "string" && !n) return r;
|
5
|
-
if (n) {
|
6
|
-
if (typeof n == "function") {
|
7
|
-
let f = n(r);
|
8
|
-
return typeof f != "string" && (f = JSON.stringify(f)), f;
|
9
|
-
} else if (typeof n == "string") {
|
10
|
-
const f = t(r, n);
|
11
|
-
return typeof f == "string" ? f : JSON.stringify(f);
|
12
|
-
}
|
13
|
-
}
|
14
|
-
return JSON.stringify(r);
|
15
|
-
}
|
16
|
-
});
|
1
|
+
import o from "./index240.js";
|
2
|
+
/* empty css */
|
17
3
|
export {
|
18
|
-
o as
|
4
|
+
o as default
|
19
5
|
};
|
package/dist/index286.js
CHANGED
@@ -1,30 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
}
|
4
|
-
function c(t, r) {
|
5
|
-
var n = 5381;
|
6
|
-
if (typeof t == "object" && t !== null && (t.toString === Object.prototype.toString || t.toString === Array.prototype.toString)) {
|
7
|
-
r || (r = /* @__PURE__ */ new WeakSet());
|
8
|
-
for (var p = Object.keys(t).sort(y), i = 0; i < p.length; i++) {
|
9
|
-
var s = p[i], e = t[s];
|
10
|
-
if (n = 33 * n ^ c(s, r), typeof e == "object" && e !== null && (t.toString === Object.prototype.toString || t.toString === Array.prototype.toString)) {
|
11
|
-
if (r.has(e)) continue;
|
12
|
-
r.add(e);
|
13
|
-
}
|
14
|
-
n = 33 * n ^ c(e, r);
|
15
|
-
}
|
16
|
-
return 33 * n ^ c(t.constructor, r);
|
17
|
-
}
|
18
|
-
var o = typeof t;
|
19
|
-
try {
|
20
|
-
t instanceof Date ? o += t.getTime() : o += String(t);
|
21
|
-
} catch {
|
22
|
-
o += String(Object.assign({}, t));
|
23
|
-
}
|
24
|
-
for (var a = 0; a < o.length; a++) n = 33 * n ^ o.charCodeAt(a);
|
25
|
-
return n;
|
26
|
-
}
|
1
|
+
import o from "./index228.js";
|
2
|
+
/* empty css */
|
27
3
|
export {
|
28
|
-
|
29
|
-
y as sortNumbers
|
4
|
+
o as default
|
30
5
|
};
|
package/dist/index287.js
CHANGED
package/dist/index288.js
CHANGED
@@ -1,6 +1,19 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
import { get as t } from "./index283.js";
|
2
|
+
const o = () => ({
|
3
|
+
getItemText(r, n) {
|
4
|
+
if (typeof r == "string" && !n) return r;
|
5
|
+
if (n) {
|
6
|
+
if (typeof n == "function") {
|
7
|
+
let f = n(r);
|
8
|
+
return typeof f != "string" && (f = JSON.stringify(f)), f;
|
9
|
+
} else if (typeof n == "string") {
|
10
|
+
const f = t(r, n);
|
11
|
+
return typeof f == "string" ? f : JSON.stringify(f);
|
12
|
+
}
|
13
|
+
}
|
14
|
+
return JSON.stringify(r);
|
15
|
+
}
|
16
|
+
});
|
4
17
|
export {
|
5
|
-
|
18
|
+
o as useItemText
|
6
19
|
};
|
package/dist/index289.js
CHANGED
@@ -1,6 +1,30 @@
|
|
1
|
-
|
2
|
-
return
|
3
|
-
}
|
1
|
+
function y(t, r) {
|
2
|
+
return t > r ? 1 : -1;
|
3
|
+
}
|
4
|
+
function c(t, r) {
|
5
|
+
var n = 5381;
|
6
|
+
if (typeof t == "object" && t !== null && (t.toString === Object.prototype.toString || t.toString === Array.prototype.toString)) {
|
7
|
+
r || (r = /* @__PURE__ */ new WeakSet());
|
8
|
+
for (var p = Object.keys(t).sort(y), i = 0; i < p.length; i++) {
|
9
|
+
var s = p[i], e = t[s];
|
10
|
+
if (n = 33 * n ^ c(s, r), typeof e == "object" && e !== null && (t.toString === Object.prototype.toString || t.toString === Array.prototype.toString)) {
|
11
|
+
if (r.has(e)) continue;
|
12
|
+
r.add(e);
|
13
|
+
}
|
14
|
+
n = 33 * n ^ c(e, r);
|
15
|
+
}
|
16
|
+
return 33 * n ^ c(t.constructor, r);
|
17
|
+
}
|
18
|
+
var o = typeof t;
|
19
|
+
try {
|
20
|
+
t instanceof Date ? o += t.getTime() : o += String(t);
|
21
|
+
} catch {
|
22
|
+
o += String(Object.assign({}, t));
|
23
|
+
}
|
24
|
+
for (var a = 0; a < o.length; a++) n = 33 * n ^ o.charCodeAt(a);
|
25
|
+
return n;
|
26
|
+
}
|
4
27
|
export {
|
5
|
-
|
28
|
+
c as hash,
|
29
|
+
y as sortNumbers
|
6
30
|
};
|
package/dist/index29.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent as D, computed as E, ref as h, onMounted as A, watch as x, createBlock as T, openBlock as q, normalizeClass as L, withCtx as u, createVNode as P, unref as v, createElementVNode as S, mergeProps as K, withModifiers as j, renderSlot as d } from "vue";
|
2
|
-
import { clamp as b } from "./
|
3
|
-
import z from "./
|
2
|
+
import { clamp as b } from "./index206.js";
|
3
|
+
import z from "./index212.js";
|
4
4
|
/* empty css */
|
5
|
-
import O from "./
|
5
|
+
import O from "./index214.js";
|
6
6
|
import { isNotNil as V } from "./index140.js";
|
7
7
|
const F = ["id", "aria-describedby", "aria-valuemax", "aria-valuemin", "aria-valuenow", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required"], W = /* @__PURE__ */ D({
|
8
8
|
__name: "BaseNumberInput",
|