@everymatrix/general-player-sms-verification-form 0.0.367 → 0.0.368

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,30 +1,30 @@
1
- # @everymatrix/general-player-sms-verification-form
2
- ---------
3
-
4
- ## First step
5
- ---------
6
- ```
7
- lerna bootstrap
8
- ```
9
-
10
- ## Run Widget
11
- ---------
12
- - starts server at port 5050
13
- - has livereload
14
-
15
- ```
16
- yarn run dev
17
- ```
18
-
19
- ## Build Widget
20
- ---------
21
- ```
22
- yarn run build
23
- ```
24
-
25
- ## Publishing widget
26
- ---------
27
- - Note add your user to the npm
28
- ```
29
- lerna publish
30
- ```
1
+ # @everymatrix/general-player-sms-verification-form
2
+ ---------
3
+
4
+ ## First step
5
+ ---------
6
+ ```
7
+ lerna bootstrap
8
+ ```
9
+
10
+ ## Run Widget
11
+ ---------
12
+ - starts server at port 5050
13
+ - has livereload
14
+
15
+ ```
16
+ yarn run dev
17
+ ```
18
+
19
+ ## Build Widget
20
+ ---------
21
+ ```
22
+ yarn run build
23
+ ```
24
+
25
+ ## Publishing widget
26
+ ---------
27
+ - Note add your user to the npm
28
+ ```
29
+ lerna publish
30
+ ```
@@ -568,7 +568,7 @@ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
568
568
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
569
569
  PERFORMANCE OF THIS SOFTWARE.
570
570
  ***************************************************************************** */function Mt(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}const Ut={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Gt(){return Ut}const Dt=G(!1);let Ft;const kt=G(null);function $t(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function Vt(e,t=Gt().fallbackLocale){const r=$t(e);return t?[...new Set([...r,...$t(t)])]:r}function xt(){return null!=Ft?Ft:void 0}kt.subscribe((e=>{Ft=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const jt=Object.assign(Object.assign({},kt),{set:e=>{if(e&&function(e){if(null==e)return;const t=Vt(e);for(let e=0;e<t.length;e++){const r=t[e];if(Pt(r))return r}}(e)&&Nt(e)){const{loadingDelay:t}=Gt();let r;return"undefined"!=typeof window&&null!=xt()&&t?r=window.setTimeout((()=>Dt.set(!0)),t):Dt.set(!0),Rt(e).then((()=>{kt.set(e)})).finally((()=>{clearTimeout(r),Dt.set(!1)}))}return kt.set(e)}}),Xt=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}},Kt=(e,t)=>{const{formats:r}=Gt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},zt=Xt((e=>{var{locale:t,format:r}=e,n=Mt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Kt("number",r)),new Intl.NumberFormat(t,n)})),Yt=Xt((e=>{var{locale:t,format:r}=e,n=Mt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Kt("date",r):0===Object.keys(n).length&&(n=Kt("date","short")),new Intl.DateTimeFormat(t,n)})),Zt=Xt((e=>{var{locale:t,format:r}=e,n=Mt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Kt("time",r):0===Object.keys(n).length&&(n=Kt("time","short")),new Intl.DateTimeFormat(t,n)})),Wt=Xt(((e,t=xt())=>new Tt(e,t,Gt().formats,{ignoreTag:Gt().ignoreTag}))),qt=(e,t={})=>{var r,n,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:c=xt(),default:h}=s;if(null==c)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=At(e,c);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!==(o=null!==(i=null===(n=(r=Gt()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:c,id:e,defaultValue:h}))&&void 0!==i?i:h)&&void 0!==o?o:e;if(!a)return l;let u=l;try{u=Wt(l,c).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u},Jt=(e,t)=>((e={})=>{var{locale:t=xt()}=e,r=Mt(e,["locale"]);return Zt(Object.assign({locale:t},r))})(t).format(e),Qt=(e,t)=>((e={})=>{var{locale:t=xt()}=e,r=Mt(e,["locale"]);return Yt(Object.assign({locale:t},r))})(t).format(e),er=(e,t)=>((e={})=>{var{locale:t=xt()}=e,r=Mt(e,["locale"]);return zt(Object.assign({locale:t},r))})(t).format(e),tr=(e,t=xt())=>At(e,t),rr=D([jt,St],(()=>qt));D([jt],(()=>Jt)),D([jt],(()=>Qt)),D([jt],(()=>er)),D([jt,St],(()=>tr));const nr={en:{smsVerification:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"A new verification code has been sent to your phone number.",activate:"Activate Account",resend:"Resend"}},zh:{smsVerification:{title:"请输入您在号码上收到的验证码",errorTitle:"您的代码无效,您可以重新发送代码并重试",code:"短信代码",smsCodeError:"短信验证码无效,请重新发送验证码",resendMessage:"新的验证码已发送到您的电话号码。",activate:"激活账户",resend:"重发"}},fr:{smsVerification:{title:"Veuillez entrer le code de vérification que vous avez reçu sur votre numéro",errorTitle:"Votre code n'était pas valide, vous pouvez renvoyer le code et réessayer",code:"Code SMS",smsCodeError:"Code sms invalide, vous pouvez renvoyer le code",resendMessage:"Un nouveau code de vérification a été envoyé à votre numéro de téléphone.",activate:"Activer le compte",resend:"Renvoyer"}},tr:{smsVerification:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"A new verification code has been sent to your phone number.",activate:"Activate Account",resend:"Resend"}},ro:{smsVerification:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"A new verification code has been sent to your phone number.",activate:"Activate Account",resend:"Resend"}},es:{smsVerification:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"A new verification code has been sent to your phone number.",activate:"Activate Account",resend:"Resend"}},pt:{smsVerification:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"A new verification code has been sent to your phone number.",activate:"Activate Account",resend:"Resend"}}};
571
- /* src\GeneralPlayerSmsVerificationForm.svelte generated by Svelte v3.48.0 */function ir(e){let t,r=/*$_*/e[4]("smsVerification.errorTitle")+"";return{c(){t=u(r)},m(e,r){c(e,t,r)},p(e,n){/*$_*/16&n&&r!==(r=/*$_*/e[4]("smsVerification.errorTitle")+"")&&g(t,r)},d(e){e&&h(t)}}}
571
+ /* src/GeneralPlayerSmsVerificationForm.svelte generated by Svelte v3.48.0 */function ir(e){let t,r=/*$_*/e[4]("smsVerification.errorTitle")+"";return{c(){t=u(r)},m(e,r){c(e,t,r)},p(e,n){/*$_*/16&n&&r!==(r=/*$_*/e[4]("smsVerification.errorTitle")+"")&&g(t,r)},d(e){e&&h(t)}}}
572
572
  // (98:4) {#if isSmsValid}
573
573
  function or(e){let t,r=/*$_*/e[4]("smsVerification.title")+"";return{c(){t=u(r)},m(e,r){c(e,t,r)},p(e,n){/*$_*/16&n&&r!==(r=/*$_*/e[4]("smsVerification.title")+"")&&g(t,r)},d(e){e&&h(t)}}}
574
574
  // (111:4) {#if !isSmsValid}