tav-ui
Version:
40 lines (37 loc) • 1.14 kB
JavaScript
import '../../../locales/index2.mjs';
import { tavI18n } from '../../../locales/transfer2.mjs';
const footerProps = {
confirmLoading: { type: Boolean },
showCancelBtn: { type: Boolean, default: true },
cancelButtonProps: Object,
cancelText: { type: String, default: tavI18n("Tav.common.cancelText") },
showOkBtn: { type: Boolean, default: true },
okButtonProps: Object,
okText: { type: String, default: tavI18n("Tav.common.okText") },
okType: { type: String, default: "primary" },
showFooter: { type: Boolean },
footerHeight: {
type: [String, Number],
default: 60
}
};
const drawerProps = {
isDetail: { type: Boolean },
title: { type: String, default: "" },
loadingText: { type: String },
showDetailBack: { type: Boolean, default: true },
visible: { type: Boolean },
loading: { type: Boolean },
maskClosable: { type: Boolean, default: true },
getContainer: {
type: [Object, String]
},
closeFunc: {
type: [Function, Object],
default: null
},
destroyOnClose: { type: Boolean },
...footerProps
};
export { drawerProps, footerProps };
//# sourceMappingURL=types2.mjs.map