prez-components 4.1.4 → 4.3.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.
- package/README.md +0 -48
- package/dist/components/DataProvider.vue.d.ts +21 -21
- package/dist/components/ProvenanceDiagram.vue.d.ts +7 -0
- package/dist/components/bblock/GraphNode.vue.d.ts +8 -0
- package/dist/components/ui/alert/AlertTitle.vue.d.ts +2 -2
- package/dist/components/ui/badge/Badge.vue.d.ts +4 -3
- package/dist/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +2 -2
- package/dist/components/ui/button/Button.vue.d.ts +2 -2
- package/dist/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +1 -1
- package/dist/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +3 -3
- package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +36 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +1 -1
- package/dist/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +5 -2
- package/dist/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +1 -1
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +1 -1
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +1 -1
- package/dist/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +1 -1
- package/dist/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +1 -1
- package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +38 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +2 -1
- package/dist/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +1 -1
- package/dist/components/ui/dropdown-menu/index.d.ts +1 -1
- package/dist/components/ui/table/utils.d.ts +3 -0
- package/dist/components/ui/tooltip/Tooltip.vue.d.ts +1 -1
- package/dist/components/ui/tooltip/TooltipContent.vue.d.ts +1 -1
- package/dist/components/ui/tooltip/TooltipProvider.vue.d.ts +4 -2
- package/dist/components/ui/tooltip/TooltipTrigger.vue.d.ts +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/prez-components.css +1 -0
- package/dist/prez-components.js +128207 -92406
- package/dist/prez-components.umd.cjs +1133 -1110
- package/dist/types.d.ts +26 -0
- package/package.json +35 -27
- package/dist/style.css +0 -1
package/README.md
CHANGED
|
@@ -51,51 +51,3 @@ export default defineNuxtConfig({
|
|
|
51
51
|
...
|
|
52
52
|
});
|
|
53
53
|
```
|
|
54
|
-
|
|
55
|
-
## Developing `prez-components`
|
|
56
|
-
### Install & Run
|
|
57
|
-
|
|
58
|
-
Run in the project root:
|
|
59
|
-
```bash
|
|
60
|
-
pnpm install
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
and to run:
|
|
64
|
-
```bash
|
|
65
|
-
pnpm dev
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
### Writing Components for Overriding
|
|
69
|
-
To support deep overriding of components in Nuxt layers, components in this library need their prop type declared in `types.ts`, and any child component dependencies in the component library need to be declared in a `components` object in the props:
|
|
70
|
-
|
|
71
|
-
```typescript
|
|
72
|
-
// types.ts
|
|
73
|
-
export interface MyComponentProps {
|
|
74
|
-
// your prop types here
|
|
75
|
-
_components?: {
|
|
76
|
-
childComponent: Component,
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
Using these child components must be done dynamically with defaults:
|
|
82
|
-
|
|
83
|
-
```vue
|
|
84
|
-
// src/components/MyComponent.vue
|
|
85
|
-
<script lang="ts" setup>
|
|
86
|
-
import { MyComponentProps } from "@/types";
|
|
87
|
-
import childComponent from "./ChildComponent.vue";
|
|
88
|
-
|
|
89
|
-
const props = withDefaults(defineProps<MyComponentProps>(), {
|
|
90
|
-
_components: () => {
|
|
91
|
-
return {
|
|
92
|
-
childComponent: ChildComponent,
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
</script>
|
|
97
|
-
|
|
98
|
-
<template>
|
|
99
|
-
<component :is="props._components.childComponent" />
|
|
100
|
-
</template>
|
|
101
|
-
```
|
|
@@ -17,21 +17,21 @@ declare function __VLS_template(): {
|
|
|
17
17
|
properties: {
|
|
18
18
|
label?: {
|
|
19
19
|
language?: string | undefined;
|
|
20
|
-
datatype?: any | undefined;
|
|
20
|
+
datatype?: /*elided*/ any | undefined;
|
|
21
21
|
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
22
22
|
value: string;
|
|
23
23
|
termType: "Literal";
|
|
24
24
|
} | undefined;
|
|
25
25
|
description?: {
|
|
26
26
|
language?: string | undefined;
|
|
27
|
-
datatype?: any | undefined;
|
|
27
|
+
datatype?: /*elided*/ any | undefined;
|
|
28
28
|
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
29
29
|
value: string;
|
|
30
30
|
termType: "Literal";
|
|
31
31
|
} | undefined;
|
|
32
32
|
provenance?: {
|
|
33
33
|
language?: string | undefined;
|
|
34
|
-
datatype?: any | undefined;
|
|
34
|
+
datatype?: /*elided*/ any | undefined;
|
|
35
35
|
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
36
36
|
value: string;
|
|
37
37
|
termType: "Literal";
|
|
@@ -42,7 +42,7 @@ declare function __VLS_template(): {
|
|
|
42
42
|
parents?: {
|
|
43
43
|
label?: {
|
|
44
44
|
language?: string | undefined;
|
|
45
|
-
datatype?: any | undefined;
|
|
45
|
+
datatype?: /*elided*/ any | undefined;
|
|
46
46
|
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
47
47
|
value: string;
|
|
48
48
|
termType: "Literal";
|
|
@@ -56,7 +56,7 @@ declare function __VLS_template(): {
|
|
|
56
56
|
parents?: {
|
|
57
57
|
label?: {
|
|
58
58
|
language?: string | undefined;
|
|
59
|
-
datatype?: any | undefined;
|
|
59
|
+
datatype?: /*elided*/ any | undefined;
|
|
60
60
|
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
61
61
|
value: string;
|
|
62
62
|
termType: "Literal";
|
|
@@ -65,19 +65,19 @@ declare function __VLS_template(): {
|
|
|
65
65
|
url: string;
|
|
66
66
|
}[] | undefined;
|
|
67
67
|
} | undefined;
|
|
68
|
-
rdfTypes?: any[] | undefined;
|
|
68
|
+
rdfTypes?: /*elided*/ any[] | undefined;
|
|
69
69
|
systemProperties?: import('prez-lib').PrezProperties | undefined;
|
|
70
|
-
identifiers?: (any | {
|
|
70
|
+
identifiers?: (/*elided*/ any | {
|
|
71
71
|
language?: string | undefined;
|
|
72
|
-
datatype?: any | undefined;
|
|
72
|
+
datatype?: /*elided*/ any | undefined;
|
|
73
73
|
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
74
74
|
value: string;
|
|
75
75
|
termType: "Literal";
|
|
76
76
|
} | {
|
|
77
77
|
properties: import('prez-lib').PrezProperties;
|
|
78
78
|
list?: {
|
|
79
|
-
node: any;
|
|
80
|
-
list?: any[] | undefined;
|
|
79
|
+
node: /*elided*/ any;
|
|
80
|
+
list?: /*elided*/ any[] | undefined;
|
|
81
81
|
}[] | undefined;
|
|
82
82
|
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
83
83
|
value: string;
|
|
@@ -86,21 +86,21 @@ declare function __VLS_template(): {
|
|
|
86
86
|
properties?: import('prez-lib').PrezProperties | undefined;
|
|
87
87
|
label?: {
|
|
88
88
|
language?: string | undefined;
|
|
89
|
-
datatype?: any | undefined;
|
|
89
|
+
datatype?: /*elided*/ any | undefined;
|
|
90
90
|
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
91
91
|
value: string;
|
|
92
92
|
termType: "Literal";
|
|
93
93
|
} | undefined;
|
|
94
94
|
description?: {
|
|
95
95
|
language?: string | undefined;
|
|
96
|
-
datatype?: any | undefined;
|
|
96
|
+
datatype?: /*elided*/ any | undefined;
|
|
97
97
|
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
98
98
|
value: string;
|
|
99
99
|
termType: "Literal";
|
|
100
100
|
} | undefined;
|
|
101
101
|
provenance?: {
|
|
102
102
|
language?: string | undefined;
|
|
103
|
-
datatype?: any | undefined;
|
|
103
|
+
datatype?: /*elided*/ any | undefined;
|
|
104
104
|
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
105
105
|
value: string;
|
|
106
106
|
termType: "Literal";
|
|
@@ -111,7 +111,7 @@ declare function __VLS_template(): {
|
|
|
111
111
|
parents?: {
|
|
112
112
|
label?: {
|
|
113
113
|
language?: string | undefined;
|
|
114
|
-
datatype?: any | undefined;
|
|
114
|
+
datatype?: /*elided*/ any | undefined;
|
|
115
115
|
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
116
116
|
value: string;
|
|
117
117
|
termType: "Literal";
|
|
@@ -125,7 +125,7 @@ declare function __VLS_template(): {
|
|
|
125
125
|
parents?: {
|
|
126
126
|
label?: {
|
|
127
127
|
language?: string | undefined;
|
|
128
|
-
datatype?: any | undefined;
|
|
128
|
+
datatype?: /*elided*/ any | undefined;
|
|
129
129
|
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
130
130
|
value: string;
|
|
131
131
|
termType: "Literal";
|
|
@@ -134,24 +134,24 @@ declare function __VLS_template(): {
|
|
|
134
134
|
url: string;
|
|
135
135
|
}[] | undefined;
|
|
136
136
|
} | undefined;
|
|
137
|
-
rdfTypes?: any[] | undefined;
|
|
137
|
+
rdfTypes?: /*elided*/ any[] | undefined;
|
|
138
138
|
systemProperties?: import('prez-lib').PrezProperties | undefined;
|
|
139
|
-
identifiers?: (any | {
|
|
139
|
+
identifiers?: (/*elided*/ any | {
|
|
140
140
|
language?: string | undefined;
|
|
141
|
-
datatype?: any | undefined;
|
|
141
|
+
datatype?: /*elided*/ any | undefined;
|
|
142
142
|
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
143
143
|
value: string;
|
|
144
144
|
termType: "Literal";
|
|
145
145
|
} | {
|
|
146
146
|
properties: import('prez-lib').PrezProperties;
|
|
147
147
|
list?: {
|
|
148
|
-
node: any;
|
|
149
|
-
list?: any[] | undefined;
|
|
148
|
+
node: /*elided*/ any;
|
|
149
|
+
list?: /*elided*/ any[] | undefined;
|
|
150
150
|
}[] | undefined;
|
|
151
151
|
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
152
152
|
value: string;
|
|
153
153
|
termType: "BlankNode";
|
|
154
|
-
} | any)[] | undefined;
|
|
154
|
+
} | /*elided*/ any)[] | undefined;
|
|
155
155
|
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
156
156
|
value: string;
|
|
157
157
|
termType: "NamedNode";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ProvenanceDiagramProps } from '../types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<ProvenanceDiagramProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
"node:click": (...args: any[]) => void;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<ProvenanceDiagramProps> & Readonly<{
|
|
5
|
+
"onNode:click"?: ((...args: any[]) => any) | undefined;
|
|
6
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { GraphNodeProps } from '../../types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<GraphNodeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<GraphNodeProps> & Readonly<{}>, {
|
|
3
|
+
fill: string;
|
|
4
|
+
scale: number;
|
|
5
|
+
stroke: string;
|
|
6
|
+
itemClass: string;
|
|
7
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGGElement>;
|
|
8
|
+
export default _default;
|
|
@@ -8,10 +8,10 @@ declare function __VLS_template(): {
|
|
|
8
8
|
default?(_: {}): any;
|
|
9
9
|
};
|
|
10
10
|
refs: {};
|
|
11
|
-
rootEl:
|
|
11
|
+
rootEl: HTMLDivElement;
|
|
12
12
|
};
|
|
13
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
15
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
16
|
export default _default;
|
|
17
17
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { PrimitiveProps } from 'reka-ui';
|
|
1
2
|
import { HTMLAttributes } from 'vue';
|
|
2
3
|
import { BadgeVariants } from '.';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
+
type __VLS_Props = PrimitiveProps & {
|
|
4
5
|
variant?: BadgeVariants['variant'];
|
|
5
6
|
class?: HTMLAttributes['class'];
|
|
6
7
|
};
|
|
@@ -10,10 +11,10 @@ declare function __VLS_template(): {
|
|
|
10
11
|
default?(_: {}): any;
|
|
11
12
|
};
|
|
12
13
|
refs: {};
|
|
13
|
-
rootEl:
|
|
14
|
+
rootEl: any;
|
|
14
15
|
};
|
|
15
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
18
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
19
|
export default _default;
|
|
19
20
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'vue';
|
|
2
|
-
import { PrimitiveProps } from '
|
|
2
|
+
import { PrimitiveProps } from 'reka-ui';
|
|
3
3
|
type __VLS_Props = PrimitiveProps & {
|
|
4
4
|
class?: HTMLAttributes['class'];
|
|
5
5
|
};
|
|
@@ -13,7 +13,7 @@ declare function __VLS_template(): {
|
|
|
13
13
|
};
|
|
14
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
15
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
-
as: import('
|
|
16
|
+
as: import('reka-ui').AsTag | import('vue').Component;
|
|
17
17
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
19
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'vue';
|
|
2
|
-
import { PrimitiveProps } from '
|
|
2
|
+
import { PrimitiveProps } from 'reka-ui';
|
|
3
3
|
import { ButtonVariants } from '.';
|
|
4
4
|
interface Props extends PrimitiveProps {
|
|
5
5
|
variant?: ButtonVariants['variant'];
|
|
@@ -16,7 +16,7 @@ declare function __VLS_template(): {
|
|
|
16
16
|
};
|
|
17
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
18
|
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
19
|
-
as: import('
|
|
19
|
+
as: import('reka-ui').AsTag | import('vue').Component;
|
|
20
20
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
22
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DropdownMenuCheckboxItemProps } from 'radix-vue';
|
|
2
1
|
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { DropdownMenuCheckboxItemProps } from 'reka-ui';
|
|
3
3
|
type __VLS_Props = DropdownMenuCheckboxItemProps & {
|
|
4
4
|
class?: HTMLAttributes['class'];
|
|
5
5
|
};
|
|
@@ -14,10 +14,10 @@ declare function __VLS_template(): {
|
|
|
14
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
15
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
16
|
select: (event: Event) => any;
|
|
17
|
-
"update:
|
|
17
|
+
"update:modelValue": (payload: boolean) => any;
|
|
18
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
19
|
onSelect?: ((event: Event) => any) | undefined;
|
|
20
|
-
"onUpdate:
|
|
20
|
+
"onUpdate:modelValue"?: ((payload: boolean) => any) | undefined;
|
|
21
21
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
23
|
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { DropdownMenuContentProps } from 'reka-ui';
|
|
3
|
+
type __VLS_Props = DropdownMenuContentProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: any;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
17
|
+
pointerDownOutside: (event: import('reka-ui').PointerDownOutsideEvent) => any;
|
|
18
|
+
focusOutside: (event: import('reka-ui').FocusOutsideEvent) => any;
|
|
19
|
+
interactOutside: (event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any;
|
|
20
|
+
closeAutoFocus: (event: Event) => any;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
23
|
+
onPointerDownOutside?: ((event: import('reka-ui').PointerDownOutsideEvent) => any) | undefined;
|
|
24
|
+
onFocusOutside?: ((event: import('reka-ui').FocusOutsideEvent) => any) | undefined;
|
|
25
|
+
onInteractOutside?: ((event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any) | undefined;
|
|
26
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
sideOffset: number;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { DropdownMenuItemProps } from 'radix-vue';
|
|
2
1
|
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { DropdownMenuItemProps } from 'reka-ui';
|
|
3
3
|
type __VLS_Props = DropdownMenuItemProps & {
|
|
4
4
|
class?: HTMLAttributes['class'];
|
|
5
5
|
inset?: boolean;
|
|
6
|
+
variant?: 'default' | 'destructive';
|
|
6
7
|
};
|
|
7
8
|
declare function __VLS_template(): {
|
|
8
9
|
attrs: Partial<{}>;
|
|
@@ -13,7 +14,9 @@ declare function __VLS_template(): {
|
|
|
13
14
|
rootEl: any;
|
|
14
15
|
};
|
|
15
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
|
+
variant: "default" | "destructive";
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
21
|
export default _default;
|
|
19
22
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { DropdownMenuSubContentProps } from 'reka-ui';
|
|
3
|
+
type __VLS_Props = DropdownMenuSubContentProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: any;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
entryFocus: (event: Event) => any;
|
|
17
|
+
openAutoFocus: (event: Event) => any;
|
|
18
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
19
|
+
pointerDownOutside: (event: import('reka-ui').PointerDownOutsideEvent) => any;
|
|
20
|
+
focusOutside: (event: import('reka-ui').FocusOutsideEvent) => any;
|
|
21
|
+
interactOutside: (event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any;
|
|
22
|
+
closeAutoFocus: (event: Event) => any;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
+
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
25
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
26
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
27
|
+
onPointerDownOutside?: ((event: import('reka-ui').PointerDownOutsideEvent) => any) | undefined;
|
|
28
|
+
onFocusOutside?: ((event: import('reka-ui').FocusOutsideEvent) => any) | undefined;
|
|
29
|
+
onInteractOutside?: ((event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any) | undefined;
|
|
30
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
31
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { DropdownMenuSubTriggerProps } from 'radix-vue';
|
|
2
1
|
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { DropdownMenuSubTriggerProps } from 'reka-ui';
|
|
3
3
|
type __VLS_Props = DropdownMenuSubTriggerProps & {
|
|
4
4
|
class?: HTMLAttributes['class'];
|
|
5
|
+
inset?: boolean;
|
|
5
6
|
};
|
|
6
7
|
declare function __VLS_template(): {
|
|
7
8
|
attrs: Partial<{}>;
|
|
@@ -12,4 +12,4 @@ export { default as DropdownMenuSub } from './DropdownMenuSub.vue';
|
|
|
12
12
|
export { default as DropdownMenuSubContent } from './DropdownMenuSubContent.vue';
|
|
13
13
|
export { default as DropdownMenuSubTrigger } from './DropdownMenuSubTrigger.vue';
|
|
14
14
|
export { default as DropdownMenuTrigger } from './DropdownMenuTrigger.vue';
|
|
15
|
-
export { DropdownMenuPortal } from '
|
|
15
|
+
export { DropdownMenuPortal } from 'reka-ui';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TooltipProviderProps } from '
|
|
1
|
+
import { TooltipProviderProps } from 'reka-ui';
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
attrs: Partial<{}>;
|
|
4
4
|
slots: {
|
|
@@ -8,7 +8,9 @@ declare function __VLS_template(): {
|
|
|
8
8
|
rootEl: any;
|
|
9
9
|
};
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: import('vue').DefineComponent<TooltipProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TooltipProviderProps> & Readonly<{}>, {
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<TooltipProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TooltipProviderProps> & Readonly<{}>, {
|
|
12
|
+
delayDuration: number;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
14
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
15
|
export default _default;
|
|
14
16
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { default as CopyButton } from './components/CopyButton.vue';
|
|
2
2
|
import { default as DataProvider } from './components/DataProvider.vue';
|
|
3
|
+
import { default as DependencyViewer } from './components/bblock/DependencyViewer.vue';
|
|
3
4
|
import { default as Facets } from './components/Facets.vue';
|
|
4
5
|
import { default as ItemBreadcrumb } from './components/ItemBreadcrumb.vue';
|
|
5
6
|
import { default as ItemHeader } from './components/ItemHeader.vue';
|
|
@@ -15,8 +16,9 @@ import { default as Node } from './components/Node.vue';
|
|
|
15
16
|
import { default as NodeList } from './components/NodeList.vue';
|
|
16
17
|
import { default as Objects } from './components/Objects.vue';
|
|
17
18
|
import { default as Predicate } from './components/Predicate.vue';
|
|
19
|
+
import { default as ProvenanceDiagram } from './components/ProvenanceDiagram.vue';
|
|
18
20
|
import { default as SearchResults } from './components/SearchResults.vue';
|
|
19
21
|
import { default as Term } from './components/Term.vue';
|
|
20
22
|
import { default as TermList } from './components/TermList.vue';
|
|
21
23
|
export * from './types';
|
|
22
|
-
export { CopyButton, DataProvider, Facets, ItemBreadcrumb, ItemHeader, ItemLink, ItemList, ItemProfiles, ItemTable, ItemTableRow, Literal, Loading, Message, Node, NodeList, Objects, Predicate, SearchResults, Term, TermList, };
|
|
24
|
+
export { CopyButton, DataProvider, DependencyViewer, Facets, ItemBreadcrumb, ItemHeader, ItemLink, ItemList, ItemProfiles, ItemTable, ItemTableRow, Literal, Loading, Message, Node, NodeList, Objects, Predicate, ProvenanceDiagram, SearchResults, Term, TermList, };
|