bkui-vue 2.0.2-beta.79 → 2.0.2-beta.80

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.
package/dist/index.esm.js CHANGED
@@ -28913,7 +28913,8 @@ const fy = {
28913
28913
  icon: m.icon,
28914
28914
  description: m.description,
28915
28915
  status: m.status,
28916
- border: m.border ?? !0
28916
+ border: m.border ?? !0,
28917
+ disabled: m.disabled ?? !1
28917
28918
  });
28918
28919
  }), a.value.splice(0, a.value.length, ...d);
28919
28920
  }, l = (g) => {
@@ -28984,24 +28985,18 @@ const fy = {
28984
28985
  }, [this.defaultSteps.map((d, m) => {
28985
28986
  var y, b;
28986
28987
  return h("div", {
28987
- class: [this.resolveClassName("step"), d.title ? "" : this.resolveClassName("step-no-content"), a(m) ? "done" : "", s(m) ? "current" : "", s(m) && this.status === "error" ? "is-error" : "", d.status && s(m) ? [`${this.resolveClassName(`step-${d.status}`)}`] : ""]
28988
+ class: [this.resolveClassName("step"), d.title ? "" : this.resolveClassName("step-no-content"), a(m) ? "done" : "", s(m) ? "current" : "", s(m) && this.status === "error" ? "is-error" : "", d.status && s(m) ? [`${this.resolveClassName(`step-${d.status}`)}`] : "", d.disabled ? "is-disabled" : "", this.controllable && !d.disabled ? "is-controllable" : ""]
28988
28989
  }, [h("span", {
28989
- style: {
28990
- cursor: this.controllable ? "pointer" : ""
28991
- },
28992
- class: [`${this.resolveClassName("step-indicator")}`, `${this.resolveClassName(`step-${l(d) ? "icon" : "number"}`)}`, `${this.resolveClassName(`step-icon${d.status}`)}`],
28990
+ class: [`${this.resolveClassName("step-indicator")}`, `${this.resolveClassName(`step-${l(d) ? "icon" : "number"}`)}`, `${d.status ? this.resolveClassName(`step-icon${d.status}`) : ""}`],
28993
28991
  onClick: () => {
28994
- this.jumpTo(m + 1);
28992
+ d.disabled || this.jumpTo(m + 1);
28995
28993
  }
28996
28994
  }, [((b = (y = this.$slots)[m + 1]) == null ? void 0 : b.call(y)) ?? g(m, d)]), d.title ? h("div", {
28997
28995
  class: `${this.resolveClassName("step-content")}`
28998
28996
  }, [h("div", {
28999
- style: {
29000
- cursor: this.controllable ? "pointer" : ""
29001
- },
29002
28997
  class: `${this.resolveClassName("step-title")}`,
29003
28998
  onClick: () => {
29004
- this.jumpTo(m + 1);
28999
+ d.disabled || this.jumpTo(m + 1);
29005
29000
  }
29006
29001
  }, [d.title]), d.description && h("div", {
29007
29002
  class: `${this.resolveClassName("step-description")}`,
@@ -39457,7 +39452,7 @@ const tq = (e, t) => {
39457
39452
  }, fq = {
39458
39453
  createInstall: Ay,
39459
39454
  install: Ay()
39460
- }, aq = "2.0.2-beta.79";
39455
+ }, aq = "2.0.2-beta.80";
39461
39456
  window.__bkui_vue_version__ = aq;
39462
39457
  export {
39463
39458
  X7 as $bkPopover,