routie dev init since i didn't adhere to any proper guidance up until now
This commit is contained in:
Generated
Vendored
+37
@@ -0,0 +1,37 @@
|
||||
import { mergeProps as _mergeProps, createVNode as _createVNode } from "vue";
|
||||
// Components
|
||||
import { makeVStepperActionsProps, VStepperActions } from "../../components/VStepper/VStepperActions.js"; // Utilities
|
||||
import { genericComponent, propsFactory, useRender } from "../../util/index.js"; // Types
|
||||
export const makeVStepperVerticalActionsProps = propsFactory({
|
||||
...makeVStepperActionsProps()
|
||||
}, 'VStepperActions');
|
||||
export const VStepperVerticalActions = genericComponent()({
|
||||
name: 'VStepperVerticalActions',
|
||||
props: makeVStepperVerticalActionsProps(),
|
||||
emits: {
|
||||
'click:prev': () => true,
|
||||
'click:next': () => true
|
||||
},
|
||||
setup(props, {
|
||||
emit,
|
||||
slots
|
||||
}) {
|
||||
function onClickPrev() {
|
||||
emit('click:prev');
|
||||
}
|
||||
function onClickNext() {
|
||||
emit('click:next');
|
||||
}
|
||||
useRender(() => {
|
||||
const stepperActionsProps = VStepperActions.filterProps(props);
|
||||
return _createVNode(VStepperActions, _mergeProps({
|
||||
"class": "v-stepper-vertical-actions"
|
||||
}, stepperActionsProps, {
|
||||
"onClick:prev": onClickPrev,
|
||||
"onClick:next": onClickNext
|
||||
}), slots);
|
||||
});
|
||||
return {};
|
||||
}
|
||||
});
|
||||
//# sourceMappingURL=VStepperVerticalActions.js.map
|
||||
Reference in New Issue
Block a user