prez-components 4.0.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/LICENSE +29 -0
- package/README.md +101 -0
- package/dist/components/CopyButton.vue.d.ts +3 -0
- package/dist/components/DataProvider.vue.d.ts +184 -0
- package/dist/components/ItemBreadcrumb.vue.d.ts +8 -0
- package/dist/components/ItemHeader.vue.d.ts +8 -0
- package/dist/components/ItemLink.vue.d.ts +31 -0
- package/dist/components/ItemList.vue.d.ts +9 -0
- package/dist/components/ItemProfiles.vue.d.ts +8 -0
- package/dist/components/ItemTable.vue.d.ts +7 -0
- package/dist/components/ItemTableRow.vue.d.ts +23 -0
- package/dist/components/Literal.vue.d.ts +41 -0
- package/dist/components/Loading.vue.d.ts +3 -0
- package/dist/components/Message.vue.d.ts +3 -0
- package/dist/components/Node.vue.d.ts +40 -0
- package/dist/components/NodeList.vue.d.ts +9 -0
- package/dist/components/Objects.vue.d.ts +21 -0
- package/dist/components/Predicate.vue.d.ts +21 -0
- package/dist/components/SearchResults.vue.d.ts +9 -0
- package/dist/components/Term.vue.d.ts +11 -0
- package/dist/components/TermList.vue.d.ts +10 -0
- package/dist/components/ui/alert/Alert.vue.d.ts +24 -0
- package/dist/components/ui/alert/AlertDescription.vue.d.ts +21 -0
- package/dist/components/ui/alert/AlertTitle.vue.d.ts +21 -0
- package/dist/components/ui/alert/index.d.ts +8 -0
- package/dist/components/ui/badge/Badge.vue.d.ts +24 -0
- package/dist/components/ui/badge/index.d.ts +6 -0
- package/dist/components/ui/breadcrumb/Breadcrumb.vue.d.ts +21 -0
- package/dist/components/ui/breadcrumb/BreadcrumbEllipsis.vue.d.ts +21 -0
- package/dist/components/ui/breadcrumb/BreadcrumbItem.vue.d.ts +21 -0
- package/dist/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +24 -0
- package/dist/components/ui/breadcrumb/BreadcrumbList.vue.d.ts +21 -0
- package/dist/components/ui/breadcrumb/BreadcrumbPage.vue.d.ts +21 -0
- package/dist/components/ui/breadcrumb/BreadcrumbSeparator.vue.d.ts +21 -0
- package/dist/components/ui/breadcrumb/index.d.ts +7 -0
- package/dist/components/ui/button/Button.vue.d.ts +26 -0
- package/dist/components/ui/button/index.d.ts +7 -0
- package/dist/components/ui/skeleton/Skeleton.vue.d.ts +6 -0
- package/dist/components/ui/skeleton/index.d.ts +1 -0
- package/dist/components/ui/table/Table.vue.d.ts +21 -0
- package/dist/components/ui/table/TableBody.vue.d.ts +21 -0
- package/dist/components/ui/table/TableCaption.vue.d.ts +21 -0
- package/dist/components/ui/table/TableCell.vue.d.ts +21 -0
- package/dist/components/ui/table/TableEmpty.vue.d.ts +25 -0
- package/dist/components/ui/table/TableFooter.vue.d.ts +21 -0
- package/dist/components/ui/table/TableHead.vue.d.ts +21 -0
- package/dist/components/ui/table/TableHeader.vue.d.ts +21 -0
- package/dist/components/ui/table/TableRow.vue.d.ts +21 -0
- package/dist/components/ui/table/index.d.ts +9 -0
- package/dist/index.d.ts +21 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/prez-components.js +100352 -0
- package/dist/prez-components.umd.cjs +2436 -0
- package/dist/style.css +1 -0
- package/dist/types.d.ts +225 -0
- package/dist/utils/helpers.d.ts +2 -0
- package/dist/vite.svg +1 -0
- package/package.json +67 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024, RDFLib Team
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms, with or without
|
|
7
|
+
modification, are permitted provided that the following conditions are met:
|
|
8
|
+
|
|
9
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
10
|
+
list of conditions and the following disclaimer.
|
|
11
|
+
|
|
12
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
13
|
+
this list of conditions and the following disclaimer in the documentation
|
|
14
|
+
and/or other materials provided with the distribution.
|
|
15
|
+
|
|
16
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
17
|
+
contributors may be used to endorse or promote products derived from
|
|
18
|
+
this software without specific prior written permission.
|
|
19
|
+
|
|
20
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
21
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
22
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
23
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
24
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
25
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
26
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
27
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
28
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
29
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
package/README.md
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# Prez Components
|
|
2
|
+
A Vue.js component library for rendering RDF data for use with Prez UI. Uses [`prez-lib`](https://github.com/rdflib/prez-ui/tree/main/packages/prez-lib) for RDF/JS types and processing RDF.
|
|
3
|
+
|
|
4
|
+
Based on the [shadcn-vue](https://www.shadcn-vue.com) component library.
|
|
5
|
+
|
|
6
|
+
## Install
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
npm install prez-components
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## Usage
|
|
13
|
+
|
|
14
|
+
```vue
|
|
15
|
+
<script lang="ts" setup>
|
|
16
|
+
import { literal, node } from "prez-lib";
|
|
17
|
+
import { Node } from "prez-components";
|
|
18
|
+
|
|
19
|
+
const term = node({
|
|
20
|
+
value: "https://example.com",
|
|
21
|
+
label: literal("term"),
|
|
22
|
+
links: [
|
|
23
|
+
{
|
|
24
|
+
value: "/"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
});
|
|
28
|
+
</script>
|
|
29
|
+
|
|
30
|
+
<template>
|
|
31
|
+
<div>
|
|
32
|
+
<Node :term="term" />
|
|
33
|
+
</div>
|
|
34
|
+
</template>
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Make sure to import the `prez-components` stylesheet:
|
|
38
|
+
|
|
39
|
+
```typescript
|
|
40
|
+
// main.ts
|
|
41
|
+
import "prez-components/style.css";
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
For Nuxt:
|
|
45
|
+
|
|
46
|
+
```typescript
|
|
47
|
+
// nuxt.config.ts
|
|
48
|
+
export default defineNuxtConfig({
|
|
49
|
+
...
|
|
50
|
+
css: ["prez-components/style.css"],
|
|
51
|
+
...
|
|
52
|
+
});
|
|
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
|
+
```
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { CopyButtonProps } from '../types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<CopyButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CopyButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { PrezData, PrezFocusNode, PrezConceptNode } from 'prez-lib';
|
|
2
|
+
import { DataProviderProps } from '../types';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
slots: {
|
|
5
|
+
loading?(_: {}): any;
|
|
6
|
+
error?(_: {
|
|
7
|
+
error: Error;
|
|
8
|
+
}): any;
|
|
9
|
+
default?(_: {
|
|
10
|
+
data: PrezData;
|
|
11
|
+
item: PrezFocusNode;
|
|
12
|
+
list: PrezFocusNode[];
|
|
13
|
+
hasMore: boolean;
|
|
14
|
+
concepts: PrezConceptNode[];
|
|
15
|
+
parents: import('prez-lib').PrezLinkParent[];
|
|
16
|
+
properties: {
|
|
17
|
+
label?: {
|
|
18
|
+
language?: string | undefined;
|
|
19
|
+
datatype?: any | undefined;
|
|
20
|
+
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
21
|
+
value: string;
|
|
22
|
+
termType: "Literal";
|
|
23
|
+
} | undefined;
|
|
24
|
+
description?: {
|
|
25
|
+
language?: string | undefined;
|
|
26
|
+
datatype?: any | undefined;
|
|
27
|
+
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
28
|
+
value: string;
|
|
29
|
+
termType: "Literal";
|
|
30
|
+
} | undefined;
|
|
31
|
+
provenance?: {
|
|
32
|
+
language?: string | undefined;
|
|
33
|
+
datatype?: any | undefined;
|
|
34
|
+
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
35
|
+
value: string;
|
|
36
|
+
termType: "Literal";
|
|
37
|
+
} | undefined;
|
|
38
|
+
curie?: string | undefined;
|
|
39
|
+
links?: {
|
|
40
|
+
value: string;
|
|
41
|
+
parents?: {
|
|
42
|
+
label?: {
|
|
43
|
+
language?: string | undefined;
|
|
44
|
+
datatype?: any | undefined;
|
|
45
|
+
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
46
|
+
value: string;
|
|
47
|
+
termType: "Literal";
|
|
48
|
+
} | undefined;
|
|
49
|
+
segment: string;
|
|
50
|
+
url: string;
|
|
51
|
+
}[] | undefined;
|
|
52
|
+
}[] | undefined;
|
|
53
|
+
members?: {
|
|
54
|
+
value: string;
|
|
55
|
+
parents?: {
|
|
56
|
+
label?: {
|
|
57
|
+
language?: string | undefined;
|
|
58
|
+
datatype?: any | undefined;
|
|
59
|
+
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
60
|
+
value: string;
|
|
61
|
+
termType: "Literal";
|
|
62
|
+
} | undefined;
|
|
63
|
+
segment: string;
|
|
64
|
+
url: string;
|
|
65
|
+
}[] | undefined;
|
|
66
|
+
} | undefined;
|
|
67
|
+
rdfTypes?: any[] | undefined;
|
|
68
|
+
systemProperties?: import('prez-lib').PrezProperties | undefined;
|
|
69
|
+
identifiers?: (any | {
|
|
70
|
+
language?: string | undefined;
|
|
71
|
+
datatype?: any | undefined;
|
|
72
|
+
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
73
|
+
value: string;
|
|
74
|
+
termType: "Literal";
|
|
75
|
+
} | {
|
|
76
|
+
properties: import('prez-lib').PrezProperties;
|
|
77
|
+
list?: {
|
|
78
|
+
node: any;
|
|
79
|
+
list?: any[] | undefined;
|
|
80
|
+
}[] | undefined;
|
|
81
|
+
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
82
|
+
value: string;
|
|
83
|
+
termType: "BlankNode";
|
|
84
|
+
} | {
|
|
85
|
+
properties?: import('prez-lib').PrezProperties | undefined;
|
|
86
|
+
label?: {
|
|
87
|
+
language?: string | undefined;
|
|
88
|
+
datatype?: any | undefined;
|
|
89
|
+
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
90
|
+
value: string;
|
|
91
|
+
termType: "Literal";
|
|
92
|
+
} | undefined;
|
|
93
|
+
description?: {
|
|
94
|
+
language?: string | undefined;
|
|
95
|
+
datatype?: any | undefined;
|
|
96
|
+
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
97
|
+
value: string;
|
|
98
|
+
termType: "Literal";
|
|
99
|
+
} | undefined;
|
|
100
|
+
provenance?: {
|
|
101
|
+
language?: string | undefined;
|
|
102
|
+
datatype?: any | undefined;
|
|
103
|
+
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
104
|
+
value: string;
|
|
105
|
+
termType: "Literal";
|
|
106
|
+
} | undefined;
|
|
107
|
+
curie?: string | undefined;
|
|
108
|
+
links?: {
|
|
109
|
+
value: string;
|
|
110
|
+
parents?: {
|
|
111
|
+
label?: {
|
|
112
|
+
language?: string | undefined;
|
|
113
|
+
datatype?: any | undefined;
|
|
114
|
+
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
115
|
+
value: string;
|
|
116
|
+
termType: "Literal";
|
|
117
|
+
} | undefined;
|
|
118
|
+
segment: string;
|
|
119
|
+
url: string;
|
|
120
|
+
}[] | undefined;
|
|
121
|
+
}[] | undefined;
|
|
122
|
+
members?: {
|
|
123
|
+
value: string;
|
|
124
|
+
parents?: {
|
|
125
|
+
label?: {
|
|
126
|
+
language?: string | undefined;
|
|
127
|
+
datatype?: any | undefined;
|
|
128
|
+
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
129
|
+
value: string;
|
|
130
|
+
termType: "Literal";
|
|
131
|
+
} | undefined;
|
|
132
|
+
segment: string;
|
|
133
|
+
url: string;
|
|
134
|
+
}[] | undefined;
|
|
135
|
+
} | undefined;
|
|
136
|
+
rdfTypes?: any[] | undefined;
|
|
137
|
+
systemProperties?: import('prez-lib').PrezProperties | undefined;
|
|
138
|
+
identifiers?: (any | {
|
|
139
|
+
language?: string | undefined;
|
|
140
|
+
datatype?: any | undefined;
|
|
141
|
+
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
142
|
+
value: string;
|
|
143
|
+
termType: "Literal";
|
|
144
|
+
} | {
|
|
145
|
+
properties: import('prez-lib').PrezProperties;
|
|
146
|
+
list?: {
|
|
147
|
+
node: any;
|
|
148
|
+
list?: any[] | undefined;
|
|
149
|
+
}[] | undefined;
|
|
150
|
+
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
151
|
+
value: string;
|
|
152
|
+
termType: "BlankNode";
|
|
153
|
+
} | any)[] | undefined;
|
|
154
|
+
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
155
|
+
value: string;
|
|
156
|
+
termType: "NamedNode";
|
|
157
|
+
})[] | undefined;
|
|
158
|
+
equals: (other: import('prez-lib').PrezTerm | null | undefined) => boolean;
|
|
159
|
+
value: string;
|
|
160
|
+
termType: "NamedNode";
|
|
161
|
+
}[];
|
|
162
|
+
profiles: import('prez-lib').PrezProfileHeader[];
|
|
163
|
+
type: import('prez-lib').PrezDataTypes;
|
|
164
|
+
url: string;
|
|
165
|
+
baseUrl: string;
|
|
166
|
+
}): any;
|
|
167
|
+
};
|
|
168
|
+
refs: {};
|
|
169
|
+
attrs: Partial<{}>;
|
|
170
|
+
};
|
|
171
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
172
|
+
declare const __VLS_component: import('vue').DefineComponent<DataProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DataProviderProps> & Readonly<{}>, {
|
|
173
|
+
_components: {
|
|
174
|
+
loading: import('vue').Component;
|
|
175
|
+
message: import('vue').Component;
|
|
176
|
+
};
|
|
177
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
178
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
179
|
+
export default _default;
|
|
180
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
181
|
+
new (): {
|
|
182
|
+
$slots: S;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ItemBreadcrumbProps } from '../types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<ItemBreadcrumbProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ItemBreadcrumbProps> & Readonly<{}>, {
|
|
3
|
+
_components: {
|
|
4
|
+
literal: import('vue').Component;
|
|
5
|
+
itemLink: import('vue').Component;
|
|
6
|
+
};
|
|
7
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ItemHeaderProps } from '../types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<ItemHeaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ItemHeaderProps> & Readonly<{}>, {
|
|
3
|
+
_components: {
|
|
4
|
+
node: import('vue').Component;
|
|
5
|
+
literal: import('vue').Component;
|
|
6
|
+
};
|
|
7
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ItemLinkProps } from '../types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
slots: {
|
|
4
|
+
wrapper?(_: {
|
|
5
|
+
url: string | undefined;
|
|
6
|
+
title: string | undefined;
|
|
7
|
+
secondaryUrl: string;
|
|
8
|
+
target: string;
|
|
9
|
+
}): any;
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {};
|
|
15
|
+
attrs: Partial<{}>;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<ItemLinkProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ItemLinkProps> & Readonly<{}>, {
|
|
19
|
+
target: string;
|
|
20
|
+
_components: {
|
|
21
|
+
copyButton: import('vue').Component;
|
|
22
|
+
};
|
|
23
|
+
rel: string;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ItemListProps } from '../types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<ItemListProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ItemListProps> & Readonly<{}>, {
|
|
3
|
+
_components: {
|
|
4
|
+
predicate: import('vue').Component;
|
|
5
|
+
node: import('vue').Component;
|
|
6
|
+
objects: import('vue').Component;
|
|
7
|
+
};
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ItemProfilesProps } from '../types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<ItemProfilesProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ItemProfilesProps> & Readonly<{}>, {
|
|
3
|
+
_components: {
|
|
4
|
+
itemLink: import('vue').Component;
|
|
5
|
+
loading: import('vue').Component;
|
|
6
|
+
};
|
|
7
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ItemTableProps } from '../types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<ItemTableProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ItemTableProps> & Readonly<{}>, {
|
|
3
|
+
_components: {
|
|
4
|
+
itemTableRow: import('vue').Component;
|
|
5
|
+
};
|
|
6
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ItemTableRowProps } from '../types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
slots: {
|
|
4
|
+
row?(_: {}): any;
|
|
5
|
+
columns?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<ItemTableRowProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ItemTableRowProps> & Readonly<{}>, {
|
|
12
|
+
_components: {
|
|
13
|
+
predicate: import('vue').Component;
|
|
14
|
+
objects: import('vue').Component;
|
|
15
|
+
};
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { PrezLiteral } from 'prez-lib';
|
|
2
|
+
import { LiteralProps } from '../types';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {
|
|
6
|
+
term: PrezLiteral;
|
|
7
|
+
variant: "item-table" | "item-list" | "item-header" | "search-results" | "item-profiles" | undefined;
|
|
8
|
+
}): any;
|
|
9
|
+
text?(_: {
|
|
10
|
+
term: PrezLiteral;
|
|
11
|
+
text: string;
|
|
12
|
+
}): any;
|
|
13
|
+
text?(_: {
|
|
14
|
+
term: PrezLiteral;
|
|
15
|
+
text: string;
|
|
16
|
+
}): any;
|
|
17
|
+
language?(_: {
|
|
18
|
+
term: PrezLiteral;
|
|
19
|
+
language: string;
|
|
20
|
+
}): any;
|
|
21
|
+
datatype?(_: {
|
|
22
|
+
term: PrezLiteral;
|
|
23
|
+
datatype: import('prez-lib').PrezNode;
|
|
24
|
+
}): any;
|
|
25
|
+
};
|
|
26
|
+
refs: {};
|
|
27
|
+
attrs: Partial<{}>;
|
|
28
|
+
};
|
|
29
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
30
|
+
declare const __VLS_component: import('vue').DefineComponent<LiteralProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LiteralProps> & Readonly<{}>, {
|
|
31
|
+
_components: {
|
|
32
|
+
term: import('vue').Component;
|
|
33
|
+
};
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
35
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { LoadingProps } from '../types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<LoadingProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LoadingProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { MessageProps } from '../types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<MessageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MessageProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { PrezNode } from 'prez-lib';
|
|
2
|
+
import { NodeProps } from '../types';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
slots: {
|
|
5
|
+
wrapper?(_: {
|
|
6
|
+
term: PrezNode;
|
|
7
|
+
link: string;
|
|
8
|
+
label: string;
|
|
9
|
+
tooltip: string | undefined;
|
|
10
|
+
variant: "item-table" | "item-list" | "item-header" | "search-results" | "item-profiles" | undefined;
|
|
11
|
+
}): any;
|
|
12
|
+
default?(_: {
|
|
13
|
+
term: PrezNode;
|
|
14
|
+
link: string;
|
|
15
|
+
label: string;
|
|
16
|
+
tooltip: string | undefined;
|
|
17
|
+
}): any;
|
|
18
|
+
default?(_: {
|
|
19
|
+
term: PrezNode;
|
|
20
|
+
link: string;
|
|
21
|
+
label: string;
|
|
22
|
+
tooltip: string | undefined;
|
|
23
|
+
}): any;
|
|
24
|
+
};
|
|
25
|
+
refs: {};
|
|
26
|
+
attrs: Partial<{}>;
|
|
27
|
+
};
|
|
28
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
29
|
+
declare const __VLS_component: import('vue').DefineComponent<NodeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<NodeProps> & Readonly<{}>, {
|
|
30
|
+
_components: {
|
|
31
|
+
itemLink: import('vue').Component;
|
|
32
|
+
};
|
|
33
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
35
|
+
export default _default;
|
|
36
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NodeListProps } from '../types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<NodeListProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<NodeListProps> & Readonly<{}>, {
|
|
3
|
+
_components: {
|
|
4
|
+
node: import('vue').Component;
|
|
5
|
+
};
|
|
6
|
+
level: number;
|
|
7
|
+
maxLevels: number;
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ObjectsProps } from '../types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<ObjectsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ObjectsProps> & Readonly<{}>, {
|
|
11
|
+
_components: {
|
|
12
|
+
term: import('vue').Component;
|
|
13
|
+
};
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PredicateProps } from '../types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<PredicateProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PredicateProps> & Readonly<{}>, {
|
|
11
|
+
_components: {
|
|
12
|
+
node: import('vue').Component;
|
|
13
|
+
};
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SearchResultsProps } from '../types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<SearchResultsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SearchResultsProps> & Readonly<{}>, {
|
|
3
|
+
_components: {
|
|
4
|
+
node: import('vue').Component;
|
|
5
|
+
term: import('vue').Component;
|
|
6
|
+
literal: import('vue').Component;
|
|
7
|
+
};
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TermProps } from '../types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<TermProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TermProps> & Readonly<{}>, {
|
|
3
|
+
_components: {
|
|
4
|
+
literal: import('vue').Component;
|
|
5
|
+
node: import('vue').Component;
|
|
6
|
+
nodeList: import('vue').Component;
|
|
7
|
+
itemTable: import('vue').Component;
|
|
8
|
+
termList: import('vue').Component;
|
|
9
|
+
};
|
|
10
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TermListProps } from '../types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<TermListProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TermListProps> & Readonly<{}>, {
|
|
3
|
+
_components: {
|
|
4
|
+
node: import('vue').Component;
|
|
5
|
+
literal: import('vue').Component;
|
|
6
|
+
nodeList: import('vue').Component;
|
|
7
|
+
};
|
|
8
|
+
level: number;
|
|
9
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { AlertVariants } from '.';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
12
|
+
class?: HTMLAttributes["class"];
|
|
13
|
+
variant?: AlertVariants["variant"];
|
|
14
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
15
|
+
class?: HTMLAttributes["class"];
|
|
16
|
+
variant?: AlertVariants["variant"];
|
|
17
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
11
|
+
class?: HTMLAttributes["class"];
|
|
12
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
13
|
+
class?: HTMLAttributes["class"];
|
|
14
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|