@farris/ui-vue 1.8.5-beta.12 → 1.8.5-beta.13

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.
@@ -305,10 +305,9 @@ const dr = /* @__PURE__ */ de({
305
305
  "btn-lg": t.size === "large",
306
306
  "btn-md": t.size !== "large" && t.size !== "small",
307
307
  "btn-sm": t.size === "small",
308
- "btn-icontext": i.value,
309
- [`btn-${t.type}`]: !0
308
+ "btn-icontext": i.value
310
309
  };
311
- if (t.customClass)
310
+ if (t.type && (r[`btn-${t.type}`] = !0), t.customClass)
312
311
  if (typeof t.customClass == "string")
313
312
  mt(r, t.customClass);
314
313
  else {
@@ -46112,9 +46111,9 @@ const MN = /* @__PURE__ */ de({
46112
46111
  Le(() => {
46113
46112
  d.value.componentInstance = h;
46114
46113
  }), n.expose(h.value);
46115
- const m = Mr(e, n, a, t, r, l, u, t, o, !0), v = Ir(e, n, a, t, r, l, m, u, t, o, !0), y = Er(e, n, m, !0), g = vf(e, n, v, !0), b = (F) => {
46114
+ const m = Mr(e, n, a, t, r, l, u, t, o, !0), v = Ir(e, n, a, t, r, l, m, u, t, o, !0), y = Er(e, n, m), g = vf(e, n, v, !0), b = (F) => {
46116
46115
  n.emit("endValueChange", F);
46117
- }, C = Mr(e, n, i, o, r, l, b, t, o, !1), S = Ir(e, n, i, o, r, l, C, b, t, o, !1), x = Er(e, n, C, !1), T = vf(e, n, S, !1), k = V(() => e.showButton);
46116
+ }, C = Mr(e, n, i, o, r, l, b, t, o, !1), S = Ir(e, n, i, o, r, l, C, b, t, o, !1), x = Er(e, n, C), T = vf(e, n, S, !1), k = V(() => e.showButton);
46118
46117
  return () => s("div", {
46119
46118
  ref: d,
46120
46119
  class: "input-group number-range f-cmp-number-spinner"
@@ -47691,7 +47690,7 @@ function Yg(e, n, t) {
47691
47690
  };
47692
47691
  }
47693
47692
  function Qg(e, n, t, a, o, i) {
47694
- const l = w(!1), r = w(), u = w(), d = V(() => We.getLocaleValue("pagination.show")), f = V(() => We.getLocaleValue("pagination.totalInfo.lastText")), c = V(() => ({
47693
+ const l = w(!1), r = w(), u = w(), d = V(() => We.getLocaleValue("pagination.pageList.firstText")), f = V(() => We.getLocaleValue("pagination.pageList.lastText")), c = V(() => ({
47695
47694
  dropup: !0,
47696
47695
  "dropdown-right": !0,
47697
47696
  "pg-pagelist": !0,
@@ -49093,13 +49092,13 @@ class pj {
49093
49092
  this.value = n;
49094
49093
  }
49095
49094
  getValue() {
49096
- return this.value;
49095
+ return typeof this.value == "boolean" ? [this.value] : this.value || [];
49097
49096
  }
49098
49097
  getDisplayText() {
49099
- return this.value.map((n) => n ? "是" : "否").join(",");
49098
+ return this.getValue().map((t) => t ? "是" : "否").join(",");
49100
49099
  }
49101
49100
  isEmpty() {
49102
- return this.value.length === 0;
49101
+ return typeof this.value == "boolean" ? !1 : !this.value || this.value.length === 0;
49103
49102
  }
49104
49103
  }
49105
49104
  class mj {