@sync-in/server 1.3.8 → 1.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/migrations/0001_square_mauler.sql +4 -0
- package/migrations/meta/0001_snapshot.json +2417 -0
- package/migrations/meta/_journal.json +7 -0
- package/package.json +19 -1
- package/server/app.service.spec.js +4 -4
- package/server/app.service.spec.js.map +1 -1
- package/server/applications/sync/schemas/sync-clients.schema.js +4 -4
- package/server/applications/sync/schemas/sync-clients.schema.js.map +1 -1
- package/server/applications/users/schemas/users.schema.js +4 -4
- package/server/applications/users/schemas/users.schema.js.map +1 -1
- package/server/configuration/config.constants.js +0 -4
- package/server/configuration/config.constants.js.map +1 -1
- package/server/configuration/config.loader.js +2 -2
- package/server/configuration/config.loader.js.map +1 -1
- package/server/infrastructure/database/configuration.js +1 -1
- package/server/infrastructure/database/configuration.js.map +1 -1
- package/server/infrastructure/database/constants.js +19 -5
- package/server/infrastructure/database/constants.js.map +1 -1
- package/static/{chunk-LATG3ZVP.js → chunk-3FX6ISDY.js} +1 -1
- package/static/chunk-3S4WNZ2T.js +7 -0
- package/static/chunk-4KESSWTF.js +1 -0
- package/static/{chunk-3PB73RWL.js → chunk-4TEHM3AS.js} +1 -1
- package/static/chunk-AY2GOSJ2.js +24 -0
- package/static/chunk-BW5PQAKK.js +4 -0
- package/static/{chunk-UEN7RH33.js → chunk-CLSVDV7J.js} +1 -1
- package/static/chunk-FJFNDK67.js +1 -0
- package/static/{chunk-VO5W2VKC.js → chunk-HUWQHCUX.js} +1 -1
- package/static/{chunk-EVYNK2XG.js → chunk-KFM544CA.js} +1 -1
- package/static/{chunk-6A5R4OPV.js → chunk-LB7B5RIV.js} +1 -1
- package/static/{chunk-JM5PB2NQ.js → chunk-LYTD6AJE.js} +1 -1
- package/static/{chunk-Z6S7RFGN.js → chunk-MK7WZG3F.js} +1 -1
- package/static/{chunk-3UFSZ24R.js → chunk-MTRNPGS4.js} +1 -1
- package/static/{chunk-XN4TXQKE.js → chunk-MWFRZBJD.js} +1 -1
- package/static/{chunk-BEC2WQVF.js → chunk-N3T57OCA.js} +1 -1
- package/static/{chunk-L4F2K2VQ.js → chunk-NV2MEIWP.js} +1 -1
- package/static/{chunk-FNO4KAYG.js → chunk-O4AQBQBF.js} +1 -1
- package/static/{chunk-6E5YHOWA.js → chunk-O67RFAWU.js} +1 -1
- package/static/{chunk-YTROXGRM.js → chunk-PYSFXLMV.js} +1 -1
- package/static/{chunk-BEJ62KA7.js → chunk-QTW62OKJ.js} +1 -1
- package/static/chunk-RSNLYAN6.js +560 -0
- package/static/{chunk-BLRDUWOI.js → chunk-S5WXHO6D.js} +1 -1
- package/static/{chunk-VCXIQZT4.js → chunk-SH5EVL4E.js} +4 -4
- package/static/{chunk-F2KKCIDO.js → chunk-SKDQM65G.js} +1 -1
- package/static/{chunk-WSVE6EWB.js → chunk-SRLMFJ7C.js} +1 -1
- package/static/{chunk-OWYD7F64.js → chunk-TTQ37MUV.js} +1 -1
- package/static/chunk-WL65GYD5.js +4 -0
- package/static/{chunk-I6ACCGIM.js → chunk-WLPYIJFI.js} +1 -1
- package/static/chunk-XE5YHU5J.js +1 -0
- package/static/{chunk-VSBD6246.js → chunk-XUZSYWRF.js} +1 -1
- package/static/{chunk-4YWOE6HM.js → chunk-Z5X7LVMZ.js} +1 -1
- package/static/{chunk-MWPC5XQW.js → chunk-ZFKCGL6X.js} +1 -1
- package/static/chunk-ZTXJC5IC.js +1 -0
- package/static/index.html +1 -1
- package/static/main-RREKR34B.js +10 -0
- package/static/{polyfills-GNKGQMRJ.js → polyfills-IA5XWQYN.js} +1 -1
- package/static/{scripts-263WP5VB.js → scripts-VZVAP2P4.js} +4 -4
- package/sync-in-server.js +1 -1
- package/static/chunk-CIGVDQPA.js +0 -1
- package/static/chunk-CY3GGCEX.js +0 -7
- package/static/chunk-DJRILQTU.js +0 -1
- package/static/chunk-EDLO4Y5E.js +0 -4
- package/static/chunk-ENDRPUCI.js +0 -4
- package/static/chunk-HXRRMHEX.js +0 -1
- package/static/chunk-IJDFKCZM.js +0 -24
- package/static/chunk-J6YSVODR.js +0 -1
- package/static/chunk-JQOMI5VI.js +0 -560
- package/static/main-7LVJ2JSP.js +0 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Na as ee,Ra as te}from"./chunk-
|
|
1
|
+
import{Na as ee,Ra as te}from"./chunk-WL65GYD5.js";import{Cb as f,Eb as P,Ed as J,Fd as K,Ib as D,Jb as I,Kb as F,Lb as M,Lf as Y,Ma as s,Mb as d,Nb as R,Pb as q,Tb as O,Ub as B,Vb as N,Xa as g,Zc as x,ad as Q,ag as $,bb as L,be as X,dc as A,ed as W,fc as G,ha as E,jb as C,jd as j,kb as y,ma as c,na as u,pb as w,qb as l,rb as m,sb as b,tb as T,td as z,ub as S,va as k,vb as V,wd as H,xd as U,yd as Z,zb as v}from"./chunk-RSNLYAN6.js";var ae=["Password"];function le(n,i){n&1&&(l(0,"label",1),q(1,"Password"),m())}function de(n,i){if(n&1){let _=v();l(0,"div",5),f("click",function(){c(_);let e=P();return u(e.randomPassword())}),l(1,"span"),b(2,"fa-icon",6),m()()}if(n&2){let _=P();s(2),w("icon",_.icons.faDice)}}var ve=(()=>{let i=class i{constructor(){this.passwordChange=new L,this.passwordMinLength=8,this.showGenerator=!1,this.showLabel=!1,this.disabled=!1,this.isRequired=!1,this.focus=!1,this.locale=E(Z),this.toggleVisiblePassword=te,this.icons={faEye:X,faEyeSlash:Y,faDice:$}}ngOnInit(){this.focus&&setTimeout(()=>{this.passwordElement.nativeElement.focus(),this.passwordElement.nativeElement.select()},0)}randomPassword(){this.disabled||this.passwordChange.emit(ee(this.passwordMinLength+2))}};i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=g({type:i,selectors:[["app-input-password"]],viewQuery:function(e,t){if(e&1&&D(ae,7),e&2){let r;I(r=F())&&(t.passwordElement=r.first)}},inputs:{password:"password",passwordMinLength:"passwordMinLength",placeholder:"placeholder",showGenerator:"showGenerator",showLabel:"showLabel",disabled:"disabled",isRequired:"isRequired",focus:"focus"},outputs:{passwordChange:"passwordChange"},decls:9,vars:12,consts:[["Password",""],["for","password","l10nTranslate",""],["id","password",1,"input-group","input-group-sm",2,"min-width","150px"],["autocomplete","off","type","password",1,"form-control","form-control-sm",3,"ngModelChange","keyup","ngModel","disabled","placeholder","required"],[1,"input-group-text","cursor-pointer"],[1,"input-group-text","cursor-pointer",3,"click"],[3,"icon"]],template:function(e,t){if(e&1){let r=v();C(0,le,2,0,"label",1),l(1,"div",2)(2,"input",3,0),A(4,"translate"),N("ngModelChange",function(a){return c(r),B(t.password,a)||(t.password=a),u(a)}),f("keyup",function(){return c(r),u(t.passwordChange.emit(t.password))}),m(),C(5,de,3,1,"div",4),l(6,"div",5),f("click",function(){c(r);let a=M(3);return u(t.toggleVisiblePassword(a))}),l(7,"span"),b(8,"fa-icon",6),m()()()}if(e&2){let r=M(3);y(t.showLabel?0:-1),s(2),R("is-invalid",t.isRequired&&(t.password==null?null:t.password.length)<t.passwordMinLength),O("ngModel",t.password),w("disabled",t.disabled)("placeholder",G(4,9,t.placeholder,t.locale.language))("required",t.isRequired),s(3),y(t.showGenerator?5:-1),s(3),w("icon",r.type==="text"?t.icons.faEye:t.icons.faEyeSlash)}},dependencies:[H,Q,W,z,j,U,x,K,J],encapsulation:2});let n=i;return n})();var Me=(()=>{let i=class i{constructor(){this.passwordToCheck="",this.bar0="",this.bar1="",this.bar2="",this.bar3="",this.bar4="",this.colors=["#F00","#F90","#FF0","#7ACC00","#06854B"]}static measureStrength(o){let e=0,t=/[$-/:-?{-~!"^_`[\]]/g,r=/[a-z]+/.test(o),h=/[A-Z]+/.test(o),a=/[0-9]+/.test(o),oe=t.test(o),ie=[r,h,a,oe],p=0;for(let ne of ie)p+=ne===!0?1:0;return e+=2*o.length+(o.length>=10?1:0),e+=p*10,e=o.length<=6?Math.min(e,10):e,e=p===1?Math.min(e,10):e,e=p===2?Math.min(e,20):e,e=p===3?Math.min(e,40):e,e}ngOnChanges(o){let e=o.passwordToCheck.currentValue;if(this.setBarColors(5,"#DDD"),e){let t=this.getColor(i.measureStrength(e));this.setBarColors(t.idx,t.col)}}getColor(o){let e=Math.min(Math.floor((o-1)/10),4);return{idx:e+1,col:this.colors[e]}}setBarColors(o,e){for(let t=0;t<o;t++)this[`bar${t}`]=e}};i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=g({type:i,selectors:[["app-password-strength-bar"]],inputs:{passwordToCheck:"passwordToCheck"},features:[k],decls:8,vars:10,consts:[["strength",""],["id","strength"],["id","strengthBar"],[1,"point"]],template:function(e,t){e&1&&(T(0,"div",1,0)(2,"ul",2),V(3,"li",3)(4,"li",3)(5,"li",3)(6,"li",3)(7,"li",3),S()()),e&2&&(s(3),d("background-color",t.bar0),s(),d("background-color",t.bar1),s(),d("background-color",t.bar2),s(),d("background-color",t.bar3),s(),d("background-color",t.bar4))},styles:["ul#strengthBar[_ngcontent-%COMP%]{display:flex;list-style:none;padding:0;align-self:center;margin-bottom:-2px}.point[_ngcontent-%COMP%]:last-child{margin:0!important}.point[_ngcontent-%COMP%]{background:#ddd;border-radius:2px;height:6px;margin-right:1px;width:20px}"],changeDetection:0});let n=i;return n})();export{ve as a,Me as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{k as b}from"./chunk-ZZ3LHYOY.js";import{b as u,e as h}from"./chunk-
|
|
1
|
+
import{k as b}from"./chunk-ZZ3LHYOY.js";import{b as u,e as h}from"./chunk-XE5YHU5J.js";import{Fd as x,Ga as d,Ma as o,Ne as R,Pb as s,Qb as v,Xa as f,Zc as g,eg as E,ha as p,pb as c,qb as t,rb as i,sb as r}from"./chunk-RSNLYAN6.js";import"./chunk-RTRJ3KFH.js";var A=(()=>{let e=class e{constructor(){this.logoUrl=b,this.icons={faExclamationCircle:R},this.activatedRoute=p(u),this.activatedRoute.params.subscribe(l=>this.error=E[l.error])}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=f({type:e,selectors:[["app-public-link-error"]],decls:14,vars:3,consts:[[1,"link-page"],[1,"header"],["routerLink",""],["alt","","height","40",3,"src"],["size","4x",1,"text-white",3,"icon"],["l10nTranslate","",1,"error-code","mt-2",2,"font-size","24px"],[1,"error-text"],[1,"hr"],["l10nTranslate",""]],template:function(n,m){n&1&&(t(0,"div",0)(1,"div",1)(2,"a",2),r(3,"img",3),i()(),r(4,"fa-icon",4),t(5,"div",5),s(6,"Link error"),i(),t(7,"div",6),r(8,"span",7)(9,"br"),t(10,"span",8),s(11),i(),r(12,"br")(13,"br"),i()()),n&2&&(o(3),c("src",m.logoUrl,d),o(),c("icon",m.icons.faExclamationCircle),o(7),v(m.error))},dependencies:[h,x,g],encapsulation:2});let a=e;return a})();export{A as PublicLinkErrorComponent};
|