You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
697 B
27 lines
697 B
|
2 years ago
|
import { placements } from '@popperjs/core';
|
||
|
|
import '../../../utils/index.mjs';
|
||
|
|
import '../../../constants/index.mjs';
|
||
|
|
import { buildProps } from '../../../utils/vue/props/runtime.mjs';
|
||
|
|
import { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';
|
||
|
|
import { isNumber } from '../../../utils/types.mjs';
|
||
|
|
|
||
|
|
const sliderButtonProps = buildProps({
|
||
|
|
modelValue: {
|
||
|
|
type: Number,
|
||
|
|
default: 0
|
||
|
|
},
|
||
|
|
vertical: Boolean,
|
||
|
|
tooltipClass: String,
|
||
|
|
placement: {
|
||
|
|
type: String,
|
||
|
|
values: placements,
|
||
|
|
default: "top"
|
||
|
|
}
|
||
|
|
});
|
||
|
|
const sliderButtonEmits = {
|
||
|
|
[UPDATE_MODEL_EVENT]: (value) => isNumber(value)
|
||
|
|
};
|
||
|
|
|
||
|
|
export { sliderButtonEmits, sliderButtonProps };
|
||
|
|
//# sourceMappingURL=button.mjs.map
|