@frigear-nu/crew 0.0.0-stage → 0.0.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 +39 -2
- package/dist/module.d.mts +250 -0
- package/dist/module.json +9 -0
- package/dist/module.mjs +172 -0
- package/dist/runtime/access.d.ts +1 -0
- package/dist/runtime/access.js +45 -0
- package/dist/runtime/app/components/CrewAddMemberSlideover.d.vue.ts +18 -0
- package/dist/runtime/app/components/CrewAddMemberSlideover.vue +198 -0
- package/dist/runtime/app/components/CrewAddMemberSlideover.vue.d.ts +18 -0
- package/dist/runtime/app/components/CrewInviteSlideover.d.vue.ts +14 -0
- package/dist/runtime/app/components/CrewInviteSlideover.vue +147 -0
- package/dist/runtime/app/components/CrewInviteSlideover.vue.d.ts +14 -0
- package/dist/runtime/app/components/CrewMemberSlideover.d.vue.ts +14 -0
- package/dist/runtime/app/components/CrewMemberSlideover.vue +126 -0
- package/dist/runtime/app/components/CrewMemberSlideover.vue.d.ts +14 -0
- package/dist/runtime/app/composables/index.d.ts +4 -0
- package/dist/runtime/app/composables/index.js +3 -0
- package/dist/runtime/app/composables/useCrewActions.d.ts +45 -0
- package/dist/runtime/app/composables/useCrewActions.js +122 -0
- package/dist/runtime/app/composables/useCrewLinks.d.ts +10 -0
- package/dist/runtime/app/composables/useCrewLinks.js +6 -0
- package/dist/runtime/app/composables/useCrewTranslate.d.ts +7 -0
- package/dist/runtime/app/composables/useCrewTranslate.js +15 -0
- package/dist/runtime/app/dashboard/CrewStatus.d.vue.ts +3 -0
- package/dist/runtime/app/dashboard/CrewStatus.vue +78 -0
- package/dist/runtime/app/dashboard/CrewStatus.vue.d.ts +3 -0
- package/dist/runtime/app/pages/apply.d.vue.ts +3 -0
- package/dist/runtime/app/pages/apply.vue +95 -0
- package/dist/runtime/app/pages/apply.vue.d.ts +3 -0
- package/dist/runtime/app/pages/home.d.vue.ts +3 -0
- package/dist/runtime/app/pages/home.vue +37 -0
- package/dist/runtime/app/pages/home.vue.d.ts +3 -0
- package/dist/runtime/app/pages/invite.d.vue.ts +3 -0
- package/dist/runtime/app/pages/invite.vue +86 -0
- package/dist/runtime/app/pages/invite.vue.d.ts +3 -0
- package/dist/runtime/app/pages/status.d.vue.ts +3 -0
- package/dist/runtime/app/pages/status.vue +21 -0
- package/dist/runtime/app/pages/status.vue.d.ts +3 -0
- package/dist/runtime/app/tabs/Crew.d.vue.ts +9 -0
- package/dist/runtime/app/tabs/Crew.vue +590 -0
- package/dist/runtime/app/tabs/Crew.vue.d.ts +9 -0
- package/dist/runtime/app/tabs/HomeOverview.d.vue.ts +3 -0
- package/dist/runtime/app/tabs/HomeOverview.vue +8 -0
- package/dist/runtime/app/tabs/HomeOverview.vue.d.ts +3 -0
- package/dist/runtime/app/tabs/HomeStatus.d.vue.ts +3 -0
- package/dist/runtime/app/tabs/HomeStatus.vue +90 -0
- package/dist/runtime/app/tabs/HomeStatus.vue.d.ts +3 -0
- package/dist/runtime/app/utils/admin-crew.d.ts +48 -0
- package/dist/runtime/app/utils/admin-crew.js +23 -0
- package/dist/runtime/app/widgets/InboxAddToCrew.d.vue.ts +13 -0
- package/dist/runtime/app/widgets/InboxAddToCrew.vue +34 -0
- package/dist/runtime/app/widgets/InboxAddToCrew.vue.d.ts +13 -0
- package/dist/runtime/dashboard.d.ts +8 -0
- package/dist/runtime/dashboard.js +14 -0
- package/dist/runtime/emails/crew-status-applied.d.vue.ts +16 -0
- package/dist/runtime/emails/crew-status-applied.vue +40 -0
- package/dist/runtime/emails/crew-status-applied.vue.d.ts +16 -0
- package/dist/runtime/emails/crew-status-approved.d.vue.ts +16 -0
- package/dist/runtime/emails/crew-status-approved.vue +40 -0
- package/dist/runtime/emails/crew-status-approved.vue.d.ts +16 -0
- package/dist/runtime/emails/crew-status-rejected.d.vue.ts +15 -0
- package/dist/runtime/emails/crew-status-rejected.vue +33 -0
- package/dist/runtime/emails/crew-status-rejected.vue.d.ts +15 -0
- package/dist/runtime/emails/crew-status-waitlisted.d.vue.ts +16 -0
- package/dist/runtime/emails/crew-status-waitlisted.vue +40 -0
- package/dist/runtime/emails/crew-status-waitlisted.vue.d.ts +16 -0
- package/dist/runtime/emails/crew-status-withdrawn.d.vue.ts +16 -0
- package/dist/runtime/emails/crew-status-withdrawn.vue +40 -0
- package/dist/runtime/emails/crew-status-withdrawn.vue.d.ts +16 -0
- package/dist/runtime/i18n/lang/da.json +241 -0
- package/dist/runtime/i18n/lang/en.json +241 -0
- package/dist/runtime/menus.d.ts +2 -0
- package/dist/runtime/menus.js +19 -0
- package/dist/runtime/notifications.d.ts +5 -0
- package/dist/runtime/notifications.js +10 -0
- package/dist/runtime/server/db/schema.postgresql.d.ts +433 -0
- package/dist/runtime/server/db/schema.postgresql.js +43 -0
- package/dist/runtime/server/db/schema.sqlite.d.ts +451 -0
- package/dist/runtime/server/db/schema.sqlite.js +43 -0
- package/dist/runtime/server/db/team-members.postgresql.d.ts +143 -0
- package/dist/runtime/server/db/team-members.postgresql.js +20 -0
- package/dist/runtime/server/db/team-members.sqlite.d.ts +151 -0
- package/dist/runtime/server/db/team-members.sqlite.js +20 -0
- package/dist/runtime/server/plugins/forms.d.ts +2 -0
- package/dist/runtime/server/plugins/forms.js +27 -0
- package/dist/runtime/server/plugins/participation.d.ts +2 -0
- package/dist/runtime/server/plugins/participation.js +16 -0
- package/dist/runtime/server/policies.d.ts +2 -0
- package/dist/runtime/server/policies.js +10 -0
- package/dist/runtime/server/routes/admin/forms.get.d.ts +2 -0
- package/dist/runtime/server/routes/admin/forms.get.js +8 -0
- package/dist/runtime/server/routes/admin/invite.delete.d.ts +2 -0
- package/dist/runtime/server/routes/admin/invite.delete.js +13 -0
- package/dist/runtime/server/routes/admin/invites.get.d.ts +2 -0
- package/dist/runtime/server/routes/admin/invites.get.js +14 -0
- package/dist/runtime/server/routes/admin/invites.post.d.ts +2 -0
- package/dist/runtime/server/routes/admin/invites.post.js +31 -0
- package/dist/runtime/server/routes/admin/member-approve.post.d.ts +2 -0
- package/dist/runtime/server/routes/admin/member-approve.post.js +10 -0
- package/dist/runtime/server/routes/admin/member-reject.post.d.ts +2 -0
- package/dist/runtime/server/routes/admin/member-reject.post.js +9 -0
- package/dist/runtime/server/routes/admin/member-submission.get.d.ts +2 -0
- package/dist/runtime/server/routes/admin/member-submission.get.js +17 -0
- package/dist/runtime/server/routes/admin/member-waitlist.post.d.ts +2 -0
- package/dist/runtime/server/routes/admin/member-waitlist.post.js +9 -0
- package/dist/runtime/server/routes/admin/member-withdraw.post.d.ts +2 -0
- package/dist/runtime/server/routes/admin/member-withdraw.post.js +9 -0
- package/dist/runtime/server/routes/admin/member.patch.d.ts +2 -0
- package/dist/runtime/server/routes/admin/member.patch.js +10 -0
- package/dist/runtime/server/routes/admin/members-approve.post.d.ts +2 -0
- package/dist/runtime/server/routes/admin/members-approve.post.js +12 -0
- package/dist/runtime/server/routes/admin/members.get.d.ts +2 -0
- package/dist/runtime/server/routes/admin/members.get.js +10 -0
- package/dist/runtime/server/routes/admin/members.post.d.ts +2 -0
- package/dist/runtime/server/routes/admin/members.post.js +30 -0
- package/dist/runtime/server/routes/admin/settings.get.d.ts +2 -0
- package/dist/runtime/server/routes/admin/settings.get.js +9 -0
- package/dist/runtime/server/routes/admin/settings.put.d.ts +2 -0
- package/dist/runtime/server/routes/admin/settings.put.js +12 -0
- package/dist/runtime/server/routes/admin/users.get.d.ts +2 -0
- package/dist/runtime/server/routes/admin/users.get.js +8 -0
- package/dist/runtime/server/routes/me/crew.get.d.ts +2 -0
- package/dist/runtime/server/routes/me/crew.get.js +5 -0
- package/dist/runtime/server/routes/public/apply.get.d.ts +2 -0
- package/dist/runtime/server/routes/public/apply.get.js +9 -0
- package/dist/runtime/server/routes/public/invite-accept.post.d.ts +2 -0
- package/dist/runtime/server/routes/public/invite-accept.post.js +7 -0
- package/dist/runtime/server/routes/public/member.get.d.ts +2 -0
- package/dist/runtime/server/routes/public/member.get.js +9 -0
- package/dist/runtime/server/routes/public/members.get.d.ts +2 -0
- package/dist/runtime/server/routes/public/members.get.js +11 -0
- package/dist/runtime/server/utils/crew-dto.d.ts +46 -0
- package/dist/runtime/server/utils/crew-dto.js +80 -0
- package/dist/runtime/server/utils/crew-emails.d.ts +43 -0
- package/dist/runtime/server/utils/crew-emails.js +139 -0
- package/dist/runtime/server/utils/crew-schemas.d.ts +121 -0
- package/dist/runtime/server/utils/crew-schemas.js +69 -0
- package/dist/runtime/server/utils/crew-send.d.ts +19 -0
- package/dist/runtime/server/utils/crew-send.js +20 -0
- package/dist/runtime/server/utils/crew-settings.d.ts +52 -0
- package/dist/runtime/server/utils/crew-settings.js +100 -0
- package/dist/runtime/server/utils/crew-tokens.d.ts +8 -0
- package/dist/runtime/server/utils/crew-tokens.js +9 -0
- package/dist/runtime/server/utils/crew.d.ts +172 -0
- package/dist/runtime/server/utils/crew.js +502 -0
- package/dist/runtime/utils/api.d.ts +44 -0
- package/dist/runtime/utils/api.js +47 -0
- package/dist/runtime/utils/index.d.ts +8 -0
- package/dist/runtime/utils/index.js +6 -0
- package/dist/runtime/utils/links.d.ts +49 -0
- package/dist/runtime/utils/links.js +27 -0
- package/dist/runtime/utils/status.d.ts +36 -0
- package/dist/runtime/utils/status.js +39 -0
- package/dist/types.d.mts +5 -0
- package/package.json +118 -3
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { crewApi } from "../../utils/api";
|
|
3
|
+
import { CREW_STATUS_LABELS } from "../../utils/status";
|
|
4
|
+
import { computed, errorMessage, navigateTo, useAuthPages, useCrewLinks, useCrewTranslate, useFormat, useLazyFetch, useModuleT, useRoute, watch } from "#imports";
|
|
5
|
+
defineOptions({ name: "CrewHomeStatusTab" });
|
|
6
|
+
const t = useModuleT("crew");
|
|
7
|
+
const tr = useCrewTranslate();
|
|
8
|
+
const format = useFormat();
|
|
9
|
+
const links = useCrewLinks();
|
|
10
|
+
const route = useRoute();
|
|
11
|
+
const { data, status, error, refresh } = useLazyFetch(crewApi.me.crew, { key: "crew:me", default: () => [] });
|
|
12
|
+
const loading = computed(() => status.value === "pending" && !data.value.length);
|
|
13
|
+
watch(() => error.value?.statusCode, async (code) => {
|
|
14
|
+
if (code === 401) await navigateTo({ path: useAuthPages().login, query: { redirect: route.fullPath } });
|
|
15
|
+
}, { immediate: true });
|
|
16
|
+
const ORDER = { approved: 0, waitlisted: 1, applied: 2, rejected: 3, withdrawn: 4 };
|
|
17
|
+
const entries = computed(() => [...data.value].sort((a, b) => ORDER[a.crewStatus] - ORDER[b.crewStatus]));
|
|
18
|
+
const label = (value) => t(`admin.statuses.${value}`, CREW_STATUS_LABELS[value]);
|
|
19
|
+
const facts = (entry) => [
|
|
20
|
+
{ key: "team", label: t("admin.team", "Team"), value: tr(entry.teamName) },
|
|
21
|
+
...entry.crewStatus === "approved" ? [{ key: "role", label: t("admin.role", "Role"), value: tr(entry.roleLabel) }] : [],
|
|
22
|
+
...entry.crewStatus === "waitlisted" && entry.waitlistPosition ? [{ key: "position", label: t("status.position", "Place on the waiting list"), value: String(entry.waitlistPosition) }] : [],
|
|
23
|
+
{ key: "applied", label: t("admin.applied", "Applied"), value: entry.appliedAt ? format.dateTime(entry.appliedAt) : null }
|
|
24
|
+
];
|
|
25
|
+
</script>
|
|
26
|
+
|
|
27
|
+
<template>
|
|
28
|
+
<div
|
|
29
|
+
v-if="loading"
|
|
30
|
+
class="grid gap-4 md:grid-cols-2"
|
|
31
|
+
aria-busy="true"
|
|
32
|
+
>
|
|
33
|
+
<SectionCard
|
|
34
|
+
v-for="index in 2"
|
|
35
|
+
:key="index"
|
|
36
|
+
loading
|
|
37
|
+
/>
|
|
38
|
+
</div>
|
|
39
|
+
<UEmpty
|
|
40
|
+
v-else-if="error && !data.length"
|
|
41
|
+
icon="i-lucide-circle-alert"
|
|
42
|
+
:title="t('status.loadFailed', 'Your crew status could not be loaded')"
|
|
43
|
+
:description="errorMessage(error, '')"
|
|
44
|
+
:actions="[{ label: t('tryAgain', 'Try again'), icon: 'i-lucide-rotate-ccw', color: 'neutral', variant: 'outline', onClick: () => refresh() }]"
|
|
45
|
+
/>
|
|
46
|
+
<UEmpty
|
|
47
|
+
v-else-if="!data.length"
|
|
48
|
+
icon="i-lucide-hand-heart"
|
|
49
|
+
:title="t('status.empty', 'You have not applied yet')"
|
|
50
|
+
:description="t('status.emptyDescription', 'When you apply to an operation, or join with an invite, it shows up here.')"
|
|
51
|
+
/>
|
|
52
|
+
<div
|
|
53
|
+
v-else
|
|
54
|
+
class="flex flex-col gap-4"
|
|
55
|
+
data-crew-status
|
|
56
|
+
>
|
|
57
|
+
<div class="grid gap-4 md:grid-cols-2">
|
|
58
|
+
<SectionCard
|
|
59
|
+
v-for="entry in entries"
|
|
60
|
+
:key="entry.operationId"
|
|
61
|
+
:title="tr(entry.operationName)"
|
|
62
|
+
icon="i-lucide-hand-heart"
|
|
63
|
+
>
|
|
64
|
+
<template #actions>
|
|
65
|
+
<StatusBadge
|
|
66
|
+
:status="entry.crewStatus"
|
|
67
|
+
:label="label(entry.crewStatus)"
|
|
68
|
+
:colors="{ applied: 'info', waitlisted: 'warning', withdrawn: 'neutral' }"
|
|
69
|
+
/>
|
|
70
|
+
</template>
|
|
71
|
+
<DescriptionList :items="facts(entry)" />
|
|
72
|
+
<template
|
|
73
|
+
v-if="entry.crewStatus === 'withdrawn'"
|
|
74
|
+
#footer
|
|
75
|
+
>
|
|
76
|
+
<div class="flex justify-end">
|
|
77
|
+
<UButton
|
|
78
|
+
:to="links.apply(entry.operationSlug)"
|
|
79
|
+
icon="i-lucide-rotate-ccw"
|
|
80
|
+
:label="t('status.applyAgain', 'Apply again')"
|
|
81
|
+
/>
|
|
82
|
+
</div>
|
|
83
|
+
</template>
|
|
84
|
+
</SectionCard>
|
|
85
|
+
</div>
|
|
86
|
+
<p class="text-muted text-sm">
|
|
87
|
+
{{ t("status.stepDown", "Need to step down? Contact your coordinator.") }}
|
|
88
|
+
</p>
|
|
89
|
+
</div>
|
|
90
|
+
</template>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { CrewMemberDto, CrewSettingsDto, Translated } from '../../../types.js';
|
|
2
|
+
export type StaffCrewMember = CrewMemberDto;
|
|
3
|
+
export type StaffCrewSettings = CrewSettingsDto;
|
|
4
|
+
/** One page of `GET /api/admin/crew/operations/:id/members`. */
|
|
5
|
+
export type StaffCrewPage = {
|
|
6
|
+
items: CrewMemberDto[];
|
|
7
|
+
total: number;
|
|
8
|
+
page: number;
|
|
9
|
+
pageSize: number;
|
|
10
|
+
};
|
|
11
|
+
/** A team of the operation, as `GET /api/admin/teams?ownerType=operation&ownerId=...` answers (the fields used here). */
|
|
12
|
+
export type CrewTeamOption = {
|
|
13
|
+
id: string;
|
|
14
|
+
kind: string;
|
|
15
|
+
name: Translated;
|
|
16
|
+
memberCount: number;
|
|
17
|
+
};
|
|
18
|
+
/** A ladder as `GET /api/admin/teams/ladders` answers (the fields used here). */
|
|
19
|
+
export type CrewLadder = {
|
|
20
|
+
kind: string;
|
|
21
|
+
roles: Array<{
|
|
22
|
+
key: string;
|
|
23
|
+
label: Translated;
|
|
24
|
+
}>;
|
|
25
|
+
leadFrom: string | null;
|
|
26
|
+
};
|
|
27
|
+
/** A form of the forms list (`GET /api/admin/forms`, the fields used here). */
|
|
28
|
+
export type CrewFormOption = {
|
|
29
|
+
id: string;
|
|
30
|
+
name: string;
|
|
31
|
+
slug: string;
|
|
32
|
+
status: string;
|
|
33
|
+
};
|
|
34
|
+
type TranslateText = (value: Translated | null | undefined) => string;
|
|
35
|
+
/** The select options of a kind's ladder, highest role first. */
|
|
36
|
+
export declare function crewRoleOptions(ladders: readonly CrewLadder[] | null | undefined, kind: string | undefined, tr: TranslateText): {
|
|
37
|
+
label: string;
|
|
38
|
+
value: string;
|
|
39
|
+
}[];
|
|
40
|
+
/** The label of a role key on a ladder, falling back to the key. */
|
|
41
|
+
export declare function crewRoleLabel(ladders: readonly CrewLadder[] | null | undefined, kind: string | undefined, role: string, tr: TranslateText): string;
|
|
42
|
+
/** `datetime-local` inputs want the local time without a zone, not the stored ISO instant. */
|
|
43
|
+
export declare const toLocalInput: (value: string | null | undefined) => string;
|
|
44
|
+
/** A `datetime-local` value as the ISO instant the API wants; a value that still equals the stored instant keeps it. */
|
|
45
|
+
export declare const localToIso: (value: string, stored?: string | null) => string | null;
|
|
46
|
+
/** Whether a translated value holds no text in any language. */
|
|
47
|
+
export declare function isEmptyTranslated(value: Translated | null | undefined): boolean;
|
|
48
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export function crewRoleOptions(ladders, kind, tr) {
|
|
2
|
+
const ladder = ladders?.find((item) => item.kind === kind);
|
|
3
|
+
return [...ladder?.roles ?? []].reverse().map((role) => ({ label: tr(role.label) || role.key, value: role.key }));
|
|
4
|
+
}
|
|
5
|
+
export function crewRoleLabel(ladders, kind, role, tr) {
|
|
6
|
+
const found = ladders?.find((ladder) => ladder.kind === kind)?.roles.find((item) => item.key === role);
|
|
7
|
+
return found ? tr(found.label) || role : role;
|
|
8
|
+
}
|
|
9
|
+
export const toLocalInput = (value) => {
|
|
10
|
+
if (!value) return "";
|
|
11
|
+
const date = new Date(value);
|
|
12
|
+
return new Date(date.getTime() - date.getTimezoneOffset() * 6e4).toISOString().slice(0, 16);
|
|
13
|
+
};
|
|
14
|
+
export const localToIso = (value, stored) => {
|
|
15
|
+
if (!value) return null;
|
|
16
|
+
if (stored && toLocalInput(stored) === value) return stored;
|
|
17
|
+
return new Date(value).toISOString();
|
|
18
|
+
};
|
|
19
|
+
export function isEmptyTranslated(value) {
|
|
20
|
+
if (value === void 0 || value === null) return true;
|
|
21
|
+
if (typeof value === "string") return !value.trim();
|
|
22
|
+
return !Object.values(value).some((text) => text.trim());
|
|
23
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
threadId: string;
|
|
3
|
+
contact: {
|
|
4
|
+
name: string | null;
|
|
5
|
+
email?: string | null;
|
|
6
|
+
phone?: string | null;
|
|
7
|
+
userId?: number | null;
|
|
8
|
+
} | null;
|
|
9
|
+
onChanged?: () => unknown;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_export: 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>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { useCrewActions, useModuleT } from "#imports";
|
|
3
|
+
defineOptions({ name: "CrewInboxAddToCrew" });
|
|
4
|
+
const props = defineProps({
|
|
5
|
+
threadId: { type: String, required: true },
|
|
6
|
+
contact: { type: [Object, null], required: true },
|
|
7
|
+
onChanged: { type: Function, required: false }
|
|
8
|
+
});
|
|
9
|
+
const t = useModuleT("crew");
|
|
10
|
+
const actions = useCrewActions();
|
|
11
|
+
async function addToCrew() {
|
|
12
|
+
const contact = props.contact;
|
|
13
|
+
const userId = contact?.userId ?? void 0;
|
|
14
|
+
const prefill = contact && !userId ? { ...contact.name ? { name: contact.name } : {}, ...contact.email ? { email: contact.email } : {}, ...contact.phone ? { phone: contact.phone } : {} } : void 0;
|
|
15
|
+
const added = await actions.add(void 0, {
|
|
16
|
+
inboxThreadId: props.threadId,
|
|
17
|
+
...userId ? { userId, selected: [{ id: userId, name: contact?.name ?? null, email: contact?.email ?? null }] } : {},
|
|
18
|
+
...prefill ? { prefill } : {}
|
|
19
|
+
});
|
|
20
|
+
if (added) await props.onChanged?.();
|
|
21
|
+
}
|
|
22
|
+
</script>
|
|
23
|
+
|
|
24
|
+
<template>
|
|
25
|
+
<UButton
|
|
26
|
+
color="neutral"
|
|
27
|
+
variant="outline"
|
|
28
|
+
size="sm"
|
|
29
|
+
icon="i-lucide-hand-heart"
|
|
30
|
+
:label="t('admin.addToCrew', 'Add to crew')"
|
|
31
|
+
data-crew-add-to-crew
|
|
32
|
+
@click="addToCrew"
|
|
33
|
+
/>
|
|
34
|
+
</template>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
threadId: string;
|
|
3
|
+
contact: {
|
|
4
|
+
name: string | null;
|
|
5
|
+
email?: string | null;
|
|
6
|
+
phone?: string | null;
|
|
7
|
+
userId?: number | null;
|
|
8
|
+
} | null;
|
|
9
|
+
onChanged?: () => unknown;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_export: 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>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { DashboardItem } from '@frigear-nu/dashboard/types';
|
|
2
|
+
/** The dashboard crew adds its items to, and renders in the Overview tab of its home page (`/dashboard/crew`). */
|
|
3
|
+
export declare const CREW_DASHBOARD = "crew.home";
|
|
4
|
+
/**
|
|
5
|
+
* The items crew adds to `crew.home`. `resolve` turns a path relative to `module.ts` into an absolute one. Kept apart
|
|
6
|
+
* from the module so a test can register them without a Nuxt build.
|
|
7
|
+
*/
|
|
8
|
+
export declare function crewDashboardItems(resolve: (path: string) => string): DashboardItem[];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { crewAccess } from "./access.js";
|
|
2
|
+
export const CREW_DASHBOARD = "crew.home";
|
|
3
|
+
export function crewDashboardItems(resolve) {
|
|
4
|
+
return [
|
|
5
|
+
{
|
|
6
|
+
id: "crew.status",
|
|
7
|
+
component: resolve("./runtime/app/dashboard/CrewStatus.vue"),
|
|
8
|
+
title: "My crew status",
|
|
9
|
+
titleKey: "crew.dashboard.status",
|
|
10
|
+
order: 10,
|
|
11
|
+
permission: crewAccess.permissions.read
|
|
12
|
+
}
|
|
13
|
+
];
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
name: string;
|
|
3
|
+
operationName: string;
|
|
4
|
+
teamName?: string;
|
|
5
|
+
role?: string;
|
|
6
|
+
subject: string;
|
|
7
|
+
message: string;
|
|
8
|
+
statusUrl?: string | null;
|
|
9
|
+
/** The person's language: the greeting line, the heading and the button. English by default. */
|
|
10
|
+
greeting?: string;
|
|
11
|
+
heading?: string;
|
|
12
|
+
button?: string;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_export: 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>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { EmailButton, EmailDivider, EmailHeading, EmailLayout, EmailText } from "@frigear-nu/email-templates/components";
|
|
3
|
+
defineProps({
|
|
4
|
+
name: { type: String, required: true },
|
|
5
|
+
operationName: { type: String, required: true },
|
|
6
|
+
teamName: { type: String, required: false, default: void 0 },
|
|
7
|
+
role: { type: String, required: false, default: void 0 },
|
|
8
|
+
subject: { type: String, required: true },
|
|
9
|
+
message: { type: String, required: true },
|
|
10
|
+
statusUrl: { type: [String, null], required: false, default: null },
|
|
11
|
+
greeting: { type: String, required: false, default: void 0 },
|
|
12
|
+
heading: { type: String, required: false, default: "We received your application" },
|
|
13
|
+
button: { type: String, required: false, default: "See your application" }
|
|
14
|
+
});
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
<template>
|
|
18
|
+
<EmailLayout :preview="subject">
|
|
19
|
+
<ESubject>{{ subject }}</ESubject>
|
|
20
|
+
<EmailHeading>
|
|
21
|
+
{{ heading }}
|
|
22
|
+
</EmailHeading>
|
|
23
|
+
<EmailDivider />
|
|
24
|
+
<EmailText>
|
|
25
|
+
{{ greeting ?? `Hi ${name},` }}
|
|
26
|
+
</EmailText>
|
|
27
|
+
<EmailText
|
|
28
|
+
v-for="(part, index) in message.split(/\n{2,}/)"
|
|
29
|
+
:key="index"
|
|
30
|
+
>
|
|
31
|
+
{{ part }}
|
|
32
|
+
</EmailText>
|
|
33
|
+
<EmailButton
|
|
34
|
+
v-if="statusUrl"
|
|
35
|
+
:href="statusUrl"
|
|
36
|
+
>
|
|
37
|
+
{{ button }}
|
|
38
|
+
</EmailButton>
|
|
39
|
+
</EmailLayout>
|
|
40
|
+
</template>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
name: string;
|
|
3
|
+
operationName: string;
|
|
4
|
+
teamName?: string;
|
|
5
|
+
role?: string;
|
|
6
|
+
subject: string;
|
|
7
|
+
message: string;
|
|
8
|
+
statusUrl?: string | null;
|
|
9
|
+
/** The person's language: the greeting line, the heading and the button. English by default. */
|
|
10
|
+
greeting?: string;
|
|
11
|
+
heading?: string;
|
|
12
|
+
button?: string;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_export: 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>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
name: string;
|
|
3
|
+
operationName: string;
|
|
4
|
+
teamName?: string;
|
|
5
|
+
role?: string;
|
|
6
|
+
subject: string;
|
|
7
|
+
message: string;
|
|
8
|
+
statusUrl?: string | null;
|
|
9
|
+
/** The person's language: the greeting line, the heading and the button. English by default. */
|
|
10
|
+
greeting?: string;
|
|
11
|
+
heading?: string;
|
|
12
|
+
button?: string;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_export: 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>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { EmailButton, EmailDivider, EmailHeading, EmailLayout, EmailText } from "@frigear-nu/email-templates/components";
|
|
3
|
+
defineProps({
|
|
4
|
+
name: { type: String, required: true },
|
|
5
|
+
operationName: { type: String, required: true },
|
|
6
|
+
teamName: { type: String, required: false, default: void 0 },
|
|
7
|
+
role: { type: String, required: false, default: void 0 },
|
|
8
|
+
subject: { type: String, required: true },
|
|
9
|
+
message: { type: String, required: true },
|
|
10
|
+
statusUrl: { type: [String, null], required: false, default: null },
|
|
11
|
+
greeting: { type: String, required: false, default: void 0 },
|
|
12
|
+
heading: { type: String, required: false, default: "You are on the crew" },
|
|
13
|
+
button: { type: String, required: false, default: "See your crew status" }
|
|
14
|
+
});
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
<template>
|
|
18
|
+
<EmailLayout :preview="subject">
|
|
19
|
+
<ESubject>{{ subject }}</ESubject>
|
|
20
|
+
<EmailHeading>
|
|
21
|
+
{{ heading }}
|
|
22
|
+
</EmailHeading>
|
|
23
|
+
<EmailDivider />
|
|
24
|
+
<EmailText>
|
|
25
|
+
{{ greeting ?? `Hi ${name},` }}
|
|
26
|
+
</EmailText>
|
|
27
|
+
<EmailText
|
|
28
|
+
v-for="(part, index) in message.split(/\n{2,}/)"
|
|
29
|
+
:key="index"
|
|
30
|
+
>
|
|
31
|
+
{{ part }}
|
|
32
|
+
</EmailText>
|
|
33
|
+
<EmailButton
|
|
34
|
+
v-if="statusUrl"
|
|
35
|
+
:href="statusUrl"
|
|
36
|
+
>
|
|
37
|
+
{{ button }}
|
|
38
|
+
</EmailButton>
|
|
39
|
+
</EmailLayout>
|
|
40
|
+
</template>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
name: string;
|
|
3
|
+
operationName: string;
|
|
4
|
+
teamName?: string;
|
|
5
|
+
role?: string;
|
|
6
|
+
subject: string;
|
|
7
|
+
message: string;
|
|
8
|
+
statusUrl?: string | null;
|
|
9
|
+
/** The person's language: the greeting line, the heading and the button. English by default. */
|
|
10
|
+
greeting?: string;
|
|
11
|
+
heading?: string;
|
|
12
|
+
button?: string;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_export: 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>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
name: string;
|
|
3
|
+
operationName: string;
|
|
4
|
+
teamName?: string;
|
|
5
|
+
role?: string;
|
|
6
|
+
subject: string;
|
|
7
|
+
message: string;
|
|
8
|
+
statusUrl?: string | null;
|
|
9
|
+
/** The person's language: the greeting line, the heading and the button. English by default. */
|
|
10
|
+
greeting?: string;
|
|
11
|
+
heading?: string;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_export: 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>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { EmailDivider, EmailHeading, EmailLayout, EmailText } from "@frigear-nu/email-templates/components";
|
|
3
|
+
defineProps({
|
|
4
|
+
name: { type: String, required: true },
|
|
5
|
+
operationName: { type: String, required: true },
|
|
6
|
+
teamName: { type: String, required: false, default: void 0 },
|
|
7
|
+
role: { type: String, required: false, default: void 0 },
|
|
8
|
+
subject: { type: String, required: true },
|
|
9
|
+
message: { type: String, required: true },
|
|
10
|
+
statusUrl: { type: [String, null], required: false, default: null },
|
|
11
|
+
greeting: { type: String, required: false, default: void 0 },
|
|
12
|
+
heading: { type: String, required: false, default: "About your application" }
|
|
13
|
+
});
|
|
14
|
+
</script>
|
|
15
|
+
|
|
16
|
+
<template>
|
|
17
|
+
<EmailLayout :preview="subject">
|
|
18
|
+
<ESubject>{{ subject }}</ESubject>
|
|
19
|
+
<EmailHeading>
|
|
20
|
+
{{ heading }}
|
|
21
|
+
</EmailHeading>
|
|
22
|
+
<EmailDivider />
|
|
23
|
+
<EmailText>
|
|
24
|
+
{{ greeting ?? `Hi ${name},` }}
|
|
25
|
+
</EmailText>
|
|
26
|
+
<EmailText
|
|
27
|
+
v-for="(part, index) in message.split(/\n{2,}/)"
|
|
28
|
+
:key="index"
|
|
29
|
+
>
|
|
30
|
+
{{ part }}
|
|
31
|
+
</EmailText>
|
|
32
|
+
</EmailLayout>
|
|
33
|
+
</template>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
name: string;
|
|
3
|
+
operationName: string;
|
|
4
|
+
teamName?: string;
|
|
5
|
+
role?: string;
|
|
6
|
+
subject: string;
|
|
7
|
+
message: string;
|
|
8
|
+
statusUrl?: string | null;
|
|
9
|
+
/** The person's language: the greeting line, the heading and the button. English by default. */
|
|
10
|
+
greeting?: string;
|
|
11
|
+
heading?: string;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_export: 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>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
name: string;
|
|
3
|
+
operationName: string;
|
|
4
|
+
teamName?: string;
|
|
5
|
+
role?: string;
|
|
6
|
+
subject: string;
|
|
7
|
+
message: string;
|
|
8
|
+
statusUrl?: string | null;
|
|
9
|
+
/** The person's language: the greeting line, the heading and the button. English by default. */
|
|
10
|
+
greeting?: string;
|
|
11
|
+
heading?: string;
|
|
12
|
+
button?: string;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_export: 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>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { EmailButton, EmailDivider, EmailHeading, EmailLayout, EmailText } from "@frigear-nu/email-templates/components";
|
|
3
|
+
defineProps({
|
|
4
|
+
name: { type: String, required: true },
|
|
5
|
+
operationName: { type: String, required: true },
|
|
6
|
+
teamName: { type: String, required: false, default: void 0 },
|
|
7
|
+
role: { type: String, required: false, default: void 0 },
|
|
8
|
+
subject: { type: String, required: true },
|
|
9
|
+
message: { type: String, required: true },
|
|
10
|
+
statusUrl: { type: [String, null], required: false, default: null },
|
|
11
|
+
greeting: { type: String, required: false, default: void 0 },
|
|
12
|
+
heading: { type: String, required: false, default: "You are on the waiting list" },
|
|
13
|
+
button: { type: String, required: false, default: "See your application" }
|
|
14
|
+
});
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
<template>
|
|
18
|
+
<EmailLayout :preview="subject">
|
|
19
|
+
<ESubject>{{ subject }}</ESubject>
|
|
20
|
+
<EmailHeading>
|
|
21
|
+
{{ heading }}
|
|
22
|
+
</EmailHeading>
|
|
23
|
+
<EmailDivider />
|
|
24
|
+
<EmailText>
|
|
25
|
+
{{ greeting ?? `Hi ${name},` }}
|
|
26
|
+
</EmailText>
|
|
27
|
+
<EmailText
|
|
28
|
+
v-for="(part, index) in message.split(/\n{2,}/)"
|
|
29
|
+
:key="index"
|
|
30
|
+
>
|
|
31
|
+
{{ part }}
|
|
32
|
+
</EmailText>
|
|
33
|
+
<EmailButton
|
|
34
|
+
v-if="statusUrl"
|
|
35
|
+
:href="statusUrl"
|
|
36
|
+
>
|
|
37
|
+
{{ button }}
|
|
38
|
+
</EmailButton>
|
|
39
|
+
</EmailLayout>
|
|
40
|
+
</template>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
name: string;
|
|
3
|
+
operationName: string;
|
|
4
|
+
teamName?: string;
|
|
5
|
+
role?: string;
|
|
6
|
+
subject: string;
|
|
7
|
+
message: string;
|
|
8
|
+
statusUrl?: string | null;
|
|
9
|
+
/** The person's language: the greeting line, the heading and the button. English by default. */
|
|
10
|
+
greeting?: string;
|
|
11
|
+
heading?: string;
|
|
12
|
+
button?: string;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_export: 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>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
name: string;
|
|
3
|
+
operationName: string;
|
|
4
|
+
teamName?: string;
|
|
5
|
+
role?: string;
|
|
6
|
+
subject: string;
|
|
7
|
+
message: string;
|
|
8
|
+
statusUrl?: string | null;
|
|
9
|
+
/** The person's language: the greeting line, the heading and the button. English by default. */
|
|
10
|
+
greeting?: string;
|
|
11
|
+
heading?: string;
|
|
12
|
+
button?: string;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_export: 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>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { EmailButton, EmailDivider, EmailHeading, EmailLayout, EmailText } from "@frigear-nu/email-templates/components";
|
|
3
|
+
defineProps({
|
|
4
|
+
name: { type: String, required: true },
|
|
5
|
+
operationName: { type: String, required: true },
|
|
6
|
+
teamName: { type: String, required: false, default: void 0 },
|
|
7
|
+
role: { type: String, required: false, default: void 0 },
|
|
8
|
+
subject: { type: String, required: true },
|
|
9
|
+
message: { type: String, required: true },
|
|
10
|
+
statusUrl: { type: [String, null], required: false, default: null },
|
|
11
|
+
greeting: { type: String, required: false, default: void 0 },
|
|
12
|
+
heading: { type: String, required: false, default: "You withdrew from the crew" },
|
|
13
|
+
button: { type: String, required: false, default: "See your crew status" }
|
|
14
|
+
});
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
<template>
|
|
18
|
+
<EmailLayout :preview="subject">
|
|
19
|
+
<ESubject>{{ subject }}</ESubject>
|
|
20
|
+
<EmailHeading>
|
|
21
|
+
{{ heading }}
|
|
22
|
+
</EmailHeading>
|
|
23
|
+
<EmailDivider />
|
|
24
|
+
<EmailText>
|
|
25
|
+
{{ greeting ?? `Hi ${name},` }}
|
|
26
|
+
</EmailText>
|
|
27
|
+
<EmailText
|
|
28
|
+
v-for="(part, index) in message.split(/\n{2,}/)"
|
|
29
|
+
:key="index"
|
|
30
|
+
>
|
|
31
|
+
{{ part }}
|
|
32
|
+
</EmailText>
|
|
33
|
+
<EmailButton
|
|
34
|
+
v-if="statusUrl"
|
|
35
|
+
:href="statusUrl"
|
|
36
|
+
>
|
|
37
|
+
{{ button }}
|
|
38
|
+
</EmailButton>
|
|
39
|
+
</EmailLayout>
|
|
40
|
+
</template>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
name: string;
|
|
3
|
+
operationName: string;
|
|
4
|
+
teamName?: string;
|
|
5
|
+
role?: string;
|
|
6
|
+
subject: string;
|
|
7
|
+
message: string;
|
|
8
|
+
statusUrl?: string | null;
|
|
9
|
+
/** The person's language: the greeting line, the heading and the button. English by default. */
|
|
10
|
+
greeting?: string;
|
|
11
|
+
heading?: string;
|
|
12
|
+
button?: string;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_export: 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>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|