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