鍒濆鎻愪氦锛氱墰鍙暟鎹鐞嗙郴缁?- 鍖呭惈鍚庣Spring Boot鍜屽墠绔疺ue3椤圭洰
This commit is contained in:
77
admin-system/node_modules/element-plus/lib/components/button/src/button.js
generated
vendored
Normal file
77
admin-system/node_modules/element-plus/lib/components/button/src/button.js
generated
vendored
Normal file
@@ -0,0 +1,77 @@
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
var iconsVue = require('@element-plus/icons-vue');
|
||||
var runtime = require('../../../utils/vue/props/runtime.js');
|
||||
var index = require('../../../hooks/use-size/index.js');
|
||||
var icon = require('../../../utils/vue/icon.js');
|
||||
|
||||
const buttonTypes = [
|
||||
"default",
|
||||
"primary",
|
||||
"success",
|
||||
"warning",
|
||||
"info",
|
||||
"danger",
|
||||
"text",
|
||||
""
|
||||
];
|
||||
const buttonNativeTypes = ["button", "submit", "reset"];
|
||||
const buttonProps = runtime.buildProps({
|
||||
size: index.useSizeProp,
|
||||
disabled: Boolean,
|
||||
type: {
|
||||
type: String,
|
||||
values: buttonTypes,
|
||||
default: ""
|
||||
},
|
||||
icon: {
|
||||
type: icon.iconPropType
|
||||
},
|
||||
nativeType: {
|
||||
type: String,
|
||||
values: buttonNativeTypes,
|
||||
default: "button"
|
||||
},
|
||||
loading: Boolean,
|
||||
loadingIcon: {
|
||||
type: icon.iconPropType,
|
||||
default: () => iconsVue.Loading
|
||||
},
|
||||
plain: {
|
||||
type: Boolean,
|
||||
default: void 0
|
||||
},
|
||||
text: {
|
||||
type: Boolean,
|
||||
default: void 0
|
||||
},
|
||||
link: Boolean,
|
||||
bg: Boolean,
|
||||
autofocus: Boolean,
|
||||
round: {
|
||||
type: Boolean,
|
||||
default: void 0
|
||||
},
|
||||
circle: Boolean,
|
||||
color: String,
|
||||
dark: Boolean,
|
||||
autoInsertSpace: {
|
||||
type: Boolean,
|
||||
default: void 0
|
||||
},
|
||||
tag: {
|
||||
type: runtime.definePropType([String, Object]),
|
||||
default: "button"
|
||||
}
|
||||
});
|
||||
const buttonEmits = {
|
||||
click: (evt) => evt instanceof MouseEvent
|
||||
};
|
||||
|
||||
exports.buttonEmits = buttonEmits;
|
||||
exports.buttonNativeTypes = buttonNativeTypes;
|
||||
exports.buttonProps = buttonProps;
|
||||
exports.buttonTypes = buttonTypes;
|
||||
//# sourceMappingURL=button.js.map
|
||||
Reference in New Issue
Block a user