cleek 2.4.29 → 2.4.30
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 +6 -4
- package/dist/cleek.umd.js +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -22405,17 +22405,19 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
22405
22405
|
return list;
|
|
22406
22406
|
});
|
|
22407
22407
|
const realAcceptBtnType = computed$2(() => {
|
|
22408
|
+
var _a, _b;
|
|
22408
22409
|
if (props.acceptBtnType)
|
|
22409
22410
|
return props.acceptBtnType;
|
|
22410
|
-
if (cleekOptions2.popup.acceptBtnType)
|
|
22411
|
-
return cleekOptions2.popup.acceptBtnType;
|
|
22411
|
+
if ((_a = cleekOptions2.value) == null ? void 0 : _a.popup.acceptBtnType)
|
|
22412
|
+
return (_b = cleekOptions2.value) == null ? void 0 : _b.popup.acceptBtnType;
|
|
22412
22413
|
return "flat";
|
|
22413
22414
|
});
|
|
22414
22415
|
const realCancelBtnType = computed$2(() => {
|
|
22416
|
+
var _a, _b;
|
|
22415
22417
|
if (props.cancelBtnType)
|
|
22416
22418
|
return props.cancelBtnType;
|
|
22417
|
-
if (cleekOptions2.popup.cancelBtnType)
|
|
22418
|
-
return cleekOptions2.popup.cancelBtnType;
|
|
22419
|
+
if ((_a = cleekOptions2.value) == null ? void 0 : _a.popup.cancelBtnType)
|
|
22420
|
+
return (_b = cleekOptions2.value) == null ? void 0 : _b.popup.cancelBtnType;
|
|
22419
22421
|
return "outlined";
|
|
22420
22422
|
});
|
|
22421
22423
|
function onCancel() {
|