hcui-package 2.0.23 → 2.0.24

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