amf-client-js 5.6.0-SNAPSHOT.50 → 5.6.0-SNAPSHOT.51
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/amf.js +5 -5
- package/package.json +1 -1
package/amf.js
CHANGED
|
@@ -498,8 +498,8 @@ function pe(a,b,c,e,f,g,h,k){a.LJ(Iu(Ju(),f,h,c,e,b,g,k,a))}function Fo(a,b,c,e,
|
|
|
498
498
|
function cca(a,b,c,e,f){var g=M(),h=M();f=(new kg(f)).by();b=b.pb;var k=oe().J;pe(a,b,c,g,e,h,k,f)}function Kxa(a,b,c,e,f){b=b.pb;var g=M(),h=M(),k=oe().J;f=(new kg(f)).by();Fo(a,b,c,g,e,h,k,f)}function qe(a,b,c,e,f,g){var h=Pma(g);g=(new kg(g.Ef)).by();b=b.pb;var k=oe().J;pe(a,b,c,e,f,h,k,g)}function rp(a,b,c,e,f,g){var h=Pma(g);g=(new kg(g.Ef)).by();b=b.pb;var k=oe().J;Fo(a,b,c,e,f,h,k,g)}function he(a,b,c,e,f,g){var h=Pma(g);a.mO(b,c,e,f,h,(new kg(g.Ef)).by())}
|
|
499
499
|
function Lu(a,b,c,e,f,g){var h=Pma(g);g=(new kg(g.Ef)).by();b=b.pb;var k=oe().md;Fo(a,b,c,e,f,h,k,g)}function Lxa(a,b,c,e,f){var g=M(),h=Wc(f,n(me));f=Wc(f,n(ne));f.a()?f=M():(f=f.c(),f=new N(f.lB));a.mO(b,c,g,e,h,f)}function Pma(a){a=yk(zk(),a.Se,a.gf,a.ag,a.eg);var b=zk().nna;return(null===b?null===a:b.d(a))?M():new N(Zg(new $g,a))}function Mxa(a){a.xEa(B(Mu(),v()))}
|
|
500
500
|
function Nxa(){this.TP=this.d1c=this.uI=this.Ru=this.Wja=this.Vja=this.V9=this.f_=this.W9=this.Ht=this.UP=this.vI=this.qi=this.Bya=this.Hj=this.vp=this.aB=this.Su=this.Li=this.xg=null;Oxa=this;this.xg=K().Ek.Lf+"string";this.Li=K().Ek.Lf+"integer";this.Su=K().ka.Lf+"number";this.aB=K().Ek.Lf+"long";this.vp=K().Ek.Lf+"double";this.Hj=K().Ek.Lf+"float";this.Bya=K().Ek.Lf+"decimal";this.qi=K().Ek.Lf+"boolean";this.vI=K().Ek.Lf+"date";this.UP=K().Ek.Lf+"time";this.Ht=K().Ek.Lf+"dateTime";this.W9=K().ka.Lf+
|
|
501
|
-
"dateTimeOnly";K();this.f_=K().ka.Lf+"file";this.V9=K().Ek.Lf+"byte";this.Vja=K().Ek.Lf+"base64Binary";this.Wja=K().ka.Lf+"password";this.Ru=K().Ek.Lf+"anyType";this.uI=K().Ek.Lf+"anyURI";this.d1c=K().ka.Lf+"link";this.TP=K().Ek.Lf+"nil"}Nxa.prototype=new p;Nxa.prototype.constructor=Nxa;
|
|
502
|
-
function Pxa(a,b){return"string"===b?a.xg:"integer"===b?a.Li:"number"===b?a.Su:"long"===b?a.aB:"double"===b?a.vp:"float"===b?a.Hj:"decimal"===b?a.Bya:"boolean"===b?a.qi:"date"===b||"date-only"===b?a.vI:"time"===b||"time-only"===b?a.UP:"dateTime"===b||"datetime"===b?a.Ht:"dateTimeOnly"===b||"datetime-only"===b?a.W9:"file"===b?a.f_:"byte"===b?a.V9:"base64Binary"===b?a.Vja:"password"===b?a.Wja:"anyType"===b||"any"===b?a.Ru:"anyUri"===b||"uri"===b?a.uI:"nil"===b?a.TP:""+K().Ek.Lf+b}
|
|
501
|
+
"dateTimeOnly";K();this.f_=K().ka.Lf+"file";this.V9=K().Ek.Lf+"byte";K();this.Vja=K().Ek.Lf+"base64Binary";this.Wja=K().ka.Lf+"password";this.Ru=K().Ek.Lf+"anyType";this.uI=K().Ek.Lf+"anyURI";this.d1c=K().ka.Lf+"link";this.TP=K().Ek.Lf+"nil"}Nxa.prototype=new p;Nxa.prototype.constructor=Nxa;
|
|
502
|
+
function Pxa(a,b){return vc(),"string"===b?a.xg:"integer"===b?a.Li:"number"===b?a.Su:"long"===b?a.aB:"double"===b?a.vp:"float"===b?a.Hj:"decimal"===b?a.Bya:"boolean"===b?a.qi:"date"===b||"date-only"===b?a.vI:"time"===b||"time-only"===b?a.UP:"dateTime"===b||"datetime"===b?a.Ht:"dateTimeOnly"===b||"datetime-only"===b?a.W9:"file"===b?a.f_:"byte"===b?a.V9:"base64Binary"===b?a.Vja:"password"===b?a.Wja:"anyType"===b||"any"===b?a.Ru:"anyUri"===b||"uri"===b?a.uI:"nil"===b?a.TP:""+K().Ek.Lf+b}
|
|
503
503
|
Nxa.prototype.$classData=q({Eme:0},!1,"amf.core.client.scala.model.DataType$",{Eme:1,b:1});var Oxa;function vc(){Oxa||(Oxa=new Nxa);return Oxa}function dv(a,b){this.XP=a;this.DL=b}dv.prototype=new p;dv.prototype.constructor=dv;function Qxa(a,b){var c=a.XP.fa(b);c=c.a()?a.DL.fa(b):c;if(c instanceof N)b=c.r;else{if(M()!==c)throw new x(c);c=Ob(Rxa(),v());ev(a.XP,y(new A,b,c));b=c}return new Bg(((e,f)=>(g,h)=>{f.Ol(y(new A,g,h))})(a,b))}
|
|
504
504
|
function Sxa(a,b,c){Txa(c.zb).x(new r(((e,f)=>g=>{var h=g.pe(),k=y(new A,f,h);h=e.XP.fa(g.Ba());if(h instanceof N)return ev(h.r,k);if(M()===h){h=e.XP;g=g.Ba();k=[k];for(var l=new fv,m=0,t=k.length|0;m<t;)ev(l,k[m]),m=1+m|0;return ev(h,y(new A,g,l))}throw new x(h);})(a,b)));Uxa(c.zb).x(new r(((e,f)=>g=>{var h=g.pe(),k=y(new A,f,h);h=e.DL.fa(g.Ba());if(h instanceof N)return ev(h.r,k);if(M()===h){h=e.DL;g=g.Ba();k=[k];for(var l=new fv,m=0,t=k.length|0;m<t;)ev(l,k[m]),m=1+m|0;return ev(h,y(new A,g,l))}throw new x(h);
|
|
505
505
|
})(a,b)))}dv.prototype.$classData=q({Ume:0},!1,"amf.core.client.scala.model.document.SourceMap",{Ume:1,b:1});function Vxa(){this.r1c=null;Wxa=this;this.r1c=new dv(new fv,new fv)}Vxa.prototype=new p;Vxa.prototype.constructor=Vxa;function Xxa(){gv();return new dv(Ob(Rxa(),v()),new fv)}
|
|
@@ -656,8 +656,8 @@ ZDa.prototype=new p;ZDa.prototype.constructor=ZDa;ZDa.prototype.$classData=q({ox
|
|
|
656
656
|
function YAa(a){a=aEa(a);return 2===Ew(a)?qy(a):M()}bs.prototype.$classData=q({Hxe:0},!1,"amf.core.internal.remote.Cache",{Hxe:1,b:1});function as(a,b){this.nqb=a;this.F_=b}as.prototype=new p;as.prototype.constructor=as;as.prototype.Mic=function(){return 2===ry(this.F_,new r((a=>b=>{var c=iBa(a);return b===c})(this)))};function iBa(a){return a.F_.a()?"":sy(a.F_)}function SAa(a){return a.F_.a()?"":a.F_.v()}
|
|
657
657
|
function jBa(a,b){try{if(bEa().xk(b).a()){cEa||(cEa=new dEa);var c=cEa.xk(b).a()?new N(iBa(a)):new N(SAa(a))}else c=M();var e=c;return eEa(wv(),e,b)}catch(f){a=rj(Bf(),f);if(a instanceof id)throw new mBa("url: "+b+" - "+a.Lp());throw f;}}as.prototype.$classData=q({Ixe:0},!1,"amf.core.internal.remote.Context",{Ixe:1,b:1});function oBa(){}oBa.prototype=new p;oBa.prototype.constructor=oBa;oBa.prototype.$classData=q({Jxe:0},!1,"amf.core.internal.remote.Context$",{Jxe:1,b:1});var nBa;
|
|
658
658
|
function fEa(){this.oqb="file://"}fEa.prototype=new p;fEa.prototype.constructor=fEa;fEa.prototype.xk=function(a){var b=this.oqb;return 0<=(a.length|0)&&a.substring(0,b.length|0)===b?(a=ar(new Ld(a),this.oqb),new N(a)):M()};fEa.prototype.$classData=q({Kxe:0},!1,"amf.core.internal.remote.File$",{Kxe:1,b:1});var gEa;function Zya(){gEa||(gEa=new fEa);return gEa}
|
|
659
|
-
function eBa(a){return"graphql"===a||"gql"===a?new N(Ci().Gza):"proto"===a||"pb"===a?new N(Ci().M3b):"json"===a?new N(Ci().Ph):"yaml"===a||"yam"===a||"yml"===a||"raml"===a?new N(Ci().fi):"jsonld"===a||"amf"===a?new N(Ci().Iza):"nt"===a?new N(Ci().cye):M()}function dBa(a){var b=new N(a.lastIndexOf(".")|0);b=0<(b.r|0)?b:M();if(b.a())return M();b=1+(b.c()|0)|0;return new N(a.substring(b))}function hEa(){this.O8c="http://";this.N8c="https://"}hEa.prototype=new p;
|
|
660
|
-
hEa.prototype.xk=function(a){var b=this.O8c;0<=(a.length|0)&&a.substring(0,b.length|0)===b?b=!0:(b=this.N8c,b=0<=(a.length|0)&&a.substring(0,b.length|0)===b);if(b){b=3+(a.indexOf("://")|0)|0;b=a.substring(0,b);a=ar(new Ld(a),b);if(-1!==(a.indexOf("/")|0)){var c=a.indexOf("/")|0;c=a.substring(0,c)}else c=a;a=a.split(c).join("");return new N(new Jb(b,c,a))}return M()};hEa.prototype.$classData=q({Qxe:0},!1,"amf.core.internal.remote.HttpParts$",{Qxe:1,b:1});var iEa;
|
|
659
|
+
function eBa(a){return"graphql"===a||"gql"===a?new N(Ci().Gza):"proto"===a||"pb"===a?new N(Ci().M3b):"json"===a||"avsc"===a?new N(Ci().Ph):"yaml"===a||"yam"===a||"yml"===a||"raml"===a?new N(Ci().fi):"jsonld"===a||"amf"===a?new N(Ci().Iza):"nt"===a?new N(Ci().cye):M()}function dBa(a){var b=new N(a.lastIndexOf(".")|0);b=0<(b.r|0)?b:M();if(b.a())return M();b=1+(b.c()|0)|0;return new N(a.substring(b))}function hEa(){this.O8c="http://";this.N8c="https://"}hEa.prototype=new p;
|
|
660
|
+
hEa.prototype.constructor=hEa;hEa.prototype.xk=function(a){var b=this.O8c;0<=(a.length|0)&&a.substring(0,b.length|0)===b?b=!0:(b=this.N8c,b=0<=(a.length|0)&&a.substring(0,b.length|0)===b);if(b){b=3+(a.indexOf("://")|0)|0;b=a.substring(0,b);a=ar(new Ld(a),b);if(-1!==(a.indexOf("/")|0)){var c=a.indexOf("/")|0;c=a.substring(0,c)}else c=a;a=a.split(c).join("");return new N(new Jb(b,c,a))}return M()};hEa.prototype.$classData=q({Qxe:0},!1,"amf.core.internal.remote.HttpParts$",{Qxe:1,b:1});var iEa;
|
|
661
661
|
function $ya(){iEa||(iEa=new hEa);return iEa}
|
|
662
662
|
function hva(a){if(0===(1&a.QL)<<24>>24&&0===(1&a.QL)<<24>>24){for(var b=!1,c=null,e=Sd(a.U8c,"/"),f=-1+e.h.length|0,g=v();0<=f;)g=new O(e.h[f],g),f=-1+f|0;f=g;a:if(v().d(f))e=M(),b="application",c="unknown";else{if(f instanceof O&&(b=!0,c=f,e=c.Vi,g=c.Ka,v().d(g))){f=M();b=e;c="unknown";e=f;break a}if(b){b=c.Vi;c=ar(new Ld(a.U8c),b+"/");e=!1;f=null;g=Sd(c,"\\+");for(var h=-1+g.h.length|0,k=v();0<=h;)k=new O(g.h[h],k),h=-1+h|0;h=k;if(v().d(h)){e=M();c="unknown";break a}if(h instanceof O&&(e=!0,f=
|
|
663
663
|
h,g=f.Vi,k=f.Ka,v().d(k))){e=M();c=g;break a}if(e){e=f.Vi;f=new N(ar(new Ld(c),e+"+"));c=e;e=f;break a}throw new x(h);}throw new x(f);}a.W8c=new Jb(b,c,e);a.QL=(1|a.QL)<<24>>24}return a.W8c}function gva(a){this.V8c=this.T8c=this.W8c=null;this.QL=0;this.U8c=a}gva.prototype=new p;gva.prototype.constructor=gva;gva.prototype.$classData=q({Wxe:0},!1,"amf.core.internal.remote.MediaTypeParser",{Wxe:1,b:1});
|
|
@@ -8087,7 +8087,7 @@ d0.prototype.withObjPropertyCollection=function(a,b){qA();var c=this.Gx,e=qA(),f
|
|
|
8087
8087
|
d0.prototype.withFloatPropertyCollection=function(a,b){qA();var c=this.Gx,e=qA();var f=qA();null===qA().Htb&&null===qA().Htb&&(qA().Htb=new kgc(f));f=qA().Htb;a=FSc(c,a,(new Sv(e,b,f)).Nb());l8();return c0(new d0,a)};d0.prototype.withIntPropertyCollection=function(a,b){qA();var c=this.Gx,e=qA(),f=qA().Ffa();a=GSc(c,a,(new Sv(e,b,f)).Nb());l8();return c0(new d0,a)};
|
|
8088
8088
|
d0.prototype.withStringPropertyCollection=function(a,b){qA();var c=this.Gx,e=qA(),f=qA().Te();a=HSc(c,a,(new Sv(e,b,f)).Nb());l8();return c0(new d0,a)};
|
|
8089
8089
|
d0.prototype.withProperty=function(a,b){if("boolean"===typeof b){b=!!b;qA();var c=this.Gx;a=new kB(c,a);a=new lc(Dc(),fc(gc(),a.gV),new qc(rc().tj,"","",v()),!0,!1,M());a=m8(c,a,new nS(b,Wt().VZ,c.mM));l8();return c0(new d0,a)}if("number"===typeof b)return b=+b,qA(),c=this.Gx,a=new kB(c,a),a=new lc(yc(),fc(gc(),a.gV),new qc(rc().tj,"","",v()),!0,!1,M()),a=m8(c,a,new nS(b,Wt().Zmb,c.mM)),l8(),c0(new d0,a);if("string"===typeof b)return qA(),c=this.Gx,a=new kB(c,a),a=new lc(Fc(),fc(gc(),a.gV),new qc(rc().tj,
|
|
8090
|
-
"","",v()),!0,!1,M()),a=m8(c,a,new nS(b,Wt().rI,c.mM)),l8(),c0(new d0,a);if(b
|
|
8090
|
+
"","",v()),!0,!1,M()),a=m8(c,a,new nS(b,Wt().rI,c.mM)),l8(),c0(new d0,a);if(ja(b))return qA(),c=this.Gx,b|=0,a=new kB(c,a),a=new lc(Ac(),fc(gc(),a.gV),new qc(rc().tj,"","",v()),!0,!1,M()),a=m8(c,a,new nS(b,Wt().WZ,c.mM)),l8(),c0(new d0,a);if(b instanceof d0)return qA(),c=this.Gx,b=(qA(),l8(),b.Gx),a=new kB(c,a),a=new lc(b.nE,fc(gc(),a.gV),new qc(rc().tj,"","",v()),!0,!1,M()),a=m8(c,a,b),l8(),c0(new d0,a);throw"No matching overload";};
|
|
8091
8091
|
Object.defineProperty(d0.prototype,"componentId",{get:function(){return this.Gx.wb()},configurable:!0});d0.prototype.$classData=q({aGe:0},!1,"amf.shapes.client.platform.model.domain.jsonldinstance.JsonLDObject",{aGe:1,b:1,Rb:1,rb:1,ib:1,ua:1,Qb:1,R5b:1});function OA(a,b){this.a6b=this.Nbd=null;this.Gsb=a;this.OGe=b;oz();Q5(this)}OA.prototype=new p;OA.prototype.constructor=OA;d=OA.prototype;d.tt=function(){O5(this)};d.fb=function(){return cg(this)};d.Eq=function(){return u(this.Gsb,nj().ie)};
|
|
8092
8092
|
d.hm=function(a,b){return P5(this,a,b)};d.Gm=function(){return u(this.Gsb,nj().ie).Vk()};d.lc=function(a){return Y2(this,a)};d.ob=function(a){return od(this,a)};d.bc=function(a){return yC(this,a)};d.Xb=function(){cS();return EJa()};d.yr=function(){return this.Nbd};d.xr=function(a){this.Nbd=a};d.B=function(){return this.a6b};d.pc=function(a){this.a6b=a};d.s=function(){return this.Gsb};d.A=function(){return this.OGe};d.Pe=function(){return v()};d.wb=function(){return""};
|
|
8093
8093
|
d.kc=function(a){return Y2(this,a)};d.aa=function(){return cS()};d.bk=function(){return cS()};d.$classData=q({MGe:0},!1,"amf.shapes.client.scala.model.document.JsonLDInstanceDocument",{MGe:1,b:1,io:1,Wa:1,Pa:1,sj:1,ua:1,Qif:1});
|