forked from jchomaz/Vulture
Tracking de l'application VApp (IHM du jeu)
This commit is contained in:
30
VApp/node_modules/vuetify/lib/components/VCarousel/VCarouselItem.mjs
generated
vendored
Normal file
30
VApp/node_modules/vuetify/lib/components/VCarousel/VCarouselItem.mjs
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
import { createVNode as _createVNode, mergeProps as _mergeProps, resolveDirective as _resolveDirective } from "vue";
|
||||
// Components
|
||||
import { makeVImgProps, VImg } from "../VImg/VImg.mjs";
|
||||
import { makeVWindowItemProps, VWindowItem } from "../VWindow/VWindowItem.mjs"; // Utilities
|
||||
import { genericComponent, propsFactory, useRender } from "../../util/index.mjs"; // Types
|
||||
export const makeVCarouselItemProps = propsFactory({
|
||||
...makeVImgProps(),
|
||||
...makeVWindowItemProps()
|
||||
}, 'VCarouselItem');
|
||||
export const VCarouselItem = genericComponent()({
|
||||
name: 'VCarouselItem',
|
||||
inheritAttrs: false,
|
||||
props: makeVCarouselItemProps(),
|
||||
setup(props, _ref) {
|
||||
let {
|
||||
slots,
|
||||
attrs
|
||||
} = _ref;
|
||||
useRender(() => {
|
||||
const imgProps = VImg.filterProps(props);
|
||||
const windowItemProps = VWindowItem.filterProps(props);
|
||||
return _createVNode(VWindowItem, _mergeProps({
|
||||
"class": "v-carousel-item"
|
||||
}, windowItemProps), {
|
||||
default: () => [_createVNode(VImg, _mergeProps(attrs, imgProps), slots)]
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
//# sourceMappingURL=VCarouselItem.mjs.map
|
||||
Reference in New Issue
Block a user