@rokoyfa/calendar 0.0.0-stage → 0.1.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/CHANGELOG.md +16 -0
- package/LICENSE +21 -0
- package/README.md +194 -3
- package/api/openapi.yaml +911 -0
- package/dist-lib/cdn/calendar-widget.js +14 -0
- package/dist-lib/cdn/calendar-widget.js.map +1 -0
- package/dist-lib/npm/index.d.ts +1 -0
- package/dist-lib/npm/index.js +13055 -0
- package/dist-lib/npm/index.js.map +1 -0
- package/dist-lib/npm/types/components/Button.d.ts +17 -0
- package/dist-lib/npm/types/components/ChoiceChip.d.ts +13 -0
- package/dist-lib/npm/types/components/ConfirmModal.d.ts +11 -0
- package/dist-lib/npm/types/components/DateTimeField.d.ts +14 -0
- package/dist-lib/npm/types/components/Form.d.ts +8 -0
- package/dist-lib/npm/types/components/FormField.d.ts +10 -0
- package/dist-lib/npm/types/components/IconButton.d.ts +11 -0
- package/dist-lib/npm/types/components/Icons.d.ts +10 -0
- package/dist-lib/npm/types/components/Modal.d.ts +10 -0
- package/dist-lib/npm/types/components/NumberField.d.ts +12 -0
- package/dist-lib/npm/types/components/PageLayout.d.ts +13 -0
- package/dist-lib/npm/types/components/PageSection.d.ts +9 -0
- package/dist-lib/npm/types/components/PasswordField.d.ts +4 -0
- package/dist-lib/npm/types/components/SegmentedControl.d.ts +11 -0
- package/dist-lib/npm/types/components/SegmentedField.d.ts +11 -0
- package/dist-lib/npm/types/components/SelectField.d.ts +13 -0
- package/dist-lib/npm/types/components/StatusMessage.d.ts +13 -0
- package/dist-lib/npm/types/components/Stepper.d.ts +9 -0
- package/dist-lib/npm/types/components/Switch.d.ts +8 -0
- package/dist-lib/npm/types/components/Tabs.d.ts +14 -0
- package/dist-lib/npm/types/components/TeamsGate.d.ts +4 -0
- package/dist-lib/npm/types/components/TextField.d.ts +9 -0
- package/dist-lib/npm/types/config/calendars.d.ts +1 -0
- package/dist-lib/npm/types/config/routes.d.ts +17 -0
- package/dist-lib/npm/types/context/HostContext.d.ts +9 -0
- package/dist-lib/npm/types/context/RootElementContext.d.ts +2 -0
- package/dist-lib/npm/types/data/index.d.ts +4 -0
- package/dist-lib/npm/types/data/localDataSource.d.ts +3 -0
- package/dist-lib/npm/types/data/restDataSource.d.ts +11 -0
- package/dist-lib/npm/types/data/tenantDataSource.d.ts +10 -0
- package/dist-lib/npm/types/data/types.d.ts +21 -0
- package/dist-lib/npm/types/features/authorization/components/AccountMenu.d.ts +6 -0
- package/dist-lib/npm/types/features/authorization/components/AuthFields.d.ts +26 -0
- package/dist-lib/npm/types/features/authorization/components/AuthGate.d.ts +7 -0
- package/dist-lib/npm/types/features/authorization/components/ContinueLink.d.ts +1 -0
- package/dist-lib/npm/types/features/authorization/components/EmailVerificationBanner.d.ts +1 -0
- package/dist-lib/npm/types/features/authorization/components/ForgotPasswordPage.d.ts +1 -0
- package/dist-lib/npm/types/features/authorization/components/LoginPage.d.ts +1 -0
- package/dist-lib/npm/types/features/authorization/components/RegisterPage.d.ts +1 -0
- package/dist-lib/npm/types/features/authorization/components/ResendVerificationButton.d.ts +4 -0
- package/dist-lib/npm/types/features/authorization/components/ResetPasswordPage.d.ts +1 -0
- package/dist-lib/npm/types/features/authorization/components/VerifyEmailPage.d.ts +1 -0
- package/dist-lib/npm/types/features/authorization/components/account/AccountSettings.d.ts +1 -0
- package/dist-lib/npm/types/features/authorization/components/account/DeleteAccountSection.d.ts +1 -0
- package/dist-lib/npm/types/features/authorization/components/account/EmailSection.d.ts +4 -0
- package/dist-lib/npm/types/features/authorization/components/account/PasswordSection.d.ts +1 -0
- package/dist-lib/npm/types/features/authorization/components/account/ProfileSection.d.ts +4 -0
- package/dist-lib/npm/types/features/authorization/context/AuthContext.d.ts +2 -0
- package/dist-lib/npm/types/features/authorization/context/AuthProvider.d.ts +8 -0
- package/dist-lib/npm/types/features/authorization/hooks/useAuth.d.ts +18 -0
- package/dist-lib/npm/types/features/authorization/index.d.ts +14 -0
- package/dist-lib/npm/types/features/authorization/repositories/HostTokenAuthRepository.d.ts +18 -0
- package/dist-lib/npm/types/features/authorization/repositories/RemoteAuthRepository.d.ts +18 -0
- package/dist-lib/npm/types/features/authorization/types/auth.d.ts +52 -0
- package/dist-lib/npm/types/features/authorization/utils/validation.d.ts +22 -0
- package/dist-lib/npm/types/features/calendar/components/Calendar.d.ts +14 -0
- package/dist-lib/npm/types/features/calendar/components/CalendarHeader.d.ts +16 -0
- package/dist-lib/npm/types/features/calendar/components/DayColumn.d.ts +18 -0
- package/dist-lib/npm/types/features/calendar/components/EventBlock.d.ts +10 -0
- package/dist-lib/npm/types/features/calendar/components/EventChip.d.ts +8 -0
- package/dist-lib/npm/types/features/calendar/components/EventTitle.d.ts +8 -0
- package/dist-lib/npm/types/features/calendar/components/MiniMonth.d.ts +9 -0
- package/dist-lib/npm/types/features/calendar/components/MonthGrid.d.ts +8 -0
- package/dist-lib/npm/types/features/calendar/components/MonthView.d.ts +2 -0
- package/dist-lib/npm/types/features/calendar/components/NowIndicator.d.ts +6 -0
- package/dist-lib/npm/types/features/calendar/components/TimeColumn.d.ts +1 -0
- package/dist-lib/npm/types/features/calendar/components/TimeGridView.d.ts +2 -0
- package/dist-lib/npm/types/features/calendar/components/YearView.d.ts +2 -0
- package/dist-lib/npm/types/features/calendar/constants/grid.d.ts +4 -0
- package/dist-lib/npm/types/features/calendar/constants/views.d.ts +7 -0
- package/dist-lib/npm/types/features/calendar/context/EventSourcesContext.d.ts +3 -0
- package/dist-lib/npm/types/features/calendar/hooks/useCalendarView.d.ts +19 -0
- package/dist-lib/npm/types/features/calendar/hooks/useEventSource.d.ts +2 -0
- package/dist-lib/npm/types/features/calendar/hooks/useNow.d.ts +1 -0
- package/dist-lib/npm/types/features/calendar/hooks/useSlotSelection.d.ts +6 -0
- package/dist-lib/npm/types/features/calendar/index.d.ts +4 -0
- package/dist-lib/npm/types/features/calendar/types/editor.d.ts +5 -0
- package/dist-lib/npm/types/features/calendar/types/eventLayout.d.ts +14 -0
- package/dist-lib/npm/types/features/calendar/types/eventSource.d.ts +6 -0
- package/dist-lib/npm/types/features/calendar/types/view.d.ts +26 -0
- package/dist-lib/npm/types/features/calendar/utils/eventGeometry.d.ts +3 -0
- package/dist-lib/npm/types/features/calendar/utils/eventLabels.d.ts +15 -0
- package/dist-lib/npm/types/features/calendar/utils/layoutEvents.d.ts +3 -0
- package/dist-lib/npm/types/features/calendar/utils/segmentEvents.d.ts +5 -0
- package/dist-lib/npm/types/features/calendar/utils/slotSelection.d.ts +17 -0
- package/dist-lib/npm/types/features/calendars/components/ActiveCalendarIndicator.d.ts +1 -0
- package/dist-lib/npm/types/features/calendars/components/CalendarPreview.d.ts +4 -0
- package/dist-lib/npm/types/features/calendars/components/CalendarSettings.d.ts +1 -0
- package/dist-lib/npm/types/features/calendars/components/CalendarSwitcher.d.ts +1 -0
- package/dist-lib/npm/types/features/calendars/components/InvitationList.d.ts +1 -0
- package/dist-lib/npm/types/features/calendars/components/create/ColorStep.d.ts +7 -0
- package/dist-lib/npm/types/features/calendars/components/create/CreateCalendarPage.d.ts +1 -0
- package/dist-lib/npm/types/features/calendars/components/create/DetailsStep.d.ts +12 -0
- package/dist-lib/npm/types/features/calendars/components/create/MembersStep.d.ts +8 -0
- package/dist-lib/npm/types/features/calendars/components/create/ReviewStep.d.ts +4 -0
- package/dist-lib/npm/types/features/calendars/components/settings/CalendarSettingsPage.d.ts +1 -0
- package/dist-lib/npm/types/features/calendars/components/settings/DangerSection.d.ts +9 -0
- package/dist-lib/npm/types/features/calendars/components/settings/GeneralSection.d.ts +4 -0
- package/dist-lib/npm/types/features/calendars/components/settings/MembersSection.d.ts +11 -0
- package/dist-lib/npm/types/features/calendars/components/settings/TeamInvitationsSection.d.ts +12 -0
- package/dist-lib/npm/types/features/calendars/components/settings/TransferOwnershipModal.d.ts +8 -0
- package/dist-lib/npm/types/features/calendars/constants/calendars.d.ts +9 -0
- package/dist-lib/npm/types/features/calendars/context/CalendarsContext.d.ts +2 -0
- package/dist-lib/npm/types/features/calendars/context/CalendarsProvider.d.ts +8 -0
- package/dist-lib/npm/types/features/calendars/hooks/useCalendars.d.ts +1 -0
- package/dist-lib/npm/types/features/calendars/hooks/useTeam.d.ts +12 -0
- package/dist-lib/npm/types/features/calendars/index.d.ts +11 -0
- package/dist-lib/npm/types/features/calendars/repositories/LocalCalendarRepository.d.ts +20 -0
- package/dist-lib/npm/types/features/calendars/repositories/RemoteCalendarRepository.d.ts +23 -0
- package/dist-lib/npm/types/features/calendars/types/calendar.d.ts +91 -0
- package/dist-lib/npm/types/features/calendars/utils/draft.d.ts +7 -0
- package/dist-lib/npm/types/features/calendars/utils/permissions.d.ts +13 -0
- package/dist-lib/npm/types/features/events/components/ColorPicker.d.ts +7 -0
- package/dist-lib/npm/types/features/events/components/CustomColorSettings.d.ts +1 -0
- package/dist-lib/npm/types/features/events/components/DeleteEventModal.d.ts +8 -0
- package/dist-lib/npm/types/features/events/components/EventModal.d.ts +11 -0
- package/dist-lib/npm/types/features/events/components/RecurrenceFields.d.ts +9 -0
- package/dist-lib/npm/types/features/events/components/RecurrenceScopeModal.d.ts +8 -0
- package/dist-lib/npm/types/features/events/components/ScopeButtons.d.ts +10 -0
- package/dist-lib/npm/types/features/events/constants/colors.d.ts +3 -0
- package/dist-lib/npm/types/features/events/hooks/useCustomColors.d.ts +8 -0
- package/dist-lib/npm/types/features/events/hooks/useEvents.d.ts +15 -0
- package/dist-lib/npm/types/features/events/index.d.ts +5 -0
- package/dist-lib/npm/types/features/events/types/eventModal.d.ts +1 -0
- package/dist-lib/npm/types/features/events/utils/scopeOptions.d.ts +3 -0
- package/dist-lib/npm/types/features/events/utils/seriesActions.d.ts +4 -0
- package/dist-lib/npm/types/features/preferences/components/PreferencesSettings.d.ts +1 -0
- package/dist-lib/npm/types/features/preferences/context/PreferencesContext.d.ts +6 -0
- package/dist-lib/npm/types/features/preferences/context/PreferencesProvider.d.ts +4 -0
- package/dist-lib/npm/types/features/preferences/hooks/usePreferences.d.ts +1 -0
- package/dist-lib/npm/types/features/preferences/index.d.ts +3 -0
- package/dist-lib/npm/types/features/storage/components/LocalImportPrompt.d.ts +5 -0
- package/dist-lib/npm/types/features/storage/context/StorageContext.d.ts +2 -0
- package/dist-lib/npm/types/features/storage/context/StorageProvider.d.ts +8 -0
- package/dist-lib/npm/types/features/storage/hooks/useStorage.d.ts +7 -0
- package/dist-lib/npm/types/features/storage/index.d.ts +10 -0
- package/dist-lib/npm/types/features/storage/repositories/LocalColorRepository.d.ts +9 -0
- package/dist-lib/npm/types/features/storage/repositories/LocalEventRepository.d.ts +13 -0
- package/dist-lib/npm/types/features/storage/repositories/LocalPreferencesRepository.d.ts +8 -0
- package/dist-lib/npm/types/features/storage/repositories/RemoteColorRepository.d.ts +10 -0
- package/dist-lib/npm/types/features/storage/repositories/RemoteEventRepository.d.ts +12 -0
- package/dist-lib/npm/types/features/storage/repositories/RemotePreferencesRepository.d.ts +9 -0
- package/dist-lib/npm/types/features/storage/types/storage.d.ts +35 -0
- package/dist-lib/npm/types/features/storage/utils/copyEvents.d.ts +3 -0
- package/dist-lib/npm/types/features/storage/utils/localStorageList.d.ts +5 -0
- package/dist-lib/npm/types/features/storage/utils/localStorageValue.d.ts +9 -0
- package/dist-lib/npm/types/hooks/useArrowKeyNavigation.d.ts +6 -0
- package/dist-lib/npm/types/hooks/useAsyncAction.d.ts +6 -0
- package/dist-lib/npm/types/hooks/useAsyncResource.d.ts +9 -0
- package/dist-lib/npm/types/hooks/useForm.d.ts +21 -0
- package/dist-lib/npm/types/hooks/useFormState.d.ts +8 -0
- package/dist-lib/npm/types/hooks/useRequiredContext.d.ts +2 -0
- package/dist-lib/npm/types/hooks/useTabParam.d.ts +3 -0
- package/dist-lib/npm/types/i18n/I18nContext.d.ts +15 -0
- package/dist-lib/npm/types/i18n/I18nProvider.d.ts +7 -0
- package/dist-lib/npm/types/i18n/errorMessage.d.ts +2 -0
- package/dist-lib/npm/types/i18n/format.d.ts +28 -0
- package/dist-lib/npm/types/i18n/index.d.ts +8 -0
- package/dist-lib/npm/types/i18n/locale.d.ts +14 -0
- package/dist-lib/npm/types/i18n/messages/de/auth.d.ts +2 -0
- package/dist-lib/npm/types/i18n/messages/de/calendar.d.ts +3 -0
- package/dist-lib/npm/types/i18n/messages/de/calendars.d.ts +2 -0
- package/dist-lib/npm/types/i18n/messages/de/core.d.ts +7 -0
- package/dist-lib/npm/types/i18n/messages/de/events.d.ts +2 -0
- package/dist-lib/npm/types/i18n/messages/de/index.d.ts +2 -0
- package/dist-lib/npm/types/i18n/messages/de/settings.d.ts +2 -0
- package/dist-lib/npm/types/i18n/messages/de/storage.d.ts +2 -0
- package/dist-lib/npm/types/i18n/messages/en/auth.d.ts +97 -0
- package/dist-lib/npm/types/i18n/messages/en/calendar.d.ts +34 -0
- package/dist-lib/npm/types/i18n/messages/en/calendars.d.ts +177 -0
- package/dist-lib/npm/types/i18n/messages/en/core.d.ts +86 -0
- package/dist-lib/npm/types/i18n/messages/en/events.d.ts +42 -0
- package/dist-lib/npm/types/i18n/messages/en/index.d.ts +466 -0
- package/dist-lib/npm/types/i18n/messages/en/settings.d.ts +23 -0
- package/dist-lib/npm/types/i18n/messages/en/storage.d.ts +7 -0
- package/dist-lib/npm/types/i18n/messages/index.d.ts +4 -0
- package/dist-lib/npm/types/i18n/messages/types.d.ts +2 -0
- package/dist-lib/npm/types/i18n/useI18n.d.ts +3 -0
- package/dist-lib/npm/types/i18n/useLocaleGetter.d.ts +1 -0
- package/dist-lib/npm/types/i18n/weekInfo.d.ts +5 -0
- package/dist-lib/npm/types/lib/CalendarApp.d.ts +14 -0
- package/dist-lib/npm/types/lib/CalendarWidget.d.ts +2 -0
- package/dist-lib/npm/types/lib/IsolatedRoot.d.ts +9 -0
- package/dist-lib/npm/types/lib/config.d.ts +28 -0
- package/dist-lib/npm/types/lib/defaults.d.ts +13 -0
- package/dist-lib/npm/types/lib/element.d.ts +16 -0
- package/dist-lib/npm/types/lib/eventCallbacks.d.ts +11 -0
- package/dist-lib/npm/types/lib/index.d.ts +16 -0
- package/dist-lib/npm/types/lib/linkParam.d.ts +2 -0
- package/dist-lib/npm/types/lib/version.d.ts +1 -0
- package/dist-lib/npm/types/pages/CalendarPage.d.ts +1 -0
- package/dist-lib/npm/types/pages/SettingsPage.d.ts +1 -0
- package/dist-lib/npm/types/router.d.ts +7 -0
- package/dist-lib/npm/types/utils/api.d.ts +32 -0
- package/dist-lib/npm/types/utils/apiError.d.ts +26 -0
- package/dist-lib/npm/types/utils/appError.d.ts +10 -0
- package/dist-lib/npm/types/utils/calendarView.d.ts +3 -0
- package/dist-lib/npm/types/utils/classNames.d.ts +2 -0
- package/dist-lib/npm/types/utils/color.d.ts +5 -0
- package/dist-lib/npm/types/utils/date.d.ts +44 -0
- package/dist-lib/npm/types/utils/dom.d.ts +3 -0
- package/dist-lib/npm/types/utils/event.d.ts +74 -0
- package/dist-lib/npm/types/utils/number.d.ts +1 -0
- package/dist-lib/npm/types/utils/object.d.ts +3 -0
- package/dist-lib/npm/types/utils/preferences.d.ts +15 -0
- package/dist-lib/npm/types/utils/recurrence.d.ts +33 -0
- package/dist-lib/npm/types/utils/series.d.ts +9 -0
- package/dist-lib/npm/types/utils/validation.d.ts +6 -0
- package/package.json +82 -6
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
export declare const auth: {
|
|
2
|
+
name: string;
|
|
3
|
+
email: string;
|
|
4
|
+
password: string;
|
|
5
|
+
repeat: (label: string) => string;
|
|
6
|
+
passwordHint: (min: number) => string;
|
|
7
|
+
validation: {
|
|
8
|
+
nameRequired: string;
|
|
9
|
+
nameTooLong: (max: number) => string;
|
|
10
|
+
passwordRequired: string;
|
|
11
|
+
passwordTooShort: (min: number) => string;
|
|
12
|
+
passwordTooLong: (max: number) => string;
|
|
13
|
+
passwordMismatch: string;
|
|
14
|
+
passwordUnchanged: string;
|
|
15
|
+
};
|
|
16
|
+
login: {
|
|
17
|
+
title: string;
|
|
18
|
+
submit: string;
|
|
19
|
+
pending: string;
|
|
20
|
+
noAccount: string;
|
|
21
|
+
registerLink: string;
|
|
22
|
+
forgotPassword: string;
|
|
23
|
+
};
|
|
24
|
+
register: {
|
|
25
|
+
title: string;
|
|
26
|
+
submit: string;
|
|
27
|
+
pending: string;
|
|
28
|
+
hasAccount: string;
|
|
29
|
+
loginLink: string;
|
|
30
|
+
};
|
|
31
|
+
forgot: {
|
|
32
|
+
title: string;
|
|
33
|
+
remembered: string;
|
|
34
|
+
loginLink: string;
|
|
35
|
+
hint: string;
|
|
36
|
+
success: (email: string) => string;
|
|
37
|
+
submit: string;
|
|
38
|
+
pending: string;
|
|
39
|
+
};
|
|
40
|
+
reset: {
|
|
41
|
+
title: string;
|
|
42
|
+
newPassword: string;
|
|
43
|
+
incompleteLink: string;
|
|
44
|
+
requestNewLink: string;
|
|
45
|
+
success: string;
|
|
46
|
+
submit: string;
|
|
47
|
+
pending: string;
|
|
48
|
+
};
|
|
49
|
+
verify: {
|
|
50
|
+
title: string;
|
|
51
|
+
verifying: string;
|
|
52
|
+
incompleteLink: string;
|
|
53
|
+
success: string;
|
|
54
|
+
newLinkBefore: string;
|
|
55
|
+
newLinkSettings: string;
|
|
56
|
+
newLinkAfter: string;
|
|
57
|
+
bannerLabel: string;
|
|
58
|
+
bannerBefore: string;
|
|
59
|
+
bannerAfter: string;
|
|
60
|
+
resend: string;
|
|
61
|
+
resent: string;
|
|
62
|
+
sending: string;
|
|
63
|
+
};
|
|
64
|
+
continueToCalendar: string;
|
|
65
|
+
signInNow: string;
|
|
66
|
+
menu: {
|
|
67
|
+
signIn: string;
|
|
68
|
+
accountOf: (name: string) => string;
|
|
69
|
+
signOut: string;
|
|
70
|
+
signingOut: string;
|
|
71
|
+
};
|
|
72
|
+
account: {
|
|
73
|
+
profile: string;
|
|
74
|
+
savePending: string;
|
|
75
|
+
emailTitle: string;
|
|
76
|
+
verified: string;
|
|
77
|
+
unverified: string;
|
|
78
|
+
verificationSent: string;
|
|
79
|
+
resendVerification: string;
|
|
80
|
+
passwordTitle: string;
|
|
81
|
+
passwordDescription: string;
|
|
82
|
+
currentPassword: string;
|
|
83
|
+
newPassword: string;
|
|
84
|
+
passwordChanged: string;
|
|
85
|
+
passwordPending: string;
|
|
86
|
+
passwordSubmit: string;
|
|
87
|
+
deleteTitle: string;
|
|
88
|
+
deleteDescription: string;
|
|
89
|
+
deleteOpen: string;
|
|
90
|
+
deleteWarningBefore: string;
|
|
91
|
+
deleteWarningStrong: string;
|
|
92
|
+
deleteWarningAfter: string;
|
|
93
|
+
deletePassword: string;
|
|
94
|
+
deletePending: string;
|
|
95
|
+
deleteSubmit: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare const views: {
|
|
2
|
+
label: string;
|
|
3
|
+
day: {
|
|
4
|
+
label: string;
|
|
5
|
+
previous: string;
|
|
6
|
+
next: string;
|
|
7
|
+
};
|
|
8
|
+
week: {
|
|
9
|
+
label: string;
|
|
10
|
+
previous: string;
|
|
11
|
+
next: string;
|
|
12
|
+
};
|
|
13
|
+
month: {
|
|
14
|
+
label: string;
|
|
15
|
+
previous: string;
|
|
16
|
+
next: string;
|
|
17
|
+
};
|
|
18
|
+
year: {
|
|
19
|
+
label: string;
|
|
20
|
+
previous: string;
|
|
21
|
+
next: string;
|
|
22
|
+
};
|
|
23
|
+
weekNumber: (week: number) => string;
|
|
24
|
+
weekNumberLong: (week: number) => string;
|
|
25
|
+
};
|
|
26
|
+
export declare const calendar: {
|
|
27
|
+
today: string;
|
|
28
|
+
newEvent: string;
|
|
29
|
+
now: (time: string) => string;
|
|
30
|
+
openDay: (date: string) => string;
|
|
31
|
+
moreEvents: (count: number) => string;
|
|
32
|
+
fromCalendar: (name: string) => string;
|
|
33
|
+
sharedEventNotice: (source: string) => string;
|
|
34
|
+
};
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
export declare const calendars: {
|
|
2
|
+
personalName: string;
|
|
3
|
+
roles: {
|
|
4
|
+
owner: string;
|
|
5
|
+
admin: string;
|
|
6
|
+
manager: string;
|
|
7
|
+
editor: string;
|
|
8
|
+
member: string;
|
|
9
|
+
contributor: string;
|
|
10
|
+
viewer: string;
|
|
11
|
+
};
|
|
12
|
+
roleDescriptions: {
|
|
13
|
+
owner: string;
|
|
14
|
+
admin: string;
|
|
15
|
+
manager: string;
|
|
16
|
+
editor: string;
|
|
17
|
+
member: string;
|
|
18
|
+
contributor: string;
|
|
19
|
+
viewer: string;
|
|
20
|
+
};
|
|
21
|
+
roleHint: (role: string, description: string) => string;
|
|
22
|
+
kind: {
|
|
23
|
+
personal: string;
|
|
24
|
+
team: string;
|
|
25
|
+
teamWithName: (team: string) => string;
|
|
26
|
+
};
|
|
27
|
+
indicator: {
|
|
28
|
+
onlyYou: string;
|
|
29
|
+
team: (role: string) => string;
|
|
30
|
+
current: (name: string) => string;
|
|
31
|
+
};
|
|
32
|
+
switcher: {
|
|
33
|
+
open: string;
|
|
34
|
+
title: string;
|
|
35
|
+
personal: string;
|
|
36
|
+
teams: string;
|
|
37
|
+
active: string;
|
|
38
|
+
openInvitations: (count: number) => string;
|
|
39
|
+
view: string;
|
|
40
|
+
noTeams: string;
|
|
41
|
+
newCalendar: string;
|
|
42
|
+
};
|
|
43
|
+
invitations: {
|
|
44
|
+
title: string;
|
|
45
|
+
description: string;
|
|
46
|
+
invitedBy: (name: string) => string;
|
|
47
|
+
invited: string;
|
|
48
|
+
validUntil: (date: string) => string;
|
|
49
|
+
decline: string;
|
|
50
|
+
declining: string;
|
|
51
|
+
accept: string;
|
|
52
|
+
accepting: string;
|
|
53
|
+
};
|
|
54
|
+
list: {
|
|
55
|
+
title: string;
|
|
56
|
+
description: string;
|
|
57
|
+
settingsFor: (name: string) => string;
|
|
58
|
+
personalHint: string;
|
|
59
|
+
showInPersonal: string;
|
|
60
|
+
leave: string;
|
|
61
|
+
ownerCannotLeave: string;
|
|
62
|
+
noTeamCalendars: string;
|
|
63
|
+
create: string;
|
|
64
|
+
};
|
|
65
|
+
leave: {
|
|
66
|
+
title: string;
|
|
67
|
+
confirm: string;
|
|
68
|
+
pending: string;
|
|
69
|
+
message: (team: string) => string;
|
|
70
|
+
};
|
|
71
|
+
create: {
|
|
72
|
+
title: string;
|
|
73
|
+
steps: {
|
|
74
|
+
label: string;
|
|
75
|
+
title: string;
|
|
76
|
+
hint: string;
|
|
77
|
+
}[];
|
|
78
|
+
stepCount: (step: number, total: number) => string;
|
|
79
|
+
next: string;
|
|
80
|
+
pending: string;
|
|
81
|
+
submit: string;
|
|
82
|
+
};
|
|
83
|
+
details: {
|
|
84
|
+
name: string;
|
|
85
|
+
namePlaceholder: string;
|
|
86
|
+
description: string;
|
|
87
|
+
descriptionOptional: string;
|
|
88
|
+
descriptionPlaceholder: string;
|
|
89
|
+
yourRole: string;
|
|
90
|
+
invitations: string;
|
|
91
|
+
none: string;
|
|
92
|
+
};
|
|
93
|
+
invite: {
|
|
94
|
+
email: string;
|
|
95
|
+
role: string;
|
|
96
|
+
add: string;
|
|
97
|
+
nobodyYet: string;
|
|
98
|
+
remove: (email: string) => string;
|
|
99
|
+
};
|
|
100
|
+
validation: {
|
|
101
|
+
nameRequired: string;
|
|
102
|
+
nameTooLong: (max: number) => string;
|
|
103
|
+
tooManyInvitations: (max: number) => string;
|
|
104
|
+
selfInvite: string;
|
|
105
|
+
alreadyInvited: string;
|
|
106
|
+
alreadyMember: string;
|
|
107
|
+
};
|
|
108
|
+
settings: {
|
|
109
|
+
title: string;
|
|
110
|
+
pageTitle: (name: string) => string;
|
|
111
|
+
notFound: string;
|
|
112
|
+
tabsLabel: string;
|
|
113
|
+
withCount: (label: string, count: number) => string;
|
|
114
|
+
tabs: {
|
|
115
|
+
general: string;
|
|
116
|
+
members: string;
|
|
117
|
+
invitations: string;
|
|
118
|
+
danger: string;
|
|
119
|
+
};
|
|
120
|
+
displayTitle: string;
|
|
121
|
+
displayDescription: string;
|
|
122
|
+
personalTitle: string;
|
|
123
|
+
personalHint: string;
|
|
124
|
+
};
|
|
125
|
+
general: {
|
|
126
|
+
title: string;
|
|
127
|
+
teamDescription: string;
|
|
128
|
+
personalDescription: string;
|
|
129
|
+
pending: string;
|
|
130
|
+
};
|
|
131
|
+
members: {
|
|
132
|
+
title: string;
|
|
133
|
+
description: string;
|
|
134
|
+
you: string;
|
|
135
|
+
roleOf: (name: string) => string;
|
|
136
|
+
remove: string;
|
|
137
|
+
removeTitle: string;
|
|
138
|
+
removing: string;
|
|
139
|
+
removeMessage: (name: string, calendar: string) => string;
|
|
140
|
+
};
|
|
141
|
+
teamInvitations: {
|
|
142
|
+
title: string;
|
|
143
|
+
description: string;
|
|
144
|
+
revoke: string;
|
|
145
|
+
revoking: string;
|
|
146
|
+
submit: string;
|
|
147
|
+
sending: string;
|
|
148
|
+
sent: (email: string) => string;
|
|
149
|
+
none: string;
|
|
150
|
+
};
|
|
151
|
+
danger: {
|
|
152
|
+
title: string;
|
|
153
|
+
transferHint: string;
|
|
154
|
+
transferUnavailable: string;
|
|
155
|
+
transfer: string;
|
|
156
|
+
lastOwnerHint: string;
|
|
157
|
+
leaveHint: string;
|
|
158
|
+
deleteHint: (team: string) => string;
|
|
159
|
+
deleteTeam: string;
|
|
160
|
+
transferConfirmTitle: string;
|
|
161
|
+
transferConfirm: string;
|
|
162
|
+
transferring: string;
|
|
163
|
+
transferMessage: (name: string, email: string, team: string, role: string) => string;
|
|
164
|
+
deleteTitle: string;
|
|
165
|
+
deleteConfirm: string;
|
|
166
|
+
deleting: string;
|
|
167
|
+
deleteMessage: (team: string, count: number) => string;
|
|
168
|
+
};
|
|
169
|
+
transfer: {
|
|
170
|
+
title: string;
|
|
171
|
+
search: string;
|
|
172
|
+
searchPlaceholder: string;
|
|
173
|
+
noResults: string;
|
|
174
|
+
newOwner: string;
|
|
175
|
+
confirm: string;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { ErrorCode } from '../../../utils/appError.js';
|
|
2
|
+
import type { ApiErrorKind } from '../../../utils/apiError.js';
|
|
3
|
+
export declare const common: {
|
|
4
|
+
loading: string;
|
|
5
|
+
close: string;
|
|
6
|
+
cancel: string;
|
|
7
|
+
save: string;
|
|
8
|
+
saving: string;
|
|
9
|
+
saved: string;
|
|
10
|
+
delete: string;
|
|
11
|
+
deleting: string;
|
|
12
|
+
backToCalendar: string;
|
|
13
|
+
backToSettings: string;
|
|
14
|
+
settings: string;
|
|
15
|
+
progress: string;
|
|
16
|
+
next: string;
|
|
17
|
+
back: string;
|
|
18
|
+
};
|
|
19
|
+
export declare const errors: Record<ErrorCode, string> & {
|
|
20
|
+
status: Partial<Record<number, string>>;
|
|
21
|
+
serverError: string;
|
|
22
|
+
requestFailed: (status: number) => string;
|
|
23
|
+
kind: Record<Exclude<ApiErrorKind, 'http'>, string>;
|
|
24
|
+
};
|
|
25
|
+
export declare const validation: {
|
|
26
|
+
emailRequired: string;
|
|
27
|
+
emailInvalid: string;
|
|
28
|
+
integerRange: (min: number, max: number) => string;
|
|
29
|
+
titleRequired: string;
|
|
30
|
+
titleTooLong: (max: number) => string;
|
|
31
|
+
descriptionTooLong: (max: number) => string;
|
|
32
|
+
startDateInvalid: string;
|
|
33
|
+
startTimeInvalid: string;
|
|
34
|
+
endDateInvalid: string;
|
|
35
|
+
endTimeInvalid: string;
|
|
36
|
+
endDateBeforeStart: string;
|
|
37
|
+
endBeforeStart: string;
|
|
38
|
+
weekdaysRequired: string;
|
|
39
|
+
dateInvalid: string;
|
|
40
|
+
untilBeforeStart: string;
|
|
41
|
+
};
|
|
42
|
+
export declare const colors: {
|
|
43
|
+
blue: string;
|
|
44
|
+
red: string;
|
|
45
|
+
green: string;
|
|
46
|
+
yellow: string;
|
|
47
|
+
};
|
|
48
|
+
export declare const themes: {
|
|
49
|
+
system: string;
|
|
50
|
+
light: string;
|
|
51
|
+
dark: string;
|
|
52
|
+
};
|
|
53
|
+
export declare const recurrence: {
|
|
54
|
+
frequency: {
|
|
55
|
+
daily: string;
|
|
56
|
+
weekly: string;
|
|
57
|
+
monthly: string;
|
|
58
|
+
yearly: string;
|
|
59
|
+
};
|
|
60
|
+
units: {
|
|
61
|
+
daily: {
|
|
62
|
+
one: string;
|
|
63
|
+
many: string;
|
|
64
|
+
};
|
|
65
|
+
weekly: {
|
|
66
|
+
one: string;
|
|
67
|
+
many: string;
|
|
68
|
+
};
|
|
69
|
+
monthly: {
|
|
70
|
+
one: string;
|
|
71
|
+
many: string;
|
|
72
|
+
};
|
|
73
|
+
yearly: {
|
|
74
|
+
one: string;
|
|
75
|
+
many: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
every: (interval: number, unit: string) => string;
|
|
79
|
+
onWeekdays: (weekdays: string) => string;
|
|
80
|
+
onDate: (date: string) => string;
|
|
81
|
+
monthlyOnDay: (day: number) => string;
|
|
82
|
+
monthlyOnWeekday: (ordinal: number, weekday: string) => string;
|
|
83
|
+
monthlyOnLastWeekday: (weekday: string) => string;
|
|
84
|
+
until: (date: string) => string;
|
|
85
|
+
times: (count: number) => string;
|
|
86
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export declare const events: {
|
|
2
|
+
createTitle: string;
|
|
3
|
+
editTitle: string;
|
|
4
|
+
title: string;
|
|
5
|
+
startDate: string;
|
|
6
|
+
startTime: string;
|
|
7
|
+
endDate: string;
|
|
8
|
+
endTime: string;
|
|
9
|
+
description: string;
|
|
10
|
+
color: string;
|
|
11
|
+
addCustomColor: string;
|
|
12
|
+
customColors: string;
|
|
13
|
+
customColorsDescription: (max: number) => string;
|
|
14
|
+
noCustomColors: string;
|
|
15
|
+
removeColor: (label: string) => string;
|
|
16
|
+
deleteTitle: string;
|
|
17
|
+
deleteSeriesMessage: (title: string) => string;
|
|
18
|
+
deleteMessage: (title: string) => string;
|
|
19
|
+
yes: string;
|
|
20
|
+
no: string;
|
|
21
|
+
scopeTitle: string;
|
|
22
|
+
scopeMessage: string;
|
|
23
|
+
scopes: {
|
|
24
|
+
single: string;
|
|
25
|
+
following: string;
|
|
26
|
+
all: string;
|
|
27
|
+
};
|
|
28
|
+
repeat: string;
|
|
29
|
+
never: string;
|
|
30
|
+
every: string;
|
|
31
|
+
onTheseDays: string;
|
|
32
|
+
inMonth: string;
|
|
33
|
+
ends: string;
|
|
34
|
+
endsOnDate: string;
|
|
35
|
+
endsAfterCount: string;
|
|
36
|
+
lastOccurrence: string;
|
|
37
|
+
after: string;
|
|
38
|
+
occurrences: {
|
|
39
|
+
one: string;
|
|
40
|
+
many: string;
|
|
41
|
+
};
|
|
42
|
+
};
|