lew-ui 2.7.55 → 2.7.57
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/index.css +1 -1
- package/dist/index.js +7 -6
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11297,19 +11297,19 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
11297
11297
|
class: "lew-modal-footer"
|
|
11298
11298
|
}, {
|
|
11299
11299
|
default: withCtx(() => [
|
|
11300
|
-
|
|
11300
|
+
!props.hideCloseButton ? (openBlock(), createBlock(unref(LewButton), normalizeProps(mergeProps({ key: 0 }, {
|
|
11301
11301
|
size: "small",
|
|
11302
11302
|
type: "light",
|
|
11303
11303
|
color: "gray",
|
|
11304
11304
|
text: unref(locale).t("modal.closeText"),
|
|
11305
11305
|
...props.closeButtonProps
|
|
11306
|
-
})), null, 16),
|
|
11307
|
-
|
|
11306
|
+
})), null, 16)) : createCommentVNode("", true),
|
|
11307
|
+
!props.hideOkButton ? (openBlock(), createBlock(unref(LewButton), normalizeProps(mergeProps({ key: 1 }, {
|
|
11308
11308
|
size: "small",
|
|
11309
11309
|
text: unref(locale).t("modal.okText"),
|
|
11310
11310
|
color: "primary",
|
|
11311
11311
|
...props.okButtonProps
|
|
11312
|
-
})), null, 16)
|
|
11312
|
+
})), null, 16)) : createCommentVNode("", true)
|
|
11313
11313
|
]),
|
|
11314
11314
|
_: 1
|
|
11315
11315
|
})) : createCommentVNode("", true)
|
|
@@ -11323,7 +11323,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
11323
11323
|
};
|
|
11324
11324
|
}
|
|
11325
11325
|
});
|
|
11326
|
-
const LewModal = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-
|
|
11326
|
+
const LewModal = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-9f3da8e0"]]);
|
|
11327
11327
|
const popokButtonProps = {
|
|
11328
11328
|
icon: {
|
|
11329
11329
|
type: null,
|
|
@@ -29478,7 +29478,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
29478
29478
|
}
|
|
29479
29479
|
);
|
|
29480
29480
|
async function handleClose() {
|
|
29481
|
-
if (props.disabled || isClosing.value)
|
|
29481
|
+
if (props.disabled || isClosing.value)
|
|
29482
|
+
return;
|
|
29482
29483
|
if (props.close) {
|
|
29483
29484
|
isClosing.value = true;
|
|
29484
29485
|
await props.close();
|