✨(component): update
This commit is contained in:
parent
e141750076
commit
b138bdb7fd
@ -30,8 +30,8 @@ const classes = computed(() => {
|
||||
});
|
||||
|
||||
const styles = computed<StyleValue>(() => {
|
||||
return [props.color ? `background-color: ${props.color}` : ""]
|
||||
})
|
||||
return [props.color ? `background-color: ${props.color}` : ""];
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
@ -44,7 +44,7 @@ import {
|
||||
useResizeObserver,
|
||||
useThrottleFn,
|
||||
} from "@vueuse/core";
|
||||
import { PopperTrigger } from '../tooltip/index.vue';
|
||||
import { PopperTrigger } from "../tooltip/index.vue";
|
||||
|
||||
export interface PopperProps {
|
||||
el: HTMLElement;
|
||||
|
@ -1 +1 @@
|
||||
export type PopperTrigger = "click" | "hover" | "focus" | "contextMenu";
|
||||
export type PopperTrigger = "click" | "hover" | "focus" | "contextMenu";
|
||||
|
@ -140,4 +140,4 @@ const getPathD = computed(() => {
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</template>
|
||||
|
@ -129,4 +129,4 @@ watch(
|
||||
></div>
|
||||
<slot></slot>
|
||||
</div>
|
||||
</template>
|
||||
</template>
|
||||
|
@ -1,2 +1,2 @@
|
||||
export type RippleType = "out" | "inset";
|
||||
export type RippleTrigger = "always" | "mouseenter" | "click"
|
||||
export type RippleTrigger = "always" | "mouseenter" | "click";
|
||||
|
@ -31,7 +31,9 @@ const props = withDefaults(defineProps<SelectOptionProps>(), {
|
||||
|
||||
const searchValue: Ref<string> = inject("searchValue") as Ref<string>;
|
||||
const selectRef: Ref<HTMLElement> = inject("selectRef") as Ref<HTMLElement>;
|
||||
const selectedValue: WritableComputedRef<any> = inject("selectedValue") as WritableComputedRef<any>;
|
||||
const selectedValue: WritableComputedRef<any> = inject(
|
||||
"selectedValue"
|
||||
) as WritableComputedRef<any>;
|
||||
const multiple: ComputedRef = inject("multiple") as ComputedRef;
|
||||
|
||||
const handleSelect = () => {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: "StandardVue",
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: "StandardRange",
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: "Vertical",
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: "VerticalRange",
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
@ -25,4 +25,4 @@ export function makeDots(props: any) {
|
||||
}
|
||||
dots.push(100);
|
||||
return dots;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user