hcui-package 2.0.83 → 2.0.84

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.
@@ -84329,24 +84329,25 @@ function Koe() {
84329
84329
  negativeText: s = "取消",
84330
84330
  type: c = "primary",
84331
84331
  maskClosable: f = !0,
84332
- onConfirm: d,
84333
- onClose: p,
84334
- onCancel: y = () => Promise.resolve()
84335
- } = n, m = `center-${c}-dialog`, v = () => a ? typeof a == "function" ? l("div", { class: "description" }, [a()]) : typeof a == "object" ? l("div", { class: "description" }, [a]) : typeof a == "string" ? e(a) ? l("div", { class: "description" }, [
84332
+ class: d,
84333
+ onConfirm: p,
84334
+ onClose: y,
84335
+ onCancel: m = () => Promise.resolve()
84336
+ } = n, v = `center-${c}-dialog ${d || ""}`, g = () => a ? typeof a == "function" ? l("div", { class: "description" }, [a()]) : typeof a == "object" ? l("div", { class: "description" }, [a]) : typeof a == "string" ? e(a) ? l("div", { class: "description" }, [
84336
84337
  l("div", {
84337
84338
  class: "description-text",
84338
84339
  innerHTML: a
84339
84340
  })
84340
84341
  ]) : l("div", { class: "description" }, [
84341
84342
  l("div", { class: "description-text" }, a)
84342
- ]) : null : null, g = c === "primary" ? "info" : c, h = c === "success" ? "icon-check arm-check" : "icon-jingshi arm-jingshi";
84343
- window.$dialog[g]({
84343
+ ]) : null : null, h = c === "primary" ? "info" : c, x = c === "success" ? "icon-check arm-check" : "icon-jingshi arm-jingshi";
84344
+ window.$dialog[h]({
84344
84345
  showIcon: !1,
84345
- class: m,
84346
+ class: v,
84346
84347
  content: () => l("div", { class: "dialog-content" }, [
84347
84348
  // 警告图标
84348
84349
  l("div", { class: "icon-container" }, [
84349
- l("i", { class: `iconfont arm-icon warning-icon ${h}` })
84350
+ l("i", { class: `iconfont arm-icon warning-icon ${x}` })
84350
84351
  ]),
84351
84352
  // title
84352
84353
  l("div", { class: "title" }, o),
@@ -84355,7 +84356,7 @@ function Koe() {
84355
84356
  l("div", { class: "warning-text" }, r)
84356
84357
  ]),
84357
84358
  // 底部说明
84358
- v()
84359
+ g()
84359
84360
  ]),
84360
84361
  maskClosable: f,
84361
84362
  positiveText: i,
@@ -84367,9 +84368,9 @@ function Koe() {
84367
84368
  negativeButtonProps: {
84368
84369
  size: "large"
84369
84370
  },
84370
- onPositiveClick: d,
84371
- onClose: p,
84372
- onNegativeClick: y
84371
+ onPositiveClick: p,
84372
+ onClose: y,
84373
+ onNegativeClick: m
84373
84374
  });
84374
84375
  }
84375
84376
  };