@letscooee/web-sdk 9.12.9 → 9.12.10

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.
@@ -1,2 +1,2 @@
1
- import{Ca as h,Ja as a,Ka as y,Q as l,Sa as p,Ta as v,Ua as w,X as d,Z as n,fa as c,fb as D,ib as k,ka as g,oa as m,ua as u,va as f,wa as b,xa as r,ya as o,yb as C,za as x}from"./chunk-HGWRAOKM.js";function M(i,t){if(i&1&&(r(0,"li")(1,"span",1),a(2),p(3,"date"),o(),a(4,"\xA0 "),x(5,"span",2),p(6,"safeHtml"),o()),i&2){let e=t.$implicit;n(2),y(w(3,2,e.time,"MM/dd/yy, hh:mm:ss a")),n(3),m("innerHTML",v(6,5,e.message),d)}}var _=class i{logs=l.required();constructor(){}shareLogs(){let t=JSON.stringify(this.logs());if(navigator.share){navigator.share({text:t});return}navigator.clipboard.writeText(t)}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=c({type:i,selectors:[["cooee-debugger"]],inputs:{logs:[1,"logs"]},features:[g([C])],decls:5,vars:0,consts:[[1,"btn-copy",3,"click"],[2,"color","rgb(100, 116, 139)"],[3,"innerHTML"]],template:function(e,s){e&1&&(r(0,"ol"),f(1,M,7,7,"li",null,u),o(),r(3,"button",0),h("click",function(){return s.shareLogs()}),a(4,"Share"),o()),e&2&&(n(),b(s.logs()))},dependencies:[k,D],styles:[`:host{display:block;position:fixed;top:calc(100vh - 90px);left:10px;right:10px;width:auto;max-width:100%;min-width:calc(100vw - 20px);height:80px;background:#fff;z-index:111111111111;overflow-y:auto;font-size:13px;line-height:1.5;padding:5px;font-family:Arial,"sans-serif";font-weight:500;border:2px solid rgb(245,28,143);border-radius:4px;resize:both;-webkit-user-select:auto;user-select:auto}@media (min-width: 768px){:host{width:600px;min-width:auto}}ol{margin:0;padding:0 0 0 28px}.btn-copy{position:absolute;top:5px;right:5px;background:#f51c8f;border:none;cursor:pointer;padding:6px 8px;font-size:12px;border-radius:6px;color:#fff}
1
+ import{Aa as x,Da as h,Ka as a,La as y,R as l,Ta as p,Ua as v,Va as w,Y as d,_ as n,ga as c,gb as D,jb as k,la as g,pa as m,va as u,wa as f,xa as b,ya as r,za as o,zb as C}from"./chunk-EHNBTJQP.js";function M(i,t){if(i&1&&(r(0,"li")(1,"span",1),a(2),p(3,"date"),o(),a(4,"\xA0 "),x(5,"span",2),p(6,"safeHtml"),o()),i&2){let e=t.$implicit;n(2),y(w(3,2,e.time,"MM/dd/yy, hh:mm:ss a")),n(3),m("innerHTML",v(6,5,e.message),d)}}var _=class i{logs=l.required();constructor(){}shareLogs(){let t=JSON.stringify(this.logs());if(navigator.share){navigator.share({text:t});return}navigator.clipboard.writeText(t)}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=c({type:i,selectors:[["cooee-debugger"]],inputs:{logs:[1,"logs"]},features:[g([C])],decls:5,vars:0,consts:[[1,"btn-copy",3,"click"],[2,"color","rgb(100, 116, 139)"],[3,"innerHTML"]],template:function(e,s){e&1&&(r(0,"ol"),f(1,M,7,7,"li",null,u),o(),r(3,"button",0),h("click",function(){return s.shareLogs()}),a(4,"Share"),o()),e&2&&(n(),b(s.logs()))},dependencies:[k,D],styles:[`:host{display:block;position:fixed;top:calc(100vh - 90px);left:10px;right:10px;width:auto;max-width:100%;min-width:calc(100vw - 20px);height:80px;background:#fff;z-index:111111111111;overflow-y:auto;font-size:13px;line-height:1.5;padding:5px;font-family:Arial,"sans-serif";font-weight:500;border:2px solid rgb(245,28,143);border-radius:4px;resize:both;-webkit-user-select:auto;user-select:auto}@media (min-width: 768px){:host{width:600px;min-width:auto}}ol{margin:0;padding:0 0 0 28px}.btn-copy{position:absolute;top:5px;right:5px;background:#f51c8f;border:none;cursor:pointer;padding:6px 8px;font-size:12px;border-radius:6px;color:#fff}
2
2
  `],encapsulation:3})};export{_ as DebuggerComponent};