@pelcro/react-pelcro-js 4.0.0-alpha.31 → 4.0.0-alpha.33
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 +63 -76
- package/dist/index.esm.js +63 -76
- package/dist/pelcro.css +568 -562
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -3715,7 +3715,7 @@ var passwordChange_en = {
|
|
|
3715
3715
|
weakPassword: weakPassword$3
|
|
3716
3716
|
};
|
|
3717
3717
|
|
|
3718
|
-
var title$w = "Passwordless
|
|
3718
|
+
var title$w = "Passwordless";
|
|
3719
3719
|
var email$9 = "Enter email";
|
|
3720
3720
|
var submit$c = "Submit";
|
|
3721
3721
|
var required$c = "Required";
|
|
@@ -3840,7 +3840,7 @@ var labels$U = {
|
|
|
3840
3840
|
canceled: "Canceled"
|
|
3841
3841
|
},
|
|
3842
3842
|
manageMembers: "Manage Members",
|
|
3843
|
-
shipments: "Shipments
|
|
3843
|
+
shipments: "Shipments Remaining",
|
|
3844
3844
|
logout: "Logout",
|
|
3845
3845
|
dashboard: "Dashboard",
|
|
3846
3846
|
unsubscribe: "Cancel",
|
|
@@ -3850,6 +3850,7 @@ var labels$U = {
|
|
|
3850
3850
|
unsuspend: "Unsuspend",
|
|
3851
3851
|
support: "Support",
|
|
3852
3852
|
account: "Account",
|
|
3853
|
+
mySettings: "My Settings",
|
|
3853
3854
|
accountSettings: "Account Settings",
|
|
3854
3855
|
purchases: "Purchases",
|
|
3855
3856
|
subscriptions: "Subscriptions",
|
|
@@ -3868,10 +3869,10 @@ var labels$U = {
|
|
|
3868
3869
|
pastDue: "Past due",
|
|
3869
3870
|
updatePaymentSource: "Update",
|
|
3870
3871
|
profile: "Profile",
|
|
3871
|
-
updateProfile: "Edit
|
|
3872
|
-
changePassword: "Change
|
|
3873
|
-
editNewsletters: "Edit
|
|
3874
|
-
myQRCode: "
|
|
3872
|
+
updateProfile: "Edit Profile",
|
|
3873
|
+
changePassword: "Change Password",
|
|
3874
|
+
editNewsletters: "Edit Newsletters",
|
|
3875
|
+
myQRCode: "QR Code",
|
|
3875
3876
|
shipping: "Shipping",
|
|
3876
3877
|
billing: "Billing",
|
|
3877
3878
|
Newsletters: "Newsletters",
|
|
@@ -3880,9 +3881,9 @@ var labels$U = {
|
|
|
3880
3881
|
redeemGift: "Redeem gift",
|
|
3881
3882
|
address: "Address",
|
|
3882
3883
|
addresses: "Addresses",
|
|
3883
|
-
myProfile: "My
|
|
3884
|
+
myProfile: "My Profile",
|
|
3884
3885
|
basicData: "Basic Data",
|
|
3885
|
-
paymentSource: "Payment
|
|
3886
|
+
paymentSource: "Payment Cards",
|
|
3886
3887
|
addCard: "Add Card",
|
|
3887
3888
|
actions: "Actions",
|
|
3888
3889
|
expiresOn: "Ends",
|
|
@@ -4659,7 +4660,7 @@ var passwordChange_fr = {
|
|
|
4659
4660
|
weakPassword: weakPassword$2
|
|
4660
4661
|
};
|
|
4661
4662
|
|
|
4662
|
-
var title$n = "
|
|
4663
|
+
var title$n = "Sans mot de passe";
|
|
4663
4664
|
var email$6 = "Entrez votre adresse courriel";
|
|
4664
4665
|
var submit$8 = "Soumettre";
|
|
4665
4666
|
var required$8 = "Champs obligatoires";
|
|
@@ -4794,6 +4795,7 @@ var labels$z = {
|
|
|
4794
4795
|
unsuspend: "Annuler la suspension",
|
|
4795
4796
|
support: "Soutien",
|
|
4796
4797
|
account: "Compte",
|
|
4798
|
+
mySettings: "Mes paramètres",
|
|
4797
4799
|
accountSettings: "Paramètres du compte",
|
|
4798
4800
|
purchases: "Achats",
|
|
4799
4801
|
subscriptions: "Abonnements",
|
|
@@ -5549,7 +5551,7 @@ var passwordChange_ko = {
|
|
|
5549
5551
|
weakPassword: weakPassword$1
|
|
5550
5552
|
};
|
|
5551
5553
|
|
|
5552
|
-
var title$e = "
|
|
5554
|
+
var title$e = "암호 없음";
|
|
5553
5555
|
var email$3 = "이메일 입력";
|
|
5554
5556
|
var submit$4 = "제출";
|
|
5555
5557
|
var required$4 = "필수 항목";
|
|
@@ -5684,6 +5686,7 @@ var labels$k = {
|
|
|
5684
5686
|
unsuspend: "일시 중단 해제",
|
|
5685
5687
|
support: "지원",
|
|
5686
5688
|
account: "계정",
|
|
5689
|
+
mySettings: "내 설정",
|
|
5687
5690
|
accountSettings: "계정 설정",
|
|
5688
5691
|
purchases: "구매",
|
|
5689
5692
|
subscriptions: "유료 멤버십",
|
|
@@ -6486,7 +6489,7 @@ var passwordChange_es = {
|
|
|
6486
6489
|
weakPassword: weakPassword
|
|
6487
6490
|
};
|
|
6488
6491
|
|
|
6489
|
-
var title$5 = "
|
|
6492
|
+
var title$5 = "sin contraseña";
|
|
6490
6493
|
var email = "Ingresar correo";
|
|
6491
6494
|
var submit = "Enviar";
|
|
6492
6495
|
var required = "obligatorio";
|
|
@@ -6618,6 +6621,7 @@ var labels$5 = {
|
|
|
6618
6621
|
unsuspend: "Reanudar",
|
|
6619
6622
|
support: "Soporte",
|
|
6620
6623
|
account: "Cuenta",
|
|
6624
|
+
mySettings: "Mi configuración",
|
|
6621
6625
|
purchases: "Compras",
|
|
6622
6626
|
subscriptions: "Suscripciones",
|
|
6623
6627
|
donations: "Donaciones",
|
|
@@ -6827,7 +6831,7 @@ var subscriptionSuspend_es = {
|
|
|
6827
6831
|
messages: messages
|
|
6828
6832
|
};
|
|
6829
6833
|
|
|
6830
|
-
var title$2 = "
|
|
6834
|
+
var title$2 = "QR code";
|
|
6831
6835
|
var qr_en = {
|
|
6832
6836
|
title: title$2
|
|
6833
6837
|
};
|
|
@@ -12723,15 +12727,6 @@ const AlertWithContext = ({
|
|
|
12723
12727
|
}, otherProps), alert.content));
|
|
12724
12728
|
};
|
|
12725
12729
|
|
|
12726
|
-
function VerticalSeparator({
|
|
12727
|
-
className = "",
|
|
12728
|
-
...otherProps
|
|
12729
|
-
}) {
|
|
12730
|
-
return /*#__PURE__*/React__default.createElement("span", Object.assign({
|
|
12731
|
-
className: `pelcro-vertical-separator ${className}`
|
|
12732
|
-
}, otherProps));
|
|
12733
|
-
}
|
|
12734
|
-
|
|
12735
12730
|
var facebookLoginRenderProps = createCommonjsModule(function (module, exports) {
|
|
12736
12731
|
!function(e,t){module.exports=t(React__default);}(commonjsGlobal,function(e){return function(e){function t(n){if(o[n])return o[n].exports;var r=o[n]={exports:{},id:n,loaded:!1};return e[n].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var o={};return t.m=e,t.c=o,t.p="",t(0)}([function(e,t,o){e.exports=o(4);},function(e,t,o){e.exports=o(6)();},function(t,o){t.exports=e;},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t){return decodeURIComponent(e.replace(new RegExp("^(?:.*[&\\?]"+encodeURIComponent(t).replace(/[\.\+\*]/g,"\\$&")+"(?:\\=([^&]*))?)?.*$","i"),"$1"))};},function(e,t,o){function n(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return !t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t);}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);}return e},c=function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n);}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}(),u=o(2),d=n(u),l=o(1),p=n(l),f=o(5),b=n(f),y=o(3),h=n(y),g=function(){var e=!1;try{e=!!(window.navigator&&window.navigator.standalone||navigator.userAgent.match("CriOS")||navigator.userAgent.match(/mobile/i));}catch(t){}return e},k=function(e){function t(){var e,o,n,s;r(this,t);for(var c=arguments.length,u=Array(c),d=0;d<c;d++)u[d]=arguments[d];return o=n=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),n.state={isSdkLoaded:!1,isProcessing:!1},n.responseApi=function(e){window.FB.api("/me",{locale:n.props.language,fields:n.props.fields},function(t){a(t,e),n.props.callback(t);});},n.checkLoginState=function(e){n.setStateIfMounted({isProcessing:!1}),e.authResponse?n.responseApi(e.authResponse):n.props.onFailure?n.props.onFailure({status:e.status}):n.props.callback({status:e.status});},n.checkLoginAfterRefresh=function(e){"connected"===e.status?n.checkLoginState(e):window.FB.login(function(e){return n.checkLoginState(e)},!0);},n.click=function(e){if(n.state.isSdkLoaded&&!n.state.isProcessing&&!n.props.isDisabled){n.setState({isProcessing:!0});var t=n.props,o=t.scope,r=t.appId,i=t.onClick,s=t.returnScopes,a=t.responseType,c=t.redirectUri,u=t.disableMobileRedirect,d=t.authType,l=t.state;if("function"!=typeof i||(i(e),!e.defaultPrevented)){var p={client_id:r,redirect_uri:c,state:l,return_scopes:s,scope:o,response_type:a,auth_type:d};if(n.props.isMobile&&!u)window.location.href="https://www.facebook.com/dialog/oauth"+(0, b["default"])(p);else {if(!window.FB)return void(n.props.onFailure&&n.props.onFailure({status:"facebookNotLoaded"}));window.FB.login(n.checkLoginState,{scope:o,return_scopes:s,auth_type:p.auth_type});}}}},s=o,i(n,s)}return s(t,e),c(t,[{key:"componentDidMount",value:function(){if(this._isMounted=!0,document.getElementById("facebook-jssdk"))return void this.sdkLoaded();this.setFbAsyncInit(),this.loadSdkAsynchronously();var e=document.getElementById("fb-root");e||(e=document.createElement("div"),e.id="fb-root",document.body.appendChild(e));}},{key:"componentWillReceiveProps",value:function(e){this.state.isSdkLoaded&&e.autoLoad&&!this.props.autoLoad&&window.FB.getLoginStatus(this.checkLoginAfterRefresh);}},{key:"componentWillUnmount",value:function(){this._isMounted=!1;}},{key:"setStateIfMounted",value:function(e){this._isMounted&&this.setState(e);}},{key:"setFbAsyncInit",value:function(){var e=this,t=this.props,o=t.appId,n=t.xfbml,r=t.cookie,i=t.version,s=t.autoLoad;window.fbAsyncInit=function(){window.FB.init({version:"v"+i,appId:o,xfbml:n,cookie:r}),e.setStateIfMounted({isSdkLoaded:!0}),(s||e.isRedirectedFromFb())&&window.FB.getLoginStatus(e.checkLoginAfterRefresh);};}},{key:"isRedirectedFromFb",value:function(){var e=window.location.search;return (0, h["default"])(e,"code")||(0, h["default"])(e,"granted_scopes")}},{key:"sdkLoaded",value:function(){this.setState({isSdkLoaded:!0});}},{key:"loadSdkAsynchronously",value:function(){var e=this.props.language;!function(t,o,n){var r=t.getElementsByTagName(o)[0],i=r,s=r;t.getElementById(n)||(s=t.createElement(o),s.id=n,s.src="https://connect.facebook.net/"+e+"/sdk.js",i.parentNode.insertBefore(s,i));}(document,"script","facebook-jssdk");}},{key:"render",value:function o(){var o=this.props.render;if(!o)throw new Error("ReactFacebookLogin requires a render prop to render");var e={onClick:this.click,isDisabled:!!this.props.isDisabled,isProcessing:this.state.isProcessing,isSdkLoaded:this.state.isSdkLoaded};return this.props.render(e)}}]),t}(d["default"].Component);k.propTypes={isDisabled:p["default"].bool,callback:p["default"].func.isRequired,appId:p["default"].string.isRequired,xfbml:p["default"].bool,cookie:p["default"].bool,authType:p["default"].string,scope:p["default"].string,state:p["default"].string,responseType:p["default"].string,returnScopes:p["default"].bool,redirectUri:p["default"].string,autoLoad:p["default"].bool,disableMobileRedirect:p["default"].bool,isMobile:p["default"].bool,fields:p["default"].string,version:p["default"].string,language:p["default"].string,onClick:p["default"].func,onFailure:p["default"].func,render:p["default"].func.isRequired},k.defaultProps={redirectUri:"undefined"!=typeof window?window.location.href:"/",scope:"public_profile,email",returnScopes:!1,xfbml:!1,cookie:!1,authType:"",fields:"name",version:"2.3",language:"en_US",disableMobileRedirect:!1,isMobile:g(),onFailure:null,state:"facebookdirect",responseType:"code"},t["default"]=k;},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){return "?"+Object.keys(e).map(function(t){return t+"="+encodeURIComponent(e[t])}).join("&")};},function(e,t,o){function n(){}var r=o(7);e.exports=function(){function e(e,t,o,n,i,s){if(s!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var o={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return o.checkPropTypes=n,o.PropTypes=o,o};},function(e,t){var o="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=o;}])});
|
|
12737
12732
|
});
|
|
@@ -13016,7 +13011,7 @@ function SvgFacebookLogo(props) {
|
|
|
13016
13011
|
}
|
|
13017
13012
|
|
|
13018
13013
|
const FacebookLoginButton = ({
|
|
13019
|
-
label = "
|
|
13014
|
+
label = "Facebook",
|
|
13020
13015
|
className = "",
|
|
13021
13016
|
labelClassName = "",
|
|
13022
13017
|
iconClassName = ""
|
|
@@ -13185,7 +13180,7 @@ var gapi=window.gapi=window.gapi||{};gapi._bs=new Date().getTime();(function(){/
|
|
|
13185
13180
|
gapi.load("",{callback:window["gapi_onload"],_c:{"jsl":{"ci":{"deviceType":"desktop","oauth-flow":{"authUrl":"https://accounts.google.com/o/oauth2/auth","proxyUrl":"https://accounts.google.com/o/oauth2/postmessageRelay","disableOpt":true,"idpIframeUrl":"https://accounts.google.com/o/oauth2/iframe","usegapi":false},"debug":{"reportExceptionRate":0.05,"forceIm":false,"rethrowException":false,"host":"https://apis.google.com"},"enableMultilogin":true,"googleapis.config":{"auth":{"useFirstPartyAuthV2":true}},"isPlusUser":false,"inline":{"css":1},"disableRealtimeCallback":false,"drive_share":{"skipInitCommand":true},"csi":{"rate":0.01},"client":{"cors":false},"isLoggedIn":true,"signInDeprecation":{"rate":0.0},"include_granted_scopes":true,"llang":"pt","iframes":{"youtube":{"params":{"location":["search","hash"]},"url":":socialhost:/:session_prefix:_/widget/render/youtube?usegapi\u003d1","methods":["scroll","openwindow"]},"ytsubscribe":{"url":"https://www.youtube.com/subscribe_embed?usegapi\u003d1"},"plus_circle":{"params":{"url":""},"url":":socialhost:/:session_prefix::se:_/widget/plus/circle?usegapi\u003d1"},"plus_share":{"params":{"url":""},"url":":socialhost:/:session_prefix::se:_/+1/sharebutton?plusShare\u003dtrue\u0026usegapi\u003d1"},"rbr_s":{"params":{"url":""},"url":":socialhost:/:session_prefix::se:_/widget/render/recobarsimplescroller"},":source:":"3p","playemm":{"url":"https://play.google.com/work/embedded/search?usegapi\u003d1\u0026usegapi\u003d1"},"savetoandroidpay":{"url":"https://pay.google.com/gp/v/widget/save"},"blogger":{"params":{"location":["search","hash"]},"url":":socialhost:/:session_prefix:_/widget/render/blogger?usegapi\u003d1","methods":["scroll","openwindow"]},"evwidget":{"params":{"url":""},"url":":socialhost:/:session_prefix:_/events/widget?usegapi\u003d1"},"partnersbadge":{"url":"https://www.gstatic.com/partners/badge/templates/badge.html?usegapi\u003d1"},"dataconnector":{"url":"https://dataconnector.corp.google.com/:session_prefix:ui/widgetview?usegapi\u003d1"},"surveyoptin":{"url":"https://www.google.com/shopping/customerreviews/optin?usegapi\u003d1"},":socialhost:":"https://apis.google.com","shortlists":{"url":""},"hangout":{"url":"https://talkgadget.google.com/:session_prefix:talkgadget/_/widget"},"plus_followers":{"params":{"url":""},"url":":socialhost:/_/im/_/widget/render/plus/followers?usegapi\u003d1"},"post":{"params":{"url":""},"url":":socialhost:/:session_prefix::im_prefix:_/widget/render/post?usegapi\u003d1"},":gplus_url:":"https://plus.google.com","signin":{"params":{"url":""},"url":":socialhost:/:session_prefix:_/widget/render/signin?usegapi\u003d1","methods":["onauth"]},"rbr_i":{"params":{"url":""},"url":":socialhost:/:session_prefix::se:_/widget/render/recobarinvitation"},"share":{"url":":socialhost:/:session_prefix::im_prefix:_/widget/render/share?usegapi\u003d1"},"plusone":{"params":{"count":"","size":"","url":""},"url":":socialhost:/:session_prefix::se:_/+1/fastbutton?usegapi\u003d1"},"comments":{"params":{"location":["search","hash"]},"url":":socialhost:/:session_prefix:_/widget/render/comments?usegapi\u003d1","methods":["scroll","openwindow"]},":im_socialhost:":"https://plus.googleapis.com","backdrop":{"url":"https://clients3.google.com/cast/chromecast/home/widget/backdrop?usegapi\u003d1"},"visibility":{"params":{"url":""},"url":":socialhost:/:session_prefix:_/widget/render/visibility?usegapi\u003d1"},"autocomplete":{"params":{"url":""},"url":":socialhost:/:session_prefix:_/widget/render/autocomplete"},"additnow":{"url":"https://apis.google.com/marketplace/button?usegapi\u003d1","methods":["launchurl"]},":signuphost:":"https://plus.google.com","ratingbadge":{"url":"https://www.google.com/shopping/customerreviews/badge?usegapi\u003d1"},"appcirclepicker":{"url":":socialhost:/:session_prefix:_/widget/render/appcirclepicker"},"follow":{"url":":socialhost:/:session_prefix:_/widget/render/follow?usegapi\u003d1"},"community":{"url":":ctx_socialhost:/:session_prefix::im_prefix:_/widget/render/community?usegapi\u003d1"},"sharetoclassroom":{"url":"https://classroom.google.com/sharewidget?usegapi\u003d1"},"ytshare":{"params":{"url":""},"url":":socialhost:/:session_prefix:_/widget/render/ytshare?usegapi\u003d1"},"plus":{"url":":socialhost:/:session_prefix:_/widget/render/badge?usegapi\u003d1"},"family_creation":{"params":{"url":""},"url":"https://families.google.com/webcreation?usegapi\u003d1\u0026usegapi\u003d1"},"commentcount":{"url":":socialhost:/:session_prefix:_/widget/render/commentcount?usegapi\u003d1"},"configurator":{"url":":socialhost:/:session_prefix:_/plusbuttonconfigurator?usegapi\u003d1"},"zoomableimage":{"url":"https://ssl.gstatic.com/microscope/embed/"},"appfinder":{"url":"https://workspace.google.com/:session_prefix:marketplace/appfinder?usegapi\u003d1"},"savetowallet":{"url":"https://pay.google.com/gp/v/widget/save"},"person":{"url":":socialhost:/:session_prefix:_/widget/render/person?usegapi\u003d1"},"savetodrive":{"url":"https://drive.google.com/savetodrivebutton?usegapi\u003d1","methods":["save"]},"page":{"url":":socialhost:/:session_prefix:_/widget/render/page?usegapi\u003d1"},"card":{"url":":socialhost:/:session_prefix:_/hovercard/card"}}},"h":"m;/_/scs/apps-static/_/js/k\u003doz.gapi.pt_BR.l4Bv_WkVC6g.O/am\u003dwQE/d\u003d1/ct\u003dzgms/rs\u003dAGLTcCOuH5S2uqmF6E8zOW7n3yiqiwhzNQ/m\u003d__features__","u":"https://apis.google.com/js/platform.js","hee":true,"fp":"821a251b140e4add32f87f4a7a08f044a59aa0e9","dpo":false},"platform":["additnow","backdrop","blogger","comments","commentcount","community","donation","family_creation","follow","hangout","health","page","partnersbadge","person","playemm","playreview","plus","plusone","post","ratingbadge","savetoandroidpay","savetodrive","savetowallet","sharetoclassroom","shortlists","signin2","surveyoptin","visibility","youtube","ytsubscribe","zoomableimage"],"fp":"821a251b140e4add32f87f4a7a08f044a59aa0e9","annotation":["interactivepost","recobar","signin2","autocomplete","profile"],"bimodal":["signin","share"]}});
|
|
13186
13181
|
|
|
13187
13182
|
const GoogleLoginButton = ({
|
|
13188
|
-
label = "
|
|
13183
|
+
label = "Google",
|
|
13189
13184
|
className = "",
|
|
13190
13185
|
labelClassName = "",
|
|
13191
13186
|
iconClassName = ""
|
|
@@ -13268,7 +13263,7 @@ function SvgAuth0Logo(props) {
|
|
|
13268
13263
|
}
|
|
13269
13264
|
|
|
13270
13265
|
const Auth0LoginButton = ({
|
|
13271
|
-
label = "
|
|
13266
|
+
label = "Auth0",
|
|
13272
13267
|
className = "",
|
|
13273
13268
|
labelClassName = "",
|
|
13274
13269
|
iconClassName = ""
|
|
@@ -13405,7 +13400,8 @@ function LoginView(props) {
|
|
|
13405
13400
|
const {
|
|
13406
13401
|
t
|
|
13407
13402
|
} = useTranslation("login");
|
|
13408
|
-
const
|
|
13403
|
+
const auth0LoginEnabled = (_window$Pelcro$site$r = window.Pelcro.site.read()) === null || _window$Pelcro$site$r === void 0 ? void 0 : _window$Pelcro$site$r.auth0_client_id;
|
|
13404
|
+
const socialLoginEnabled = ((_window$Pelcro$site$r2 = window.Pelcro.site.read()) === null || _window$Pelcro$site$r2 === void 0 ? void 0 : _window$Pelcro$site$r2.facebook_app_id) || ((_window$Pelcro$site$r3 = window.Pelcro.site.read()) === null || _window$Pelcro$site$r3 === void 0 ? void 0 : _window$Pelcro$site$r3.google_app_id) || auth0LoginEnabled;
|
|
13409
13405
|
const passwordlessEnabled = (_window$Pelcro$site$r4 = window.Pelcro.site.read()) === null || _window$Pelcro$site$r4 === void 0 ? void 0 : _window$Pelcro$site$r4.passwordless_enabled;
|
|
13410
13406
|
const enableLoginWithUsername = (_window$Pelcro = window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$uiSett = _window$Pelcro.uiSettings) === null || _window$Pelcro$uiSett === void 0 ? void 0 : _window$Pelcro$uiSett.enableLoginWithUsername;
|
|
13411
13407
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -13415,23 +13411,17 @@ function LoginView(props) {
|
|
|
13415
13411
|
className: "plc-mt-2 pelcro-form"
|
|
13416
13412
|
}, /*#__PURE__*/React__default.createElement(LoginContainer, props, /*#__PURE__*/React__default.createElement(AlertWithContext, null), socialLoginEnabled && /*#__PURE__*/React__default.createElement("div", {
|
|
13417
13413
|
className: "plc-my-5"
|
|
13418
|
-
}, /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement("
|
|
13419
|
-
className: "plc-block sm:plc-flex plc-flex-col sm:plc-flex-row plc-justify-center plc-flex-wrap plc-items-center
|
|
13420
|
-
}, /*#__PURE__*/React__default.createElement(GoogleLoginButton, {
|
|
13421
|
-
className: "plc-
|
|
13422
|
-
}), /*#__PURE__*/React__default.createElement(
|
|
13423
|
-
className: "plc-
|
|
13424
|
-
}), /*#__PURE__*/React__default.createElement(
|
|
13425
|
-
className: "plc-
|
|
13426
|
-
})), /*#__PURE__*/React__default.createElement("
|
|
13427
|
-
className: "plc-block sm:plc-flex plc-flex-col sm:plc-flex-row plc-justify-center plc-flex-wrap plc-items-center plc-mt-4"
|
|
13428
|
-
}, /*#__PURE__*/React__default.createElement(Auth0LoginButton, {
|
|
13429
|
-
className: `plc-block sm:plc-flex plc-w-full sm:plc-w-auto plc-mb-4 sm:plc-mb-0 ${passwordlessEnabled ? "plc-flex-1" : "plc-w-1/2"}`
|
|
13430
|
-
}), passwordlessEnabled && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(VerticalSeparator, {
|
|
13431
|
-
className: "plc-hidden sm:plc-inline-grid plc-mx-2 plc-h-8"
|
|
13432
|
-
}), /*#__PURE__*/React__default.createElement(LoginRequestLoginToken, {
|
|
13414
|
+
}, /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement("ul", {
|
|
13415
|
+
className: `${auth0LoginEnabled && !passwordlessEnabled || !auth0LoginEnabled && passwordlessEnabled ? "threeColumns" : "twoColumns"} loginOptions plc-block sm:plc-flex plc-flex-col sm:plc-flex-row plc-justify-center plc-flex-wrap plc-items-center`
|
|
13416
|
+
}, /*#__PURE__*/React__default.createElement("li", null, /*#__PURE__*/React__default.createElement(GoogleLoginButton, {
|
|
13417
|
+
className: "plc-flex plc-w-full"
|
|
13418
|
+
})), /*#__PURE__*/React__default.createElement("li", null, /*#__PURE__*/React__default.createElement(FacebookLoginButton, {
|
|
13419
|
+
className: "plc-flex plc-w-full"
|
|
13420
|
+
})), auth0LoginEnabled && /*#__PURE__*/React__default.createElement("li", null, /*#__PURE__*/React__default.createElement(Auth0LoginButton, {
|
|
13421
|
+
className: "plc-flex plc-w-full"
|
|
13422
|
+
})), passwordlessEnabled && /*#__PURE__*/React__default.createElement("li", null, /*#__PURE__*/React__default.createElement(LoginRequestLoginToken, {
|
|
13433
13423
|
onClick: props.onPasswordlessRequest,
|
|
13434
|
-
className: "
|
|
13424
|
+
className: "plc-flex plc-w-full"
|
|
13435
13425
|
})))), /*#__PURE__*/React__default.createElement("div", {
|
|
13436
13426
|
className: "plc-flex plc-items-center plc-justify-between plc-mt-5"
|
|
13437
13427
|
}, /*#__PURE__*/React__default.createElement("hr", {
|
|
@@ -13892,7 +13882,8 @@ function RegisterView(props) {
|
|
|
13892
13882
|
t
|
|
13893
13883
|
} = useTranslation("register");
|
|
13894
13884
|
usePelcro();
|
|
13895
|
-
const
|
|
13885
|
+
const auth0LoginEnabled = (_window$Pelcro$site$r = window.Pelcro.site.read()) === null || _window$Pelcro$site$r === void 0 ? void 0 : _window$Pelcro$site$r.auth0_client_id;
|
|
13886
|
+
const socialLoginEnabled = ((_window$Pelcro$site$r2 = window.Pelcro.site.read()) === null || _window$Pelcro$site$r2 === void 0 ? void 0 : _window$Pelcro$site$r2.facebook_app_id) || ((_window$Pelcro$site$r3 = window.Pelcro.site.read()) === null || _window$Pelcro$site$r3 === void 0 ? void 0 : _window$Pelcro$site$r3.google_app_id) || auth0LoginEnabled;
|
|
13896
13887
|
const showNameFields = (_window$Pelcro = window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$uiSett = _window$Pelcro.uiSettings) === null || _window$Pelcro$uiSett === void 0 ? void 0 : _window$Pelcro$uiSett.enableNameFieldsInRegister;
|
|
13897
13888
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
13898
13889
|
id: "pelcro-register-view"
|
|
@@ -13901,19 +13892,15 @@ function RegisterView(props) {
|
|
|
13901
13892
|
className: "plc-mt-2 pelcro-form"
|
|
13902
13893
|
}, /*#__PURE__*/React__default.createElement(RegisterContainer, props, /*#__PURE__*/React__default.createElement(AlertWithContext, null), socialLoginEnabled && /*#__PURE__*/React__default.createElement("div", {
|
|
13903
13894
|
className: "plc-my-5"
|
|
13904
|
-
}, /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement("
|
|
13905
|
-
className: "plc-block sm:plc-flex plc-flex-col sm:plc-flex-row plc-justify-center plc-flex-wrap plc-items-center
|
|
13906
|
-
}, /*#__PURE__*/React__default.createElement(GoogleLoginButton, {
|
|
13907
|
-
className: "plc-
|
|
13908
|
-
}), /*#__PURE__*/React__default.createElement(
|
|
13909
|
-
className: "plc-
|
|
13910
|
-
}), /*#__PURE__*/React__default.createElement(
|
|
13911
|
-
className: "plc-
|
|
13912
|
-
})), /*#__PURE__*/React__default.createElement("div", {
|
|
13913
|
-
className: "plc-block sm:plc-flex plc-flex-col sm:plc-flex-row plc-justify-center plc-flex-wrap plc-items-center plc-mt-4"
|
|
13914
|
-
}, /*#__PURE__*/React__default.createElement(Auth0LoginButton, {
|
|
13915
|
-
className: "plc-block sm:plc-flex plc-w-full sm:plc-w-1/2 plc-mb-4 sm:plc-mb-0"
|
|
13916
|
-
}))), /*#__PURE__*/React__default.createElement("div", {
|
|
13895
|
+
}, /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement("ul", {
|
|
13896
|
+
className: `${auth0LoginEnabled ? "threeColumns" : "twoColumns"} loginOptions plc-block sm:plc-flex plc-flex-col sm:plc-flex-row plc-justify-center plc-flex-wrap plc-items-center`
|
|
13897
|
+
}, /*#__PURE__*/React__default.createElement("li", null, /*#__PURE__*/React__default.createElement(GoogleLoginButton, {
|
|
13898
|
+
className: "plc-flex plc-w-full"
|
|
13899
|
+
})), /*#__PURE__*/React__default.createElement("li", null, /*#__PURE__*/React__default.createElement(FacebookLoginButton, {
|
|
13900
|
+
className: "plc-flex plc-w-full"
|
|
13901
|
+
})), auth0LoginEnabled && /*#__PURE__*/React__default.createElement("li", null, /*#__PURE__*/React__default.createElement(Auth0LoginButton, {
|
|
13902
|
+
className: "plc-flex plc-w-full"
|
|
13903
|
+
})))), /*#__PURE__*/React__default.createElement("div", {
|
|
13917
13904
|
className: "plc-flex plc-items-center plc-justify-between plc-mt-5"
|
|
13918
13905
|
}, /*#__PURE__*/React__default.createElement("hr", {
|
|
13919
13906
|
className: "plc-w-full plc-border-gray-300"
|
|
@@ -18838,26 +18825,26 @@ const NextArrow = ({
|
|
|
18838
18825
|
onClick,
|
|
18839
18826
|
className
|
|
18840
18827
|
}) => /*#__PURE__*/React__default.createElement("button", {
|
|
18841
|
-
className: `sm:plc-flex plc-hidden plc-text-
|
|
18828
|
+
className: `sm:plc-flex plc-hidden plc-text-gray-500 plc-w-11 plc-h-11 plc-items-center plc-justify-center plc-rounded-full plc-text-sm plc-absolute plc-top-1/2 plc--right-12 plc-transform plc--translate-y-1/2 hover:plc-text-gray-900 ${className}`,
|
|
18842
18829
|
onClick: onClick
|
|
18843
18830
|
}, /*#__PURE__*/React__default.createElement(SvgArrowThinRight, {
|
|
18844
18831
|
stroke: "currentColor",
|
|
18845
18832
|
"aria-hidden": "true",
|
|
18846
18833
|
focusable: "false",
|
|
18847
|
-
className: "plc-h-
|
|
18834
|
+
className: "plc-h-7 plc-w-7"
|
|
18848
18835
|
}));
|
|
18849
18836
|
|
|
18850
18837
|
const PrevArrow = ({
|
|
18851
18838
|
onClick,
|
|
18852
18839
|
className
|
|
18853
18840
|
}) => /*#__PURE__*/React__default.createElement("button", {
|
|
18854
|
-
className: `sm:plc-flex plc-hidden plc-text-
|
|
18841
|
+
className: `sm:plc-flex plc-hidden plc-text-gray-500 plc-w-11 plc-h-11 plc-items-center plc-justify-center plc-rounded-full plc-text-sm plc-absolute plc-top-1/2 plc--left-12 plc-transform plc--translate-y-1/2 hover:plc-text-gray-900 ${className}`,
|
|
18855
18842
|
onClick: onClick
|
|
18856
18843
|
}, /*#__PURE__*/React__default.createElement(SvgArrowThinLeft, {
|
|
18857
18844
|
stroke: "currentColor",
|
|
18858
18845
|
"aria-hidden": "true",
|
|
18859
18846
|
focusable: "false",
|
|
18860
|
-
className: "plc-h-
|
|
18847
|
+
className: "plc-h-7 plc-w-7"
|
|
18861
18848
|
}));
|
|
18862
18849
|
|
|
18863
18850
|
function Carousel({
|
|
@@ -18878,7 +18865,7 @@ function Carousel({
|
|
|
18878
18865
|
prevArrow: /*#__PURE__*/React__default.createElement(PrevArrow, null),
|
|
18879
18866
|
initialSlide: 0,
|
|
18880
18867
|
customPaging: i => /*#__PURE__*/React__default.createElement("span", {
|
|
18881
|
-
className: "plc-w-3 plc-h-3 plc-rounded-full plc-transition-all plc-bg-
|
|
18868
|
+
className: "plc-w-3 plc-h-3 plc-rounded-full plc-transition-all plc-bg-gray-400 plc-inline-flex plc-cursor-pointer hover:plc-opacity-30"
|
|
18882
18869
|
}),
|
|
18883
18870
|
responsive: [{
|
|
18884
18871
|
breakpoint: 1280,
|
|
@@ -18893,7 +18880,7 @@ function Carousel({
|
|
|
18893
18880
|
}]
|
|
18894
18881
|
};
|
|
18895
18882
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
18896
|
-
className: "carousel-wrapper plc-relative sm:plc-px-
|
|
18883
|
+
className: "carousel-wrapper plc-relative sm:plc-px-8 plc-px-0"
|
|
18897
18884
|
}, /*#__PURE__*/React__default.createElement(Slider, Object.assign({
|
|
18898
18885
|
ref: ref
|
|
18899
18886
|
}, settings), children));
|
|
@@ -19124,9 +19111,9 @@ class SelectModal extends Component {
|
|
|
19124
19111
|
description
|
|
19125
19112
|
} = this.state.product;
|
|
19126
19113
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
19127
|
-
className: "productTabs"
|
|
19114
|
+
className: "productTabs plc-flex plc-flex-col plc-items-center"
|
|
19128
19115
|
}, /*#__PURE__*/React__default.createElement("ul", {
|
|
19129
|
-
className: "tabs plc-flex plc-items-center plc-text-center plc-border-b plc-border-gray-300 plc-mb-4 plc-overflow-x-auto"
|
|
19116
|
+
className: "tabs plc-w-full plc-flex plc-items-center plc-text-center plc-border-b plc-border-gray-300 plc-mb-4 plc-overflow-x-auto"
|
|
19130
19117
|
}, this.state.productList.map((product, index) => {
|
|
19131
19118
|
var _this$state$product;
|
|
19132
19119
|
|
|
@@ -19140,7 +19127,7 @@ class SelectModal extends Component {
|
|
|
19140
19127
|
className: "plc-px-4 plc-py-2 plc-rounded plc-text-gray-600 focus:plc-outline-none plc-whitespace-nowrap"
|
|
19141
19128
|
}, product.name));
|
|
19142
19129
|
})), /*#__PURE__*/React__default.createElement("div", {
|
|
19143
|
-
className: "selectedProduct plc-flex plc-flex-col plc-items-center plc-justify-center"
|
|
19130
|
+
className: "selectedProduct plc-flex plc-flex-col plc-items-center plc-justify-center plc-max-w-3xl"
|
|
19144
19131
|
}, image && /*#__PURE__*/React__default.createElement("figure", {
|
|
19145
19132
|
className: "plc-mb-2"
|
|
19146
19133
|
}, /*#__PURE__*/React__default.createElement("img", {
|
|
@@ -19191,7 +19178,7 @@ class SelectModal extends Component {
|
|
|
19191
19178
|
const isChecked = this.state.plan.id === plan.id ? true : false;
|
|
19192
19179
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
19193
19180
|
key: plan.id,
|
|
19194
|
-
className: `${((_this$state = this.state) === null || _this$state === void 0 ? void 0 : _this$state.plan.id) === plan.id ? "plc-border-2 plc-border-primary
|
|
19181
|
+
className: `${((_this$state = this.state) === null || _this$state === void 0 ? void 0 : _this$state.plan.id) === plan.id ? "plc-border-2 plc-border-primary" : "plc-border plc-border-gray-300"} plc-h-full plc-flex plc-flex-col plc-items-start plc-text-gray-900 plc-border-solid plc-rounded-md plc-bg-white pelcro-select-plan-wrapper`
|
|
19195
19182
|
}, /*#__PURE__*/React__default.createElement(Radio, {
|
|
19196
19183
|
wrapperClassName: "plc-w-full plc-flex plc-h-full",
|
|
19197
19184
|
className: "plc-hidden pelcro-select-plan-radio",
|
|
@@ -19202,13 +19189,13 @@ class SelectModal extends Component {
|
|
|
19202
19189
|
"data-key": plan.id,
|
|
19203
19190
|
onChange: this.selectPlan
|
|
19204
19191
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
19205
|
-
className: "plc-p-4 plc-text-center plc-flex plc-flex-col plc-justify-center plc-items-center plc-w-full
|
|
19192
|
+
className: "plc-p-4 plc-text-center plc-flex plc-flex-col plc-justify-center plc-items-center plc-w-full"
|
|
19206
19193
|
}, /*#__PURE__*/React__default.createElement("h4", {
|
|
19207
19194
|
className: "pelcro-select-plan-title plc-font-medium plc-text-xl plc-break-all"
|
|
19208
19195
|
}, plan.nickname), /*#__PURE__*/React__default.createElement("p", {
|
|
19209
19196
|
className: "plc-text-sm plc-mt-1 pelcro-select-plan-description plc-text-gray-400"
|
|
19210
19197
|
}, plan.description)), /*#__PURE__*/React__default.createElement("div", {
|
|
19211
|
-
className: "plc-mt-auto plc-px-4 plc-mb-4"
|
|
19198
|
+
className: "plc-mt-auto plc-px-4 plc-mb-4 plc-border-t plc-border-gray-300"
|
|
19212
19199
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
19213
19200
|
className: "plc-pt-4 plc-mb-4 plc-font-semibold pelcro-select-plan-price plc-px-4 plc-text-center plc-flex plc-items-end plc-justify-center"
|
|
19214
19201
|
}, /*#__PURE__*/React__default.createElement("p", {
|
|
@@ -19220,7 +19207,7 @@ class SelectModal extends Component {
|
|
|
19220
19207
|
}, plan.currency), /*#__PURE__*/React__default.createElement("span", {
|
|
19221
19208
|
className: "plc-capitalize"
|
|
19222
19209
|
}, "/ ", plan.interval))), /*#__PURE__*/React__default.createElement("div", {
|
|
19223
|
-
className: `${((_this$state2 = this.state) === null || _this$state2 === void 0 ? void 0 : _this$state2.plan.id) === plan.id ? "plc-bg-primary
|
|
19210
|
+
className: `${((_this$state2 = this.state) === null || _this$state2 === void 0 ? void 0 : _this$state2.plan.id) === plan.id ? "plc-bg-primary plc-text-white" : "plc-text-primary-800"} plc-flex plc-items-center plc-justify-center plc-text-center plc-py-2 plc-px-4 plc-w-full plc-border-2 plc-rounded-md plc-border-primary`
|
|
19224
19211
|
}, this.locale("buttons.select")))));
|
|
19225
19212
|
});
|
|
19226
19213
|
return /*#__PURE__*/React__default.createElement(Carousel, {
|
|
@@ -19375,7 +19362,7 @@ class SelectModal extends Component {
|
|
|
19375
19362
|
}, this.state.mode === "plan" && /*#__PURE__*/React__default.createElement("button", {
|
|
19376
19363
|
type: "button",
|
|
19377
19364
|
onClick: this.goBack,
|
|
19378
|
-
className: "plc-absolute plc-w-6 plc-text-gray-500 focus:plc-text-black plc-z-max plc-top-1/2 plc-left-5 plc-transform plc--translate-y-1/2 plc-border-0 hover:plc-text-black hover:plc-shadow-none plc-bg-transparent hover:plc-bg-transparent focus:plc-bg-transparent"
|
|
19365
|
+
className: "plc-absolute plc-w-6 plc-text-gray-500 focus:plc-text-black plc-z-max plc-top-1/2 plc-left-2 sm:plc-left-5 plc-transform plc--translate-y-1/2 plc-border-0 hover:plc-text-black hover:plc-shadow-none plc-bg-transparent hover:plc-bg-transparent focus:plc-bg-transparent"
|
|
19379
19366
|
}, /*#__PURE__*/React__default.createElement(SvgArrowLeft, null)), /*#__PURE__*/React__default.createElement("h4", {
|
|
19380
19367
|
className: "plc-text-2xl plc-font-semibold"
|
|
19381
19368
|
}, this.product && this.product.paywall.select_title || ((_window$Pelcro$produc2 = window.Pelcro.product.list()[0]) === null || _window$Pelcro$produc2 === void 0 ? void 0 : _window$Pelcro$produc2.paywall.select_title)), /*#__PURE__*/React__default.createElement("p", null, this.product && this.product.paywall.select_subtitle || ((_window$Pelcro$produc3 = window.Pelcro.product.list()[0]) === null || _window$Pelcro$produc3 === void 0 ? void 0 : _window$Pelcro$produc3.paywall.select_subtitle)))), /*#__PURE__*/React__default.createElement(ModalBody, null, /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -19394,7 +19381,7 @@ class SelectModal extends Component {
|
|
|
19394
19381
|
disabled: this.state.disabled,
|
|
19395
19382
|
onClick: this.submitOption,
|
|
19396
19383
|
id: "pelcro-submit",
|
|
19397
|
-
className: "plc-w-full plc-
|
|
19384
|
+
className: "plc-mt-2 plc-w-full plc-max-w-sm plc-ml-auto plc-mr-auto plc-block"
|
|
19398
19385
|
}, this.locale("buttons.next"))))), /*#__PURE__*/React__default.createElement(ModalFooter, null, !window.Pelcro.user.isAuthenticated() && /*#__PURE__*/React__default.createElement("p", {
|
|
19399
19386
|
className: "plc-mb-9"
|
|
19400
19387
|
}, /*#__PURE__*/React__default.createElement("span", {
|
|
@@ -30173,7 +30160,7 @@ const GiftCreateModal = ({
|
|
|
30173
30160
|
}, t("gift.titles.firstTitle")))), /*#__PURE__*/React__default.createElement(ModalBody, null, /*#__PURE__*/React__default.createElement(GiftCreateView, Object.assign({}, otherProps, {
|
|
30174
30161
|
onSuccess: onSuccess
|
|
30175
30162
|
}))), /*#__PURE__*/React__default.createElement(ModalFooter, null, /*#__PURE__*/React__default.createElement("p", {
|
|
30176
|
-
className: "plc-mb-
|
|
30163
|
+
className: "plc-mb-4"
|
|
30177
30164
|
}, /*#__PURE__*/React__default.createElement("span", {
|
|
30178
30165
|
className: "plc-font-medium"
|
|
30179
30166
|
}, t("messages.selectPlan") + " "), /*#__PURE__*/React__default.createElement(Link, {
|
|
@@ -35131,7 +35118,7 @@ const ProfileMenu = props => {
|
|
|
35131
35118
|
return /*#__PURE__*/React__default.createElement(Card, {
|
|
35132
35119
|
id: "pelcro-dashboard-profile-menu",
|
|
35133
35120
|
className: "plc-max-w-100% md:plc-max-w-80% plc-m-auto",
|
|
35134
|
-
title: t("labels.
|
|
35121
|
+
title: t("labels.profile")
|
|
35135
35122
|
}, /*#__PURE__*/React__default.createElement(UserUpdateView, {
|
|
35136
35123
|
onPictureClick: onPictureClick
|
|
35137
35124
|
}));
|
|
@@ -35746,12 +35733,12 @@ class Dashboard extends Component {
|
|
|
35746
35733
|
className: "plc-pl-4 plc-mb-2 sm:plc-pl-8"
|
|
35747
35734
|
}, /*#__PURE__*/React__default.createElement("p", {
|
|
35748
35735
|
className: "plc-font-bold plc-tracking-widest plc-text-gray-500"
|
|
35749
|
-
}, this.locale("labels.
|
|
35736
|
+
}, this.locale("labels.mySettings"))), /*#__PURE__*/React__default.createElement(DashboardLink, {
|
|
35750
35737
|
name: SUB_MENUS.PROFILE,
|
|
35751
35738
|
icon: /*#__PURE__*/React__default.createElement(SvgUser, {
|
|
35752
35739
|
className: "plc-w-6 plc-h-6 plc-mr-2"
|
|
35753
35740
|
}),
|
|
35754
|
-
title: this.locale("labels.
|
|
35741
|
+
title: this.locale("labels.profile"),
|
|
35755
35742
|
setActiveDashboardLink: this.setActiveDashboardLink,
|
|
35756
35743
|
activeDashboardLink: this.state.activeDashboardLink
|
|
35757
35744
|
}), /*#__PURE__*/React__default.createElement(DashboardLink, {
|
|
@@ -35759,7 +35746,7 @@ class Dashboard extends Component {
|
|
|
35759
35746
|
icon: /*#__PURE__*/React__default.createElement(SvgQrcode, {
|
|
35760
35747
|
className: "plc-w-6 plc-h-6 plc-mr-2"
|
|
35761
35748
|
}),
|
|
35762
|
-
title: "
|
|
35749
|
+
title: this.locale("labels.myQRCode"),
|
|
35763
35750
|
setActiveDashboardLink: this.setActiveDashboardLink,
|
|
35764
35751
|
activeDashboardLink: this.state.activeDashboardLink
|
|
35765
35752
|
}), /*#__PURE__*/React__default.createElement(DashboardLink, {
|
|
@@ -35767,7 +35754,7 @@ class Dashboard extends Component {
|
|
|
35767
35754
|
icon: /*#__PURE__*/React__default.createElement(SvgKey, {
|
|
35768
35755
|
className: "plc-w-6 plc-h-6 plc-mr-2"
|
|
35769
35756
|
}),
|
|
35770
|
-
title: "
|
|
35757
|
+
title: this.locale("labels.changePassword"),
|
|
35771
35758
|
setActiveDashboardLink: this.setActiveDashboardLink,
|
|
35772
35759
|
activeDashboardLink: this.state.activeDashboardLink
|
|
35773
35760
|
}), /*#__PURE__*/React__default.createElement(DashboardLink, {
|