@globalbrain/sefirot 2.38.0 → 2.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { type
|
|
2
|
+
import { type Component } from 'vue'
|
|
3
3
|
|
|
4
4
|
defineProps<{
|
|
5
|
-
comp:
|
|
5
|
+
comp: Component
|
|
6
|
+
props?: Record<string, any>
|
|
6
7
|
}>()
|
|
7
8
|
</script>
|
|
8
9
|
|
|
9
10
|
<template>
|
|
10
|
-
<
|
|
11
|
+
<component :is="comp" v-bind="props" />
|
|
11
12
|
</template>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type MaybeRef, useElementBounding, useWindowSize } from '@vueuse/core'
|
|
2
|
-
import { type Ref } from 'vue'
|
|
2
|
+
import { type Component, type Ref } from 'vue'
|
|
3
3
|
import { ref, unref } from 'vue'
|
|
4
4
|
|
|
5
5
|
export type DropdownSection =
|
|
@@ -74,7 +74,8 @@ export interface DropdownSectionActionsOption {
|
|
|
74
74
|
|
|
75
75
|
export interface DropdownSectionComponent extends DropdownSectionBase {
|
|
76
76
|
type: 'component'
|
|
77
|
-
component:
|
|
77
|
+
component: Component
|
|
78
|
+
props?: Record<string, any>
|
|
78
79
|
}
|
|
79
80
|
|
|
80
81
|
export interface ManualDropdownPosition {
|