feat(grid): add TemporalCellEditor component for enhanced date/time editing
This commit is contained in:
1 parent
43c38bc5bc
commit
13246aa5b9
3 files changed
+350
-42
No files matched your search
@@ -10,18 +10,22 @@ defineOptions({
|
||||
inheritAttrs: false,
|
||||
});
|
||||
|
||||
const props = withDefaults(defineProps<SelectContentProps & { class?: HTMLAttributes["class"] }>(), {
|
||||
position: "popper",
|
||||
});
|
||||
const props = withDefaults(
|
||||
defineProps<SelectContentProps & { class?: HTMLAttributes["class"]; disablePortal?: boolean }>(),
|
||||
{
|
||||
position: "popper",
|
||||
disablePortal: false,
|
||||
},
|
||||
);
|
||||
const emits = defineEmits<SelectContentEmits>();
|
||||
|
||||
const delegatedProps = reactiveOmit(props, "class");
|
||||
const delegatedProps = reactiveOmit(props, "class", "disablePortal");
|
||||
|
||||
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<SelectPortal>
|
||||
<SelectPortal :disabled="disablePortal">
|
||||
<SelectContent
|
||||
data-slot="select-content"
|
||||
:data-align-trigger="position === 'item-aligned'"
|
||||
|
||||
Reference in new issue
Block a user