@pelcro/react-pelcro-js 3.6.0-beta.11 → 3.6.0-beta.14
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/dist/index.cjs.js +839 -442
- package/dist/index.esm.js +838 -443
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -3576,7 +3576,7 @@ var paymentMethod_ko = {
|
|
|
3576
3576
|
var title$q = "Enter your email to subscribe to our newsletter";
|
|
3577
3577
|
var updateTitle$2 = "Update newsletter selections";
|
|
3578
3578
|
var subtitle$b = "We may use your email for other marketing communication";
|
|
3579
|
-
var labels$
|
|
3579
|
+
var labels$L = {
|
|
3580
3580
|
submit: "Submit",
|
|
3581
3581
|
firstName: "First name",
|
|
3582
3582
|
lastName: "Last name",
|
|
@@ -3584,7 +3584,7 @@ var labels$I = {
|
|
|
3584
3584
|
postalCode: "Postal code",
|
|
3585
3585
|
required: "required"
|
|
3586
3586
|
};
|
|
3587
|
-
var messages$
|
|
3587
|
+
var messages$R = {
|
|
3588
3588
|
alreadyHaveAccount: "Already have an account?",
|
|
3589
3589
|
success: "Newsletters were successfully updated",
|
|
3590
3590
|
loginHere: "Login here.",
|
|
@@ -3595,14 +3595,14 @@ var newsletter_en = {
|
|
|
3595
3595
|
title: title$q,
|
|
3596
3596
|
updateTitle: updateTitle$2,
|
|
3597
3597
|
subtitle: subtitle$b,
|
|
3598
|
-
labels: labels$
|
|
3599
|
-
messages: messages$
|
|
3598
|
+
labels: labels$L,
|
|
3599
|
+
messages: messages$R
|
|
3600
3600
|
};
|
|
3601
3601
|
|
|
3602
3602
|
var title$p = "Entrez votre adresse courriel pour vous abonner à notre infolettre";
|
|
3603
3603
|
var updateTitle$1 = "Mettre à jour son choix d'infolettres";
|
|
3604
3604
|
var subtitle$a = "Nous pouvons utiliser votre adresse courriel pour d’autres communications marketing";
|
|
3605
|
-
var labels$
|
|
3605
|
+
var labels$K = {
|
|
3606
3606
|
submit: "Lire l’article !",
|
|
3607
3607
|
firstName: "Prénom",
|
|
3608
3608
|
lastName: "Nom de famille",
|
|
@@ -3610,7 +3610,7 @@ var labels$H = {
|
|
|
3610
3610
|
postalCode: "Code postal",
|
|
3611
3611
|
required: "Champs obligatoires"
|
|
3612
3612
|
};
|
|
3613
|
-
var messages$
|
|
3613
|
+
var messages$Q = {
|
|
3614
3614
|
alreadyHaveAccount: "Vous avez déjà un compte ?",
|
|
3615
3615
|
success: "Votre choix d'infolettres à été mis à jour",
|
|
3616
3616
|
loginHere: "Connectez-vous ici",
|
|
@@ -3621,14 +3621,14 @@ var newsletter_fr = {
|
|
|
3621
3621
|
title: title$p,
|
|
3622
3622
|
updateTitle: updateTitle$1,
|
|
3623
3623
|
subtitle: subtitle$a,
|
|
3624
|
-
labels: labels$
|
|
3625
|
-
messages: messages$
|
|
3624
|
+
labels: labels$K,
|
|
3625
|
+
messages: messages$Q
|
|
3626
3626
|
};
|
|
3627
3627
|
|
|
3628
3628
|
var title$o = "Frieze 뉴스레터를 구독하려면 이메일을 입력하세요.";
|
|
3629
3629
|
var updateTitle = "뉴스레터 선택 업데이트";
|
|
3630
3630
|
var subtitle$9 = "귀하의 이메일은 다른 마케팅 용도로도 사용됩니다.";
|
|
3631
|
-
var labels$
|
|
3631
|
+
var labels$J = {
|
|
3632
3632
|
submit: "제출",
|
|
3633
3633
|
firstName: "이름",
|
|
3634
3634
|
lastName: "성",
|
|
@@ -3636,7 +3636,7 @@ var labels$G = {
|
|
|
3636
3636
|
postalCode: "우편번호",
|
|
3637
3637
|
required: "필수 항목"
|
|
3638
3638
|
};
|
|
3639
|
-
var messages$
|
|
3639
|
+
var messages$P = {
|
|
3640
3640
|
alreadyHaveAccount: "이미 계정이 있습니까?",
|
|
3641
3641
|
success: "뉴스레터가 성공적으로 업데이트되었습니다.",
|
|
3642
3642
|
loginHere: "여기에서 로그인하세요.",
|
|
@@ -3647,14 +3647,14 @@ var newsletter_ko = {
|
|
|
3647
3647
|
title: title$o,
|
|
3648
3648
|
updateTitle: updateTitle,
|
|
3649
3649
|
subtitle: subtitle$9,
|
|
3650
|
-
labels: labels$
|
|
3651
|
-
messages: messages$
|
|
3650
|
+
labels: labels$J,
|
|
3651
|
+
messages: messages$P
|
|
3652
3652
|
};
|
|
3653
3653
|
|
|
3654
|
-
var labels$
|
|
3654
|
+
var labels$I = {
|
|
3655
3655
|
"continue": "Continue to content"
|
|
3656
3656
|
};
|
|
3657
|
-
var messages$
|
|
3657
|
+
var messages$O = {
|
|
3658
3658
|
yourFreeTrial: "Subscription successful!",
|
|
3659
3659
|
youHaveAccess: "Hope you enjoy the subscription. Please contact us if you have any questions or concerns.",
|
|
3660
3660
|
clickToLearn: {
|
|
@@ -3680,15 +3680,15 @@ var errors$e = {
|
|
|
3680
3680
|
"": ""
|
|
3681
3681
|
};
|
|
3682
3682
|
var success_en = {
|
|
3683
|
-
labels: labels$
|
|
3684
|
-
messages: messages$
|
|
3683
|
+
labels: labels$I,
|
|
3684
|
+
messages: messages$O,
|
|
3685
3685
|
errors: errors$e
|
|
3686
3686
|
};
|
|
3687
3687
|
|
|
3688
|
-
var labels$
|
|
3688
|
+
var labels$H = {
|
|
3689
3689
|
"continue": "Abonnement réussi !"
|
|
3690
3690
|
};
|
|
3691
|
-
var messages$
|
|
3691
|
+
var messages$N = {
|
|
3692
3692
|
yourFreeTrial: "Votre essai gratuit vient de débuter",
|
|
3693
3693
|
youHaveAccess: "Nous espérons que vous allez apprécier votre abonnement. Veuillez nous contacter si vous avez des questions ou des préoccupations.",
|
|
3694
3694
|
clickToLearn: {
|
|
@@ -3714,15 +3714,15 @@ var errors$d = {
|
|
|
3714
3714
|
"": ""
|
|
3715
3715
|
};
|
|
3716
3716
|
var success_fr = {
|
|
3717
|
-
labels: labels$
|
|
3718
|
-
messages: messages$
|
|
3717
|
+
labels: labels$H,
|
|
3718
|
+
messages: messages$N,
|
|
3719
3719
|
errors: errors$d
|
|
3720
3720
|
};
|
|
3721
3721
|
|
|
3722
|
-
var labels$
|
|
3722
|
+
var labels$G = {
|
|
3723
3723
|
"continue": "콘텐츠로 돌아가기"
|
|
3724
3724
|
};
|
|
3725
|
-
var messages$
|
|
3725
|
+
var messages$M = {
|
|
3726
3726
|
yourFreeTrial: "유료 멤버십에 가입하셨습니다!",
|
|
3727
3727
|
youHaveAccess: "멤버십 혜택을 즐기시기를 바라며, 질문이나 문의 사항이 있으면 저희에게 연락주십시오.",
|
|
3728
3728
|
clickToLearn: {
|
|
@@ -3748,12 +3748,12 @@ var errors$c = {
|
|
|
3748
3748
|
"": ""
|
|
3749
3749
|
};
|
|
3750
3750
|
var success_ko = {
|
|
3751
|
-
labels: labels$
|
|
3752
|
-
messages: messages$
|
|
3751
|
+
labels: labels$G,
|
|
3752
|
+
messages: messages$M,
|
|
3753
3753
|
errors: errors$c
|
|
3754
3754
|
};
|
|
3755
3755
|
|
|
3756
|
-
var messages$
|
|
3756
|
+
var messages$L = {
|
|
3757
3757
|
freeVisits: "Free visits left:",
|
|
3758
3758
|
subscribeNow: "Subscribe",
|
|
3759
3759
|
alreadyHaveAccount: "Already have an account?",
|
|
@@ -3763,11 +3763,11 @@ var errors$b = {
|
|
|
3763
3763
|
"": ""
|
|
3764
3764
|
};
|
|
3765
3765
|
var meter_en = {
|
|
3766
|
-
messages: messages$
|
|
3766
|
+
messages: messages$L,
|
|
3767
3767
|
errors: errors$b
|
|
3768
3768
|
};
|
|
3769
3769
|
|
|
3770
|
-
var messages$
|
|
3770
|
+
var messages$K = {
|
|
3771
3771
|
freeVisits: "Visites gratuites restantes:",
|
|
3772
3772
|
subscribeNow: "Abonnez-vous maintenant !",
|
|
3773
3773
|
alreadyHaveAccount: "Vous avez déjà un compte ?",
|
|
@@ -3777,11 +3777,11 @@ var errors$a = {
|
|
|
3777
3777
|
"": ""
|
|
3778
3778
|
};
|
|
3779
3779
|
var meter_fr = {
|
|
3780
|
-
messages: messages$
|
|
3780
|
+
messages: messages$K,
|
|
3781
3781
|
errors: errors$a
|
|
3782
3782
|
};
|
|
3783
3783
|
|
|
3784
|
-
var messages$
|
|
3784
|
+
var messages$J = {
|
|
3785
3785
|
freeVisits: "남은 무료 방문 기간:",
|
|
3786
3786
|
subscribeNow: "멤버십 가입",
|
|
3787
3787
|
alreadyHaveAccount: "이미 계정이 있습니까?",
|
|
@@ -3791,15 +3791,15 @@ var errors$9 = {
|
|
|
3791
3791
|
"": ""
|
|
3792
3792
|
};
|
|
3793
3793
|
var meter_ko = {
|
|
3794
|
-
messages: messages$
|
|
3794
|
+
messages: messages$J,
|
|
3795
3795
|
errors: errors$9
|
|
3796
3796
|
};
|
|
3797
3797
|
|
|
3798
|
-
var messages$
|
|
3798
|
+
var messages$I = {
|
|
3799
3799
|
youAreSafe: "You're safe - PCI compliant 128 SSL by",
|
|
3800
3800
|
bankRedirection: "Please hold, redirecting you to your bank."
|
|
3801
3801
|
};
|
|
3802
|
-
var labels$
|
|
3802
|
+
var labels$F = {
|
|
3803
3803
|
card: "Enter card number",
|
|
3804
3804
|
date: "Expiration date",
|
|
3805
3805
|
CVC: "CVC",
|
|
@@ -3818,15 +3818,15 @@ var labels$C = {
|
|
|
3818
3818
|
removeCoupon: "REMOVE"
|
|
3819
3819
|
};
|
|
3820
3820
|
var checkoutForm_en = {
|
|
3821
|
-
messages: messages$
|
|
3822
|
-
labels: labels$
|
|
3821
|
+
messages: messages$I,
|
|
3822
|
+
labels: labels$F
|
|
3823
3823
|
};
|
|
3824
3824
|
|
|
3825
|
-
var messages$
|
|
3825
|
+
var messages$H = {
|
|
3826
3826
|
youAreSafe: "Vous êtes en sécurité - PCI conforme 128 SSL par",
|
|
3827
3827
|
bankRedirection: "Veuillez patienter, nous vous redirigeons vers votre banque."
|
|
3828
3828
|
};
|
|
3829
|
-
var labels$
|
|
3829
|
+
var labels$E = {
|
|
3830
3830
|
card: "Entrez le numéro de carte",
|
|
3831
3831
|
date: "Date d’expiration",
|
|
3832
3832
|
CVC: "CVC",
|
|
@@ -3845,15 +3845,15 @@ var labels$B = {
|
|
|
3845
3845
|
removeCoupon: "RETIRER"
|
|
3846
3846
|
};
|
|
3847
3847
|
var checkoutForm_fr = {
|
|
3848
|
-
messages: messages$
|
|
3849
|
-
labels: labels$
|
|
3848
|
+
messages: messages$H,
|
|
3849
|
+
labels: labels$E
|
|
3850
3850
|
};
|
|
3851
3851
|
|
|
3852
|
-
var messages$
|
|
3852
|
+
var messages$G = {
|
|
3853
3853
|
youAreSafe: "PCI 준수 128비트 SSL 인증서로 보호됩니다. 제공: ",
|
|
3854
3854
|
bankRedirection: "잠시만 기다려 주십시오. 결제 은행으로 연결 중입니다."
|
|
3855
3855
|
};
|
|
3856
|
-
var labels$
|
|
3856
|
+
var labels$D = {
|
|
3857
3857
|
card: "카드 번호 입력",
|
|
3858
3858
|
date: "만료일",
|
|
3859
3859
|
CVC: "CVC",
|
|
@@ -3872,8 +3872,8 @@ var labels$A = {
|
|
|
3872
3872
|
removeCoupon: "제거"
|
|
3873
3873
|
};
|
|
3874
3874
|
var checkoutForm_ko = {
|
|
3875
|
-
messages: messages$
|
|
3876
|
-
labels: labels$
|
|
3875
|
+
messages: messages$G,
|
|
3876
|
+
labels: labels$D
|
|
3877
3877
|
};
|
|
3878
3878
|
|
|
3879
3879
|
var youAreSafe$2 = "You're safe - PCI compliant 128 SSL by";
|
|
@@ -3933,7 +3933,7 @@ var messages_ko = {
|
|
|
3933
3933
|
zeroTotalInvoice: zeroTotalInvoice
|
|
3934
3934
|
};
|
|
3935
3935
|
|
|
3936
|
-
var labels$
|
|
3936
|
+
var labels$C = {
|
|
3937
3937
|
email: "Enter email",
|
|
3938
3938
|
password: "Enter password",
|
|
3939
3939
|
required: "required",
|
|
@@ -3941,7 +3941,7 @@ var labels$z = {
|
|
|
3941
3941
|
passwordPlaceholder: "Password",
|
|
3942
3942
|
login: "Login"
|
|
3943
3943
|
};
|
|
3944
|
-
var messages$
|
|
3944
|
+
var messages$F = {
|
|
3945
3945
|
loginTo: "Login to your account",
|
|
3946
3946
|
welcome: "Welcome back, sign in with your existing account.",
|
|
3947
3947
|
dontHaveAccount: "Don't have an account yet?",
|
|
@@ -3960,12 +3960,12 @@ var errors$8 = {
|
|
|
3960
3960
|
"": ""
|
|
3961
3961
|
};
|
|
3962
3962
|
var login_en = {
|
|
3963
|
-
labels: labels$
|
|
3964
|
-
messages: messages$
|
|
3963
|
+
labels: labels$C,
|
|
3964
|
+
messages: messages$F,
|
|
3965
3965
|
errors: errors$8
|
|
3966
3966
|
};
|
|
3967
3967
|
|
|
3968
|
-
var labels$
|
|
3968
|
+
var labels$B = {
|
|
3969
3969
|
email: "Entrez votre adresse courriel",
|
|
3970
3970
|
password: "Entrez votre mot de passe",
|
|
3971
3971
|
required: "Champs obligatoires",
|
|
@@ -3973,7 +3973,7 @@ var labels$y = {
|
|
|
3973
3973
|
passwordPlaceholder: "Mot de passe",
|
|
3974
3974
|
login: "Connexion"
|
|
3975
3975
|
};
|
|
3976
|
-
var messages$
|
|
3976
|
+
var messages$E = {
|
|
3977
3977
|
loginTo: "Connectez-vous à votre compte",
|
|
3978
3978
|
welcome: "Bienvenue, connectez-vous avec votre compte existant.",
|
|
3979
3979
|
dontHaveAccount: "Vous n’avez pas encore de compte ?",
|
|
@@ -3992,12 +3992,12 @@ var errors$7 = {
|
|
|
3992
3992
|
"": ""
|
|
3993
3993
|
};
|
|
3994
3994
|
var login_fr = {
|
|
3995
|
-
labels: labels$
|
|
3996
|
-
messages: messages$
|
|
3995
|
+
labels: labels$B,
|
|
3996
|
+
messages: messages$E,
|
|
3997
3997
|
errors: errors$7
|
|
3998
3998
|
};
|
|
3999
3999
|
|
|
4000
|
-
var labels$
|
|
4000
|
+
var labels$A = {
|
|
4001
4001
|
email: "이메일 입력",
|
|
4002
4002
|
password: "비밀번호 입력",
|
|
4003
4003
|
required: "필수 항목",
|
|
@@ -4005,7 +4005,7 @@ var labels$x = {
|
|
|
4005
4005
|
passwordPlaceholder: "비밀번호",
|
|
4006
4006
|
login: "로그인"
|
|
4007
4007
|
};
|
|
4008
|
-
var messages$
|
|
4008
|
+
var messages$D = {
|
|
4009
4009
|
loginTo: "귀하의 계정에 로그인",
|
|
4010
4010
|
welcome: "반갑습니다. 귀하의 기존 계정으로 로그인하세요.",
|
|
4011
4011
|
dontHaveAccount: "아직 계정이 없으신가요?",
|
|
@@ -4024,56 +4024,56 @@ var errors$6 = {
|
|
|
4024
4024
|
"": ""
|
|
4025
4025
|
};
|
|
4026
4026
|
var login_ko = {
|
|
4027
|
-
labels: labels$
|
|
4028
|
-
messages: messages$
|
|
4027
|
+
labels: labels$A,
|
|
4028
|
+
messages: messages$D,
|
|
4029
4029
|
errors: errors$6
|
|
4030
4030
|
};
|
|
4031
4031
|
|
|
4032
|
-
var labels$
|
|
4032
|
+
var labels$z = {
|
|
4033
4033
|
title: "Verifying Passwordless Link",
|
|
4034
4034
|
instructions: "You're on your way!\nLet's confirm your email address.\nClick on the verification link we've sent to your email:",
|
|
4035
4035
|
resend: "Resend email"
|
|
4036
4036
|
};
|
|
4037
|
-
var messages$
|
|
4037
|
+
var messages$C = {
|
|
4038
4038
|
resent: "Resent successfully",
|
|
4039
4039
|
success: "You have logged in successfully"
|
|
4040
4040
|
};
|
|
4041
4041
|
var verifyLinkToken_en = {
|
|
4042
|
-
labels: labels$
|
|
4043
|
-
messages: messages$
|
|
4042
|
+
labels: labels$z,
|
|
4043
|
+
messages: messages$C
|
|
4044
4044
|
};
|
|
4045
4045
|
|
|
4046
|
-
var labels$
|
|
4046
|
+
var labels$y = {
|
|
4047
4047
|
title: "Confirmez votre courriel",
|
|
4048
4048
|
instructions: "Confirmez votre courriel.\nVeuillez cliquer sur le lien de vérification, qui vous a été envoyé à:",
|
|
4049
4049
|
resend: "Renvoyer le courriel"
|
|
4050
4050
|
};
|
|
4051
|
-
var messages$
|
|
4051
|
+
var messages$B = {
|
|
4052
4052
|
resent: "Renvoyé avec succès",
|
|
4053
4053
|
success: "Vous vous êtes connecté avec succès"
|
|
4054
4054
|
};
|
|
4055
4055
|
var verifyLinkToken_fr = {
|
|
4056
|
-
labels: labels$
|
|
4057
|
-
messages: messages$
|
|
4056
|
+
labels: labels$y,
|
|
4057
|
+
messages: messages$B
|
|
4058
4058
|
};
|
|
4059
4059
|
|
|
4060
|
-
var labels$
|
|
4060
|
+
var labels$x = {
|
|
4061
4061
|
title: "비밀번호 없는 링크 확인",
|
|
4062
4062
|
instructions: "가는 중입니다!\n이메일 주소를 확인하겠습니다.\n이메일로 전송된 확인 링크를 클릭하세요.",
|
|
4063
4063
|
resend: "이메일 재전송"
|
|
4064
4064
|
};
|
|
4065
|
-
var messages$
|
|
4065
|
+
var messages$A = {
|
|
4066
4066
|
resent: "성공적으로 재전송",
|
|
4067
4067
|
success: "성공적으로 로그인했습니다"
|
|
4068
4068
|
};
|
|
4069
4069
|
var verifyLinkToken_ko = {
|
|
4070
|
-
labels: labels$
|
|
4071
|
-
messages: messages$
|
|
4070
|
+
labels: labels$x,
|
|
4071
|
+
messages: messages$A
|
|
4072
4072
|
};
|
|
4073
4073
|
|
|
4074
4074
|
var title$n = "Create an account";
|
|
4075
4075
|
var subtitle$8 = "Enter your email and password below";
|
|
4076
|
-
var labels$
|
|
4076
|
+
var labels$w = {
|
|
4077
4077
|
signUpFacebook: "Sign up with Facebook",
|
|
4078
4078
|
signUpGoogle: "Sign up with Google",
|
|
4079
4079
|
signUpEmail: "Sign up with Email",
|
|
@@ -4085,7 +4085,7 @@ var labels$t = {
|
|
|
4085
4085
|
firstName: "First name",
|
|
4086
4086
|
lastName: "Last name"
|
|
4087
4087
|
};
|
|
4088
|
-
var messages$
|
|
4088
|
+
var messages$z = {
|
|
4089
4089
|
alreadyHaveAccount: "Already have an account?",
|
|
4090
4090
|
createAccount: "Create account",
|
|
4091
4091
|
loginHere: "login here. ",
|
|
@@ -4159,8 +4159,8 @@ var redeem$2 = {
|
|
|
4159
4159
|
var register_en = {
|
|
4160
4160
|
title: title$n,
|
|
4161
4161
|
subtitle: subtitle$8,
|
|
4162
|
-
labels: labels$
|
|
4163
|
-
messages: messages$
|
|
4162
|
+
labels: labels$w,
|
|
4163
|
+
messages: messages$z,
|
|
4164
4164
|
errors: errors$5,
|
|
4165
4165
|
gift: gift$2,
|
|
4166
4166
|
redeem: redeem$2
|
|
@@ -4168,7 +4168,7 @@ var register_en = {
|
|
|
4168
4168
|
|
|
4169
4169
|
var title$m = "Créer un compte";
|
|
4170
4170
|
var subtitle$7 = "Entrez votre courriel et votre mot de passe ci-dessous";
|
|
4171
|
-
var labels$
|
|
4171
|
+
var labels$v = {
|
|
4172
4172
|
signUpFacebook: "Inscrivez-vous avec Facebook",
|
|
4173
4173
|
signUpGoogle: "Inscrivez-vous avec Google",
|
|
4174
4174
|
signUpEmail: "Inscrivez-vous avec votre courriel",
|
|
@@ -4180,7 +4180,7 @@ var labels$s = {
|
|
|
4180
4180
|
firstName: "Prénom",
|
|
4181
4181
|
lastName: "Nom de famille"
|
|
4182
4182
|
};
|
|
4183
|
-
var messages$
|
|
4183
|
+
var messages$y = {
|
|
4184
4184
|
alreadyHaveAccount: "Vous avez déjà un compte?",
|
|
4185
4185
|
createAccount: "Créer un compte",
|
|
4186
4186
|
loginHere: "Connectez-vous ici",
|
|
@@ -4255,8 +4255,8 @@ var redeem$1 = {
|
|
|
4255
4255
|
var register_fr = {
|
|
4256
4256
|
title: title$m,
|
|
4257
4257
|
subtitle: subtitle$7,
|
|
4258
|
-
labels: labels$
|
|
4259
|
-
messages: messages$
|
|
4258
|
+
labels: labels$v,
|
|
4259
|
+
messages: messages$y,
|
|
4260
4260
|
errors: errors$4,
|
|
4261
4261
|
gift: gift$1,
|
|
4262
4262
|
redeem: redeem$1
|
|
@@ -4264,7 +4264,7 @@ var register_fr = {
|
|
|
4264
4264
|
|
|
4265
4265
|
var title$l = "계정 만들기";
|
|
4266
4266
|
var subtitle$6 = "아래에 이메일과 비밀번호를 입력하세요.";
|
|
4267
|
-
var labels$
|
|
4267
|
+
var labels$u = {
|
|
4268
4268
|
signUpFacebook: "Facebook으로 가입하기",
|
|
4269
4269
|
signUpGoogle: "Google로 가입하기",
|
|
4270
4270
|
signUpEmail: "이메일로 가입하기",
|
|
@@ -4276,7 +4276,7 @@ var labels$r = {
|
|
|
4276
4276
|
firstName: "이름",
|
|
4277
4277
|
lastName: "성"
|
|
4278
4278
|
};
|
|
4279
|
-
var messages$
|
|
4279
|
+
var messages$x = {
|
|
4280
4280
|
alreadyHaveAccount: "이미 계정이 있습니까?",
|
|
4281
4281
|
createAccount: "계정 만들기",
|
|
4282
4282
|
loginHere: "여기에서 로그인하세요.",
|
|
@@ -4350,14 +4350,14 @@ var redeem = {
|
|
|
4350
4350
|
var register_ko = {
|
|
4351
4351
|
title: title$l,
|
|
4352
4352
|
subtitle: subtitle$6,
|
|
4353
|
-
labels: labels$
|
|
4354
|
-
messages: messages$
|
|
4353
|
+
labels: labels$u,
|
|
4354
|
+
messages: messages$x,
|
|
4355
4355
|
errors: errors$3,
|
|
4356
4356
|
gift: gift,
|
|
4357
4357
|
redeem: redeem
|
|
4358
4358
|
};
|
|
4359
4359
|
|
|
4360
|
-
var labels$
|
|
4360
|
+
var labels$t = {
|
|
4361
4361
|
title: "Want to update your profile?",
|
|
4362
4362
|
subtitle: "Enter your information below to update your profile",
|
|
4363
4363
|
email: "Email",
|
|
@@ -4373,17 +4373,17 @@ var labels$q = {
|
|
|
4373
4373
|
removeImage: "Remove current photo",
|
|
4374
4374
|
zoom: "Zoom"
|
|
4375
4375
|
};
|
|
4376
|
-
var messages$
|
|
4376
|
+
var messages$w = {
|
|
4377
4377
|
userUpdated: "Thanks! Your profile was updated successfully.",
|
|
4378
4378
|
pictureRemoved: "Your profile picture was removed successfully.",
|
|
4379
4379
|
pictureUpdated: "Your profile picture was updated successfully."
|
|
4380
4380
|
};
|
|
4381
4381
|
var userEdit_en = {
|
|
4382
|
-
labels: labels$
|
|
4383
|
-
messages: messages$
|
|
4382
|
+
labels: labels$t,
|
|
4383
|
+
messages: messages$w
|
|
4384
4384
|
};
|
|
4385
4385
|
|
|
4386
|
-
var labels$
|
|
4386
|
+
var labels$s = {
|
|
4387
4387
|
title: "Voulez-vous mettre à jour votre profil ?",
|
|
4388
4388
|
subtitle: "Entrez vos informations ci-dessous pour mettre à jour votre profil",
|
|
4389
4389
|
email: "Address courriel",
|
|
@@ -4399,17 +4399,17 @@ var labels$p = {
|
|
|
4399
4399
|
removeImage: "supprimer la photo actuelle",
|
|
4400
4400
|
zoom: "Zoom"
|
|
4401
4401
|
};
|
|
4402
|
-
var messages$
|
|
4402
|
+
var messages$v = {
|
|
4403
4403
|
userUpdated: "Votre profil a été mis à jour avec succès.",
|
|
4404
4404
|
pictureRemoved: "Votre photo de profil a été supprimée avec succès.",
|
|
4405
4405
|
pictureUpdated: "Votre photo de profil a été mise à jour avec succès."
|
|
4406
4406
|
};
|
|
4407
4407
|
var userEdit_fr = {
|
|
4408
|
-
labels: labels$
|
|
4409
|
-
messages: messages$
|
|
4408
|
+
labels: labels$s,
|
|
4409
|
+
messages: messages$v
|
|
4410
4410
|
};
|
|
4411
4411
|
|
|
4412
|
-
var labels$
|
|
4412
|
+
var labels$r = {
|
|
4413
4413
|
title: "프로파일을 업데이트하시겠습니까?",
|
|
4414
4414
|
subtitle: "프로필을 업데이트하려면 아래 정보를 입력하세요.",
|
|
4415
4415
|
email: "이메일",
|
|
@@ -4425,20 +4425,20 @@ var labels$o = {
|
|
|
4425
4425
|
removeImage: "기존 사진 제거",
|
|
4426
4426
|
zoom: "확대"
|
|
4427
4427
|
};
|
|
4428
|
-
var messages$
|
|
4428
|
+
var messages$u = {
|
|
4429
4429
|
userUpdated: "감사합니다! 프로필이 성공적으로 업데이트되었습니다.",
|
|
4430
4430
|
pictureRemoved: "귀하의 프로필 사진이 제거되었습니다.",
|
|
4431
4431
|
pictureUpdated: "귀하의 프로필 사진이 업데이트되었습니다."
|
|
4432
4432
|
};
|
|
4433
4433
|
var userEdit_ko = {
|
|
4434
|
-
labels: labels$
|
|
4435
|
-
messages: messages$
|
|
4434
|
+
labels: labels$r,
|
|
4435
|
+
messages: messages$u
|
|
4436
4436
|
};
|
|
4437
4437
|
|
|
4438
4438
|
var title$k = "Enter your shipping address";
|
|
4439
4439
|
var selectAddressTitle$2 = "Please select an address";
|
|
4440
4440
|
var selectAddressSubtitle$2 = "Select one of your saved addresses, or add a new one";
|
|
4441
|
-
var labels$
|
|
4441
|
+
var labels$q = {
|
|
4442
4442
|
address: "Address",
|
|
4443
4443
|
code: "Postal Code/Zip",
|
|
4444
4444
|
city: "City",
|
|
@@ -4454,7 +4454,7 @@ var buttons$b = {
|
|
|
4454
4454
|
selectAddress: "Select address",
|
|
4455
4455
|
addAddress: "Add new address"
|
|
4456
4456
|
};
|
|
4457
|
-
var messages$
|
|
4457
|
+
var messages$t = {
|
|
4458
4458
|
addressUpdated: "The address was successfully updated!",
|
|
4459
4459
|
subRedeemed: "Your subscription has been redeemed."
|
|
4460
4460
|
};
|
|
@@ -4462,15 +4462,15 @@ var address_en = {
|
|
|
4462
4462
|
title: title$k,
|
|
4463
4463
|
selectAddressTitle: selectAddressTitle$2,
|
|
4464
4464
|
selectAddressSubtitle: selectAddressSubtitle$2,
|
|
4465
|
-
labels: labels$
|
|
4465
|
+
labels: labels$q,
|
|
4466
4466
|
buttons: buttons$b,
|
|
4467
|
-
messages: messages$
|
|
4467
|
+
messages: messages$t
|
|
4468
4468
|
};
|
|
4469
4469
|
|
|
4470
4470
|
var title$j = "Entrez votre adresse de livraison";
|
|
4471
4471
|
var selectAddressTitle$1 = "Veuillez sélectionner une adresse";
|
|
4472
4472
|
var selectAddressSubtitle$1 = "Choisissez l'une de vos adresses ou créez-en une nouvelle";
|
|
4473
|
-
var labels$
|
|
4473
|
+
var labels$p = {
|
|
4474
4474
|
address: "Adresse",
|
|
4475
4475
|
code: "Code postal / Zip",
|
|
4476
4476
|
city: "Ville",
|
|
@@ -4486,7 +4486,7 @@ var buttons$a = {
|
|
|
4486
4486
|
selectAddress: "Choisir cette adresse",
|
|
4487
4487
|
addAddress: "Ajouter une nouvelle adresse"
|
|
4488
4488
|
};
|
|
4489
|
-
var messages$
|
|
4489
|
+
var messages$s = {
|
|
4490
4490
|
addressUpdated: "Votre adresse a été mise à jour avec succès",
|
|
4491
4491
|
subRedeemed: "Votre abonnement a bien été activé."
|
|
4492
4492
|
};
|
|
@@ -4494,15 +4494,15 @@ var address_fr = {
|
|
|
4494
4494
|
title: title$j,
|
|
4495
4495
|
selectAddressTitle: selectAddressTitle$1,
|
|
4496
4496
|
selectAddressSubtitle: selectAddressSubtitle$1,
|
|
4497
|
-
labels: labels$
|
|
4497
|
+
labels: labels$p,
|
|
4498
4498
|
buttons: buttons$a,
|
|
4499
|
-
messages: messages$
|
|
4499
|
+
messages: messages$s
|
|
4500
4500
|
};
|
|
4501
4501
|
|
|
4502
4502
|
var title$i = "배송 주소를 입력하십시오.";
|
|
4503
4503
|
var selectAddressTitle = "주소를 선택하십시오.";
|
|
4504
4504
|
var selectAddressSubtitle = "저장된 주소에서 선택하거나 새 주소를 추가하십시오.";
|
|
4505
|
-
var labels$
|
|
4505
|
+
var labels$o = {
|
|
4506
4506
|
address: "주소",
|
|
4507
4507
|
code: "우편번호",
|
|
4508
4508
|
city: "도시",
|
|
@@ -4518,7 +4518,7 @@ var buttons$9 = {
|
|
|
4518
4518
|
selectAddress: "주소 선택",
|
|
4519
4519
|
addAddress: "새 주소 추가"
|
|
4520
4520
|
};
|
|
4521
|
-
var messages$
|
|
4521
|
+
var messages$r = {
|
|
4522
4522
|
addressUpdated: "주소가 성공적으로 업데이트되었습니다!",
|
|
4523
4523
|
subRedeemed: "귀하의 유료 멤버십이 사용되었습니다."
|
|
4524
4524
|
};
|
|
@@ -4526,9 +4526,9 @@ var address_ko = {
|
|
|
4526
4526
|
title: title$i,
|
|
4527
4527
|
selectAddressTitle: selectAddressTitle,
|
|
4528
4528
|
selectAddressSubtitle: selectAddressSubtitle,
|
|
4529
|
-
labels: labels$
|
|
4529
|
+
labels: labels$o,
|
|
4530
4530
|
buttons: buttons$9,
|
|
4531
|
-
messages: messages$
|
|
4531
|
+
messages: messages$r
|
|
4532
4532
|
};
|
|
4533
4533
|
|
|
4534
4534
|
var title$h = "Reset your password";
|
|
@@ -4594,7 +4594,7 @@ var password$2 = "Password";
|
|
|
4594
4594
|
var submit$8 = "Submit";
|
|
4595
4595
|
var required$8 = "Required";
|
|
4596
4596
|
var passwordResetEmailSent$2 = "Password reset instructions have been sent to your email";
|
|
4597
|
-
var messages$
|
|
4597
|
+
var messages$q = {
|
|
4598
4598
|
alreadyHaveAccount: "Already have an account?",
|
|
4599
4599
|
loginHere: "login here."
|
|
4600
4600
|
};
|
|
@@ -4605,7 +4605,7 @@ var passwordForgot_en = {
|
|
|
4605
4605
|
submit: submit$8,
|
|
4606
4606
|
required: required$8,
|
|
4607
4607
|
passwordResetEmailSent: passwordResetEmailSent$2,
|
|
4608
|
-
messages: messages$
|
|
4608
|
+
messages: messages$q
|
|
4609
4609
|
};
|
|
4610
4610
|
|
|
4611
4611
|
var title$d = "Mot de passe oublié ?";
|
|
@@ -4614,7 +4614,7 @@ var password$1 = "Mot de passe";
|
|
|
4614
4614
|
var submit$7 = "Soumettre";
|
|
4615
4615
|
var required$7 = "Champs obligatoires";
|
|
4616
4616
|
var passwordResetEmailSent$1 = "Un lien pour réinitialiser votre mot de passe vous a été envoyé. Si vous ne le recevez pas, vérifier votre courrier indésirable.";
|
|
4617
|
-
var messages$
|
|
4617
|
+
var messages$p = {
|
|
4618
4618
|
alreadyHaveAccount: "Vous avez déjà un compte ?",
|
|
4619
4619
|
loginHere: "Connectez-vous ici"
|
|
4620
4620
|
};
|
|
@@ -4625,7 +4625,7 @@ var passwordForgot_fr = {
|
|
|
4625
4625
|
submit: submit$7,
|
|
4626
4626
|
required: required$7,
|
|
4627
4627
|
passwordResetEmailSent: passwordResetEmailSent$1,
|
|
4628
|
-
messages: messages$
|
|
4628
|
+
messages: messages$p
|
|
4629
4629
|
};
|
|
4630
4630
|
|
|
4631
4631
|
var title$c = "비밀번호를 잊으셨나요?";
|
|
@@ -4634,7 +4634,7 @@ var password = "비밀번호";
|
|
|
4634
4634
|
var submit$6 = "제출";
|
|
4635
4635
|
var required$6 = "필수 항목";
|
|
4636
4636
|
var passwordResetEmailSent = "비밀번호 재설정 안내가 귀하의 이메일로 발송되었습니다.";
|
|
4637
|
-
var messages$
|
|
4637
|
+
var messages$o = {
|
|
4638
4638
|
alreadyHaveAccount: "이미 계정이 있습니까?",
|
|
4639
4639
|
loginHere: "여기에서 로그인하세요."
|
|
4640
4640
|
};
|
|
@@ -4645,7 +4645,7 @@ var passwordForgot_ko = {
|
|
|
4645
4645
|
submit: submit$6,
|
|
4646
4646
|
required: required$6,
|
|
4647
4647
|
passwordResetEmailSent: passwordResetEmailSent,
|
|
4648
|
-
messages: messages$
|
|
4648
|
+
messages: messages$o
|
|
4649
4649
|
};
|
|
4650
4650
|
|
|
4651
4651
|
var title$b = "Change your password";
|
|
@@ -4715,7 +4715,7 @@ var title$8 = "Passwordless Login";
|
|
|
4715
4715
|
var email$2 = "Enter email";
|
|
4716
4716
|
var submit$2 = "Submit";
|
|
4717
4717
|
var required$2 = "Required";
|
|
4718
|
-
var messages$
|
|
4718
|
+
var messages$n = {
|
|
4719
4719
|
PasswordlessLoginSuccess: "Please check your email and follow the instructions there"
|
|
4720
4720
|
};
|
|
4721
4721
|
var passwordlessRequest_en = {
|
|
@@ -4723,14 +4723,14 @@ var passwordlessRequest_en = {
|
|
|
4723
4723
|
email: email$2,
|
|
4724
4724
|
submit: submit$2,
|
|
4725
4725
|
required: required$2,
|
|
4726
|
-
messages: messages$
|
|
4726
|
+
messages: messages$n
|
|
4727
4727
|
};
|
|
4728
4728
|
|
|
4729
4729
|
var title$7 = "Connexion sans mot de passe";
|
|
4730
4730
|
var email$1 = "Entrez votre adresse courriel";
|
|
4731
4731
|
var submit$1 = "Soumettre";
|
|
4732
4732
|
var required$1 = "Champs obligatoires";
|
|
4733
|
-
var messages$
|
|
4733
|
+
var messages$m = {
|
|
4734
4734
|
PasswordlessLoginSuccess: "Vous avez été authentifié avec succès avec la connexion sans mot de passe"
|
|
4735
4735
|
};
|
|
4736
4736
|
var passwordlessRequest_fr = {
|
|
@@ -4738,14 +4738,14 @@ var passwordlessRequest_fr = {
|
|
|
4738
4738
|
email: email$1,
|
|
4739
4739
|
submit: submit$1,
|
|
4740
4740
|
required: required$1,
|
|
4741
|
-
messages: messages$
|
|
4741
|
+
messages: messages$m
|
|
4742
4742
|
};
|
|
4743
4743
|
|
|
4744
4744
|
var title$6 = "비밀번호 없는 로그인";
|
|
4745
4745
|
var email = "이메일 입력";
|
|
4746
4746
|
var submit = "제출";
|
|
4747
4747
|
var required = "필수 항목";
|
|
4748
|
-
var messages$
|
|
4748
|
+
var messages$l = {
|
|
4749
4749
|
PasswordlessLoginSuccess: "비밀번호 없는 로그인으로 성공적으로 인증되었습니다."
|
|
4750
4750
|
};
|
|
4751
4751
|
var passwordlessRequest_ko = {
|
|
@@ -4753,7 +4753,7 @@ var passwordlessRequest_ko = {
|
|
|
4753
4753
|
email: email,
|
|
4754
4754
|
submit: submit,
|
|
4755
4755
|
required: required,
|
|
4756
|
-
messages: messages$
|
|
4756
|
+
messages: messages$l
|
|
4757
4757
|
};
|
|
4758
4758
|
|
|
4759
4759
|
var title$5 = "Votre panier";
|
|
@@ -4837,7 +4837,7 @@ var buttons$8 = {
|
|
|
4837
4837
|
purchase: "Purchase",
|
|
4838
4838
|
"continue": "Continue"
|
|
4839
4839
|
};
|
|
4840
|
-
var messages$
|
|
4840
|
+
var messages$k = {
|
|
4841
4841
|
orderConfirmed: {
|
|
4842
4842
|
title: "Order confirmed!",
|
|
4843
4843
|
body: "Your order has been confirmed and will be shipped within the next few days. You'll shortly receive an email confirmation of this order."
|
|
@@ -4846,14 +4846,14 @@ var messages$h = {
|
|
|
4846
4846
|
multipleCurrencies: "Your cart currently contains items which are available in different currencies. In order to proceed with the checkout, please make sure that all items have the same currency.",
|
|
4847
4847
|
currencyMismatch: "The selected item(s) do not match your current default currency ({{currency}}). Please choose item(s) only matching this currency."
|
|
4848
4848
|
};
|
|
4849
|
-
var labels$
|
|
4849
|
+
var labels$n = {
|
|
4850
4850
|
summary: "Order summary",
|
|
4851
4851
|
total: "total"
|
|
4852
4852
|
};
|
|
4853
4853
|
var shop_en = {
|
|
4854
4854
|
buttons: buttons$8,
|
|
4855
|
-
messages: messages$
|
|
4856
|
-
labels: labels$
|
|
4855
|
+
messages: messages$k,
|
|
4856
|
+
labels: labels$n
|
|
4857
4857
|
};
|
|
4858
4858
|
|
|
4859
4859
|
var buttons$7 = {
|
|
@@ -4862,7 +4862,7 @@ var buttons$7 = {
|
|
|
4862
4862
|
purchase: "Acheter",
|
|
4863
4863
|
"continue": "Continuer au contenu"
|
|
4864
4864
|
};
|
|
4865
|
-
var messages$
|
|
4865
|
+
var messages$j = {
|
|
4866
4866
|
orderConfirmed: {
|
|
4867
4867
|
title: "Votre commande est confirmée !",
|
|
4868
4868
|
body: "Votre commande a été confirmée et vous sera expédiée dans les prochains jours. Vous recevrez un courriel de confirmation sous peu."
|
|
@@ -4871,14 +4871,14 @@ var messages$g = {
|
|
|
4871
4871
|
multipleCurrencies: "Votre panier contient des articles disponibles dans différentes devises. Avant de passer à la caisse, veuillez vous assurer que tous les articles ont la même devise.",
|
|
4872
4872
|
currencyMismatch: "Les articles sélectionnés ne sont pas compatibles avec la devise associée à votre compte ({{currency}}). Veuillez choisir des articles uniquement offerts dans cette devise."
|
|
4873
4873
|
};
|
|
4874
|
-
var labels$
|
|
4874
|
+
var labels$m = {
|
|
4875
4875
|
summary: "récapitulatif de commande",
|
|
4876
4876
|
total: "total"
|
|
4877
4877
|
};
|
|
4878
4878
|
var shop_fr = {
|
|
4879
4879
|
buttons: buttons$7,
|
|
4880
|
-
messages: messages$
|
|
4881
|
-
labels: labels$
|
|
4880
|
+
messages: messages$j,
|
|
4881
|
+
labels: labels$m
|
|
4882
4882
|
};
|
|
4883
4883
|
|
|
4884
4884
|
var buttons$6 = {
|
|
@@ -4887,7 +4887,7 @@ var buttons$6 = {
|
|
|
4887
4887
|
purchase: "구매",
|
|
4888
4888
|
"continue": "계속"
|
|
4889
4889
|
};
|
|
4890
|
-
var messages$
|
|
4890
|
+
var messages$i = {
|
|
4891
4891
|
orderConfirmed: {
|
|
4892
4892
|
title: "주문이 확인되었습니다!",
|
|
4893
4893
|
body: "귀하의 주문이 확인되었으며 며칠 안에 배송될 예정입니다. 이 주문의 확인 이메일이 귀하에게 전송됩니다."
|
|
@@ -4896,17 +4896,17 @@ var messages$f = {
|
|
|
4896
4896
|
multipleCurrencies: "장바구니에 다른 통화로만 결제가 가능한 아이템이 있습니다. 결제를 계속 진행하려면 모든 아이템의 결제 통화가 동일한지 확인하십시오.",
|
|
4897
4897
|
currencyMismatch: "선택하신 아이템(들)이 귀하가 설정한 기본 통화({{currency}})와 일치하지 않습니다. 기본 통화와 일치하는 아이템(들)만 선택하십시오."
|
|
4898
4898
|
};
|
|
4899
|
-
var labels$
|
|
4899
|
+
var labels$l = {
|
|
4900
4900
|
summary: "주문 요약",
|
|
4901
4901
|
total: "총계"
|
|
4902
4902
|
};
|
|
4903
4903
|
var shop_ko = {
|
|
4904
4904
|
buttons: buttons$6,
|
|
4905
|
-
messages: messages$
|
|
4906
|
-
labels: labels$
|
|
4905
|
+
messages: messages$i,
|
|
4906
|
+
labels: labels$l
|
|
4907
4907
|
};
|
|
4908
4908
|
|
|
4909
|
-
var labels$
|
|
4909
|
+
var labels$k = {
|
|
4910
4910
|
cardNumber: "Numéro de carte",
|
|
4911
4911
|
securityCode: "Code de sécurité",
|
|
4912
4912
|
submit: "Soumettre",
|
|
@@ -4928,7 +4928,7 @@ var labels$h = {
|
|
|
4928
4928
|
title: "Informations de paiement"
|
|
4929
4929
|
}
|
|
4930
4930
|
};
|
|
4931
|
-
var messages$
|
|
4931
|
+
var messages$h = {
|
|
4932
4932
|
youAreSafe: "Vous êtes en sécurité - PCI conforme 128 SSL par",
|
|
4933
4933
|
cancel: "Annuler votre abonnement en ligne à tout moment.",
|
|
4934
4934
|
giftSent: "Le cadeau d’abonnement a été envoyé à",
|
|
@@ -4941,12 +4941,12 @@ var errors$2 = {
|
|
|
4941
4941
|
"": ""
|
|
4942
4942
|
};
|
|
4943
4943
|
var payment_fr = {
|
|
4944
|
-
labels: labels$
|
|
4945
|
-
messages: messages$
|
|
4944
|
+
labels: labels$k,
|
|
4945
|
+
messages: messages$h,
|
|
4946
4946
|
errors: errors$2
|
|
4947
4947
|
};
|
|
4948
4948
|
|
|
4949
|
-
var labels$
|
|
4949
|
+
var labels$j = {
|
|
4950
4950
|
cardNumber: "Card number",
|
|
4951
4951
|
securityCode: "Security Code",
|
|
4952
4952
|
submit: "Submit",
|
|
@@ -4968,7 +4968,7 @@ var labels$g = {
|
|
|
4968
4968
|
title: "Payment Information"
|
|
4969
4969
|
}
|
|
4970
4970
|
};
|
|
4971
|
-
var messages$
|
|
4971
|
+
var messages$g = {
|
|
4972
4972
|
youAreSafe: "You're safe - PCI compliant 128 SSL by",
|
|
4973
4973
|
cancel: "Cancel your subscription online at anytime.",
|
|
4974
4974
|
giftSent: "Subscription gift has been sent to",
|
|
@@ -4981,12 +4981,12 @@ var errors$1 = {
|
|
|
4981
4981
|
"": ""
|
|
4982
4982
|
};
|
|
4983
4983
|
var payment_en = {
|
|
4984
|
-
labels: labels$
|
|
4985
|
-
messages: messages$
|
|
4984
|
+
labels: labels$j,
|
|
4985
|
+
messages: messages$g,
|
|
4986
4986
|
errors: errors$1
|
|
4987
4987
|
};
|
|
4988
4988
|
|
|
4989
|
-
var labels$
|
|
4989
|
+
var labels$i = {
|
|
4990
4990
|
cardNumber: "카드 번호",
|
|
4991
4991
|
securityCode: "보안 코드",
|
|
4992
4992
|
submit: "제출",
|
|
@@ -5008,7 +5008,7 @@ var labels$f = {
|
|
|
5008
5008
|
title: "결제 정보"
|
|
5009
5009
|
}
|
|
5010
5010
|
};
|
|
5011
|
-
var messages$
|
|
5011
|
+
var messages$f = {
|
|
5012
5012
|
youAreSafe: "PCI 준수 128비트 SSL 인증서로 보호됩니다. 제공: ",
|
|
5013
5013
|
cancel: "유료 멤버십은 언제든 온라인으로 취소가 가능합니다.",
|
|
5014
5014
|
giftSent: "유료 멤버십 선물이 ",
|
|
@@ -5021,12 +5021,12 @@ var errors = {
|
|
|
5021
5021
|
"": ""
|
|
5022
5022
|
};
|
|
5023
5023
|
var payment_ko = {
|
|
5024
|
-
labels: labels$
|
|
5025
|
-
messages: messages$
|
|
5024
|
+
labels: labels$i,
|
|
5025
|
+
messages: messages$f,
|
|
5026
5026
|
errors: errors
|
|
5027
5027
|
};
|
|
5028
5028
|
|
|
5029
|
-
var labels$
|
|
5029
|
+
var labels$h = {
|
|
5030
5030
|
menu: "Pelcro Menu",
|
|
5031
5031
|
name: "Name",
|
|
5032
5032
|
email: "Email",
|
|
@@ -5046,6 +5046,8 @@ var labels$e = {
|
|
|
5046
5046
|
unsubscribe: "Cancel",
|
|
5047
5047
|
reactivate: "Reactivate",
|
|
5048
5048
|
renew: "Renew",
|
|
5049
|
+
suspend: "Suspend",
|
|
5050
|
+
unsuspend: "Unsuspend",
|
|
5049
5051
|
support: "Support",
|
|
5050
5052
|
account: "Account",
|
|
5051
5053
|
purchases: "Purchases",
|
|
@@ -5105,21 +5107,27 @@ var labels$e = {
|
|
|
5105
5107
|
goBack: "Go back"
|
|
5106
5108
|
}
|
|
5107
5109
|
};
|
|
5108
|
-
var messages$
|
|
5110
|
+
var messages$e = {
|
|
5109
5111
|
noCard: "You don't have a card",
|
|
5110
5112
|
subCancellation: {
|
|
5111
5113
|
isSureToCancel: "Are you sure you want to cancel your subscription?",
|
|
5112
5114
|
loading: "Cancelling your subscription",
|
|
5113
5115
|
success: "Subscription is successfully cancelled",
|
|
5114
5116
|
error: "Error while cancelling your subscription"
|
|
5117
|
+
},
|
|
5118
|
+
subUnSuspend: {
|
|
5119
|
+
isSureToUnSuspend: "Are you sure you want to unsuspend your subscription?",
|
|
5120
|
+
loading: "Unsuspending your subscription",
|
|
5121
|
+
success: "Subscription is successfully Unsuspended",
|
|
5122
|
+
error: "Error while Unsuspending your subscription"
|
|
5115
5123
|
}
|
|
5116
5124
|
};
|
|
5117
5125
|
var dashboard_en = {
|
|
5118
|
-
labels: labels$
|
|
5119
|
-
messages: messages$
|
|
5126
|
+
labels: labels$h,
|
|
5127
|
+
messages: messages$e
|
|
5120
5128
|
};
|
|
5121
5129
|
|
|
5122
|
-
var labels$
|
|
5130
|
+
var labels$g = {
|
|
5123
5131
|
menu: "Menu Pelcro",
|
|
5124
5132
|
name: "Nom",
|
|
5125
5133
|
email: "Courriel",
|
|
@@ -5139,6 +5147,8 @@ var labels$d = {
|
|
|
5139
5147
|
unsubscribe: "Se désabonner",
|
|
5140
5148
|
reactivate: "Réactiver",
|
|
5141
5149
|
renew: "Renouveler",
|
|
5150
|
+
suspend: "Suspendre",
|
|
5151
|
+
unsuspend: "Annuler la suspension",
|
|
5142
5152
|
support: "Soutien",
|
|
5143
5153
|
account: "Compte",
|
|
5144
5154
|
purchases: "Achats",
|
|
@@ -5198,21 +5208,27 @@ var labels$d = {
|
|
|
5198
5208
|
goBack: "Retourner"
|
|
5199
5209
|
}
|
|
5200
5210
|
};
|
|
5201
|
-
var messages$
|
|
5211
|
+
var messages$d = {
|
|
5202
5212
|
noCard: "Vous n’avez pas une carte",
|
|
5203
5213
|
subCancellation: {
|
|
5204
5214
|
isSureToCancel: "Êtes-vous certain de vouloir annuler votre abonnement?",
|
|
5205
5215
|
loading: "Annulation de l'abonnement",
|
|
5206
5216
|
success: "L'abonnement a été annulé avec succès",
|
|
5207
5217
|
error: "Une erreur s'est produite lors de l'annulation de l'abonnement"
|
|
5218
|
+
},
|
|
5219
|
+
subUnSuspend: {
|
|
5220
|
+
isSureToUnSuspend: "Êtes-vous sûr de vouloir annuler la suspension de votre abonnement ?",
|
|
5221
|
+
loading: "Annulation de la suspension de votre abonnement",
|
|
5222
|
+
success: "L'abonnement a été suspendu avec succès",
|
|
5223
|
+
error: "Erreur lors de l'annulation de la suspension de votre abonnement"
|
|
5208
5224
|
}
|
|
5209
5225
|
};
|
|
5210
5226
|
var dashboard_fr = {
|
|
5211
|
-
labels: labels$
|
|
5212
|
-
messages: messages$
|
|
5227
|
+
labels: labels$g,
|
|
5228
|
+
messages: messages$d
|
|
5213
5229
|
};
|
|
5214
5230
|
|
|
5215
|
-
var labels$
|
|
5231
|
+
var labels$f = {
|
|
5216
5232
|
menu: "Pelcro 메뉴",
|
|
5217
5233
|
name: "이름",
|
|
5218
5234
|
email: "이메일",
|
|
@@ -5232,6 +5248,8 @@ var labels$c = {
|
|
|
5232
5248
|
unsubscribe: "취소",
|
|
5233
5249
|
reactivate: "재활성화",
|
|
5234
5250
|
renew: "갱신",
|
|
5251
|
+
suspend: "유예하다",
|
|
5252
|
+
unsuspend: "일시 중단 해제",
|
|
5235
5253
|
support: "지원",
|
|
5236
5254
|
account: "계정",
|
|
5237
5255
|
purchases: "구매",
|
|
@@ -5351,17 +5369,23 @@ var savedItems = {
|
|
|
5351
5369
|
var subCancellation = {
|
|
5352
5370
|
goBack: "뒤로 가기"
|
|
5353
5371
|
};
|
|
5354
|
-
var messages$
|
|
5372
|
+
var messages$c = {
|
|
5355
5373
|
noCard: "등록된 카드가 없습니다.",
|
|
5356
5374
|
subCancellation: {
|
|
5357
5375
|
isSureToCancel: "정말로 유료 멤버십을 취소하시겠습니까?",
|
|
5358
5376
|
loading: "귀하의 유료 멤버십을 취소합니다.",
|
|
5359
5377
|
success: "유료 멤버십이 성공적으로 취소되었습니다.",
|
|
5360
5378
|
error: "유료 멤버십 취소 과정에서 오류가 발생했습니다."
|
|
5379
|
+
},
|
|
5380
|
+
subUnSuspend: {
|
|
5381
|
+
isSureToUnSuspend: "구독 일시 중단을 해제하시겠습니까?",
|
|
5382
|
+
loading: "구독 일시 중단 해제",
|
|
5383
|
+
success: "구독이 성공적으로 일시 중단 해제되었습니다",
|
|
5384
|
+
error: "구독 일시 중단을 해제하는 동안 오류가 발생했습니다."
|
|
5361
5385
|
}
|
|
5362
5386
|
};
|
|
5363
5387
|
var dashboard_ko = {
|
|
5364
|
-
labels: labels$
|
|
5388
|
+
labels: labels$f,
|
|
5365
5389
|
shipments: shipments,
|
|
5366
5390
|
logout: logout,
|
|
5367
5391
|
dashboard: dashboard,
|
|
@@ -5409,15 +5433,15 @@ var dashboard_ko = {
|
|
|
5409
5433
|
orders: orders,
|
|
5410
5434
|
savedItems: savedItems,
|
|
5411
5435
|
subCancellation: subCancellation,
|
|
5412
|
-
messages: messages$
|
|
5436
|
+
messages: messages$c
|
|
5413
5437
|
};
|
|
5414
5438
|
|
|
5415
|
-
var messages$
|
|
5439
|
+
var messages$b = {
|
|
5416
5440
|
alreadyHaveAccount: "Already have an account?",
|
|
5417
5441
|
loginHere: "Login here",
|
|
5418
5442
|
checkbox: "Check this box to gift this subscription"
|
|
5419
5443
|
};
|
|
5420
|
-
var labels$
|
|
5444
|
+
var labels$e = {
|
|
5421
5445
|
plan: {
|
|
5422
5446
|
title: "Subscribe to a plan",
|
|
5423
5447
|
subtitle: "Select one of the plans below and click on next."
|
|
@@ -5440,17 +5464,17 @@ var buttons$5 = {
|
|
|
5440
5464
|
back: "Back"
|
|
5441
5465
|
};
|
|
5442
5466
|
var select_en = {
|
|
5443
|
-
messages: messages$
|
|
5444
|
-
labels: labels$
|
|
5467
|
+
messages: messages$b,
|
|
5468
|
+
labels: labels$e,
|
|
5445
5469
|
buttons: buttons$5
|
|
5446
5470
|
};
|
|
5447
5471
|
|
|
5448
|
-
var messages$
|
|
5472
|
+
var messages$a = {
|
|
5449
5473
|
alreadyHaveAccount: "Vous avez déjà un compte ?",
|
|
5450
5474
|
loginHere: "Connectez-vous ici",
|
|
5451
5475
|
checkbox: "Cochez cette case pour offrir cet abonnement"
|
|
5452
5476
|
};
|
|
5453
|
-
var labels$
|
|
5477
|
+
var labels$d = {
|
|
5454
5478
|
plan: {
|
|
5455
5479
|
title: "Abonnez-vous à un plan",
|
|
5456
5480
|
subtitle: "Sélectionnez l’un des plans ci-dessous et cliquez sur suivant."
|
|
@@ -5473,17 +5497,17 @@ var buttons$4 = {
|
|
|
5473
5497
|
back: "Retour"
|
|
5474
5498
|
};
|
|
5475
5499
|
var select_fr = {
|
|
5476
|
-
messages: messages$
|
|
5477
|
-
labels: labels$
|
|
5500
|
+
messages: messages$a,
|
|
5501
|
+
labels: labels$d,
|
|
5478
5502
|
buttons: buttons$4
|
|
5479
5503
|
};
|
|
5480
5504
|
|
|
5481
|
-
var messages$
|
|
5505
|
+
var messages$9 = {
|
|
5482
5506
|
alreadyHaveAccount: "이미 계정이 있습니까?",
|
|
5483
5507
|
loginHere: "여기에서 로그인하세요.",
|
|
5484
5508
|
checkbox: "이 유료 멤버십을 선물하려면 체크하세요."
|
|
5485
5509
|
};
|
|
5486
|
-
var labels$
|
|
5510
|
+
var labels$c = {
|
|
5487
5511
|
plan: {
|
|
5488
5512
|
title: "요금제 가입하기",
|
|
5489
5513
|
subtitle: "아래 요금제 중 하나를 선택하고 다음을 클릭하세요."
|
|
@@ -5506,8 +5530,8 @@ var buttons$3 = {
|
|
|
5506
5530
|
back: "뒤로"
|
|
5507
5531
|
};
|
|
5508
5532
|
var select_ko = {
|
|
5509
|
-
messages: messages$
|
|
5510
|
-
labels: labels$
|
|
5533
|
+
messages: messages$9,
|
|
5534
|
+
labels: labels$c,
|
|
5511
5535
|
buttons: buttons$3
|
|
5512
5536
|
};
|
|
5513
5537
|
|
|
@@ -5541,50 +5565,50 @@ var notification_ko = {
|
|
|
5541
5565
|
confirm: confirm
|
|
5542
5566
|
};
|
|
5543
5567
|
|
|
5544
|
-
var labels$
|
|
5568
|
+
var labels$b = {
|
|
5545
5569
|
title: "Verify your email",
|
|
5546
5570
|
instructions: "You're on your way!\nLet's confirm your email address.\nClick on the verification link we've sent to your email:",
|
|
5547
5571
|
resend: "Resend email"
|
|
5548
5572
|
};
|
|
5549
|
-
var messages$
|
|
5573
|
+
var messages$8 = {
|
|
5550
5574
|
resent: "Resent successfully",
|
|
5551
5575
|
success: "Email verified successfully!"
|
|
5552
5576
|
};
|
|
5553
5577
|
var verifyEmail_en = {
|
|
5554
|
-
labels: labels$
|
|
5555
|
-
messages: messages$
|
|
5578
|
+
labels: labels$b,
|
|
5579
|
+
messages: messages$8
|
|
5556
5580
|
};
|
|
5557
5581
|
|
|
5558
|
-
var labels$
|
|
5582
|
+
var labels$a = {
|
|
5559
5583
|
title: "Confirmez votre courriel",
|
|
5560
5584
|
instructions: "Confirmez votre courriel.\nVeuillez cliquer sur le lien de vérification, qui vous a été envoyé à:",
|
|
5561
5585
|
resend: "Renvoyer le courriel"
|
|
5562
5586
|
};
|
|
5563
|
-
var messages$
|
|
5587
|
+
var messages$7 = {
|
|
5564
5588
|
resent: "Renvoyé avec succès",
|
|
5565
5589
|
success: "Adresse courriel vérifiée avec succès"
|
|
5566
5590
|
};
|
|
5567
5591
|
var verifyEmail_fr = {
|
|
5568
|
-
labels: labels$
|
|
5569
|
-
messages: messages$
|
|
5592
|
+
labels: labels$a,
|
|
5593
|
+
messages: messages$7
|
|
5570
5594
|
};
|
|
5571
5595
|
|
|
5572
|
-
var labels$
|
|
5596
|
+
var labels$9 = {
|
|
5573
5597
|
title: "이메일 주소를 인증하세요.",
|
|
5574
5598
|
instructions: "거의 완료되었습니다!\n이메일 주소만 인증하면 됩니다.\n다음 이메일 주소로 전송된 인증 링크를 클릭해 주십시오:",
|
|
5575
5599
|
resend: "이메일 재전송"
|
|
5576
5600
|
};
|
|
5577
|
-
var messages$
|
|
5601
|
+
var messages$6 = {
|
|
5578
5602
|
resent: "재전송 완료",
|
|
5579
5603
|
success: "이메일 주소가 인증되었습니다!"
|
|
5580
5604
|
};
|
|
5581
5605
|
var verifyEmail_ko = {
|
|
5582
|
-
labels: labels$
|
|
5583
|
-
messages: messages$
|
|
5606
|
+
labels: labels$9,
|
|
5607
|
+
messages: messages$6
|
|
5584
5608
|
};
|
|
5585
5609
|
|
|
5586
5610
|
var title$2 = "Invoice details";
|
|
5587
|
-
var labels$
|
|
5611
|
+
var labels$8 = {
|
|
5588
5612
|
summary: "Summary",
|
|
5589
5613
|
total: "Total",
|
|
5590
5614
|
amountPaid: "Amount paid",
|
|
@@ -5597,12 +5621,12 @@ var buttons$2 = {
|
|
|
5597
5621
|
};
|
|
5598
5622
|
var invoiceDetails_en = {
|
|
5599
5623
|
title: title$2,
|
|
5600
|
-
labels: labels$
|
|
5624
|
+
labels: labels$8,
|
|
5601
5625
|
buttons: buttons$2
|
|
5602
5626
|
};
|
|
5603
5627
|
|
|
5604
5628
|
var title$1 = "Détails de la facture";
|
|
5605
|
-
var labels$
|
|
5629
|
+
var labels$7 = {
|
|
5606
5630
|
summary: "Résumé",
|
|
5607
5631
|
total: "Total",
|
|
5608
5632
|
amountPaid: "Montant payé",
|
|
@@ -5615,12 +5639,12 @@ var buttons$1 = {
|
|
|
5615
5639
|
};
|
|
5616
5640
|
var invoiceDetails_fr = {
|
|
5617
5641
|
title: title$1,
|
|
5618
|
-
labels: labels$
|
|
5642
|
+
labels: labels$7,
|
|
5619
5643
|
buttons: buttons$1
|
|
5620
5644
|
};
|
|
5621
5645
|
|
|
5622
5646
|
var title = "인보이스 세부 정보";
|
|
5623
|
-
var labels$
|
|
5647
|
+
var labels$6 = {
|
|
5624
5648
|
summary: "요약",
|
|
5625
5649
|
total: "총계",
|
|
5626
5650
|
amountPaid: "지불된 금액",
|
|
@@ -5633,18 +5657,18 @@ var buttons = {
|
|
|
5633
5657
|
};
|
|
5634
5658
|
var invoiceDetails_ko = {
|
|
5635
5659
|
title: title,
|
|
5636
|
-
labels: labels$
|
|
5660
|
+
labels: labels$6,
|
|
5637
5661
|
buttons: buttons
|
|
5638
5662
|
};
|
|
5639
5663
|
|
|
5640
|
-
var labels$
|
|
5664
|
+
var labels$5 = {
|
|
5641
5665
|
title: "Cancel subscription",
|
|
5642
5666
|
cancelReason: "Cancellation reason",
|
|
5643
5667
|
subCancellation: {
|
|
5644
5668
|
goBack: "Go back"
|
|
5645
5669
|
}
|
|
5646
5670
|
};
|
|
5647
|
-
var messages$
|
|
5671
|
+
var messages$5 = {
|
|
5648
5672
|
subscriptionEnd: "This subscription is set to expire on",
|
|
5649
5673
|
cancelNow: "Cancel Subscription Now",
|
|
5650
5674
|
cancelLater: "Cancel at Period End",
|
|
@@ -5657,18 +5681,18 @@ var messages$2 = {
|
|
|
5657
5681
|
}
|
|
5658
5682
|
};
|
|
5659
5683
|
var subscriptionCancel_en = {
|
|
5660
|
-
labels: labels$
|
|
5661
|
-
messages: messages$
|
|
5684
|
+
labels: labels$5,
|
|
5685
|
+
messages: messages$5
|
|
5662
5686
|
};
|
|
5663
5687
|
|
|
5664
|
-
var labels$
|
|
5688
|
+
var labels$4 = {
|
|
5665
5689
|
title: "Annuler l'abonnement",
|
|
5666
5690
|
cancelReason: "Motif d'annulation",
|
|
5667
5691
|
subCancellation: {
|
|
5668
5692
|
goBack: "Retourner"
|
|
5669
5693
|
}
|
|
5670
5694
|
};
|
|
5671
|
-
var messages$
|
|
5695
|
+
var messages$4 = {
|
|
5672
5696
|
subscriptionEnd: "Cet abonnement doit expirer le",
|
|
5673
5697
|
cancelNow: "Cancel Subscription Now",
|
|
5674
5698
|
cancelLater: "Annuler l'abonnement maintenant",
|
|
@@ -5681,18 +5705,18 @@ var messages$1 = {
|
|
|
5681
5705
|
}
|
|
5682
5706
|
};
|
|
5683
5707
|
var subscriptionCancel_fr = {
|
|
5684
|
-
labels: labels$
|
|
5685
|
-
messages: messages$
|
|
5708
|
+
labels: labels$4,
|
|
5709
|
+
messages: messages$4
|
|
5686
5710
|
};
|
|
5687
5711
|
|
|
5688
|
-
var labels = {
|
|
5712
|
+
var labels$3 = {
|
|
5689
5713
|
title: "구독 취소",
|
|
5690
5714
|
cancelReason: "취소 사유",
|
|
5691
5715
|
subCancellation: {
|
|
5692
5716
|
goBack: "돌아가기"
|
|
5693
5717
|
}
|
|
5694
5718
|
};
|
|
5695
|
-
var messages = {
|
|
5719
|
+
var messages$3 = {
|
|
5696
5720
|
subscriptionEnd: "이 구독은 다음 날짜에 만료되도록 설정되었습니다.",
|
|
5697
5721
|
cancelNow: "지금 구독 취소",
|
|
5698
5722
|
cancelLater: "기간 종료 시 취소",
|
|
@@ -5705,6 +5729,78 @@ var messages = {
|
|
|
5705
5729
|
}
|
|
5706
5730
|
};
|
|
5707
5731
|
var subscriptionCancel_ko = {
|
|
5732
|
+
labels: labels$3,
|
|
5733
|
+
messages: messages$3
|
|
5734
|
+
};
|
|
5735
|
+
|
|
5736
|
+
var labels$2 = {
|
|
5737
|
+
title: "Suspend subscription",
|
|
5738
|
+
suspensionDate: "Suspension date",
|
|
5739
|
+
subCancellation: {
|
|
5740
|
+
goBack: "Go back"
|
|
5741
|
+
}
|
|
5742
|
+
};
|
|
5743
|
+
var messages$2 = {
|
|
5744
|
+
suspensionEnd: "The suspension is set to expire on",
|
|
5745
|
+
suspendNow: "Suspend Subscription Now",
|
|
5746
|
+
suspendLater: "Suspend at Period End",
|
|
5747
|
+
subCancellation: {
|
|
5748
|
+
isSureToSuspendNow: "Are you sure you want to suspend your subscription immediately?",
|
|
5749
|
+
isSureToSuspend: "Are you sure you want to suspend your subscription?",
|
|
5750
|
+
loading: "Suspending your subscription",
|
|
5751
|
+
success: "Subscription is successfully suspended",
|
|
5752
|
+
error: "Error while suspending your subscription"
|
|
5753
|
+
}
|
|
5754
|
+
};
|
|
5755
|
+
var subscriptionSuspend_en = {
|
|
5756
|
+
labels: labels$2,
|
|
5757
|
+
messages: messages$2
|
|
5758
|
+
};
|
|
5759
|
+
|
|
5760
|
+
var labels$1 = {
|
|
5761
|
+
title: "Suspendre l'abonnement",
|
|
5762
|
+
suspensionDate: "Date de suspension",
|
|
5763
|
+
subCancellation: {
|
|
5764
|
+
goBack: "Revenir en arrière"
|
|
5765
|
+
}
|
|
5766
|
+
};
|
|
5767
|
+
var messages$1 = {
|
|
5768
|
+
suspensionEnd: "La suspension doit expirer le",
|
|
5769
|
+
suspendNow: "Suspendre l'abonnement maintenant",
|
|
5770
|
+
suspendLater: "Suspendre à la fin de la période",
|
|
5771
|
+
subCancellation: {
|
|
5772
|
+
isSureToSuspendNow: "Êtes-vous sûr de vouloir suspendre votre abonnement immédiatement ?",
|
|
5773
|
+
isSureToSuspend: "Êtes-vous sûr de vouloir suspendre votre abonnement ?",
|
|
5774
|
+
loading: "Suspension de votre abonnement",
|
|
5775
|
+
success: "L'abonnement a été suspendu avec succès",
|
|
5776
|
+
error: "Erreur lors de la suspension de votre abonnement"
|
|
5777
|
+
}
|
|
5778
|
+
};
|
|
5779
|
+
var subscriptionSuspend_fr = {
|
|
5780
|
+
labels: labels$1,
|
|
5781
|
+
messages: messages$1
|
|
5782
|
+
};
|
|
5783
|
+
|
|
5784
|
+
var labels = {
|
|
5785
|
+
title: "구독 중단",
|
|
5786
|
+
suspensionDate: "중단 날짜",
|
|
5787
|
+
subCancellation: {
|
|
5788
|
+
goBack: "돌아가기"
|
|
5789
|
+
}
|
|
5790
|
+
};
|
|
5791
|
+
var messages = {
|
|
5792
|
+
suspensionEnd: "일시 중지가 만료되도록 설정되었습니다.",
|
|
5793
|
+
suspendNow: "지금 구독 일시 중단",
|
|
5794
|
+
suspendLater: "기간 종료 시 일시 중단",
|
|
5795
|
+
subCancellation: {
|
|
5796
|
+
isSureToSuspendNow: "구독을 즉시 중단하시겠습니까?",
|
|
5797
|
+
isSureToSuspend: "구독을 일시 중단하시겠습니까?",
|
|
5798
|
+
loading: "구독 일시 중단",
|
|
5799
|
+
success: "구독이 성공적으로 일시 중단되었습니다",
|
|
5800
|
+
error: "구독을 일시 중단하는 동안 오류가 발생했습니다."
|
|
5801
|
+
}
|
|
5802
|
+
};
|
|
5803
|
+
var subscriptionSuspend_ko = {
|
|
5708
5804
|
labels: labels,
|
|
5709
5805
|
messages: messages
|
|
5710
5806
|
};
|
|
@@ -7105,7 +7201,7 @@ class PelcroActions {
|
|
|
7105
7201
|
view,
|
|
7106
7202
|
cartItems,
|
|
7107
7203
|
...otherStateFields
|
|
7108
|
-
} = initialState$
|
|
7204
|
+
} = initialState$m;
|
|
7109
7205
|
this.set(otherStateFields);
|
|
7110
7206
|
});
|
|
7111
7207
|
|
|
@@ -7129,9 +7225,8 @@ class PelcroActions {
|
|
|
7129
7225
|
return this.set({
|
|
7130
7226
|
view: "login"
|
|
7131
7227
|
});
|
|
7132
|
-
}
|
|
7228
|
+
} // console.log(this.get().isAuthenticated(), );
|
|
7133
7229
|
|
|
7134
|
-
console.log(this.get().isAuthenticated());
|
|
7135
7230
|
|
|
7136
7231
|
if (["passwordless-request"].includes(view) && (this.get().isAuthenticated() || !((_window$Pelcro$site$r = window.Pelcro.site.read()) !== null && _window$Pelcro$site$r !== void 0 && _window$Pelcro$site$r.passwordless_enabled))) {
|
|
7137
7232
|
return this.set({
|
|
@@ -7244,6 +7339,21 @@ class PelcroActions {
|
|
|
7244
7339
|
});
|
|
7245
7340
|
});
|
|
7246
7341
|
|
|
7342
|
+
_defineProperty$3(this, "setSubscriptionToSuspend", id => {
|
|
7343
|
+
var _window$Pelcro$subscr2;
|
|
7344
|
+
|
|
7345
|
+
const subscriptions = (_window$Pelcro$subscr2 = window.Pelcro.subscription.list()) !== null && _window$Pelcro$subscr2 !== void 0 ? _window$Pelcro$subscr2 : [];
|
|
7346
|
+
const subscriptionToSuspend = subscriptions.filter(sub => String(sub.id) === String(id))[0];
|
|
7347
|
+
|
|
7348
|
+
if (!subscriptionToSuspend) {
|
|
7349
|
+
return console.error("invalid subscription id");
|
|
7350
|
+
}
|
|
7351
|
+
|
|
7352
|
+
this.set({
|
|
7353
|
+
subscriptionToSuspend
|
|
7354
|
+
});
|
|
7355
|
+
});
|
|
7356
|
+
|
|
7247
7357
|
_defineProperty$3(this, "setInvoice", id => {
|
|
7248
7358
|
var _window$Pelcro$invoic;
|
|
7249
7359
|
|
|
@@ -7475,7 +7585,7 @@ class PelcroCallbacks {
|
|
|
7475
7585
|
|
|
7476
7586
|
}
|
|
7477
7587
|
|
|
7478
|
-
const initialState$
|
|
7588
|
+
const initialState$m = {
|
|
7479
7589
|
// View
|
|
7480
7590
|
view: null,
|
|
7481
7591
|
// Plans
|
|
@@ -7509,7 +7619,7 @@ const createPelcroStore = () => createStore(middleware_3((set, get) => {
|
|
|
7509
7619
|
return {
|
|
7510
7620
|
// Store setter
|
|
7511
7621
|
set,
|
|
7512
|
-
...initialState$
|
|
7622
|
+
...initialState$m,
|
|
7513
7623
|
// State actions
|
|
7514
7624
|
...actions,
|
|
7515
7625
|
// Callbacks
|
|
@@ -7905,7 +8015,8 @@ const resources = {
|
|
|
7905
8015
|
select: select_en,
|
|
7906
8016
|
notification: notification_en,
|
|
7907
8017
|
invoiceDetails: invoiceDetails_en,
|
|
7908
|
-
subscriptionCancel: subscriptionCancel_en
|
|
8018
|
+
subscriptionCancel: subscriptionCancel_en,
|
|
8019
|
+
subscriptionSuspend: subscriptionSuspend_en
|
|
7909
8020
|
},
|
|
7910
8021
|
fr: {
|
|
7911
8022
|
common: common_fr,
|
|
@@ -7932,7 +8043,8 @@ const resources = {
|
|
|
7932
8043
|
select: select_fr,
|
|
7933
8044
|
notification: notification_fr,
|
|
7934
8045
|
invoiceDetails: invoiceDetails_fr,
|
|
7935
|
-
subscriptionCancel: subscriptionCancel_fr
|
|
8046
|
+
subscriptionCancel: subscriptionCancel_fr,
|
|
8047
|
+
subscriptionSuspend: subscriptionSuspend_fr
|
|
7936
8048
|
},
|
|
7937
8049
|
ko: {
|
|
7938
8050
|
common: common_ko,
|
|
@@ -7959,7 +8071,8 @@ const resources = {
|
|
|
7959
8071
|
select: select_ko,
|
|
7960
8072
|
notification: notification_ko,
|
|
7961
8073
|
invoiceDetails: invoiceDetails_ko,
|
|
7962
|
-
subscriptionCancel: subscriptionCancel_ko
|
|
8074
|
+
subscriptionCancel: subscriptionCancel_ko,
|
|
8075
|
+
subscriptionSuspend: subscriptionSuspend_ko
|
|
7963
8076
|
}
|
|
7964
8077
|
}; // set UI language to the page language or default to the language in site settings
|
|
7965
8078
|
|
|
@@ -9221,6 +9334,9 @@ toast.confirm = (onConfirm, {
|
|
|
9221
9334
|
id,
|
|
9222
9335
|
...options
|
|
9223
9336
|
});
|
|
9337
|
+
setTimeout(() => {
|
|
9338
|
+
notify.dismiss(id);
|
|
9339
|
+
}, 3000);
|
|
9224
9340
|
};
|
|
9225
9341
|
|
|
9226
9342
|
const onFailure = errorValue => {
|
|
@@ -9228,6 +9344,9 @@ toast.confirm = (onConfirm, {
|
|
|
9228
9344
|
id,
|
|
9229
9345
|
...options
|
|
9230
9346
|
});
|
|
9347
|
+
setTimeout(() => {
|
|
9348
|
+
notify.dismiss(id);
|
|
9349
|
+
}, 3000);
|
|
9231
9350
|
};
|
|
9232
9351
|
};
|
|
9233
9352
|
|
|
@@ -10739,8 +10858,9 @@ const SWITCH_TO_UPDATE = "SWITCH_TO_UPDATE";
|
|
|
10739
10858
|
const LINK_TOKEN_VERIFY = "LINK_TOKEN_VERIFY";
|
|
10740
10859
|
const SET_CANCEL_SUBSCRIPTION_REASON = "SET_CANCEL_SUBSCRIPTION_REASON";
|
|
10741
10860
|
const HANDLE_CHECKBOX_CHANGE = "HANDLE_CHECKBOX_CHANGE";
|
|
10861
|
+
const SET_SUBSCRIPTION_SUSPEND_DATE = "SET_SUBSCRIPTION_SUSPEND_DATE";
|
|
10742
10862
|
|
|
10743
|
-
const initialState$
|
|
10863
|
+
const initialState$l = {
|
|
10744
10864
|
email: "",
|
|
10745
10865
|
password: "",
|
|
10746
10866
|
emailError: null,
|
|
@@ -10751,10 +10871,10 @@ const initialState$k = {
|
|
|
10751
10871
|
content: ""
|
|
10752
10872
|
}
|
|
10753
10873
|
};
|
|
10754
|
-
const store$
|
|
10874
|
+
const store$l = /*#__PURE__*/React.createContext(initialState$l);
|
|
10755
10875
|
const {
|
|
10756
|
-
Provider: Provider$
|
|
10757
|
-
} = store$
|
|
10876
|
+
Provider: Provider$l
|
|
10877
|
+
} = store$l;
|
|
10758
10878
|
|
|
10759
10879
|
const LoginContainer = ({
|
|
10760
10880
|
style,
|
|
@@ -10861,7 +10981,7 @@ const LoginContainer = ({
|
|
|
10861
10981
|
});
|
|
10862
10982
|
|
|
10863
10983
|
case RESET_LOGIN_FORM:
|
|
10864
|
-
return initialState$
|
|
10984
|
+
return initialState$l;
|
|
10865
10985
|
|
|
10866
10986
|
case DISABLE_LOGIN_BUTTON:
|
|
10867
10987
|
return lib_7({ ...state,
|
|
@@ -10879,12 +10999,12 @@ const LoginContainer = ({
|
|
|
10879
10999
|
default:
|
|
10880
11000
|
return state;
|
|
10881
11001
|
}
|
|
10882
|
-
}, initialState$
|
|
11002
|
+
}, initialState$l);
|
|
10883
11003
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
10884
11004
|
style: { ...style
|
|
10885
11005
|
},
|
|
10886
11006
|
className: `pelcro-container pelcro-login-container ${className}`
|
|
10887
|
-
}, /*#__PURE__*/React__default['default'].createElement(Provider$
|
|
11007
|
+
}, /*#__PURE__*/React__default['default'].createElement(Provider$l, {
|
|
10888
11008
|
value: {
|
|
10889
11009
|
state,
|
|
10890
11010
|
dispatch
|
|
@@ -10892,12 +11012,12 @@ const LoginContainer = ({
|
|
|
10892
11012
|
}, children.length ? children.map((child, i) => {
|
|
10893
11013
|
if (child) {
|
|
10894
11014
|
return /*#__PURE__*/React__default['default'].cloneElement(child, {
|
|
10895
|
-
store: store$
|
|
11015
|
+
store: store$l,
|
|
10896
11016
|
key: i
|
|
10897
11017
|
});
|
|
10898
11018
|
}
|
|
10899
11019
|
}) : /*#__PURE__*/React__default['default'].cloneElement(children, {
|
|
10900
|
-
store: store$
|
|
11020
|
+
store: store$l
|
|
10901
11021
|
})));
|
|
10902
11022
|
};
|
|
10903
11023
|
|
|
@@ -11155,7 +11275,7 @@ const LoginButton = ({
|
|
|
11155
11275
|
buttonDisabled
|
|
11156
11276
|
},
|
|
11157
11277
|
dispatch
|
|
11158
|
-
} = React.useContext(store$
|
|
11278
|
+
} = React.useContext(store$l);
|
|
11159
11279
|
const {
|
|
11160
11280
|
t
|
|
11161
11281
|
} = useTranslation("login");
|
|
@@ -11213,11 +11333,11 @@ const LoginRequestLoginToken = ({
|
|
|
11213
11333
|
};
|
|
11214
11334
|
|
|
11215
11335
|
const LoginEmail = props => /*#__PURE__*/React__default['default'].createElement(Email, Object.assign({
|
|
11216
|
-
store: store$
|
|
11336
|
+
store: store$l
|
|
11217
11337
|
}, props));
|
|
11218
11338
|
|
|
11219
11339
|
const LoginPassword = props => /*#__PURE__*/React__default['default'].createElement(Password, Object.assign({
|
|
11220
|
-
store: store$
|
|
11340
|
+
store: store$l
|
|
11221
11341
|
}, props));
|
|
11222
11342
|
|
|
11223
11343
|
var _path$r;
|
|
@@ -11294,7 +11414,7 @@ var facebookLoginRenderProps = createCommonjsModule(function (module, exports) {
|
|
|
11294
11414
|
var FacebookLogin = unwrapExports(facebookLoginRenderProps);
|
|
11295
11415
|
facebookLoginRenderProps.FacebookLogin;
|
|
11296
11416
|
|
|
11297
|
-
const initialState$
|
|
11417
|
+
const initialState$k = {
|
|
11298
11418
|
email: "",
|
|
11299
11419
|
password: "",
|
|
11300
11420
|
emailError: null,
|
|
@@ -11311,10 +11431,10 @@ const initialState$j = {
|
|
|
11311
11431
|
content: ""
|
|
11312
11432
|
}
|
|
11313
11433
|
};
|
|
11314
|
-
const store$
|
|
11434
|
+
const store$k = /*#__PURE__*/React.createContext(initialState$k);
|
|
11315
11435
|
const {
|
|
11316
|
-
Provider: Provider$
|
|
11317
|
-
} = store$
|
|
11436
|
+
Provider: Provider$k
|
|
11437
|
+
} = store$k;
|
|
11318
11438
|
|
|
11319
11439
|
const RegisterContainer = ({
|
|
11320
11440
|
style,
|
|
@@ -11497,7 +11617,7 @@ const RegisterContainer = ({
|
|
|
11497
11617
|
});
|
|
11498
11618
|
|
|
11499
11619
|
case RESET_LOGIN_FORM:
|
|
11500
|
-
return initialState$
|
|
11620
|
+
return initialState$k;
|
|
11501
11621
|
|
|
11502
11622
|
case DISABLE_REGISTRATION_BUTTON:
|
|
11503
11623
|
return lib_7({ ...state,
|
|
@@ -11515,12 +11635,12 @@ const RegisterContainer = ({
|
|
|
11515
11635
|
default:
|
|
11516
11636
|
return state;
|
|
11517
11637
|
}
|
|
11518
|
-
}, initialState$
|
|
11638
|
+
}, initialState$k);
|
|
11519
11639
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
11520
11640
|
style: { ...style
|
|
11521
11641
|
},
|
|
11522
11642
|
className: `pelcro-container pelcro-register-container ${className}`
|
|
11523
|
-
}, /*#__PURE__*/React__default['default'].createElement(Provider$
|
|
11643
|
+
}, /*#__PURE__*/React__default['default'].createElement(Provider$k, {
|
|
11524
11644
|
value: {
|
|
11525
11645
|
state,
|
|
11526
11646
|
dispatch
|
|
@@ -11528,12 +11648,12 @@ const RegisterContainer = ({
|
|
|
11528
11648
|
}, children.length ? children.map((child, i) => {
|
|
11529
11649
|
if (child) {
|
|
11530
11650
|
return /*#__PURE__*/React__default['default'].cloneElement(child, {
|
|
11531
|
-
store: store$
|
|
11651
|
+
store: store$k,
|
|
11532
11652
|
key: i
|
|
11533
11653
|
});
|
|
11534
11654
|
}
|
|
11535
11655
|
}) : /*#__PURE__*/React__default['default'].cloneElement(children, {
|
|
11536
|
-
store: store$
|
|
11656
|
+
store: store$k
|
|
11537
11657
|
})));
|
|
11538
11658
|
};
|
|
11539
11659
|
/**
|
|
@@ -11573,10 +11693,10 @@ const FacebookLoginButton = ({
|
|
|
11573
11693
|
const facebookLoginEnabled = (_window$Pelcro$site$r = window.Pelcro.site.read()) === null || _window$Pelcro$site$r === void 0 ? void 0 : _window$Pelcro$site$r.facebook_app_id;
|
|
11574
11694
|
const {
|
|
11575
11695
|
dispatch: loginDispatch
|
|
11576
|
-
} = React.useContext(store$
|
|
11696
|
+
} = React.useContext(store$l);
|
|
11577
11697
|
const {
|
|
11578
11698
|
dispatch: registerDispatch
|
|
11579
|
-
} = React.useContext(store$
|
|
11699
|
+
} = React.useContext(store$k);
|
|
11580
11700
|
|
|
11581
11701
|
const onSuccess = facebookUser => {
|
|
11582
11702
|
loginDispatch === null || loginDispatch === void 0 ? void 0 : loginDispatch({
|
|
@@ -11663,10 +11783,10 @@ const GoogleLoginButton = ({
|
|
|
11663
11783
|
const googleLoginEnabled = (_window$Pelcro$site$r = window.Pelcro.site.read()) === null || _window$Pelcro$site$r === void 0 ? void 0 : _window$Pelcro$site$r.google_app_id;
|
|
11664
11784
|
const {
|
|
11665
11785
|
dispatch: loginDispatch
|
|
11666
|
-
} = React.useContext(store$
|
|
11786
|
+
} = React.useContext(store$l);
|
|
11667
11787
|
const {
|
|
11668
11788
|
dispatch: registerDispatch
|
|
11669
|
-
} = React.useContext(store$
|
|
11789
|
+
} = React.useContext(store$k);
|
|
11670
11790
|
|
|
11671
11791
|
const onSuccess = response => {
|
|
11672
11792
|
var _response$getAuthResp, _profile$getEmail, _profile$getGivenName, _profile$getFamilyNam, _profile$getEmail2, _profile$getGivenName2, _profile$getFamilyNam2;
|
|
@@ -11762,10 +11882,10 @@ const Auth0LoginButton = ({
|
|
|
11762
11882
|
}, [auth0Enabled, auth0Loaded]);
|
|
11763
11883
|
const {
|
|
11764
11884
|
dispatch: loginDispatch
|
|
11765
|
-
} = React.useContext(store$
|
|
11885
|
+
} = React.useContext(store$l);
|
|
11766
11886
|
const {
|
|
11767
11887
|
dispatch: registerDispatch
|
|
11768
|
-
} = React.useContext(store$
|
|
11888
|
+
} = React.useContext(store$k);
|
|
11769
11889
|
|
|
11770
11890
|
function handleClick() {
|
|
11771
11891
|
var _auth0InstanceRef$cur, _auth0InstanceRef$cur2, _auth0InstanceRef$cur3;
|
|
@@ -12074,11 +12194,11 @@ function LoginModal({
|
|
|
12074
12194
|
LoginModal.viewId = "login";
|
|
12075
12195
|
|
|
12076
12196
|
const RegisterEmail = props => /*#__PURE__*/React__default['default'].createElement(Email, Object.assign({
|
|
12077
|
-
store: store$
|
|
12197
|
+
store: store$k
|
|
12078
12198
|
}, props));
|
|
12079
12199
|
|
|
12080
12200
|
const RegisterPassword = props => /*#__PURE__*/React__default['default'].createElement(Password, Object.assign({
|
|
12081
|
-
store: store$
|
|
12201
|
+
store: store$k
|
|
12082
12202
|
}, props));
|
|
12083
12203
|
|
|
12084
12204
|
const RegisterButton = ({
|
|
@@ -12098,7 +12218,7 @@ const RegisterButton = ({
|
|
|
12098
12218
|
buttonDisabled
|
|
12099
12219
|
},
|
|
12100
12220
|
dispatch
|
|
12101
|
-
} = React.useContext(store$
|
|
12221
|
+
} = React.useContext(store$k);
|
|
12102
12222
|
const {
|
|
12103
12223
|
t
|
|
12104
12224
|
} = useTranslation("register");
|
|
@@ -12236,7 +12356,7 @@ function FirstName({
|
|
|
12236
12356
|
}
|
|
12237
12357
|
|
|
12238
12358
|
const RegisterFirstName = props => /*#__PURE__*/React__default['default'].createElement(FirstName, Object.assign({
|
|
12239
|
-
store: store$
|
|
12359
|
+
store: store$k
|
|
12240
12360
|
}, props));
|
|
12241
12361
|
|
|
12242
12362
|
function LastName({
|
|
@@ -12267,7 +12387,7 @@ function LastName({
|
|
|
12267
12387
|
}
|
|
12268
12388
|
|
|
12269
12389
|
const RegisterLastName = props => /*#__PURE__*/React__default['default'].createElement(LastName, Object.assign({
|
|
12270
|
-
store: store$
|
|
12390
|
+
store: store$k
|
|
12271
12391
|
}, props));
|
|
12272
12392
|
|
|
12273
12393
|
/**
|
|
@@ -12391,7 +12511,7 @@ function TextInput({
|
|
|
12391
12511
|
|
|
12392
12512
|
const RegisterTextInput = props => {
|
|
12393
12513
|
return /*#__PURE__*/React__default['default'].createElement(TextInput, Object.assign({}, props, {
|
|
12394
|
-
store: store$
|
|
12514
|
+
store: store$k
|
|
12395
12515
|
}));
|
|
12396
12516
|
};
|
|
12397
12517
|
|
|
@@ -14735,7 +14855,7 @@ class VantivGateway {
|
|
|
14735
14855
|
|
|
14736
14856
|
/** @type {PaymentStateType} */
|
|
14737
14857
|
|
|
14738
|
-
const initialState$
|
|
14858
|
+
const initialState$j = {
|
|
14739
14859
|
disableSubmit: false,
|
|
14740
14860
|
isLoading: false,
|
|
14741
14861
|
disableCouponButton: false,
|
|
@@ -14754,10 +14874,10 @@ const initialState$i = {
|
|
|
14754
14874
|
content: ""
|
|
14755
14875
|
}
|
|
14756
14876
|
};
|
|
14757
|
-
const store$
|
|
14877
|
+
const store$j = /*#__PURE__*/React.createContext(initialState$j);
|
|
14758
14878
|
const {
|
|
14759
|
-
Provider: Provider$
|
|
14760
|
-
} = store$
|
|
14879
|
+
Provider: Provider$j
|
|
14880
|
+
} = store$j;
|
|
14761
14881
|
|
|
14762
14882
|
const PaymentMethodContainerWithoutStripe = ({
|
|
14763
14883
|
style,
|
|
@@ -14837,9 +14957,17 @@ const PaymentMethodContainerWithoutStripe = ({
|
|
|
14837
14957
|
const SUCCESS_STATUS = "870";
|
|
14838
14958
|
|
|
14839
14959
|
if (paymentRequest.response !== SUCCESS_STATUS) {
|
|
14840
|
-
|
|
14841
|
-
|
|
14842
|
-
|
|
14960
|
+
switch (paymentRequest.response) {
|
|
14961
|
+
case "871":
|
|
14962
|
+
return handlePaymentError({
|
|
14963
|
+
error: new Error("Invalid account number")
|
|
14964
|
+
});
|
|
14965
|
+
|
|
14966
|
+
default:
|
|
14967
|
+
return handlePaymentError({
|
|
14968
|
+
error: new Error(paymentRequest.message)
|
|
14969
|
+
});
|
|
14970
|
+
}
|
|
14843
14971
|
}
|
|
14844
14972
|
}
|
|
14845
14973
|
|
|
@@ -16015,21 +16143,21 @@ const PaymentMethodContainerWithoutStripe = ({
|
|
|
16015
16143
|
default:
|
|
16016
16144
|
return state;
|
|
16017
16145
|
}
|
|
16018
|
-
}, initialState$
|
|
16146
|
+
}, initialState$j);
|
|
16019
16147
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
16020
16148
|
style: { ...style
|
|
16021
16149
|
},
|
|
16022
16150
|
className: `pelcro-container pelcro-payment-container ${className}`
|
|
16023
|
-
}, /*#__PURE__*/React__default['default'].createElement(Provider$
|
|
16151
|
+
}, /*#__PURE__*/React__default['default'].createElement(Provider$j, {
|
|
16024
16152
|
value: {
|
|
16025
16153
|
state,
|
|
16026
16154
|
dispatch
|
|
16027
16155
|
}
|
|
16028
16156
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default['default'].cloneElement(child, {
|
|
16029
|
-
store: store$
|
|
16157
|
+
store: store$j,
|
|
16030
16158
|
key: i
|
|
16031
16159
|
})) : /*#__PURE__*/React__default['default'].cloneElement(children, {
|
|
16032
|
-
store: store$
|
|
16160
|
+
store: store$j
|
|
16033
16161
|
})));
|
|
16034
16162
|
};
|
|
16035
16163
|
|
|
@@ -16051,7 +16179,7 @@ const PaymentMethodContainer = props => {
|
|
|
16051
16179
|
stripeAccount: window.Pelcro.site.read().account_id,
|
|
16052
16180
|
locale: getPageOrDefaultLanguage()
|
|
16053
16181
|
}, /*#__PURE__*/React__default['default'].createElement(es_11, null, /*#__PURE__*/React__default['default'].createElement(UnwrappedForm, Object.assign({
|
|
16054
|
-
store: store$
|
|
16182
|
+
store: store$j
|
|
16055
16183
|
}, props))));
|
|
16056
16184
|
}
|
|
16057
16185
|
|
|
@@ -16104,7 +16232,7 @@ const PelcroPaymentRequestButton = props => {
|
|
|
16104
16232
|
currentPlan,
|
|
16105
16233
|
updatedPrice
|
|
16106
16234
|
}
|
|
16107
|
-
} = React.useContext(store$
|
|
16235
|
+
} = React.useContext(store$j);
|
|
16108
16236
|
|
|
16109
16237
|
const updatePaymentRequest = () => {
|
|
16110
16238
|
// Make sure payment request is up to date, eg. user added a coupon code.
|
|
@@ -16180,7 +16308,7 @@ const DiscountedPrice = props => {
|
|
|
16180
16308
|
taxAmount,
|
|
16181
16309
|
percentOff
|
|
16182
16310
|
}
|
|
16183
|
-
} = React.useContext(store$
|
|
16311
|
+
} = React.useContext(store$j);
|
|
16184
16312
|
const {
|
|
16185
16313
|
order,
|
|
16186
16314
|
plan
|
|
@@ -16230,7 +16358,7 @@ const SubmitPaymentMethod = ({
|
|
|
16230
16358
|
isLoading,
|
|
16231
16359
|
updatedPrice
|
|
16232
16360
|
}
|
|
16233
|
-
} = React.useContext(store$
|
|
16361
|
+
} = React.useContext(store$j);
|
|
16234
16362
|
const planQuantity = (_plan$quantity = plan === null || plan === void 0 ? void 0 : plan.quantity) !== null && _plan$quantity !== void 0 ? _plan$quantity : 1;
|
|
16235
16363
|
const price = updatedPrice !== null && updatedPrice !== void 0 ? updatedPrice : plan === null || plan === void 0 ? void 0 : plan.amount;
|
|
16236
16364
|
const priceFormatted = getFormattedPriceByLocal(price * planQuantity, plan === null || plan === void 0 ? void 0 : plan.currency, getPageOrDefaultLanguage());
|
|
@@ -16280,7 +16408,7 @@ const ApplyCouponButton = ({
|
|
|
16280
16408
|
disableCouponButton
|
|
16281
16409
|
},
|
|
16282
16410
|
dispatch
|
|
16283
|
-
} = React.useContext(store$
|
|
16411
|
+
} = React.useContext(store$j);
|
|
16284
16412
|
const {
|
|
16285
16413
|
t
|
|
16286
16414
|
} = useTranslation("checkoutForm");
|
|
@@ -16314,7 +16442,7 @@ const CouponCodeField = props => {
|
|
|
16314
16442
|
couponCode,
|
|
16315
16443
|
couponError
|
|
16316
16444
|
}
|
|
16317
|
-
} = React.useContext(store$
|
|
16445
|
+
} = React.useContext(store$j);
|
|
16318
16446
|
|
|
16319
16447
|
const onCouponCodeChange = e => {
|
|
16320
16448
|
dispatch({
|
|
@@ -16370,7 +16498,7 @@ const CouponCode = ({
|
|
|
16370
16498
|
state: {
|
|
16371
16499
|
enableCouponField
|
|
16372
16500
|
}
|
|
16373
|
-
} = React.useContext(store$
|
|
16501
|
+
} = React.useContext(store$j);
|
|
16374
16502
|
const {
|
|
16375
16503
|
t
|
|
16376
16504
|
} = useTranslation("checkoutForm");
|
|
@@ -16627,7 +16755,7 @@ const PaypalSubscribeButton = props => {
|
|
|
16627
16755
|
const {
|
|
16628
16756
|
dispatch,
|
|
16629
16757
|
state
|
|
16630
|
-
} = React.useContext(store$
|
|
16758
|
+
} = React.useContext(store$j);
|
|
16631
16759
|
const {
|
|
16632
16760
|
product,
|
|
16633
16761
|
plan,
|
|
@@ -16760,7 +16888,7 @@ const SelectedPaymentMethod = () => {
|
|
|
16760
16888
|
state: {
|
|
16761
16889
|
isLoading
|
|
16762
16890
|
}
|
|
16763
|
-
} = React.useContext(store$
|
|
16891
|
+
} = React.useContext(store$j);
|
|
16764
16892
|
const {
|
|
16765
16893
|
switchView,
|
|
16766
16894
|
selectedPaymentMethodId
|
|
@@ -16802,7 +16930,7 @@ const TaxAmount = () => {
|
|
|
16802
16930
|
state: {
|
|
16803
16931
|
taxAmount
|
|
16804
16932
|
}
|
|
16805
|
-
} = React.useContext(store$
|
|
16933
|
+
} = React.useContext(store$j);
|
|
16806
16934
|
const {
|
|
16807
16935
|
plan
|
|
16808
16936
|
} = usePelcro();
|
|
@@ -16969,13 +17097,13 @@ function SubscriptionRenewModal({
|
|
|
16969
17097
|
}
|
|
16970
17098
|
SubscriptionRenewModal.viewId = "subscription-renew";
|
|
16971
17099
|
|
|
16972
|
-
const initialState$
|
|
17100
|
+
const initialState$i = {
|
|
16973
17101
|
cancelationReason: ""
|
|
16974
17102
|
};
|
|
16975
|
-
const store$
|
|
17103
|
+
const store$i = /*#__PURE__*/React.createContext(initialState$i);
|
|
16976
17104
|
const {
|
|
16977
|
-
Provider: Provider$
|
|
16978
|
-
} = store$
|
|
17105
|
+
Provider: Provider$i
|
|
17106
|
+
} = store$i;
|
|
16979
17107
|
|
|
16980
17108
|
const SubscriptionCancelContainer = ({
|
|
16981
17109
|
style,
|
|
@@ -16996,21 +17124,21 @@ const SubscriptionCancelContainer = ({
|
|
|
16996
17124
|
default:
|
|
16997
17125
|
return state;
|
|
16998
17126
|
}
|
|
16999
|
-
}, initialState$
|
|
17127
|
+
}, initialState$i);
|
|
17000
17128
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
17001
17129
|
style: { ...style
|
|
17002
17130
|
},
|
|
17003
17131
|
className: `pelcro-container pelcro-subscription-cancel-container ${className}`
|
|
17004
|
-
}, /*#__PURE__*/React__default['default'].createElement(Provider$
|
|
17132
|
+
}, /*#__PURE__*/React__default['default'].createElement(Provider$i, {
|
|
17005
17133
|
value: {
|
|
17006
17134
|
state,
|
|
17007
17135
|
dispatch
|
|
17008
17136
|
}
|
|
17009
17137
|
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default['default'].cloneElement(child, {
|
|
17010
|
-
store: store$
|
|
17138
|
+
store: store$i,
|
|
17011
17139
|
key: i
|
|
17012
17140
|
})) : /*#__PURE__*/React__default['default'].cloneElement(children, {
|
|
17013
|
-
store: store$
|
|
17141
|
+
store: store$i
|
|
17014
17142
|
})));
|
|
17015
17143
|
};
|
|
17016
17144
|
|
|
@@ -17050,11 +17178,328 @@ const Tooltip = ({
|
|
|
17050
17178
|
}, value));
|
|
17051
17179
|
};
|
|
17052
17180
|
|
|
17053
|
-
/**
|
|
17054
|
-
*
|
|
17055
|
-
*/
|
|
17056
|
-
|
|
17057
|
-
function TextArea({
|
|
17181
|
+
/**
|
|
17182
|
+
*
|
|
17183
|
+
*/
|
|
17184
|
+
|
|
17185
|
+
function TextArea({
|
|
17186
|
+
label = "",
|
|
17187
|
+
tooltipText,
|
|
17188
|
+
required,
|
|
17189
|
+
id,
|
|
17190
|
+
errorId,
|
|
17191
|
+
error,
|
|
17192
|
+
className = "",
|
|
17193
|
+
labelClassName = "",
|
|
17194
|
+
errorClassName = "",
|
|
17195
|
+
wrapperClassName = "",
|
|
17196
|
+
...otherProps
|
|
17197
|
+
}) {
|
|
17198
|
+
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
17199
|
+
className: `pelcro-input-wrapper ${wrapperClassName}`
|
|
17200
|
+
}, /*#__PURE__*/React__default['default'].createElement("label", {
|
|
17201
|
+
htmlFor: id,
|
|
17202
|
+
className: `pelcro-input-label plc-flex plc-items-center ${labelClassName}`
|
|
17203
|
+
}, `${label}${required ? "*" : ""}`, tooltipText && /*#__PURE__*/React__default['default'].createElement(Tooltip, {
|
|
17204
|
+
value: tooltipText,
|
|
17205
|
+
className: "plc-ml-1"
|
|
17206
|
+
})), /*#__PURE__*/React__default['default'].createElement("textarea", Object.assign({
|
|
17207
|
+
type: "text",
|
|
17208
|
+
id: id,
|
|
17209
|
+
className: `pelcro-input-field ${className} ${error ? "pelcro-input-invalid" : ""}`,
|
|
17210
|
+
"aria-describedby": errorId,
|
|
17211
|
+
"aria-invalid": Boolean(error)
|
|
17212
|
+
}, otherProps)), error && /*#__PURE__*/React__default['default'].createElement("p", {
|
|
17213
|
+
id: errorId,
|
|
17214
|
+
"aria-live": "assertive",
|
|
17215
|
+
className: `pelcro-input-error ${errorClassName}`
|
|
17216
|
+
}, error));
|
|
17217
|
+
}
|
|
17218
|
+
|
|
17219
|
+
const SubscriptionCancelReason = props => {
|
|
17220
|
+
const {
|
|
17221
|
+
t
|
|
17222
|
+
} = useTranslation("subscriptionCancel");
|
|
17223
|
+
const {
|
|
17224
|
+
dispatch,
|
|
17225
|
+
state
|
|
17226
|
+
} = React.useContext(store$i);
|
|
17227
|
+
|
|
17228
|
+
const handleOnTextAreaBlur = e => {
|
|
17229
|
+
dispatch({
|
|
17230
|
+
type: SET_CANCEL_SUBSCRIPTION_REASON,
|
|
17231
|
+
payload: e.target.value.trim()
|
|
17232
|
+
});
|
|
17233
|
+
};
|
|
17234
|
+
|
|
17235
|
+
return /*#__PURE__*/React__default['default'].createElement(TextArea, Object.assign({
|
|
17236
|
+
label: t("labels.cancelReason"),
|
|
17237
|
+
onBlur: e => handleOnTextAreaBlur(e)
|
|
17238
|
+
}, props));
|
|
17239
|
+
};
|
|
17240
|
+
|
|
17241
|
+
var _switch;
|
|
17242
|
+
|
|
17243
|
+
function _extends$k() { _extends$k = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$k.apply(this, arguments); }
|
|
17244
|
+
|
|
17245
|
+
function SvgSubscription(props) {
|
|
17246
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
|
|
17247
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17248
|
+
viewBox: "0 0 100 125",
|
|
17249
|
+
fill: "currentColor"
|
|
17250
|
+
}, props), _switch || (_switch = /*#__PURE__*/React__namespace.createElement("switch", null, /*#__PURE__*/React__namespace.createElement("g", null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
17251
|
+
d: "M5273.1 2400.1v-2c0-2.8-5-4-9.7-4s-9.7 1.3-9.7 4v2c0 1.8.7 3.6 2 4.9l5 4.9c.3.3.4.6.4 1v6.4c0 .4.2.7.6.8l2.9.9c.5.1 1-.2 1-.8v-7.2c0-.4.2-.7.4-1l5.1-5c1.3-1.3 2-3.1 2-4.9zm-9.7-.1c-4.8 0-7.4-1.3-7.5-1.8.1-.5 2.7-1.8 7.5-1.8s7.3 1.3 7.5 1.8c-.2.5-2.7 1.8-7.5 1.8z"
|
|
17252
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
17253
|
+
d: "M5268.4 2410.3c-.6 0-1 .4-1 1s.4 1 1 1h4.3c.6 0 1-.4 1-1s-.4-1-1-1h-4.3zM5272.7 2413.7h-4.3c-.6 0-1 .4-1 1s.4 1 1 1h4.3c.6 0 1-.4 1-1s-.4-1-1-1zM5272.7 2417h-4.3c-.6 0-1 .4-1 1s.4 1 1 1h4.3c.6 0 1-.4 1-1 0-.5-.4-1-1-1z"
|
|
17254
|
+
}), /*#__PURE__*/React__namespace.createElement("g", null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
17255
|
+
d: "M90.4 58.6c0-4.4-3.6-7.9-8-7.9-1.3 0-2.5.3-3.6.9-1.4-2.5-4-4-6.9-4-1.3 0-2.5.3-3.6.9-1.4-2.5-4-4-6.9-4-.9 0-1.8.1-2.6.4v-4.6h6c4.8 0 8.6-3.9 8.6-8.7V11.2c0-4.8-3.9-8.7-8.6-8.7H18.2c-4.8 0-8.6 3.9-8.6 8.7v20.3c0 4.8 3.9 8.7 8.6 8.7h24.6V64l-3.3-3.3c-2.7-2.7-7-3.1-10.2-1-1.9 1.3-3.1 3.3-3.5 5.5-.3 2.2.3 4.5 1.8 6.3L42 88.9c4.5 5.5 11.2 8.6 18.2 8.6h9c5.6 0 10.9-2.2 14.9-6.2s6.2-9.3 6.2-14.9l.1-17.8zm-21 33.5h-9c-5.5 0-10.6-2.4-14.1-6.6L31.9 68.1c-.5-.6-.7-1.3-.6-2.1.1-.8.5-1.4 1.1-1.8.4-.3 1-.5 1.5-.5.7 0 1.4.3 1.9.8l5.8 5.8c1.1 1.1 2.8 1.4 4.3.8 1.5-.6 2.4-2 2.4-3.6V30.1c0-1.4 1.2-2.6 2.6-2.6.7 0 1.3.3 1.8.8s.8 1.1.8 1.8v25.7c0 1.5 1.2 2.7 2.7 2.7 1.5 0 2.7-1.2 2.7-2.7v-3.5c0-1.4 1.2-2.6 2.6-2.6 1.4 0 2.6 1.2 2.6 2.6V59c0 1.5 1.2 2.7 2.7 2.7 1.5 0 2.7-1.2 2.7-2.7v-3.5c0-1.4 1.2-2.6 2.6-2.6 1.4 0 2.6 1.2 2.6 2.6v6.7c0 1.5 1.2 2.7 2.7 2.7 1.5 0 2.7-1.2 2.7-2.7v-3.5c0-1.4 1.2-2.6 2.6-2.6 1.4 0 2.6 1.2 2.6 2.6v17.8c0 4.2-1.6 8.1-4.6 11.1-3.2 2.9-7.2 4.5-11.3 4.5zM18.2 34.2c-1.5 0-2.6-1.2-2.6-2.7V11.2c0-1.5 1.2-2.7 2.6-2.7h46.5c1.5 0 2.6 1.2 2.6 2.7v20.3c0 1.5-1.2 2.7-2.6 2.7h-6v-4c0-2.1-.8-4.1-2.3-5.6-1.5-1.5-3.5-2.3-5.6-2.3-4.4 0-7.9 3.6-7.9 8v4H18.2z"
|
|
17256
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
17257
|
+
d: "M35.5 15.5L30 21.4l-1.9-2.1c-1-1.1-2.7-1.2-3.8-.1-1.1 1-1.2 2.7-.1 3.8l3.9 4.2c.5.6 1.2.9 2 .9s1.5-.3 2-.9l7.5-8c1-1.1 1-2.8-.1-3.8s-3-1-4 .1z"
|
|
17258
|
+
}))))));
|
|
17259
|
+
}
|
|
17260
|
+
|
|
17261
|
+
const SubscriptionCancelNowButton = ({
|
|
17262
|
+
subscription,
|
|
17263
|
+
onClick,
|
|
17264
|
+
className
|
|
17265
|
+
}) => {
|
|
17266
|
+
const {
|
|
17267
|
+
switchView
|
|
17268
|
+
} = usePelcro();
|
|
17269
|
+
const {
|
|
17270
|
+
state: {
|
|
17271
|
+
cancelationReason
|
|
17272
|
+
},
|
|
17273
|
+
dispatch
|
|
17274
|
+
} = React.useContext(store$i);
|
|
17275
|
+
const {
|
|
17276
|
+
t
|
|
17277
|
+
} = useTranslation("subscriptionCancel");
|
|
17278
|
+
|
|
17279
|
+
const cancelSubscription = (payload, onSuccess, onFailure) => {
|
|
17280
|
+
window.Pelcro.subscription.cancel({
|
|
17281
|
+
auth_token: window.Pelcro.user.read().auth_token,
|
|
17282
|
+
subscription_id: payload.subscription_id,
|
|
17283
|
+
mode: payload.mode,
|
|
17284
|
+
...(payload.reason && {
|
|
17285
|
+
reason: payload.reason
|
|
17286
|
+
})
|
|
17287
|
+
}, (err, res) => {
|
|
17288
|
+
var _ReactGA$event;
|
|
17289
|
+
|
|
17290
|
+
if (err) {
|
|
17291
|
+
return onFailure === null || onFailure === void 0 ? void 0 : onFailure(err);
|
|
17292
|
+
}
|
|
17293
|
+
|
|
17294
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
|
|
17295
|
+
category: "ACTIONS",
|
|
17296
|
+
action: "Canceled",
|
|
17297
|
+
nonInteraction: true
|
|
17298
|
+
});
|
|
17299
|
+
onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(res);
|
|
17300
|
+
});
|
|
17301
|
+
};
|
|
17302
|
+
|
|
17303
|
+
const handleCancelNowClick = () => {
|
|
17304
|
+
const payload = {
|
|
17305
|
+
subscription_id: subscription.id,
|
|
17306
|
+
mode: "now",
|
|
17307
|
+
...(cancelationReason && {
|
|
17308
|
+
reason: cancelationReason
|
|
17309
|
+
})
|
|
17310
|
+
};
|
|
17311
|
+
onClick === null || onClick === void 0 ? void 0 : onClick(); //Close the modal
|
|
17312
|
+
|
|
17313
|
+
switchView(null); //Show confirmation alert after closing the modal
|
|
17314
|
+
|
|
17315
|
+
notify.confirm((onSuccess, onFailure) => {
|
|
17316
|
+
cancelSubscription(payload, onSuccess, onFailure);
|
|
17317
|
+
}, {
|
|
17318
|
+
confirmMessage: t("messages.subCancellation.isSureToCancelNow"),
|
|
17319
|
+
loadingMessage: t("messages.subCancellation.loading"),
|
|
17320
|
+
successMessage: t("messages.subCancellation.success"),
|
|
17321
|
+
errorMessage: t("messages.subCancellation.error")
|
|
17322
|
+
}, {
|
|
17323
|
+
closeButtonLabel: t("labels.subCancellation.goBack")
|
|
17324
|
+
});
|
|
17325
|
+
};
|
|
17326
|
+
|
|
17327
|
+
return /*#__PURE__*/React__default['default'].createElement(Button, {
|
|
17328
|
+
onClick: handleCancelNowClick,
|
|
17329
|
+
className: `${className}`
|
|
17330
|
+
}, t("messages.cancelNow"));
|
|
17331
|
+
};
|
|
17332
|
+
|
|
17333
|
+
const SubscriptionCancelLaterButton = ({
|
|
17334
|
+
subscription,
|
|
17335
|
+
onClick,
|
|
17336
|
+
className
|
|
17337
|
+
}) => {
|
|
17338
|
+
const {
|
|
17339
|
+
switchView
|
|
17340
|
+
} = usePelcro();
|
|
17341
|
+
const {
|
|
17342
|
+
state: {
|
|
17343
|
+
cancelationReason
|
|
17344
|
+
},
|
|
17345
|
+
dispatch
|
|
17346
|
+
} = React.useContext(store$i);
|
|
17347
|
+
const {
|
|
17348
|
+
t
|
|
17349
|
+
} = useTranslation("subscriptionCancel");
|
|
17350
|
+
|
|
17351
|
+
const cancelSubscription = (payload, onSuccess, onFailure) => {
|
|
17352
|
+
window.Pelcro.subscription.cancel({
|
|
17353
|
+
auth_token: window.Pelcro.user.read().auth_token,
|
|
17354
|
+
subscription_id: payload.subscription_id,
|
|
17355
|
+
mode: payload.mode,
|
|
17356
|
+
...(payload.reason && {
|
|
17357
|
+
reason: payload.reason
|
|
17358
|
+
})
|
|
17359
|
+
}, (err, res) => {
|
|
17360
|
+
var _ReactGA$event;
|
|
17361
|
+
|
|
17362
|
+
if (err) {
|
|
17363
|
+
return onFailure === null || onFailure === void 0 ? void 0 : onFailure(err);
|
|
17364
|
+
}
|
|
17365
|
+
|
|
17366
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
|
|
17367
|
+
category: "ACTIONS",
|
|
17368
|
+
action: "Canceled",
|
|
17369
|
+
nonInteraction: true
|
|
17370
|
+
});
|
|
17371
|
+
onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(res);
|
|
17372
|
+
});
|
|
17373
|
+
};
|
|
17374
|
+
|
|
17375
|
+
const handleCancelNowClick = () => {
|
|
17376
|
+
const payload = {
|
|
17377
|
+
subscription_id: subscription.id,
|
|
17378
|
+
mode: "period_end",
|
|
17379
|
+
...(cancelationReason && {
|
|
17380
|
+
reason: cancelationReason
|
|
17381
|
+
})
|
|
17382
|
+
};
|
|
17383
|
+
onClick === null || onClick === void 0 ? void 0 : onClick(); //Close the modal
|
|
17384
|
+
|
|
17385
|
+
switchView(null); //Show confirmation alert after closing the modal
|
|
17386
|
+
|
|
17387
|
+
notify.confirm((onSuccess, onFailure) => {
|
|
17388
|
+
cancelSubscription(payload, onSuccess, onFailure);
|
|
17389
|
+
}, {
|
|
17390
|
+
confirmMessage: t("messages.subCancellation.isSureToCancel"),
|
|
17391
|
+
loadingMessage: t("messages.subCancellation.loading"),
|
|
17392
|
+
successMessage: t("messages.subCancellation.success"),
|
|
17393
|
+
errorMessage: t("messages.subCancellation.error")
|
|
17394
|
+
}, {
|
|
17395
|
+
closeButtonLabel: t("labels.subCancellation.goBack")
|
|
17396
|
+
});
|
|
17397
|
+
};
|
|
17398
|
+
|
|
17399
|
+
return /*#__PURE__*/React__default['default'].createElement(Button, {
|
|
17400
|
+
onClick: handleCancelNowClick,
|
|
17401
|
+
className: `${className}`
|
|
17402
|
+
}, t("messages.cancelLater"));
|
|
17403
|
+
};
|
|
17404
|
+
|
|
17405
|
+
const SubscriptionCancelView = props => {
|
|
17406
|
+
const {
|
|
17407
|
+
subscriptionToCancel
|
|
17408
|
+
} = usePelcro();
|
|
17409
|
+
const {
|
|
17410
|
+
t
|
|
17411
|
+
} = useTranslation("subscriptionCancel");
|
|
17412
|
+
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
17413
|
+
id: "pelcro-subscription-cancel-view"
|
|
17414
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
17415
|
+
className: "plc-mb-6 plc-text-center plc-text-gray-900 pelcro-title-wrapper"
|
|
17416
|
+
}, /*#__PURE__*/React__default['default'].createElement("h4", {
|
|
17417
|
+
className: "plc-text-2xl plc-font-semibold"
|
|
17418
|
+
}, t("labels.title"), /*#__PURE__*/React__default['default'].createElement("span", {
|
|
17419
|
+
className: "plc-text-gray-400 plc-text-base plc-block"
|
|
17420
|
+
}, "(", subscriptionToCancel.plan.nickname, ")"))), /*#__PURE__*/React__default['default'].createElement(SubscriptionCancelContainer, props, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
17421
|
+
className: "plc-flex plc-flex-col plc-items-center plc-justify-center plc-mt-4"
|
|
17422
|
+
}, /*#__PURE__*/React__default['default'].createElement(SvgSubscription, {
|
|
17423
|
+
className: "plc-w-32 plc-h-32"
|
|
17424
|
+
}), /*#__PURE__*/React__default['default'].createElement("p", {
|
|
17425
|
+
className: "plc-mb-3 plc-text-gray-900 plc-text-center plc-whitespace-pre-line"
|
|
17426
|
+
}, t("messages.subscriptionEnd"), " ", new Date(subscriptionToCancel === null || subscriptionToCancel === void 0 ? void 0 : subscriptionToCancel.current_period_end).toLocaleDateString("en-CA", {
|
|
17427
|
+
year: "numeric",
|
|
17428
|
+
month: "short",
|
|
17429
|
+
day: "numeric"
|
|
17430
|
+
}), "."), /*#__PURE__*/React__default['default'].createElement(SubscriptionCancelReason, null), /*#__PURE__*/React__default['default'].createElement(SubscriptionCancelNowButton, {
|
|
17431
|
+
className: "plc-mb-2",
|
|
17432
|
+
subscription: subscriptionToCancel
|
|
17433
|
+
}), subscriptionToCancel.cancel_at_period_end === 0 && /*#__PURE__*/React__default['default'].createElement(SubscriptionCancelLaterButton, {
|
|
17434
|
+
subscription: subscriptionToCancel
|
|
17435
|
+
}))));
|
|
17436
|
+
};
|
|
17437
|
+
|
|
17438
|
+
const SubscriptionCancelModal = ({
|
|
17439
|
+
onDisplay,
|
|
17440
|
+
onClose,
|
|
17441
|
+
...otherProps
|
|
17442
|
+
}) => {
|
|
17443
|
+
return /*#__PURE__*/React__default['default'].createElement(Modal, {
|
|
17444
|
+
onDisplay: onDisplay,
|
|
17445
|
+
onClose: onClose,
|
|
17446
|
+
id: "pelcro-subscription-cancel-modal"
|
|
17447
|
+
}, /*#__PURE__*/React__default['default'].createElement(ModalBody, null, /*#__PURE__*/React__default['default'].createElement(SubscriptionCancelView, otherProps)), /*#__PURE__*/React__default['default'].createElement(ModalFooter, null, /*#__PURE__*/React__default['default'].createElement(Authorship, null)));
|
|
17448
|
+
};
|
|
17449
|
+
SubscriptionCancelModal.viewId = "subscription-cancel";
|
|
17450
|
+
|
|
17451
|
+
const initialState$h = {
|
|
17452
|
+
suspendDate: null,
|
|
17453
|
+
buttonDisabled: false
|
|
17454
|
+
};
|
|
17455
|
+
const store$h = /*#__PURE__*/React.createContext(initialState$h);
|
|
17456
|
+
const {
|
|
17457
|
+
Provider: Provider$h
|
|
17458
|
+
} = store$h;
|
|
17459
|
+
|
|
17460
|
+
const SubscriptionSuspendContainer = ({
|
|
17461
|
+
style,
|
|
17462
|
+
className = "",
|
|
17463
|
+
onSuccess = () => {},
|
|
17464
|
+
onFailure = () => {},
|
|
17465
|
+
children,
|
|
17466
|
+
...props
|
|
17467
|
+
}) => {
|
|
17468
|
+
useTranslation("SubscriptionSuspend");
|
|
17469
|
+
const [state, dispatch] = useReducerWithSideEffects((state, action) => {
|
|
17470
|
+
switch (action.type) {
|
|
17471
|
+
case SET_SUBSCRIPTION_SUSPEND_DATE:
|
|
17472
|
+
return lib_7({ ...state,
|
|
17473
|
+
suspendDate: action.payload
|
|
17474
|
+
});
|
|
17475
|
+
|
|
17476
|
+
case DISABLE_SUBMIT:
|
|
17477
|
+
return lib_7({ ...state,
|
|
17478
|
+
buttonDisabled: action.payload
|
|
17479
|
+
});
|
|
17480
|
+
|
|
17481
|
+
default:
|
|
17482
|
+
return state;
|
|
17483
|
+
}
|
|
17484
|
+
}, initialState$h);
|
|
17485
|
+
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
17486
|
+
style: { ...style
|
|
17487
|
+
},
|
|
17488
|
+
className: `pelcro-container pelcro-subscription-suspend-container ${className}`
|
|
17489
|
+
}, /*#__PURE__*/React__default['default'].createElement(Provider$h, {
|
|
17490
|
+
value: {
|
|
17491
|
+
state,
|
|
17492
|
+
dispatch
|
|
17493
|
+
}
|
|
17494
|
+
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default['default'].cloneElement(child, {
|
|
17495
|
+
store: store$h,
|
|
17496
|
+
key: i
|
|
17497
|
+
})) : /*#__PURE__*/React__default['default'].cloneElement(children, {
|
|
17498
|
+
store: store$h
|
|
17499
|
+
})));
|
|
17500
|
+
};
|
|
17501
|
+
|
|
17502
|
+
function DatePicker({
|
|
17058
17503
|
label = "",
|
|
17059
17504
|
tooltipText,
|
|
17060
17505
|
required,
|
|
@@ -17075,8 +17520,8 @@ function TextArea({
|
|
|
17075
17520
|
}, `${label}${required ? "*" : ""}`, tooltipText && /*#__PURE__*/React__default['default'].createElement(Tooltip, {
|
|
17076
17521
|
value: tooltipText,
|
|
17077
17522
|
className: "plc-ml-1"
|
|
17078
|
-
})), /*#__PURE__*/React__default['default'].createElement("
|
|
17079
|
-
type: "
|
|
17523
|
+
})), /*#__PURE__*/React__default['default'].createElement("input", Object.assign({
|
|
17524
|
+
type: "date",
|
|
17080
17525
|
id: id,
|
|
17081
17526
|
className: `pelcro-input-field ${className} ${error ? "pelcro-input-invalid" : ""}`,
|
|
17082
17527
|
"aria-describedby": errorId,
|
|
@@ -17088,121 +17533,46 @@ function TextArea({
|
|
|
17088
17533
|
}, error));
|
|
17089
17534
|
}
|
|
17090
17535
|
|
|
17091
|
-
const
|
|
17536
|
+
const nowDate$1 = new Date();
|
|
17537
|
+
const dayFromNowDateISO = new Date(new Date().setDate(nowDate$1.getDate() + 1)).toISOString().substr(0, 10);
|
|
17538
|
+
const SubscriptionSuspendDate = props => {
|
|
17539
|
+
var _props$subscription, _state$suspendDate;
|
|
17540
|
+
|
|
17092
17541
|
const {
|
|
17093
17542
|
t
|
|
17094
|
-
} = useTranslation("
|
|
17543
|
+
} = useTranslation("subscriptionSuspend");
|
|
17095
17544
|
const {
|
|
17096
17545
|
dispatch,
|
|
17097
17546
|
state
|
|
17098
17547
|
} = React.useContext(store$h);
|
|
17099
17548
|
|
|
17100
|
-
const
|
|
17101
|
-
|
|
17102
|
-
|
|
17103
|
-
|
|
17104
|
-
|
|
17105
|
-
};
|
|
17106
|
-
|
|
17107
|
-
return /*#__PURE__*/React__default['default'].createElement(TextArea, Object.assign({
|
|
17108
|
-
label: t("labels.cancelReason"),
|
|
17109
|
-
onBlur: e => handleOnTextAreaBlur(e)
|
|
17110
|
-
}, props));
|
|
17111
|
-
};
|
|
17112
|
-
|
|
17113
|
-
var _switch;
|
|
17114
|
-
|
|
17115
|
-
function _extends$k() { _extends$k = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$k.apply(this, arguments); }
|
|
17116
|
-
|
|
17117
|
-
function SvgSubscription(props) {
|
|
17118
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
|
|
17119
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
17120
|
-
viewBox: "0 0 100 125",
|
|
17121
|
-
fill: "currentColor"
|
|
17122
|
-
}, props), _switch || (_switch = /*#__PURE__*/React__namespace.createElement("switch", null, /*#__PURE__*/React__namespace.createElement("g", null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
17123
|
-
d: "M5273.1 2400.1v-2c0-2.8-5-4-9.7-4s-9.7 1.3-9.7 4v2c0 1.8.7 3.6 2 4.9l5 4.9c.3.3.4.6.4 1v6.4c0 .4.2.7.6.8l2.9.9c.5.1 1-.2 1-.8v-7.2c0-.4.2-.7.4-1l5.1-5c1.3-1.3 2-3.1 2-4.9zm-9.7-.1c-4.8 0-7.4-1.3-7.5-1.8.1-.5 2.7-1.8 7.5-1.8s7.3 1.3 7.5 1.8c-.2.5-2.7 1.8-7.5 1.8z"
|
|
17124
|
-
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
17125
|
-
d: "M5268.4 2410.3c-.6 0-1 .4-1 1s.4 1 1 1h4.3c.6 0 1-.4 1-1s-.4-1-1-1h-4.3zM5272.7 2413.7h-4.3c-.6 0-1 .4-1 1s.4 1 1 1h4.3c.6 0 1-.4 1-1s-.4-1-1-1zM5272.7 2417h-4.3c-.6 0-1 .4-1 1s.4 1 1 1h4.3c.6 0 1-.4 1-1 0-.5-.4-1-1-1z"
|
|
17126
|
-
}), /*#__PURE__*/React__namespace.createElement("g", null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
17127
|
-
d: "M90.4 58.6c0-4.4-3.6-7.9-8-7.9-1.3 0-2.5.3-3.6.9-1.4-2.5-4-4-6.9-4-1.3 0-2.5.3-3.6.9-1.4-2.5-4-4-6.9-4-.9 0-1.8.1-2.6.4v-4.6h6c4.8 0 8.6-3.9 8.6-8.7V11.2c0-4.8-3.9-8.7-8.6-8.7H18.2c-4.8 0-8.6 3.9-8.6 8.7v20.3c0 4.8 3.9 8.7 8.6 8.7h24.6V64l-3.3-3.3c-2.7-2.7-7-3.1-10.2-1-1.9 1.3-3.1 3.3-3.5 5.5-.3 2.2.3 4.5 1.8 6.3L42 88.9c4.5 5.5 11.2 8.6 18.2 8.6h9c5.6 0 10.9-2.2 14.9-6.2s6.2-9.3 6.2-14.9l.1-17.8zm-21 33.5h-9c-5.5 0-10.6-2.4-14.1-6.6L31.9 68.1c-.5-.6-.7-1.3-.6-2.1.1-.8.5-1.4 1.1-1.8.4-.3 1-.5 1.5-.5.7 0 1.4.3 1.9.8l5.8 5.8c1.1 1.1 2.8 1.4 4.3.8 1.5-.6 2.4-2 2.4-3.6V30.1c0-1.4 1.2-2.6 2.6-2.6.7 0 1.3.3 1.8.8s.8 1.1.8 1.8v25.7c0 1.5 1.2 2.7 2.7 2.7 1.5 0 2.7-1.2 2.7-2.7v-3.5c0-1.4 1.2-2.6 2.6-2.6 1.4 0 2.6 1.2 2.6 2.6V59c0 1.5 1.2 2.7 2.7 2.7 1.5 0 2.7-1.2 2.7-2.7v-3.5c0-1.4 1.2-2.6 2.6-2.6 1.4 0 2.6 1.2 2.6 2.6v6.7c0 1.5 1.2 2.7 2.7 2.7 1.5 0 2.7-1.2 2.7-2.7v-3.5c0-1.4 1.2-2.6 2.6-2.6 1.4 0 2.6 1.2 2.6 2.6v17.8c0 4.2-1.6 8.1-4.6 11.1-3.2 2.9-7.2 4.5-11.3 4.5zM18.2 34.2c-1.5 0-2.6-1.2-2.6-2.7V11.2c0-1.5 1.2-2.7 2.6-2.7h46.5c1.5 0 2.6 1.2 2.6 2.7v20.3c0 1.5-1.2 2.7-2.6 2.7h-6v-4c0-2.1-.8-4.1-2.3-5.6-1.5-1.5-3.5-2.3-5.6-2.3-4.4 0-7.9 3.6-7.9 8v4H18.2z"
|
|
17128
|
-
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
17129
|
-
d: "M35.5 15.5L30 21.4l-1.9-2.1c-1-1.1-2.7-1.2-3.8-.1-1.1 1-1.2 2.7-.1 3.8l3.9 4.2c.5.6 1.2.9 2 .9s1.5-.3 2-.9l7.5-8c1-1.1 1-2.8-.1-3.8s-3-1-4 .1z"
|
|
17130
|
-
}))))));
|
|
17131
|
-
}
|
|
17132
|
-
|
|
17133
|
-
const SubscriptionCancelNowButton = ({
|
|
17134
|
-
subscription,
|
|
17135
|
-
onClick,
|
|
17136
|
-
className
|
|
17137
|
-
}) => {
|
|
17138
|
-
const {
|
|
17139
|
-
switchView
|
|
17140
|
-
} = usePelcro();
|
|
17141
|
-
const {
|
|
17142
|
-
state: {
|
|
17143
|
-
cancelationReason
|
|
17144
|
-
},
|
|
17145
|
-
dispatch
|
|
17146
|
-
} = React.useContext(store$h);
|
|
17147
|
-
const {
|
|
17148
|
-
t
|
|
17149
|
-
} = useTranslation("subscriptionCancel");
|
|
17150
|
-
|
|
17151
|
-
const cancelSubscription = (payload, onSuccess, onFailure) => {
|
|
17152
|
-
window.Pelcro.subscription.cancel({
|
|
17153
|
-
auth_token: window.Pelcro.user.read().auth_token,
|
|
17154
|
-
subscription_id: payload.subscription_id,
|
|
17155
|
-
mode: payload.mode,
|
|
17156
|
-
...(payload.reason && {
|
|
17157
|
-
reason: payload.reason
|
|
17158
|
-
})
|
|
17159
|
-
}, (err, res) => {
|
|
17160
|
-
var _ReactGA$event;
|
|
17161
|
-
|
|
17162
|
-
if (err) {
|
|
17163
|
-
return onFailure === null || onFailure === void 0 ? void 0 : onFailure(err);
|
|
17164
|
-
}
|
|
17165
|
-
|
|
17166
|
-
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
|
|
17167
|
-
category: "ACTIONS",
|
|
17168
|
-
action: "Canceled",
|
|
17169
|
-
nonInteraction: true
|
|
17549
|
+
const handleInputChange = value => {
|
|
17550
|
+
if (value) {
|
|
17551
|
+
dispatch({
|
|
17552
|
+
type: DISABLE_SUBMIT,
|
|
17553
|
+
payload: false
|
|
17170
17554
|
});
|
|
17171
|
-
|
|
17172
|
-
|
|
17173
|
-
|
|
17174
|
-
|
|
17175
|
-
|
|
17176
|
-
const payload = {
|
|
17177
|
-
subscription_id: subscription.id,
|
|
17178
|
-
mode: "now",
|
|
17179
|
-
...(cancelationReason && {
|
|
17180
|
-
reason: cancelationReason
|
|
17181
|
-
})
|
|
17182
|
-
};
|
|
17183
|
-
onClick === null || onClick === void 0 ? void 0 : onClick(); //Close the modal
|
|
17184
|
-
|
|
17185
|
-
switchView(null); //Show confirmation alert after closing the modal
|
|
17186
|
-
|
|
17187
|
-
notify.confirm((onSuccess, onFailure) => {
|
|
17188
|
-
cancelSubscription(payload, onSuccess, onFailure);
|
|
17189
|
-
}, {
|
|
17190
|
-
confirmMessage: t("messages.subCancellation.isSureToCancelNow"),
|
|
17191
|
-
loadingMessage: t("messages.subCancellation.loading"),
|
|
17192
|
-
successMessage: t("messages.subCancellation.success"),
|
|
17193
|
-
errorMessage: t("messages.subCancellation.error")
|
|
17194
|
-
}, {
|
|
17195
|
-
closeButtonLabel: t("labels.subCancellation.goBack")
|
|
17196
|
-
});
|
|
17555
|
+
dispatch({
|
|
17556
|
+
type: SET_SUBSCRIPTION_SUSPEND_DATE,
|
|
17557
|
+
payload: value
|
|
17558
|
+
});
|
|
17559
|
+
}
|
|
17197
17560
|
};
|
|
17198
17561
|
|
|
17199
|
-
|
|
17200
|
-
|
|
17201
|
-
|
|
17202
|
-
|
|
17562
|
+
React.useEffect(() => {
|
|
17563
|
+
handleInputChange(dayFromNowDateISO);
|
|
17564
|
+
}, []);
|
|
17565
|
+
return /*#__PURE__*/React__default['default'].createElement(DatePicker, Object.assign({
|
|
17566
|
+
label: t("labels.suspensionDate"),
|
|
17567
|
+
min: dayFromNowDateISO,
|
|
17568
|
+
max: new Date(props === null || props === void 0 ? void 0 : (_props$subscription = props.subscription) === null || _props$subscription === void 0 ? void 0 : _props$subscription.current_period_end).toISOString().substr(0, 10),
|
|
17569
|
+
value: (_state$suspendDate = state.suspendDate) !== null && _state$suspendDate !== void 0 ? _state$suspendDate : dayFromNowDateISO,
|
|
17570
|
+
onChange: e => handleInputChange(e.target.value),
|
|
17571
|
+
onKeyDown: e => e.preventDefault()
|
|
17572
|
+
}, props));
|
|
17203
17573
|
};
|
|
17204
17574
|
|
|
17205
|
-
const
|
|
17575
|
+
const SubscriptionSuspendButton = ({
|
|
17206
17576
|
subscription,
|
|
17207
17577
|
onClick,
|
|
17208
17578
|
className
|
|
@@ -17212,22 +17582,21 @@ const SubscriptionCancelLaterButton = ({
|
|
|
17212
17582
|
} = usePelcro();
|
|
17213
17583
|
const {
|
|
17214
17584
|
state: {
|
|
17215
|
-
|
|
17585
|
+
suspendDate,
|
|
17586
|
+
buttonDisabled
|
|
17216
17587
|
},
|
|
17217
17588
|
dispatch
|
|
17218
17589
|
} = React.useContext(store$h);
|
|
17219
17590
|
const {
|
|
17220
17591
|
t
|
|
17221
|
-
} = useTranslation("
|
|
17592
|
+
} = useTranslation("subscriptionSuspend");
|
|
17222
17593
|
|
|
17223
|
-
const
|
|
17224
|
-
window.Pelcro.subscription.
|
|
17594
|
+
const suspendSubscription = (payload, onSuccess, onFailure) => {
|
|
17595
|
+
window.Pelcro.subscription.update({
|
|
17225
17596
|
auth_token: window.Pelcro.user.read().auth_token,
|
|
17226
17597
|
subscription_id: payload.subscription_id,
|
|
17227
|
-
|
|
17228
|
-
|
|
17229
|
-
reason: payload.reason
|
|
17230
|
-
})
|
|
17598
|
+
suspend: 1,
|
|
17599
|
+
shipments_suspended_until: suspendDate
|
|
17231
17600
|
}, (err, res) => {
|
|
17232
17601
|
var _ReactGA$event;
|
|
17233
17602
|
|
|
@@ -17237,29 +17606,25 @@ const SubscriptionCancelLaterButton = ({
|
|
|
17237
17606
|
|
|
17238
17607
|
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
|
|
17239
17608
|
category: "ACTIONS",
|
|
17240
|
-
action: "
|
|
17609
|
+
action: "Suspended",
|
|
17241
17610
|
nonInteraction: true
|
|
17242
17611
|
});
|
|
17243
17612
|
onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(res);
|
|
17244
17613
|
});
|
|
17245
17614
|
};
|
|
17246
17615
|
|
|
17247
|
-
const
|
|
17616
|
+
const handleClick = () => {
|
|
17248
17617
|
const payload = {
|
|
17249
|
-
subscription_id: subscription.id
|
|
17250
|
-
mode: "period_end",
|
|
17251
|
-
...(cancelationReason && {
|
|
17252
|
-
reason: cancelationReason
|
|
17253
|
-
})
|
|
17618
|
+
subscription_id: subscription.id
|
|
17254
17619
|
};
|
|
17255
17620
|
onClick === null || onClick === void 0 ? void 0 : onClick(); //Close the modal
|
|
17256
17621
|
|
|
17257
17622
|
switchView(null); //Show confirmation alert after closing the modal
|
|
17258
17623
|
|
|
17259
17624
|
notify.confirm((onSuccess, onFailure) => {
|
|
17260
|
-
|
|
17625
|
+
suspendSubscription(payload, onSuccess, onFailure);
|
|
17261
17626
|
}, {
|
|
17262
|
-
confirmMessage: t("messages.subCancellation.
|
|
17627
|
+
confirmMessage: t("messages.subCancellation.isSureToSuspendNow"),
|
|
17263
17628
|
loadingMessage: t("messages.subCancellation.loading"),
|
|
17264
17629
|
successMessage: t("messages.subCancellation.success"),
|
|
17265
17630
|
errorMessage: t("messages.subCancellation.error")
|
|
@@ -17269,45 +17634,42 @@ const SubscriptionCancelLaterButton = ({
|
|
|
17269
17634
|
};
|
|
17270
17635
|
|
|
17271
17636
|
return /*#__PURE__*/React__default['default'].createElement(Button, {
|
|
17272
|
-
onClick:
|
|
17273
|
-
className: `${className}
|
|
17274
|
-
|
|
17637
|
+
onClick: handleClick,
|
|
17638
|
+
className: `${className}`,
|
|
17639
|
+
disabled: buttonDisabled
|
|
17640
|
+
}, t("messages.suspendNow"));
|
|
17275
17641
|
};
|
|
17276
17642
|
|
|
17277
|
-
const
|
|
17643
|
+
const SubscriptionSuspendView = props => {
|
|
17278
17644
|
const {
|
|
17279
|
-
|
|
17645
|
+
subscriptionToSuspend
|
|
17280
17646
|
} = usePelcro();
|
|
17281
17647
|
const {
|
|
17282
17648
|
t
|
|
17283
|
-
} = useTranslation("
|
|
17649
|
+
} = useTranslation("subscriptionSuspend");
|
|
17284
17650
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
17285
|
-
id: "pelcro-subscription-
|
|
17651
|
+
id: "pelcro-subscription-suspend-view"
|
|
17286
17652
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
17287
17653
|
className: "plc-mb-6 plc-text-center plc-text-gray-900 pelcro-title-wrapper"
|
|
17288
17654
|
}, /*#__PURE__*/React__default['default'].createElement("h4", {
|
|
17289
17655
|
className: "plc-text-2xl plc-font-semibold"
|
|
17290
17656
|
}, t("labels.title"), /*#__PURE__*/React__default['default'].createElement("span", {
|
|
17291
17657
|
className: "plc-text-gray-400 plc-text-base plc-block"
|
|
17292
|
-
}, "(",
|
|
17658
|
+
}, "(", subscriptionToSuspend.plan.nickname, ")"))), /*#__PURE__*/React__default['default'].createElement(SubscriptionSuspendContainer, props, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
17293
17659
|
className: "plc-flex plc-flex-col plc-items-center plc-justify-center plc-mt-4"
|
|
17294
17660
|
}, /*#__PURE__*/React__default['default'].createElement(SvgSubscription, {
|
|
17295
17661
|
className: "plc-w-32 plc-h-32"
|
|
17296
17662
|
}), /*#__PURE__*/React__default['default'].createElement("p", {
|
|
17297
17663
|
className: "plc-mb-3 plc-text-gray-900 plc-text-center plc-whitespace-pre-line"
|
|
17298
|
-
}, t("messages.
|
|
17299
|
-
|
|
17300
|
-
|
|
17301
|
-
day: "numeric"
|
|
17302
|
-
}), "."), /*#__PURE__*/React__default['default'].createElement(SubscriptionCancelReason, null), /*#__PURE__*/React__default['default'].createElement(SubscriptionCancelNowButton, {
|
|
17664
|
+
}, t("messages.suspensionEnd"), "."), /*#__PURE__*/React__default['default'].createElement(SubscriptionSuspendDate, {
|
|
17665
|
+
subscription: subscriptionToSuspend
|
|
17666
|
+
}), /*#__PURE__*/React__default['default'].createElement(SubscriptionSuspendButton, {
|
|
17303
17667
|
className: "plc-mb-2",
|
|
17304
|
-
subscription:
|
|
17305
|
-
}), subscriptionToCancel.cancel_at_period_end === 0 && /*#__PURE__*/React__default['default'].createElement(SubscriptionCancelLaterButton, {
|
|
17306
|
-
subscription: subscriptionToCancel
|
|
17668
|
+
subscription: subscriptionToSuspend
|
|
17307
17669
|
}))));
|
|
17308
17670
|
};
|
|
17309
17671
|
|
|
17310
|
-
const
|
|
17672
|
+
const SubscriptionSuspendModal = ({
|
|
17311
17673
|
onDisplay,
|
|
17312
17674
|
onClose,
|
|
17313
17675
|
...otherProps
|
|
@@ -17315,10 +17677,10 @@ const SubscriptionCancelModal = ({
|
|
|
17315
17677
|
return /*#__PURE__*/React__default['default'].createElement(Modal, {
|
|
17316
17678
|
onDisplay: onDisplay,
|
|
17317
17679
|
onClose: onClose,
|
|
17318
|
-
id: "pelcro-subscription-
|
|
17319
|
-
}, /*#__PURE__*/React__default['default'].createElement(ModalBody, null, /*#__PURE__*/React__default['default'].createElement(
|
|
17680
|
+
id: "pelcro-subscription-suspend-modal"
|
|
17681
|
+
}, /*#__PURE__*/React__default['default'].createElement(ModalBody, null, /*#__PURE__*/React__default['default'].createElement(SubscriptionSuspendView, otherProps)), /*#__PURE__*/React__default['default'].createElement(ModalFooter, null, /*#__PURE__*/React__default['default'].createElement(Authorship, null)));
|
|
17320
17682
|
};
|
|
17321
|
-
|
|
17683
|
+
SubscriptionSuspendModal.viewId = "subscription-suspend";
|
|
17322
17684
|
|
|
17323
17685
|
var _path$i;
|
|
17324
17686
|
|
|
@@ -21823,40 +22185,6 @@ const GiftCreateLastName = props => /*#__PURE__*/React__default['default'].creat
|
|
|
21823
22185
|
store: store$7
|
|
21824
22186
|
}, props));
|
|
21825
22187
|
|
|
21826
|
-
function DatePicker({
|
|
21827
|
-
label = "",
|
|
21828
|
-
tooltipText,
|
|
21829
|
-
required,
|
|
21830
|
-
id,
|
|
21831
|
-
errorId,
|
|
21832
|
-
error,
|
|
21833
|
-
className = "",
|
|
21834
|
-
labelClassName = "",
|
|
21835
|
-
errorClassName = "",
|
|
21836
|
-
wrapperClassName = "",
|
|
21837
|
-
...otherProps
|
|
21838
|
-
}) {
|
|
21839
|
-
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
21840
|
-
className: `pelcro-input-wrapper ${wrapperClassName}`
|
|
21841
|
-
}, /*#__PURE__*/React__default['default'].createElement("label", {
|
|
21842
|
-
htmlFor: id,
|
|
21843
|
-
className: `pelcro-input-label plc-flex plc-items-center ${labelClassName}`
|
|
21844
|
-
}, `${label}${required ? "*" : ""}`, tooltipText && /*#__PURE__*/React__default['default'].createElement(Tooltip, {
|
|
21845
|
-
value: tooltipText,
|
|
21846
|
-
className: "plc-ml-1"
|
|
21847
|
-
})), /*#__PURE__*/React__default['default'].createElement("input", Object.assign({
|
|
21848
|
-
type: "date",
|
|
21849
|
-
id: id,
|
|
21850
|
-
className: `pelcro-input-field ${className} ${error ? "pelcro-input-invalid" : ""}`,
|
|
21851
|
-
"aria-describedby": errorId,
|
|
21852
|
-
"aria-invalid": Boolean(error)
|
|
21853
|
-
}, otherProps)), error && /*#__PURE__*/React__default['default'].createElement("p", {
|
|
21854
|
-
id: errorId,
|
|
21855
|
-
"aria-live": "assertive",
|
|
21856
|
-
className: `pelcro-input-error ${errorClassName}`
|
|
21857
|
-
}, error));
|
|
21858
|
-
}
|
|
21859
|
-
|
|
21860
22188
|
const nowDate = new Date();
|
|
21861
22189
|
const nowDateISO = nowDate.toISOString().substr(0, 10);
|
|
21862
22190
|
const yearFromNowDateISO = new Date(new Date().setFullYear(nowDate.getFullYear() + 1)).toISOString().substr(0, 10);
|
|
@@ -24301,6 +24629,7 @@ const SubscriptionsMenu = props => {
|
|
|
24301
24629
|
const SubscriptionsItems = ({
|
|
24302
24630
|
onClose,
|
|
24303
24631
|
cancelSubscription,
|
|
24632
|
+
unSuspendSubscription,
|
|
24304
24633
|
reactivateSubscription,
|
|
24305
24634
|
setProductAndPlan,
|
|
24306
24635
|
setSubscriptionIdToRenew,
|
|
@@ -24316,6 +24645,7 @@ const SubscriptionsItems = ({
|
|
|
24316
24645
|
const {
|
|
24317
24646
|
switchView,
|
|
24318
24647
|
setSubscriptionToCancel,
|
|
24648
|
+
setSubscriptionToSuspend,
|
|
24319
24649
|
isAuthenticated
|
|
24320
24650
|
} = usePelcro();
|
|
24321
24651
|
const subs = getNonDonationSubs();
|
|
@@ -24366,6 +24696,35 @@ const SubscriptionsItems = ({
|
|
|
24366
24696
|
setProductAndPlan(product, plan);
|
|
24367
24697
|
setSubscriptionIdToRenew(sub.id);
|
|
24368
24698
|
setView("plan-select");
|
|
24699
|
+
}; // Suspend click
|
|
24700
|
+
|
|
24701
|
+
|
|
24702
|
+
const onSuspendClick = () => {
|
|
24703
|
+
if (userMustVerifyEmail()) {
|
|
24704
|
+
return switchView("email-verify");
|
|
24705
|
+
}
|
|
24706
|
+
|
|
24707
|
+
setSubscriptionToSuspend(sub.id);
|
|
24708
|
+
return setView("subscription-suspend");
|
|
24709
|
+
}; // UnSuspend click
|
|
24710
|
+
|
|
24711
|
+
|
|
24712
|
+
const onUnSuspendClick = () => {
|
|
24713
|
+
if (userMustVerifyEmail()) {
|
|
24714
|
+
return switchView("email-verify");
|
|
24715
|
+
}
|
|
24716
|
+
|
|
24717
|
+
onClose === null || onClose === void 0 ? void 0 : onClose();
|
|
24718
|
+
notify.confirm((onSuccess, onFailure) => {
|
|
24719
|
+
unSuspendSubscription(sub.id, onSuccess, onFailure);
|
|
24720
|
+
}, {
|
|
24721
|
+
confirmMessage: t("messages.subUnSuspend.isSureToUnSuspend"),
|
|
24722
|
+
loadingMessage: t("messages.subUnSuspend.loading"),
|
|
24723
|
+
successMessage: t("messages.subUnSuspend.success"),
|
|
24724
|
+
errorMessage: t("messages.subUnSuspend.error")
|
|
24725
|
+
}, {
|
|
24726
|
+
closeButtonLabel: t("labels.subCancellation.goBack")
|
|
24727
|
+
});
|
|
24369
24728
|
};
|
|
24370
24729
|
|
|
24371
24730
|
const getPhases = () => {
|
|
@@ -24419,7 +24778,21 @@ const SubscriptionsItems = ({
|
|
|
24419
24778
|
onClick: onRenewClick,
|
|
24420
24779
|
disabled: disableSubmit,
|
|
24421
24780
|
"data-key": sub.id
|
|
24422
|
-
}, t("labels.renew")),
|
|
24781
|
+
}, t("labels.renew")), sub.shipments_suspended_until && sub.shipments_remaining > 0 && /*#__PURE__*/React__default['default'].createElement(Button, {
|
|
24782
|
+
variant: "ghost",
|
|
24783
|
+
className: "plc-text-blue-400 pelcro-dashboard-sub-suspend-button",
|
|
24784
|
+
icon: /*#__PURE__*/React__default['default'].createElement(SvgXIconSolid, null),
|
|
24785
|
+
onClick: onUnSuspendClick,
|
|
24786
|
+
disabled: disableSubmit,
|
|
24787
|
+
"data-key": sub.id
|
|
24788
|
+
}, t("labels.unsuspend")), !sub.shipments_suspended_until && sub.shipments_remaining > 0 && /*#__PURE__*/React__default['default'].createElement(Button, {
|
|
24789
|
+
variant: "ghost",
|
|
24790
|
+
className: "plc-text-red-500 focus:plc-ring-red-500 pelcro-dashboard-sub-suspend-button",
|
|
24791
|
+
icon: /*#__PURE__*/React__default['default'].createElement(SvgCalendar, null),
|
|
24792
|
+
onClick: onSuspendClick,
|
|
24793
|
+
disabled: disableSubmit,
|
|
24794
|
+
"data-key": sub.id
|
|
24795
|
+
}, t("labels.suspend")), !sub.plan.auto_renew || sub.plan.auto_renew && sub.cancel_at_period_end === 0 ? /*#__PURE__*/React__default['default'].createElement(Button, {
|
|
24423
24796
|
variant: "ghost",
|
|
24424
24797
|
className: "plc-text-red-500 focus:plc-ring-red-500 pelcro-dashboard-sub-cancel-button",
|
|
24425
24798
|
icon: /*#__PURE__*/React__default['default'].createElement(SvgXIconSolid, null),
|
|
@@ -25134,6 +25507,27 @@ class Dashboard extends React.Component {
|
|
|
25134
25507
|
});
|
|
25135
25508
|
});
|
|
25136
25509
|
|
|
25510
|
+
_defineProperty$3(this, "unSuspendSubscription", (subscription_id, onSuccess, onFailure) => {
|
|
25511
|
+
window.Pelcro.subscription.update({
|
|
25512
|
+
auth_token: window.Pelcro.user.read().auth_token,
|
|
25513
|
+
subscription_id: subscription_id,
|
|
25514
|
+
suspend: 0
|
|
25515
|
+
}, (err, res) => {
|
|
25516
|
+
var _ReactGA$event3;
|
|
25517
|
+
|
|
25518
|
+
if (err) {
|
|
25519
|
+
return onFailure === null || onFailure === void 0 ? void 0 : onFailure(err);
|
|
25520
|
+
}
|
|
25521
|
+
|
|
25522
|
+
ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event3 = ReactGA.event) === null || _ReactGA$event3 === void 0 ? void 0 : _ReactGA$event3.call(ReactGA, {
|
|
25523
|
+
category: "ACTIONS",
|
|
25524
|
+
action: "UnSuspended",
|
|
25525
|
+
nonInteraction: true
|
|
25526
|
+
});
|
|
25527
|
+
onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(res);
|
|
25528
|
+
});
|
|
25529
|
+
});
|
|
25530
|
+
|
|
25137
25531
|
_defineProperty$3(this, "displayRedeem", () => {
|
|
25138
25532
|
return this.props.setView("gift-redeem");
|
|
25139
25533
|
});
|
|
@@ -25555,6 +25949,7 @@ class Dashboard extends React.Component {
|
|
|
25555
25949
|
content: /*#__PURE__*/React__default['default'].createElement(SubscriptionsMenu, {
|
|
25556
25950
|
onClose: this.props.onClose,
|
|
25557
25951
|
cancelSubscription: this.cancelSubscription,
|
|
25952
|
+
unSuspendSubscription: this.unSuspendSubscription,
|
|
25558
25953
|
reactivateSubscription: this.reactivateSubscription,
|
|
25559
25954
|
setProductAndPlan: this.props.setProductAndPlan,
|
|
25560
25955
|
setSubscriptionIdToRenew: this.props.setSubscriptionIdToRenew,
|
|
@@ -29640,6 +30035,8 @@ exports.SubscriptionCreateView = SubscriptionCreateView;
|
|
|
29640
30035
|
exports.SubscriptionRenewContainer = SubscriptionRenewContainer;
|
|
29641
30036
|
exports.SubscriptionRenewModal = SubscriptionRenewModal;
|
|
29642
30037
|
exports.SubscriptionRenewView = SubscriptionRenewView;
|
|
30038
|
+
exports.SubscriptionSuspendModal = SubscriptionSuspendModal;
|
|
30039
|
+
exports.SubscriptionSuspendView = SubscriptionSuspendView;
|
|
29643
30040
|
exports.TaxAmount = TaxAmount;
|
|
29644
30041
|
exports.TextArea = TextArea;
|
|
29645
30042
|
exports.Tooltip = Tooltip;
|