abl-ui 0.3.17 → 0.3.19
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/lib/abl-ui.es.js +97 -93
- package/lib/abl-ui.umd.js +2 -2
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/abl-ui.es.js
CHANGED
|
@@ -1361,7 +1361,7 @@ const Ta = (e) => ({
|
|
|
1361
1361
|
switch (g) {
|
|
1362
1362
|
case "bestFit": {
|
|
1363
1363
|
var P;
|
|
1364
|
-
const K = (P = D.map((G) => [G.placement, G.overflows.filter((V) => V > 0).reduce((V,
|
|
1364
|
+
const K = (P = D.map((G) => [G.placement, G.overflows.filter((V) => V > 0).reduce((V, O) => V + O, 0)]).sort((G, V) => G[1] - V[1])[0]) == null ? void 0 : P[0];
|
|
1365
1365
|
K && (Y = K);
|
|
1366
1366
|
break;
|
|
1367
1367
|
}
|
|
@@ -2824,11 +2824,11 @@ const Ul = /* @__PURE__ */ r("div", {
|
|
|
2824
2824
|
console.log("e====", W);
|
|
2825
2825
|
const P = W.target, { top: j, left: ee, right: Y, bottom: K } = P.getBoundingClientRect(), G = document.documentElement.clientWidth, V = document.documentElement.clientHeight;
|
|
2826
2826
|
d.value = W.clientX, u.value = W.clientY;
|
|
2827
|
-
const
|
|
2828
|
-
document.onmousemove = (
|
|
2829
|
-
v.value =
|
|
2830
|
-
}, document.onmouseup = (
|
|
2831
|
-
v.value >
|
|
2827
|
+
const O = v.value, b = c.value;
|
|
2828
|
+
document.onmousemove = (N) => {
|
|
2829
|
+
v.value = O + N.clientX - d.value, c.value = b + N.clientY - u.value;
|
|
2830
|
+
}, document.onmouseup = (N) => {
|
|
2831
|
+
v.value > O + G - Y && (v.value = O + G - Y), v.value < O - ee && (v.value = O - ee), c.value > b + V - K && (c.value = b + V - K), c.value < b - j && (c.value = b - j), document.onmousemove = null;
|
|
2832
2832
|
};
|
|
2833
2833
|
}, D = (W) => {
|
|
2834
2834
|
const P = W.deltaY * a.zoomRate * 0.1;
|
|
@@ -4774,8 +4774,8 @@ const Xs = { class: "abl-select-warpper-content" }, Ys = { class: "abl-select-ha
|
|
|
4774
4774
|
a.type == "single" ? a == null || a.options.map((V) => {
|
|
4775
4775
|
V.value == a.modelValue && (V.selected = !0);
|
|
4776
4776
|
}) : a == null || a.options.map((V) => {
|
|
4777
|
-
a.modelValue.map((
|
|
4778
|
-
V.value ==
|
|
4777
|
+
a.modelValue.map((O) => {
|
|
4778
|
+
V.value == O && (V.selected = !0);
|
|
4779
4779
|
});
|
|
4780
4780
|
});
|
|
4781
4781
|
const o = t, i = ke({
|
|
@@ -4784,47 +4784,51 @@ const Xs = { class: "abl-select-warpper-content" }, Ys = { class: "abl-select-ha
|
|
|
4784
4784
|
trigger: "click",
|
|
4785
4785
|
transitionName: "abl-select-menu"
|
|
4786
4786
|
}), s = $(""), d = $(), u = $(null), v = $(""), c = $(), p = $(a.modelValue), g = $(!1), m = T(() => {
|
|
4787
|
-
var
|
|
4788
|
-
return { width: (((
|
|
4787
|
+
var O;
|
|
4788
|
+
return { width: (((O = d.value) == null ? void 0 : O.getBoundingClientRect().width) || 0) + "px" };
|
|
4789
4789
|
}), w = ke({
|
|
4790
4790
|
list: a == null ? void 0 : a.options
|
|
4791
4791
|
}), k = $(!1), y = $(
|
|
4792
4792
|
a.search && v.value === "focus" && k.value
|
|
4793
4793
|
), C = $(a.disabled), z = $(a.mode === "tag"), S = $(""), _ = ke(
|
|
4794
4794
|
(G = a == null ? void 0 : a.options) == null ? void 0 : G.filter((V) => V.selected === !0)
|
|
4795
|
-
), x = () => n.default && n.default() || [], A = () => {
|
|
4795
|
+
), x = () => (console.log(n == null ? void 0 : n.default), (n == null ? void 0 : n.default) && (n == null ? void 0 : n.default()) || []), A = () => {
|
|
4796
4796
|
var V;
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
value: O,
|
|
4803
|
-
name: R,
|
|
4804
|
-
img: H,
|
|
4805
|
-
iconColor: te
|
|
4806
|
-
}), p.value === O && _.push({
|
|
4807
|
-
value: O,
|
|
4808
|
-
name: R,
|
|
4809
|
-
img: H,
|
|
4810
|
-
iconColor: te
|
|
4811
|
-
});
|
|
4812
|
-
} else
|
|
4813
|
-
((b = N == null ? void 0 : N.children) == null ? void 0 : b.length) > 0 && N.children.map((O) => {
|
|
4814
|
-
const { value: R, name: H, img: te, iconColor: ae } = O.props;
|
|
4797
|
+
try {
|
|
4798
|
+
n.default && (w.list = [], (V = n.default()) == null || V.map((O) => {
|
|
4799
|
+
var b;
|
|
4800
|
+
if (O.props) {
|
|
4801
|
+
const { value: N, name: R, img: H, iconColor: te } = O.props;
|
|
4815
4802
|
w.list.push({
|
|
4816
|
-
value:
|
|
4817
|
-
name:
|
|
4818
|
-
img:
|
|
4819
|
-
iconColor:
|
|
4820
|
-
}), p.value ===
|
|
4821
|
-
value:
|
|
4822
|
-
name:
|
|
4823
|
-
img:
|
|
4824
|
-
iconColor:
|
|
4825
|
-
})
|
|
4826
|
-
}
|
|
4827
|
-
|
|
4803
|
+
value: N,
|
|
4804
|
+
name: R,
|
|
4805
|
+
img: H,
|
|
4806
|
+
iconColor: te
|
|
4807
|
+
}), p.value === N && _.push({
|
|
4808
|
+
value: N,
|
|
4809
|
+
name: R,
|
|
4810
|
+
img: H,
|
|
4811
|
+
iconColor: te
|
|
4812
|
+
});
|
|
4813
|
+
} else
|
|
4814
|
+
((b = O == null ? void 0 : O.children) == null ? void 0 : b.length) > 0 && O.children.map((N) => {
|
|
4815
|
+
const { value: R, name: H, img: te, iconColor: ae } = N.props;
|
|
4816
|
+
w.list.push({
|
|
4817
|
+
value: R,
|
|
4818
|
+
name: H,
|
|
4819
|
+
img: te,
|
|
4820
|
+
iconColor: ae
|
|
4821
|
+
}), p.value === R && (_.splice(0, _.length), _.push({
|
|
4822
|
+
value: R,
|
|
4823
|
+
name: H,
|
|
4824
|
+
img: te,
|
|
4825
|
+
iconColor: ae
|
|
4826
|
+
}));
|
|
4827
|
+
});
|
|
4828
|
+
}), console.log(w.list), l = w.list);
|
|
4829
|
+
} catch (O) {
|
|
4830
|
+
console.log(O);
|
|
4831
|
+
}
|
|
4828
4832
|
};
|
|
4829
4833
|
de(x, (V) => {
|
|
4830
4834
|
fe(() => {
|
|
@@ -4839,29 +4843,29 @@ const Xs = { class: "abl-select-warpper-content" }, Ys = { class: "abl-select-ha
|
|
|
4839
4843
|
if (!y.value)
|
|
4840
4844
|
S.value = "";
|
|
4841
4845
|
else {
|
|
4842
|
-
const
|
|
4843
|
-
let
|
|
4844
|
-
return b.name.toLowerCase().includes(
|
|
4846
|
+
const O = l.filter((b) => {
|
|
4847
|
+
let N = V.target.value.toLowerCase();
|
|
4848
|
+
return b.name.toLowerCase().includes(N);
|
|
4845
4849
|
});
|
|
4846
|
-
w.list =
|
|
4850
|
+
w.list = O;
|
|
4847
4851
|
}
|
|
4848
4852
|
}, X = (V) => {
|
|
4849
4853
|
a.disabled || (k.value = !0, V.stopPropagation(), v.value === "focus" ? v.value = "blur" : v.value = "focus", setTimeout(() => {
|
|
4850
|
-
const
|
|
4851
|
-
|
|
4854
|
+
const O = document.querySelector("#abl-select .abl-options-item-active");
|
|
4855
|
+
O == null || O.scrollIntoView({
|
|
4852
4856
|
behavior: "auto",
|
|
4853
4857
|
block: "nearest"
|
|
4854
4858
|
});
|
|
4855
4859
|
}, 100));
|
|
4856
|
-
}, W = (V,
|
|
4857
|
-
var
|
|
4860
|
+
}, W = (V, O) => {
|
|
4861
|
+
var N;
|
|
4858
4862
|
if (a.disabled)
|
|
4859
4863
|
return;
|
|
4860
4864
|
if (V.name == s.value) {
|
|
4861
4865
|
c.value.close();
|
|
4862
4866
|
return;
|
|
4863
4867
|
}
|
|
4864
|
-
k.value = !1,
|
|
4868
|
+
k.value = !1, O.stopPropagation(), (N = u.value) == null || N.blur();
|
|
4865
4869
|
let b = null;
|
|
4866
4870
|
if (a.type === "single")
|
|
4867
4871
|
v.value = "blur", _[0] && _[0].value === V.value ? _.shift() : _[0] = V, b = V.value;
|
|
@@ -4881,8 +4885,8 @@ const Xs = { class: "abl-select-warpper-content" }, Ys = { class: "abl-select-ha
|
|
|
4881
4885
|
}, j = (V) => {
|
|
4882
4886
|
var b;
|
|
4883
4887
|
(b = u.value) == null || b.focus();
|
|
4884
|
-
const
|
|
4885
|
-
_.splice(
|
|
4888
|
+
const O = _.findIndex((N) => N.value === V.value);
|
|
4889
|
+
_.splice(O, 1), o("change", at(_));
|
|
4886
4890
|
}, ee = () => {
|
|
4887
4891
|
g.value = !1, v.value = "blur", S.value = "";
|
|
4888
4892
|
}, Y = () => {
|
|
@@ -4899,13 +4903,13 @@ const Xs = { class: "abl-select-warpper-content" }, Ys = { class: "abl-select-ha
|
|
|
4899
4903
|
), de(
|
|
4900
4904
|
_,
|
|
4901
4905
|
(V) => {
|
|
4902
|
-
s.value = V.map((
|
|
4906
|
+
s.value = V.map((O) => O == null ? void 0 : O.name).join(",");
|
|
4903
4907
|
},
|
|
4904
4908
|
{ immediate: !0, deep: !0 }
|
|
4905
4909
|
), me(() => {
|
|
4906
4910
|
de(v, (V) => {
|
|
4907
|
-
var
|
|
4908
|
-
V === "focus" ? (
|
|
4911
|
+
var O, b;
|
|
4912
|
+
V === "focus" ? (O = u.value) == null || O.focus() : (b = u.value) == null || b.blur(), y.value = a.search && V === "focus" && k;
|
|
4909
4913
|
}), document.body.addEventListener("click", () => {
|
|
4910
4914
|
v.value = "blur";
|
|
4911
4915
|
});
|
|
@@ -4920,7 +4924,7 @@ const Xs = { class: "abl-select-warpper-content" }, Ys = { class: "abl-select-ha
|
|
|
4920
4924
|
});
|
|
4921
4925
|
}, {
|
|
4922
4926
|
immediate: !0
|
|
4923
|
-
}), (V,
|
|
4927
|
+
}), (V, O) => (f(), h("div", {
|
|
4924
4928
|
ref_key: "selectRef",
|
|
4925
4929
|
ref: d
|
|
4926
4930
|
}, [
|
|
@@ -4938,7 +4942,7 @@ const Xs = { class: "abl-select-warpper-content" }, Ys = { class: "abl-select-ha
|
|
|
4938
4942
|
style: E(m.value),
|
|
4939
4943
|
id: "abl-select"
|
|
4940
4944
|
}, [
|
|
4941
|
-
w.list.length > 0 ? (f(!0), h(U, { key: 0 }, ne(w.list, (b,
|
|
4945
|
+
w.list.length > 0 ? (f(!0), h(U, { key: 0 }, ne(w.list, (b, N) => (f(), h("div", {
|
|
4942
4946
|
class: L(["abl-select-options-item", _.some((R) => R.value === b.value) ? "abl-options-item-active" : ""]),
|
|
4943
4947
|
key: b.name + b.value,
|
|
4944
4948
|
onClick: (R) => W(b, R)
|
|
@@ -4981,7 +4985,7 @@ const Xs = { class: "abl-select-warpper-content" }, Ys = { class: "abl-select-ha
|
|
|
4981
4985
|
J(M(b.name) + " ", 1),
|
|
4982
4986
|
r("span", {
|
|
4983
4987
|
class: "abl-select-tag-close",
|
|
4984
|
-
onClick: F((
|
|
4988
|
+
onClick: F((N) => j(b), ["stop"])
|
|
4985
4989
|
}, "x", 8, Gs)
|
|
4986
4990
|
]))), 128))
|
|
4987
4991
|
])) : (f(), h("span", Js, M(s.value), 1))
|
|
@@ -4989,13 +4993,13 @@ const Xs = { class: "abl-select-warpper-content" }, Ys = { class: "abl-select-ha
|
|
|
4989
4993
|
[Q, _.length && !y.value]
|
|
4990
4994
|
]),
|
|
4991
4995
|
q(r("input", {
|
|
4992
|
-
onBlur:
|
|
4996
|
+
onBlur: O[0] || (O[0] = (b) => ee()),
|
|
4993
4997
|
type: "text",
|
|
4994
4998
|
class: L(["abl-select-input-focus", y.value ? "abl-select-input-search" : ""]),
|
|
4995
4999
|
ref_key: "inputFocus",
|
|
4996
5000
|
ref: u,
|
|
4997
|
-
"onUpdate:modelValue":
|
|
4998
|
-
onFocus:
|
|
5001
|
+
"onUpdate:modelValue": O[1] || (O[1] = (b) => S.value = b),
|
|
5002
|
+
onFocus: O[2] || (O[2] = (b) => Y()),
|
|
4999
5003
|
onInput: D,
|
|
5000
5004
|
placeholder: s.value
|
|
5001
5005
|
}, null, 42, Zs), [
|
|
@@ -5032,7 +5036,7 @@ const Xs = { class: "abl-select-warpper-content" }, Ys = { class: "abl-select-ha
|
|
|
5032
5036
|
}, 16, ["disabled", "zIndex"])
|
|
5033
5037
|
], 512));
|
|
5034
5038
|
}
|
|
5035
|
-
}, zt = /* @__PURE__ */ Z(li, [["__scopeId", "data-v-
|
|
5039
|
+
}, zt = /* @__PURE__ */ Z(li, [["__scopeId", "data-v-4da8b844"]]);
|
|
5036
5040
|
const oi = { class: "abl-header" }, si = { class: "abl-title" }, ii = { class: "abl-extra" }, ri = { key: 0 }, ci = ["colspan"], ui = { key: 1 }, di = {
|
|
5037
5041
|
__name: "index",
|
|
5038
5042
|
props: {
|
|
@@ -5367,8 +5371,8 @@ const sn = (e) => (ge("data-v-349f6091"), e = e(), be(), e), ki = {
|
|
|
5367
5371
|
const s = $(), d = $(), u = xi();
|
|
5368
5372
|
$(), $(), $([]);
|
|
5369
5373
|
const v = T(() => {
|
|
5370
|
-
const { marks: b, max:
|
|
5371
|
-
return Object.keys(b).map(parseFloat).sort((ae, ue) => ae - ue).filter((ae) => ae >= +R && ae <= +
|
|
5374
|
+
const { marks: b, max: N, min: R } = n;
|
|
5375
|
+
return Object.keys(b).map(parseFloat).sort((ae, ue) => ae - ue).filter((ae) => ae >= +R && ae <= +N);
|
|
5372
5376
|
}), c = T(() => Number(n.max) - Number(n.min)), p = T(() => {
|
|
5373
5377
|
const b = "abl-range";
|
|
5374
5378
|
return {
|
|
@@ -5388,11 +5392,11 @@ const sn = (e) => (ge("data-v-349f6091"), e = e(), be(), e), ki = {
|
|
|
5388
5392
|
})), w = T(() => ({
|
|
5389
5393
|
borderColor: n.buttonColor
|
|
5390
5394
|
})), k = $(!1), y = (b) => !!n.range && Array.isArray(b), C = () => {
|
|
5391
|
-
const { modelValue: b, min:
|
|
5392
|
-
return y(b) ? `${(b[1] - b[0]) * 100 / c.value}%` : `${(b - Number(
|
|
5395
|
+
const { modelValue: b, min: N } = n;
|
|
5396
|
+
return y(b) ? `${(b[1] - b[0]) * 100 / c.value}%` : `${(b - Number(N)) * 100 / c.value}%`;
|
|
5393
5397
|
}, z = () => {
|
|
5394
|
-
const { modelValue: b, min:
|
|
5395
|
-
return y(b) ? `${(b[0] - Number(
|
|
5398
|
+
const { modelValue: b, min: N } = n;
|
|
5399
|
+
return y(b) ? `${(b[0] - Number(N)) * 100 / c.value}%` : "0%";
|
|
5396
5400
|
}, S = T(() => n.vertical ? {
|
|
5397
5401
|
height: C(),
|
|
5398
5402
|
top: z(),
|
|
@@ -5404,7 +5408,7 @@ const sn = (e) => (ge("data-v-349f6091"), e = e(), be(), e), ki = {
|
|
|
5404
5408
|
background: n.activeColor,
|
|
5405
5409
|
transition: d.value ? "none" : void 0
|
|
5406
5410
|
}), _ = (b) => {
|
|
5407
|
-
const
|
|
5411
|
+
const N = "abl-range-mark", { modelValue: R, max: H, min: te } = n;
|
|
5408
5412
|
let ae = Number(te), ue = Number(H);
|
|
5409
5413
|
if (n.range) {
|
|
5410
5414
|
const [Ve, Te] = R;
|
|
@@ -5413,40 +5417,40 @@ const sn = (e) => (ge("data-v-349f6091"), e = e(), be(), e), ki = {
|
|
|
5413
5417
|
ue = R;
|
|
5414
5418
|
let Ne = b <= +ue && b >= ae;
|
|
5415
5419
|
return {
|
|
5416
|
-
[`${
|
|
5417
|
-
[`${
|
|
5420
|
+
[`${N}-text`]: !0,
|
|
5421
|
+
[`${N}-text-active`]: Ne
|
|
5418
5422
|
};
|
|
5419
5423
|
}, x = (b) => {
|
|
5420
|
-
const { min:
|
|
5424
|
+
const { min: N, vertical: R } = n;
|
|
5421
5425
|
let H = {
|
|
5422
|
-
left: `${(b - Number(
|
|
5426
|
+
left: `${(b - Number(N)) / c.value * 100}%`
|
|
5423
5427
|
};
|
|
5424
5428
|
return R && (H = {
|
|
5425
|
-
top: `${(b - Number(
|
|
5429
|
+
top: `${(b - Number(N)) / c.value * 100}%`
|
|
5426
5430
|
}), H;
|
|
5427
5431
|
}, A = (b) => {
|
|
5428
|
-
const { modelValue:
|
|
5432
|
+
const { modelValue: N, max: R, min: H } = n;
|
|
5429
5433
|
let te = Number(H), ae = Number(R);
|
|
5430
5434
|
if (n.range) {
|
|
5431
|
-
const [Ve, Te] =
|
|
5435
|
+
const [Ve, Te] = N;
|
|
5432
5436
|
te = Ve, ae = Te;
|
|
5433
5437
|
}
|
|
5434
5438
|
return {
|
|
5435
5439
|
background: b <= ae && b >= te ? n.activeColor : n.inactiveColor
|
|
5436
5440
|
};
|
|
5437
5441
|
}, D = (b) => {
|
|
5438
|
-
const { min:
|
|
5439
|
-
return b = Math.max(+
|
|
5440
|
-
}, X = (b,
|
|
5441
|
-
y(b) ? b = W(b).map(D) : b = D(b), X(b, n.modelValue) || a("update:modelValue", b),
|
|
5442
|
+
const { min: N, max: R, step: H } = n;
|
|
5443
|
+
return b = Math.max(+N, Math.min(b, +R)), Math.round(b / +H) * +H;
|
|
5444
|
+
}, X = (b, N) => JSON.stringify(b) === JSON.stringify(N), W = (b) => b[0] > b[1] ? b.slice(0).reverse() : b, P = (b, N) => {
|
|
5445
|
+
y(b) ? b = W(b).map(D) : b = D(b), X(b, n.modelValue) || a("update:modelValue", b), N && !X(b, o) && a("change", b);
|
|
5442
5446
|
}, j = (b) => {
|
|
5443
5447
|
if (n.disabled || d.value === "draging")
|
|
5444
5448
|
return;
|
|
5445
5449
|
k.value = !0;
|
|
5446
|
-
const { min:
|
|
5450
|
+
const { min: N, modelValue: R } = n, H = It(s);
|
|
5447
5451
|
let te = b.clientX - H.left, ae = H.width;
|
|
5448
5452
|
n.vertical && (te = b.clientY - H.top, ae = H.height);
|
|
5449
|
-
const ue = Number(
|
|
5453
|
+
const ue = Number(N) + te / ae * c.value;
|
|
5450
5454
|
if (y(R)) {
|
|
5451
5455
|
const [Ne, Ve] = R, Te = (Ne + Ve) / 2;
|
|
5452
5456
|
ue <= Te ? (l.value = 0, P([ue, Ve], !0)) : (l.value = 1, P([Ne, ue], !0));
|
|
@@ -5463,17 +5467,17 @@ const sn = (e) => (ge("data-v-349f6091"), e = e(), be(), e), ki = {
|
|
|
5463
5467
|
if (n.disabled)
|
|
5464
5468
|
return;
|
|
5465
5469
|
d.value === "start" && a("dragStart"), u.move(b), d.value = "draging", b.type.startsWith("touch") && (k.value = !0);
|
|
5466
|
-
const
|
|
5467
|
-
let R = u.deltaX.value, H =
|
|
5468
|
-
n.vertical && (R = u.deltaY.value, H =
|
|
5470
|
+
const N = It(s);
|
|
5471
|
+
let R = u.deltaX.value, H = N.width, te = R / H * c.value;
|
|
5472
|
+
n.vertical && (R = u.deltaY.value, H = N.height, te = R / H * c.value), y(o) ? i[l.value] = o[l.value] + te : i = o + te, P(i);
|
|
5469
5473
|
}, G = (b) => {
|
|
5470
5474
|
n.disabled || d.value === "draging" && (P(i, !0), a("dragEnd"), window.removeEventListener("mousemove", K), window.removeEventListener("touchmove", K), window.removeEventListener("mouseup", G), window.removeEventListener("touchend", G), window.removeEventListener("contextmenu", G), b.type.startsWith("touch") && (k.value = !1), setTimeout(() => {
|
|
5471
5475
|
d.value = "";
|
|
5472
5476
|
}));
|
|
5473
5477
|
}, V = (b) => {
|
|
5474
5478
|
n.disabled || (b.preventDefault(), Y(b), window.addEventListener("mousemove", K), window.addEventListener("touchmove", K), window.addEventListener("mouseup", G), window.addEventListener("touchend", G), window.addEventListener("contextmenu", G));
|
|
5475
|
-
},
|
|
5476
|
-
return (b,
|
|
5479
|
+
}, O = (b) => Array.isArray(n.modelValue) && typeof b == "number" ? n.modelValue[b] : Number(n.modelValue);
|
|
5480
|
+
return (b, N) => (f(), h("div", {
|
|
5477
5481
|
class: L(g.value)
|
|
5478
5482
|
}, [
|
|
5479
5483
|
e.hiddenRange ? B("", !0) : (f(), h("div", ki, M(+e.min), 1)),
|
|
@@ -5507,7 +5511,7 @@ const sn = (e) => (ge("data-v-349f6091"), e = e(), be(), e), ki = {
|
|
|
5507
5511
|
class: L({ "abl-range-button-wrapper-left": R == 0, "abl-range-button-wrapper-right": R == 1 }),
|
|
5508
5512
|
tabindex: e.disabled ? -1 : 0,
|
|
5509
5513
|
"aria-valuemin": +e.min,
|
|
5510
|
-
"aria-valuenow":
|
|
5514
|
+
"aria-valuenow": O(R),
|
|
5511
5515
|
"aria-valuemax": +e.max,
|
|
5512
5516
|
"aria-orientation": "horizontal",
|
|
5513
5517
|
onTouchstart: (H) => {
|
|
@@ -5525,7 +5529,7 @@ const sn = (e) => (ge("data-v-349f6091"), e = e(), be(), e), ki = {
|
|
|
5525
5529
|
r("div", {
|
|
5526
5530
|
class: L(["abl-handle-tooltip", [{ "display-tooltip": l.value === R && k.value }]])
|
|
5527
5531
|
}, [
|
|
5528
|
-
J(M(
|
|
5532
|
+
J(M(O(R)) + " ", 1),
|
|
5529
5533
|
Li
|
|
5530
5534
|
], 2)
|
|
5531
5535
|
], 4))
|
|
@@ -5535,13 +5539,13 @@ const sn = (e) => (ge("data-v-349f6091"), e = e(), be(), e), ki = {
|
|
|
5535
5539
|
class: "abl-range-button-wrapper",
|
|
5536
5540
|
tabindex: e.disabled ? -1 : 0,
|
|
5537
5541
|
"aria-valuemin": +e.min,
|
|
5538
|
-
"aria-valuenow":
|
|
5542
|
+
"aria-valuenow": O(),
|
|
5539
5543
|
"aria-valuemax": +e.max,
|
|
5540
5544
|
"aria-orientation": "horizontal",
|
|
5541
|
-
onTouchstart:
|
|
5545
|
+
onTouchstart: N[0] || (N[0] = (R) => {
|
|
5542
5546
|
V(R);
|
|
5543
5547
|
}),
|
|
5544
|
-
onMousedown:
|
|
5548
|
+
onMousedown: N[1] || (N[1] = (R) => {
|
|
5545
5549
|
V(R);
|
|
5546
5550
|
})
|
|
5547
5551
|
}, [
|
|
@@ -5553,7 +5557,7 @@ const sn = (e) => (ge("data-v-349f6091"), e = e(), be(), e), ki = {
|
|
|
5553
5557
|
r("div", {
|
|
5554
5558
|
class: L(["abl-handle-tooltip", [{ "display-tooltip": k.value }]])
|
|
5555
5559
|
}, [
|
|
5556
|
-
J(M(
|
|
5560
|
+
J(M(O()) + " ", 1),
|
|
5557
5561
|
Vi
|
|
5558
5562
|
], 2)
|
|
5559
5563
|
], 4))
|