@shaonq/vue 1.3.0 → 1.3.1

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/lib/index.js +16 -10
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -5046,7 +5046,7 @@ const Al = { class: "comp-hiprint-toolbar u-flex u-w" }, wl = { class: "u-flex"
5046
5046
  var Ce, Ae;
5047
5047
  return fe += (Ae = (Ce = de == null ? void 0 : de.options) == null ? void 0 : Ce[ee]) != null ? Ae : 0, fe;
5048
5048
  }, 0), ce = _.length - 1, be = ((w = (U = (M = _[ce]) == null ? void 0 : M.options) == null ? void 0 : U[re]) != null ? w : 0) + ((R = (D = (O = _[ce]) == null ? void 0 : O.options) == null ? void 0 : D[ee]) != null ? R : 0) - ((ye = (ve = (te = _[0]) == null ? void 0 : te.options) == null ? void 0 : ve[re]) != null ? ye : 0);
5049
- return Math.max(10, +((be - N) / ce).toFixed(2));
5049
+ return Math.max(0, +((be - N) / ce).toFixed(2));
5050
5050
  }
5051
5051
  }
5052
5052
  const r = () => {
@@ -5520,10 +5520,12 @@ const Al = { class: "comp-hiprint-toolbar u-flex u-w" }, wl = { class: "u-flex"
5520
5520
  i("div", Kl, [
5521
5521
  d(Ae, {
5522
5522
  modelValue: F(v).mm,
5523
- "onUpdate:modelValue": _[22] || (_[22] = (Q) => F(v).mm = Q),
5523
+ "onUpdate:modelValue": [
5524
+ _[22] || (_[22] = (Q) => F(v).mm = Q),
5525
+ _[23] || (_[23] = (Q) => b(Q, "mm"))
5526
+ ],
5524
5527
  size: "large",
5525
- mode: "button",
5526
- onInput: _[23] || (_[23] = (Q) => b(Q, "mm"))
5528
+ mode: "button"
5527
5529
  }, null, 8, ["modelValue"]),
5528
5530
  _[37] || (_[37] = i("div", null, "mm", -1))
5529
5531
  ]),
@@ -5531,10 +5533,12 @@ const Al = { class: "comp-hiprint-toolbar u-flex u-w" }, wl = { class: "u-flex"
5531
5533
  i("div", Hl, [
5532
5534
  d(Ae, {
5533
5535
  modelValue: F(v).pt,
5534
- "onUpdate:modelValue": _[24] || (_[24] = (Q) => F(v).pt = Q),
5536
+ "onUpdate:modelValue": [
5537
+ _[24] || (_[24] = (Q) => F(v).pt = Q),
5538
+ _[25] || (_[25] = (Q) => b(Q, "pt"))
5539
+ ],
5535
5540
  size: "large",
5536
- mode: "button",
5537
- onInput: _[25] || (_[25] = (Q) => b(Q, "pt"))
5541
+ mode: "button"
5538
5542
  }, null, 8, ["modelValue"]),
5539
5543
  _[38] || (_[38] = i("div", null, "pt", -1))
5540
5544
  ]),
@@ -5542,10 +5546,12 @@ const Al = { class: "comp-hiprint-toolbar u-flex u-w" }, wl = { class: "u-flex"
5542
5546
  i("div", Gl, [
5543
5547
  d(Ae, {
5544
5548
  modelValue: F(v).px,
5545
- "onUpdate:modelValue": _[26] || (_[26] = (Q) => F(v).px = Q),
5549
+ "onUpdate:modelValue": [
5550
+ _[26] || (_[26] = (Q) => F(v).px = Q),
5551
+ _[27] || (_[27] = (Q) => b(Q, "px"))
5552
+ ],
5546
5553
  size: "large",
5547
- mode: "button",
5548
- onInput: _[27] || (_[27] = (Q) => b(Q, "px"))
5554
+ mode: "button"
5549
5555
  }, null, 8, ["modelValue"]),
5550
5556
  _[39] || (_[39] = i("div", null, "px", -1))
5551
5557
  ])
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shaonq/vue",
3
3
  "description": "shaonq vue library",
4
- "version": "1.3.0",
4
+ "version": "1.3.1",
5
5
  "author": "shaonq@qq.com",
6
6
  "license": "MIT",
7
7
  "main": "./lib/index.js",