bitboss-ui 2.1.93 → 2.1.94
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/BbTab/BbTab.vue.d.ts +16 -6
- package/dist/composables/useQuery.d.ts +15 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +133 -131
- package/dist/{index99.js → index100.js} +2 -2
- package/dist/{index101.js → index102.js} +2 -2
- package/dist/{index103.js → index104.js} +2 -2
- package/dist/index108.js +134 -168
- package/dist/index109.js +178 -0
- package/dist/index11.js +36 -38
- package/dist/{index110.js → index111.js} +2 -2
- package/dist/{index114.js → index115.js} +1 -1
- package/dist/{index116.js → index117.js} +2 -2
- package/dist/{index118.js → index119.js} +2 -2
- package/dist/index12.js +36 -179
- package/dist/index121.js +369 -0
- package/dist/{index122.js → index123.js} +15 -15
- package/dist/{index124.js → index125.js} +2 -2
- package/dist/{index126.js → index127.js} +2 -2
- package/dist/{index128.js → index129.js} +2 -2
- package/dist/index13.js +181 -124
- package/dist/{index130.js → index131.js} +2 -2
- package/dist/{index132.js → index133.js} +7 -7
- package/dist/{index134.js → index135.js} +1 -1
- package/dist/{index136.js → index137.js} +4 -4
- package/dist/index139.js +13 -11
- package/dist/index14.js +128 -0
- package/dist/index140.js +11 -2
- package/dist/index141.js +2 -419
- package/dist/index142.js +419 -9
- package/dist/index143.js +9 -25
- package/dist/index144.js +9 -2
- package/dist/index145.js +25 -5
- package/dist/index146.js +2 -6
- package/dist/index147.js +5 -5
- package/dist/index148.js +6 -3
- package/dist/index149.js +5 -3
- package/dist/index150.js +1 -1
- package/dist/index151.js +1 -1
- package/dist/index152.js +1 -1
- package/dist/index153.js +1 -1
- package/dist/index154.js +1 -1
- package/dist/index155.js +1 -1
- package/dist/index156.js +1 -1
- package/dist/index157.js +1 -1
- package/dist/index158.js +1 -1
- package/dist/index159.js +1 -1
- package/dist/{index15.js → index16.js} +8 -8
- package/dist/index160.js +1 -1
- package/dist/index161.js +1 -1
- package/dist/index162.js +1 -1
- package/dist/index163.js +1 -1
- package/dist/index164.js +1 -1
- package/dist/index165.js +1 -1
- package/dist/index166.js +1 -1
- package/dist/index167.js +1 -1
- package/dist/index168.js +1 -1
- package/dist/index169.js +1 -1
- package/dist/index170.js +1 -1
- package/dist/index171.js +1 -1
- package/dist/index172.js +1 -1
- package/dist/index173.js +1 -1
- package/dist/index174.js +1 -1
- package/dist/index175.js +1 -1
- package/dist/index176.js +1 -1
- package/dist/index177.js +1 -1
- package/dist/index178.js +1 -1
- package/dist/index179.js +3 -2
- package/dist/{index17.js → index18.js} +3 -3
- package/dist/index180.js +1 -1
- package/dist/index181.js +2 -3
- package/dist/index182.js +1 -1
- package/dist/index183.js +1 -1
- package/dist/index184.js +1 -1
- package/dist/index185.js +1 -1
- package/dist/index186.js +3 -2
- package/dist/index187.js +1 -1
- package/dist/index188.js +2 -3
- package/dist/index189.js +1 -1
- package/dist/index190.js +1 -1
- package/dist/index191.js +1 -1
- package/dist/index192.js +2 -2
- package/dist/index193.js +2 -2
- package/dist/index194.js +1 -1
- package/dist/index195.js +1 -1
- package/dist/index196.js +3 -2
- package/dist/index197.js +1 -1
- package/dist/index198.js +2 -3
- package/dist/index199.js +1 -1
- package/dist/{index19.js → index20.js} +9 -9
- package/dist/index200.js +1 -1
- package/dist/index201.js +1 -1
- package/dist/index202.js +1 -1
- package/dist/index203.js +1 -1
- package/dist/index204.js +1 -1
- package/dist/index205.js +1 -1
- package/dist/index206.js +1 -1
- package/dist/index207.js +1 -1
- package/dist/index208.js +1 -1
- package/dist/index209.js +1 -1
- package/dist/index210.js +1 -1
- package/dist/index211.js +1 -1
- package/dist/index212.js +5 -0
- package/dist/index213.js +3 -7
- package/dist/index215.js +6 -137
- package/dist/index216.js +2 -2
- package/dist/index217.js +137 -4
- package/dist/index218.js +2 -8
- package/dist/index219.js +4 -3
- package/dist/{index21.js → index22.js} +15 -15
- package/dist/index220.js +8 -13
- package/dist/index221.js +2 -20
- package/dist/index222.js +2 -201
- package/dist/index223.js +4 -0
- package/dist/index224.js +7 -135
- package/dist/index225.js +4 -0
- package/dist/index226.js +7 -7
- package/dist/index227.js +5 -2
- package/dist/index228.js +5 -2
- package/dist/index229.js +5 -188
- package/dist/index230.js +5 -3
- package/dist/index231.js +3 -13
- package/dist/index232.js +5 -12
- package/dist/index233.js +8 -3
- package/dist/index234.js +268 -4
- package/dist/index235.js +52 -10
- package/dist/index236.js +52 -3
- package/dist/index237.js +32 -4
- package/dist/index238.js +60 -3
- package/dist/index239.js +12 -8
- package/dist/{index23.js → index24.js} +14 -14
- package/dist/index240.js +51 -8
- package/dist/index241.js +17 -3
- package/dist/index242.js +105 -28
- package/dist/index244.js +100 -17
- package/dist/index246.js +3 -12
- package/dist/index247.js +2 -33
- package/dist/index248.js +3 -28
- package/dist/index249.js +12 -0
- package/dist/index250.js +2 -22
- package/dist/index251.js +4 -5
- package/dist/index252.js +5 -5
- package/dist/index253.js +4 -5
- package/dist/index254.js +9 -5
- package/dist/index255.js +29 -2
- package/dist/index256.js +16 -6
- package/dist/index257.js +12 -8
- package/dist/index258.js +52 -267
- package/dist/index259.js +12 -51
- package/dist/{index25.js → index26.js} +4 -4
- package/dist/index260.js +13 -52
- package/dist/index261.js +2 -32
- package/dist/index262.js +59 -52
- package/dist/index263.js +33 -86
- package/dist/index264.js +30 -0
- package/dist/index266.js +187 -33
- package/dist/index267.js +3 -9
- package/dist/index268.js +3 -9
- package/dist/index269.js +33 -23
- package/dist/index270.js +8 -6
- package/dist/index271.js +5 -16
- package/dist/index272.js +5 -53
- package/dist/index273.js +5 -2
- package/dist/index274.js +19 -6
- package/dist/index275.js +135 -7
- package/dist/index277.js +86 -2
- package/dist/index279.js +15 -3
- package/dist/{index27.js → index28.js} +2 -2
- package/dist/index280.js +7 -16
- package/dist/index281.js +23 -12
- package/dist/index282.js +22 -105
- package/dist/index284.js +4 -100
- package/dist/index285.js +203 -0
- package/dist/index287.js +33 -32
- package/dist/index288.js +7 -3
- package/dist/index289.js +17 -66
- package/dist/index290.js +12 -11
- package/dist/index291.js +229 -5
- package/dist/index292.js +3 -5
- package/dist/index293.js +11 -5
- package/dist/index294.js +6 -5
- package/dist/index295.js +16 -3
- package/dist/index296.js +7 -3
- package/dist/index298.js +5 -0
- package/dist/index299.js +280 -3
- package/dist/{index29.js → index30.js} +6 -6
- package/dist/index300.js +2 -5
- package/dist/index301.js +16 -4
- package/dist/index302.js +2 -3
- package/dist/index303.js +16 -17
- package/dist/index304.js +2 -28
- package/dist/index305.js +23 -276
- package/dist/index306.js +2 -2
- package/dist/index307.js +2 -16
- package/dist/index308.js +2 -2
- package/dist/index309.js +2 -16
- package/dist/index310.js +2 -2
- package/dist/index311.js +27 -26
- package/dist/index312.js +2 -2
- package/dist/index313.js +3 -2
- package/dist/index314.js +1 -1
- package/dist/index315.js +4 -2
- package/dist/index316.js +17 -2
- package/dist/index317.js +3 -2
- package/dist/index318.js +3 -2
- package/dist/index319.js +125 -719
- package/dist/{index31.js → index32.js} +2 -2
- package/dist/index320.js +2 -366
- package/dist/index321.js +14 -56
- package/dist/index322.js +2 -4
- package/dist/index323.js +19 -3
- package/dist/index324.js +2 -3
- package/dist/index325.js +3 -2
- package/dist/index326.js +3 -6
- package/dist/index327.js +4 -4
- package/dist/index328.js +1 -1
- package/dist/index329.js +3 -7
- package/dist/index330.js +5 -6
- package/dist/index331.js +6 -8
- package/dist/index332.js +2 -5
- package/dist/index333.js +58 -7
- package/dist/index334.js +58 -7
- package/dist/index335.js +719 -19
- package/dist/index336.js +366 -9
- package/dist/index337.js +54 -12
- package/dist/index338.js +6 -227
- package/dist/index339.js +18 -34
- package/dist/{index33.js → index34.js} +9 -9
- package/dist/index340.js +9 -6
- package/dist/index341.js +12 -126
- package/dist/index342.js +5 -398
- package/dist/index343.js +7 -58
- package/dist/index344.js +35 -58
- package/dist/index345.js +6 -125
- package/dist/index346.js +129 -2
- package/dist/index347.js +397 -14
- package/dist/index348.js +8 -2
- package/dist/index349.js +5 -18
- package/dist/index350.js +8 -2
- package/dist/index351.js +227 -21
- package/dist/index352.js +24 -0
- package/dist/index354.js +131 -44
- package/dist/index355.js +46 -92
- package/dist/index356.js +85 -512
- package/dist/index359.js +515 -45
- package/dist/{index35.js → index36.js} +5 -5
- package/dist/index360.js +52 -0
- package/dist/{index37.js → index38.js} +24 -24
- package/dist/{index39.js → index40.js} +8 -8
- package/dist/{index41.js → index42.js} +2 -2
- package/dist/{index43.js → index44.js} +9 -9
- package/dist/{index45.js → index46.js} +9 -9
- package/dist/{index47.js → index48.js} +4 -4
- package/dist/{index49.js → index50.js} +4 -4
- package/dist/{index51.js → index52.js} +2 -2
- package/dist/{index53.js → index54.js} +3 -3
- package/dist/{index55.js → index56.js} +2 -2
- package/dist/{index57.js → index58.js} +2 -2
- package/dist/{index59.js → index60.js} +1 -1
- package/dist/{index61.js → index62.js} +9 -9
- package/dist/{index63.js → index64.js} +2 -2
- package/dist/{index65.js → index66.js} +2 -2
- package/dist/{index67.js → index68.js} +1 -1
- package/dist/index7.js +2 -2
- package/dist/{index71.js → index72.js} +2 -2
- package/dist/{index73.js → index74.js} +3 -3
- package/dist/index76.js +17 -123
- package/dist/index77.js +127 -0
- package/dist/{index78.js → index79.js} +1 -1
- package/dist/{index80.js → index81.js} +10 -10
- package/dist/{index82.js → index83.js} +5 -5
- package/dist/{index84.js → index85.js} +3 -3
- package/dist/{index86.js → index87.js} +3 -3
- package/dist/index89.js +37 -125
- package/dist/index9.js +1 -1
- package/dist/index90.js +134 -0
- package/dist/{index91.js → index92.js} +4 -4
- package/dist/{index93.js → index94.js} +4 -4
- package/dist/{index95.js → index96.js} +7 -7
- package/dist/{index97.js → index98.js} +2 -2
- package/package.json +10 -2
- package/dist/index107.js +0 -144
- package/dist/index120.js +0 -373
- package/dist/index138.js +0 -15
- package/dist/index214.js +0 -4
- package/dist/index243.js +0 -18
- package/dist/index245.js +0 -53
- package/dist/index265.js +0 -17
- package/dist/index278.js +0 -4
- package/dist/index286.js +0 -231
- package/dist/index297.js +0 -9
- package/dist/index353.js +0 -136
- package/dist/index75.js +0 -21
- package/dist/index88.js +0 -46
- /package/dist/{index105.js → index106.js} +0 -0
- /package/dist/{index112.js → index113.js} +0 -0
- /package/dist/{index276.js → index283.js} +0 -0
- /package/dist/{index69.js → index70.js} +0 -0
package/dist/index286.js
DELETED
|
@@ -1,231 +0,0 @@
|
|
|
1
|
-
import { defineComponent as Z, useTemplateRef as $, computed as c, ref as w, watch as E, createElementBlock as r, openBlock as p, withModifiers as ee, normalizeStyle as h, normalizeClass as z, createElementVNode as v, renderSlot as m, createTextVNode as D, toDisplayString as g, unref as L, Fragment as te, renderList as oe } from "vue";
|
|
2
|
-
import { isNil as b } from "./index227.js";
|
|
3
|
-
import { useVirtualizer as ne } from "./index354.js";
|
|
4
|
-
import { isNotNil as le } from "./index144.js";
|
|
5
|
-
import { hash as N } from "./index241.js";
|
|
6
|
-
import { useLocale as ie } from "./index220.js";
|
|
7
|
-
const se = { class: "bb-listbox__outer-container scrollbar-border" }, ae = {
|
|
8
|
-
ref: "inner",
|
|
9
|
-
class: "bb-listbox__inner-container",
|
|
10
|
-
tabindex: "-1"
|
|
11
|
-
}, ue = {
|
|
12
|
-
key: 0,
|
|
13
|
-
class: "bb-listbox__loading"
|
|
14
|
-
}, re = {
|
|
15
|
-
key: 1,
|
|
16
|
-
class: "bb-listbox__no-data"
|
|
17
|
-
}, pe = ["aria-selected", "data-index"], de = { class: "autocomplete-option__label" }, he = /* @__PURE__ */ Z({
|
|
18
|
-
__name: "ListBox",
|
|
19
|
-
props: {
|
|
20
|
-
compact: { type: Boolean },
|
|
21
|
-
options: {},
|
|
22
|
-
open: { type: Boolean },
|
|
23
|
-
loading: { type: Boolean },
|
|
24
|
-
multiple: { type: Boolean },
|
|
25
|
-
transitionDuration: { default: 250 },
|
|
26
|
-
loadingText: {},
|
|
27
|
-
noDataText: {},
|
|
28
|
-
optionHeight: {}
|
|
29
|
-
},
|
|
30
|
-
emits: ["option:selected", "option:unselected"],
|
|
31
|
-
setup(V, { expose: R, emit: F }) {
|
|
32
|
-
const o = V, _ = F, { t: y } = ie(), u = $("inner"), O = $("listbox"), C = (e) => "option_" + JSON.stringify(e).replace(/\W/g, "_"), i = c(
|
|
33
|
-
() => o.options.map((e) => ({ ...e, id: C(e.value) }))
|
|
34
|
-
), x = c(() => o.optionHeight ? o.optionHeight : o.compact ? 32 : 40), d = ne({
|
|
35
|
-
get count() {
|
|
36
|
-
return o.options.length;
|
|
37
|
-
},
|
|
38
|
-
getScrollElement: () => u.value ? u.value : null,
|
|
39
|
-
estimateSize: () => x.value,
|
|
40
|
-
overscan: 5,
|
|
41
|
-
measureElement: () => x.value,
|
|
42
|
-
useAnimationFrameWithResizeObserver: !0
|
|
43
|
-
}), A = (e) => {
|
|
44
|
-
e && d.value.measureElement(e);
|
|
45
|
-
}, M = c(() => d.value.getVirtualItems()), P = c(() => d.value.getTotalSize()), n = w(null), s = c(
|
|
46
|
-
() => o.open && o.options.some((e) => !e.disabled)
|
|
47
|
-
), I = (e = 1) => {
|
|
48
|
-
const l = b(n.value) ? -1 : n.value;
|
|
49
|
-
let t = (l + e) % o.options.length;
|
|
50
|
-
for (; o.options[t].disabled && t !== l; )
|
|
51
|
-
t = I(e + 1);
|
|
52
|
-
return t;
|
|
53
|
-
}, W = () => {
|
|
54
|
-
if (!s.value) return;
|
|
55
|
-
const e = I();
|
|
56
|
-
n.value = e, a();
|
|
57
|
-
}, S = (e = 1) => {
|
|
58
|
-
const l = b(n.value) ? 0 : n.value;
|
|
59
|
-
let t = (l - e + o.options.length) % o.options.length;
|
|
60
|
-
for (; o.options[t].disabled && t !== l; )
|
|
61
|
-
t = S(e + 1);
|
|
62
|
-
return t;
|
|
63
|
-
}, J = async () => {
|
|
64
|
-
if (!s.value) return;
|
|
65
|
-
const e = S();
|
|
66
|
-
n.value = e, a();
|
|
67
|
-
}, Y = () => {
|
|
68
|
-
if (!s.value) return;
|
|
69
|
-
let e = 0;
|
|
70
|
-
for (; o.options[e].disabled; )
|
|
71
|
-
e++;
|
|
72
|
-
n.value = e, a();
|
|
73
|
-
}, j = () => {
|
|
74
|
-
if (!s.value) return;
|
|
75
|
-
let e = o.options.length - 1;
|
|
76
|
-
for (; o.options[e].disabled && e !== 0; )
|
|
77
|
-
e--;
|
|
78
|
-
n.value = e, a();
|
|
79
|
-
}, q = () => {
|
|
80
|
-
if (!s.value) return;
|
|
81
|
-
let e = 0;
|
|
82
|
-
for (; o.options[e] && !o.options[e].selected && o.options.length !== e; )
|
|
83
|
-
e++;
|
|
84
|
-
n.value = e % o.options.length, a();
|
|
85
|
-
}, G = () => {
|
|
86
|
-
if (!s.value) return;
|
|
87
|
-
let e = o.options.length - 1;
|
|
88
|
-
for (; o.options[e].selected && e > 0; )
|
|
89
|
-
e--;
|
|
90
|
-
n.value = e === -1 ? o.options.length - 1 : e, a();
|
|
91
|
-
}, K = (e) => {
|
|
92
|
-
if (!s.value) return;
|
|
93
|
-
const l = o.options.findIndex(
|
|
94
|
-
(t) => t.valueHash === e
|
|
95
|
-
);
|
|
96
|
-
l >= 0 && (n.value = l), a();
|
|
97
|
-
}, k = () => {
|
|
98
|
-
n.value = null;
|
|
99
|
-
}, a = () => {
|
|
100
|
-
u.value && le(n.value) && d.value.scrollToIndex(n.value, {
|
|
101
|
-
align: "center",
|
|
102
|
-
behavior: "smooth"
|
|
103
|
-
});
|
|
104
|
-
}, H = () => {
|
|
105
|
-
if (b(n.value) || !o.open) return;
|
|
106
|
-
const e = o.options[n.value];
|
|
107
|
-
e.selected ? _("option:unselected", e) : _("option:selected", e);
|
|
108
|
-
}, T = w(0), B = () => {
|
|
109
|
-
u.value && (T.value = u.value.scrollHeight);
|
|
110
|
-
}, Q = (e) => !e.disabled, U = (e) => {
|
|
111
|
-
if (e.preventDefault(), u.value && e.target && e.target instanceof HTMLElement && O.value) {
|
|
112
|
-
let l = e.target, t = l.dataset.index;
|
|
113
|
-
for (; b(t) && l.parentElement; )
|
|
114
|
-
l = l.parentElement, t = l.dataset.index;
|
|
115
|
-
if (t) {
|
|
116
|
-
const f = o.options[+t];
|
|
117
|
-
f && Q(f) && (n.value = +t, H());
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}, X = () => b(n.value) ? void 0 : o.options[n.value];
|
|
121
|
-
return E(
|
|
122
|
-
() => o.open,
|
|
123
|
-
() => {
|
|
124
|
-
B();
|
|
125
|
-
},
|
|
126
|
-
{ flush: "post" }
|
|
127
|
-
), E(
|
|
128
|
-
() => o.options,
|
|
129
|
-
(e, l) => {
|
|
130
|
-
N(e.map((t) => t.valueHash)) !== N(l.map((t) => t.valueHash)) && (d.value.calculateRange(), B(), k());
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
flush: "post"
|
|
134
|
-
}
|
|
135
|
-
), R({
|
|
136
|
-
focusNext: W,
|
|
137
|
-
focusPrevious: J,
|
|
138
|
-
focusFirst: Y,
|
|
139
|
-
focusFirstSelected: q,
|
|
140
|
-
focusLast: j,
|
|
141
|
-
focusLastSelected: G,
|
|
142
|
-
blur: k,
|
|
143
|
-
confirmOption: H,
|
|
144
|
-
focusByHash: K,
|
|
145
|
-
getHighlighted: X
|
|
146
|
-
}), (e, l) => (p(), r("span", {
|
|
147
|
-
class: z(["bb-listbox", {
|
|
148
|
-
"bb-listbox--compact": e.compact,
|
|
149
|
-
"bb-listbox--loading": e.loading,
|
|
150
|
-
"bb-listbox--multiple": e.multiple,
|
|
151
|
-
"bb-listbox--no-data": !i.value.length,
|
|
152
|
-
"bb-listbox--open": e.open
|
|
153
|
-
}]),
|
|
154
|
-
style: h({
|
|
155
|
-
"--transition-duration": `${e.transitionDuration}ms`,
|
|
156
|
-
"--overlay-min-height": `${T.value}px`,
|
|
157
|
-
"--option-height": `${x.value}px`
|
|
158
|
-
}),
|
|
159
|
-
onClick: ee(U, ["stop"])
|
|
160
|
-
}, [
|
|
161
|
-
v("span", se, [
|
|
162
|
-
v("span", ae, [
|
|
163
|
-
m(e.$slots, "options:prepend"),
|
|
164
|
-
e.loading && !e.options.length ? (p(), r("span", ue, [
|
|
165
|
-
m(e.$slots, "loading", {}, () => [
|
|
166
|
-
D(g(e.loadingText || L(y)("common.loadingText").value), 1)
|
|
167
|
-
])
|
|
168
|
-
])) : e.options.length ? (p(), r("span", {
|
|
169
|
-
key: 2,
|
|
170
|
-
role: "listbox",
|
|
171
|
-
ref: "listbox",
|
|
172
|
-
style: h({
|
|
173
|
-
height: `${P.value}px`
|
|
174
|
-
}),
|
|
175
|
-
tabindex: "-1"
|
|
176
|
-
}, [
|
|
177
|
-
(p(!0), r(te, null, oe(M.value, (t, f) => (p(), r("span", {
|
|
178
|
-
key: i.value[t.index].value,
|
|
179
|
-
ref_for: !0,
|
|
180
|
-
ref: A,
|
|
181
|
-
"aria-selected": n.value === f ? !0 : void 0,
|
|
182
|
-
class: z({
|
|
183
|
-
"bb-listbox__option autocomplete-option": !0,
|
|
184
|
-
"autocomplete-option--focused": n.value === t.index,
|
|
185
|
-
"autocomplete-option--selected": i.value[t.index].selected,
|
|
186
|
-
"autocomplete-option--disabled": i.value[t.index].disabled
|
|
187
|
-
}),
|
|
188
|
-
"data-index": t.index,
|
|
189
|
-
role: "option",
|
|
190
|
-
style: h({
|
|
191
|
-
transform: `translateY(${t.start}px)`
|
|
192
|
-
})
|
|
193
|
-
}, [
|
|
194
|
-
m(e.$slots, "option", {
|
|
195
|
-
disabled: !!i.value[t.index].disabled,
|
|
196
|
-
focused: n.value === t.index,
|
|
197
|
-
index: t.index,
|
|
198
|
-
item: i.value[t.index].item,
|
|
199
|
-
selected: !!i.value[t.index].selected,
|
|
200
|
-
text: i.value[t.index].text,
|
|
201
|
-
value: i.value[t.index].value
|
|
202
|
-
}, () => [
|
|
203
|
-
l[0] || (l[0] = v("svg", {
|
|
204
|
-
class: "autocomplete-option__checkbox",
|
|
205
|
-
role: "presentation",
|
|
206
|
-
viewBox: "276.411 158.834 114.971 114.97"
|
|
207
|
-
}, [
|
|
208
|
-
v("path", {
|
|
209
|
-
d: "M 297.574 224.786 L 318.309 243.134 L 371.568 189.232",
|
|
210
|
-
fill: "none",
|
|
211
|
-
"stroke-linecap": "round",
|
|
212
|
-
"stroke-width": "14px"
|
|
213
|
-
})
|
|
214
|
-
], -1)),
|
|
215
|
-
v("span", de, g(i.value[t.index].text), 1)
|
|
216
|
-
])
|
|
217
|
-
], 14, pe))), 128))
|
|
218
|
-
], 4)) : (p(), r("span", re, [
|
|
219
|
-
m(e.$slots, "no-data", {}, () => [
|
|
220
|
-
D(g(e.noDataText || L(y)("common.noDataText").value), 1)
|
|
221
|
-
])
|
|
222
|
-
])),
|
|
223
|
-
m(e.$slots, "options:append")
|
|
224
|
-
], 512)
|
|
225
|
-
])
|
|
226
|
-
], 6));
|
|
227
|
-
}
|
|
228
|
-
});
|
|
229
|
-
export {
|
|
230
|
-
he as default
|
|
231
|
-
};
|
package/dist/index297.js
DELETED
package/dist/index353.js
DELETED
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
function c() {
|
|
2
|
-
return typeof window < "u";
|
|
3
|
-
}
|
|
4
|
-
function u(t) {
|
|
5
|
-
return p(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
6
|
-
}
|
|
7
|
-
function i(t) {
|
|
8
|
-
var e;
|
|
9
|
-
return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
10
|
-
}
|
|
11
|
-
function N(t) {
|
|
12
|
-
var e;
|
|
13
|
-
return (e = (p(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
14
|
-
}
|
|
15
|
-
function p(t) {
|
|
16
|
-
return c() ? t instanceof Node || t instanceof i(t).Node : !1;
|
|
17
|
-
}
|
|
18
|
-
function m(t) {
|
|
19
|
-
return c() ? t instanceof Element || t instanceof i(t).Element : !1;
|
|
20
|
-
}
|
|
21
|
-
function w(t) {
|
|
22
|
-
return c() ? t instanceof HTMLElement || t instanceof i(t).HTMLElement : !1;
|
|
23
|
-
}
|
|
24
|
-
function f(t) {
|
|
25
|
-
return !c() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof i(t).ShadowRoot;
|
|
26
|
-
}
|
|
27
|
-
const E = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
28
|
-
function y(t) {
|
|
29
|
-
const {
|
|
30
|
-
overflow: e,
|
|
31
|
-
overflowX: n,
|
|
32
|
-
overflowY: o,
|
|
33
|
-
display: r
|
|
34
|
-
} = S(t);
|
|
35
|
-
return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !E.has(r);
|
|
36
|
-
}
|
|
37
|
-
const T = /* @__PURE__ */ new Set(["table", "td", "th"]);
|
|
38
|
-
function A(t) {
|
|
39
|
-
return T.has(u(t));
|
|
40
|
-
}
|
|
41
|
-
const v = [":popover-open", ":modal"];
|
|
42
|
-
function L(t) {
|
|
43
|
-
return v.some((e) => {
|
|
44
|
-
try {
|
|
45
|
-
return t.matches(e);
|
|
46
|
-
} catch {
|
|
47
|
-
return !1;
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
const D = ["transform", "translate", "scale", "rotate", "perspective"], C = ["transform", "translate", "scale", "rotate", "perspective", "filter"], k = ["paint", "layout", "strict", "content"];
|
|
52
|
-
function V(t) {
|
|
53
|
-
const e = O(), n = m(t) ? S(t) : t;
|
|
54
|
-
return D.some((o) => n[o] ? n[o] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || C.some((o) => (n.willChange || "").includes(o)) || k.some((o) => (n.contain || "").includes(o));
|
|
55
|
-
}
|
|
56
|
-
function B(t) {
|
|
57
|
-
let e = s(t);
|
|
58
|
-
for (; w(e) && !h(e); ) {
|
|
59
|
-
if (V(e))
|
|
60
|
-
return e;
|
|
61
|
-
if (L(e))
|
|
62
|
-
return null;
|
|
63
|
-
e = s(e);
|
|
64
|
-
}
|
|
65
|
-
return null;
|
|
66
|
-
}
|
|
67
|
-
function O() {
|
|
68
|
-
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
69
|
-
}
|
|
70
|
-
const R = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
71
|
-
function h(t) {
|
|
72
|
-
return R.has(u(t));
|
|
73
|
-
}
|
|
74
|
-
function S(t) {
|
|
75
|
-
return i(t).getComputedStyle(t);
|
|
76
|
-
}
|
|
77
|
-
function F(t) {
|
|
78
|
-
return m(t) ? {
|
|
79
|
-
scrollLeft: t.scrollLeft,
|
|
80
|
-
scrollTop: t.scrollTop
|
|
81
|
-
} : {
|
|
82
|
-
scrollLeft: t.scrollX,
|
|
83
|
-
scrollTop: t.scrollY
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
function s(t) {
|
|
87
|
-
if (u(t) === "html")
|
|
88
|
-
return t;
|
|
89
|
-
const e = (
|
|
90
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
|
91
|
-
t.assignedSlot || // DOM Element detected.
|
|
92
|
-
t.parentNode || // ShadowRoot detected.
|
|
93
|
-
f(t) && t.host || // Fallback.
|
|
94
|
-
N(t)
|
|
95
|
-
);
|
|
96
|
-
return f(e) ? e.host : e;
|
|
97
|
-
}
|
|
98
|
-
function b(t) {
|
|
99
|
-
const e = s(t);
|
|
100
|
-
return h(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : w(e) && y(e) ? e : b(e);
|
|
101
|
-
}
|
|
102
|
-
function d(t, e, n) {
|
|
103
|
-
var o;
|
|
104
|
-
e === void 0 && (e = []), n === void 0 && (n = !0);
|
|
105
|
-
const r = b(t), g = r === ((o = t.ownerDocument) == null ? void 0 : o.body), l = i(r);
|
|
106
|
-
if (g) {
|
|
107
|
-
const a = _(l);
|
|
108
|
-
return e.concat(l, l.visualViewport || [], y(r) ? r : [], a && n ? d(a) : []);
|
|
109
|
-
}
|
|
110
|
-
return e.concat(r, d(r, [], n));
|
|
111
|
-
}
|
|
112
|
-
function _(t) {
|
|
113
|
-
return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
|
|
114
|
-
}
|
|
115
|
-
export {
|
|
116
|
-
S as getComputedStyle,
|
|
117
|
-
B as getContainingBlock,
|
|
118
|
-
N as getDocumentElement,
|
|
119
|
-
_ as getFrameElement,
|
|
120
|
-
b as getNearestOverflowAncestor,
|
|
121
|
-
u as getNodeName,
|
|
122
|
-
F as getNodeScroll,
|
|
123
|
-
d as getOverflowAncestors,
|
|
124
|
-
s as getParentNode,
|
|
125
|
-
i as getWindow,
|
|
126
|
-
V as isContainingBlock,
|
|
127
|
-
m as isElement,
|
|
128
|
-
w as isHTMLElement,
|
|
129
|
-
h as isLastTraversableNode,
|
|
130
|
-
p as isNode,
|
|
131
|
-
y as isOverflowElement,
|
|
132
|
-
f as isShadowRoot,
|
|
133
|
-
A as isTableElement,
|
|
134
|
-
L as isTopLayer,
|
|
135
|
-
O as isWebKit
|
|
136
|
-
};
|
package/dist/index75.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { defineComponent as n, createBlock as s, createCommentVNode as c, unref as a, openBlock as f, Teleport as m, renderSlot as p } from "vue";
|
|
2
|
-
import { confirmState as l, processMessage as e } from "./index6.js";
|
|
3
|
-
const b = /* @__PURE__ */ n({
|
|
4
|
-
__name: "BbConfirmPortal",
|
|
5
|
-
setup(u) {
|
|
6
|
-
const o = () => e(!0), r = () => e(!1);
|
|
7
|
-
return (t, _) => a(l).current ? (f(), s(m, {
|
|
8
|
-
key: 0,
|
|
9
|
-
to: ".bb-confirm__teleport",
|
|
10
|
-
defer: ""
|
|
11
|
-
}, [
|
|
12
|
-
p(t.$slots, "default", {
|
|
13
|
-
yes: o,
|
|
14
|
-
no: r
|
|
15
|
-
})
|
|
16
|
-
])) : c("", !0);
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
export {
|
|
20
|
-
b as default
|
|
21
|
-
};
|
package/dist/index88.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, createBlock as g, openBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
|
|
2
|
-
import { throttle as c } from "./index288.js";
|
|
3
|
-
const M = /* @__PURE__ */ h({
|
|
4
|
-
__name: "BbIntersection",
|
|
5
|
-
props: {
|
|
6
|
-
debounceTime: { default: 0 },
|
|
7
|
-
options: { default: () => ({
|
|
8
|
-
root: null,
|
|
9
|
-
threshold: [0, 0.2, 0.4, 0.6, 0.8, 1]
|
|
10
|
-
}) },
|
|
11
|
-
tag: { default: "div" }
|
|
12
|
-
},
|
|
13
|
-
emits: ["shown", "hidden", "intersected"],
|
|
14
|
-
setup(u, { emit: d }) {
|
|
15
|
-
const r = u, i = d, n = t(null), l = t(null), o = t(!1), s = t(!0), a = t(0);
|
|
16
|
-
m(() => {
|
|
17
|
-
n.value = new IntersectionObserver((e) => {
|
|
18
|
-
f(e[0]);
|
|
19
|
-
}, r.options), l.value && n.value.observe(l.value);
|
|
20
|
-
}), p(() => {
|
|
21
|
-
n.value && n.value.disconnect();
|
|
22
|
-
});
|
|
23
|
-
const f = c((e) => {
|
|
24
|
-
e.isIntersecting ? (a.value = Math.trunc(e.intersectionRatio * 100), e.intersectionRatio === 1 ? (o.value = !0, s.value = !1, i("shown")) : (o.value = !1, s.value = !1, v(Math.trunc(e.intersectionRatio * 100)))) : (o.value = !1, s.value = !0, i("hidden"));
|
|
25
|
-
}), v = c((e) => {
|
|
26
|
-
i("intersected", e);
|
|
27
|
-
}, r.debounceTime);
|
|
28
|
-
return (e, B) => (b(), g(w(e.tag), {
|
|
29
|
-
ref_key: "infinitescrolltrigger",
|
|
30
|
-
ref: l,
|
|
31
|
-
class: "bb-intersection"
|
|
32
|
-
}, {
|
|
33
|
-
default: _(() => [
|
|
34
|
-
I(e.$slots, "default", {
|
|
35
|
-
hidden: s.value,
|
|
36
|
-
percentage: a.value,
|
|
37
|
-
shown: o.value
|
|
38
|
-
})
|
|
39
|
-
]),
|
|
40
|
-
_: 3
|
|
41
|
-
}, 512));
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
export {
|
|
45
|
-
M as default
|
|
46
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|