@nuxt-customer-portal/authentication 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,115 @@
1
+ {
2
+ "forgotPassword": {
3
+ "buttons": {
4
+ "backToLogin": "Back to Login",
5
+ "resendCode": "Resend Code",
6
+ "resetPassword": "Reset Password",
7
+ "sendCode": "Send Code"
8
+ },
9
+ "description": "Enter your email address and we'll send you a verification code to reset your password.",
10
+ "fields": {
11
+ "confirmPassword": "Confirm Password",
12
+ "confirmPasswordPlaceholder": "Confirm your new password",
13
+ "email": "Email Address",
14
+ "emailPlaceholder": "Enter your email address",
15
+ "newPassword": "New Password",
16
+ "newPasswordPlaceholder": "Enter your new password",
17
+ "otp": "Verification Code"
18
+ },
19
+ "messages": {
20
+ "codeSent": "Verification code sent to your email!",
21
+ "resendError": "Failed to resend code",
22
+ "resendIn": "Resend in {seconds}s",
23
+ "resetError": "Failed to reset password",
24
+ "userNotFound": "No account found with this email address"
25
+ },
26
+ "step2Description": "Enter the 6-digit code sent to {email} and your new password.",
27
+ "title": "Reset Your Password",
28
+ "validation": {
29
+ "invalidEmail": "Please enter a valid email address",
30
+ "otpLength": "Please enter a 6-digit code",
31
+ "passwordMinLength": "Password must be at least 8 characters",
32
+ "passwordsMatch": "Passwords must match"
33
+ }
34
+ },
35
+ "login": {
36
+ "description": "Don't have an account?",
37
+ "errors": {
38
+ "githubError": "Could not initiate GitHub login.",
39
+ "googleError": "Could not initiate Google login.",
40
+ "invalidCredentials": "Invalid email or password.",
41
+ "unexpectedError": "An unexpected error occurred. Please try again."
42
+ },
43
+ "fields": {
44
+ "email": "Email",
45
+ "emailPlaceholder": "Enter your email",
46
+ "password": "Password",
47
+ "passwordPlaceholder": "Enter your password",
48
+ "remember": "Remember me"
49
+ },
50
+ "footer": "By signing in, you agree to our",
51
+ "forgotPassword": "Forgot password?",
52
+ "providers": {
53
+ "github": "GitHub",
54
+ "google": "Google"
55
+ },
56
+ "signupLink": "Sign up",
57
+ "submitButton": "Sign in",
58
+ "termsLink": "Terms of Service",
59
+ "title": "Welcome back",
60
+ "validation": {
61
+ "invalidEmail": "Invalid email",
62
+ "passwordMinLength": "Must be at least 8 characters"
63
+ }
64
+ },
65
+ "signup": {
66
+ "description": "Already have an account?",
67
+ "invitation": {
68
+ "loggedIn": {
69
+ "success": "Successfully joined {organizationName} as {role}",
70
+ "emailMismatch": "This invitation was sent to a different email address. Please log out and use the email address the invitation was sent to.",
71
+ "error": "Failed to accept invitation: {error}"
72
+ }
73
+ },
74
+ "errors": {
75
+ "errorTitle": "Error",
76
+ "unknownError": "An unknown error occurred during signup."
77
+ },
78
+ "fields": {
79
+ "email": "Email",
80
+ "emailPlaceholder": "Enter your email",
81
+ "name": "Name",
82
+ "namePlaceholder": "Enter your name",
83
+ "password": "Password",
84
+ "passwordPlaceholder": "Enter your password"
85
+ },
86
+ "footer": "By signing up, you agree to our",
87
+ "loginLink": "Login",
88
+ "providers": {
89
+ "github": "GitHub",
90
+ "google": "Google"
91
+ },
92
+ "submitButton": "Create account",
93
+ "termsLink": "Terms of Service",
94
+ "title": "Create an account",
95
+ "validation": {
96
+ "invalidEmail": "Invalid email",
97
+ "nameRequired": "Name is required",
98
+ "passwordMinLength": "Must be at least 8 characters"
99
+ }
100
+ },
101
+ "verify": {
102
+ "codePlaceholder": "000000",
103
+ "codeSent": "Verification code sent!",
104
+ "enterCode": "Verification Code",
105
+ "error": "Verification failed",
106
+ "invalidCode": "Invalid verification code",
107
+ "invalidCodeLength": "Please enter a 6-digit code",
108
+ "resendCode": "Resend Code",
109
+ "resendError": "Failed to resend code",
110
+ "resendIn": "Resend in {seconds}s",
111
+ "subtitle": "Enter the 6-digit code sent to {email}",
112
+ "success": "Email verified successfully!",
113
+ "title": "Verify Your Email"
114
+ }
115
+ }
@@ -0,0 +1,115 @@
1
+ {
2
+ "forgotPassword": {
3
+ "buttons": {
4
+ "backToLogin": "Terug naar Inloggen",
5
+ "resendCode": "Code Opnieuw Verzenden",
6
+ "resetPassword": "Wachtwoord Resetten",
7
+ "sendCode": "Code Verzenden"
8
+ },
9
+ "description": "Voer je e-mailadres in en wij sturen je een verificatiecode om je wachtwoord te resetten.",
10
+ "fields": {
11
+ "confirmPassword": "Bevestig Wachtwoord",
12
+ "confirmPasswordPlaceholder": "Bevestig je nieuwe wachtwoord",
13
+ "email": "E-mailadres",
14
+ "emailPlaceholder": "Voer je e-mailadres in",
15
+ "newPassword": "Nieuw Wachtwoord",
16
+ "newPasswordPlaceholder": "Voer je nieuwe wachtwoord in",
17
+ "otp": "Verificatiecode"
18
+ },
19
+ "messages": {
20
+ "codeSent": "Verificatiecode verzonden naar je e-mail!",
21
+ "resendError": "Code opnieuw verzenden mislukt",
22
+ "resendIn": "Opnieuw verzenden over {seconds}s",
23
+ "resetError": "Wachtwoord resetten mislukt",
24
+ "userNotFound": "Geen account gevonden met dit e-mailadres"
25
+ },
26
+ "step2Description": "Voer de 6-cijferige code in die is verzonden naar {email} en je nieuwe wachtwoord.",
27
+ "title": "Reset Je Wachtwoord",
28
+ "validation": {
29
+ "invalidEmail": "Voer een geldig e-mailadres in",
30
+ "otpLength": "Voer een 6-cijferige code in",
31
+ "passwordMinLength": "Wachtwoord moet minimaal 8 tekens zijn",
32
+ "passwordsMatch": "Wachtwoorden moeten overeenkomen"
33
+ }
34
+ },
35
+ "login": {
36
+ "description": "Heb je nog geen account?",
37
+ "errors": {
38
+ "githubError": "GitHub inloggen kon niet worden gestart.",
39
+ "googleError": "Google inloggen kon niet worden gestart.",
40
+ "invalidCredentials": "Ongeldig e-mailadres of wachtwoord.",
41
+ "unexpectedError": "Er is een onverwachte fout opgetreden. Probeer het opnieuw."
42
+ },
43
+ "fields": {
44
+ "email": "E-mail",
45
+ "emailPlaceholder": "Voer je e-mail in",
46
+ "password": "Wachtwoord",
47
+ "passwordPlaceholder": "Voer je wachtwoord in",
48
+ "remember": "Onthoud mij"
49
+ },
50
+ "footer": "Door in te loggen, ga je akkoord met onze",
51
+ "forgotPassword": "Wachtwoord vergeten?",
52
+ "providers": {
53
+ "github": "GitHub",
54
+ "google": "Google"
55
+ },
56
+ "signupLink": "Aanmelden",
57
+ "submitButton": "Inloggen",
58
+ "termsLink": "Servicevoorwaarden",
59
+ "title": "Welkom terug",
60
+ "validation": {
61
+ "invalidEmail": "Ongeldig e-mailadres",
62
+ "passwordMinLength": "Moet minimaal 8 tekens zijn"
63
+ }
64
+ },
65
+ "signup": {
66
+ "description": "Heb je al een account?",
67
+ "invitation": {
68
+ "loggedIn": {
69
+ "success": "Succesvol lid geworden van {organizationName} als {role}",
70
+ "emailMismatch": "Deze uitnodiging is verzonden naar een ander e-mailadres. Log uit en gebruik het e-mailadres waarop de uitnodiging is verzonden.",
71
+ "error": "Uitnodiging accepteren mislukt: {error}"
72
+ }
73
+ },
74
+ "errors": {
75
+ "errorTitle": "Fout",
76
+ "unknownError": "Er is een onbekende fout opgetreden tijdens het aanmelden."
77
+ },
78
+ "fields": {
79
+ "email": "E-mail",
80
+ "emailPlaceholder": "Voer je e-mail in",
81
+ "name": "Naam",
82
+ "namePlaceholder": "Voer je naam in",
83
+ "password": "Wachtwoord",
84
+ "passwordPlaceholder": "Voer je wachtwoord in"
85
+ },
86
+ "footer": "Door je aan te melden, ga je akkoord met onze",
87
+ "loginLink": "Inloggen",
88
+ "providers": {
89
+ "github": "GitHub",
90
+ "google": "Google"
91
+ },
92
+ "submitButton": "Account aanmaken",
93
+ "termsLink": "Servicevoorwaarden",
94
+ "title": "Maak een account aan",
95
+ "validation": {
96
+ "invalidEmail": "Ongeldig e-mailadres",
97
+ "nameRequired": "Naam is verplicht",
98
+ "passwordMinLength": "Moet minimaal 8 tekens zijn"
99
+ }
100
+ },
101
+ "verify": {
102
+ "codePlaceholder": "000000",
103
+ "codeSent": "Verificatiecode verzonden!",
104
+ "enterCode": "Verificatiecode",
105
+ "error": "Verificatie mislukt",
106
+ "invalidCode": "Ongeldige verificatiecode",
107
+ "invalidCodeLength": "Voer een 6-cijferige code in",
108
+ "resendCode": "Code Opnieuw Verzenden",
109
+ "resendError": "Code opnieuw verzenden mislukt",
110
+ "resendIn": "Opnieuw verzenden over {seconds}s",
111
+ "subtitle": "Voer de 6-cijferige code in die is verzonden naar {email}",
112
+ "success": "E-mail succesvol geverifieerd!",
113
+ "title": "Verifieer Je E-mail"
114
+ }
115
+ }
package/nuxt.config.ts ADDED
@@ -0,0 +1,11 @@
1
+ export default defineNuxtConfig({
2
+ $meta: { name: 'nuxt-customer-portal-authentication' },
3
+ compatibilityDate: '2025-10-24',
4
+ modules: ['@nuxtjs/i18n'],
5
+ i18n: {
6
+ locales: [
7
+ { code: 'en', file: 'en.json' },
8
+ { code: 'nl', file: 'nl.json' }
9
+ ]
10
+ }
11
+ })
package/package.json ADDED
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "@nuxt-customer-portal/authentication",
3
+ "version": "0.3.0",
4
+ "license": "MIT",
5
+ "homepage": "https://nuxt-customer-portal.com",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/ludulicious/nuxt-customer-portal.git"
9
+ },
10
+ "type": "module",
11
+ "main": "./nuxt.config.ts",
12
+ "files": [
13
+ "LICENSE",
14
+ "CHANGELOG.md",
15
+ "app",
16
+ "i18n",
17
+ "shared",
18
+ "nuxt.config.ts",
19
+ "portal.manifest.mjs",
20
+ "README.md"
21
+ ],
22
+ "exports": {
23
+ ".": "./nuxt.config.ts",
24
+ "./portal-manifest": "./portal.manifest.mjs"
25
+ },
26
+ "publishConfig": {
27
+ "access": "public"
28
+ },
29
+ "dependencies": {
30
+ "@nuxtjs/i18n": "^10.6.0",
31
+ "zod": "^4.4.3",
32
+ "@nuxt/ui": "^4.10.0",
33
+ "@nuxt-customer-portal/core": "^0.3.0",
34
+ "@nuxt-customer-portal/ui": "^0.3.0"
35
+ },
36
+ "peerDependencies": {
37
+ "nuxt": "^4.5.1"
38
+ },
39
+ "devDependencies": {
40
+ "nuxt": "^4.5.1"
41
+ }
42
+ }
@@ -0,0 +1,6 @@
1
+ export default {
2
+ id: 'authentication',
3
+ version: '0.3.0',
4
+ source: '@nuxt-customer-portal/authentication',
5
+ dependsOn: ['core', 'ui']
6
+ }