hcui-package 2.0.24 → 2.0.25

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.
@@ -79033,22 +79033,23 @@ function fee() {
79033
79033
  type: c = "primary",
79034
79034
  maskClosable: f = !0,
79035
79035
  onConfirm: d,
79036
- onCancel: u = () => Promise.resolve()
79037
- } = n, p = `center-${c}-dialog`, m = () => i ? typeof i == "function" ? a("div", { class: "description" }, [i()]) : typeof i == "object" ? a("div", { class: "description" }, [i]) : typeof i == "string" ? e(i) ? a("div", { class: "description" }, [
79036
+ onClose: u,
79037
+ onCancel: p = () => Promise.resolve()
79038
+ } = n, m = `center-${c}-dialog`, g = () => i ? typeof i == "function" ? a("div", { class: "description" }, [i()]) : typeof i == "object" ? a("div", { class: "description" }, [i]) : typeof i == "string" ? e(i) ? a("div", { class: "description" }, [
79038
79039
  a("div", {
79039
79040
  class: "description-text",
79040
79041
  innerHTML: i
79041
79042
  })
79042
79043
  ]) : a("div", { class: "description" }, [
79043
79044
  a("div", { class: "description-text" }, i)
79044
- ]) : null : null, g = c === "primary" ? "info" : c, b = c === "success" ? "icon-check arm-check" : "icon-jingshi arm-jingshi";
79045
- window.$dialog[g]({
79045
+ ]) : null : null, b = c === "primary" ? "info" : c, x = c === "success" ? "icon-check arm-check" : "icon-jingshi arm-jingshi";
79046
+ window.$dialog[b]({
79046
79047
  showIcon: !1,
79047
- class: p,
79048
+ class: m,
79048
79049
  content: () => a("div", { class: "dialog-content" }, [
79049
79050
  // 警告图标
79050
79051
  a("div", { class: "icon-container" }, [
79051
- a("i", { class: `iconfont arm-icon warning-icon ${b}` })
79052
+ a("i", { class: `iconfont arm-icon warning-icon ${x}` })
79052
79053
  ]),
79053
79054
  // title
79054
79055
  a("div", { class: "title" }, o),
@@ -79057,7 +79058,7 @@ function fee() {
79057
79058
  a("div", { class: "warning-text" }, r)
79058
79059
  ]),
79059
79060
  // 底部说明
79060
- m()
79061
+ g()
79061
79062
  ]),
79062
79063
  maskClosable: f,
79063
79064
  positiveText: l,
@@ -79070,7 +79071,8 @@ function fee() {
79070
79071
  size: "large"
79071
79072
  },
79072
79073
  onPositiveClick: d,
79073
- onNegativeClick: u
79074
+ onClose: u,
79075
+ onNegativeClick: p
79074
79076
  });
79075
79077
  }
79076
79078
  };