bitboss-ui 2.1.130 → 2.1.131
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/ai/BbTable.md +33 -82
- package/dist/index.css +1 -1
- package/dist/index109.js +9 -9
- package/dist/index110.js +18 -18
- package/dist/index118.js +1 -1
- package/dist/index124.js +3 -3
- package/dist/index126.js +310 -323
- package/dist/index134.js +1 -1
- package/dist/index136.js +4 -4
- package/dist/index138.js +1 -1
- package/dist/index14.js +1 -1
- package/dist/index142.js +2 -2
- package/dist/index146.js +1 -1
- package/dist/index148.js +2 -2
- package/dist/index150.js +1 -1
- package/dist/index16.js +3 -3
- package/dist/index18.js +3 -3
- package/dist/index20.js +9 -9
- package/dist/index22.js +14 -14
- package/dist/index224.js +2 -138
- package/dist/index225.js +138 -2
- package/dist/index226.js +2 -2
- package/dist/index227.js +1 -1
- package/dist/index228.js +1 -1
- package/dist/index229.js +3 -32
- package/dist/index230.js +12 -27
- package/dist/index231.js +375 -0
- package/dist/index233.js +160 -2
- package/dist/index235.js +25 -13
- package/dist/index236.js +2 -86
- package/dist/index237.js +4 -0
- package/dist/index238.js +2 -30
- package/dist/index239.js +6 -17
- package/dist/index24.js +10 -10
- package/dist/index240.js +2 -17
- package/dist/index241.js +7 -51
- package/dist/index242.js +3 -18
- package/dist/index243.js +34 -3
- package/dist/index244.js +5 -12
- package/dist/index245.js +4 -4
- package/dist/index246.js +4 -4
- package/dist/index247.js +4 -4
- package/dist/index248.js +4 -4
- package/dist/index249.js +5 -5
- package/dist/index250.js +3 -5
- package/dist/index251.js +8 -3
- package/dist/index252.js +3 -8
- package/dist/index253.js +16 -158
- package/dist/index254.js +14 -0
- package/dist/index255.js +51 -5
- package/dist/index256.js +18 -2
- package/dist/index257.js +12 -6
- package/dist/index258.js +17 -268
- package/dist/index259.js +30 -52
- package/dist/index26.js +3 -3
- package/dist/index260.js +18 -52
- package/dist/index261.js +4 -32
- package/dist/index262.js +100 -54
- package/dist/index264.js +94 -367
- package/dist/index266.js +107 -4
- package/dist/index267.js +12 -6
- package/dist/index268.js +11 -2
- package/dist/index269.js +9 -12
- package/dist/index270.js +2 -12
- package/dist/index271.js +3 -9
- package/dist/index272.js +86 -23
- package/dist/index274.js +9 -3
- package/dist/index275.js +23 -11
- package/dist/index276.js +22 -33
- package/dist/index277.js +13 -3
- package/dist/index278.js +7 -25
- package/dist/index279.js +8 -3
- package/dist/index28.js +1 -1
- package/dist/index280.js +5 -20
- package/dist/index281.js +2 -9
- package/dist/index282.js +186 -42
- package/dist/index283.js +3 -53
- package/dist/index284.js +32 -17
- package/dist/index285.js +28 -12
- package/dist/index287.js +11 -0
- package/dist/index288.js +44 -100
- package/dist/index289.js +55 -0
- package/dist/index290.js +2 -107
- package/dist/index291.js +5 -9
- package/dist/index292.js +6 -6
- package/dist/index293.js +266 -14
- package/dist/index294.js +52 -5
- package/dist/index295.js +52 -188
- package/dist/index296.js +32 -3
- package/dist/index297.js +59 -20
- package/dist/index298.js +3 -6
- package/dist/index299.js +20 -66
- package/dist/index30.js +3 -3
- package/dist/index300.js +67 -3
- package/dist/index301.js +6 -10
- package/dist/index302.js +4 -3
- package/dist/index303.js +20 -2
- package/dist/index304.js +6 -7
- package/dist/index305.js +16 -7
- package/dist/index306.js +4 -3
- package/dist/index307.js +7 -17
- package/dist/index308.js +3 -28
- package/dist/index309.js +4 -4
- package/dist/index310.js +2 -7
- package/dist/index312.js +6 -3
- package/dist/index313.js +5 -0
- package/dist/index314.js +280 -7
- package/dist/index315.js +2 -3
- package/dist/index316.js +125 -3
- package/dist/index317.js +2 -3
- package/dist/index318.js +13 -278
- package/dist/index319.js +2 -2
- package/dist/index32.js +2 -2
- package/dist/index324.js +17 -25
- package/dist/index326.js +3 -2
- package/dist/index327.js +3 -2
- package/dist/index328.js +17 -2
- package/dist/index329.js +28 -2
- package/dist/index330.js +3 -2
- package/dist/index331.js +3 -125
- package/dist/index332.js +2 -2
- package/dist/index333.js +4 -15
- package/dist/index334.js +5 -2
- package/dist/index335.js +25 -17
- package/dist/index337.js +2 -3
- package/dist/index338.js +2 -3
- package/dist/index339.js +1 -1
- package/dist/index34.js +8 -8
- package/dist/index340.js +2 -4
- package/dist/index341.js +2 -719
- package/dist/index342.js +2 -366
- package/dist/index343.js +719 -57
- package/dist/index344.js +366 -6
- package/dist/index345.js +57 -2
- package/dist/index348.js +221 -86
- package/dist/index349.js +6 -5
- package/dist/index350.js +34 -6
- package/dist/index351.js +128 -17
- package/dist/index352.js +397 -7
- package/dist/index353.js +90 -12
- package/dist/index354.js +200 -5
- package/dist/index355.js +259 -7
- package/dist/index356.js +6 -34
- package/dist/index357.js +17 -128
- package/dist/index358.js +7 -397
- package/dist/index359.js +14 -199
- package/dist/index36.js +4 -4
- package/dist/index360.js +5 -259
- package/dist/index361.js +7 -22
- package/dist/index362.js +136 -0
- package/dist/index363.js +21 -133
- package/dist/index365.js +1 -1
- package/dist/index366.js +2 -228
- package/dist/index370.js +1 -1
- package/dist/index38.js +21 -21
- package/dist/index40.js +7 -7
- package/dist/index42.js +2 -2
- package/dist/index44.js +8 -8
- package/dist/index46.js +6 -6
- package/dist/index50.js +2 -2
- package/dist/index54.js +1 -1
- package/dist/index56.js +1 -1
- package/dist/index58.js +2 -2
- package/dist/index60.js +2 -2
- package/dist/index62.js +5 -5
- package/dist/index68.js +1 -1
- package/dist/index74.js +4 -4
- package/dist/index82.js +6 -6
- package/dist/index84.js +1 -1
- package/dist/index86.js +2 -2
- package/dist/index88.js +3 -3
- package/dist/index90.js +1 -1
- package/dist/index93.js +3 -3
- package/dist/index95.js +2 -2
- package/dist/index97.js +5 -5
- package/dist/index99.js +1 -1
- package/package.json +1 -1
- package/dist/index232.js +0 -4
- package/dist/index234.js +0 -4
- package/dist/index263.js +0 -6
- package/dist/index273.js +0 -25
- package/dist/index286.js +0 -108
- package/dist/index311.js +0 -4
- package/dist/index364.js +0 -4
package/dist/index273.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
const i = (t) => {
|
|
2
|
-
const n = t.toString().replace(/\.0+$/, "").replace(/\.$/, "");
|
|
3
|
-
return parseFloat(n) || 0;
|
|
4
|
-
};
|
|
5
|
-
function s(t) {
|
|
6
|
-
if (typeof t == "number")
|
|
7
|
-
return {
|
|
8
|
-
value: i(t),
|
|
9
|
-
unit: "px"
|
|
10
|
-
};
|
|
11
|
-
if (typeof t == "string") {
|
|
12
|
-
const r = /^(-?\d*\.?\d+)([a-zA-Z%]*)?$/, e = t.match(r);
|
|
13
|
-
if (e) {
|
|
14
|
-
const [, n, o = "px"] = e, a = parseFloat(n);
|
|
15
|
-
return {
|
|
16
|
-
value: i(a),
|
|
17
|
-
unit: o
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
throw new Error(`Invalid width: ${t}`);
|
|
22
|
-
}
|
|
23
|
-
export {
|
|
24
|
-
s as parseWidthString
|
|
25
|
-
};
|
package/dist/index286.js
DELETED
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { defineComponent as y, ref as F, computed as H, watch as N, createElementBlock as L, openBlock as p, Fragment as S, renderList as V, createBlock as A, withModifiers as O, normalizeClass as P, withCtx as $, createTextVNode as z, toDisplayString as D } from "vue";
|
|
2
|
-
import { hash as d } from "./index243.js";
|
|
3
|
-
import { isNil as l } from "./index268.js";
|
|
4
|
-
import E from "./index68.js";
|
|
5
|
-
/* empty css */
|
|
6
|
-
const K = /* @__PURE__ */ y({
|
|
7
|
-
__name: "ChipsBox",
|
|
8
|
-
props: {
|
|
9
|
-
options: {}
|
|
10
|
-
},
|
|
11
|
-
emits: ["option:unselected"],
|
|
12
|
-
setup(f, { expose: v, emit: h }) {
|
|
13
|
-
const t = f, u = h, n = F(null), i = H(() => t.options.some((e) => !e.disabled)), a = (e = 1) => {
|
|
14
|
-
const s = l(n.value) ? -1 : n.value;
|
|
15
|
-
let o = (s + e) % t.options.length;
|
|
16
|
-
for (; t.options[o].disabled && o !== s; )
|
|
17
|
-
o = a(e + 1);
|
|
18
|
-
return o;
|
|
19
|
-
}, x = () => {
|
|
20
|
-
if (!i.value) return;
|
|
21
|
-
const e = a();
|
|
22
|
-
n.value = e;
|
|
23
|
-
}, c = (e = 1) => {
|
|
24
|
-
const s = l(n.value) ? 0 : n.value;
|
|
25
|
-
let o = (s - e + t.options.length) % t.options.length;
|
|
26
|
-
for (; t.options[o].disabled && o !== s; )
|
|
27
|
-
o = c(e + 1);
|
|
28
|
-
return o;
|
|
29
|
-
}, m = async () => {
|
|
30
|
-
if (!i.value) return;
|
|
31
|
-
const e = c();
|
|
32
|
-
n.value = e;
|
|
33
|
-
}, w = () => {
|
|
34
|
-
if (!i.value) return;
|
|
35
|
-
let e = 0;
|
|
36
|
-
for (; t.options[e].disabled; )
|
|
37
|
-
e++;
|
|
38
|
-
n.value = e;
|
|
39
|
-
}, b = () => {
|
|
40
|
-
if (!i.value) return;
|
|
41
|
-
let e = t.options.length - 1;
|
|
42
|
-
for (; t.options[e].disabled && e !== 0; )
|
|
43
|
-
e--;
|
|
44
|
-
n.value = e;
|
|
45
|
-
}, I = () => {
|
|
46
|
-
if (!i.value) return;
|
|
47
|
-
let e = 0;
|
|
48
|
-
for (; !t.options[e].selected && t.options.length !== e; )
|
|
49
|
-
e++;
|
|
50
|
-
n.value = e;
|
|
51
|
-
}, g = () => {
|
|
52
|
-
if (!i.value) return;
|
|
53
|
-
let e = t.options.length - 1;
|
|
54
|
-
for (; t.options[e].selected && e !== 0; )
|
|
55
|
-
e--;
|
|
56
|
-
n.value = e;
|
|
57
|
-
}, _ = (e) => {
|
|
58
|
-
if (!i.value) return;
|
|
59
|
-
const s = t.options.findIndex(
|
|
60
|
-
(o) => o.valueHash === e
|
|
61
|
-
);
|
|
62
|
-
s >= 0 && (n.value = s);
|
|
63
|
-
}, r = () => {
|
|
64
|
-
n.value = null;
|
|
65
|
-
}, k = () => {
|
|
66
|
-
if (l(n.value)) return;
|
|
67
|
-
const e = t.options[n.value];
|
|
68
|
-
e.selected && u("option:unselected", e);
|
|
69
|
-
}, C = () => l(n.value) ? void 0 : t.options[n.value];
|
|
70
|
-
return N(
|
|
71
|
-
() => t.options,
|
|
72
|
-
(e, s) => {
|
|
73
|
-
d(e) !== d(s) && r();
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
flush: "post"
|
|
77
|
-
}
|
|
78
|
-
), v({
|
|
79
|
-
focusNext: x,
|
|
80
|
-
focusPrevious: m,
|
|
81
|
-
focusFirst: w,
|
|
82
|
-
focusFirstSelected: I,
|
|
83
|
-
focusLast: b,
|
|
84
|
-
focusLastSelected: g,
|
|
85
|
-
blur: r,
|
|
86
|
-
confirmOption: k,
|
|
87
|
-
focusByHash: _,
|
|
88
|
-
getHighlighted: C
|
|
89
|
-
}), (e, s) => (p(!0), L(S, null, V(e.options, (o, B) => (p(), A(E, {
|
|
90
|
-
key: o.valueHash,
|
|
91
|
-
class: P({
|
|
92
|
-
"bb-chipsbox-item": !0,
|
|
93
|
-
"bb-chipsbox-item--focused": B === n.value
|
|
94
|
-
}),
|
|
95
|
-
clearable: !0,
|
|
96
|
-
text: o.text,
|
|
97
|
-
"onClick:clear": O((M) => u("option:unselected", o), ["stop"])
|
|
98
|
-
}, {
|
|
99
|
-
default: $(() => [
|
|
100
|
-
z(D(o.text), 1)
|
|
101
|
-
]),
|
|
102
|
-
_: 2
|
|
103
|
-
}, 1032, ["class", "text", "onClick:clear"]))), 128));
|
|
104
|
-
}
|
|
105
|
-
});
|
|
106
|
-
export {
|
|
107
|
-
K as default
|
|
108
|
-
};
|
package/dist/index311.js
DELETED
package/dist/index364.js
DELETED