keep-vue
Version:
Keep Vue is an open-source component library built on top of Vue3 and Tailwind CSS. It offers a collection of pre-designed UI components and styles that you can easily integrate into your web applications.
77 lines (76 loc) • 2.33 kB
JavaScript
/// <reference types=".vue-global-types/vue_3.5_false.d.ts" />
import { computed } from "vue";
import { cn } from "../../utils/cn";
import { stepPointTheme } from "./stepPointTheme";
const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
let __VLS_typeProps;
const props = withDefaults(defineProps(), {
variant: "default",
class: "",
});
const restProps = computed(() => {
const { class: _, variant, completed, ...rest } = props;
return {
...rest,
"data-completed": completed,
};
});
const __VLS_withDefaultsArg = (function (t) { return t; })({
variant: "default",
class: "",
});
const __VLS_fnComponent = (await import('vue')).defineComponent({});
;
let __VLS_functionalComponentProps;
function __VLS_template() {
const __VLS_ctx = {};
const __VLS_localComponents = {
...{},
...{},
...__VLS_ctx,
};
let __VLS_components;
const __VLS_localDirectives = {
...{},
...__VLS_ctx,
};
let __VLS_directives;
let __VLS_styleScopedClasses;
let __VLS_resolvedLocalAndGlobalComponents;
__VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ref: ("HTMLDivElement"), ...(__VLS_ctx.restProps), ...{ class: ((__VLS_ctx.cn(__VLS_ctx.variant === 'default' && __VLS_ctx.stepPointTheme.default, __VLS_ctx.variant === 'border' && __VLS_ctx.stepPointTheme.border, __VLS_ctx.variant === 'icon' && __VLS_ctx.stepPointTheme.icon, props.class))) }, });
// @ts-ignore navigation for `const HTMLDivElement = ref()`
__VLS_ctx.HTMLDivElement;
var __VLS_0 = {};
var __VLS_slots;
var __VLS_inheritedAttrs;
const __VLS_refs = {
"HTMLDivElement": __VLS_nativeElements['div'],
};
var $refs;
return {
slots: __VLS_slots,
refs: $refs,
attrs: {},
};
}
;
const __VLS_self = (await import('vue')).defineComponent({
setup() {
return {
cn: cn,
stepPointTheme: stepPointTheme,
restProps: restProps,
};
},
__typeProps: {},
props: {},
});
const __VLS_component = (await import('vue')).defineComponent({
setup() {
return {};
},
__typeProps: {},
props: {},
});
export default {};
;