"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1779],{435:(v,i,o)=>{o.d(i,{F:()=>h});var l=o(6689),u=o(6814);let h=(()=>{class e{get _dateFormat(){return this.fullDate?"EEEE d MMMM y, HH:mm:ss":"EEEE d MMMM HH:mm"}constructor(){this.fullDate=!1,this._clock=new Date,setInterval(()=>{this._clock=new Date},1e3)}static#t=this.\u0275fac=function(t){return new(t||e)};static#o=this.\u0275cmp=l.Xpm({type:e,selectors:[["elv-clock"]],inputs:{fullDate:"fullDate"},decls:3,vars:4,template:function(t,r){1&t&&(l.TgZ(0,"span"),l._uU(1),l.ALo(2,"date"),l.qZA()),2&t&&(l.xp6(1),l.Oqu(l.xi3(2,1,r._clock,r._dateFormat)))},dependencies:[u.uU],styles:["span[_ngcontent-%COMP%]{text-transform:capitalize}"]})}return e})()},1779:(v,i,o)=>{o.r(i),o.d(i,{TablesPageModule:()=>O});var l=o(6814),u=o(95),h=o(467),e=o(3498),d=o(6262),m=o(4065),t=o(6689),r=o(5535),p=o(3082),f=o(2623),b=o(6713),T=o(5004),M=o(9414),C=o(5345),P=o(435),E=o(4841),y=o(9589);function S(n,F){if(1&n){const c=t.EpF();t.TgZ(0,"elv-button",11),t.NdJ("click",function(){t.CHM(c);const s=t.oxw();return t.KtG(s.tablesSvc.onAskTable())}),t.qZA()}if(2&n){const c=t.oxw();t.Q6J("height",80)("label",c.tablesSvc.tables.Label)}}const Z=[{path:"",component:(()=>{class n extends m.n{constructor(c,a,s,g,A,x,D){super(),this.configSvc=c,this.guiSvc=a,this.cartSvc=s,this.tablesSvc=g,this.jhim=A,this.themeSvc=x,this.menuCtrl=D}static#t=this.\u0275fac=function(a){return new(a||n)(t.Y36(r.E),t.Y36(p.w),t.Y36(f.N),t.Y36(b.i),t.Y36(T.Y),t.Y36(M.f),t.Y36(e._q))};static#o=this.\u0275cmp=t.Xpm({type:n,selectors:[["app-tables"]],features:[t.qOj],decls:16,vars:9,consts:[["color","light","pad","0",1,"toolbar-top"],["slot","start"],["icon","menu","color","dark","mode","fill",3,"height","click"],["icon","globe",3,"height","color","readonly"],["icon","print",3,"height","color","readonly"],[1,"ion-hide-md-down"],["appTouchScrollFix",""],["id","page"],[1,"ion-justify-content-center"],["size","10","size-md","4"],["icon","apps",3,"height","label","click",4,"ngIf"],["icon","apps",3,"height","label","click"]],template:function(a,s){1&a&&(t.TgZ(0,"ion-header")(1,"ion-toolbar",0)(2,"ion-buttons",1)(3,"elv-toolbar-button",2),t.NdJ("click",function(){return s.menuCtrl.open("start")}),t.qZA(),t._UZ(4,"elv-toolbar-button",3)(5,"elv-toolbar-button",4),t.qZA(),t.TgZ(6,"ion-title",5),t._uU(7),t._UZ(8,"br")(9,"elv-clock"),t.qZA()()(),t.TgZ(10,"ion-content",6)(11,"div",7)(12,"ion-grid")(13,"ion-row",8)(14,"ion-col",9),t.YNc(15,S,1,2,"elv-button",10),t.qZA()()()()()),2&a&&(t.xp6(3),t.Q6J("height",70),t.xp6(1),t.Q6J("height",70)("color",s.guiSvc.status.online?"success":"danger")("readonly",!0),t.xp6(1),t.Q6J("height",70)("color",s.jhim.isRunning?"success":"danger")("readonly",!0),t.xp6(2),t.Oqu(s.guiSvc.comment),t.xp6(8),t.Q6J("ngIf",s.tablesSvc.tables&&s.tablesSvc.tables.Command))},dependencies:[l.O5,e.Sm,e.wI,e.W2,e.jY,e.Gu,e.Nd,e.wd,e.sr,C.r,P.F,E.I,y.K],styles:["#page[_ngcontent-%COMP%]{display:flex;width:100%;height:100%}#page[_ngcontent-%COMP%]   ion-grid[_ngcontent-%COMP%]{margin-top:auto;margin-bottom:auto}"]})}return n})()}];let O=(()=>{class n{static#t=this.\u0275fac=function(a){return new(a||n)};static#o=this.\u0275mod=t.oAB({type:n});static#e=this.\u0275inj=t.cJS({imports:[l.ez,u.u5,e.Pc,h.Bz.forChild(Z),d.H]})}return n})()}}]);