openc3-cosmos-tool-cmdtlmserver 6.2.1 → 6.3.0

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.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/tools/cmdtlmserver/{ArrayWidget-BxEO5hEG-89ca0a2e546d77657dd9.js → ArrayWidget-BbsN1dzF-ee2cfc7dad123cfaccf5.js} +2 -2
  3. data/tools/cmdtlmserver/{ArrayplotWidget-B_VPoV4v-7b820a5e88bad1425d1c.js → ArrayplotWidget-CCKEyYIx-a00019e86008704efc46.js} +1 -1
  4. data/tools/cmdtlmserver/{BarColumn-C9dkpg2O-7723dc0faa77b237d7f9.js → BarColumn-C6p07yWK-a95a551de7a97b26a986.js} +1 -1
  5. data/tools/cmdtlmserver/BlockWidget-DlCHbqZX-c390667024b5d4780d6b.js +2 -0
  6. data/tools/cmdtlmserver/{ButtonWidget-B6HM0Doo-ce7e70aebc6509184e26.js → ButtonWidget-CtfJzCBR-9a325bb9d73eea161bde.js} +2 -2
  7. data/tools/cmdtlmserver/{CanvasWidget-DZQGG-yQ-6864bab874dccb2db67c.js → CanvasWidget-CqRlXc4r-fecb24efdf6f68a33ad2.js} +1 -1
  8. data/tools/cmdtlmserver/CanvasdotWidget--Xr_KsZs-840bf70c26d7888f4d66.js +1 -0
  9. data/tools/cmdtlmserver/{CanvasimageWidget-mhcPpAuN-441a8a40b76b47f0e9dd.js → CanvasimageWidget-BPlj5QYK-148404626d26f39ae7a4.js} +1 -1
  10. data/tools/cmdtlmserver/{CanvasimagevalueWidget-Cx-dH8Gc-c505d808df433d5fd979.js → CanvasimagevalueWidget-DVFGLt8f-228223ab8bc7ab0b61c6.js} +1 -1
  11. data/tools/cmdtlmserver/CanvaslabelWidget-CYNqmyP0-c9c9beb56e22552527cb.js +1 -0
  12. data/tools/cmdtlmserver/{CanvaslabelvalueWidget-CwmYDCjr-aca636f4d86f04fc6120.js → CanvaslabelvalueWidget-B7yIDmsn-725d0c4e2daf6bda08ec.js} +1 -1
  13. data/tools/cmdtlmserver/CanvaslineWidget-BICdxX0Q-7c180d081ca1a967d997.js +1 -0
  14. data/tools/cmdtlmserver/{CanvaslinevalueWidget-C3sJnjLQ-c20af62fc101f2e6d9e7.js → CanvaslinevalueWidget-Cq-Ddh0P-bdf272b782303e2bc8bb.js} +1 -1
  15. data/tools/cmdtlmserver/CheckbuttonWidget-B74AWeaW-de22da2f691ae5858bbf.js +1 -0
  16. data/tools/cmdtlmserver/{CmdPacketsTab-543bcdcded38905596c1.js → CmdPacketsTab-8938018b2c20935a31ff.js} +1 -1
  17. data/tools/cmdtlmserver/{CmdTlmServer-c5e0c27cd668cb4acdd2.js → CmdTlmServer-3100bab0f78a7952a5f1.js} +2 -2
  18. data/tools/cmdtlmserver/ComboboxWidget-CtyKbEWb-7925168021879bcae865.js +1 -0
  19. data/tools/cmdtlmserver/DateWidget-BEVSczU8-95d14f0b9ce5fc0b69a3.js +1 -0
  20. data/tools/cmdtlmserver/{DetailsDialog-BvbziA7Y-a6d191d4c24ae44227f5.js → DetailsDialog-DmEC5BTs-ae29c74b5a12a811ab58.js} +1 -1
  21. data/tools/cmdtlmserver/{DynamicWidget-gFSYxzvT-5b7c1448f53e03ca3e91.js → DynamicWidget-CfMtj7H8-dda9e71246a61119ef51.js} +1 -1
  22. data/tools/cmdtlmserver/{FormatvalueWidget-CGpnTqVH-5a4cac76beeee76398b5.js → FormatvalueWidget-DN12xymS-312eedcf339bb3a361e8.js} +1 -1
  23. data/tools/cmdtlmserver/Graph-Bgo0cjl3-34cca1d79d056287c70c.js +1 -0
  24. data/tools/cmdtlmserver/{GraphWidget-Dycey-mj-d4aa575ef98087670b47.js → GraphWidget-DurWDmpg-1d3f53de02fa1378a1c8.js} +1 -1
  25. data/tools/cmdtlmserver/{HorizontalWidget-D31NRWy5-567abe97366db941d1d0.js → HorizontalWidget-Cd_wl1b3-b4a1220511cbad208895.js} +1 -1
  26. data/tools/cmdtlmserver/HorizontalboxWidget-BcMTFBU--ebe35d30ef1038d848e8.js +1 -0
  27. data/tools/cmdtlmserver/HorizontallineWidget-CXFqHclf-fa0e898fc84d1495ab9f.js +1 -0
  28. data/tools/cmdtlmserver/{IframeWidget-Ctj8OIcG-8eb7274680df97862be9.js → IframeWidget-BPerHCCa-89189a6be7985eb8e47b.js} +1 -1
  29. data/tools/cmdtlmserver/{ImageLoader-BrNrCBvi-c56dfbfda95fe546284c.js → ImageLoader-4N-7Gj61-e6e724f54c4470cc6855.js} +1 -1
  30. data/tools/cmdtlmserver/ImageviewerWidget-Cw_H_HmZ-79d50f4df25f701d60c0.js +1 -0
  31. data/tools/cmdtlmserver/InterfacesTab-2d486c0457a95cc3e028.js +1 -0
  32. data/tools/cmdtlmserver/{LabelWidget-t7I87dp7-c8e7d564e904105dba56.js → LabelWidget-xrmcVeq8-870ee165781b2cf65c51.js} +1 -1
  33. data/tools/cmdtlmserver/LabelledWidget-D48QoyMk-8ef3423e6396375a66e4.js +1 -0
  34. data/tools/cmdtlmserver/LabelprogressbarWidget-C_950t6g-2936a8a5b4b14474e12e.js +1 -0
  35. data/tools/cmdtlmserver/LabelsparklineWidget-0KXQyPoU-da36e09f571b80924e16.js +1 -0
  36. data/tools/cmdtlmserver/{LabelvalueWidget-Zx_yHCtl-761beda3ba9005900e83.js → LabelvalueWidget-CQ06wWDK-1796e7cae5e984c98aaf.js} +1 -1
  37. data/tools/cmdtlmserver/{LabelvaluedescWidget-BBSBh4vI-7930a82f5e07d7ac49ee.js → LabelvaluedescWidget-Bo8zT01X-80efb25b4bedad034d9d.js} +1 -1
  38. data/tools/cmdtlmserver/{LabelvaluelimitsbarWidget-CZueHYWG-24b90c24e80fd1a209b0.js → LabelvaluelimitsbarWidget-BucTw8Yk-3294f1f5165c95dd609e.js} +1 -1
  39. data/tools/cmdtlmserver/LabelvaluelimitscolumnWidget-Dflb1hNd-a115105dee00eafa5323.js +1 -0
  40. data/tools/cmdtlmserver/{LabelvaluerangebarWidget-BhYTBgDq-f7d7ee8128f9058ef8c3.js → LabelvaluerangebarWidget-D8cbfXFM-ed365f14f0ddd33fc1ee.js} +1 -1
  41. data/tools/cmdtlmserver/{Layout-Bh7VzCZd-dcb9c3641454e6c67c47.js → Layout-Tf--nruw-77595e15c57a061b0dba.js} +1 -1
  42. data/tools/cmdtlmserver/LedWidget-qH_FthkK-1cfbae497162dcc3aefa.js +1 -0
  43. data/tools/cmdtlmserver/{LimitsbarWidget-Djui0IpK-c1dec25b5074f46c266b.js → LimitsbarWidget-B9lAB2RD-ba9cf8359583cfe6eeb1.js} +1 -1
  44. data/tools/cmdtlmserver/{LimitscolorWidget-DdmvKzmx-6cf2a6f3dc4493ea0ef5.js → LimitscolorWidget-c6Qa6su7-87921f3fb3e7afc5de79.js} +1 -1
  45. data/tools/cmdtlmserver/{LimitscolumnWidget-Cc19IEjq-bc58d443d9a79a05718e.js → LimitscolumnWidget-CcLs_443-604b2033bbe5db32cec6.js} +1 -1
  46. data/tools/cmdtlmserver/LinegraphWidget-BSVYLFo1-e8a98958fba9fb2e2fb9.js +1 -0
  47. data/tools/cmdtlmserver/MatrixbycolumnsWidget-DXFpZTre-67f734ae3f31f19eb2a0.js +1 -0
  48. data/tools/cmdtlmserver/{ProgressbarWidget-DIfqhHRE-aebd8d5a762deda63d9c.js → ProgressbarWidget-iYGw8-Dc-ebd0bd2f7dd1a5a808fc.js} +1 -1
  49. data/tools/cmdtlmserver/RadiobuttonWidget-ytmoVZ3u-3a28b6b2ee47bb71a55d.js +1 -0
  50. data/tools/cmdtlmserver/{RadiogroupWidget-Ci9sCX39-db829f94bee5140bb9cc.js → RadiogroupWidget-CusMBhKH-2ab564c7e2c5bd9ce708.js} +1 -1
  51. data/tools/cmdtlmserver/{RangebarWidget-CN0YuHqy-9b49a64ed4d1a23e9fa2.js → RangebarWidget-D_zGTtCa-8bfd7bef4ad63b9af243.js} +1 -1
  52. data/tools/cmdtlmserver/{RawDialog-2b725610c629b9879bac.js → RawDialog-9d64be002d16366306d0.js} +1 -1
  53. data/tools/cmdtlmserver/{RollupWidget-y4jBtJB2-2fa7012d1e3c1cc9a765.js → RollupWidget-Dolsixyt-64fd8c2e5990b362afb3.js} +1 -1
  54. data/tools/cmdtlmserver/{RoutersTab-97a4ce9897517bb6bde4.js → RoutersTab-12cdceede3476c777ebf.js} +1 -1
  55. data/tools/cmdtlmserver/ScrollwindowWidget-DV2nZuNi-622615ed3b3c3be199a7.js +1 -0
  56. data/tools/cmdtlmserver/{SignalWidget-DQ5Uc2uV-864549b10d055bc6c168.js → SignalWidget-d9-6h85k-6fb4be9567110de7f7f2.js} +1 -1
  57. data/tools/cmdtlmserver/SpacerWidget-BH0p2OLi-d2bd2a8e1f0b4014a44f.js +1 -0
  58. data/tools/cmdtlmserver/{SparklineWidget-CZtvu2ss-a652a442fd625a97a9b0.js → SparklineWidget-coxi9r2g-93d3a65c88c064975334.js} +1 -1
  59. data/tools/cmdtlmserver/{StatusTab-ebf6453fac33bf59a564.js → StatusTab-84eda227fff2c85ad6b1.js} +1 -1
  60. data/tools/cmdtlmserver/TabbookWidget-B1XKplGH-e22ec8d6a5c838c7c5fd.js +1 -0
  61. data/tools/cmdtlmserver/{TargetsTab-ae3381cde4d9b22a9272.js → TargetsTab-e4763d63ea20379aa310.js} +1 -1
  62. data/tools/cmdtlmserver/TextboxWidget-C-_M2M4l-e87fb9cd37972bf5d25b.js +1 -0
  63. data/tools/cmdtlmserver/{TextfieldWidget-Df0ANSiU-a45885e9c031fa702946.js → TextfieldWidget-C08N4JE8-1068f0ee1d4002e54079.js} +1 -1
  64. data/tools/cmdtlmserver/TimeWidget-DtwdEcFg-5a3bc19e8ab2a1804ae7.js +1 -0
  65. data/tools/cmdtlmserver/TitleWidget-CT-aLcNb-f05601921aa733b9911e.js +1 -0
  66. data/tools/cmdtlmserver/{TlmPacketsTab-60429ad30f45f45c7ac9.js → TlmPacketsTab-e5b98e3e4c15475a7a17.js} +1 -1
  67. data/tools/cmdtlmserver/{Updater-82fa1a354a9721098906.js → Updater-30365f17f9b4eb94ca1e.js} +1 -1
  68. data/tools/cmdtlmserver/{VWidget-C4spAawK-e7dee3c34a6d790327ec.js → VWidget-DQqb7NVW-4602918435743a49de41.js} +1 -1
  69. data/tools/cmdtlmserver/ValueWidget-C6RanBj3-1821aa6088bd82d581f4.js +1 -0
  70. data/tools/cmdtlmserver/ValuelimitsbarWidget-B3bvjfxc-4f2349bfcb30c31119c1.js +1 -0
  71. data/tools/cmdtlmserver/ValuelimitscolumnWidget-QvhI6EcE-b0440ffbb0b94727592e.js +1 -0
  72. data/tools/cmdtlmserver/ValuerangebarWidget-Dt3K9BnC-5a6ec326052278b4ed3d.js +1 -0
  73. data/tools/cmdtlmserver/{VerticalWidget-D8jUFxjS-dc1f1f22baae1b1bf9ee.js → VerticalWidget-BIIViZgI-3d41ce14c58d12499a92.js} +1 -1
  74. data/tools/cmdtlmserver/VerticalboxWidget-DY72fLHW-f459428e4aed8df3e9d9.js +1 -0
  75. data/tools/cmdtlmserver/{Widget-fRCERxGf-6cf6e886d2d5ee76cfc6.js → Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js} +1 -1
  76. data/tools/cmdtlmserver/main-3edbee545cea57a5f76d.js +1499 -0
  77. data/tools/cmdtlmserver/main.js +1 -1
  78. data/tools/cmdtlmserver/services-61aec8b87d81fdbc4b64.js +7 -0
  79. metadata +79 -82
  80. data/tools/cmdtlmserver/BlockWidget-CuefOin6-edc80607b7a1d528f5e3.js +0 -2
  81. data/tools/cmdtlmserver/CanvasdotWidget-6wuCSnw_-e0f154be630a0c8394bc.js +0 -1
  82. data/tools/cmdtlmserver/CanvaslabelWidget-CQZCeohU-85c23c2118739625a3a1.js +0 -1
  83. data/tools/cmdtlmserver/CanvaslineWidget-nTP3fJB4-78e605105cd357f98670.js +0 -1
  84. data/tools/cmdtlmserver/CheckbuttonWidget-5-8YDsQL-e19c2b901eae43feeb7c.js +0 -1
  85. data/tools/cmdtlmserver/ComboboxWidget-DzBL8h9f-d1afd3d09dbb57142156.js +0 -1
  86. data/tools/cmdtlmserver/DateWidget-CW7Od7lB-14c75cebe909660c92a6.js +0 -1
  87. data/tools/cmdtlmserver/Graph-3rkhFP3G-b8db0cdb9ecf80ac5155.js +0 -1
  88. data/tools/cmdtlmserver/HorizontalboxWidget-Br8dSVHD-7c9a14b981c6d7631921.js +0 -1
  89. data/tools/cmdtlmserver/HorizontallineWidget-CbxREBYI-cd6486b6aeb6fbdd102b.js +0 -1
  90. data/tools/cmdtlmserver/ImageviewerWidget-XrsqxmLo-e5e72a6a85a49cb007ad.js +0 -1
  91. data/tools/cmdtlmserver/InterfacesTab-5fe4b0f137ffde75f928.js +0 -1
  92. data/tools/cmdtlmserver/LabelledWidget-C7TDf92M-e5c2e34c391a4721e565.js +0 -1
  93. data/tools/cmdtlmserver/LabelprogressbarWidget-wwLURt1u-c12f252a4577e90e8ba4.js +0 -1
  94. data/tools/cmdtlmserver/LabelsparklineWidget-B3awLUyP-dafc251f2886e5de7219.js +0 -1
  95. data/tools/cmdtlmserver/LabelvaluelimitscolumnWidget-BTvzyQMq-8ef478f7a9ed47139a9b.js +0 -1
  96. data/tools/cmdtlmserver/LedWidget-CxJjJBBS-71046e57b3786c5a7889.js +0 -1
  97. data/tools/cmdtlmserver/LinegraphWidget-BtieJxeL-be15f3c0e6a500ecc463.js +0 -1
  98. data/tools/cmdtlmserver/MatrixbycolumnsWidget-DnExVRF8-4a69d3f7ece972d3f5e2.js +0 -1
  99. data/tools/cmdtlmserver/RadiobuttonWidget-QzIkNP7m-300018a2418b2cbe7f09.js +0 -1
  100. data/tools/cmdtlmserver/ScrollwindowWidget-CBzYk4Y3-48abadd8da946b6c65a5.js +0 -1
  101. data/tools/cmdtlmserver/SpacerWidget-6rsc_dSM-4c67a06ee2036a93075a.js +0 -1
  102. data/tools/cmdtlmserver/TabbookWidget-DNALU0jl-ae79a3b9beef34b7efde.js +0 -1
  103. data/tools/cmdtlmserver/TextboxWidget-5hqPj74D-292f2786815b2027f6e6.js +0 -1
  104. data/tools/cmdtlmserver/TimeWidget-C6XQMUG2-fa62efc8fea7b7a08ccc.js +0 -1
  105. data/tools/cmdtlmserver/TitleWidget-B9SPUlbW-55092f64413a6ce5551d.js +0 -1
  106. data/tools/cmdtlmserver/ValueWidget-D4RrYVEK-c90078a7e58747e8aa55.js +0 -1
  107. data/tools/cmdtlmserver/ValuelimitsbarWidget-Bc9_Vj_f-b088c7ef6cd4bf20f55e.js +0 -1
  108. data/tools/cmdtlmserver/ValuelimitscolumnWidget-DHKIL7sf-72a766dafcef2f6c4767.js +0 -1
  109. data/tools/cmdtlmserver/ValuerangebarWidget-CecQRIok-5cef01f82763ccf9350a.js +0 -1
  110. data/tools/cmdtlmserver/VerticalboxWidget-B4eGUSYH-24dd29d0e54de2ba61eb.js +0 -1
  111. data/tools/cmdtlmserver/main-4bad43bda3e8a8483ba9.js +0 -1423
  112. data/tools/cmdtlmserver/services-6c036365da68dd4327ff.js +0 -7
