@spash/frontlib 0.0.21-beta.3 → 0.0.21-beta.4

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.
Files changed (2) hide show
  1. package/dist/main.js +4 -4
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -28567,9 +28567,9 @@ const o5 = /* @__PURE__ */ Mg(i5), a5 = { class: "absolute w-full bottom-0 left-
28567
28567
  const r = n, s = t, { keyboardClass: i, input: o, layout: a, locale: l } = St(r), c = me(), u = me(o.value), d = me(null), h = (y) => {
28568
28568
  var b;
28569
28569
  let R = y;
28570
- R.length >= r.max && (R = R.slice(0, r.max));
28571
- const I = ((b = d.value) == null ? void 0 : b.selectionStart) || R.length;
28572
- c.value.setInput(R), u.value = R, s("change", R), c.value.setCaretPosition(I);
28570
+ R.length >= r.max && (R = R.slice(0, r.max)), c.value.setInput(R), u.value = R, s("change", R);
28571
+ const I = Math.max(((b = d.value) == null ? void 0 : b.selectionStart) || R.length, R.length);
28572
+ c.value.setCaretPosition(I);
28573
28573
  }, g = (y) => {
28574
28574
  if (s("onKeyPress", y), (y === "{shift}" || y === "{unshift}" || y === "{lock}") && p(), y === "{clear}" && v(), y === "{enter}" && s("close"), y === "{bksp}") {
28575
28575
  const R = c.value.getInput().slice(0, c.value.getInput().length - 1);
@@ -31354,7 +31354,7 @@ const IL = () => {
31354
31354
  };
31355
31355
  }, uO = {
31356
31356
  commons: {
31357
- touchForPlay: "Touchez l'écran pour jouer",
31357
+ touchForPlay: "Touche l'écran pour jouer",
31358
31358
  hoursAbv: "h",
31359
31359
  hours: "heures",
31360
31360
  minutesAbv: "min",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spash/frontlib",
3
- "version": "0.0.21-beta.3",
3
+ "version": "0.0.21-beta.4",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"