@maxtropy/v-components 0.1.16-beta.4 → 0.1.16-beta.5

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.
@@ -26060,7 +26060,7 @@ function mh(e) {
26060
26060
  }
26061
26061
  });
26062
26062
  }
26063
- const EN = /* @__PURE__ */ hp('<div class="line line--left" data-v-85f141fa></div><div class="line line--right" data-v-85f141fa></div><div class="dot dot--top-left" data-v-85f141fa></div><div class="dot dot--bottom-left" data-v-85f141fa></div><div class="dot dot--top-right" data-v-85f141fa></div><div class="dot dot--bottom-right" data-v-85f141fa></div>', 6), IN = [
26063
+ const EN = /* @__PURE__ */ hp('<div class="line line--left" data-v-f095c961></div><div class="line line--right" data-v-f095c961></div><div class="dot dot--top-left" data-v-f095c961></div><div class="dot dot--bottom-left" data-v-f095c961></div><div class="dot dot--top-right" data-v-f095c961></div><div class="dot dot--bottom-right" data-v-f095c961></div>', 6), IN = [
26064
26064
  EN
26065
26065
  ], BN = /* @__PURE__ */ Y({
26066
26066
  __name: "MxButton",
@@ -26087,7 +26087,7 @@ const EN = /* @__PURE__ */ hp('<div class="line line--left" data-v-85f141fa></di
26087
26087
  type: Boolean,
26088
26088
  default: !1
26089
26089
  },
26090
- shouldAddSpace: {
26090
+ autoInsertSpace: {
26091
26091
  type: Boolean,
26092
26092
  default: !0
26093
26093
  }
@@ -26097,14 +26097,14 @@ const EN = /* @__PURE__ */ hp('<div class="line line--left" data-v-85f141fa></di
26097
26097
  const n = e, o = T(0), r = (d) => {
26098
26098
  let f = d.target;
26099
26099
  d.target.nodeName === "SPAN" && (f = d.target.parentNode), f.blur(), (/* @__PURE__ */ new Date()).getTime() - o.value > n.wait && t("click", d), o.value = (/* @__PURE__ */ new Date()).getTime();
26100
- }, a = gh(n.authCode), l = Uo.get(Wo), i = E(() => n.type === "dashed" ? "" : n.type), u = E(() => (n.disabled ?? !1) || !!n.authCode && !a.value), c = E(() => n.authCode && !a.value ? !n.noShowWhenNotAuth : !0), p = E(() => n.shouldAddSpace);
26100
+ }, a = gh(n.authCode), l = Uo.get(Wo), i = E(() => n.type === "dashed" ? "" : n.type), u = E(() => (n.disabled ?? !1) || !!n.authCode && !a.value), c = E(() => n.authCode && !a.value ? !n.noShowWhenNotAuth : !0), p = E(() => n.autoInsertSpace);
26101
26101
  return (d, f) => Le((C(), N("div", {
26102
26102
  class: S({ "mx-button": !0, "mx-btn-dark": s(l) === s(sn).DARK })
26103
26103
  }, [
26104
26104
  q(s(ho), Pe(n, {
26105
26105
  type: i.value,
26106
26106
  disabled: u.value,
26107
- "should-add-space": p.value,
26107
+ "auto-insert-space": p.value,
26108
26108
  class: { "mx-button--dashed": n.type === "dashed" },
26109
26109
  onClick: r
26110
26110
  }), tt({ _: 2 }, [
@@ -26114,7 +26114,7 @@ const EN = /* @__PURE__ */ hp('<div class="line line--left" data-v-85f141fa></di
26114
26114
  oe(d.$slots, m, {}, void 0, !0)
26115
26115
  ])
26116
26116
  }))
26117
- ]), 1040, ["type", "disabled", "should-add-space", "class"]),
26117
+ ]), 1040, ["type", "disabled", "auto-insert-space", "class"]),
26118
26118
  n.type === "primary" && s(l) === s(sn).DARK ? (C(), N("div", {
26119
26119
  key: 0,
26120
26120
  class: S({ "mx-button-dot--disabled": u.value })
@@ -26124,7 +26124,7 @@ const EN = /* @__PURE__ */ hp('<div class="line line--left" data-v-85f141fa></di
26124
26124
  ]);
26125
26125
  }
26126
26126
  });
26127
- const un = /* @__PURE__ */ kt(BN, [["__scopeId", "data-v-85f141fa"]]);
26127
+ const un = /* @__PURE__ */ kt(BN, [["__scopeId", "data-v-f095c961"]]);
26128
26128
  un.install = (e) => {
26129
26129
  e.component(un.__name, un);
26130
26130
  };