@@ -1 +1 @@
1
- System.register(["./main-4bad43bda3e8a8483ba9.js"],function(r,a){"use strict";var e;return{setters:[o=>{e=o.a}],execute:function(){const o=r("s",{props:{target:{type:String,require:!0}},methods:{getPresignedUrl:async function(n){let t="targets_modified";return await e.get(`/openc3-api/storage/exists/${encodeURIComponent(`${window.openc3Scope}/${t}/${this.target}/public/${n}`)}?bucket=OPENC3_CONFIG_BUCKET`,{headers:{Accept:"application/json","Ignore-Errors":"404"}}).catch(s=>{t="targets"}),(await e.get(`/openc3-api/storage/download/${encodeURIComponent(`${window.openc3Scope}/${t}/${this.target}/public/${n}`)}?bucket=OPENC3_CONFIG_BUCKET`)).data.url}}})}}});
1
+ System.register(["./main-3edbee545cea57a5f76d.js"],function(r,s){"use strict";var e;return{setters:[o=>{e=o.O}],execute:function(){const o=r("s",{props:{target:{type:String,require:!0}},methods:{getPresignedUrl:async function(n){let t="targets_modified";return await e.get(`/openc3-api/storage/exists/${encodeURIComponent(`${window.openc3Scope}/${t}/${this.target}/public/${n}`)}?bucket=OPENC3_CONFIG_BUCKET`,{headers:{Accept:"application/json","Ignore-Errors":"404"}}).catch(a=>{t="targets"}),(await e.get(`/openc3-api/storage/download/${encodeURIComponent(`${window.openc3Scope}/${t}/${this.target}/public/${n}`)}?bucket=OPENC3_CONFIG_BUCKET`)).data.url}}})}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","vue","./main-3edbee545cea57a5f76d.js","vue-router","single-spa","vuex","vuetify"],function(l,m){"use strict";var a,n,r,s,i;return{setters:[e=>{a=e.o},e=>{n=e.createElementBlock,r=e.openBlock,s=e.normalizeStyle},e=>{i=e.d},null,null,null,null],execute:function(){const e={mixins:[a],data:function(){return{valueId:null,imageData:""}},computed:{src:function(){return`data:image/${this.parameters[3]};base64, ${this.screenValues[this.valueId][0]}`}},created:function(){this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__CONVERTED`,this.$emit("addItem",this.valueId)},unmounted:function(){this.$emit("deleteItem",this.valueId)}},u=["src","alt","width","height"];function c(t,h,p,v,$,o){return r(),n("img",{src:o.src,alt:t.valueId,width:t.parameters[4],height:t.parameters[5],style:s(t.computedStyle)},null,12,u)}const d=l("default",i(e,[["render",c]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Updater-30365f17f9b4eb94ca1e.js","vue","./main-3edbee545cea57a5f76d.js","./services-61aec8b87d81fdbc4b64.js","vue-router","single-spa","vuex","vuetify"],function(k,z){"use strict";var m,i,C,h,r,a,f,u,b,v,x,N,y;return{setters:[n=>{m=n.U},n=>{i=n.resolveComponent,C=n.createBlock,h=n.openBlock,r=n.withCtx,a=n.createVNode,f=n.createTextVNode,u=n.toDisplayString,b=n.createElementVNode,v=n.normalizeClass,x=n.normalizeProps,N=n.guardReactiveProps},n=>{y=n._},null,null,null,null,null],execute:function(){const n={mixins:[m],props:{tabId:Number,curTab:Number},data(){return{search:"",data:[],buttonsDisabled:!1,headers:[{title:"Name",key:"name"},{title:"Action",key:"connect",sortable:!1,filterable:!1},{title:"Connected",key:"connected"},{title:"Clients",key:"clients"},{title:"Tx Q",key:"tx_q_size"},{title:"Rx Q",key:"rx_q_size"},{title:"Tx bytes",key:"tx_bytes"},{title:"Rx bytes",key:"rx_bytes"},{title:"Cmd pkts",key:"cmd_pkts"},{title:"Tlm pkts",key:"tlm_pkts"}]}},methods:{sortTable(o,t,d){return o.sort((s,c)=>{for(let _=0;_<t.length;_++){let e=t[_],p=d[_];if(e==="connected"){if(s[e]===c[e])continue;return p?s[e]==="CONNECTED"?1:-1:s[e]==="CONNECTED"?-1:1}else if(e==="name"){if(s[e]===c[e])continue;return p?c[e].localeCompare(s[e]):s[e].localeCompare(c[e])}else{if(s[e]===c[e])continue;return p?c[e]-s[e]:s[e]-c[e]}}}),o},connectDisconnect(o){this.buttonsDisabled=!0,o.connected==="DISCONNECTED"?this.api.connect_interface(o.name):this.api.disconnect_interface(o.name)},update(){this.tabId==this.curTab&&this.api.get_all_interface_info().then(o=>{this.data=[];for(let t of o){let d=null,s=null;t[1]=="DISCONNECTED"?(d="Connect",s="openc3-white"):t[1]=="CONNECTED"?(d="Disconnect",s="openc3-green"):(d="Cancel",s="openc3-red"),this.data.push({name:t[0],connect:d,connectedClass:s,connected:t[1],clients:t[2],tx_q_size:t[3],rx_q_size:t[4],tx_bytes:t[5],rx_bytes:t[6],cmd_pkts:t[7],tlm_pkts:t[8],disable_disconnect:t[9]})}this.buttonsDisabled=!1})}}};function D(o,t,d,s,c,_){const e=i("v-spacer"),p=i("v-text-field"),T=i("v-card-title"),E=i("v-btn"),g=i("v-tooltip"),I=i("v-data-table"),S=i("v-card");return h(),C(S,null,{default:r(()=>[a(T,{class:"d-flex align-center justify-content-space-between"},{default:r(()=>[f(u(c.data.length)+" Interfaces ",1),a(e),a(p,{modelValue:c.search,"onUpdate:modelValue":t[0]||(t[0]=l=>c.search=l),label:"Search","prepend-inner-icon":"mdi-magnify",clearable:"",variant:"outlined",density:"compact","single-line":"","hide-details":"",class:"search"},null,8,["modelValue"])]),_:1}),a(I,{headers:c.headers,items:c.data,search:c.search,"custom-sort":_.sortTable,"items-per-page":10,"items-per-page-options":[10,20,-1],"multi-sort":"","data-test":"interfaces-table"},{"item.connect":r(({item:l})=>[a(g,{location:"top",disabled:!l.disable_disconnect||l.connected==="DISCONNECTED",text:"This interface set DISABLE_DISCONNECT in plugin.txt"},{activator:r(({props:V})=>[b("div",x(N(V)),[a(E,{block:"",color:"primary",disabled:c.buttonsDisabled||l.disable_disconnect&&l.connected==="CONNECTED",onClick:B=>_.connectDisconnect(l)},{default:r(()=>[f(u(l.connect),1)]),_:2},1032,["disabled","onClick"])],16)]),_:2},1032,["disabled"])]),"item.connected":r(({item:l})=>[b("span",{class:v(l.connectedClass)},u(l.connected),3)]),_:1},8,["headers","items","search","custom-sort"])]),_:1})}const O=k("default",y(n,[["render",D]]))}}});
@@ -1 +1 @@
1
- System.register(["./Widget-fRCERxGf-6cf6e886d2d5ee76cfc6.js","vue","./main-4bad43bda3e8a8483ba9.js","vue-router","single-spa","vuex","vuetify"],function(f,h){"use strict";var s,n,i,l,a,r;return{setters:[t=>{s=t.o},t=>{n=t.createElementBlock,i=t.openBlock,l=t.normalizeStyle,a=t.toDisplayString},t=>{r=t.s},null,null,null,null],execute:function(){const t={mixins:[s],data(){return{fontFamily:null,fontSize:null,fontWeight:"normal",fontStyle:"normal"}},computed:{labelText(){return this.parameters[0]},cssProps(){let e=null;return this.fontSize&&(e=this.fontSize+"px"),{"--font-family":this.fontFamily,"--font-size":e,"--font-weight":this.fontWeight,"--font-style":this.fontStyle}}},created(){this.verifyNumParams("LABEL",1,5,"LABEL <Text> <Font Family> <Font Size> <Font Weight> <Font Style>"),this.parameters[1]&&(this.fontFamily=this.parameters[1]),this.parameters[2]&&(this.fontSize=this.parameters[2]),this.parameters[3]&&(this.fontWeight=this.parameters[3]),this.parameters[4]&&(this.fontStyle=this.parameters[4])}};function m(e,p,c,y,S,o){return i(),n("div",{"data-test":"label",class:"pa-1 mt-1 label",style:l([o.cssProps,e.computedStyle])},a(o.labelText),5)}const u=f("default",r(t,[["render",m],["__scopeId","data-v-1d1d3128"]]))}}});
1
+ System.register(["./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","vue","./main-3edbee545cea57a5f76d.js","vue-router","single-spa","vuex","vuetify"],function(m,h){"use strict";var s,n,i,l,a,r;return{setters:[t=>{s=t.o},t=>{n=t.createElementBlock,i=t.openBlock,l=t.normalizeStyle,a=t.toDisplayString},t=>{r=t.d},null,null,null,null],execute:function(){const t={mixins:[s],data(){return{fontFamily:null,fontSize:null,fontWeight:"normal",fontStyle:"normal"}},computed:{labelText(){return this.parameters[0]},cssProps(){let e=null;return this.fontSize&&(e=this.fontSize+"px"),{"--font-family":this.fontFamily,"--font-size":e,"--font-weight":this.fontWeight,"--font-style":this.fontStyle}}},created(){this.verifyNumParams("LABEL",1,5,"LABEL <Text> <Font Family> <Font Size> <Font Weight> <Font Style>"),this.parameters[1]&&(this.fontFamily=this.parameters[1]),this.parameters[2]&&(this.fontSize=this.parameters[2]),this.parameters[3]&&(this.fontWeight=this.parameters[3]),this.parameters[4]&&(this.fontStyle=this.parameters[4])}};function f(e,p,c,y,S,o){return i(),n("div",{"data-test":"label",class:"pa-1 label",style:l([o.cssProps,e.computedStyle])},a(o.labelText),5)}const u=m("default",r(t,[["render",f],["__scopeId","data-v-60d4d785"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","./LabelWidget-xrmcVeq8-870ee165781b2cf65c51.js","./LedWidget-qH_FthkK-1cfbae497162dcc3aefa.js","vue","./main-3edbee545cea57a5f76d.js","./DetailsDialog-DmEC5BTs-ae29c74b5a12a811ab58.js","single-spa","vue-router","vuex","vuetify"],function(p,x){"use strict";var l,r,a,s,i,o,c,n,u,d;return{setters:[e=>{l=e.o},e=>{r=e.default},e=>{a=e.default},e=>{s=e.resolveComponent,i=e.createElementBlock,o=e.openBlock,c=e.normalizeStyle,n=e.createVNode,u=e.mergeProps},e=>{d=e.d},null,null,null,null,null],execute:function(){const e={mixins:[l],components:{LabelWidget:r,LedWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function g(t,S,W,b,w,m){const f=s("label-widget"),v=s("led-widget");return o(),i("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[n(f,{parameters:m.labelName,settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),n(v,u(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1}),null,16,["parameters","settings","screen-values"])],4)}const y=p("default",d(e,[["render",g]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","./LabelWidget-xrmcVeq8-870ee165781b2cf65c51.js","./ProgressbarWidget-iYGw8-Dc-ebd0bd2f7dd1a5a808fc.js","vue","./main-3edbee545cea57a5f76d.js","vue-router","single-spa","vuex","vuetify"],function(d,v){"use strict";var n,l,a,r,o,i,c,s,u,p;return{setters:[e=>{n=e.o},e=>{l=e.default},e=>{a=e.default},e=>{r=e.resolveComponent,o=e.createElementBlock,i=e.openBlock,c=e.normalizeStyle,s=e.createVNode,u=e.mergeProps},e=>{p=e.d},null,null,null,null],execute:function(){const e={mixins:[n],components:{LabelWidget:l,ProgressbarWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function g(t,x,S,w,W,m){const f=r("label-widget"),y=r("progressbar-widget");return i(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[s(f,{parameters:m.labelName,settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),s(y,u(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,style:t.computedStyle,"widget-index":1}),null,16,["parameters","settings","screen-values","style"])],4)}const b=d("default",p(e,[["render",g]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","./LabelWidget-xrmcVeq8-870ee165781b2cf65c51.js","./SparklineWidget-coxi9r2g-93d3a65c88c064975334.js","vue","./main-3edbee545cea57a5f76d.js","vue-router","single-spa","vuex","vuetify","./GraphWidget-DurWDmpg-1d3f53de02fa1378a1c8.js","./Graph-Bgo0cjl3-34cca1d79d056287c70c.js"],function(c,y){"use strict";var i,s,a,l,o,u,n,r,p;return{setters:[e=>{i=e.o},e=>{s=e.default},e=>{a=e.default},e=>{l=e.resolveComponent,o=e.createElementBlock,u=e.openBlock,n=e.normalizeStyle,r=e.createVNode},e=>{p=e.d},null,null,null,null,null,null],execute:function(){const e={mixins:[i],components:{LabelWidget:s,SparklineWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function d(t,S,x,v,W,m){const g=l("label-widget"),f=l("sparkline-widget");return u(),o("div",{ref:"container",class:"d-flex flex-row",style:n(t.computedStyle)},[r(g,{parameters:m.labelName,settings:[...t.appliedSettings],line:t.line,lineNumber:t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","lineNumber"]),r(f,{parameters:t.parameters,settings:[...t.appliedSettings],style:n(t.computedStyle),"widget-index":1},null,8,["parameters","settings","style"])],4)}const b=c("default",p(e,[["render",d]]))}}});
@@ -1 +1 @@
1
- System.register(["./Widget-fRCERxGf-6cf6e886d2d5ee76cfc6.js","./LabelWidget-t7I87dp7-c8e7d564e904105dba56.js","./ValueWidget-D4RrYVEK-c90078a7e58747e8aa55.js","vue","./main-4bad43bda3e8a8483ba9.js","vue-router","single-spa","vuex","vuetify","./DetailsDialog-BvbziA7Y-a6d191d4c24ae44227f5.js","./VWidget-C4spAawK-e7dee3c34a6d790327ec.js"],function(d,f){"use strict";var s,l,a,n,i,u,o,r,m,c;return{setters:[e=>{s=e.o},e=>{l=e.default},e=>{a=e.default},e=>{n=e.resolveComponent,i=e.createElementBlock,u=e.openBlock,o=e.normalizeStyle,r=e.createVNode,m=e.mergeProps},e=>{c=e.s},null,null,null,null,null,null],execute:function(){const e={mixins:[s],components:{LabelWidget:l,ValueWidget:a},computed:{labelName(){let t=this.parameters[2];return t.includes("[[")&&(t=t.replace("[[","[").replace("]]","]")),[t+":"]},valueParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[3],this.parameters[4]]}}};function g(t,h,w,S,V,p){const v=n("label-widget"),b=n("value-widget");return u(),i("div",{ref:"container",class:"d-flex flex-row",style:o(t.computedStyle)},[r(v,{parameters:p.labelName,settings:[...t.appliedSettings],line:t.line,"line-number":t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","line-number"]),r(b,m(t.$attrs,{parameters:p.valueParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,line:t.line,"line-number":t.lineNumber,"widget-index":1}),null,16,["parameters","settings","screen-values","screen-time-zone","line","line-number"])],4)}const x=d("default",c(e,[["render",g]]))}}});
1
+ System.register(["./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","./LabelWidget-xrmcVeq8-870ee165781b2cf65c51.js","./ValueWidget-C6RanBj3-1821aa6088bd82d581f4.js","vue","./main-3edbee545cea57a5f76d.js","vue-router","single-spa","vuex","vuetify","./DetailsDialog-DmEC5BTs-ae29c74b5a12a811ab58.js","./VWidget-DQqb7NVW-4602918435743a49de41.js"],function(d,f){"use strict";var l,s,a,n,i,u,m,r,o,c;return{setters:[e=>{l=e.o},e=>{s=e.default},e=>{a=e.default},e=>{n=e.resolveComponent,i=e.createElementBlock,u=e.openBlock,m=e.normalizeStyle,r=e.createVNode,o=e.mergeProps},e=>{c=e.d},null,null,null,null,null,null],execute:function(){const e={mixins:[l],components:{LabelWidget:s,ValueWidget:a},computed:{labelName(){let t=this.parameters[2];return t.includes("[[")&&(t=t.replace("[[","[").replace("]]","]")),[t+":"]},valueParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[3],this.parameters[4]]}}};function g(t,V,W,h,j,p){const v=n("label-widget"),b=n("value-widget");return u(),i("div",{ref:"container",class:"d-flex flex-row",style:m(t.computedStyle)},[r(v,{parameters:p.labelName,settings:[...t.appliedSettings],line:t.line,"line-number":t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","line-number"]),r(b,o(t.$attrs,{parameters:p.valueParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,line:t.line,"line-number":t.lineNumber,"widget-index":1}),null,16,["parameters","settings","screen-values","screen-time-zone","line","line-number"])],4)}const x=d("default",c(e,[["render",g]]))}}});
@@ -1 +1 @@
1
- System.register(["./Widget-fRCERxGf-6cf6e886d2d5ee76cfc6.js","./LabelWidget-t7I87dp7-c8e7d564e904105dba56.js","./ValueWidget-D4RrYVEK-c90078a7e58747e8aa55.js","./main-4bad43bda3e8a8483ba9.js","vue","vue-router","single-spa","vuex","vuetify","./DetailsDialog-BvbziA7Y-a6d191d4c24ae44227f5.js","./VWidget-C4spAawK-e7dee3c34a6d790327ec.js"],function(d,w){"use strict";var n,a,i,l,u,s,m,o,c,r,p;return{setters:[e=>{n=e.o},e=>{a=e.default},e=>{i=e.default},e=>{l=e.s,u=e.O},e=>{s=e.resolveComponent,m=e.createElementBlock,o=e.openBlock,c=e.normalizeStyle,r=e.createVNode,p=e.mergeProps},null,null,null,null,null,null],execute:function(){const e={mixins:[n],data(){return{description:"",valueParameters:[]}},components:{LabelWidget:a,ValueWidget:i},computed:{labelName(){return[this.description]}},created(){this.valueParameters=this.parameters.slice(0,3),this.parameters[4]!=null&&this.valueParameters.push(this.parameters[4]),this.parameters[5]!=null&&this.valueParameters.push(this.parameters[5]),this.parameters.length>3?this.description=this.parameters[3]:new u().get_item(this.parameters[0],this.parameters[1],this.parameters[2]).then(t=>{this.description=t.description})}};function g(t,P,V,j,h,v){const b=s("label-widget"),f=s("value-widget");return o(),m("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[r(b,{parameters:v.labelName,settings:[...t.settings],line:t.line,"line-number":t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","line-number"]),r(f,p(t.$attrs,{parameters:h.valueParameters,settings:[...t.settings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,line:t.line,"line-number":t.lineNumber,"widget-index":1}),null,16,["parameters","settings","screen-values","screen-time-zone","line","line-number"])],4)}const x=d("default",l(e,[["render",g]]))}}});
1
+ System.register(["./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","./LabelWidget-xrmcVeq8-870ee165781b2cf65c51.js","./ValueWidget-C6RanBj3-1821aa6088bd82d581f4.js","./main-3edbee545cea57a5f76d.js","vue","vue-router","single-spa","vuex","vuetify","./DetailsDialog-DmEC5BTs-ae29c74b5a12a811ab58.js","./VWidget-DQqb7NVW-4602918435743a49de41.js"],function(d,x){"use strict";var n,a,i,l,u,s,m,o,c,r,p;return{setters:[e=>{n=e.o},e=>{a=e.default},e=>{i=e.default},e=>{l=e.d,u=e.F},e=>{s=e.resolveComponent,m=e.createElementBlock,o=e.openBlock,c=e.normalizeStyle,r=e.createVNode,p=e.mergeProps},null,null,null,null,null,null],execute:function(){const e={mixins:[n],data(){return{description:"",valueParameters:[]}},components:{LabelWidget:a,ValueWidget:i},computed:{labelName(){return[this.description]}},created(){this.valueParameters=this.parameters.slice(0,3),this.parameters[4]!=null&&this.valueParameters.push(this.parameters[4]),this.parameters[5]!=null&&this.valueParameters.push(this.parameters[5]),this.parameters.length>3?this.description=this.parameters[3]:new u().get_item(this.parameters[0],this.parameters[1],this.parameters[2]).then(t=>{this.description=t.description})}};function g(t,V,W,j,h,v){const b=s("label-widget"),f=s("value-widget");return o(),m("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[r(b,{parameters:v.labelName,settings:[...t.settings],line:t.line,"line-number":t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","line-number"]),r(f,p(t.$attrs,{parameters:h.valueParameters,settings:[...t.settings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,line:t.line,"line-number":t.lineNumber,"widget-index":1}),null,16,["parameters","settings","screen-values","screen-time-zone","line","line-number"])],4)}const P=d("default",l(e,[["render",g]]))}}});
@@ -1 +1 @@
1
- System.register(["./LabelvalueWidget-Zx_yHCtl-761beda3ba9005900e83.js","./LimitsbarWidget-Djui0IpK-c1dec25b5074f46c266b.js","./Widget-fRCERxGf-6cf6e886d2d5ee76cfc6.js","vue","./main-4bad43bda3e8a8483ba9.js","./LabelWidget-t7I87dp7-c8e7d564e904105dba56.js","vue-router","single-spa","vuex","vuetify","./ValueWidget-D4RrYVEK-c90078a7e58747e8aa55.js","./DetailsDialog-BvbziA7Y-a6d191d4c24ae44227f5.js","./VWidget-C4spAawK-e7dee3c34a6d790327ec.js","./BarColumn-C9dkpg2O-7723dc0faa77b237d7f9.js"],function(m,b){"use strict";var r,i,a,s,u,o,c,l,n,g;return{setters:[e=>{r=e.default},e=>{i=e.default},e=>{a=e.o},e=>{s=e.resolveComponent,u=e.createElementBlock,o=e.openBlock,c=e.normalizeStyle,l=e.createVNode,n=e.mergeProps},e=>{g=e.s},null,null,null,null,null,null,null,null,null],execute:function(){const e={mixins:[a],components:{LabelvalueWidget:r,LimitsbarWidget:i},computed:{labelValueSettings(){return[...this.appliedSettings.filter(t=>t[0]==="__SCREEN_ID__"),...this.settings.filter(t=>parseInt(t[0])===0||parseInt(t[0])===1)]}}};function p(t,S,V,x,y,d){const v=s("labelvalue-widget"),f=s("limitsbar-widget");return o(),u("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[l(v,n(t.$attrs,{parameters:t.parameters,settings:d.labelValueSettings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone}),null,16,["parameters","settings","screen-values","screen-time-zone"]),l(f,n(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2,line:t.line,lineNumber:t.lineNumber}),null,16,["parameters","settings","screen-values","line","lineNumber"])],4)}const j=m("default",g(e,[["render",p]]))}}});
1
+ System.register(["./LabelvalueWidget-CQ06wWDK-1796e7cae5e984c98aaf.js","./LimitsbarWidget-B9lAB2RD-ba9cf8359583cfe6eeb1.js","./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","vue","./main-3edbee545cea57a5f76d.js","./LabelWidget-xrmcVeq8-870ee165781b2cf65c51.js","vue-router","single-spa","vuex","vuetify","./ValueWidget-C6RanBj3-1821aa6088bd82d581f4.js","./DetailsDialog-DmEC5BTs-ae29c74b5a12a811ab58.js","./VWidget-DQqb7NVW-4602918435743a49de41.js","./BarColumn-C6p07yWK-a95a551de7a97b26a986.js"],function(g,f){"use strict";var r,i,a,s,u,o,c,l,n,m;return{setters:[e=>{r=e.default},e=>{i=e.default},e=>{a=e.o},e=>{s=e.resolveComponent,u=e.createElementBlock,o=e.openBlock,c=e.normalizeStyle,l=e.createVNode,n=e.mergeProps},e=>{m=e.d},null,null,null,null,null,null,null,null,null],execute:function(){const e={mixins:[a],components:{LabelvalueWidget:r,LimitsbarWidget:i},computed:{labelValueSettings(){return[...this.appliedSettings.filter(t=>t[0]==="__SCREEN_ID__"),...this.settings.filter(t=>parseInt(t[0])===0||parseInt(t[0])===1)]}}};function p(t,j,S,V,y,d){const v=s("labelvalue-widget"),b=s("limitsbar-widget");return o(),u("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[l(v,n(t.$attrs,{parameters:t.parameters,settings:d.labelValueSettings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone}),null,16,["parameters","settings","screen-values","screen-time-zone"]),l(b,n(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2,line:t.line,lineNumber:t.lineNumber}),null,16,["parameters","settings","screen-values","line","lineNumber"])],4)}const W=g("default",m(e,[["render",p]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./LabelWidget-xrmcVeq8-870ee165781b2cf65c51.js","./ValueWidget-C6RanBj3-1821aa6088bd82d581f4.js","./LimitscolumnWidget-CcLs_443-604b2033bbe5db32cec6.js","./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","vue","./main-3edbee545cea57a5f76d.js","vue-router","single-spa","vuex","vuetify","./DetailsDialog-DmEC5BTs-ae29c74b5a12a811ab58.js","./VWidget-DQqb7NVW-4602918435743a49de41.js","./BarColumn-C6p07yWK-a95a551de7a97b26a986.js"],function(d,j){"use strict";var r,i,a,u,n,o,c,m,s,l,g;return{setters:[e=>{r=e.default},e=>{i=e.default},e=>{a=e.default},e=>{u=e.o},e=>{n=e.resolveComponent,o=e.createElementBlock,c=e.openBlock,m=e.normalizeStyle,s=e.createVNode,l=e.mergeProps},e=>{g=e.d},null,null,null,null,null,null,null],execute:function(){const e={mixins:[u],components:{LabelWidget:r,ValueWidget:i,LimitscolumnWidget:a}};function p(t,V,b,w,y,x){const v=n("label-widget"),W=n("limitscolumn-widget"),f=n("value-widget");return c(),o("div",{ref:"container",style:m(t.computedStyle)},[s(v,{parameters:[t.parameters[2]],settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),s(W,l(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2,line:t.line,lineNumber:t.lineNumber}),null,16,["parameters","settings","screen-values","line","lineNumber"]),s(f,l(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"widget-index":1}),null,16,["parameters","settings","screen-values","screen-time-zone"])],4)}const S=d("default",g(e,[["render",p]]))}}});
@@ -1 +1 @@
1
- System.register(["./LabelvalueWidget-Zx_yHCtl-761beda3ba9005900e83.js","./RangebarWidget-CN0YuHqy-9b49a64ed4d1a23e9fa2.js","./Widget-fRCERxGf-6cf6e886d2d5ee76cfc6.js","vue","./main-4bad43bda3e8a8483ba9.js","./LabelWidget-t7I87dp7-c8e7d564e904105dba56.js","vue-router","single-spa","vuex","vuetify","./ValueWidget-D4RrYVEK-c90078a7e58747e8aa55.js","./DetailsDialog-BvbziA7Y-a6d191d4c24ae44227f5.js","./VWidget-C4spAawK-e7dee3c34a6d790327ec.js"],function(g,h){"use strict";var l,i,u,s,m,o,p,r,a,c;return{setters:[e=>{l=e.default},e=>{i=e.default},e=>{u=e.o},e=>{s=e.resolveComponent,m=e.createElementBlock,o=e.openBlock,p=e.normalizeStyle,r=e.createVNode,a=e.mergeProps},e=>{c=e.s},null,null,null,null,null,null,null,null],execute:function(){const e={mixins:[u],components:{LabelvalueWidget:l,RangebarWidget:i},computed:{labelValueSettings(){return[...this.settings.filter(t=>t[0]==="__SCREEN_ID__"),...this.settings.filter(t=>parseInt(t[0])===0||parseInt(t[0])===1)]},labelValueParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[5],this.parameters[6]]},rangeBarParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[3],this.parameters[4],this.parameters[5],this.parameters[7],this.parameters[8]]}}};function d(t,V,j,x,y,n){const v=s("labelvalue-widget"),f=s("rangebar-widget");return o(),m("div",{ref:"container",class:"d-flex flex-row",style:p(t.computedStyle)},[r(v,a(t.$attrs,{parameters:n.labelValueParameters,settings:n.labelValueSettings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone}),null,16,["parameters","settings","screen-values","screen-time-zone"]),r(f,a(t.$attrs,{parameters:n.rangeBarParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2}),null,16,["parameters","settings","screen-values"])],4)}const b=g("default",c(e,[["render",d]]))}}});
1
+ System.register(["./LabelvalueWidget-CQ06wWDK-1796e7cae5e984c98aaf.js","./RangebarWidget-D_zGTtCa-8bfd7bef4ad63b9af243.js","./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","vue","./main-3edbee545cea57a5f76d.js","./LabelWidget-xrmcVeq8-870ee165781b2cf65c51.js","vue-router","single-spa","vuex","vuetify","./ValueWidget-C6RanBj3-1821aa6088bd82d581f4.js","./DetailsDialog-DmEC5BTs-ae29c74b5a12a811ab58.js","./VWidget-DQqb7NVW-4602918435743a49de41.js"],function(g,f){"use strict";var l,i,u,s,m,o,p,r,a,c;return{setters:[e=>{l=e.default},e=>{i=e.default},e=>{u=e.o},e=>{s=e.resolveComponent,m=e.createElementBlock,o=e.openBlock,p=e.normalizeStyle,r=e.createVNode,a=e.mergeProps},e=>{c=e.d},null,null,null,null,null,null,null,null],execute:function(){const e={mixins:[u],components:{LabelvalueWidget:l,RangebarWidget:i},computed:{labelValueSettings(){return[...this.settings.filter(t=>t[0]==="__SCREEN_ID__"),...this.settings.filter(t=>parseInt(t[0])===0||parseInt(t[0])===1)]},labelValueParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[5],this.parameters[6]]},rangeBarParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[3],this.parameters[4],this.parameters[5],this.parameters[7],this.parameters[8]]}}};function d(t,V,W,j,B,n){const h=s("labelvalue-widget"),v=s("rangebar-widget");return o(),m("div",{ref:"container",class:"d-flex flex-row",style:p(t.computedStyle)},[r(h,a(t.$attrs,{parameters:n.labelValueParameters,settings:n.labelValueSettings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone}),null,16,["parameters","settings","screen-values","screen-time-zone"]),r(v,a(t.$attrs,{parameters:n.rangeBarParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2}),null,16,["parameters","settings","screen-values"])],4)}const b=g("default",c(e,[["render",d]]))}}});
@@ -1 +1 @@
1
- System.register(["./Widget-fRCERxGf-6cf6e886d2d5ee76cfc6.js"],function(r,s){"use strict";var e;return{setters:[t=>{e=t.o}],execute:function(){const t=r("r",{mixins:[e],props:{widgets:{type:Array,default:()=>[]}}})}}});
1
+ System.register(["./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js"],function(r,s){"use strict";var e;return{setters:[t=>{e=t.o}],execute:function(){const t=r("r",{mixins:[e],props:{widgets:{type:Array,default:()=>[]}}})}}});
@@ -0,0 +1 @@
1
+ System.register(["./main-3edbee545cea57a5f76d.js","vue","./DetailsDialog-DmEC5BTs-ae29c74b5a12a811ab58.js","single-spa","./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","vue-router","vuex","vuetify"],function(_,T){"use strict";var d,n,h,c,l,i,p,u,v,g,w,x,f,C,D,I;return{setters:[e=>{d=e.d},e=>{n=e.resolveComponent,h=e.createElementBlock,c=e.openBlock,l=e.createVNode,i=e.withCtx,p=e.createElementVNode,u=e.toDisplayString,v=e.mergeProps,g=e.Fragment,w=e.renderList,x=e.createBlock,f=e.withModifiers,C=e.createTextVNode},e=>{D=e.P},null,e=>{I=e.o},null,null,null],execute:function(){const e={components:{DetailsDialog:D},mixins:[I],data(){return{valueId:null,colors:{TRUE:"openc3-green",FALSE:"openc3-red"},viewDetails:!1,contextMenuShown:!1,x:0,y:0,contextMenuOptions:[{title:"Details",action:()=>{this.contextMenuShown=!1,this.viewDetails=!0}},{title:"Graph",action:()=>{window.open("/tools/tlmgrapher/"+encodeURIComponent(this.parameters[0])+"/"+encodeURIComponent(this.parameters[1])+"/"+encodeURIComponent(this.parameters[2]),"_blank")}}]}},computed:{width(){return this.parameters[4]?parseInt(this.parameters[4]):20},height(){return this.parameters[5]?parseInt(this.parameters[5]):20},cssProps(){let t=this.screenValues[this.valueId][0],s=this.colors[t];return s||(s=this.colors.ANY),s||(s="openc3-black"),{"--color":s}},fullName(){return this.parameters[0]+" "+this.parameters[1]+" "+this.parameters[2]},getClass(){let t="ledwidget mt-2";return this.screenValues[this.valueId][1]==="STALE"&&(t+=" stale"),t}},created(){this.appliedSettings.forEach(t=>{switch(t[0]){case"LED_COLOR":this.colors[t[1]]=t[2];break}}),this.appliedSettings.push(["WIDTH",this.width]),this.appliedSettings.push(["HEIGHT",this.height]),this.parameters[3]||(this.parameters[3]="CONVERTED"),this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${this.parameters[3]}`,this.$emit("addItem",this.valueId)},unmounted(){this.$emit("deleteItem",this.valueId)},methods:{showContextMenu(t){t.preventDefault(),this.contextMenuShown=!1,this.x=t.clientX,this.y=t.clientY,this.$nextTick(()=>{this.contextMenuShown=!0})}}};function k(t,s,$,L,r,o){const S=n("v-tooltip"),V=n("v-list-item-title"),E=n("v-list-item"),y=n("v-list"),M=n("v-menu"),N=n("details-dialog");return c(),h("div",null,[l(S,{location:"top"},{activator:i(({props:a})=>[p("div",v({class:o.getClass,style:[o.cssProps,t.computedStyle]},a,{onContextmenu:s[0]||(s[0]=(...m)=>o.showContextMenu&&o.showContextMenu(...m))}),null,16)]),default:i(()=>[p("span",null,u(o.fullName),1)]),_:1}),l(M,{modelValue:r.contextMenuShown,"onUpdate:modelValue":s[1]||(s[1]=a=>r.contextMenuShown=a),target:[r.x,r.y],style:{"z-index":"3000"}},{default:i(()=>[l(y,null,{default:i(()=>[(c(!0),h(g,null,w(r.contextMenuOptions,(a,m)=>(c(),x(E,{key:m,onClick:f(a.action,["stop"])},{default:i(()=>[l(V,null,{default:i(()=>[C(u(a.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),l(N,{"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2],modelValue:r.viewDetails,"onUpdate:modelValue":s[2]||(s[2]=a=>r.viewDetails=a)},null,8,["target-name","packet-name","item-name","modelValue"])])}const B=_("default",d(e,[["render",k],["__scopeId","data-v-a468dd16"]]))}}});
@@ -1 +1 @@
1
- System.register(["./BarColumn-C9dkpg2O-7723dc0faa77b237d7f9.js","vue","./main-4bad43bda3e8a8483ba9.js","./Widget-fRCERxGf-6cf6e886d2d5ee76cfc6.js","vue-router","single-spa","vuex","vuetify"],function(d,p){"use strict";var l,r,a,n,s,t,o,c,m;return{setters:[i=>{l=i.l},i=>{r=i.resolveComponent,a=i.createBlock,n=i.openBlock,s=i.withCtx,t=i.createElementVNode,o=i.toDisplayString,c=i.mergeProps},i=>{m=i.s},null,null,null,null,null],execute:function(){const i={mixins:[l],data(){return{width:160,height:22}},computed:{limitsRange(){let e=this.limitsSettings[this.selectedLimitsSet];if(e)return e.length===4?`RL/${e[0]} YL/${e[1]} YH/${e[2]} RH/${e[3]}`:`RL/${e[0]} YL/${e[1]} YH/${e[2]} RH/${e[3]} GL/${e[4]} GH/${e[5]}`;throw{line:this.line,lineNumber:this.lineNumber,keyword:"LIMITSBAR",parameters:this.parameters,message:"Item has no limits settings",usage:"Only items with limits"}}},created(){this.verifyNumParams("LIMITSBAR",3,6,"LIMITSBAR <TARGET> <PACKET> <ITEM> <TYPE> <WIDTH> <HEIGHT>")}};function v(e,u,w,I,R,_){const g=r("v-tooltip");return n(),a(g,{location:"top"},{activator:s(({props:h})=>[t("div",c({class:"limitsbar",style:[e.cssProps,e.computedStyle]},h),u[0]||(u[0]=[t("div",{class:"limitsbar__container"},[t("div",{class:"limitsbar__redlow"}),t("div",{class:"limitsbar__redhigh"}),t("div",{class:"limitsbar__yellowlow"}),t("div",{class:"limitsbar__yellowhigh"}),t("div",{class:"limitsbar__greenlow"}),t("div",{class:"limitsbar__greenhigh"}),t("div",{class:"limitsbar__blue"}),t("div",{class:"limitsbar__line"}),t("div",{class:"limitsbar__arrow"})],-1)]),16)]),default:s(()=>[t("span",null,o(_.limitsRange),1)]),_:1})}const b=d("default",m(i,[["render",v],["__scopeId","data-v-de501268"]]))}}});
1
+ System.register(["./BarColumn-C6p07yWK-a95a551de7a97b26a986.js","vue","./main-3edbee545cea57a5f76d.js","./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","vue-router","single-spa","vuex","vuetify"],function(u,g){"use strict";var l,r,a,n,s,t,o,c,m;return{setters:[i=>{l=i.l},i=>{r=i.resolveComponent,a=i.createBlock,n=i.openBlock,s=i.withCtx,t=i.createElementVNode,o=i.toDisplayString,c=i.mergeProps},i=>{m=i.d},null,null,null,null,null],execute:function(){const i={mixins:[l],data(){return{width:160,height:22}},computed:{limitsRange(){let e=this.limitsSettings[this.selectedLimitsSet];if(e)return e.length===4?`RL/${e[0]} YL/${e[1]} YH/${e[2]} RH/${e[3]}`:`RL/${e[0]} YL/${e[1]} YH/${e[2]} RH/${e[3]} GL/${e[4]} GH/${e[5]}`;throw{line:this.line,lineNumber:this.lineNumber,keyword:"LIMITSBAR",parameters:this.parameters,message:"Item has no limits settings",usage:"Only items with limits"}}},created(){this.verifyNumParams("LIMITSBAR",3,6,"LIMITSBAR <TARGET> <PACKET> <ITEM> <TYPE> <WIDTH> <HEIGHT>")}};function v(e,d,y,w,I,_){const h=r("v-tooltip");return n(),a(h,{location:"top"},{activator:s(({props:p})=>[t("div",c({class:"limitsbar",style:[e.cssProps,e.computedStyle]},p),d[0]||(d[0]=[t("div",{class:"limitsbar__container"},[t("div",{class:"limitsbar__redlow"}),t("div",{class:"limitsbar__redhigh"}),t("div",{class:"limitsbar__yellowlow"}),t("div",{class:"limitsbar__yellowhigh"}),t("div",{class:"limitsbar__greenlow"}),t("div",{class:"limitsbar__greenhigh"}),t("div",{class:"limitsbar__blue"}),t("div",{class:"limitsbar__line"}),t("div",{class:"limitsbar__arrow"})],-1)]),16)]),default:s(()=>[t("span",null,o(_.limitsRange),1)]),_:1})}const b=u("default",m(i,[["render",v],["__scopeId","data-v-de501268"]]))}}});
@@ -1 +1 @@
1
- System.register(["./VWidget-C4spAawK-e7dee3c34a6d790327ec.js","vue","./main-4bad43bda3e8a8483ba9.js","./Widget-fRCERxGf-6cf6e886d2d5ee76cfc6.js","vue-router","single-spa","vuex","vuetify"],function(d,C){"use strict";var l,i,n,a,s,o,p,m,u,c;return{setters:[e=>{l=e.L},e=>{i=e.resolveComponent,n=e.createElementBlock,a=e.openBlock,s=e.normalizeStyle,o=e.createElementVNode,p=e.createBlock,m=e.createCommentVNode,u=e.normalizeClass},e=>{c=e.s},null,null,null,null,null],execute:function(){const e={mixins:[l],data(){return{radius:15,fullLabelDisplay:!1,displayLabel:!0}},created(){this.parameters[4]&&(this.radius=parseInt(this.parameters[4])),this.parameters[5]&&(this.parameters[5].toLowerCase()==="true"?this.fullLabelDisplay=!0:this.parameters[5].toLowerCase()==="nil"?this.displayLabel=!1:this.parameters[5].toLowerCase()==="none"&&(this.displayLabel=!1))},computed:{labelName(){return this.fullLabelDisplay?[this.parameters[0]+" "+this.parameters[1]+" "+this.parameters[2]]:[this.parameters[2]]},cssProps(){return{"--height":this.radius+"px","--width":this.radius+"px"}},myComputedStyle(){return delete this.computedStyle.flex,this.computedStyle}},methods:{getType(){let t="CONVERTED";return this.parameters[3]&&(t=this.parameters[3]),t}}};function h(t,g,L,v,y,r){const f=i("label-widget");return a(),n("div",{ref:"container",class:"d-flex flex-row",style:s(r.myComputedStyle)},[o("div",{class:u(`led align-self-center ${this.limitsColor}`),style:s(r.cssProps)},null,6),y.displayLabel?(a(),p(f,{key:0,parameters:r.labelName,settings:t.appliedSettings,style:s(t.computedStyle),"widget-index":1},null,8,["parameters","settings","style"])):m("",!0)],4)}const b=d("default",c(e,[["render",h],["__scopeId","data-v-b106d59f"]]))}}});
1
+ System.register(["./VWidget-DQqb7NVW-4602918435743a49de41.js","vue","./main-3edbee545cea57a5f76d.js","./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","vue-router","single-spa","vuex","vuetify"],function(d,b){"use strict";var l,i,n,a,s,o,p,m,u,c;return{setters:[e=>{l=e.L},e=>{i=e.resolveComponent,n=e.createElementBlock,a=e.openBlock,s=e.normalizeStyle,o=e.createElementVNode,p=e.createBlock,m=e.createCommentVNode,u=e.normalizeClass},e=>{c=e.d},null,null,null,null,null],execute:function(){const e={mixins:[l],data(){return{radius:15,fullLabelDisplay:!1,displayLabel:!0}},created(){this.parameters[4]&&(this.radius=parseInt(this.parameters[4])),this.parameters[5]&&(this.parameters[5].toLowerCase()==="true"?this.fullLabelDisplay=!0:this.parameters[5].toLowerCase()==="nil"?this.displayLabel=!1:this.parameters[5].toLowerCase()==="none"&&(this.displayLabel=!1))},computed:{labelName(){return this.fullLabelDisplay?[this.parameters[0]+" "+this.parameters[1]+" "+this.parameters[2]]:[this.parameters[2]]},cssProps(){return{"--height":this.radius+"px","--width":this.radius+"px"}},myComputedStyle(){return delete this.computedStyle.flex,this.computedStyle}},methods:{getType(){let t="CONVERTED";return this.parameters[3]&&(t=this.parameters[3]),t}}};function h(t,g,L,v,y,r){const f=i("label-widget");return a(),n("div",{ref:"container",class:"d-flex flex-row",style:s(r.myComputedStyle)},[o("div",{class:u(`led align-self-center ${this.limitsColor}`),style:s(r.cssProps)},null,6),y.displayLabel?(a(),p(f,{key:0,parameters:r.labelName,settings:t.appliedSettings,style:s(t.computedStyle),"widget-index":1},null,8,["parameters","settings","style"])):m("",!0)],4)}const C=d("default",c(e,[["render",h],["__scopeId","data-v-b106d59f"]]))}}});
@@ -1 +1 @@
1
- System.register(["./BarColumn-C9dkpg2O-7723dc0faa77b237d7f9.js","vue","./main-4bad43bda3e8a8483ba9.js","./Widget-fRCERxGf-6cf6e886d2d5ee76cfc6.js","vue-router","single-spa","vuex","vuetify"],function(n,v){"use strict";var a,s,l,r,h,d;return{setters:[i=>{a=i.l},i=>{s=i.createElementBlock,l=i.openBlock,r=i.normalizeStyle,h=i.createStaticVNode},i=>{d=i.s},null,null,null,null,null],execute:function(){const i={mixins:[a],data(){return{width:22,height:120}},computed:{cssProps:function(){let e=this.screenValues[this.valueId][0],t=this.modifyLimits(this.limitsSettings[this.selectedLimitsSet]);if(t)return this.calcLimits(t),{"--height":this.height+"px","--width":this.width+"px","--container-width":this.width-5+"px","--position":this.calcPosition(e,t)+"%","--redlow-height":this.redLow+"%","--redhigh-height":this.redHigh+"%","--yellowlow-height":this.yellowLow+"%","--yellowhigh-height":this.yellowHigh+"%","--greenlow-height":this.greenLow+"%","--greenhigh-height":this.greenHigh+"%","--blue-height":this.blue+"%"};throw{line:this.line,lineNumber:this.lineNumber,keyword:"LIMITSCOLUMN",parameters:this.parameters,message:"Item has no limits settings",usage:"Only items with limits"}}},created(){this.verifyNumParams("LIMITSCOLUMN",3,6,"LIMITSCOLUMN <TARGET> <PACKET> <ITEM> <TYPE> <WIDTH> <HEIGHT>")}};function o(e,t,g,u,b,c){return l(),s("div",{class:"limitsbar",style:r([c.cssProps,e.computedStyle])},t[0]||(t[0]=[h('<div class="limitsbar__container" data-v-a4a8f4ab><div class="limitsbar__redlow" data-v-a4a8f4ab></div><div class="limitsbar__redhigh" data-v-a4a8f4ab></div><div class="limitsbar__yellowlow" data-v-a4a8f4ab></div><div class="limitsbar__yellowhigh" data-v-a4a8f4ab></div><div class="limitsbar__greenlow" data-v-a4a8f4ab></div><div class="limitsbar__greenhigh" data-v-a4a8f4ab></div><div class="limitsbar__blue" data-v-a4a8f4ab></div><div class="limitsbar__line" data-v-a4a8f4ab></div><div class="limitsbar__arrow" data-v-a4a8f4ab></div></div>',1)]),4)}const m=n("default",d(i,[["render",o],["__scopeId","data-v-a4a8f4ab"]]))}}});
1
+ System.register(["./BarColumn-C6p07yWK-a95a551de7a97b26a986.js","vue","./main-3edbee545cea57a5f76d.js","./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","vue-router","single-spa","vuex","vuetify"],function(n,v){"use strict";var a,s,l,r,h,d;return{setters:[i=>{a=i.l},i=>{s=i.createElementBlock,l=i.openBlock,r=i.normalizeStyle,h=i.createStaticVNode},i=>{d=i.d},null,null,null,null,null],execute:function(){const i={mixins:[a],data(){return{width:22,height:120}},computed:{cssProps:function(){let e=this.screenValues[this.valueId][0],t=this.modifyLimits(this.limitsSettings[this.selectedLimitsSet]);if(t)return this.calcLimits(t),{"--height":this.height+"px","--width":this.width+"px","--container-width":this.width-5+"px","--position":this.calcPosition(e,t)+"%","--redlow-height":this.redLow+"%","--redhigh-height":this.redHigh+"%","--yellowlow-height":this.yellowLow+"%","--yellowhigh-height":this.yellowHigh+"%","--greenlow-height":this.greenLow+"%","--greenhigh-height":this.greenHigh+"%","--blue-height":this.blue+"%"};throw{line:this.line,lineNumber:this.lineNumber,keyword:"LIMITSCOLUMN",parameters:this.parameters,message:"Item has no limits settings",usage:"Only items with limits"}}},created(){this.verifyNumParams("LIMITSCOLUMN",3,6,"LIMITSCOLUMN <TARGET> <PACKET> <ITEM> <TYPE> <WIDTH> <HEIGHT>")}};function o(e,t,g,u,b,c){return l(),s("div",{class:"limitsbar",style:r([c.cssProps,e.computedStyle])},t[0]||(t[0]=[h('<div class="limitsbar__container" data-v-a4a8f4ab><div class="limitsbar__redlow" data-v-a4a8f4ab></div><div class="limitsbar__redhigh" data-v-a4a8f4ab></div><div class="limitsbar__yellowlow" data-v-a4a8f4ab></div><div class="limitsbar__yellowhigh" data-v-a4a8f4ab></div><div class="limitsbar__greenlow" data-v-a4a8f4ab></div><div class="limitsbar__greenhigh" data-v-a4a8f4ab></div><div class="limitsbar__blue" data-v-a4a8f4ab></div><div class="limitsbar__line" data-v-a4a8f4ab></div><div class="limitsbar__arrow" data-v-a4a8f4ab></div></div>',1)]),4)}const m=n("default",d(i,[["render",o],["__scopeId","data-v-a4a8f4ab"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./GraphWidget-DurWDmpg-1d3f53de02fa1378a1c8.js","./main-3edbee545cea57a5f76d.js","vue","./Graph-Bgo0cjl3-34cca1d79d056287c70c.js","single-spa","./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","vue-router","vuex","vuetify"],function(p,u){"use strict";var s,n,r,o,a,l,d;return{setters:[t=>{s=t._},t=>{n=t.d},t=>{r=t.resolveComponent,o=t.createBlock,a=t.openBlock,l=t.normalizeStyle},t=>{d=t.S},null,null,null,null,null],execute:function(){const t={components:{Graph:d},mixins:[s]};function h(e,i,m,v,y,S){const c=r("graph");return a(),o(c,{ref:"graph"+e.id,id:e.id,state:e.state,"selected-graph-id":e.id,startTime:e.startTime,"seconds-graphed":e.secondsGraphed,"points-saved":e.pointsSaved,"points-graphed":e.pointsGraphed,"initial-items":e.items,height:e.size.height,width:e.size.width,style:l(e.computedStyle),"time-zone":this.screenTimeZone,onPause:i[0]||(i[0]=()=>e.state="pause"),onStart:i[1]||(i[1]=()=>e.state="start"),"hide-toolbar":"","hide-overview":""},null,8,["id","state","selected-graph-id","startTime","seconds-graphed","points-saved","points-graphed","initial-items","height","width","style","time-zone"])}const g=p("default",n(t,[["render",h]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Layout-Tf--nruw-77595e15c57a061b0dba.js","./main-3edbee545cea57a5f76d.js","vue","./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","vue-router","single-spa","vuex","vuetify"],function(f,C){"use strict";var c,o,m,r,n,g,a,l,p,d,y;return{setters:[e=>{c=e.r},e=>{o=e.d,m=e.a},e=>{r=e.createElementBlock,n=e.openBlock,g=e.normalizeStyle,a=e.Fragment,l=e.renderList,p=e.createBlock,d=e.resolveDynamicComponent,y=e.mergeProps},null,null,null,null,null],execute:function(){const e={mixins:[c],computed:{columns(){return parseInt(this.parameters[0])},widgetChunks(){return m.chunk(this.widgets,this.columns)}},created:function(){if(this.parameters[1]){let s=this.parameters[1];this.widgets.forEach(u=>{u.settings.find(i=>i[0]==="MARGIN"||i[0]==="RAW"&&i[1].toUpperCase().includes("MARGIN"))===void 0&&u.settings.push(["MARGIN",s])})}}};function h(s,u,i,A,z,k){return n(),r("table",{style:g(s.computedStyle),role:"presentation"},[(n(!0),r(a,null,l(k.widgetChunks,(v,w)=>(n(),r("tr",{key:"r"+w},[(n(!0),r(a,null,l(v,(t,B)=>(n(),r("td",{key:"c"+B},[(n(),p(d(t.type),y({ref_for:!0},s.listeners,{target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":s.screenValues,"screen-time-zone":s.screenTimeZone,widgets:t.widgets,name:t.name,line:t.line,"line-number":t.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))]))),128))]))),128))],4)}const b=f("default",o(e,[["render",h]]))}}});
@@ -1 +1 @@
1
- System.register(["./Widget-fRCERxGf-6cf6e886d2d5ee76cfc6.js","vue","./main-4bad43bda3e8a8483ba9.js","vue-router","single-spa","vuex","vuetify"],function(u,p){"use strict";var s,a,l,r,n,i;return{setters:[e=>{s=e.o},e=>{a=e.resolveComponent,l=e.createBlock,r=e.openBlock,n=e.normalizeStyle},e=>{i=e.s},null,null,null,null],execute:function(){const e={mixins:[s],props:{value:{default:null}},data:function(){return{valueId:null,scaleFactor:1,width:150}},computed:{_value:function(){let t=this.value;return t===null&&(t=this.screenValues[this.valueId][0]),parseInt(parseFloat(t)*this.scaleFactor)}},created:function(){if(this.parameters[3]&&(this.scaleFactor=parseFloat(this.parameters[3])),this.width=this.setWidth(this.parameters[4],"px",this.width),this.value===null){let t="CONVERTED";this.parameters[5]&&(t=this.parameters[5]),this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${t}`,this.$emit("addItem",this.valueId)}},unmounted:function(){this.$emit("deleteItem",this.valueId)}};function o(t,m,v,f,I,c){const h=a("rux-progress");return r(),l(h,{value:c._value,class:"progress",style:n(t.computedStyle)},null,8,["value","style"])}const d=u("default",i(e,[["render",o],["__scopeId","data-v-85bc2857"]]))}}});
1
+ System.register(["./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","vue","./main-3edbee545cea57a5f76d.js","vue-router","single-spa","vuex","vuetify"],function(u,p){"use strict";var s,a,l,r,n,i;return{setters:[e=>{s=e.o},e=>{a=e.resolveComponent,l=e.createBlock,r=e.openBlock,n=e.normalizeStyle},e=>{i=e.d},null,null,null,null],execute:function(){const e={mixins:[s],props:{value:{default:null}},data:function(){return{valueId:null,scaleFactor:1,width:150}},computed:{_value:function(){let t=this.value;return t===null&&(t=this.screenValues[this.valueId][0]),parseInt(parseFloat(t)*this.scaleFactor)}},created:function(){if(this.parameters[3]&&(this.scaleFactor=parseFloat(this.parameters[3])),this.width=this.setWidth(this.parameters[4],"px",this.width),this.value===null){let t="CONVERTED";this.parameters[5]&&(t=this.parameters[5]),this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${t}`,this.$emit("addItem",this.valueId)}},unmounted:function(){this.$emit("deleteItem",this.valueId)}};function o(t,m,v,f,I,c){const h=a("rux-progress");return r(),l(h,{value:c._value,class:"progress",style:n(t.computedStyle)},null,8,["value","style"])}const d=u("default",i(e,[["render",o],["__scopeId","data-v-85bc2857"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","vue","./main-3edbee545cea57a5f76d.js","vue-router","single-spa","vuex","vuetify"],function(s,v){"use strict";var l,t,n,r,a,o;return{setters:[e=>{l=e.o},e=>{t=e.resolveComponent,n=e.createBlock,r=e.openBlock,a=e.normalizeStyle},e=>{o=e.d},null,null,null,null],execute:function(){const e={props:{value:{type:Number}},mixins:[l],data(){return{label:"Radio"}},created(){this.label=this.parameters[0]}};function u(i,m,c,b,d,f){const p=t("v-radio");return r(),n(p,{"hide-details":"",dense:"",label:d.label,style:a(i.computedStyle),value:c.value},null,8,["label","style","value"])}const y=s("default",o(e,[["render",u]]))}}});
@@ -1 +1 @@
1
- System.register(["./Layout-Bh7VzCZd-dcb9c3641454e6c67c47.js","vue","./main-4bad43bda3e8a8483ba9.js","./Widget-fRCERxGf-6cf6e886d2d5ee76cfc6.js","vue-router","single-spa","vuex","vuetify"],function(f,k){"use strict";var a,l,s,r,c,o,i,u,m,d,p,g;return{setters:[e=>{a=e.r},e=>{l=e.resolveComponent,s=e.createBlock,r=e.openBlock,c=e.normalizeStyle,o=e.withCtx,i=e.createElementBlock,u=e.Fragment,m=e.renderList,d=e.resolveDynamicComponent,p=e.mergeProps},e=>{g=e.s},null,null,null,null,null],execute:function(){const e={mixins:[a],data(){return{selectedIndex:0}},created(){this.parameters[0]&&(this.selectedIndex=parseInt(this.parameters[0]))},methods:{selected(){return this.selectedIndex}}};function h(n,v,I,z,y,V){const C=l("v-radio-group");return r(),s(C,{"hide-details":"",density:"compact",modelValue:y.selectedIndex,"onUpdate:modelValue":v[0]||(v[0]=t=>y.selectedIndex=t),style:c(n.computedStyle)},{default:o(()=>[(r(!0),i(u,null,m(n.widgets,(t,x)=>(r(),s(d(t.type),p({ref_for:!0},n.listeners,{value:x,key:x,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":n.screenValues,"screen-time-zone":n.screenTimeZone,name:t.name}),null,16,["value","target","parameters","settings","screen-values","screen-time-zone","name"]))),128))]),_:1},8,["modelValue","style"])}const B=f("default",g(e,[["render",h]]))}}});
1
+ System.register(["./Layout-Tf--nruw-77595e15c57a061b0dba.js","vue","./main-3edbee545cea57a5f76d.js","./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","vue-router","single-spa","vuex","vuetify"],function(f,C){"use strict";var a,l,s,r,o,c,i,u,m,d,p,g;return{setters:[e=>{a=e.r},e=>{l=e.resolveComponent,s=e.createBlock,r=e.openBlock,o=e.normalizeStyle,c=e.withCtx,i=e.createElementBlock,u=e.Fragment,m=e.renderList,d=e.resolveDynamicComponent,p=e.mergeProps},e=>{g=e.d},null,null,null,null,null],execute:function(){const e={mixins:[a],data(){return{selectedIndex:0}},created(){this.parameters[0]&&(this.selectedIndex=parseInt(this.parameters[0]))},methods:{selected(){return this.selectedIndex}}};function h(n,v,B,w,y,z){const k=l("v-radio-group");return r(),s(k,{"hide-details":"",density:"compact",modelValue:y.selectedIndex,"onUpdate:modelValue":v[0]||(v[0]=t=>y.selectedIndex=t),style:o(n.computedStyle)},{default:c(()=>[(r(!0),i(u,null,m(n.widgets,(t,x)=>(r(),s(d(t.type),p({ref_for:!0},n.listeners,{value:x,key:x,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":n.screenValues,"screen-time-zone":n.screenTimeZone,name:t.name}),null,16,["value","target","parameters","settings","screen-values","screen-time-zone","name"]))),128))]),_:1},8,["modelValue","style"])}const I=f("default",g(e,[["render",h]]))}}});
@@ -1 +1 @@
1
- System.register(["./Widget-fRCERxGf-6cf6e886d2d5ee76cfc6.js","vue","./main-4bad43bda3e8a8483ba9.js","vue-router","single-spa","vuex","vuetify"],function(c,d){"use strict";var r,a,n,h,i,l;return{setters:[t=>{r=t.o},t=>{a=t.createElementBlock,n=t.openBlock,h=t.normalizeStyle,i=t.createElementVNode},t=>{l=t.s},null,null,null,null],execute:function(){const t={mixins:[r],data(){return{width:160,height:22}},computed:{cssProps(){return{"--height":this.height+"px","--width":this.width+"px","--container-height":this.height-5+"px","--position":this.calcPosition()+"%"}},min(){return parseInt(this.parameters[3])},max(){return parseInt(this.parameters[4])},range(){return this.max-this.min}},created(){const e=this.parameters[5]?this.parameters[5]:"CONVERTED";this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${e}`,this.$emit("addItem",this.valueId),this.width=this.setWidth(this.parameters[6],"px",this.width),this.height=this.setHeight(this.parameters[7],"px",this.height)},unmounted(){this.$emit("deleteItem",this.valueId)},methods:{calcPosition(){let e=this.screenValues[this.valueId][0];if(!e)return 0;if(e.raw)return e.raw==="-Infinity"?0:100;const s=(e-this.min)/this.range*100;return s>100?100:s<0?0:s}}};function o(e,s,p,g,v,u){return n(),a("div",{class:"rangebar",style:h([u.cssProps,e.computedStyle])},s[0]||(s[0]=[i("div",{class:"rangebar__container"},[i("div",{class:"rangebar__line"}),i("div",{class:"rangebar__arrow"})],-1)]),4)}const m=c("default",l(t,[["render",o],["__scopeId","data-v-34d37e7c"]]))}}});
1
+ System.register(["./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","vue","./main-3edbee545cea57a5f76d.js","vue-router","single-spa","vuex","vuetify"],function(c,u){"use strict";var r,a,n,h,i,l;return{setters:[t=>{r=t.o},t=>{a=t.createElementBlock,n=t.openBlock,h=t.normalizeStyle,i=t.createElementVNode},t=>{l=t.d},null,null,null,null],execute:function(){const t={mixins:[r],data(){return{width:160,height:22}},computed:{cssProps(){return{"--height":this.height+"px","--width":this.width+"px","--container-height":this.height-5+"px","--position":this.calcPosition()+"%"}},min(){return parseInt(this.parameters[3])},max(){return parseInt(this.parameters[4])},range(){return this.max-this.min}},created(){const e=this.parameters[5]?this.parameters[5]:"CONVERTED";this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${e}`,this.$emit("addItem",this.valueId),this.width=this.setWidth(this.parameters[6],"px",this.width),this.height=this.setHeight(this.parameters[7],"px",this.height)},unmounted(){this.$emit("deleteItem",this.valueId)},methods:{calcPosition(){let e=this.screenValues[this.valueId][0];if(!e)return 0;if(e.raw)return e.raw==="-Infinity"?0:100;const s=(e-this.min)/this.range*100;return s>100?100:s<0?0:s}}};function o(e,s,p,g,v,d){return n(),a("div",{class:"rangebar",style:h([d.cssProps,e.computedStyle])},s[0]||(s[0]=[i("div",{class:"rangebar__container"},[i("div",{class:"rangebar__line"}),i("div",{class:"rangebar__arrow"})],-1)]),4)}const m=c("default",l(t,[["render",o],["__scopeId","data-v-34d37e7c"]]))}}});
@@ -1,4 +1,4 @@
1
- System.register(["./Updater-82fa1a354a9721098906.js","vue","./main-4bad43bda3e8a8483ba9.js"],function(at,fe){"use strict";var X,y,B,L,V,Q,m,c,d,T,W,F,_,j,A;return{setters:[f=>{X=f.U},f=>{y=f.resolveComponent,B=f.withDirectives,L=f.createElementBlock,V=f.openBlock,Q=f.normalizeStyle,m=f.createElementVNode,c=f.createVNode,d=f.withCtx,T=f.normalizeProps,W=f.guardReactiveProps,F=f.createTextVNode,_=f.toDisplayString,j=f.vShow},f=>{A=f._}],execute:function(){var f=document.createElement("style");f.textContent=`.raw-dialog[data-v-b400cbdd]{position:absolute;top:0;left:5px;z-index:1;border:solid;border-width:1px;border-color:#fff;resize:vertical;overflow:auto;min-height:28px;max-height:85vh;width:815px;background-color:var(--color-background-base-selected)}.raw-dialog .toolbar-wrapper[data-v-b400cbdd]{position:sticky;top:0;z-index:1}.raw-dialog[data-v-b400cbdd] .v-card-text{background-color:var(--color-background-base-selected)}.v-textarea[data-v-b400cbdd] textarea{margin-top:10px;font-family:Courier New,Courier,monospace;overflow-y:hidden}
1
+ System.register(["./Updater-30365f17f9b4eb94ca1e.js","vue","./main-3edbee545cea57a5f76d.js"],function(at,fe){"use strict";var X,y,B,L,V,Q,m,c,d,T,W,F,_,j,A;return{setters:[f=>{X=f.U},f=>{y=f.resolveComponent,B=f.withDirectives,L=f.createElementBlock,V=f.openBlock,Q=f.normalizeStyle,m=f.createElementVNode,c=f.createVNode,d=f.withCtx,T=f.normalizeProps,W=f.guardReactiveProps,F=f.createTextVNode,_=f.toDisplayString,j=f.vShow},f=>{A=f._}],execute:function(){var f=document.createElement("style");f.textContent=`.raw-dialog[data-v-b400cbdd]{position:absolute;top:0;left:5px;z-index:1;border:solid;border-width:1px;border-color:#fff;resize:vertical;overflow:auto;min-height:28px;max-height:85vh;width:815px;background-color:var(--color-background-base-selected)}.raw-dialog .toolbar-wrapper[data-v-b400cbdd]{position:sticky;top:0;z-index:1}.raw-dialog[data-v-b400cbdd] .v-card-text{background-color:var(--color-background-base-selected)}.v-textarea[data-v-b400cbdd] textarea{margin-top:10px;font-family:Courier New,Courier,monospace;overflow-y:hidden}
2
2
  /*$vite$:1*/`,document.head.appendChild(f);const G=6048e5,rt=864e5,$=Symbol.for("constructDateFrom");function k(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&$ in e?e[$](t):e instanceof Date?new e.constructor(t):new Date(t)}function v(e,t){return k(t||e,e)}let it={};function q(){return it}function Y(e,t){var s,l,h,w;const n=q(),a=(t==null?void 0:t.weekStartsOn)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((w=(h=n.locale)==null?void 0:h.options)==null?void 0:w.weekStartsOn)??0,r=v(e,t==null?void 0:t.in),i=r.getDay(),o=(i<a?7:0)+i-a;return r.setDate(r.getDate()-o),r.setHours(0,0,0,0),r}function R(e,t){return Y(e,{...t,weekStartsOn:1})}function I(e,t){const n=v(e,t==null?void 0:t.in),a=n.getFullYear(),r=k(n,0);r.setFullYear(a+1,0,4),r.setHours(0,0,0,0);const i=R(r),o=k(n,0);o.setFullYear(a,0,4),o.setHours(0,0,0,0);const s=R(o);return n.getTime()>=i.getTime()?a+1:n.getTime()>=s.getTime()?a:a-1}function z(e){const t=v(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function ot(e,...t){const n=k.bind(null,t.find(a=>typeof a=="object"));return t.map(n)}function J(e,t){const n=v(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function st(e,t,n){const[a,r]=ot(n==null?void 0:n.in,e,t),i=J(a),o=J(r),s=+i-z(i),l=+o-z(o);return Math.round((s-l)/rt)}function ut(e,t){const n=I(e,t),a=k(e,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),R(a)}function ct(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function dt(e){return!(!ct(e)&&typeof e!="number"||isNaN(+v(e)))}function lt(e,t){const n=v(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const ft={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},ht=(e,t,n)=>{let a;const r=ft[e];return typeof r=="string"?a=r:t===1?a=r.one:a=r.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a};function H(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const mt={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},gt={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},wt={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},bt={date:H({formats:mt,defaultWidth:"full"}),time:H({formats:gt,defaultWidth:"full"}),dateTime:H({formats:wt,defaultWidth:"full"})},yt={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},vt=(e,t,n,a)=>yt[e];function C(e){return(t,n)=>{const a=n!=null&&n.context?String(n.context):"standalone";let r;if(a==="formatting"&&e.formattingValues){const o=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):o;r=e.formattingValues[s]||e.formattingValues[o]}else{const o=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[o]}const i=e.argumentCallback?e.argumentCallback(t):t;return r[i]}}const pt={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},xt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Dt={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},kt={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Pt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Mt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Ot={ordinalNumber:(e,t)=>{const n=Number(e),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:C({values:pt,defaultWidth:"wide"}),quarter:C({values:xt,defaultWidth:"wide",argumentCallback:e=>e-1}),month:C({values:Dt,defaultWidth:"wide"}),day:C({values:kt,defaultWidth:"wide"}),dayPeriod:C({values:Pt,defaultWidth:"wide",formattingValues:Mt,defaultFormattingWidth:"wide"})};function E(e){return(t,n={})=>{const a=n.width,r=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],i=t.match(r);if(!i)return null;const o=i[0],s=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?St(s,p=>p.test(o)):_t(s,p=>p.test(o));let h;h=e.valueCallback?e.valueCallback(l):l,h=n.valueCallback?n.valueCallback(h):h;const w=t.slice(o.length);return{value:h,rest:w}}}function _t(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function St(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function Tt(e){return(t,n={})=>{const a=t.match(e.matchPattern);if(!a)return null;const r=a[0],i=t.match(e.parsePattern);if(!i)return null;let o=e.valueCallback?e.valueCallback(i[0]):i[0];o=n.valueCallback?n.valueCallback(o):o;const s=t.slice(r.length);return{value:o,rest:s}}}const Wt=/^(\d+)(th|st|nd|rd)?/i,Yt=/\d+/i,Ct={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Et={any:[/^b/i,/^(a|c)/i]},Nt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Ft={any:[/1/i,/2/i,/3/i,/4/i]},qt={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Rt={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Ht={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Xt={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Bt={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Lt={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Vt={ordinalNumber:Tt({matchPattern:Wt,parsePattern:Yt,valueCallback:e=>parseInt(e,10)}),era:E({matchPatterns:Ct,defaultMatchWidth:"wide",parsePatterns:Et,defaultParseWidth:"any"}),quarter:E({matchPatterns:Nt,defaultMatchWidth:"wide",parsePatterns:Ft,defaultParseWidth:"any",valueCallback:e=>e+1}),month:E({matchPatterns:qt,defaultMatchWidth:"wide",parsePatterns:Rt,defaultParseWidth:"any"}),day:E({matchPatterns:Ht,defaultMatchWidth:"wide",parsePatterns:Xt,defaultParseWidth:"any"}),dayPeriod:E({matchPatterns:Bt,defaultMatchWidth:"any",parsePatterns:Lt,defaultParseWidth:"any"})},Qt={code:"en-US",formatDistance:ht,formatLong:bt,formatRelative:vt,localize:Ot,match:Vt,options:{weekStartsOn:0,firstWeekContainsDate:1}};function jt(e,t){const n=v(e,t==null?void 0:t.in);return st(n,lt(n))+1}function At(e,t){const n=v(e,t==null?void 0:t.in),a=+R(n)-+ut(n);return Math.round(a/G)+1}function U(e,t){var w,p,x,M;const n=v(e,t==null?void 0:t.in),a=n.getFullYear(),r=q(),i=(t==null?void 0:t.firstWeekContainsDate)??((p=(w=t==null?void 0:t.locale)==null?void 0:w.options)==null?void 0:p.firstWeekContainsDate)??r.firstWeekContainsDate??((M=(x=r.locale)==null?void 0:x.options)==null?void 0:M.firstWeekContainsDate)??1,o=k((t==null?void 0:t.in)||e,0);o.setFullYear(a+1,0,i),o.setHours(0,0,0,0);const s=Y(o,t),l=k((t==null?void 0:t.in)||e,0);l.setFullYear(a,0,i),l.setHours(0,0,0,0);const h=Y(l,t);return+n>=+s?a+1:+n>=+h?a:a-1}function Gt(e,t){var s,l,h,w;const n=q(),a=(t==null?void 0:t.firstWeekContainsDate)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.firstWeekContainsDate)??n.firstWeekContainsDate??((w=(h=n.locale)==null?void 0:h.options)==null?void 0:w.firstWeekContainsDate)??1,r=U(e,t),i=k((t==null?void 0:t.in)||e,0);return i.setFullYear(r,0,a),i.setHours(0,0,0,0),Y(i,t)}function $t(e,t){const n=v(e,t==null?void 0:t.in),a=+Y(n,t)-+Gt(n,t);return Math.round(a/G)+1}function u(e,t){const n=e<0?"-":"",a=Math.abs(e).toString().padStart(t,"0");return n+a}const P={y(e,t){const n=e.getFullYear(),a=n>0?n:1-n;return u(t==="yy"?a%100:a,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):u(n+1,2)},d(e,t){return u(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return u(e.getHours()%12||12,t.length)},H(e,t){return u(e.getHours(),t.length)},m(e,t){return u(e.getMinutes(),t.length)},s(e,t){return u(e.getSeconds(),t.length)},S(e,t){const n=t.length,a=e.getMilliseconds(),r=Math.trunc(a*Math.pow(10,n-3));return u(r,t.length)}},S={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},K={G:function(e,t,n){const a=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});case"GGGG":default:return n.era(a,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const a=e.getFullYear(),r=a>0?a:1-a;return n.ordinalNumber(r,{unit:"year"})}return P.y(e,t)},Y:function(e,t,n,a){const r=U(e,a),i=r>0?r:1-r;if(t==="YY"){const o=i%100;return u(o,2)}return t==="Yo"?n.ordinalNumber(i,{unit:"year"}):u(i,t.length)},R:function(e,t){const n=I(e);return u(n,t.length)},u:function(e,t){const n=e.getFullYear();return u(n,t.length)},Q:function(e,t,n){const a=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(a);case"QQ":return u(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,t,n){const a=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(a);case"qq":return u(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,t,n){const a=e.getMonth();switch(t){case"M":case"MM":return P.M(e,t);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(e,t,n){const a=e.getMonth();switch(t){case"L":return String(a+1);case"LL":return u(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(e,t,n,a){const r=$t(e,a);return t==="wo"?n.ordinalNumber(r,{unit:"week"}):u(r,t.length)},I:function(e,t,n){const a=At(e);return t==="Io"?n.ordinalNumber(a,{unit:"week"}):u(a,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):P.d(e,t)},D:function(e,t,n){const a=jt(e);return t==="Do"?n.ordinalNumber(a,{unit:"dayOfYear"}):u(a,t.length)},E:function(e,t,n){const a=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(a,{width:"short",context:"formatting"});case"EEEE":default:return n.day(a,{width:"wide",context:"formatting"})}},e:function(e,t,n,a){const r=e.getDay(),i=(r-a.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return u(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});case"eeee":default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,a){const r=e.getDay(),i=(r-a.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return u(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});case"cccc":default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){const a=e.getDay(),r=a===0?7:a;switch(t){case"i":return String(r);case"ii":return u(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});case"iiii":default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const a=e.getHours();let r;switch(a===12?r=S.noon:a===0?r=S.midnight:r=a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){const a=e.getHours();let r;switch(a>=17?r=S.evening:a>=12?r=S.afternoon:a>=4?r=S.morning:r=S.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let a=e.getHours()%12;return a===0&&(a=12),n.ordinalNumber(a,{unit:"hour"})}return P.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):P.H(e,t)},K:function(e,t,n){const a=e.getHours()%12;return t==="Ko"?n.ordinalNumber(a,{unit:"hour"}):u(a,t.length)},k:function(e,t,n){let a=e.getHours();return a===0&&(a=24),t==="ko"?n.ordinalNumber(a,{unit:"hour"}):u(a,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):P.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):P.s(e,t)},S:function(e,t){return P.S(e,t)},X:function(e,t,n){const a=e.getTimezoneOffset();if(a===0)return"Z";switch(t){case"X":return tt(a);case"XXXX":case"XX":return O(a);case"XXXXX":case"XXX":default:return O(a,":")}},x:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"x":return tt(a);case"xxxx":case"xx":return O(a);case"xxxxx":case"xxx":default:return O(a,":")}},O:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Z(a,":");case"OOOO":default:return"GMT"+O(a,":")}},z:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Z(a,":");case"zzzz":default:return"GMT"+O(a,":")}},t:function(e,t,n){const a=Math.trunc(+e/1e3);return u(a,t.length)},T:function(e,t,n){return u(+e,t.length)}};function Z(e,t=""){const n=e>0?"-":"+",a=Math.abs(e),r=Math.trunc(a/60),i=a%60;return i===0?n+String(r):n+String(r)+t+u(i,2)}function tt(e,t){return e%60===0?(e>0?"-":"+")+u(Math.abs(e)/60,2):O(e,t)}function O(e,t=""){const n=e>0?"-":"+",a=Math.abs(e),r=u(Math.trunc(a/60),2),i=u(a%60,2);return n+r+t+i}const et=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},nt=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},It={p:nt,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],a=n[1],r=n[2];if(!r)return et(e,t);let i;switch(a){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",et(a,t)).replace("{{time}}",nt(r,t))}},zt=/^D+$/,Jt=/^Y+$/,Ut=["D","DD","YY","YYYY"];function Kt(e){return zt.test(e)}function Zt(e){return Jt.test(e)}function te(e,t,n){const a=ee(e,t,n);if(console.warn(a),Ut.includes(e))throw new RangeError(a)}function ee(e,t,n){const a=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${a} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const ne=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ae=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,re=/^'([^]*?)'?$/,ie=/''/g,oe=/[a-zA-Z]/;function se(e,t,n){var w,p,x,M;const a=q(),r=a.locale??Qt,i=a.firstWeekContainsDate??((p=(w=a.locale)==null?void 0:w.options)==null?void 0:p.firstWeekContainsDate)??1,o=a.weekStartsOn??((M=(x=a.locale)==null?void 0:x.options)==null?void 0:M.weekStartsOn)??0,s=v(e,n==null?void 0:n.in);if(!dt(s))throw new RangeError("Invalid time value");let l=t.match(ae).map(b=>{const g=b[0];if(g==="p"||g==="P"){const N=It[g];return N(b,r.formatLong)}return b}).join("").match(ne).map(b=>{if(b==="''")return{isToken:!1,value:"'"};const g=b[0];if(g==="'")return{isToken:!1,value:ue(b)};if(K[g])return{isToken:!0,value:b};if(g.match(oe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+g+"`");return{isToken:!1,value:b}});r.localize.preprocessor&&(l=r.localize.preprocessor(s,l));const h={firstWeekContainsDate:i,weekStartsOn:o,locale:r};return l.map(b=>{if(!b.isToken)return b.value;const g=b.value;(Zt(g)||Kt(g))&&te(g,t,String(e));const N=K[g[0]];return N(s,g,r.localize,h)}).join("")}function ue(e){const t=e.match(re);return t?t[1].replace(ie,"'"):e}const ce={mixins:[X],props:{type:String,visible:Boolean,targetName:String,packetName:String,zIndex:{type:Number,default:1}},data(){return{header:"",receivedTime:"",rawData:"",paused:!1,receivedCount:"",dragX:0,dragY:0,top:0,left:0}},computed:{buttonLabel:function(){return this.paused?"Resume":"Pause"},buttonIcon:function(){return this.paused?"mdi-play":"mdi-pause"},isVisible:{get:function(){return this.visible},set:function(e){this.header="",this.receivedTime="",this.rawData="",this.receivedCount="",this.paused=!1,this.buttonLabel="Pause",this.$emit("display",e)}},computedStyle(){let e={};return e.top=this.top+"px",e.left=this.left+"px",e["z-index"]=this.zIndex,e},numRows(){let e=this.rawData.split(`
3
3
  `).length;return e+Math.floor(e/2e3)}},mounted(){this.$refs.bar.onmousedown=this.dragMouseDown,this.$refs.rawDialog.onmouseup=this.focusEvent},methods:{focusEvent:function(e){this.$emit("focus")},dragMouseDown:function(e){e=e||window.event,e.preventDefault(),this.dragX=e.clientX,this.dragY=e.clientY,document.onmouseup=this.closeDragElement,document.onmousemove=this.elementDrag},elementDrag:function(e){e=e||window.event,e.preventDefault();let t=this.dragX-e.clientX,n=this.dragY-e.clientY;this.dragX=e.clientX,this.dragY=e.clientY,this.top=this.$refs.bar.parentElement.offsetTop-n,this.left=this.$refs.bar.parentElement.offsetLeft-t},closeDragElement:function(){document.onmouseup=null,document.onmousemove=null},buildRawData:function(){return`${this.header}
4
4
  Received Time: ${this.receivedTime}
@@ -1 +1 @@
1
- System.register(["./Widget-fRCERxGf-6cf6e886d2d5ee76cfc6.js","vue","./main-4bad43bda3e8a8483ba9.js","vue-router","single-spa","vuex","vuetify"],function(m,d){"use strict";var i,r,c,a,o,u;return{setters:[t=>{i=t.o},t=>{r=t.resolveComponent,c=t.createBlock,a=t.openBlock,o=t.normalizeStyle},t=>{u=t.s},null,null,null,null],execute:function(){const t={mixins:[i],props:{value:{default:null}},data:function(){return{valueId:null,icon:"",label:"",subLabel:"",items:[],screenTarget:null,screenName:null}},computed:{status:function(){let e="off";for(const n of this.items){let s=this.screenValues[n][1];s&&((s.includes("BLUE")||s.includes("GREEN"))&&e!="caution"&&e!="critical"&&(e="normal"),s.includes("YELLOW")&&e!="critical"&&(e="caution"),s.includes("RED")&&(e="critical"))}return e},pointerStyle(){return this.screenTarget&&this.screenName?{cursor:"pointer"}:{cursor:"default"}}},created:function(){this.icon=this.parameters[0],this.label=this.parameters[1],this.subLabel=this.parameters[2],this.appliedSettings.forEach(e=>{switch(e[0].toUpperCase()){case"SCREEN":this.screenTarget=e[1],this.screenName=e[2];break;case"TLM":let n="CONVERTED";e[4]&&(n=e[4]);let s=`${e[1]}__${e[2]}__${e[3]}__${n}`;this.items.push(s),this.$emit("addItem",s);break}})},unmounted:function(){this.items.forEach(e=>{this.$emit("deleteItem",e)})},methods:{clickHandler(){this.screenTarget&&this.screenName&&this.$emit("open",this.screenTarget,this.screenName)}}};function h(e,n,s,b,E,l){const p=r("rux-monitoring-icon");return a(),c(p,{class:"rux-icon",style:o([l.pointerStyle,e.computedStyle]),icon:e.icon,status:l.status,label:e.label,sublabel:e.subLabel,onClick:l.clickHandler},null,8,["style","icon","status","label","sublabel","onClick"])}const f=m("default",u(t,[["render",h]]))}}});
1
+ System.register(["./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","vue","./main-3edbee545cea57a5f76d.js","vue-router","single-spa","vuex","vuetify"],function(m,d){"use strict";var i,r,c,a,o,u;return{setters:[t=>{i=t.o},t=>{r=t.resolveComponent,c=t.createBlock,a=t.openBlock,o=t.normalizeStyle},t=>{u=t.d},null,null,null,null],execute:function(){const t={mixins:[i],props:{value:{default:null}},data:function(){return{valueId:null,icon:"",label:"",subLabel:"",items:[],screenTarget:null,screenName:null}},computed:{status:function(){let e="off";for(const n of this.items){let s=this.screenValues[n][1];s&&((s.includes("BLUE")||s.includes("GREEN"))&&e!="caution"&&e!="critical"&&(e="normal"),s.includes("YELLOW")&&e!="critical"&&(e="caution"),s.includes("RED")&&(e="critical"))}return e},pointerStyle(){return this.screenTarget&&this.screenName?{cursor:"pointer"}:{cursor:"default"}}},created:function(){this.icon=this.parameters[0],this.label=this.parameters[1],this.subLabel=this.parameters[2],this.appliedSettings.forEach(e=>{switch(e[0].toUpperCase()){case"SCREEN":this.screenTarget=e[1],this.screenName=e[2];break;case"TLM":let n="CONVERTED";e[4]&&(n=e[4]);let s=`${e[1]}__${e[2]}__${e[3]}__${n}`;this.items.push(s),this.$emit("addItem",s);break}})},unmounted:function(){this.items.forEach(e=>{this.$emit("deleteItem",e)})},methods:{clickHandler(){this.screenTarget&&this.screenName&&this.$emit("open",this.screenTarget,this.screenName)}}};function h(e,n,s,b,E,l){const p=r("rux-monitoring-icon");return a(),c(p,{class:"rux-icon",style:o([l.pointerStyle,e.computedStyle]),icon:e.icon,status:l.status,label:e.label,sublabel:e.subLabel,onClick:l.clickHandler},null,8,["style","icon","status","label","sublabel","onClick"])}const f=m("default",u(t,[["render",h]]))}}});
@@ -1 +1 @@
1
- System.register(["./Updater-82fa1a354a9721098906.js","vue","./main-4bad43bda3e8a8483ba9.js","./services-6c036365da68dd4327ff.js","vue-router","single-spa","vuex","vuetify"],function(x,E){"use strict";var m,r,b,h,u,d,f,p,C,y,k;return{setters:[n=>{m=n.U},n=>{r=n.resolveComponent,b=n.createBlock,h=n.openBlock,u=n.withCtx,d=n.createVNode,f=n.createTextVNode,p=n.toDisplayString,C=n.createElementVNode,y=n.normalizeClass},n=>{k=n._},null,null,null,null,null],execute:function(){const n={mixins:[m],props:{tabId:Number,curTab:Number},data(){return{search:"",data:[],buttonsDisabled:!1,headers:[{title:"Name",key:"name"},{title:"Action",key:"connect",sortable:!1,filterable:!1},{title:"Connected",key:"connected"},{title:"Clients",key:"clients"},{title:"Tx Q size",key:"tx_q_size"},{title:"Rx Q size",key:"rx_q_size"},{title:"Tx bytes",key:"tx_bytes"},{title:"Rx bytes",key:"rx_bytes"},{title:"Cmd pkts",key:"cmd_pkts"},{title:"Tlm pkts",key:"tlm_pkts"}]}},methods:{sortTable(l,t,o){return l.sort((s,c)=>{for(let i=0;i<t.length;i++){let e=t[i],_=o[i];if(e==="connected"){if(s[e]===c[e])continue;return _?s[e]==="CONNECTED"?1:-1:s[e]==="CONNECTED"?-1:1}else if(e==="name"){if(s[e]===c[e])continue;return _?c[e].localeCompare(s[e]):s[e].localeCompare(c[e])}else{if(s[e]===c[e])continue;return _?c[e]-s[e]:s[e]-c[e]}}}),l},connectDisconnect(l){this.buttonsDisabled=!0,l.connected==="DISCONNECTED"?this.api.connect_router(l.name):this.api.disconnect_router(l.name)},update(){this.tabId==this.curTab&&this.api.get_all_router_info().then(l=>{this.data=[];for(let t of l){let o=null,s=null;t[1]=="DISCONNECTED"?(o="Connect",s="openc3-white"):t[1]=="CONNECTED"?(o="Disconnect",s="openc3-green"):(o="Cancel",s="openc3-red"),this.data.push({name:t[0],connect:o,connectedClass:s,connected:t[1],clients:t[2],tx_q_size:t[3],rx_q_size:t[4],tx_bytes:t[5],rx_bytes:t[6],cmd_pkts:t[7],tlm_pkts:t[8]})}this.buttonsDisabled=!1})}}};function v(l,t,o,s,c,i){const e=r("v-spacer"),_=r("v-text-field"),N=r("v-card-title"),D=r("v-btn"),T=r("v-data-table"),g=r("v-card");return h(),b(g,null,{default:u(()=>[d(N,{class:"d-flex align-center justify-content-space-between"},{default:u(()=>[f(p(c.data.length)+" Routers ",1),d(e),d(_,{modelValue:c.search,"onUpdate:modelValue":t[0]||(t[0]=a=>c.search=a),label:"Search","prepend-inner-icon":"mdi-magnify",clearable:"",variant:"outlined",density:"compact","single-line":"","hide-details":"",class:"search"},null,8,["modelValue"])]),_:1}),d(T,{headers:c.headers,items:c.data,search:c.search,"custom-sort":i.sortTable,"items-per-page":10,"items-per-page-options":[10,20,-1],"multi-sort":"","data-test":"routers-table"},{"item.connect":u(({item:a})=>[d(D,{block:"",color:"primary",disabled:c.buttonsDisabled,onClick:z=>i.connectDisconnect(a)},{default:u(()=>[f(p(a.connect),1)]),_:2},1032,["disabled","onClick"])]),"item.connected":u(({item:a})=>[C("span",{class:y(a.connectedClass)},p(a.connected),3)]),_:1},8,["headers","items","search","custom-sort"])]),_:1})}const V=x("default",k(n,[["render",v]]))}}});
1
+ System.register(["./Updater-30365f17f9b4eb94ca1e.js","vue","./main-3edbee545cea57a5f76d.js","./services-61aec8b87d81fdbc4b64.js","vue-router","single-spa","vuex","vuetify"],function(x,E){"use strict";var m,r,b,h,u,d,f,p,C,y,k;return{setters:[n=>{m=n.U},n=>{r=n.resolveComponent,b=n.createBlock,h=n.openBlock,u=n.withCtx,d=n.createVNode,f=n.createTextVNode,p=n.toDisplayString,C=n.createElementVNode,y=n.normalizeClass},n=>{k=n._},null,null,null,null,null],execute:function(){const n={mixins:[m],props:{tabId:Number,curTab:Number},data(){return{search:"",data:[],buttonsDisabled:!1,headers:[{title:"Name",key:"name"},{title:"Action",key:"connect",sortable:!1,filterable:!1},{title:"Connected",key:"connected"},{title:"Clients",key:"clients"},{title:"Tx Q size",key:"tx_q_size"},{title:"Rx Q size",key:"rx_q_size"},{title:"Tx bytes",key:"tx_bytes"},{title:"Rx bytes",key:"rx_bytes"},{title:"Cmd pkts",key:"cmd_pkts"},{title:"Tlm pkts",key:"tlm_pkts"}]}},methods:{sortTable(l,t,o){return l.sort((s,c)=>{for(let i=0;i<t.length;i++){let e=t[i],_=o[i];if(e==="connected"){if(s[e]===c[e])continue;return _?s[e]==="CONNECTED"?1:-1:s[e]==="CONNECTED"?-1:1}else if(e==="name"){if(s[e]===c[e])continue;return _?c[e].localeCompare(s[e]):s[e].localeCompare(c[e])}else{if(s[e]===c[e])continue;return _?c[e]-s[e]:s[e]-c[e]}}}),l},connectDisconnect(l){this.buttonsDisabled=!0,l.connected==="DISCONNECTED"?this.api.connect_router(l.name):this.api.disconnect_router(l.name)},update(){this.tabId==this.curTab&&this.api.get_all_router_info().then(l=>{this.data=[];for(let t of l){let o=null,s=null;t[1]=="DISCONNECTED"?(o="Connect",s="openc3-white"):t[1]=="CONNECTED"?(o="Disconnect",s="openc3-green"):(o="Cancel",s="openc3-red"),this.data.push({name:t[0],connect:o,connectedClass:s,connected:t[1],clients:t[2],tx_q_size:t[3],rx_q_size:t[4],tx_bytes:t[5],rx_bytes:t[6],cmd_pkts:t[7],tlm_pkts:t[8]})}this.buttonsDisabled=!1})}}};function v(l,t,o,s,c,i){const e=r("v-spacer"),_=r("v-text-field"),N=r("v-card-title"),D=r("v-btn"),T=r("v-data-table"),g=r("v-card");return h(),b(g,null,{default:u(()=>[d(N,{class:"d-flex align-center justify-content-space-between"},{default:u(()=>[f(p(c.data.length)+" Routers ",1),d(e),d(_,{modelValue:c.search,"onUpdate:modelValue":t[0]||(t[0]=a=>c.search=a),label:"Search","prepend-inner-icon":"mdi-magnify",clearable:"",variant:"outlined",density:"compact","single-line":"","hide-details":"",class:"search"},null,8,["modelValue"])]),_:1}),d(T,{headers:c.headers,items:c.data,search:c.search,"custom-sort":i.sortTable,"items-per-page":10,"items-per-page-options":[10,20,-1],"multi-sort":"","data-test":"routers-table"},{"item.connect":u(({item:a})=>[d(D,{block:"",color:"primary",disabled:c.buttonsDisabled,onClick:z=>i.connectDisconnect(a)},{default:u(()=>[f(p(a.connect),1)]),_:2},1032,["disabled","onClick"])]),"item.connected":u(({item:a})=>[C("span",{class:y(a.connectedClass)},p(a.connected),3)]),_:1},8,["headers","items","search","custom-sort"])]),_:1})}const V=x("default",k(n,[["render",v]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Layout-Tf--nruw-77595e15c57a061b0dba.js","./VerticalWidget-BIIViZgI-3d41ce14c58d12499a92.js","vue","./main-3edbee545cea57a5f76d.js","./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","vue-router","single-spa","vuex","vuetify"],function(y,k){"use strict";var l,c,i,r,o,u,m,g,p,d,f;return{setters:[e=>{l=e.r},e=>{c=e.default},e=>{i=e.createElementBlock,r=e.openBlock,o=e.normalizeStyle,u=e.Fragment,m=e.renderList,g=e.createBlock,p=e.resolveDynamicComponent,d=e.mergeProps},e=>{f=e.d},null,null,null,null,null],execute:function(){const e={mixins:[l],components:{VerticalWidget:c},created:function(){if(this.setHeight(this.parameters[0],"px",200),this.parameters[1]){let n=this.parameters[1];this.widgets.forEach(a=>{a.settings.find(s=>s[0]==="MARGIN"||s[0]==="RAW"&&s[1].toUpperCase().includes("MARGIN"))===void 0&&a.settings.push(["MARGIN",n])})}}};function v(n,a,s,B,I,R){return r(),i("div",{ref:"container",style:o(n.computedStyle),class:"overflow-y-auto"},[(r(!0),i(u,null,m(n.widgets,(t,h)=>(r(),g(p(t.type),d({ref_for:!0},n.listeners,{key:h,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":n.screenValues,"screen-time-zone":n.screenTimeZone,widgets:t.widgets,name:t.name,line:t.line,"line-number":t.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))),128))],4)}const w=y("default",f(e,[["render",v]]))}}});
@@ -1 +1 @@
1
- System.register(["./VWidget-C4spAawK-e7dee3c34a6d790327ec.js","vue","./main-4bad43bda3e8a8483ba9.js","./Widget-fRCERxGf-6cf6e886d2d5ee76cfc6.js","vue-router","single-spa","vuex","vuetify"],function(p,g){"use strict";var r,a,s,l,n,i,c,o,u;return{setters:[t=>{r=t.L},t=>{a=t.resolveComponent,s=t.createBlock,l=t.openBlock,n=t.normalizeStyle,i=t.withCtx,c=t.createTextVNode,o=t.toDisplayString},t=>{u=t.s},null,null,null,null,null],execute:function(){const t={mixins:[r],props:{value:{default:null}},data:function(){return{item:null,oneBar:30,twoBar:60,threeBar:90}},computed:{displayedIcon:function(){let e="mdi-signal-cellular-outline";return this._value>=this.oneBar&&(e="mdi-signal-cellular-1"),this._value>=this.twoBar&&(e="mdi-signal-cellular-2"),this._value>=this.threeBar&&(e="mdi-signal-cellular-3"),e}},created(){this.appliedSettings.forEach(e=>{switch(e[0].toUpperCase()){case"SCREEN":this.screenTarget=e[1],this.screenName=e[2];break;case"VALUES":this.oneBar=parseFloat(e[1]),this.twoBar=parseFloat(e[2]),this.threeBar=parseFloat(e[3]);break}})},methods:{getType(){let e="CONVERTED";return this.parameters[3]=="RAW"&&(e="RAW"),e},clickHandler(){this.screenTarget&&this.screenName&&this.$emit("open",this.screenTarget,this.screenName)}}};function d(e,f,v,y,C,h){const m=a("v-icon");return l(),s(m,{onClick:h.clickHandler,style:n(e.computedStyle)},{default:i(()=>[c(o(h.displayedIcon),1)]),_:1},8,["onClick","style"])}const B=p("default",u(t,[["render",d]]))}}});
1
+ System.register(["./VWidget-DQqb7NVW-4602918435743a49de41.js","vue","./main-3edbee545cea57a5f76d.js","./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","vue-router","single-spa","vuex","vuetify"],function(p,g){"use strict";var r,a,l,n,s,i,o,c,u;return{setters:[t=>{r=t.L},t=>{a=t.resolveComponent,l=t.createBlock,n=t.openBlock,s=t.normalizeStyle,i=t.withCtx,o=t.createTextVNode,c=t.toDisplayString},t=>{u=t.d},null,null,null,null,null],execute:function(){const t={mixins:[r],props:{value:{default:null}},data:function(){return{item:null,oneBar:30,twoBar:60,threeBar:90}},computed:{displayedIcon:function(){let e="mdi-signal-cellular-outline";return this._value>=this.oneBar&&(e="mdi-signal-cellular-1"),this._value>=this.twoBar&&(e="mdi-signal-cellular-2"),this._value>=this.threeBar&&(e="mdi-signal-cellular-3"),e}},created(){this.appliedSettings.forEach(e=>{switch(e[0].toUpperCase()){case"SCREEN":this.screenTarget=e[1],this.screenName=e[2];break;case"VALUES":this.oneBar=parseFloat(e[1]),this.twoBar=parseFloat(e[2]),this.threeBar=parseFloat(e[3]);break}})},methods:{getType(){let e="CONVERTED";return this.parameters[3]=="RAW"&&(e="RAW"),e},clickHandler(){this.screenTarget&&this.screenName&&this.$emit("open",this.screenTarget,this.screenName)}}};function d(e,v,y,f,k,h){const m=a("v-icon");return n(),l(m,{onClick:h.clickHandler,style:s(e.computedStyle)},{default:i(()=>[o(c(h.displayedIcon),1)]),_:1},8,["onClick","style"])}const B=p("default",u(t,[["render",d]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","vue","./main-3edbee545cea57a5f76d.js","vue-router","single-spa","vuex","vuetify"],function(i,c){"use strict";var t,n,s,l,r;return{setters:[e=>{t=e.o},e=>{n=e.createElementBlock,s=e.openBlock,l=e.normalizeStyle},e=>{r=e.d},null,null,null,null],execute:function(){const e={mixins:[t],created(){this.settings.push(["WIDTH",this.parameters[0]]),this.settings.push(["HEIGHT",this.parameters[1]])}};function u(o,m,p,d,h,y){return s(),n("div",{style:l(o.computedStyle)},null,4)}const a=i("default",r(e,[["render",u]]))}}});
@@ -1 +1 @@
1
- System.register(["./GraphWidget-Dycey-mj-d4aa575ef98087670b47.js","./main-4bad43bda3e8a8483ba9.js","vue","./Graph-3rkhFP3G-b8db0cdb9ecf80ac5155.js","single-spa","./Widget-fRCERxGf-6cf6e886d2d5ee76cfc6.js","vue-router","vuex","vuetify"],function(l,c){"use strict";var s,i,n,r,a,o,d;return{setters:[e=>{s=e._},e=>{i=e.s},e=>{n=e.resolveComponent,r=e.createBlock,a=e.openBlock,o=e.normalizeStyle},e=>{d=e.S},null,null,null,null,null],execute:function(){const e={components:{Graph:d},mixins:[s],data:function(){return{secondsGraphed:300,pointsSaved:300,pointsGraphed:300,size:{height:30,width:130}}}};function p(t,g,m,v,f,y){const h=n("graph");return a(),r(h,{ref:"graph"+t.id,id:t.id,state:t.state,"selected-graph-id":t.id,startTime:t.startTime,"seconds-graphed":t.secondsGraphed,"points-saved":t.pointsSaved,"points-graphed":t.pointsGraphed,"initial-items":t.items,height:t.size.height,width:t.size.width,style:o(t.computedStyle),sparkline:""},null,8,["id","state","selected-graph-id","startTime","seconds-graphed","points-saved","points-graphed","initial-items","height","width","style"])}const u=l("default",i(e,[["render",p]]))}}});
1
+ System.register(["./GraphWidget-DurWDmpg-1d3f53de02fa1378a1c8.js","./main-3edbee545cea57a5f76d.js","vue","./Graph-Bgo0cjl3-34cca1d79d056287c70c.js","single-spa","./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","vue-router","vuex","vuetify"],function(p,c){"use strict";var i,s,n,r,a,o,d;return{setters:[e=>{i=e._},e=>{s=e.d},e=>{n=e.resolveComponent,r=e.createBlock,a=e.openBlock,o=e.normalizeStyle},e=>{d=e.S},null,null,null,null,null],execute:function(){const e={components:{Graph:d},mixins:[i],data:function(){return{secondsGraphed:300,pointsSaved:300,pointsGraphed:300,size:{height:30,width:130}}}};function l(t,g,m,v,y,f){const h=n("graph");return a(),r(h,{ref:"graph"+t.id,id:t.id,state:t.state,"selected-graph-id":t.id,startTime:t.startTime,"seconds-graphed":t.secondsGraphed,"points-saved":t.pointsSaved,"points-graphed":t.pointsGraphed,"initial-items":t.items,height:t.size.height,width:t.size.width,style:o(t.computedStyle),sparkline:""},null,8,["id","state","selected-graph-id","startTime","seconds-graphed","points-saved","points-graphed","initial-items","height","width","style"])}const u=p("default",s(e,[["render",l]]))}}});
@@ -1 +1 @@
1
- System.register(["./services-6c036365da68dd4327ff.js","./Updater-82fa1a354a9721098906.js","vue","./main-4bad43bda3e8a8483ba9.js","vue-router","single-spa","vuex","vuetify"],function(_,S){"use strict";var l,i,t,c,o,a,n,u,d,p;return{setters:[e=>{l=e.m},e=>{i=e.U},e=>{t=e.resolveComponent,c=e.createElementBlock,o=e.openBlock,a=e.createVNode,n=e.withCtx,u=e.createTextVNode,d=e.toDisplayString},e=>{p=e._},null,null,null,null],execute:function(){const e={mixins:[i],props:{tabId:Number,curTab:Number},data(){return{api:new l,apiStatus:[],apiHeaders:[{title:"Port",value:"port"},{title:"Clients",value:"clients"},{title:"Requests",value:"requests"},{title:"Avg Request Time",value:"avgTime"},{title:"Server Threads",value:"threads"}],backgroundTasks:[],backgroundHeaders:[{title:"Name",value:"name"},{title:"State",value:"state"},{title:"Status",value:"status"},{title:"Control",value:"control"}],search:"",data:[],headers:[{title:"Metric",key:"metric_name"},{title:"Value",key:"value"}]}},methods:{update(){this.tabId==this.curTab&&this.api.get_metrics().then(v=>{this.data=[];for(const[r,m]of Object.entries(v))this.data.push({metric_name:r,value:m})})}}};function h(v,r,m,V,s,N){const f=t("v-spacer"),b=t("v-text-field"),g=t("v-card-title"),x=t("v-data-table"),k=t("v-card");return o(),c("div",null,[a(k,null,{default:n(()=>[a(g,{class:"d-flex align-center justify-content-space-between"},{default:n(()=>[u(d(s.data.length)+" Metrics ",1),a(f),a(b,{modelValue:s.search,"onUpdate:modelValue":r[0]||(r[0]=y=>s.search=y),label:"Search","prepend-inner-icon":"mdi-magnify",clearable:"",variant:"outlined",density:"compact","single-line":"","hide-details":"",class:"search"},null,8,["modelValue"])]),_:1}),a(x,{headers:s.headers,items:s.data,search:s.search,"items-per-page":10,"items-per-page-options":[10,20,50,100,-1],"multi-sort":"","data-test":"metrics-table"},null,8,["headers","items","search"])]),_:1})])}const T=_("default",p(e,[["render",h]]))}}});
1
+ System.register(["./services-61aec8b87d81fdbc4b64.js","./Updater-30365f17f9b4eb94ca1e.js","vue","./main-3edbee545cea57a5f76d.js","vue-router","single-spa","vuex","vuetify"],function(_,S){"use strict";var l,i,t,c,o,a,n,u,d,p;return{setters:[e=>{l=e.h},e=>{i=e.U},e=>{t=e.resolveComponent,c=e.createElementBlock,o=e.openBlock,a=e.createVNode,n=e.withCtx,u=e.createTextVNode,d=e.toDisplayString},e=>{p=e._},null,null,null,null],execute:function(){const e={mixins:[i],props:{tabId:Number,curTab:Number},data(){return{api:new l,apiStatus:[],apiHeaders:[{title:"Port",value:"port"},{title:"Clients",value:"clients"},{title:"Requests",value:"requests"},{title:"Avg Request Time",value:"avgTime"},{title:"Server Threads",value:"threads"}],backgroundTasks:[],backgroundHeaders:[{title:"Name",value:"name"},{title:"State",value:"state"},{title:"Status",value:"status"},{title:"Control",value:"control"}],search:"",data:[],headers:[{title:"Metric",key:"metric_name"},{title:"Value",key:"value"}]}},methods:{update(){this.tabId==this.curTab&&this.api.get_metrics().then(v=>{this.data=[];for(const[r,m]of Object.entries(v))this.data.push({metric_name:r,value:m})})}}};function h(v,r,m,V,s,N){const f=t("v-spacer"),b=t("v-text-field"),g=t("v-card-title"),x=t("v-data-table"),k=t("v-card");return o(),c("div",null,[a(k,null,{default:n(()=>[a(g,{class:"d-flex align-center justify-content-space-between"},{default:n(()=>[u(d(s.data.length)+" Metrics ",1),a(f),a(b,{modelValue:s.search,"onUpdate:modelValue":r[0]||(r[0]=y=>s.search=y),label:"Search","prepend-inner-icon":"mdi-magnify",clearable:"",variant:"outlined",density:"compact","single-line":"","hide-details":"",class:"search"},null,8,["modelValue"])]),_:1}),a(x,{headers:s.headers,items:s.data,search:s.search,"items-per-page":10,"items-per-page-options":[10,20,50,100,-1],"multi-sort":"","data-test":"metrics-table"},null,8,["headers","items","search"])]),_:1})])}const T=_("default",p(e,[["render",h]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Layout-Tf--nruw-77595e15c57a061b0dba.js","vue","./main-3edbee545cea57a5f76d.js","./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","vue-router","single-spa","vuex","vuetify"],function(T,z){"use strict";var p,l,s,r,g,v,i,u,c,o,y,f,w,b,V;return{setters:[e=>{p=e.r},e=>{l=e.resolveComponent,s=e.createElementBlock,r=e.openBlock,g=e.createVNode,v=e.normalizeStyle,i=e.withCtx,u=e.Fragment,c=e.renderList,o=e.createBlock,y=e.createTextVNode,f=e.toDisplayString,w=e.resolveDynamicComponent,b=e.mergeProps},e=>{V=e.d},null,null,null,null,null],execute:function(){const e={mixins:[p],data:function(){return{curTab:null}},watch:{curTab:function(){this.$emit("min-max-screen")}}};function k(t,m,h,D,F,L){const x=l("v-tab"),B=l("v-tabs"),C=l("v-window-item"),S=l("v-window");return r(),s("div",null,[g(B,{modelValue:t.curTab,"onUpdate:modelValue":m[0]||(m[0]=a=>t.curTab=a),style:v(t.computedStyle)},{default:i(()=>[(r(!0),s(u,null,c(t.widgets,(a,d)=>(r(),o(x,{key:d},{default:i(()=>[y(f(a.parameters[0]),1)]),_:2},1024))),128))]),_:1},8,["modelValue","style"]),g(S,{modelValue:t.curTab,"onUpdate:modelValue":m[1]||(m[1]=a=>t.curTab=a)},{default:i(()=>[(r(!0),s(u,null,c(t.widgets,(a,d)=>(r(),o(C,{key:d},{default:i(()=>[(r(!0),s(u,null,c(a.widgets,(n,N)=>(r(),o(w(n.type),b({ref_for:!0},t.listeners,{key:`${d}-${N}`,target:n.target,parameters:n.parameters,settings:n.settings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,widgets:n.widgets,name:n.name,line:n.line,"line-number":n.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))),128))]),_:2},1024))),128))]),_:1},8,["modelValue"])])}const _=T("default",V(e,[["render",k]]))}}});
@@ -1 +1 @@
1
- System.register(["./services-6c036365da68dd4327ff.js","./main-4bad43bda3e8a8483ba9.js","vue","single-spa","./Updater-82fa1a354a9721098906.js","vue-router","vuex","vuetify"],function(U,G){"use strict";var m,E,V,T,i,v,c,n,s,l,h,b,a,C,A,x;return{setters:[o=>{m=o.u,E=o.f},o=>{V=o.s,T=o._},o=>{i=o.resolveComponent,v=o.createBlock,c=o.openBlock,n=o.withCtx,s=o.createVNode,l=o.createElementVNode,h=o.createElementBlock,b=o.createCommentVNode,a=o.createTextVNode,C=o.toDisplayString,A=o.mergeProps},null,o=>{x=o.U},null,null,null],execute:function(){const o={props:{modelValue:Boolean,reason:String},emits:["update:modelValue"],data(){return{logo:"/img/logo.png"}},computed:{show:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}}}},M={class:"logo"},B=["src"],D={key:0},j={class:"pb-4 pl-4 reason"};function I(t,e,p,z,r,u){const y=i("v-spacer"),f=i("v-toolbar"),g=i("v-card-text"),k=i("v-btn"),S=i("v-card-actions"),w=i("v-card"),N=i("v-dialog");return c(),v(N,{modelValue:u.show,"onUpdate:modelValue":e[1]||(e[1]=_=>u.show=_),width:"650px"},{default:n(()=>[s(f,{height:"24"},{default:n(()=>[s(y),e[2]||(e[2]=l("span",null," Upgrade to COSMOS Enterprise Edition ",-1)),s(y)]),_:1}),s(w,null,{default:n(()=>[s(g,{class:"mt-4"},{default:n(()=>[l("div",M,[l("img",{src:r.logo,alt:"OpenC3"},null,8,B),e[3]||(e[3]=l("div",{class:"cosmos"},"Enterprise Edition",-1))]),e[4]||(e[4]=l("div",{class:"pb-4"}," Thank you for using the COSMOS Open Source Edition! ",-1)),p.reason?(c(),h("div",D,[l("div",j,C(p.reason),1)])):b("",!0),e[5]||(e[5]=a(" COSMOS Enterprise Edition removes all restrictions and offers users with role based access control, scaling on kubernetes, cloud platform support, multiple scopes, Calendar and Autonomic, various integrations with common protocols and hardware, commercial licensing, and much more!")),e[6]||(e[6]=l("br",null,null,-1)),e[7]||(e[7]=l("br",null,null,-1)),e[8]||(e[8]=a(" Learn more at ")),e[9]||(e[9]=l("a",{href:"https://openc3.com/enterprise"}," https://openc3.com/enterprise ",-1)),e[10]||(e[10]=a(" and help support COSMOS Open Source by supporting our business. Contact us at ")),e[11]||(e[11]=l("a",{href:"mailto:support@openc3.com"},"support@openc3.com",-1)),e[12]||(e[12]=a(" for more information about Enterprise Edition, COSMOS training, COSMOS support, and custom COSMOS development. "))]),_:1}),s(S,{class:"px-2"},{default:n(()=>[s(y),s(k,{variant:"flat",onClick:e[0]||(e[0]=_=>u.show=!u.show)},{default:n(()=>e[13]||(e[13]=[a(" Ok ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])}const K={components:{UpgradeToEnterpriseDialog:V(o,[["render",I],["__scopeId","data-v-6fa47877"]])},mixins:[x],props:{tabId:Number,curTab:Number},data(){return{search:"",data:[],cable:new E,enterprise:!1,headers:[{title:"Target Name",key:"name"},{title:"Interfaces",key:"interface"},{title:"Command Authority Username",key:"username"},{title:"Take Command Authority",key:"take"},{title:"Release Command Authority",key:"release"}],cmdAuth:{},commandAuthority:!1,showUpgradeToEnterpriseDialog:!1}},created:async function(){await m.get("/openc3-api/info").then(t=>{t.data.enterprise&&(this.enterprise=!0)}),this.api.get_target_interfaces().then(t=>{for(let e of t)this.data.push({name:e[0],interface:e[1],username:""})}),this.enterprise&&(m.get(`/openc3-api/scopes/${window.openc3Scope}`).then(t=>{t.data.command_authority&&(this.commandAuthority=!0)}),m.get("/openc3-api/cmdauth").then(t=>{this.cmdAuth=t.data}),this.cable.createSubscription("SystemEventsChannel",window.openc3Scope,{received:t=>{this.cable.recordPing(),this.handleMessages(t)}}).then(t=>{this.systemSubscription=t}))},unmounted(){this.systemSubscription&&this.systemSubscription.unsubscribe(),this.cable.disconnect()},methods:{handleMessages(t){t.forEach(e=>{let p=JSON.parse(e.event);switch(p.type){case"scope":window.openc3Scope===p.name&&(this.commandAuthority=p.command_authority);break;case"cmd_auth_take":this.cmdAuth[p.name]=p;break;case"cmd_auth_release":delete this.cmdAuth[p.name];break}})},tooltipHandler(t){this.enterprise?this.commandAuthority?this[t]():window.open("/tools/admin/scopes","_blank"):this.showUpgradeToEnterpriseDialog=!0},update(){this.tabId==this.curTab&&this.api.get_target_interfaces().then(async t=>{for(let e=0;e<t.length;e++)this.data[e].name=t[e][0],this.data[e].interface=t[e][1],this.enterprise&&(this.cmdAuth[this.data[e].name]?this.data[e].username=this.cmdAuth[this.data[e].name].username:this.data[e].username="")})},take(t){m.post("/openc3-api/cmdauth/take",{data:{target_name:t}})},release(t){m.post("/openc3-api/cmdauth/release",{data:{target_name:t}})},takeAll(){m.post("/openc3-api/cmdauth/take-all")},releaseAll(){m.post("/openc3-api/cmdauth/release-all")}}},W={key:0},H={key:1},P={key:0},R={key:1},J={key:0},L={key:0};function q(t,e,p,z,r,u){const y=i("v-spacer"),f=i("v-icon"),g=i("v-btn"),k=i("v-tooltip"),S=i("v-text-field"),w=i("v-card-title"),N=i("v-data-table"),_=i("upgrade-to-enterprise-dialog"),F=i("v-card");return c(),v(F,null,{default:n(()=>[s(w,{class:"d-flex align-center justify-content-space-between"},{default:n(()=>[a(C(r.data.length)+" Targets ",1),s(y),s(k,{location:"top",disabled:r.enterprise&&r.commandAuthority},{activator:n(({props:d})=>[l("div",A(d,{onClick:e[0]||(e[0]=O=>u.tooltipHandler("takeAll"))}),[s(g,{color:"primary",class:"mr-2",disabled:!r.commandAuthority,"data-test":"take-all"},{default:n(()=>[e[5]||(e[5]=a(" Take All Cmd Authority ")),s(f,{end:""},{default:n(()=>e[4]||(e[4]=[a(" mdi-account-check ")])),_:1})]),_:1},8,["disabled"])],16)]),default:n(()=>[r.enterprise?(c(),h("span",W,e[6]||(e[6]=[a(" Command Authority is disabled."),l("br",null,null,-1),a("Click the button above to navigate to the Admin Console / Scopes Tab. ")]))):(c(),h("span",H,e[7]||(e[7]=[a(" Command Authority is Enterprise Only."),l("br",null,null,-1),a("Click the button above to learn more. ")])))]),_:1},8,["disabled"]),s(k,{location:"top",disabled:r.enterprise&&r.commandAuthority},{activator:n(({props:d})=>[l("div",A(d,{onClick:e[1]||(e[1]=O=>u.tooltipHandler("releaseAll"))}),[s(g,{color:"primary",class:"mr-2",disabled:!r.commandAuthority,"data-test":"release-all"},{default:n(()=>[e[9]||(e[9]=a(" Release All Cmd Authority ")),s(f,{end:""},{default:n(()=>e[8]||(e[8]=[a(" mdi-account-cancel ")])),_:1})]),_:1},8,["disabled"])],16)]),default:n(()=>[r.enterprise?(c(),h("span",P,e[10]||(e[10]=[a(" Command Authority is disabled."),l("br",null,null,-1),a("Click the button above to navigate to the Admin Console / Scopes Tab. ")]))):(c(),h("span",R,e[11]||(e[11]=[a(" Command Authority is Enterprise Only."),l("br",null,null,-1),a("Click the button above to learn more. ")])))]),_:1},8,["disabled"]),s(S,{modelValue:r.search,"onUpdate:modelValue":e[2]||(e[2]=d=>r.search=d),label:"Search","prepend-inner-icon":"mdi-magnify",clearable:"",variant:"outlined",density:"compact","single-line":"","hide-details":"",class:"search"},null,8,["modelValue"])]),_:1}),s(N,{headers:r.headers,items:r.data,search:r.search,"items-per-page":10,"items-per-page-options":[10,20,-1],"multi-sort":"","data-test":"targets-table"},{"item.take":n(({item:d})=>[d.name==="UNKNOWN"?(c(),h("span",J,"N/A")):b("",!0),d.name!="UNKNOWN"?(c(),v(g,{key:1,block:"",color:"primary",onClick:O=>u.take(d.name),disabled:!r.commandAuthority},{default:n(()=>[e[13]||(e[13]=a(" Take ")),s(f,{end:""},{default:n(()=>e[12]||(e[12]=[a(" mdi-account-check ")])),_:1})]),_:2},1032,["onClick","disabled"])):b("",!0)]),"item.release":n(({item:d})=>[d.name==="UNKNOWN"?(c(),h("span",L,"N/A")):b("",!0),d.name!="UNKNOWN"?(c(),v(g,{key:1,block:"",color:"primary",onClick:O=>u.release(d.name),disabled:!r.commandAuthority},{default:n(()=>[e[15]||(e[15]=a(" Release ")),s(f,{end:""},{default:n(()=>e[14]||(e[14]=[a(" mdi-account-cancel ")])),_:1})]),_:2},1032,["onClick","disabled"])):b("",!0)]),_:1},8,["headers","items","search"]),s(_,{modelValue:r.showUpgradeToEnterpriseDialog,"onUpdate:modelValue":e[3]||(e[3]=d=>r.showUpgradeToEnterpriseDialog=d),reason:"Command Authority is Enterprise Only"},null,8,["modelValue"])]),_:1})}const X=U("default",T(K,[["render",q]]))}}});
1
+ System.register(["./services-61aec8b87d81fdbc4b64.js","./main-3edbee545cea57a5f76d.js","vue","single-spa","./Updater-30365f17f9b4eb94ca1e.js","vue-router","vuex","vuetify"],function(U,G){"use strict";var m,E,V,T,i,v,c,n,s,l,h,b,a,C,A,x;return{setters:[o=>{m=o.o,E=o.l},o=>{V=o.d,T=o._},o=>{i=o.resolveComponent,v=o.createBlock,c=o.openBlock,n=o.withCtx,s=o.createVNode,l=o.createElementVNode,h=o.createElementBlock,b=o.createCommentVNode,a=o.createTextVNode,C=o.toDisplayString,A=o.mergeProps},null,o=>{x=o.U},null,null,null],execute:function(){const o={props:{modelValue:Boolean,reason:String},emits:["update:modelValue"],data(){return{logo:"/img/logo.png"}},computed:{show:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}}}},M={class:"logo"},D=["src"],B={key:0},j={class:"pb-4 pl-4 reason"};function I(t,e,p,z,r,u){const y=i("v-spacer"),f=i("v-toolbar"),g=i("v-card-text"),k=i("v-btn"),S=i("v-card-actions"),w=i("v-card"),N=i("v-dialog");return c(),v(N,{modelValue:u.show,"onUpdate:modelValue":e[1]||(e[1]=_=>u.show=_),width:"650px"},{default:n(()=>[s(f,{height:"24"},{default:n(()=>[s(y),e[2]||(e[2]=l("span",null," Upgrade to COSMOS Enterprise Edition ",-1)),s(y)]),_:1}),s(w,null,{default:n(()=>[s(g,{class:"mt-4"},{default:n(()=>[l("div",M,[l("img",{src:r.logo,alt:"OpenC3"},null,8,D),e[3]||(e[3]=l("div",{class:"cosmos"},"Enterprise Edition",-1))]),e[4]||(e[4]=l("div",{class:"pb-4"}," Thank you for using the COSMOS Open Source Edition! ",-1)),p.reason?(c(),h("div",B,[l("div",j,C(p.reason),1)])):b("",!0),e[5]||(e[5]=a(" COSMOS Enterprise Edition removes all restrictions and offers users with role based access control, scaling on kubernetes, cloud platform support, multiple scopes, Calendar and Autonomic, various integrations with common protocols and hardware, commercial licensing, and much more!")),e[6]||(e[6]=l("br",null,null,-1)),e[7]||(e[7]=l("br",null,null,-1)),e[8]||(e[8]=a(" Learn more at ")),e[9]||(e[9]=l("a",{href:"https://openc3.com/enterprise"}," https://openc3.com/enterprise ",-1)),e[10]||(e[10]=a(" and help support COSMOS Open Source by supporting our business. Contact us at ")),e[11]||(e[11]=l("a",{href:"mailto:support@openc3.com"},"support@openc3.com",-1)),e[12]||(e[12]=a(" for more information about Enterprise Edition, COSMOS training, COSMOS support, and custom COSMOS development. "))]),_:1}),s(S,{class:"px-2"},{default:n(()=>[s(y),s(k,{variant:"flat",onClick:e[0]||(e[0]=_=>u.show=!u.show)},{default:n(()=>e[13]||(e[13]=[a(" Ok ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])}const K={components:{UpgradeToEnterpriseDialog:V(o,[["render",I],["__scopeId","data-v-6fa47877"]])},mixins:[x],props:{tabId:Number,curTab:Number},data(){return{search:"",data:[],cable:new E,enterprise:!1,headers:[{title:"Target Name",key:"name"},{title:"Interfaces",key:"interface"},{title:"Command Authority Username",key:"username"},{title:"Take Command Authority",key:"take"},{title:"Release Command Authority",key:"release"}],cmdAuth:{},commandAuthority:!1,showUpgradeToEnterpriseDialog:!1}},created:async function(){await m.get("/openc3-api/info").then(t=>{t.data.enterprise&&(this.enterprise=!0)}),this.api.get_target_interfaces().then(t=>{for(let e of t)this.data.push({name:e[0],interface:e[1],username:""})}),this.enterprise&&(m.get(`/openc3-api/scopes/${window.openc3Scope}`).then(t=>{t.data.command_authority&&(this.commandAuthority=!0)}),m.get("/openc3-api/cmdauth").then(t=>{this.cmdAuth=t.data}),this.cable.createSubscription("SystemEventsChannel",window.openc3Scope,{received:t=>{this.cable.recordPing(),this.handleMessages(t)}}).then(t=>{this.systemSubscription=t}))},unmounted(){this.systemSubscription&&this.systemSubscription.unsubscribe(),this.cable.disconnect()},methods:{handleMessages(t){t.forEach(e=>{let p=JSON.parse(e.event);switch(p.type){case"scope":window.openc3Scope===p.name&&(this.commandAuthority=p.command_authority);break;case"cmd_auth_take":this.cmdAuth[p.name]=p;break;case"cmd_auth_release":delete this.cmdAuth[p.name];break}})},tooltipHandler(t){this.enterprise?this.commandAuthority?this[t]():window.open("/tools/admin/scopes","_blank"):this.showUpgradeToEnterpriseDialog=!0},update(){this.tabId==this.curTab&&this.api.get_target_interfaces().then(async t=>{for(let e=0;e<t.length;e++)this.data[e].name=t[e][0],this.data[e].interface=t[e][1],this.enterprise&&(this.cmdAuth[this.data[e].name]?this.data[e].username=this.cmdAuth[this.data[e].name].username:this.data[e].username="")})},take(t){m.post("/openc3-api/cmdauth/take",{data:{target_name:t}})},release(t){m.post("/openc3-api/cmdauth/release",{data:{target_name:t}})},takeAll(){m.post("/openc3-api/cmdauth/take-all")},releaseAll(){m.post("/openc3-api/cmdauth/release-all")}}},W={key:0},H={key:1},P={key:0},R={key:1},J={key:0},L={key:0};function q(t,e,p,z,r,u){const y=i("v-spacer"),f=i("v-icon"),g=i("v-btn"),k=i("v-tooltip"),S=i("v-text-field"),w=i("v-card-title"),N=i("v-data-table"),_=i("upgrade-to-enterprise-dialog"),F=i("v-card");return c(),v(F,null,{default:n(()=>[s(w,{class:"d-flex align-center justify-content-space-between"},{default:n(()=>[a(C(r.data.length)+" Targets ",1),s(y),s(k,{location:"top",disabled:r.enterprise&&r.commandAuthority},{activator:n(({props:d})=>[l("div",A(d,{onClick:e[0]||(e[0]=O=>u.tooltipHandler("takeAll"))}),[s(g,{color:"primary",class:"mr-2",disabled:!r.commandAuthority,"data-test":"take-all"},{default:n(()=>[e[5]||(e[5]=a(" Take All Cmd Authority ")),s(f,{end:""},{default:n(()=>e[4]||(e[4]=[a(" mdi-account-check ")])),_:1})]),_:1},8,["disabled"])],16)]),default:n(()=>[r.enterprise?(c(),h("span",W,e[6]||(e[6]=[a(" Command Authority is disabled."),l("br",null,null,-1),a("Click the button above to navigate to the Admin Console / Scopes Tab. ")]))):(c(),h("span",H,e[7]||(e[7]=[a(" Command Authority is Enterprise Only."),l("br",null,null,-1),a("Click the button above to learn more. ")])))]),_:1},8,["disabled"]),s(k,{location:"top",disabled:r.enterprise&&r.commandAuthority},{activator:n(({props:d})=>[l("div",A(d,{onClick:e[1]||(e[1]=O=>u.tooltipHandler("releaseAll"))}),[s(g,{color:"primary",class:"mr-2",disabled:!r.commandAuthority,"data-test":"release-all"},{default:n(()=>[e[9]||(e[9]=a(" Release All Cmd Authority ")),s(f,{end:""},{default:n(()=>e[8]||(e[8]=[a(" mdi-account-cancel ")])),_:1})]),_:1},8,["disabled"])],16)]),default:n(()=>[r.enterprise?(c(),h("span",P,e[10]||(e[10]=[a(" Command Authority is disabled."),l("br",null,null,-1),a("Click the button above to navigate to the Admin Console / Scopes Tab. ")]))):(c(),h("span",R,e[11]||(e[11]=[a(" Command Authority is Enterprise Only."),l("br",null,null,-1),a("Click the button above to learn more. ")])))]),_:1},8,["disabled"]),s(S,{modelValue:r.search,"onUpdate:modelValue":e[2]||(e[2]=d=>r.search=d),label:"Search","prepend-inner-icon":"mdi-magnify",clearable:"",variant:"outlined",density:"compact","single-line":"","hide-details":"",class:"search"},null,8,["modelValue"])]),_:1}),s(N,{headers:r.headers,items:r.data,search:r.search,"items-per-page":10,"items-per-page-options":[10,20,-1],"multi-sort":"","data-test":"targets-table"},{"item.take":n(({item:d})=>[d.name==="UNKNOWN"?(c(),h("span",J,"N/A")):b("",!0),d.name!="UNKNOWN"?(c(),v(g,{key:1,block:"",color:"primary",onClick:O=>u.take(d.name),disabled:!r.commandAuthority},{default:n(()=>[e[13]||(e[13]=a(" Take ")),s(f,{end:""},{default:n(()=>e[12]||(e[12]=[a(" mdi-account-check ")])),_:1})]),_:2},1032,["onClick","disabled"])):b("",!0)]),"item.release":n(({item:d})=>[d.name==="UNKNOWN"?(c(),h("span",L,"N/A")):b("",!0),d.name!="UNKNOWN"?(c(),v(g,{key:1,block:"",color:"primary",onClick:O=>u.release(d.name),disabled:!r.commandAuthority},{default:n(()=>[e[15]||(e[15]=a(" Release ")),s(f,{end:""},{default:n(()=>e[14]||(e[14]=[a(" mdi-account-cancel ")])),_:1})]),_:2},1032,["onClick","disabled"])):b("",!0)]),_:1},8,["headers","items","search"]),s(_,{modelValue:r.showUpgradeToEnterpriseDialog,"onUpdate:modelValue":e[3]||(e[3]=d=>r.showUpgradeToEnterpriseDialog=d),reason:"Command Authority is Enterprise Only"},null,8,["modelValue"])]),_:1})}const X=U("default",T(K,[["render",q]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./main-3edbee545cea57a5f76d.js","vue","./DetailsDialog-DmEC5BTs-ae29c74b5a12a811ab58.js","single-spa","./VWidget-DQqb7NVW-4602918435743a49de41.js","vue-router","vuex","vuetify","./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js"],function(w,E){"use strict";var c,a,r,s,n,u,d,l,m,h,p,g,v,x,y,f;return{setters:[e=>{c=e.d},e=>{a=e.resolveComponent,r=e.createElementBlock,s=e.openBlock,n=e.createVNode,u=e.normalizeStyle,d=e.normalizeClass,l=e.withCtx,m=e.Fragment,h=e.renderList,p=e.createBlock,g=e.withModifiers,v=e.createTextVNode,x=e.toDisplayString},e=>{y=e.P},null,e=>{f=e.L},null,null,null,null],execute:function(){const e={components:{DetailsDialog:y},data:function(){return{width:200,height:200}},mixins:[f],computed:{aging(){return{"--aging":this.grayLevel}}},created:function(){this.width=this.setWidth(this.parameters[3],"px",this.width),this.height=this.setHeight(this.parameters[4],"px",this.height)},methods:{getType:function(){let t="CONVERTED";return this.parameters[5]&&(t=this.parameters[5]),t}}},C={class:"textbox-widget-container"};function V(t,o,L,W,j,k){const D=a("v-textarea"),S=a("v-list-item-title"),B=a("v-list-item"),N=a("v-list"),T=a("v-menu"),_=a("details-dialog");return s(),r("div",C,[n(D,{variant:"solo",density:"compact",readonly:"","no-resize":"","auto-grow":"",rows:"2","hide-details":"","model-value":t._value,class:d(t.valueClass),style:u([t.computedStyle,k.aging]),"data-test":"valueText",onContextmenu:t.showContextMenu},null,8,["model-value","class","style","onContextmenu"]),n(T,{modelValue:t.contextMenuShown,"onUpdate:modelValue":o[0]||(o[0]=i=>t.contextMenuShown=i),target:[t.x,t.y]},{default:l(()=>[n(N,null,{default:l(()=>[(s(!0),r(m,null,h(t.contextMenuOptions,(i,z)=>(s(),p(B,{key:z,onClick:g(i.action,["stop"])},{default:l(()=>[n(S,null,{default:l(()=>[v(x(i.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),n(_,{"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2],modelValue:t.viewDetails,"onUpdate:modelValue":o[1]||(o[1]=i=>t.viewDetails=i)},null,8,["target-name","packet-name","item-name","modelValue"])])}const M=w("default",c(e,[["render",V],["__scopeId","data-v-10f560aa"]]))}}});
@@ -1 +1 @@
1
- System.register(["./Widget-fRCERxGf-6cf6e886d2d5ee76cfc6.js","vue","./main-4bad43bda3e8a8483ba9.js","vue-router","single-spa","vuex","vuetify"],function(i,h){"use strict";var t,l,n,s,a,o;return{setters:[e=>{t=e.o},e=>{l=e.resolveComponent,n=e.createBlock,s=e.openBlock,a=e.normalizeStyle},e=>{o=e.s},null,null,null,null],execute:function(){const e={mixins:[t],data(){return{value:null}},created(){this.setWidth(this.parameters[0],"ch",12),this.parameters[1]&&(this.value=this.parameters[1])},methods:{text(){return this.value}}};function c(d,r,f,y,u,x){const m=l("v-text-field");return s(),n(m,{variant:"solo",density:"compact","single-line":"","hide-no-data":"","hide-details":"",modelValue:u.value,"onUpdate:modelValue":r[0]||(r[0]=v=>u.value=v),style:a(d.computedStyle)},null,8,["modelValue","style"])}const p=i("default",o(e,[["render",c]]))}}});
1
+ System.register(["./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","vue","./main-3edbee545cea57a5f76d.js","vue-router","single-spa","vuex","vuetify"],function(i,p){"use strict";var t,l,n,s,a,o;return{setters:[e=>{t=e.o},e=>{l=e.resolveComponent,n=e.createBlock,s=e.openBlock,a=e.normalizeStyle},e=>{o=e.d},null,null,null,null],execute:function(){const e={mixins:[t],data(){return{value:null}},created(){this.setWidth(this.parameters[0],"ch",12),this.parameters[1]&&(this.value=this.parameters[1])},methods:{text(){return this.value}}};function c(d,r,y,f,u,x){const m=l("v-text-field");return s(),n(m,{variant:"solo",density:"compact","single-line":"","hide-no-data":"","hide-details":"",modelValue:u.value,"onUpdate:modelValue":r[0]||(r[0]=v=>u.value=v),style:a(d.computedStyle)},null,8,["modelValue","style"])}const h=i("default",o(e,[["render",c]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","./main-3edbee545cea57a5f76d.js","vue","vue-router","single-spa","vuex","vuetify"],function(m,y){"use strict";var l,i,n,a,r,s,o;return{setters:[e=>{l=e.o},e=>{i=e.d,n=e.P},e=>{a=e.resolveComponent,r=e.createBlock,s=e.openBlock,o=e.normalizeStyle},null,null,null,null],execute:function(){const e={mixins:[l,n],data(){return{label:"Time",timeValue:""}},created(){this.parameters[0]&&(this.label=this.parameters[0]),this.timeValue=this.formatTimeHMS(new Date,this.screenTimeZone)},methods:{text(){return this.timeValue},time(){return this.timeValue}}};function c(d,u,f,v,t,b){const h=a("v-text-field");return s(),r(h,{modelValue:t.timeValue,"onUpdate:modelValue":u[0]||(u[0]=p=>t.timeValue=p),label:t.label,style:o(d.computedStyle),type:"time","hide-details":""},null,8,["modelValue","label","style"])}const V=m("default",i(e,[["render",c]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js","vue","./main-3edbee545cea57a5f76d.js","vue-router","single-spa","vuex","vuetify"],function(a,p){"use strict";var t,r,n,l,o,s;return{setters:[e=>{t=e.o},e=>{r=e.createElementBlock,n=e.openBlock,l=e.normalizeStyle,o=e.toDisplayString},e=>{s=e.d},null,null,null,null],execute:function(){const e={mixins:[t],computed:{labelText(){return this.parameters[0]}},created(){if(this.parameters.length<1)throw new Error("Not enough parameters for TITLE.")}};function i(c,y,d,f,x,u){return n(),r("div",{class:"text-h5 text-center pa-1 mt-1 label",style:l(c.computedStyle)},o(u.labelText),5)}const m=a("default",s(e,[["render",i]]))}}});
@@ -1 +1 @@
1
- System.register(["./Updater-82fa1a354a9721098906.js","./RawDialog-2b725610c629b9879bac.js","vue","./main-4bad43bda3e8a8483ba9.js","./services-6c036365da68dd4327ff.js","vue-router","single-spa","vuex","vuetify"],function(V,B){"use strict";var w,v,r,d,c,i,o,u,m,h,g,b,f,x;return{setters:[t=>{w=t.U},t=>{v=t.R},t=>{r=t.resolveComponent,d=t.createBlock,c=t.openBlock,i=t.withCtx,o=t.createVNode,u=t.createElementBlock,m=t.createTextVNode,h=t.toDisplayString,g=t.createCommentVNode,b=t.Fragment,f=t.renderList},t=>{x=t._},null,null,null,null,null],execute:function(){const t={components:{RawDialog:v},mixins:[w],props:{tabId:Number,curTab:Number},data(){return{search:"",data:[],headers:[{title:"Target Name",key:"target_name"},{title:"Packet Name",key:"packet_name"},{title:"Packet Count",key:"count"},{title:"View Raw",key:"view_raw"},{title:"View In Packet Viewer",key:"view_in_pkt_viewer"}],rawDialogs:[],visible:null}},created(){this.api.get_target_names().then(n=>{n.map(e=>{this.api.get_all_tlm_names(e).then(s=>{this.data=this.data.concat(s.map(_=>({target_name:e,packet_name:_,count:0})))})})})},methods:{focus(n){this.rawDialogs.map(s=>{s.zIndex=1});let e=this.rawDialogs.indexOf(n);this.rawDialogs[e].zIndex=2},openViewRaw(n,e){this.rawDialogs.map(s=>{s.zIndex=1}),this.rawDialogs=this.rawDialogs.concat({target_name:n,packet_name:e,zIndex:2})},closeRawDialog(n){let e=this.rawDialogs.indexOf(n);this.rawDialogs.splice(e,1)},openPktViewer(n,e){window.open(`/tools/packetviewer/${encodeURIComponent(n)}/${encodeURIComponent(e)}`,"_blank")},currentItems(n){this.visible=n.map(e=>[e.columns.target_name,e.columns.packet_name])},update(){this.tabId==this.curTab&&this.visible!==null&&this.api.get_tlm_cnts(this.visible).then(n=>{for(let e=0;e<n.length;e++){let s=this.data.findIndex(_=>_.target_name===this.visible[e][0]&&_.packet_name===this.visible[e][1]);this.data[s].count=n[e]}})}}},N={key:0};function D(n,e,s,_,l,p){const I=r("v-spacer"),C=r("v-text-field"),R=r("v-card-title"),y=r("v-btn"),U=r("v-icon"),T=r("v-data-table"),P=r("raw-dialog"),z=r("v-card");return c(),d(z,null,{default:i(()=>[o(R,{class:"d-flex align-center justify-content-space-between"},{default:i(()=>[m(h(l.data.length)+" Telemetry Packets ",1),o(I),o(C,{modelValue:l.search,"onUpdate:modelValue":e[0]||(e[0]=a=>l.search=a),label:"Search","prepend-inner-icon":"mdi-magnify",clearable:"",variant:"outlined",density:"compact","single-line":"","hide-details":"",class:"search"},null,8,["modelValue"])]),_:1}),o(T,{headers:l.headers,items:l.data,search:l.search,"items-per-page":10,"items-per-page-options":[10,20,50,100],"sort-by":[{key:"target_name"},{key:"packet_name"}],"onUpdate:currentItems":p.currentItems,"data-test":"tlm-packets-table"},{"item.view_raw":i(({item:a})=>[o(y,{block:"",color:"primary",disabled:a.count<1,onClick:k=>p.openViewRaw(a.target_name,a.packet_name)},{default:i(()=>e[1]||(e[1]=[m(" View Raw ")])),_:2},1032,["disabled","onClick"])]),"item.view_in_pkt_viewer":i(({item:a})=>[a.target_name==="UNKNOWN"?(c(),u("span",N,"N/A")):g("",!0),a.target_name!="UNKNOWN"?(c(),d(y,{key:1,block:"",color:"primary",onClick:k=>p.openPktViewer(a.target_name,a.packet_name)},{default:i(()=>[e[3]||(e[3]=m(" View In Packet Viewer ")),o(U,{end:""},{default:i(()=>e[2]||(e[2]=[m(" mdi-open-in-new ")])),_:1})]),_:2},1032,["onClick"])):g("",!0)]),_:1},8,["headers","items","search","onUpdate:currentItems"]),(c(!0),u(b,null,f(l.rawDialogs,a=>(c(),d(P,{key:a.target_name+"_"+a.packet_name,type:"Telemetry","target-name":a.target_name,"packet-name":a.packet_name,visible:!0,"z-index":a.zIndex,onClose:k=>p.closeRawDialog(a),onFocus:k=>p.focus(a)},null,8,["target-name","packet-name","z-index","onClose","onFocus"]))),128))]),_:1})}const j=V("default",x(t,[["render",D]]))}}});
1
+ System.register(["./Updater-30365f17f9b4eb94ca1e.js","./RawDialog-9d64be002d16366306d0.js","vue","./main-3edbee545cea57a5f76d.js","./services-61aec8b87d81fdbc4b64.js","vue-router","single-spa","vuex","vuetify"],function(V,B){"use strict";var w,v,r,d,c,i,o,u,m,h,g,b,f,x;return{setters:[t=>{w=t.U},t=>{v=t.R},t=>{r=t.resolveComponent,d=t.createBlock,c=t.openBlock,i=t.withCtx,o=t.createVNode,u=t.createElementBlock,m=t.createTextVNode,h=t.toDisplayString,g=t.createCommentVNode,b=t.Fragment,f=t.renderList},t=>{x=t._},null,null,null,null,null],execute:function(){const t={components:{RawDialog:v},mixins:[w],props:{tabId:Number,curTab:Number},data(){return{search:"",data:[],headers:[{title:"Target Name",key:"target_name"},{title:"Packet Name",key:"packet_name"},{title:"Packet Count",key:"count"},{title:"View Raw",key:"view_raw"},{title:"View In Packet Viewer",key:"view_in_pkt_viewer"}],rawDialogs:[],visible:null}},created(){this.api.get_target_names().then(n=>{n.map(e=>{this.api.get_all_tlm_names(e).then(s=>{this.data=this.data.concat(s.map(_=>({target_name:e,packet_name:_,count:0})))})})})},methods:{focus(n){this.rawDialogs.map(s=>{s.zIndex=1});let e=this.rawDialogs.indexOf(n);this.rawDialogs[e].zIndex=2},openViewRaw(n,e){this.rawDialogs.map(s=>{s.zIndex=1}),this.rawDialogs=this.rawDialogs.concat({target_name:n,packet_name:e,zIndex:2})},closeRawDialog(n){let e=this.rawDialogs.indexOf(n);this.rawDialogs.splice(e,1)},openPktViewer(n,e){window.open(`/tools/packetviewer/${encodeURIComponent(n)}/${encodeURIComponent(e)}`,"_blank")},currentItems(n){this.visible=n.map(e=>[e.columns.target_name,e.columns.packet_name])},update(){this.tabId==this.curTab&&this.visible!==null&&this.api.get_tlm_cnts(this.visible).then(n=>{for(let e=0;e<n.length;e++){let s=this.data.findIndex(_=>_.target_name===this.visible[e][0]&&_.packet_name===this.visible[e][1]);this.data[s].count=n[e]}})}}},N={key:0};function D(n,e,s,_,l,p){const I=r("v-spacer"),C=r("v-text-field"),R=r("v-card-title"),y=r("v-btn"),U=r("v-icon"),T=r("v-data-table"),P=r("raw-dialog"),z=r("v-card");return c(),d(z,null,{default:i(()=>[o(R,{class:"d-flex align-center justify-content-space-between"},{default:i(()=>[m(h(l.data.length)+" Telemetry Packets ",1),o(I),o(C,{modelValue:l.search,"onUpdate:modelValue":e[0]||(e[0]=a=>l.search=a),label:"Search","prepend-inner-icon":"mdi-magnify",clearable:"",variant:"outlined",density:"compact","single-line":"","hide-details":"",class:"search"},null,8,["modelValue"])]),_:1}),o(T,{headers:l.headers,items:l.data,search:l.search,"items-per-page":10,"items-per-page-options":[10,20,50,100],"sort-by":[{key:"target_name"},{key:"packet_name"}],"onUpdate:currentItems":p.currentItems,"data-test":"tlm-packets-table"},{"item.view_raw":i(({item:a})=>[o(y,{block:"",color:"primary",disabled:a.count<1,onClick:k=>p.openViewRaw(a.target_name,a.packet_name)},{default:i(()=>e[1]||(e[1]=[m(" View Raw ")])),_:2},1032,["disabled","onClick"])]),"item.view_in_pkt_viewer":i(({item:a})=>[a.target_name==="UNKNOWN"?(c(),u("span",N,"N/A")):g("",!0),a.target_name!="UNKNOWN"?(c(),d(y,{key:1,block:"",color:"primary",onClick:k=>p.openPktViewer(a.target_name,a.packet_name)},{default:i(()=>[e[3]||(e[3]=m(" View In Packet Viewer ")),o(U,{end:""},{default:i(()=>e[2]||(e[2]=[m(" mdi-open-in-new ")])),_:1})]),_:2},1032,["onClick"])):g("",!0)]),_:1},8,["headers","items","search","onUpdate:currentItems"]),(c(!0),u(b,null,f(l.rawDialogs,a=>(c(),d(P,{key:a.target_name+"_"+a.packet_name,type:"Telemetry","target-name":a.target_name,"packet-name":a.packet_name,visible:!0,"z-index":a.zIndex,onClose:k=>p.closeRawDialog(a),onFocus:k=>p.focus(a)},null,8,["target-name","packet-name","z-index","onClose","onFocus"]))),128))]),_:1})}const j=V("default",x(t,[["render",D]]))}}});
@@ -1 +1 @@
1
- System.register(["./services-6c036365da68dd4327ff.js"],function(r,a){"use strict";var e;return{setters:[t=>{e=t.m}],execute:function(){const t=r("U",{props:{refreshInterval:{default:1e3}},data(){return{updater:null,api:null}},created(){this.api=new e},mounted(){this.changeUpdater()},beforeUnmount(){this.updater!=null&&(clearInterval(this.updater),this.updater=null)},watch:{refreshInterval:function(n,s){this.changeUpdater()}},methods:{changeUpdater(){this.updater!=null&&(clearInterval(this.updater),this.updater=null),this.updater=setInterval(()=>{this.update()},this.refreshInterval)}}})}}});
1
+ System.register(["./services-61aec8b87d81fdbc4b64.js"],function(r,a){"use strict";var e;return{setters:[t=>{e=t.h}],execute:function(){const t=r("U",{props:{refreshInterval:{default:1e3}},data(){return{updater:null,api:null}},created(){this.api=new e},mounted(){this.changeUpdater()},beforeUnmount(){this.updater!=null&&(clearInterval(this.updater),this.updater=null)},watch:{refreshInterval:function(n,s){this.changeUpdater()}},methods:{changeUpdater(){this.updater!=null&&(clearInterval(this.updater),this.updater=null),this.updater=setInterval(()=>{this.update()},this.refreshInterval)}}})}}});
@@ -1 +1 @@
1
- System.register(["./main-4bad43bda3e8a8483ba9.js","./Widget-fRCERxGf-6cf6e886d2d5ee76cfc6.js"],function(x,T){"use strict";var w,_;return{setters:[p=>{w=p.P},p=>{_=p.o}],execute:function(){var p={},I;function S(){return I||(I=1,function(t){(function(){var s={not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function c(a){return E(V(a),arguments)}function b(a,u){return c.apply(null,[a].concat(u||[]))}function E(a,u){var i=1,h=a.length,e,o="",l,n,r,f,g,y,v,d;for(l=0;l<h;l++)if(typeof a[l]=="string")o+=a[l];else if(typeof a[l]=="object"){if(r=a[l],r.keys)for(e=u[i],n=0;n<r.keys.length;n++){if(e==null)throw new Error(c('[sprintf] Cannot access property "%s" of undefined value "%s"',r.keys[n],r.keys[n-1]));e=e[r.keys[n]]}else r.param_no?e=u[r.param_no]:e=u[i++];if(s.not_type.test(r.type)&&s.not_primitive.test(r.type)&&e instanceof Function&&(e=e()),s.numeric_arg.test(r.type)&&typeof e!="number"&&isNaN(e))throw new TypeError(c("[sprintf] expecting number but found %T",e));switch(s.number.test(r.type)&&(v=e>=0),r.type){case"b":e=parseInt(e,10).toString(2);break;case"c":e=String.fromCharCode(parseInt(e,10));break;case"d":case"i":e=parseInt(e,10);break;case"j":e=JSON.stringify(e,null,r.width?parseInt(r.width):0);break;case"e":e=r.precision?parseFloat(e).toExponential(r.precision):parseFloat(e).toExponential();break;case"f":e=r.precision?parseFloat(e).toFixed(r.precision):parseFloat(e);break;case"g":e=r.precision?String(Number(e.toPrecision(r.precision))):parseFloat(e);break;case"o":e=(parseInt(e,10)>>>0).toString(8);break;case"s":e=String(e),e=r.precision?e.substring(0,r.precision):e;break;case"t":e=String(!!e),e=r.precision?e.substring(0,r.precision):e;break;case"T":e=Object.prototype.toString.call(e).slice(8,-1).toLowerCase(),e=r.precision?e.substring(0,r.precision):e;break;case"u":e=parseInt(e,10)>>>0;break;case"v":e=e.valueOf(),e=r.precision?e.substring(0,r.precision):e;break;case"x":e=(parseInt(e,10)>>>0).toString(16);break;case"X":e=(parseInt(e,10)>>>0).toString(16).toUpperCase();break}s.json.test(r.type)?o+=e:(s.number.test(r.type)&&(!v||r.sign)?(d=v?"+":"-",e=e.toString().replace(s.sign,"")):d="",g=r.pad_char?r.pad_char==="0"?"0":r.pad_char.charAt(1):" ",y=r.width-(d+e).length,f=r.width&&y>0?g.repeat(y):"",o+=r.align?d+e+f:g==="0"?d+f+e:f+d+e)}return o}var m=Object.create(null);function V(a){if(m[a])return m[a];for(var u=a,i,h=[],e=0;u;){if((i=s.text.exec(u))!==null)h.push(i[0]);else if((i=s.modulo.exec(u))!==null)h.push("%");else if((i=s.placeholder.exec(u))!==null){if(i[2]){e|=1;var o=[],l=i[2],n=[];if((n=s.key.exec(l))!==null)for(o.push(n[1]);(l=l.substring(n[0].length))!=="";)if((n=s.key_access.exec(l))!==null)o.push(n[1]);else if((n=s.index_access.exec(l))!==null)o.push(n[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");i[2]=o}else e|=2;if(e===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");h.push({placeholder:i[0],param_no:i[1],keys:i[2],sign:i[3],pad_char:i[4],align:i[5],width:i[6],precision:i[7],type:i[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");u=u.substring(i[0].length)}return m[a]=h}t.sprintf=c,t.vsprintf=b,typeof window<"u"&&(window.sprintf=c,window.vsprintf=b)})()}(p)),p}S();const k={methods:{formatValueBase(t,s){return this.isJsonString(t)?this.formatJsonString(t):Array.isArray(t)?this.formatArray(t):this.isObject(t)?"":s&&t?sprintf(s,t):String(t)},isJsonString(t){return t&&t.json_class==="String"&&t.raw!==void 0},formatJsonString(t){let s=Array.from(t.raw.slice(0,32),c=>("0"+(c&255).toString(16)).slice(-2)).join(" ").toUpperCase();return t.raw.length>32&&(s+="..."),s},formatArray(t){return"["+t.map(s=>typeof s=="string"?`"${s}"`:s).join(", ")+"]"},isObject(t){return Object.prototype.toString.call(t).slice(8,-1)==="Object"}}},L=x("L",{mixins:[_,w,k],props:{value:{default:null},limitsState:{type:String,default:null},counter:{default:null},formatString:null,timeZone:{type:String,default:"local"}},emits:["addItem","deleteItem","open"],data(){return{appliedTimeZone:"local",curValue:null,prevValue:null,grayLevel:80,grayRate:5,valueId:null,arrayIndex:null,viewDetails:!1,contextMenuShown:!1,x:0,y:0,contextMenuOptions:[{title:"Details",action:()=>{this.contextMenuShown=!1,this.viewDetails=!0}},{title:"Graph",action:()=>{window.open("/tools/tlmgrapher/"+encodeURIComponent(this.parameters[0])+"/"+encodeURIComponent(this.parameters[1])+"/"+encodeURIComponent(this.parameters[2]),"_blank")}}]}},watch:{_counter:function(t,s){this.curValue!==this.prevValue?this.grayLevel=80:(this.grayLevel-=this.grayRate,this.grayLevel<30&&(this.grayLevel=30)),this.prevValue=this.curValue}},computed:{_value:function(){return this.curValue=this.value,this.curValue===null&&(this.screenValues?this.screenValues[this.valueId]&&(this.arrayIndex!==null&&this.screenValues[this.valueId][0]?this.curValue=this.screenValues[this.valueId][0][this.arrayIndex]:this.curValue=this.screenValues[this.valueId][0]):this.curValue=null),this.curValue=this.formatValue(this.curValue),this.curValue},_limitsState:function(){let t=this.limitsState;return t===null&&(this.screenValues?this.screenValues[this.valueId]&&(t=this.screenValues[this.valueId][1]):t=null),t},_counter:function(){let t=this.counter;return t===null&&(this.screenValues?this.screenValues[this.valueId]&&(t=this.screenValues[this.valueId][2]):t=null),t},valueClass:function(){return"value shrink pa-1 openc3-"+this.limitsColor},astroStatus(){switch(this.limitsColor){case"green":return"normal";case"yellow":return"caution";case"red":return"critical";case"blue":return"standby";default:return null}},limitsColor(){let t=this._limitsState;if(t!=null)switch(t){case"GREEN":case"GREEN_HIGH":case"GREEN_LOW":return"green";case"YELLOW":case"YELLOW_HIGH":case"YELLOW_LOW":return"yellow";case"RED":case"RED_HIGH":case"RED_LOW":return"red";case"BLUE":return"blue";case"STALE":return"purple";default:return"white"}return""},limitsLetter(){let t=this._limitsState;if(t!=null){let s=t.charAt(0);return t.endsWith("_LOW")&&(s=s.toLowerCase()),s}return""}},created(){if(this.value===null||this.limitsState===null){if(this.parameters[2].includes("[["))this.parameters[2]=this.parameters[2].replace("[[","[").replace("]]","]");else if(this.parameters[2].includes("[")){let t=this.parameters[2].match(/\[(\d+)\]/);this.arrayIndex=parseInt(t[1]),this.parameters[2]=this.parameters[2].replace(t[0],"")}this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${this.getType()}`,this.$emit("addItem",this.valueId),this.screenTimeZone?this.appliedTimeZone=this.screenTimeZone:this.appliedTimeZone=this.timeZone}},destroyed(){(this.value===null||this.limitsState===null)&&this.$emit("deleteItem",this.valueId)},methods:{getType(){let t="WITH_UNITS";return this.parameters[3]&&(t=this.parameters[3]),t},formatValue(t){return t&&this.valueId&&(this.valueId.toUpperCase().includes("PACKET_TIMEFORMATTED")||this.valueId.toUpperCase().includes("RECEIVED_TIMEFORMATTED"))?(t=t.replaceAll("/","-"),this.formatUtcToLocal(new Date(t),this.appliedTimeZone)):this.formatValueBase(t,this.formatString)},showContextMenu(t){t.preventDefault(),this.contextMenuShown=!1,this.x=t.clientX,this.y=t.clientY,this.$nextTick(()=>{this.contextMenuShown=!0})}}})}}});
1
+ System.register(["./main-3edbee545cea57a5f76d.js","./Widget-oyqWpFXJ-18d727bbb6fbb5d9c2da.js"],function(S,T){"use strict";var w,_;return{setters:[p=>{w=p.P},p=>{_=p.o}],execute:function(){var p={},I;function x(){return I||(I=1,function(t){(function(){var s={not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function c(a){return V(E(a),arguments)}function b(a,u){return c.apply(null,[a].concat(u||[]))}function V(a,u){var i=1,h=a.length,e,o="",l,n,r,m,g,y,v,d;for(l=0;l<h;l++)if(typeof a[l]=="string")o+=a[l];else if(typeof a[l]=="object"){if(r=a[l],r.keys)for(e=u[i],n=0;n<r.keys.length;n++){if(e==null)throw new Error(c('[sprintf] Cannot access property "%s" of undefined value "%s"',r.keys[n],r.keys[n-1]));e=e[r.keys[n]]}else r.param_no?e=u[r.param_no]:e=u[i++];if(s.not_type.test(r.type)&&s.not_primitive.test(r.type)&&e instanceof Function&&(e=e()),s.numeric_arg.test(r.type)&&typeof e!="number"&&isNaN(e))throw new TypeError(c("[sprintf] expecting number but found %T",e));switch(s.number.test(r.type)&&(v=e>=0),r.type){case"b":e=parseInt(e,10).toString(2);break;case"c":e=String.fromCharCode(parseInt(e,10));break;case"d":case"i":e=parseInt(e,10);break;case"j":e=JSON.stringify(e,null,r.width?parseInt(r.width):0);break;case"e":e=r.precision?parseFloat(e).toExponential(r.precision):parseFloat(e).toExponential();break;case"f":e=r.precision?parseFloat(e).toFixed(r.precision):parseFloat(e);break;case"g":e=r.precision?String(Number(e.toPrecision(r.precision))):parseFloat(e);break;case"o":e=(parseInt(e,10)>>>0).toString(8);break;case"s":e=String(e),e=r.precision?e.substring(0,r.precision):e;break;case"t":e=String(!!e),e=r.precision?e.substring(0,r.precision):e;break;case"T":e=Object.prototype.toString.call(e).slice(8,-1).toLowerCase(),e=r.precision?e.substring(0,r.precision):e;break;case"u":e=parseInt(e,10)>>>0;break;case"v":e=e.valueOf(),e=r.precision?e.substring(0,r.precision):e;break;case"x":e=(parseInt(e,10)>>>0).toString(16);break;case"X":e=(parseInt(e,10)>>>0).toString(16).toUpperCase();break}s.json.test(r.type)?o+=e:(s.number.test(r.type)&&(!v||r.sign)?(d=v?"+":"-",e=e.toString().replace(s.sign,"")):d="",g=r.pad_char?r.pad_char==="0"?"0":r.pad_char.charAt(1):" ",y=r.width-(d+e).length,m=r.width&&y>0?g.repeat(y):"",o+=r.align?d+e+m:g==="0"?d+m+e:m+d+e)}return o}var f=Object.create(null);function E(a){if(f[a])return f[a];for(var u=a,i,h=[],e=0;u;){if((i=s.text.exec(u))!==null)h.push(i[0]);else if((i=s.modulo.exec(u))!==null)h.push("%");else if((i=s.placeholder.exec(u))!==null){if(i[2]){e|=1;var o=[],l=i[2],n=[];if((n=s.key.exec(l))!==null)for(o.push(n[1]);(l=l.substring(n[0].length))!=="";)if((n=s.key_access.exec(l))!==null)o.push(n[1]);else if((n=s.index_access.exec(l))!==null)o.push(n[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");i[2]=o}else e|=2;if(e===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");h.push({placeholder:i[0],param_no:i[1],keys:i[2],sign:i[3],pad_char:i[4],align:i[5],width:i[6],precision:i[7],type:i[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");u=u.substring(i[0].length)}return f[a]=h}t.sprintf=c,t.vsprintf=b,typeof window<"u"&&(window.sprintf=c,window.vsprintf=b)})()}(p)),p}x();const k={methods:{formatValueBase(t,s){return this.isJsonString(t)?this.formatJsonString(t):Array.isArray(t)?this.formatArray(t):this.isObject(t)?"":s&&t?sprintf(s,t):String(t)},isJsonString(t){return t&&t.json_class==="String"&&t.raw!==void 0},formatJsonString(t){let s=Array.from(t.raw.slice(0,32),c=>("0"+(c&255).toString(16)).slice(-2)).join(" ").toUpperCase();return t.raw.length>32&&(s+="..."),s},formatArray(t){return"["+t.map(s=>typeof s=="string"?`"${s}"`:s).join(", ")+"]"},isObject(t){return Object.prototype.toString.call(t).slice(8,-1)==="Object"}}},L=S("L",{mixins:[_,w,k],props:{value:{default:null},limitsState:{type:String,default:null},counter:{default:null},formatString:null,timeZone:{type:String,default:"local"}},emits:["addItem","deleteItem","open"],data(){return{appliedTimeZone:"local",curValue:null,prevValue:null,grayLevel:80,grayRate:5,valueId:null,arrayIndex:null,viewDetails:!1,contextMenuShown:!1,x:0,y:0,contextMenuOptions:[{title:"Details",action:()=>{this.contextMenuShown=!1,this.viewDetails=!0}},{title:"Graph",action:()=>{window.open("/tools/tlmgrapher/"+encodeURIComponent(this.parameters[0])+"/"+encodeURIComponent(this.parameters[1])+"/"+encodeURIComponent(this.parameters[2]),"_blank")}}]}},watch:{_counter:function(t,s){this.curValue!==this.prevValue?this.grayLevel=80:(this.grayLevel-=this.grayRate,this.grayLevel<30&&(this.grayLevel=30)),this.prevValue=this.curValue}},computed:{_value:function(){return this.curValue=this.value,this.curValue===null&&(this.screenValues?this.screenValues[this.valueId]&&(this.arrayIndex!==null&&this.screenValues[this.valueId][0]?this.curValue=this.screenValues[this.valueId][0][this.arrayIndex]:this.curValue=this.screenValues[this.valueId][0]):this.curValue=null),this.curValue=this.formatValue(this.curValue),this.curValue},_limitsState:function(){let t=this.limitsState;return t===null&&(this.screenValues?this.screenValues[this.valueId]&&(t=this.screenValues[this.valueId][1]):t=null),t},_counter:function(){let t=this.counter;return t===null&&(this.screenValues?this.screenValues[this.valueId]&&(t=this.screenValues[this.valueId][2]):t=null),t},valueClass:function(){return"value shrink pa-1 openc3-"+this.limitsColor},astroStatus(){switch(this.limitsColor){case"green":return"normal";case"yellow":return"caution";case"red":return"critical";case"blue":return"standby";default:return null}},limitsColor(){let t=this._limitsState;if(t!=null)switch(t){case"GREEN":case"GREEN_HIGH":case"GREEN_LOW":return"green";case"YELLOW":case"YELLOW_HIGH":case"YELLOW_LOW":return"yellow";case"RED":case"RED_HIGH":case"RED_LOW":return"red";case"BLUE":return"blue";case"STALE":return"purple";default:return"white"}return""},limitsLetter(){let t=this._limitsState;if(t!=null){let s=t.charAt(0);return t.endsWith("_LOW")&&(s=s.toLowerCase()),s}return""}},created(){if(this.value===null||this.limitsState===null){if(this.parameters[2].includes("[["))this.parameters[2]=this.parameters[2].replace("[[","[").replace("]]","]");else if(this.parameters[2].includes("[")){let t=this.parameters[2].match(/\[(\d+)\]/);this.arrayIndex=parseInt(t[1]),this.parameters[2]=this.parameters[2].replace(t[0],"")}this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${this.getType()}`,this.$emit("addItem",this.valueId),this.screenTimeZone?this.appliedTimeZone=this.screenTimeZone:this.appliedTimeZone=this.timeZone}},destroyed(){(this.value===null||this.limitsState===null)&&this.$emit("deleteItem",this.valueId)},methods:{getType(){let t="WITH_UNITS";return this.parameters[3]&&(t=this.parameters[3]),t},formatValue(t){return t&&this.valueId&&(this.valueId.toUpperCase().includes("PACKET_TIMEFORMATTED")||this.valueId.toUpperCase().includes("RECEIVED_TIMEFORMATTED"))?(t=t.replaceAll("/","-"),this.formatUtcToLocal(new Date(t),this.appliedTimeZone)):this.formatValueBase(t,this.formatString)},showContextMenu(t){t.preventDefault(),this.contextMenuShown=!1,this.x=t.clientX,this.y=t.clientY,this.$nextTick(()=>{this.contextMenuShown=!0})}}})}}});