@s_and_a/arrow-ui 0.1.17 → 0.1.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/dist/index.js +19 -11
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5784,7 +5784,7 @@ var La = [
|
|
|
5784
5784
|
e ? (m.value = Fa(e), h.value = e, r("update:modelValue", e)) : h.value = n.modelValue ?? "";
|
|
5785
5785
|
}
|
|
5786
5786
|
function E(e) {
|
|
5787
|
-
m.value = Fa(e), h.value = e, r("update:modelValue", e),
|
|
5787
|
+
m.value = Fa(e), h.value = e, r("update:modelValue", e), v(!1);
|
|
5788
5788
|
}
|
|
5789
5789
|
return (t, n) => (H(), A("span", {
|
|
5790
5790
|
"data-ar": "color-picker",
|
|
@@ -7165,11 +7165,21 @@ var as = [
|
|
|
7165
7165
|
if (e.key === "Tab" && o.value === "on") {
|
|
7166
7166
|
let t = e.target, n = R(t.getBoundingClientRect(), t, e.shiftKey ? -1 : 1);
|
|
7167
7167
|
n && (e.preventDefault(), I(), n.focus(), n.select());
|
|
7168
|
-
} else
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
|
|
7168
|
+
} else {
|
|
7169
|
+
if (e.key === "Backspace" && o.value === "on") {
|
|
7170
|
+
let t = e.target;
|
|
7171
|
+
if (t.value === "" && t.selectionStart === 0 && t.selectionEnd === 0) {
|
|
7172
|
+
let n = R(t.getBoundingClientRect(), t, -1);
|
|
7173
|
+
n && (e.preventDefault(), I(), n.focus(), n.select());
|
|
7174
|
+
return;
|
|
7175
|
+
}
|
|
7176
|
+
}
|
|
7177
|
+
if (e.key === "Enter") I();
|
|
7178
|
+
else if (e.key === "ArrowUp" || e.key === "ArrowDown") {
|
|
7179
|
+
e.preventDefault();
|
|
7180
|
+
let t = rs(p.value, C.value) ?? n.modelValue.time ?? "09:00";
|
|
7181
|
+
p.value = L(t, e.key === "ArrowUp" ? n.step : -n.step), m.value = !1;
|
|
7182
|
+
}
|
|
7173
7183
|
}
|
|
7174
7184
|
}
|
|
7175
7185
|
function ne() {
|
|
@@ -23615,12 +23625,10 @@ function fD(e, t, n) {
|
|
|
23615
23625
|
}
|
|
23616
23626
|
function pD(e, t) {
|
|
23617
23627
|
let n = t.r > e.r1, r = t.c > e.c1;
|
|
23618
|
-
return !n && !r ? null :
|
|
23619
|
-
...e,
|
|
23620
|
-
r1: t.r
|
|
23621
|
-
} : {
|
|
23628
|
+
return !n && !r ? null : {
|
|
23622
23629
|
...e,
|
|
23623
|
-
|
|
23630
|
+
r1: n ? t.r : e.r1,
|
|
23631
|
+
c1: r ? t.c : e.c1
|
|
23624
23632
|
};
|
|
23625
23633
|
}
|
|
23626
23634
|
function mD() {
|