@abraca/nuxt 1.8.2 → 1.9.1
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 +27 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +42 -4
- package/dist/runtime/components/docs/ADocsNavigation.d.vue.ts +155 -0
- package/dist/runtime/components/docs/ADocsNavigation.vue +154 -0
- package/dist/runtime/components/docs/ADocsNavigation.vue.d.ts +155 -0
- package/dist/runtime/components/docs/ADocsSearch.d.vue.ts +249 -0
- package/dist/runtime/components/docs/ADocsSearch.vue +187 -0
- package/dist/runtime/components/docs/ADocsSearch.vue.d.ts +249 -0
- package/dist/runtime/components/docs/ADocsSearchButton.d.vue.ts +253 -0
- package/dist/runtime/components/docs/ADocsSearchButton.vue +99 -0
- package/dist/runtime/components/docs/ADocsSearchButton.vue.d.ts +253 -0
- package/dist/runtime/components/docs/ADocsSurround.d.vue.ts +56 -0
- package/dist/runtime/components/docs/ADocsSurround.vue +68 -0
- package/dist/runtime/components/docs/ADocsSurround.vue.d.ts +56 -0
- package/dist/runtime/components/docs/ADocsToc.d.vue.ts +117 -0
- package/dist/runtime/components/docs/ADocsToc.vue +194 -0
- package/dist/runtime/components/docs/ADocsToc.vue.d.ts +117 -0
- package/dist/runtime/components/editor/ADocLinkPopover.vue +1 -5
- package/dist/runtime/components/renderers/AMediaRenderer.vue +1 -1
- package/dist/runtime/components/shell/ADocPanelSettings.d.vue.ts +32 -2
- package/dist/runtime/components/shell/ADocPanelSettings.vue +289 -2
- package/dist/runtime/components/shell/ADocPanelSettings.vue.d.ts +32 -2
- package/dist/runtime/composables/useDocsSearch.d.ts +24 -0
- package/dist/runtime/composables/useDocsSearch.js +34 -0
- package/dist/runtime/extensions/doc-embed.js +2 -1
- package/dist/runtime/extensions/doc-link-drop.js +4 -4
- package/dist/runtime/extensions/doc-link.d.ts +12 -0
- package/dist/runtime/extensions/doc-link.js +60 -0
- package/dist/runtime/extensions/views/DocEmbedView.vue +18 -3
- package/dist/runtime/extensions/views/DocLinkView.d.vue.ts +4 -0
- package/dist/runtime/extensions/views/DocLinkView.vue +71 -0
- package/dist/runtime/extensions/views/DocLinkView.vue.d.ts +4 -0
- package/dist/runtime/plugin-abracadabra.client.js +18 -2
- package/dist/runtime/plugins/core.plugin.js +3 -0
- package/dist/runtime/server/plugins/abracadabra-service.js +3 -1
- package/dist/runtime/theme/content/_shared.d.ts +6 -0
- package/dist/runtime/theme/content/_shared.js +6 -0
- package/dist/runtime/theme/content/content-navigation.d.ts +120 -0
- package/dist/runtime/theme/content/content-navigation.js +155 -0
- package/dist/runtime/theme/content/content-search-button.d.ts +16 -0
- package/dist/runtime/theme/content/content-search-button.js +15 -0
- package/dist/runtime/theme/content/content-search.d.ts +24 -0
- package/dist/runtime/theme/content/content-search.js +23 -0
- package/dist/runtime/theme/content/content-surround.d.ts +22 -0
- package/dist/runtime/theme/content/content-surround.js +23 -0
- package/dist/runtime/theme/content/content-toc.d.ts +84 -0
- package/dist/runtime/theme/content/content-toc.js +94 -0
- package/dist/runtime/theme/content/index.d.ts +5 -0
- package/dist/runtime/theme/content/index.js +5 -0
- package/dist/runtime/utils/content.d.ts +19 -0
- package/dist/runtime/utils/content.js +23 -0
- package/dist/runtime/utils/docReferenceEdges.js +1 -1
- package/package.json +14 -7
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
size: {
|
|
5
|
+
type: null;
|
|
6
|
+
required: false;
|
|
7
|
+
};
|
|
8
|
+
icon: {
|
|
9
|
+
type: null;
|
|
10
|
+
required: false;
|
|
11
|
+
};
|
|
12
|
+
placeholder: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: false;
|
|
15
|
+
};
|
|
16
|
+
autofocus: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
required: false;
|
|
19
|
+
};
|
|
20
|
+
loading: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
required: false;
|
|
23
|
+
};
|
|
24
|
+
loadingIcon: {
|
|
25
|
+
type: null;
|
|
26
|
+
required: false;
|
|
27
|
+
};
|
|
28
|
+
close: {
|
|
29
|
+
type: (ObjectConstructor | BooleanConstructor)[];
|
|
30
|
+
required: false;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
closeIcon: {
|
|
34
|
+
type: null;
|
|
35
|
+
required: false;
|
|
36
|
+
};
|
|
37
|
+
shortcut: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
required: false;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
links: {
|
|
43
|
+
type: ArrayConstructor;
|
|
44
|
+
required: false;
|
|
45
|
+
};
|
|
46
|
+
navigation: {
|
|
47
|
+
type: ArrayConstructor;
|
|
48
|
+
required: false;
|
|
49
|
+
};
|
|
50
|
+
groups: {
|
|
51
|
+
type: ArrayConstructor;
|
|
52
|
+
required: false;
|
|
53
|
+
};
|
|
54
|
+
files: {
|
|
55
|
+
type: ArrayConstructor;
|
|
56
|
+
required: false;
|
|
57
|
+
};
|
|
58
|
+
fuse: {
|
|
59
|
+
type: ObjectConstructor;
|
|
60
|
+
required: false;
|
|
61
|
+
};
|
|
62
|
+
colorMode: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
required: false;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
class: {
|
|
68
|
+
type: null;
|
|
69
|
+
required: false;
|
|
70
|
+
};
|
|
71
|
+
ui: {
|
|
72
|
+
type: ObjectConstructor;
|
|
73
|
+
required: false;
|
|
74
|
+
};
|
|
75
|
+
title: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
required: false;
|
|
78
|
+
};
|
|
79
|
+
description: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
required: false;
|
|
82
|
+
};
|
|
83
|
+
overlay: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
required: false;
|
|
86
|
+
};
|
|
87
|
+
transition: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
required: false;
|
|
90
|
+
};
|
|
91
|
+
content: {
|
|
92
|
+
type: ObjectConstructor;
|
|
93
|
+
required: false;
|
|
94
|
+
};
|
|
95
|
+
dismissible: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
required: false;
|
|
98
|
+
};
|
|
99
|
+
fullscreen: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
required: false;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
modal: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
required: false;
|
|
107
|
+
};
|
|
108
|
+
portal: {
|
|
109
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
110
|
+
required: false;
|
|
111
|
+
skipCheck: boolean;
|
|
112
|
+
};
|
|
113
|
+
searchTerm: {
|
|
114
|
+
type: import("vue").PropType<string>;
|
|
115
|
+
};
|
|
116
|
+
}>, {
|
|
117
|
+
commandPaletteRef: Readonly<import("vue").ShallowRef<any, any>>;
|
|
118
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
119
|
+
"update:searchTerm": (value: string | undefined) => any;
|
|
120
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
121
|
+
size: {
|
|
122
|
+
type: null;
|
|
123
|
+
required: false;
|
|
124
|
+
};
|
|
125
|
+
icon: {
|
|
126
|
+
type: null;
|
|
127
|
+
required: false;
|
|
128
|
+
};
|
|
129
|
+
placeholder: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
required: false;
|
|
132
|
+
};
|
|
133
|
+
autofocus: {
|
|
134
|
+
type: BooleanConstructor;
|
|
135
|
+
required: false;
|
|
136
|
+
};
|
|
137
|
+
loading: {
|
|
138
|
+
type: BooleanConstructor;
|
|
139
|
+
required: false;
|
|
140
|
+
};
|
|
141
|
+
loadingIcon: {
|
|
142
|
+
type: null;
|
|
143
|
+
required: false;
|
|
144
|
+
};
|
|
145
|
+
close: {
|
|
146
|
+
type: (ObjectConstructor | BooleanConstructor)[];
|
|
147
|
+
required: false;
|
|
148
|
+
default: boolean;
|
|
149
|
+
};
|
|
150
|
+
closeIcon: {
|
|
151
|
+
type: null;
|
|
152
|
+
required: false;
|
|
153
|
+
};
|
|
154
|
+
shortcut: {
|
|
155
|
+
type: StringConstructor;
|
|
156
|
+
required: false;
|
|
157
|
+
default: string;
|
|
158
|
+
};
|
|
159
|
+
links: {
|
|
160
|
+
type: ArrayConstructor;
|
|
161
|
+
required: false;
|
|
162
|
+
};
|
|
163
|
+
navigation: {
|
|
164
|
+
type: ArrayConstructor;
|
|
165
|
+
required: false;
|
|
166
|
+
};
|
|
167
|
+
groups: {
|
|
168
|
+
type: ArrayConstructor;
|
|
169
|
+
required: false;
|
|
170
|
+
};
|
|
171
|
+
files: {
|
|
172
|
+
type: ArrayConstructor;
|
|
173
|
+
required: false;
|
|
174
|
+
};
|
|
175
|
+
fuse: {
|
|
176
|
+
type: ObjectConstructor;
|
|
177
|
+
required: false;
|
|
178
|
+
};
|
|
179
|
+
colorMode: {
|
|
180
|
+
type: BooleanConstructor;
|
|
181
|
+
required: false;
|
|
182
|
+
default: boolean;
|
|
183
|
+
};
|
|
184
|
+
class: {
|
|
185
|
+
type: null;
|
|
186
|
+
required: false;
|
|
187
|
+
};
|
|
188
|
+
ui: {
|
|
189
|
+
type: ObjectConstructor;
|
|
190
|
+
required: false;
|
|
191
|
+
};
|
|
192
|
+
title: {
|
|
193
|
+
type: StringConstructor;
|
|
194
|
+
required: false;
|
|
195
|
+
};
|
|
196
|
+
description: {
|
|
197
|
+
type: StringConstructor;
|
|
198
|
+
required: false;
|
|
199
|
+
};
|
|
200
|
+
overlay: {
|
|
201
|
+
type: BooleanConstructor;
|
|
202
|
+
required: false;
|
|
203
|
+
};
|
|
204
|
+
transition: {
|
|
205
|
+
type: BooleanConstructor;
|
|
206
|
+
required: false;
|
|
207
|
+
};
|
|
208
|
+
content: {
|
|
209
|
+
type: ObjectConstructor;
|
|
210
|
+
required: false;
|
|
211
|
+
};
|
|
212
|
+
dismissible: {
|
|
213
|
+
type: BooleanConstructor;
|
|
214
|
+
required: false;
|
|
215
|
+
};
|
|
216
|
+
fullscreen: {
|
|
217
|
+
type: BooleanConstructor;
|
|
218
|
+
required: false;
|
|
219
|
+
default: boolean;
|
|
220
|
+
};
|
|
221
|
+
modal: {
|
|
222
|
+
type: BooleanConstructor;
|
|
223
|
+
required: false;
|
|
224
|
+
};
|
|
225
|
+
portal: {
|
|
226
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
227
|
+
required: false;
|
|
228
|
+
skipCheck: boolean;
|
|
229
|
+
};
|
|
230
|
+
searchTerm: {
|
|
231
|
+
type: import("vue").PropType<string>;
|
|
232
|
+
};
|
|
233
|
+
}>> & Readonly<{
|
|
234
|
+
"onUpdate:searchTerm"?: ((value: string | undefined) => any) | undefined;
|
|
235
|
+
}>, {
|
|
236
|
+
close: boolean | Record<string, any>;
|
|
237
|
+
shortcut: string;
|
|
238
|
+
transition: boolean;
|
|
239
|
+
autofocus: boolean;
|
|
240
|
+
loading: boolean;
|
|
241
|
+
colorMode: boolean;
|
|
242
|
+
overlay: boolean;
|
|
243
|
+
dismissible: boolean;
|
|
244
|
+
fullscreen: boolean;
|
|
245
|
+
modal: boolean;
|
|
246
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, __VLS_Slots>;
|
|
247
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
248
|
+
$slots: S;
|
|
249
|
+
});
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
import theme from "../../theme/content/content-search";
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<script setup>
|
|
6
|
+
import { computed, useTemplateRef } from "vue";
|
|
7
|
+
import { useForwardProps } from "reka-ui";
|
|
8
|
+
import { defu } from "defu";
|
|
9
|
+
import { reactivePick } from "@vueuse/core";
|
|
10
|
+
import { useAppConfig, useColorMode, defineShortcuts } from "#imports";
|
|
11
|
+
import { useComponentUI } from "@nuxt/ui/composables/useComponentUI";
|
|
12
|
+
import { useLocale } from "@nuxt/ui/composables/useLocale";
|
|
13
|
+
import { omit, transformUI } from "@nuxt/ui/utils";
|
|
14
|
+
import { tv } from "@nuxt/ui/utils/tv";
|
|
15
|
+
import { useDocsSearch } from "../../composables/useDocsSearch";
|
|
16
|
+
const props = defineProps({
|
|
17
|
+
size: { type: null, required: false },
|
|
18
|
+
icon: { type: null, required: false },
|
|
19
|
+
placeholder: { type: String, required: false },
|
|
20
|
+
autofocus: { type: Boolean, required: false },
|
|
21
|
+
loading: { type: Boolean, required: false },
|
|
22
|
+
loadingIcon: { type: null, required: false },
|
|
23
|
+
close: { type: [Boolean, Object], required: false, default: true },
|
|
24
|
+
closeIcon: { type: null, required: false },
|
|
25
|
+
shortcut: { type: String, required: false, default: "meta_k" },
|
|
26
|
+
links: { type: Array, required: false },
|
|
27
|
+
navigation: { type: Array, required: false },
|
|
28
|
+
groups: { type: Array, required: false },
|
|
29
|
+
files: { type: Array, required: false },
|
|
30
|
+
fuse: { type: Object, required: false },
|
|
31
|
+
colorMode: { type: Boolean, required: false, default: true },
|
|
32
|
+
class: { type: null, required: false },
|
|
33
|
+
ui: { type: Object, required: false },
|
|
34
|
+
title: { type: String, required: false },
|
|
35
|
+
description: { type: String, required: false },
|
|
36
|
+
overlay: { type: Boolean, required: false },
|
|
37
|
+
transition: { type: Boolean, required: false },
|
|
38
|
+
content: { type: Object, required: false },
|
|
39
|
+
dismissible: { type: Boolean, required: false },
|
|
40
|
+
fullscreen: { type: Boolean, required: false, default: false },
|
|
41
|
+
modal: { type: Boolean, required: false },
|
|
42
|
+
portal: { type: [Boolean, String], required: false, skipCheck: true }
|
|
43
|
+
});
|
|
44
|
+
const slots = defineSlots();
|
|
45
|
+
const searchTerm = defineModel("searchTerm", { type: String, ...{ default: "" } });
|
|
46
|
+
const { t } = useLocale();
|
|
47
|
+
const { open, mapNavigationItems, postFilter } = useDocsSearch();
|
|
48
|
+
const colorMode = useColorMode();
|
|
49
|
+
const appConfig = useAppConfig();
|
|
50
|
+
const uiProp = useComponentUI("contentSearch", props);
|
|
51
|
+
const commandPaletteProps = useForwardProps(reactivePick(props, "size", "icon", "placeholder", "autofocus", "loading", "loadingIcon", "close", "closeIcon"));
|
|
52
|
+
const modalProps = useForwardProps(reactivePick(props, "overlay", "transition", "content", "dismissible", "fullscreen", "modal", "portal"));
|
|
53
|
+
const getProxySlots = () => omit(slots, ["content"]);
|
|
54
|
+
const fuse = computed(() => defu({}, props.fuse, {
|
|
55
|
+
fuseOptions: {
|
|
56
|
+
includeMatches: true
|
|
57
|
+
}
|
|
58
|
+
}));
|
|
59
|
+
const ui = computed(() => tv({ extend: tv(theme), ...appConfig.ui?.contentSearch || {} })({
|
|
60
|
+
size: props.size,
|
|
61
|
+
fullscreen: props.fullscreen
|
|
62
|
+
}));
|
|
63
|
+
const commandPaletteRef = useTemplateRef("commandPaletteRef");
|
|
64
|
+
const mappedLinksItems = computed(() => {
|
|
65
|
+
if (!props.links?.length) {
|
|
66
|
+
return [];
|
|
67
|
+
}
|
|
68
|
+
return props.links.flatMap((link) => [{
|
|
69
|
+
...link,
|
|
70
|
+
suffix: link.description,
|
|
71
|
+
description: void 0,
|
|
72
|
+
icon: link.icon || appConfig.ui.icons.file,
|
|
73
|
+
children: void 0
|
|
74
|
+
}, ...link.children?.map((child) => ({
|
|
75
|
+
...child,
|
|
76
|
+
prefix: link.label + " >",
|
|
77
|
+
suffix: child.description,
|
|
78
|
+
description: void 0,
|
|
79
|
+
icon: child.icon || link.icon || appConfig.ui.icons.file
|
|
80
|
+
})) || []]);
|
|
81
|
+
});
|
|
82
|
+
const mappedNavigationGroups = computed(() => {
|
|
83
|
+
if (!props.navigation?.length) {
|
|
84
|
+
return [];
|
|
85
|
+
}
|
|
86
|
+
if (props.navigation.some((link) => !!link.children?.length)) {
|
|
87
|
+
return props.navigation.map((group) => ({
|
|
88
|
+
id: group.path,
|
|
89
|
+
label: group.title,
|
|
90
|
+
items: mapNavigationItems(group.children || [], props.files || []),
|
|
91
|
+
postFilter
|
|
92
|
+
}));
|
|
93
|
+
} else {
|
|
94
|
+
return [{ id: "docs", items: mapNavigationItems(props.navigation, props.files || []), postFilter }];
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
const themeGroup = computed(() => {
|
|
98
|
+
if (!props.colorMode || colorMode?.forced) {
|
|
99
|
+
return null;
|
|
100
|
+
}
|
|
101
|
+
return {
|
|
102
|
+
id: "theme",
|
|
103
|
+
label: t("contentSearch.theme"),
|
|
104
|
+
items: [{
|
|
105
|
+
label: t("colorMode.system"),
|
|
106
|
+
icon: appConfig.ui.icons.system,
|
|
107
|
+
active: colorMode.preference === "system",
|
|
108
|
+
onSelect: () => {
|
|
109
|
+
colorMode.preference = "system";
|
|
110
|
+
}
|
|
111
|
+
}, {
|
|
112
|
+
label: t("colorMode.light"),
|
|
113
|
+
icon: appConfig.ui.icons.light,
|
|
114
|
+
active: colorMode.preference === "light",
|
|
115
|
+
onSelect: () => {
|
|
116
|
+
colorMode.preference = "light";
|
|
117
|
+
}
|
|
118
|
+
}, {
|
|
119
|
+
label: t("colorMode.dark"),
|
|
120
|
+
icon: appConfig.ui.icons.dark,
|
|
121
|
+
active: colorMode.preference === "dark",
|
|
122
|
+
onSelect: () => {
|
|
123
|
+
colorMode.preference = "dark";
|
|
124
|
+
}
|
|
125
|
+
}]
|
|
126
|
+
};
|
|
127
|
+
});
|
|
128
|
+
const groups = computed(() => {
|
|
129
|
+
const result = [];
|
|
130
|
+
if (mappedLinksItems.value.length) {
|
|
131
|
+
result.push({ id: "links", label: t("contentSearch.links"), items: mappedLinksItems.value });
|
|
132
|
+
}
|
|
133
|
+
result.push(...mappedNavigationGroups.value);
|
|
134
|
+
result.push(...props.groups || []);
|
|
135
|
+
if (themeGroup.value) {
|
|
136
|
+
result.push(themeGroup.value);
|
|
137
|
+
}
|
|
138
|
+
return result;
|
|
139
|
+
});
|
|
140
|
+
function onSelect(item) {
|
|
141
|
+
if (item.disabled) {
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
open.value = false;
|
|
145
|
+
searchTerm.value = "";
|
|
146
|
+
}
|
|
147
|
+
defineShortcuts({
|
|
148
|
+
[props.shortcut]: {
|
|
149
|
+
usingInput: true,
|
|
150
|
+
handler: () => open.value = !open.value
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
defineExpose({
|
|
154
|
+
commandPaletteRef
|
|
155
|
+
});
|
|
156
|
+
</script>
|
|
157
|
+
|
|
158
|
+
<template>
|
|
159
|
+
<UModal
|
|
160
|
+
v-model:open="open"
|
|
161
|
+
:title="title || t('contentSearch.title')"
|
|
162
|
+
:description="description || t('contentSearch.description')"
|
|
163
|
+
v-bind="modalProps"
|
|
164
|
+
data-slot="modal"
|
|
165
|
+
:class="ui.modal({ class: [uiProp?.modal, props.class] })"
|
|
166
|
+
>
|
|
167
|
+
<template #content="contentData">
|
|
168
|
+
<slot name="content" v-bind="contentData">
|
|
169
|
+
<UCommandPalette
|
|
170
|
+
ref="commandPaletteRef"
|
|
171
|
+
v-model:search-term="searchTerm"
|
|
172
|
+
v-bind="commandPaletteProps"
|
|
173
|
+
:groups="groups"
|
|
174
|
+
:fuse="fuse"
|
|
175
|
+
:input="{ fixed: true }"
|
|
176
|
+
:ui="transformUI(omit(ui, ['modal']), uiProp)"
|
|
177
|
+
@update:model-value="onSelect"
|
|
178
|
+
@update:open="open = $event"
|
|
179
|
+
>
|
|
180
|
+
<template v-for="(_, name) in getProxySlots()" #[name]="slotData">
|
|
181
|
+
<slot :name="name" v-bind="slotData" />
|
|
182
|
+
</template>
|
|
183
|
+
</UCommandPalette>
|
|
184
|
+
</slot>
|
|
185
|
+
</template>
|
|
186
|
+
</UModal>
|
|
187
|
+
</template>
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
size: {
|
|
5
|
+
type: null;
|
|
6
|
+
required: false;
|
|
7
|
+
};
|
|
8
|
+
icon: {
|
|
9
|
+
type: null;
|
|
10
|
+
required: false;
|
|
11
|
+
};
|
|
12
|
+
placeholder: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: false;
|
|
15
|
+
};
|
|
16
|
+
autofocus: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
required: false;
|
|
19
|
+
};
|
|
20
|
+
loading: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
required: false;
|
|
23
|
+
};
|
|
24
|
+
loadingIcon: {
|
|
25
|
+
type: null;
|
|
26
|
+
required: false;
|
|
27
|
+
};
|
|
28
|
+
close: {
|
|
29
|
+
type: (ObjectConstructor | BooleanConstructor)[];
|
|
30
|
+
required: false;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
closeIcon: {
|
|
34
|
+
type: null;
|
|
35
|
+
required: false;
|
|
36
|
+
};
|
|
37
|
+
shortcut: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
required: false;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
links: {
|
|
43
|
+
type: ArrayConstructor;
|
|
44
|
+
required: false;
|
|
45
|
+
};
|
|
46
|
+
navigation: {
|
|
47
|
+
type: ArrayConstructor;
|
|
48
|
+
required: false;
|
|
49
|
+
};
|
|
50
|
+
groups: {
|
|
51
|
+
type: ArrayConstructor;
|
|
52
|
+
required: false;
|
|
53
|
+
};
|
|
54
|
+
files: {
|
|
55
|
+
type: ArrayConstructor;
|
|
56
|
+
required: false;
|
|
57
|
+
};
|
|
58
|
+
fuse: {
|
|
59
|
+
type: ObjectConstructor;
|
|
60
|
+
required: false;
|
|
61
|
+
};
|
|
62
|
+
colorMode: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
required: false;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
class: {
|
|
68
|
+
type: null;
|
|
69
|
+
required: false;
|
|
70
|
+
};
|
|
71
|
+
ui: {
|
|
72
|
+
type: ObjectConstructor;
|
|
73
|
+
required: false;
|
|
74
|
+
};
|
|
75
|
+
title: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
required: false;
|
|
78
|
+
};
|
|
79
|
+
description: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
required: false;
|
|
82
|
+
};
|
|
83
|
+
overlay: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
required: false;
|
|
86
|
+
};
|
|
87
|
+
transition: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
required: false;
|
|
90
|
+
};
|
|
91
|
+
content: {
|
|
92
|
+
type: ObjectConstructor;
|
|
93
|
+
required: false;
|
|
94
|
+
};
|
|
95
|
+
dismissible: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
required: false;
|
|
98
|
+
};
|
|
99
|
+
fullscreen: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
required: false;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
modal: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
required: false;
|
|
107
|
+
};
|
|
108
|
+
portal: {
|
|
109
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
110
|
+
required: false;
|
|
111
|
+
skipCheck: boolean;
|
|
112
|
+
};
|
|
113
|
+
searchTerm: {
|
|
114
|
+
type: import("vue").PropType<string>;
|
|
115
|
+
};
|
|
116
|
+
}>, {
|
|
117
|
+
commandPaletteRef: Readonly<import("vue").ShallowRef<any, any>>;
|
|
118
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
119
|
+
"update:searchTerm": (value: string | undefined) => any;
|
|
120
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
121
|
+
size: {
|
|
122
|
+
type: null;
|
|
123
|
+
required: false;
|
|
124
|
+
};
|
|
125
|
+
icon: {
|
|
126
|
+
type: null;
|
|
127
|
+
required: false;
|
|
128
|
+
};
|
|
129
|
+
placeholder: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
required: false;
|
|
132
|
+
};
|
|
133
|
+
autofocus: {
|
|
134
|
+
type: BooleanConstructor;
|
|
135
|
+
required: false;
|
|
136
|
+
};
|
|
137
|
+
loading: {
|
|
138
|
+
type: BooleanConstructor;
|
|
139
|
+
required: false;
|
|
140
|
+
};
|
|
141
|
+
loadingIcon: {
|
|
142
|
+
type: null;
|
|
143
|
+
required: false;
|
|
144
|
+
};
|
|
145
|
+
close: {
|
|
146
|
+
type: (ObjectConstructor | BooleanConstructor)[];
|
|
147
|
+
required: false;
|
|
148
|
+
default: boolean;
|
|
149
|
+
};
|
|
150
|
+
closeIcon: {
|
|
151
|
+
type: null;
|
|
152
|
+
required: false;
|
|
153
|
+
};
|
|
154
|
+
shortcut: {
|
|
155
|
+
type: StringConstructor;
|
|
156
|
+
required: false;
|
|
157
|
+
default: string;
|
|
158
|
+
};
|
|
159
|
+
links: {
|
|
160
|
+
type: ArrayConstructor;
|
|
161
|
+
required: false;
|
|
162
|
+
};
|
|
163
|
+
navigation: {
|
|
164
|
+
type: ArrayConstructor;
|
|
165
|
+
required: false;
|
|
166
|
+
};
|
|
167
|
+
groups: {
|
|
168
|
+
type: ArrayConstructor;
|
|
169
|
+
required: false;
|
|
170
|
+
};
|
|
171
|
+
files: {
|
|
172
|
+
type: ArrayConstructor;
|
|
173
|
+
required: false;
|
|
174
|
+
};
|
|
175
|
+
fuse: {
|
|
176
|
+
type: ObjectConstructor;
|
|
177
|
+
required: false;
|
|
178
|
+
};
|
|
179
|
+
colorMode: {
|
|
180
|
+
type: BooleanConstructor;
|
|
181
|
+
required: false;
|
|
182
|
+
default: boolean;
|
|
183
|
+
};
|
|
184
|
+
class: {
|
|
185
|
+
type: null;
|
|
186
|
+
required: false;
|
|
187
|
+
};
|
|
188
|
+
ui: {
|
|
189
|
+
type: ObjectConstructor;
|
|
190
|
+
required: false;
|
|
191
|
+
};
|
|
192
|
+
title: {
|
|
193
|
+
type: StringConstructor;
|
|
194
|
+
required: false;
|
|
195
|
+
};
|
|
196
|
+
description: {
|
|
197
|
+
type: StringConstructor;
|
|
198
|
+
required: false;
|
|
199
|
+
};
|
|
200
|
+
overlay: {
|
|
201
|
+
type: BooleanConstructor;
|
|
202
|
+
required: false;
|
|
203
|
+
};
|
|
204
|
+
transition: {
|
|
205
|
+
type: BooleanConstructor;
|
|
206
|
+
required: false;
|
|
207
|
+
};
|
|
208
|
+
content: {
|
|
209
|
+
type: ObjectConstructor;
|
|
210
|
+
required: false;
|
|
211
|
+
};
|
|
212
|
+
dismissible: {
|
|
213
|
+
type: BooleanConstructor;
|
|
214
|
+
required: false;
|
|
215
|
+
};
|
|
216
|
+
fullscreen: {
|
|
217
|
+
type: BooleanConstructor;
|
|
218
|
+
required: false;
|
|
219
|
+
default: boolean;
|
|
220
|
+
};
|
|
221
|
+
modal: {
|
|
222
|
+
type: BooleanConstructor;
|
|
223
|
+
required: false;
|
|
224
|
+
};
|
|
225
|
+
portal: {
|
|
226
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
227
|
+
required: false;
|
|
228
|
+
skipCheck: boolean;
|
|
229
|
+
};
|
|
230
|
+
searchTerm: {
|
|
231
|
+
type: import("vue").PropType<string>;
|
|
232
|
+
};
|
|
233
|
+
}>> & Readonly<{
|
|
234
|
+
"onUpdate:searchTerm"?: ((value: string | undefined) => any) | undefined;
|
|
235
|
+
}>, {
|
|
236
|
+
close: boolean | Record<string, any>;
|
|
237
|
+
shortcut: string;
|
|
238
|
+
transition: boolean;
|
|
239
|
+
autofocus: boolean;
|
|
240
|
+
loading: boolean;
|
|
241
|
+
colorMode: boolean;
|
|
242
|
+
overlay: boolean;
|
|
243
|
+
dismissible: boolean;
|
|
244
|
+
fullscreen: boolean;
|
|
245
|
+
modal: boolean;
|
|
246
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, __VLS_Slots>;
|
|
247
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
248
|
+
$slots: S;
|
|
249
|
+
});
|