hcui-package 2.0.89 → 2.0.90
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/hcui-package.es.js +17 -13
- package/dist/hcui-package.umd.js +1 -1
- package/package.json +1 -1
package/dist/hcui-package.es.js
CHANGED
|
@@ -84340,25 +84340,27 @@ function Koe() {
|
|
|
84340
84340
|
negativeText: s = "取消",
|
|
84341
84341
|
type: c = "primary",
|
|
84342
84342
|
maskClosable: f = !0,
|
|
84343
|
-
|
|
84344
|
-
|
|
84345
|
-
|
|
84346
|
-
|
|
84347
|
-
|
|
84343
|
+
closeOnEsc: d = !0,
|
|
84344
|
+
closable: p = !0,
|
|
84345
|
+
class: y,
|
|
84346
|
+
onConfirm: m,
|
|
84347
|
+
onClose: v,
|
|
84348
|
+
onCancel: g = () => Promise.resolve()
|
|
84349
|
+
} = n, h = `center-${c}-dialog ${y || ""}`, x = () => 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" }, [
|
|
84348
84350
|
l("div", {
|
|
84349
84351
|
class: "description-text",
|
|
84350
84352
|
innerHTML: a
|
|
84351
84353
|
})
|
|
84352
84354
|
]) : l("div", { class: "description" }, [
|
|
84353
84355
|
l("div", { class: "description-text" }, a)
|
|
84354
|
-
]) : null : null,
|
|
84355
|
-
window.$dialog[
|
|
84356
|
+
]) : null : null, C = c === "primary" ? "info" : c, S = c === "success" ? "icon-check arm-check" : "icon-jingshi arm-jingshi";
|
|
84357
|
+
window.$dialog[C]({
|
|
84356
84358
|
showIcon: !1,
|
|
84357
|
-
class:
|
|
84359
|
+
class: h,
|
|
84358
84360
|
content: () => l("div", { class: "dialog-content" }, [
|
|
84359
84361
|
// 警告图标
|
|
84360
84362
|
l("div", { class: "icon-container" }, [
|
|
84361
|
-
l("i", { class: `iconfont arm-icon warning-icon ${
|
|
84363
|
+
l("i", { class: `iconfont arm-icon warning-icon ${S}` })
|
|
84362
84364
|
]),
|
|
84363
84365
|
// title
|
|
84364
84366
|
l("div", { class: "title" }, o),
|
|
@@ -84367,9 +84369,11 @@ function Koe() {
|
|
|
84367
84369
|
l("div", { class: "warning-text" }, r)
|
|
84368
84370
|
]),
|
|
84369
84371
|
// 底部说明
|
|
84370
|
-
|
|
84372
|
+
x()
|
|
84371
84373
|
]),
|
|
84372
84374
|
maskClosable: f,
|
|
84375
|
+
closeOnEsc: d,
|
|
84376
|
+
closable: p,
|
|
84373
84377
|
positiveText: i,
|
|
84374
84378
|
negativeText: s,
|
|
84375
84379
|
positiveButtonProps: {
|
|
@@ -84379,9 +84383,9 @@ function Koe() {
|
|
|
84379
84383
|
negativeButtonProps: {
|
|
84380
84384
|
size: "large"
|
|
84381
84385
|
},
|
|
84382
|
-
onPositiveClick:
|
|
84383
|
-
onClose:
|
|
84384
|
-
onNegativeClick:
|
|
84386
|
+
onPositiveClick: m,
|
|
84387
|
+
onClose: v,
|
|
84388
|
+
onNegativeClick: g
|
|
84385
84389
|
});
|
|
84386
84390
|
}
|
|
84387
84391
|
};
|