liyu-pc-base 1.0.169 → 1.0.171

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.
@@ -38500,13 +38500,17 @@ const s9e = /* @__PURE__ */ lt(a9e, [["render", u9e], ["__scopeId", "data-v-0c7b
38500
38500
  },
38501
38501
  emits: ["update:value"],
38502
38502
  setup(e, { emit: t }) {
38503
- const n = (o) => {
38504
- e.field.extraAddonAfter && e.field.addonAfter ? t("update:value", `${o}${e.field.addonAfter}`) : t("update:value", o);
38505
- }, r = se(() => {
38506
- let o = e.value;
38507
- return typeof o == "string" && (e.field.addonAfter && (o = o.replace(e.field.addonAfter, "")), o = parseFloat(o)), o;
38503
+ const n = (i) => {
38504
+ e.field.extraAddonAfter && e.field.addonAfter ? t("update:value", `${i}${e.field.addonAfter}`) : t("update:value", i);
38505
+ };
38506
+ function r(i, a, l) {
38507
+ return i.endsWith(a) ? i.slice(0, -a.length) + l : i;
38508
+ }
38509
+ const o = se(() => {
38510
+ let i = e.value;
38511
+ return typeof i == "string" && (e.field.addonAfter && (i = r(i, e.field.addonAfter, "")), i = parseFloat(i)), i;
38508
38512
  });
38509
- return { update: n, innerValue: r };
38513
+ return { update: n, innerValue: o };
38510
38514
  },
38511
38515
  data() {
38512
38516
  return {
@@ -38568,7 +38572,7 @@ function h9e(e, t, n, r, o, i) {
38568
38572
  } : void 0
38569
38573
  ]), 1032, ["value", "autocomplete", "default-value", "disabled", "formatter", "max", "min", "placeholder", "precision", "step", "onUpdate:value"])) : W("", !0);
38570
38574
  }
38571
- const g9e = /* @__PURE__ */ lt(c9e, [["render", h9e], ["__scopeId", "data-v-2c82ad1a"]]), za = (e, t = "YYYY-MM-DD") => Ce(e, t, !0).isValid(), JI = (e, t = "YYYY-MM-DD HH:mm:ss") => Ce(e, t, !0).isValid(), ZI = (e, t = "HH:mm:ss") => Ce(e, t, !0).isValid(), m9e = Me({
38575
+ const g9e = /* @__PURE__ */ lt(c9e, [["render", h9e], ["__scopeId", "data-v-5eeb84f4"]]), za = (e, t = "YYYY-MM-DD") => Ce(e, t, !0).isValid(), JI = (e, t = "YYYY-MM-DD HH:mm:ss") => Ce(e, t, !0).isValid(), ZI = (e, t = "HH:mm:ss") => Ce(e, t, !0).isValid(), m9e = Me({
38572
38576
  name: "FieldRender2",
38573
38577
  methods: { isArray: Pu },
38574
38578
  props: {