hcui-package 2.0.82 → 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.
- package/dist/hcui-package.es.js +14 -13
- package/dist/hcui-package.umd.js +2 -2
- package/package.json +1 -1
package/dist/hcui-package.es.js
CHANGED
|
@@ -35434,7 +35434,7 @@ const rY = {
|
|
|
35434
35434
|
}, te = async (X) => {
|
|
35435
35435
|
a.value = X;
|
|
35436
35436
|
let W;
|
|
35437
|
-
o.listApi ? W = await o.listApi() : W = o.data, X && (W = X);
|
|
35437
|
+
o.listApi ? W = await o.listApi() : W = o.data || [], X && (W = X);
|
|
35438
35438
|
const ue = tl(W);
|
|
35439
35439
|
p.value = tY(ue, o.childrenField, o.codeField, o.labelField, o.keyField, o.disableNodeCheck), y.value = tl(p.value);
|
|
35440
35440
|
}, _ = (X) => {
|
|
@@ -84329,24 +84329,25 @@ function Koe() {
|
|
|
84329
84329
|
negativeText: s = "取消",
|
|
84330
84330
|
type: c = "primary",
|
|
84331
84331
|
maskClosable: f = !0,
|
|
84332
|
-
|
|
84333
|
-
|
|
84334
|
-
|
|
84335
|
-
|
|
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,
|
|
84343
|
-
window.$dialog[
|
|
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:
|
|
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 ${
|
|
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
|
-
|
|
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:
|
|
84371
|
-
onClose:
|
|
84372
|
-
onNegativeClick:
|
|
84371
|
+
onPositiveClick: p,
|
|
84372
|
+
onClose: y,
|
|
84373
|
+
onNegativeClick: m
|
|
84373
84374
|
});
|
|
84374
84375
|
}
|
|
84375
84376
|
};
|