cleek 2.3.22 → 2.3.23
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/cleek.es.js +3 -2
- package/dist/cleek.umd.js +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -12907,6 +12907,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
12907
12907
|
modelValue: { type: Boolean },
|
|
12908
12908
|
title: { type: String, default: void 0 },
|
|
12909
12909
|
confirmButtons: { type: Boolean, default: false },
|
|
12910
|
+
notClose: { type: Boolean, default: false },
|
|
12910
12911
|
notCloseBtn: { type: Boolean, default: false },
|
|
12911
12912
|
notCloseByBg: { type: Boolean, default: false },
|
|
12912
12913
|
preventCloseOnCancel: { type: Boolean, default: false }
|
|
@@ -12931,7 +12932,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
12931
12932
|
emits("accept");
|
|
12932
12933
|
}
|
|
12933
12934
|
function onBgClick() {
|
|
12934
|
-
if (props.notCloseByBg)
|
|
12935
|
+
if (props.notCloseByBg || props.notClose)
|
|
12935
12936
|
return;
|
|
12936
12937
|
isActive.value = false;
|
|
12937
12938
|
}
|
|
@@ -12950,7 +12951,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
12950
12951
|
createElementVNode("div", _hoisted_3$3, [
|
|
12951
12952
|
__props.title ? (openBlock(), createElementBlock("h3", _hoisted_4$3, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
|
|
12952
12953
|
renderSlot(_ctx.$slots, "header"),
|
|
12953
|
-
!__props.notCloseBtn ? (openBlock(), createBlock(ckIcon, {
|
|
12954
|
+
!(__props.notCloseBtn || __props.notClose) ? (openBlock(), createBlock(ckIcon, {
|
|
12954
12955
|
key: 1,
|
|
12955
12956
|
class: "close",
|
|
12956
12957
|
icon: "times",
|