openc3-cosmos-tool-admin 7.2.1 → 7.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.
- checksums.yaml +4 -4
- data/tools/admin/ArrayWidget-5XQXgMtp-80db1e3027ca0f38008d.js +2 -0
- data/tools/admin/{ArrayplotWidget-fdXLhGAl-bb78ab3e4fdecdfebd67.js → ArrayplotWidget-pk7OINvA-33482371ab3dd9c8a3e1.js} +1 -1
- data/tools/admin/{BarColumn-Bb305iCi-1d14dd1f021f8d8d5f6a.js → BarColumn-JQ552zb0-71f940da624cf74a8ac7.js} +1 -1
- data/tools/admin/{BlockWidget-Do3W6tZh-30b366b735726d3e884d.js → BlockWidget-B_5TnoG_-07bb5d5276892a455ef5.js} +2 -2
- data/tools/admin/ButtonWidget-CiZGNEls-b36f8511f142106bb716.js +1 -0
- data/tools/admin/{CanvasWidget-BRdVWln5-68610c4a029476073178.js → CanvasWidget-CzLQAoHY-05569d347e30d7c90f9f.js} +1 -1
- data/tools/admin/CanvasdotWidget-CcI1HwAp-131410357e5f5cb7c5cf.js +1 -0
- data/tools/admin/{CanvasimageWidget-Czbq1GuF-5f841f468351c7d6bdbf.js → CanvasimageWidget-CYg1rKr_-9d04ce25dc613fc2ccc6.js} +1 -1
- data/tools/admin/{CanvasimagevalueWidget-DKt5JgEt-c79bbec74e5403f7b6ec.js → CanvasimagevalueWidget-e0p2honY-c0ebf132498eedba3031.js} +1 -1
- data/tools/admin/{CanvaslabelWidget-DW2I1ra1-bf0c322f7c308654cfc2.js → CanvaslabelWidget-CgECf4wH-8a62168c6b54ce7dc69d.js} +1 -1
- data/tools/admin/{CanvaslabelvalueWidget-BhzvZVfD-ba39d0f36fbf3db6cd9c.js → CanvaslabelvalueWidget-bCIPWE4c-c301a198a35d0ba429cc.js} +1 -1
- data/tools/admin/CanvaslineWidget-Tw1B6RTA-30b7fce14bb17223c180.js +1 -0
- data/tools/admin/{CanvaslinevalueWidget-ihI97G8T-a7ccb7b7ca2d2628fdd5.js → CanvaslinevalueWidget-GvTic9rq-8cdbcb115d2e04007db0.js} +1 -1
- data/tools/admin/CheckbuttonWidget-DV6xeneq-c00e62096beb7d93a1c9.js +1 -0
- data/tools/admin/ComboboxWidget-BO31bWzg-5d5f35fb019f925d5ae2.js +1 -0
- data/tools/admin/DateWidget-DYviZFhJ-3517b8d8c507bb623800.js +1 -0
- data/tools/admin/{DetailsDialog-DE7lK17G-434a9ce6dcc8e6636a47.js → DetailsDialog-DHi4t3xd-23cd6112e439aa7c2e72.js} +1 -1
- data/tools/admin/{DynamicWidget-BuSbQVhf-f880988884028652fefc.js → DynamicWidget-BuSbQVhf-8c7a3d8e99d5fbadb524.js} +1 -1
- data/tools/admin/{FilechecksumWidget-DRnOt_UE-b118998ed499ab04e025.js → FilechecksumWidget-rJe1KvzY-a8b35d82b279ce437fe6.js} +1 -1
- data/tools/admin/{FiledisplayWidget-26R46EjS-312ad25b3132af381df5.js → FiledisplayWidget-CbTWgtBy-a4fcca29c88afb5c536d.js} +1 -1
- data/tools/admin/{FormatvalueWidget-BxyscMJc-9965b0bd2806cfbe79cb.js → FormatvalueWidget-B9Giwzaz-d95836be56ebf9a9fbae.js} +1 -1
- data/tools/admin/{Graph-BKw7xw1a-947d95e03148698e323f.js → Graph-xc7TNnsk-b819fee23f66c94861f9.js} +1 -1
- data/tools/admin/{GraphWidget-Cs9mvqUu-f9a29adafa014c1e26e4.js → GraphWidget-COvVOlEn-9d0cb68fec73a5f3454a.js} +1 -1
- data/tools/admin/{HorizontalWidget-fWLFj7Kg-46768f166783e7c59c1c.js → HorizontalWidget-BfdjRLGe-792a24c12a95a38bd847.js} +1 -1
- data/tools/admin/{HorizontalboxWidget-DEaXhKEz-b0ba376ca37ee17a7d70.js → HorizontalboxWidget-B1b9uNaB-e4ec787dc7d063c45fe0.js} +1 -1
- data/tools/admin/HorizontallineWidget-CHz4o6Gi-b60cc8d253fd53f17c8c.js +1 -0
- data/tools/admin/{IframeWidget-B143k4lo-47d90846ad305990fd45.js → IframeWidget-BCtrIgD1-5aac9e4f21efaab8f6fe.js} +1 -1
- data/tools/admin/{ImageLoader-BCpmQHIl-90267960b7246cba4d23.js → ImageLoader-BzE4VsHW-1b90e52f729ac92ee450.js} +1 -1
- data/tools/admin/{ImageviewerWidget-CLrvr6dw-6adafd871908af16336a.js → ImageviewerWidget-DKMBE3tQ-fc341ef1324e0620d71c.js} +1 -1
- data/tools/admin/InterfacesTab-C_AsAMrL-72de0290999c83b4f01f.js +1 -0
- data/tools/admin/{LabelWidget-CA1bTX2B-cf65a81edc2678cf21d0.js → LabelWidget-B0nE0ImW-54b49f3830be1cee8eb4.js} +1 -1
- data/tools/admin/LabelledWidget-DrZHj_lR-012360847b59e5acbd03.js +1 -0
- data/tools/admin/LabelprogressbarWidget-K9NphQp0-4fb2ed553ea5457e745e.js +1 -0
- data/tools/admin/{LabelsparklineWidget-B27xXxWg-46ed8faac17cc5e23e2c.js → LabelsparklineWidget-cn1OJvL3-126a26c9f5cf70def931.js} +1 -1
- data/tools/admin/LabelvalueWidget-DxJbd9nR-01ee83f67cecd181a9ef.js +1 -0
- data/tools/admin/LabelvaluedescWidget-B-RiUnpl-2189f2eada48bafa7426.js +1 -0
- data/tools/admin/LabelvaluelimitsbarWidget-BF94rtl8-3534b25320e1cd09f5a8.js +1 -0
- data/tools/admin/LabelvaluelimitscolumnWidget-UOfPu8D1-3bc11e94676b61fa03fa.js +1 -0
- data/tools/admin/LabelvaluerangebarWidget-EVON-Tv8-48083be1abd02e2b22dd.js +1 -0
- data/tools/admin/{Layout--_zNJWnw-a75e57affb59e71889ad.js → Layout-BLS4Yi3m-9a851fc81da50b5a0f78.js} +1 -1
- data/tools/admin/{LedWidget-D2uxHxe3-b432e645d6f5ac424a50.js → LedWidget-DqVfh3zJ-44a2c97be736ccc6b1b3.js} +1 -1
- data/tools/admin/{LimitsBar-DN1s8-MS-5fcc0dd234e18f768e31.js → LimitsBar-BqpvMpXM-299f056c19106e6b75fb.js} +1 -1
- data/tools/admin/{LimitsbarWidget-Cqhh7LKU-68bbd725e553a8fbb473.js → LimitsbarWidget-rEJIGKCx-c5d60ebf1e9e1a4ffb48.js} +1 -1
- data/tools/admin/{LimitscolorWidget-haGB4RbY-2bbe52d1c80aded0cc12.js → LimitscolorWidget-DVXho9Mm-43c53230d0556a4f1a5f.js} +1 -1
- data/tools/admin/{LimitscolumnWidget-B1GdmlR_-ea359135deab006453c1.js → LimitscolumnWidget-DSQAdlZS-5e2e3f51c3376782328c.js} +1 -1
- data/tools/admin/LinegraphWidget-CQRwZ0N6-0f570138c80d809f9285.js +1 -0
- data/tools/admin/{MatrixbycolumnsWidget-coHlLETG-860f23fb48426b9fd387.js → MatrixbycolumnsWidget-CJJ7SugT-ecba1687b1c179dcc8b9.js} +1 -1
- data/tools/admin/{MicroservicesTab-eR0hpoO1-90e70bfd68ca8cece876.js → MicroservicesTab-9I1i19SB-24a09c3bcdfbca7af3d8.js} +2 -2
- data/tools/admin/{OpenC3TimePicker-B8Vu9GBz-c1433e91ea28dd0e883e.js → OpenC3TimePicker-Cww9L2Ij-d23c4fb5d7d8178a137a.js} +1 -1
- data/tools/admin/{OutputDialog-B0DR879Y-1fe936426c84cb442ac4.js → OutputDialog-B-bk2nex-d22c9e9f81462796cf40.js} +1 -1
- data/tools/admin/PackagesTab-Cjj7tXrq-89408e61c959392ec84f.js +2 -0
- data/tools/admin/PluginsTab-VN4Z4v7e-ca0878630e8a775a0987.js +5 -0
- data/tools/admin/{ProgressbarWidget-D_yFssIZ-d10aa4e57145b3259669.js → ProgressbarWidget-VTd49uhi-4bf2baaad3eb99165018.js} +1 -1
- data/tools/admin/RadiobuttonWidget-DqsantxO-b47f08b4f7a848b82b4f.js +1 -0
- data/tools/admin/{RadiogroupWidget-2-td69IA-a20b41e0ee16fca8216f.js → RadiogroupWidget-Bht6RZPH-83314c896de2afd6894d.js} +1 -1
- data/tools/admin/{RangebarWidget-i2mlnxys-4eec6df5412c7c011047.js → RangebarWidget-CN11Oqws-3a133c58d66ddb2b34bf.js} +1 -1
- data/tools/admin/{RedisTab-WR7ODfau-47151697811af67bb310.js → RedisTab-CCtPxcYg-c331ecd0ae21eb136f39.js} +1 -1
- data/tools/admin/{RollupWidget-BEJ2Icg1-e244836ce5d601a70583.js → RollupWidget-cgl9Ghle-3fa38b3554127b346b0c.js} +1 -1
- data/tools/admin/RoutersTab-Duiv_o6g-4ca3fd52ef99712d30f7.js +1 -0
- data/tools/admin/{ScrollwindowWidget-BU1cRpL8-db955ba3d4a28aa695c0.js → ScrollwindowWidget-BFK-ihvZ-64da6ce3ba0f3118fd18.js} +1 -1
- data/tools/admin/{SecretsTab-CkjjSxCg-e1665e5ecea3aed8dad6.js → SecretsTab-BNyb54pD-fb3beba957358443d32e.js} +1 -1
- data/tools/admin/SettingsTab-Cvq3542H-57575239a634ca02206a.js +10 -0
- data/tools/admin/{SignalWidget-hiTkeem9-803814029a9fe6a17581.js → SignalWidget-Be7Z5pJD-0f9024939f3d5e4a418c.js} +1 -1
- data/tools/admin/{SimpleTextDialog-tGqcHHCx-aac1d333cbb9a93606d6.js → SimpleTextDialog-dn_TSiQ7-20dabd0df19c3059cf0f.js} +1 -1
- data/tools/admin/{SpacerWidget-CBmzzS_X-207fd991cbf6a40fe4b0.js → SpacerWidget-uKPA-f_0-03d7409692e75916a63f.js} +1 -1
- data/tools/admin/{SparklineWidget-CizRh6QR-125aeb303d4965c33db7.js → SparklineWidget-Wu5iFbly-10e00bf9372154d3ca85.js} +1 -1
- data/tools/admin/{TabbookWidget-CvL3Ozmx-392ae93cab5b7cbb9764.js → TabbookWidget-D3FrIoV4-b544084d75bde4b9d356.js} +1 -1
- data/tools/admin/{TargetsTab-KTV_gfLE-3a9c157196f584e54664.js → TargetsTab-CS7JjyjH-81370500aff926af0e8c.js} +1 -1
- data/tools/admin/TextboxWidget-f6wEcoI0-1ac8f94e536838694fa5.js +1 -0
- data/tools/admin/TextfieldWidget-D72Sey-h-acb374e2d0018cea37ae.js +1 -0
- data/tools/admin/TimeWidget-BBuxr7Db-234581053c602d1f9998.js +1 -0
- data/tools/admin/TitleWidget-Dfp5mPH2-ce6048efc981fc37f10b.js +1 -0
- data/tools/admin/{ToolsTab-yFxYcJ-o-7c21c60dd470d658fe4d.js → ToolsTab-VLEsXTJH-111d5d1fcf5683ad1d36.js} +1 -1
- data/tools/admin/{TsdbTab-B0BR-V6A-ab626c8be8b9836c1c78.js → TsdbTab-D_P34-tF-8717f03395909927e332.js} +1 -1
- data/tools/admin/{VWidget-5qOYva88-4db083a6475508bbf7ce.js → VWidget-5FjwlURU-6a72b64b7cc840033418.js} +1 -1
- data/tools/admin/{ValueWidget-CAkuc_w_-6037c5f1b4e7c0e9c790.js → ValueWidget-CpptSOvJ-71518e3093457d3a3e99.js} +1 -1
- data/tools/admin/ValuelimitsbarWidget-AgeOlPAV-191d4ad91bd9fcdb2e92.js +1 -0
- data/tools/admin/{ValuelimitscolumnWidget-iOjB_fCj-c8c67d58522b7f505b4f.js → ValuelimitscolumnWidget-CfTt7Q8a-6457391b1f8ce6e84aae.js} +1 -1
- data/tools/admin/ValuerangebarWidget-E3CtttJk-0521a131ef8b3c7d9461.js +1 -0
- data/tools/admin/{VerticalWidget-C6O0dhRU-7511fd89efa71860286e.js → VerticalWidget-B_eheXmK-3714fd0477bb202504f1.js} +1 -1
- data/tools/admin/{VerticalboxWidget-B-CoqRJG-29951e73bb5144b9ca2c.js → VerticalboxWidget-Bf8XJiY9-f18ae386e10f607a8128.js} +1 -1
- data/tools/admin/{Widget-CtYQauzA-ae8839a2e4146c799aec.js → Widget-CSgnvwEG-bc4dec83d0fc9039b821.js} +1 -1
- data/tools/admin/main-6a328857fae6aab0f418.js +1496 -0
- data/tools/admin/main.js +1 -1
- data/tools/admin/{settings-BrhbKDEv-791c3f57ac7979ee13b6.js → settings-CEBZz77m-520d12b72b93c319ccfd.js} +1 -1
- metadata +85 -85
- data/tools/admin/ArrayWidget-DMSm_P6c-efc7746a4ba953cd6808.js +0 -2
- data/tools/admin/ButtonWidget-DukCQt0F-c8a88a1d238108f85fc0.js +0 -2
- data/tools/admin/CanvasdotWidget-DV8PeDWz-da21bd87f779b9139269.js +0 -1
- data/tools/admin/CanvaslineWidget-DsjY37tp-97707caf9ea6147f085e.js +0 -1
- data/tools/admin/CheckbuttonWidget-B778Z-Zo-9dbaeff7a2a74130539a.js +0 -1
- data/tools/admin/ComboboxWidget-CuuvOL9K-838f18b5b010cb3d71ae.js +0 -1
- data/tools/admin/DateWidget-COvQTAeo-fdab60f30b292f493736.js +0 -1
- data/tools/admin/HorizontallineWidget-Bvu1QP3S-2ef01995448de3e2d6b7.js +0 -1
- data/tools/admin/InterfacesTab-zhl06TGR-269bf95691e1ca1133d0.js +0 -1
- data/tools/admin/LabelledWidget-BDhvr03J-d661081e5e66658337e8.js +0 -1
- data/tools/admin/LabelprogressbarWidget-g7A5CE8S-3e6d2543cbb4356e663b.js +0 -1
- data/tools/admin/LabelvalueWidget-DFn8o6LC-83776b27319b83d8f0db.js +0 -1
- data/tools/admin/LabelvaluedescWidget-BQpaxFaB-577f3f571587fc3e28a8.js +0 -1
- data/tools/admin/LabelvaluelimitsbarWidget-C-z96q8z-05aedeebb4882527347a.js +0 -1
- data/tools/admin/LabelvaluelimitscolumnWidget-D2TMEv9O-8f2ba12f3d8541a80f4f.js +0 -1
- data/tools/admin/LabelvaluerangebarWidget-D99dZCjz-f2a7ecfb05831ee9ece6.js +0 -1
- data/tools/admin/LinegraphWidget-COSOQ0uM-d51c56629154333d44e4.js +0 -1
- data/tools/admin/PackagesTab-aA0fmiQh-fb563fc6f35c8b0be850.js +0 -1
- data/tools/admin/PluginsTab-C-ItW862-32d7ee9164d04691765d.js +0 -5
- data/tools/admin/RadiobuttonWidget-DL0jVTcb-3c465bd94a1d1501b9aa.js +0 -1
- data/tools/admin/RoutersTab-DUvEd6IA-b95f4c2224cc6903fd12.js +0 -1
- data/tools/admin/SettingsTab-CJp0hFpx-bae27f27a99072352713.js +0 -6
- data/tools/admin/TextboxWidget-BtEwXzDO-e4893abb472b9a687d25.js +0 -1
- data/tools/admin/TextfieldWidget-BDbb57HP-51b0d1e6a5aa914e5ac8.js +0 -1
- data/tools/admin/TimeWidget-DzD8U8l8-2591897a5196cb54b68d.js +0 -1
- data/tools/admin/TitleWidget-CL53vf14-6e11a61576950ccd39fd.js +0 -1
- data/tools/admin/ValuelimitsbarWidget-Y8sO05E1-c51344904eca186c081f.js +0 -1
- data/tools/admin/ValuerangebarWidget-DsCoeAm6-a486168810aca7f0e206.js +0 -1
- data/tools/admin/main-040488697a5f3eed5115.js +0 -1502
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
System.register(["./main-040488697a5f3eed5115.js","vue","./settings-BrhbKDEv-791c3f57ac7979ee13b6.js","single-spa","vue-router","pinia","vuetify"],(function(te,$e){"use strict";var k,q,O,a,b,B,l,L,E,V,o,s,C,W,A,F,w,N,T;return{setters:[S=>{k=S.k,q=S.D,O=S.Z},S=>{a=S.resolveComponent,b=S.openBlock,B=S.createElementBlock,l=S.createVNode,L=S.Fragment,E=S.createCommentVNode,V=S.createBlock,o=S.withCtx,s=S.createTextVNode,C=S.toDisplayString,W=S.createSlots,A=S.mergeProps,F=S.withDirectives,w=S.vShow,N=S.renderList},S=>{T=S.n},null,null,null,null],execute:(function(){const S="__default",le={data(){return{suppressedWarnings:[],selectedSuppressedWarnings:[],selectAllSuppressedWarnings:!1}},watch:{selectAllSuppressedWarnings:function(t){t?this.selectedSuppressedWarnings=this.suppressedWarnings.map(e=>e.key):this.selectedSuppressedWarnings=[]}},created(){this.loadSuppressedWarnings()},methods:{loadSuppressedWarnings:function(){this.suppressedWarnings=Object.keys(localStorage).filter(t=>t.startsWith("suppresswarning__")).map(this.localStorageKeyToDisplayObject),this.selectedSuppressedWarnings=[]},localStorageKeyToDisplayObject:function(t){const e=t.split("__")[1].replaceAll("_"," ");return{key:t,text:e.charAt(0).toUpperCase()+e.slice(1),value:localStorage[t]}},resetSuppressedWarnings:function(){this.deleteLocalStorageKeys(this.selectedSuppressedWarnings),this.loadSuppressedWarnings()},deleteLocalStorageKeys:function(t){for(const e of t)delete localStorage[e]}}};function oe(t,e,y,U,r,f){const h=a("v-card-title"),i=a("v-card-subtitle"),u=a("v-checkbox"),m=a("v-card-text"),g=a("v-btn"),p=a("v-card-actions"),v=a("v-card");return b(),V(v,null,{default:o(()=>[l(h,null,{default:o(()=>[...e[2]||(e[2]=[s("Reset suppressed warnings",-1)])]),_:1}),l(i,null,{default:o(()=>[...e[3]||(e[3]=[s(` This resets "don't show this again" dialogs on this browser `,-1)])]),_:1}),l(m,null,{default:o(()=>[r.suppressedWarnings.length?(b(),B(L,{key:0},[l(u,{modelValue:r.selectAllSuppressedWarnings,"onUpdate:modelValue":e[0]||(e[0]=n=>r.selectAllSuppressedWarnings=n),label:"Select All Warnings",density:"compact"},null,8,["modelValue"]),(b(!0),B(L,null,N(r.suppressedWarnings,n=>(b(),V(u,{key:n.key,modelValue:r.selectedSuppressedWarnings,"onUpdate:modelValue":e[1]||(e[1]=d=>r.selectedSuppressedWarnings=d),label:n.text,value:n.key,density:"compact","hide-details":""},null,8,["modelValue","label","value"]))),128))],64)):(b(),B(L,{key:1},[s(" No warnings to reset ")],64))]),_:1}),l(p,{class:"px-2"},{default:o(()=>[l(g,{disabled:!r.selectedSuppressedWarnings.length,color:"warning",variant:"text","data-test":"reset-suppressed-warnings",onClick:f.resetSuppressedWarnings},{default:o(()=>[...e[4]||(e[4]=[s(" Reset ",-1)])]),_:1},8,["disabled","onClick"])]),_:1})]),_:1})}const ae=k(le,[["render",oe]]),P="ai_chat",re={mixins:[T],data(){return{aiChatEnabled:!0}},created(){this.loadSetting(P)},methods:{save:function(){this.saveSetting(P,this.aiChatEnabled)},parseSetting:function(t){t!=null&&(this.aiChatEnabled=t)}}};function se(t,e,y,U,r,f){const h=a("v-card-title"),i=a("v-alert"),u=a("v-switch"),m=a("v-card-text"),g=a("v-btn"),p=a("v-card-actions"),v=a("v-card");return b(),V(v,null,{default:o(()=>[l(h,null,{default:o(()=>[...e[4]||(e[4]=[s("AI Chat Settings",-1)])]),_:1}),l(i,{modelValue:t.errorLoading,"onUpdate:modelValue":e[0]||(e[0]=n=>t.errorLoading=n),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error loading previous configuration due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(i,{modelValue:t.errorSaving,"onUpdate:modelValue":e[1]||(e[1]=n=>t.errorSaving=n),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error saving due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(i,{modelValue:t.successSaving,"onUpdate:modelValue":e[2]||(e[2]=n=>t.successSaving=n),type:"success",closable:"",density:"compact"},{default:o(()=>[...e[5]||(e[5]=[s(" Saved! (Refresh the page to see changes) ",-1)])]),_:1},8,["modelValue"]),l(m,{class:"pb-0"},{default:o(()=>[l(u,{modelValue:r.aiChatEnabled,"onUpdate:modelValue":e[3]||(e[3]=n=>r.aiChatEnabled=n),label:`Enable the in-app AI Chatbot. When disabled, the AI
|
|
2
|
-
chat button and drawer are hidden for all users.`,color:"primary","data-test":"ai-chat-enabled"},null,8,["modelValue"])]),_:1}),l(p,null,{default:o(()=>[l(g,{color:"success",variant:"text","data-test":"save-ai-chat",onClick:f.save},{default:o(()=>[...e[6]||(e[6]=[s(" Save ",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1})}const ne=k(re,[["render",se]]),de={data(){return{lastConfigs:[],selectedLastConfigs:[],selectAllLastConfigs:!1}},watch:{selectAllLastConfigs:function(t){t?this.selectedLastConfigs=this.lastConfigs.map(e=>e.key):this.selectedLastConfigs=[]}},created(){this.loadLastConfigs()},methods:{loadLastConfigs:function(){localStorage.getItem(S)&&localStorage.removeItem(S),this.lastConfigs=Object.keys(localStorage).filter(t=>t.endsWith(S)).map(t=>{const e=t.split("__")[0].replaceAll("_"," ");return{key:t,text:e.charAt(0).toUpperCase()+e.slice(1)}}),this.selectedLastConfigs=[]},clearLastConfigs:function(){this.deleteLocalStorageKeys(this.selectedLastConfigs),this.loadLastConfigs()},deleteLocalStorageKeys:function(t){for(const e of t)localStorage.removeItem(e)}}};function ie(t,e,y,U,r,f){const h=a("v-card-title"),i=a("v-card-subtitle"),u=a("v-checkbox"),m=a("v-card-text"),g=a("v-btn"),p=a("v-card-actions"),v=a("v-card");return b(),V(v,null,{default:o(()=>[l(h,null,{default:o(()=>[...e[2]||(e[2]=[s(" Clear default configs ",-1)])]),_:1}),l(i,null,{default:o(()=>[...e[3]||(e[3]=[s(" This clears the default tool configs on this browser ",-1)])]),_:1}),l(m,null,{default:o(()=>[r.lastConfigs.length?(b(),B(L,{key:0},[l(u,{modelValue:r.selectAllLastConfigs,"onUpdate:modelValue":e[0]||(e[0]=n=>r.selectAllLastConfigs=n),label:"Select All Configs",density:"compact"},null,8,["modelValue"]),(b(!0),B(L,null,N(r.lastConfigs,n=>(b(),V(u,{key:n.key,modelValue:r.selectedLastConfigs,"onUpdate:modelValue":e[1]||(e[1]=d=>r.selectedLastConfigs=d),label:n.text,value:n.key,"hide-details":"",density:"compact"},null,8,["modelValue","label","value"]))),128))],64)):(b(),B(L,{key:1},[s(" No configs to clear ")],64))]),_:1}),l(p,{class:"px-2"},{default:o(()=>[l(g,{disabled:!r.selectedLastConfigs.length,color:"warning",variant:"text","data-test":"clear-default-configs",onClick:f.clearLastConfigs},{default:o(()=>[...e[4]||(e[4]=[s(" Clear ",-1)])]),_:1},8,["disabled","onClick"])]),_:1})]),_:1})}const ue=k(de,[["render",ie]]),Z="script_runner_locking",ce={mixins:[T],data(){return{vimMode:O.isVimModeEnabled(),scriptLockingEnabled:!0,defaultLanguage:O.getDefaultScriptingLanguage(),languageOptions:[{text:"Ruby",value:"ruby"},{text:"Python",value:"python"}]}},created(){this.loadSetting(Z)},methods:{save:function(){O.setVimMode(this.vimMode),O.setDefaultScriptingLanguage(this.defaultLanguage),this.saveSetting(Z,this.scriptLockingEnabled)},parseSetting:function(t){t!=null&&(this.scriptLockingEnabled=t)}}};function me(t,e,y,U,r,f){const h=a("v-card-title"),i=a("v-card-subtitle"),u=a("v-alert"),m=a("v-select"),g=a("v-switch"),p=a("v-card-text"),v=a("v-btn"),n=a("v-card-actions"),d=a("v-card");return b(),V(d,null,{default:o(()=>[l(h,null,{default:o(()=>[...e[6]||(e[6]=[s(" Code Editor Settings ",-1)])]),_:1}),l(i,null,{default:o(()=>[...e[7]||(e[7]=[s(" Settings for the code editors built into COSMOS (e.g. in Script Runner). These settings are saved to your browser's local storage. ",-1)])]),_:1}),l(u,{modelValue:t.errorLoading,"onUpdate:modelValue":e[0]||(e[0]=_=>t.errorLoading=_),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error loading previous configuration due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(u,{modelValue:t.errorSaving,"onUpdate:modelValue":e[1]||(e[1]=_=>t.errorSaving=_),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error saving due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(u,{modelValue:t.successSaving,"onUpdate:modelValue":e[2]||(e[2]=_=>t.successSaving=_),type:"success",closable:"",density:"compact"},{default:o(()=>[...e[8]||(e[8]=[s(" Saved! (Refresh the page to see changes) ",-1)])]),_:1},8,["modelValue"]),l(p,{class:"pb-0"},{default:o(()=>[l(m,{modelValue:r.defaultLanguage,"onUpdate:modelValue":e[3]||(e[3]=_=>r.defaultLanguage=_),label:"Default scripting language",items:r.languageOptions,"item-title":"text","item-value":"value",color:"primary",class:"mt-4","data-test":"default-language"},null,8,["modelValue","items"]),l(g,{modelValue:r.vimMode,"onUpdate:modelValue":e[4]||(e[4]=_=>r.vimMode=_),label:"Vim mode",color:"primary"},null,8,["modelValue"]),l(g,{modelValue:r.scriptLockingEnabled,"onUpdate:modelValue":e[5]||(e[5]=_=>r.scriptLockingEnabled=_),label:`Script File Locking - When enabled, a script being edited
|
|
3
|
-
by one user is read-only for other users until they explicitly force
|
|
4
|
-
unlock. Disable to allow multiple users to edit the same script
|
|
5
|
-
concurrently (last save wins).`,color:"primary","data-test":"script-locking-enabled"},null,8,["modelValue"])]),_:1}),l(n,null,{default:o(()=>[l(v,{color:"success",variant:"text","data-test":"save-editor-settings",onClick:f.save},{default:o(()=>[...e[9]||(e[9]=[s(" Save ",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1})}const ge=k(ce,[["render",me]]),j="astro",pe={mixins:[T],data(){return{hideClock:!1}},created(){this.loadSetting(j)},methods:{save(){this.saveSetting(j,JSON.stringify({hideClock:this.hideClock}))},parseSetting:function(t){if(t){let e=JSON.parse(t);this.hideClock=e.hideClock}}}};function fe(t,e,y,U,r,f){const h=a("v-card-title"),i=a("v-alert"),u=a("v-switch"),m=a("v-card-text"),g=a("v-btn"),p=a("v-card-actions"),v=a("v-card");return b(),V(v,null,{default:o(()=>[l(h,null,{default:o(()=>[...e[4]||(e[4]=[s("Astro Settings",-1)])]),_:1}),l(i,{modelValue:t.errorLoading,"onUpdate:modelValue":e[0]||(e[0]=n=>t.errorLoading=n),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error loading previous configuration due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(i,{modelValue:t.errorSaving,"onUpdate:modelValue":e[1]||(e[1]=n=>t.errorSaving=n),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error saving due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(i,{modelValue:t.successSaving,"onUpdate:modelValue":e[2]||(e[2]=n=>t.successSaving=n),type:"success",closable:"",density:"compact"},{default:o(()=>[...e[5]||(e[5]=[s(" Saved! (Refresh the page to see changes) ",-1)])]),_:1},8,["modelValue"]),l(m,{class:"pb-0"},{default:o(()=>[l(u,{modelValue:r.hideClock,"onUpdate:modelValue":e[3]||(e[3]=n=>r.hideClock=n),label:"Hide Astro Clock",color:"primary"},null,8,["modelValue"])]),_:1}),l(p,null,{default:o(()=>[l(g,{color:"success",variant:"text","data-test":"save-astro-settings",onClick:f.save},{default:o(()=>[...e[6]||(e[6]=[s(" Save ",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1})}const ve=k(pe,[["render",fe]]),I="theme",he={mixins:[T],data(){return{selectedTheme:"cosmosDark",themeOptions:[{label:"Astro (Default)",value:"cosmosDark"},{label:"Dark Cobalt",value:"cosmosDarkCobalt"},{label:"Dark Indigo",value:"cosmosDarkIndigo"},{label:"Dark Slate",value:"cosmosDarkSlate"},{label:"Dark Emerald",value:"cosmosDarkEmerald"}]}},created(){this.loadSetting(I)},methods:{save(){this.saveSetting(I,this.selectedTheme)},parseSetting(t){t&&(this.selectedTheme=t)}}};function be(t,e,y,U,r,f){const h=a("v-card-title"),i=a("v-alert"),u=a("v-select"),m=a("v-card-text"),g=a("v-btn"),p=a("v-card-actions"),v=a("v-card");return b(),V(v,null,{default:o(()=>[l(h,null,{default:o(()=>[...e[4]||(e[4]=[s("Theme",-1)])]),_:1}),l(i,{modelValue:t.errorLoading,"onUpdate:modelValue":e[0]||(e[0]=n=>t.errorLoading=n),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error loading previous configuration due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(i,{modelValue:t.errorSaving,"onUpdate:modelValue":e[1]||(e[1]=n=>t.errorSaving=n),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error saving due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(i,{modelValue:t.successSaving,"onUpdate:modelValue":e[2]||(e[2]=n=>t.successSaving=n),type:"success",closable:"",density:"compact"},{default:o(()=>[...e[5]||(e[5]=[s(" Saved! (Refresh the page to see changes) ",-1)])]),_:1},8,["modelValue"]),l(m,{class:"pt-4 pb-0"},{default:o(()=>[l(u,{modelValue:r.selectedTheme,"onUpdate:modelValue":e[3]||(e[3]=n=>r.selectedTheme=n),label:"Theme",items:r.themeOptions,"item-title":"label","item-value":"value","data-test":"theme-select"},null,8,["modelValue","items"])]),_:1}),l(p,null,{default:o(()=>[l(g,{color:"success",variant:"text","data-test":"save-theme-settings",onClick:f.save},{default:o(()=>[...e[6]||(e[6]=[s(" Save ",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1})}const Ce=k(he,[["render",be]]),K="classification_banner",Se={mixins:[T],data(){return{text:"",displayTopBanner:!1,displayBottomBanner:!1,topHeight:0,bottomHeight:0,selectedBackgroundColor:"red",customBackgroundColor:"",selectedFontColor:"white",customFontColor:"",customColorHint:"Enter a 3 or 6-digit hex color code",colors:[{text:"Yellow",value:"yellow"},{text:"Orange",value:"orange"},{text:"Red",value:"red"},{text:"Purple",value:"purple"},{text:"Blue",value:"blue"},{text:"Green",value:"green"},{text:"Black",value:"black"},{text:"White",value:"white"},{text:"Custom",value:!1}],rules:{customColor:t=>/^#(?:[0-9a-fA-F]{3}){1,2}$/.test(t)||this.customColorHint}}},computed:{saveObj:function(){return JSON.stringify({text:this.text,fontColor:this.selectedFontColor||this.customFontColor,backgroundColor:this.selectedBackgroundColor||this.customBackgroundColor,topHeight:this.displayTopBanner?this.topHeight:0,bottomHeight:this.displayBottomBanner?this.bottomHeight:0})},formValid:function(){return(this.selectedFontColor||this.rules.customColor(this.customFontColor)===!0)&&(this.selectedBackgroundColor||this.rules.customColor(this.customBackgroundColor)===!0)}},watch:{displayTopBanner:function(t){t?this.topHeight=20:this.topHeight=0},displayBottomBanner:function(t){t?this.bottomHeight=20:this.bottomHeight=0},customFontColor:function(t){t&&t.length&&!t.startsWith("#")&&(this.customFontColor=`#${t}`)},customBackgroundColor:function(t){t&&t.length&&!t.startsWith("#")&&(this.customBackgroundColor=`#${t}`)}},created(){this.loadSetting(K)},methods:{save(){this.saveSetting(K,this.saveObj)},parseSetting:function(t){if(t){const e=JSON.parse(t);this.text=e.text,this.topHeight=e.topHeight,this.bottomHeight=e.bottomHeight,this.displayTopBanner=e.topHeight!==0,this.displayBottomBanner=e.bottomHeight!==0,e.backgroundColor&&e.backgroundColor.startsWith("#")?(this.customBackgroundColor=e.backgroundColor,this.selectedBackgroundColor=!1):this.selectedBackgroundColor=e.backgroundColor,e.fontColor&&e.fontColor.startsWith("#")?(this.customFontColor=e.fontColor,this.selectedFontColor=!1):this.selectedFontColor=e.fontColor}}}};function Ve(t,e,y,U,r,f){const h=a("v-card-title"),i=a("v-alert"),u=a("v-text-field"),m=a("v-col"),g=a("v-row"),p=a("v-icon"),v=a("v-list-item"),n=a("v-select"),d=a("v-switch"),_=a("v-number-input"),R=a("v-card-text"),H=a("v-btn"),D=a("v-card-actions"),M=a("v-card");return b(),V(M,null,{default:o(()=>[l(h,null,{default:o(()=>[...e[12]||(e[12]=[s("Classification Banner Settings",-1)])]),_:1}),l(i,{modelValue:t.errorLoading,"onUpdate:modelValue":e[0]||(e[0]=c=>t.errorLoading=c),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error loading previous configuration due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(i,{modelValue:t.errorSaving,"onUpdate:modelValue":e[1]||(e[1]=c=>t.errorSaving=c),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error saving due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(i,{modelValue:t.successSaving,"onUpdate:modelValue":e[2]||(e[2]=c=>t.successSaving=c),type:"success",closable:"",density:"compact"},{default:o(()=>[...e[13]||(e[13]=[s(" Saved! (Refresh the page to see changes) ",-1)])]),_:1},8,["modelValue"]),l(R,{class:"pb-0"},{default:o(()=>[l(g,{dense:""},{default:o(()=>[l(m,null,{default:o(()=>[l(u,{modelValue:r.text,"onUpdate:modelValue":e[3]||(e[3]=c=>r.text=c),label:"Text","data-test":"classification-banner-text"},null,8,["modelValue"])]),_:1})]),_:1}),l(g,{dense:""},{default:o(()=>[l(m,null,{default:o(()=>[l(n,{modelValue:r.selectedBackgroundColor,"onUpdate:modelValue":e[4]||(e[4]=c=>r.selectedBackgroundColor=c),label:"Background color",items:r.colors,"item-title":"text","data-test":"classification-banner-background-color"},W({item:o(({props:c,item:x})=>[l(v,A(c,{value:x.text}),{prepend:o(()=>[x.value?(b(),V(p,{key:0,color:x.value},{default:o(()=>[...e[15]||(e[15]=[s(" mdi-square ",-1)])]),_:1},8,["color"])):E("",!0)]),_:2},1040,["value"])]),_:2},[r.selectedBackgroundColor?{name:"prepend-inner",fn:o(()=>[l(p,{color:r.selectedBackgroundColor},{default:o(()=>[...e[14]||(e[14]=[s(" mdi-square ",-1)])]),_:1},8,["color"])]),key:"0"}:void 0]),1032,["modelValue","items"])]),_:1}),l(m,null,{default:o(()=>[l(u,{modelValue:r.customBackgroundColor,"onUpdate:modelValue":e[5]||(e[5]=c=>r.customBackgroundColor=c),label:"Custom background color",hint:r.customColorHint,disabled:r.selectedBackgroundColor!==!1,rules:[r.rules.customColor],"data-test":"classification-banner-custom-background-color"},{"prepend-inner":o(()=>[F(l(p,{color:r.customBackgroundColor},{default:o(()=>[...e[16]||(e[16]=[s(" mdi-square ",-1)])]),_:1},8,["color"]),[[w,!r.selectedBackgroundColor]])]),_:1},8,["modelValue","hint","disabled","rules"])]),_:1}),l(m,null,{default:o(()=>[l(n,{modelValue:r.selectedFontColor,"onUpdate:modelValue":e[6]||(e[6]=c=>r.selectedFontColor=c),label:"Font color",items:r.colors,"item-title":"text","data-test":"classification-banner-font-color"},W({item:o(({props:c,item:x})=>[l(v,A(c,{value:x.text}),{prepend:o(()=>[x.value?(b(),V(p,{key:0,color:x.value},{default:o(()=>[...e[18]||(e[18]=[s(" mdi-square ",-1)])]),_:1},8,["color"])):E("",!0)]),_:2},1040,["value"])]),_:2},[r.selectedFontColor?{name:"prepend-inner",fn:o(()=>[F(l(p,{color:r.selectedFontColor},{default:o(()=>[...e[17]||(e[17]=[s(" mdi-square ",-1)])]),_:1},8,["color"]),[[w,r.selectedFontColor]])]),key:"0"}:void 0]),1032,["modelValue","items"])]),_:1}),l(m,null,{default:o(()=>[l(u,{modelValue:r.customFontColor,"onUpdate:modelValue":e[7]||(e[7]=c=>r.customFontColor=c),label:"Custom font color",hint:r.customColorHint,disabled:r.selectedFontColor!==!1,rules:[r.rules.customColor],"data-test":"classification-banner-custom-font-color"},{"prepend-inner":o(()=>[F(l(p,{color:r.customFontColor},{default:o(()=>[...e[19]||(e[19]=[s(" mdi-square ",-1)])]),_:1},8,["color"]),[[w,!r.selectedFontColor]])]),_:1},8,["modelValue","hint","disabled","rules"])]),_:1})]),_:1}),l(g,{dense:""},{default:o(()=>[l(m,null,{default:o(()=>[l(d,{modelValue:r.displayTopBanner,"onUpdate:modelValue":e[8]||(e[8]=c=>r.displayTopBanner=c),label:"Display top banner",color:"primary","data-test":"display-top-banner"},null,8,["modelValue"])]),_:1}),l(m,null,{default:o(()=>[l(_,{modelValue:r.topHeight,"onUpdate:modelValue":e[9]||(e[9]=c=>r.topHeight=c),"control-variant":"stacked",label:"Top height",disabled:!r.displayTopBanner,suffix:"px","data-test":"classification-banner-top-height"},null,8,["modelValue","disabled"])]),_:1}),l(m,null,{default:o(()=>[l(d,{modelValue:r.displayBottomBanner,"onUpdate:modelValue":e[10]||(e[10]=c=>r.displayBottomBanner=c),label:"Display bottom banner",color:"primary","data-test":"display-bottom-banner"},null,8,["modelValue"])]),_:1}),l(m,null,{default:o(()=>[l(_,{modelValue:r.bottomHeight,"onUpdate:modelValue":e[11]||(e[11]=c=>r.bottomHeight=c),"control-variant":"stacked",label:"Bottom height",disabled:!r.displayBottomBanner,suffix:"px","data-test":"classification-banner-bottom-height"},null,8,["modelValue","disabled"])]),_:1})]),_:1})]),_:1}),l(D,null,{default:o(()=>[l(H,{disabled:!f.formValid,color:"success",variant:"text","data-test":"save-classification-banner",onClick:f.save},{default:o(()=>[...e[20]||(e[20]=[s(" Save ",-1)])]),_:1},8,["disabled","onClick"])]),_:1})]),_:1})}const ye=k(Se,[["render",Ve]]),z="time_zone",_e={mixins:[T],data(){return{timeZones:["local","UTC"],timeZone:"local"}},created(){this.loadSetting(z)},methods:{save(){this.saveSetting(z,this.timeZone)},parseSetting:function(t){t&&(this.timeZone=t)}}};function ke(t,e,y,U,r,f){const h=a("v-card-title"),i=a("v-card-subtitle"),u=a("v-alert"),m=a("v-select"),g=a("v-card-text"),p=a("v-btn"),v=a("v-card-actions"),n=a("v-card");return b(),V(n,null,{default:o(()=>[l(h,null,{default:o(()=>[...e[4]||(e[4]=[s("Time Zone",-1)])]),_:1}),l(i,null,{default:o(()=>[...e[5]||(e[5]=[s(" The time zone to use in all COSMOS tools (graphs, time choosers, log messages, etc). Anywhere a date / time is displayed, it will be in the chosen time zone. (Note: All timestamps are UTC in the backend). ",-1)])]),_:1}),l(u,{modelValue:t.errorLoading,"onUpdate:modelValue":e[0]||(e[0]=d=>t.errorLoading=d),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error loading previous configuration due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(u,{modelValue:t.errorSaving,"onUpdate:modelValue":e[1]||(e[1]=d=>t.errorSaving=d),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error saving due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(u,{modelValue:t.successSaving,"onUpdate:modelValue":e[2]||(e[2]=d=>t.successSaving=d),type:"success",closable:"",density:"compact"},{default:o(()=>[...e[6]||(e[6]=[s(" Saved! (Refresh the page to see changes) ",-1)])]),_:1},8,["modelValue"]),l(g,null,{default:o(()=>[l(m,{modelValue:r.timeZone,"onUpdate:modelValue":e[3]||(e[3]=d=>r.timeZone=d),items:r.timeZones,label:"Select time display","hide-details":"","prepend-icon":"mdi-map-clock","single-line":"","data-test":"time-zone"},null,8,["modelValue","items"])]),_:1}),l(v,null,{default:o(()=>[l(p,{color:"success",variant:"text","data-test":"save-time-zone",onClick:f.save},{default:o(()=>[...e[7]||(e[7]=[s(" Save ",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1})}const xe=k(_e,[["render",ke]]),J="time_format",Ue={mixins:[T],data(){return{timeFormats:[{title:"12-hour (AM/PM)",value:"ampm"},{title:"24-hour",value:"24hr"}],timeFormat:"ampm"}},created(){this.loadSetting(J)},methods:{save(){this.saveSetting(J,this.timeFormat)},parseSetting:function(t){t&&(this.timeFormat=t)}}};function Te(t,e,y,U,r,f){const h=a("v-card-title"),i=a("v-card-subtitle"),u=a("v-alert"),m=a("v-select"),g=a("v-card-text"),p=a("v-btn"),v=a("v-card-actions"),n=a("v-card");return b(),V(n,null,{default:o(()=>[l(h,null,{default:o(()=>[...e[4]||(e[4]=[s("Time Format",-1)])]),_:1}),l(i,null,{default:o(()=>[...e[5]||(e[5]=[s(" The time format to use in all COSMOS tools (time pickers, etc). This setting controls whether time is displayed in 12-hour (AM/PM) or 24-hour format. ",-1)])]),_:1}),l(u,{modelValue:t.errorLoading,"onUpdate:modelValue":e[0]||(e[0]=d=>t.errorLoading=d),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error loading previous configuration due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(u,{modelValue:t.errorSaving,"onUpdate:modelValue":e[1]||(e[1]=d=>t.errorSaving=d),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error saving due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(u,{modelValue:t.successSaving,"onUpdate:modelValue":e[2]||(e[2]=d=>t.successSaving=d),type:"success",closable:"",density:"compact"},{default:o(()=>[...e[6]||(e[6]=[s(" Saved! (Refresh the page to see changes) ",-1)])]),_:1},8,["modelValue"]),l(g,null,{default:o(()=>[l(m,{modelValue:r.timeFormat,"onUpdate:modelValue":e[3]||(e[3]=d=>r.timeFormat=d),items:r.timeFormats,label:"Select time format","hide-details":"","prepend-icon":"mdi-clock-outline","single-line":"","data-test":"time-format"},null,8,["modelValue","items"])]),_:1}),l(v,null,{default:o(()=>[l(p,{color:"success",variant:"text","data-test":"save-time-format",onClick:f.save},{default:o(()=>[...e[7]||(e[7]=[s(" Save ",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1})}const Be=k(Ue,[["render",Te]]),$="news_feed",Le={mixins:[T],data(){return{newsFeed:!0}},created(){this.loadSetting($)},methods:{save(){this.saveSetting($,this.newsFeed),this.newsFeed&&this.api.update_news()},parseSetting:function(t){this.newsFeed=t}}};function Fe(t,e,y,U,r,f){const h=a("v-card-title"),i=a("v-alert"),u=a("v-switch"),m=a("v-card-text"),g=a("v-btn"),p=a("v-card-actions"),v=a("v-card");return b(),V(v,null,{default:o(()=>[l(h,null,{default:o(()=>[...e[4]||(e[4]=[s("News Feed Settings",-1)])]),_:1}),l(i,{modelValue:t.errorLoading,"onUpdate:modelValue":e[0]||(e[0]=n=>t.errorLoading=n),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error loading previous configuration due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(i,{modelValue:t.errorSaving,"onUpdate:modelValue":e[1]||(e[1]=n=>t.errorSaving=n),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error saving due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(i,{modelValue:t.successSaving,"onUpdate:modelValue":e[2]||(e[2]=n=>t.successSaving=n),type:"success",closable:"",density:"compact"},{default:o(()=>[...e[5]||(e[5]=[s(" Saved! (Refresh the page to see changes) ",-1)])]),_:1},8,["modelValue"]),l(m,{class:"pb-0"},{default:o(()=>[l(u,{modelValue:r.newsFeed,"onUpdate:modelValue":e[3]||(e[3]=n=>r.newsFeed=n),label:`Allow COSMOS backend to pull the news feed from the COSMOS external news site.
|
|
6
|
-
This is a low bandwidth poll which only happens every 12 hrs. To immediately update the news feed, click the 'Refresh' in the User Menu.`,color:"primary"},null,8,["modelValue"])]),_:1}),l(p,null,{default:o(()=>[l(g,{color:"success",variant:"text","data-test":"save-news-feed",onClick:f.save},{default:o(()=>[...e[6]||(e[6]=[s(" Save ",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1})}const we=k(Le,[["render",Fe]]),G="subtitle",Ee={mixins:[T],data(){return{subtitle:""}},created(){this.loadSetting(G)},methods:{save(){this.saveSetting(G,this.subtitle)},parseSetting:function(t){t&&(this.subtitle=t)}}};function Oe(t,e,y,U,r,f){const h=a("v-card-title"),i=a("v-card-subtitle"),u=a("v-alert"),m=a("v-text-field"),g=a("v-card-text"),p=a("v-btn"),v=a("v-card-actions"),n=a("v-card");return b(),V(n,null,{default:o(()=>[l(h,null,{default:o(()=>[...e[4]||(e[4]=[s("Subtitle",-1)])]),_:1}),l(i,null,{default:o(()=>[...e[5]||(e[5]=[s(" This sets a subtitle to display below the COSMOS logo in the Navigation bar. ",-1)])]),_:1}),l(u,{modelValue:t.errorLoading,"onUpdate:modelValue":e[0]||(e[0]=d=>t.errorLoading=d),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error loading previous configuration due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(u,{modelValue:t.errorSaving,"onUpdate:modelValue":e[1]||(e[1]=d=>t.errorSaving=d),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error saving due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(u,{modelValue:t.successSaving,"onUpdate:modelValue":e[2]||(e[2]=d=>t.successSaving=d),type:"success",closable:"",density:"compact"},{default:o(()=>[...e[6]||(e[6]=[s(" Saved! (Refresh the page to see changes) ",-1)])]),_:1},8,["modelValue"]),l(g,{class:"pb-0"},{default:o(()=>[l(m,{modelValue:r.subtitle,"onUpdate:modelValue":e[3]||(e[3]=d=>r.subtitle=d),label:"Subtitle","data-test":"subtitle"},null,8,["modelValue"])]),_:1}),l(v,null,{default:o(()=>[l(p,{color:"success",variant:"text","data-test":"save-subtitle",onClick:f.save},{default:o(()=>[...e[7]||(e[7]=[s(" Save ",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1})}const We=k(Ee,[["render",Oe]]),Y="source_url",Ae={mixins:[T],data(){return{sourceUrl:"https://github.com/OpenC3/cosmos"}},created(){this.loadSetting(Y)},methods:{save(){this.saveSetting(Y,this.sourceUrl)},parseSetting:function(t){t&&(this.sourceUrl=t)}}};function Re(t,e,y,U,r,f){const h=a("v-card-title"),i=a("v-card-subtitle"),u=a("v-alert"),m=a("v-text-field"),g=a("v-card-text"),p=a("v-btn"),v=a("v-card-actions"),n=a("v-card");return b(),V(n,null,{default:o(()=>[l(h,null,{default:o(()=>[...e[4]||(e[4]=[s(" Source code URL ",-1)])]),_:1}),l(i,null,{default:o(()=>[...e[5]||(e[5]=[s(' This sets the URL for the "Source" link in the footer. ',-1)])]),_:1}),l(u,{modelValue:t.errorLoading,"onUpdate:modelValue":e[0]||(e[0]=d=>t.errorLoading=d),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error loading previous configuration due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(u,{modelValue:t.errorSaving,"onUpdate:modelValue":e[1]||(e[1]=d=>t.errorSaving=d),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error saving due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(u,{modelValue:t.successSaving,"onUpdate:modelValue":e[2]||(e[2]=d=>t.successSaving=d),type:"success",closable:"",density:"compact"},{default:o(()=>[...e[6]||(e[6]=[s(" Saved! (Refresh the page to see changes) ",-1)])]),_:1},8,["modelValue"]),l(g,{class:"pb-0"},{default:o(()=>[l(m,{modelValue:r.sourceUrl,"onUpdate:modelValue":e[3]||(e[3]=d=>r.sourceUrl=d),label:"Source URL","data-test":"source-url"},null,8,["modelValue"])]),_:1}),l(v,null,{default:o(()=>[l(p,{color:"success",variant:"text","data-test":"save-source-url",onClick:f.save},{default:o(()=>[...e[7]||(e[7]=[s(" Save ",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1})}const He=k(Ae,[["render",Re]]),Q="rubygems_url",De={mixins:[T],data(){return{rubygemsUrl:"https://rubygems.org"}},created(){this.loadSetting(Q)},methods:{save(){this.saveSetting(Q,this.rubygemsUrl)},parseSetting:function(t){t&&(this.rubygemsUrl=t)}}};function Me(t,e,y,U,r,f){const h=a("v-card-title"),i=a("v-card-subtitle"),u=a("v-alert"),m=a("v-text-field"),g=a("v-card-text"),p=a("v-btn"),v=a("v-card-actions"),n=a("v-card");return b(),V(n,null,{default:o(()=>[l(h,null,{default:o(()=>[...e[4]||(e[4]=[s(" Rubygems URL ",-1)])]),_:1}),l(i,null,{default:o(()=>[...e[5]||(e[5]=[s(" This sets the URL for installing dependency rubygems. Also used for rubygem discovery. ",-1)])]),_:1}),l(u,{modelValue:t.errorLoading,"onUpdate:modelValue":e[0]||(e[0]=d=>t.errorLoading=d),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error loading previous configuration due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(u,{modelValue:t.errorSaving,"onUpdate:modelValue":e[1]||(e[1]=d=>t.errorSaving=d),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error saving due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(u,{modelValue:t.successSaving,"onUpdate:modelValue":e[2]||(e[2]=d=>t.successSaving=d),type:"success",closable:"",density:"compact"},{default:o(()=>[...e[6]||(e[6]=[s(" Saved! (Refresh the page to see changes) ",-1)])]),_:1},8,["modelValue"]),l(g,{class:"pb-0"},{default:o(()=>[l(m,{modelValue:r.rubygemsUrl,"onUpdate:modelValue":e[3]||(e[3]=d=>r.rubygemsUrl=d),label:"Rubygems URL","data-test":"rubygems-url"},null,8,["modelValue"])]),_:1}),l(v,null,{default:o(()=>[l(p,{color:"success",variant:"text","data-test":"save-rubygems-url",onClick:f.save},{default:o(()=>[...e[7]||(e[7]=[s(" Save ",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1})}const Ne=k(De,[["render",Me]]),X="pypi_url",qe={mixins:[T],data(){return{pypiUrl:"https://pypi.org"}},created(){this.loadSetting(X)},methods:{save(){this.saveSetting(X,this.pypiUrl)},parseSetting:function(t){t&&(this.pypiUrl=t)}}};function Pe(t,e,y,U,r,f){const h=a("v-card-title"),i=a("v-card-subtitle"),u=a("v-alert"),m=a("v-text-field"),g=a("v-card-text"),p=a("v-btn"),v=a("v-card-actions"),n=a("v-card");return b(),V(n,null,{default:o(()=>[l(h,null,{default:o(()=>[...e[4]||(e[4]=[s(" Pypi URL ",-1)])]),_:1}),l(i,null,{default:o(()=>[...e[5]||(e[5]=[s(" This sets the URL for installing dependency python packages. Also used for package discovery. ",-1)])]),_:1}),l(u,{modelValue:t.errorLoading,"onUpdate:modelValue":e[0]||(e[0]=d=>t.errorLoading=d),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error loading previous configuration due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(u,{modelValue:t.errorSaving,"onUpdate:modelValue":e[1]||(e[1]=d=>t.errorSaving=d),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error saving due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(u,{modelValue:t.successSaving,"onUpdate:modelValue":e[2]||(e[2]=d=>t.successSaving=d),type:"success",closable:"",density:"compact"},{default:o(()=>[...e[6]||(e[6]=[s(" Saved! (Refresh the page to see changes) ",-1)])]),_:1},8,["modelValue"]),l(g,{class:"pb-0"},{default:o(()=>[l(m,{modelValue:r.pypiUrl,"onUpdate:modelValue":e[3]||(e[3]=d=>r.pypiUrl=d),label:"Pypi URL","data-test":"pypi-url"},null,8,["modelValue"])]),_:1}),l(v,null,{default:o(()=>[l(p,{color:"success",variant:"text","data-test":"save-pypi-url",onClick:f.save},{default:o(()=>[...e[7]||(e[7]=[s(" Save ",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1})}const Ze=k(qe,[["render",Pe]]),ee="context_tag",je={mixins:[T],data(){return{text:"",displayContextTag:!1,selectedBackgroundColor:"#009fa3",customBackgroundColor:"",selectedFontColor:"white",customFontColor:"",customColorHint:"Enter a 3 or 6-digit hex color code",colors:[{text:"Teal",value:"#009fa3"},{text:"Purple",value:"#6058a8"},{text:"Pink",value:"#81009a"},{text:"Orange",value:"#af420a"},{text:"Black",value:"black"},{text:"White",value:"white"},{text:"Custom",value:!1}],rules:{customColor:t=>/^#(?:[0-9a-fA-F]{3}){1,2}$/.test(t)||this.customColorHint}}},computed:{saveObj:function(){return JSON.stringify({text:this.text,fontColor:this.selectedFontColor||this.customFontColor,backgroundColor:this.selectedBackgroundColor||this.customBackgroundColor})},formValid:function(){return(this.selectedFontColor||this.rules.customColor(this.customFontColor)===!0)&&(this.selectedBackgroundColor||this.rules.customColor(this.customBackgroundColor)===!0)}},watch:{displayContextTag:function(t){t?this.text||(this.text="REPLACEME"):this.text=null},customFontColor:function(t){t&&t.length&&!t.startsWith("#")&&(this.customFontColor=`#${t}`)},customBackgroundColor:function(t){t&&t.length&&!t.startsWith("#")&&(this.customBackgroundColor=`#${t}`)}},created(){this.loadSetting(ee)},methods:{save(){this.saveSetting(ee,this.saveObj)},parseSetting:function(t){if(t){const e=JSON.parse(t);this.text=e.text,this.displayContextTag=!!e.text,e.backgroundColor&&(this.colors.some(y=>y.value===e.backgroundColor)?this.selectedBackgroundColor=e.backgroundColor:(this.customBackgroundColor=e.backgroundColor,this.selectedBackgroundColor=!1)),e.fontColor&&(this.colors.some(y=>y.value===e.fontColor)?this.selectedFontColor=e.fontColor:(this.customFontColor=e.fontColor,this.selectedFontColor=!1))}}}};function Ie(t,e,y,U,r,f){const h=a("v-card-title"),i=a("v-card-subtitle"),u=a("v-alert"),m=a("v-text-field"),g=a("v-col"),p=a("v-row"),v=a("v-switch"),n=a("v-icon"),d=a("v-list-item"),_=a("v-select"),R=a("v-card-text"),H=a("v-btn"),D=a("v-card-actions"),M=a("v-card");return b(),V(M,null,{default:o(()=>[l(h,null,{default:o(()=>[...e[9]||(e[9]=[s("Context Tag Settings",-1)])]),_:1}),l(i,null,{default:o(()=>[...e[10]||(e[10]=[s(" When enabled this displays a Context Tag on the top right of the screen with custom colors and text. This can help differentiate environments. ",-1)])]),_:1}),l(u,{modelValue:t.errorLoading,"onUpdate:modelValue":e[0]||(e[0]=c=>t.errorLoading=c),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error loading previous configuration due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(u,{modelValue:t.errorSaving,"onUpdate:modelValue":e[1]||(e[1]=c=>t.errorSaving=c),type:"error",closable:"",density:"compact"},{default:o(()=>[s(" Error saving due to "+C(t.errorText),1)]),_:1},8,["modelValue"]),l(u,{modelValue:t.successSaving,"onUpdate:modelValue":e[2]||(e[2]=c=>t.successSaving=c),type:"success",closable:"",density:"compact"},{default:o(()=>[...e[11]||(e[11]=[s(" Saved! (Refresh the page to see changes) ",-1)])]),_:1},8,["modelValue"]),l(R,{class:"pb-0"},{default:o(()=>[l(p,{dense:""},{default:o(()=>[l(g,null,{default:o(()=>[l(m,{modelValue:r.text,"onUpdate:modelValue":e[3]||(e[3]=c=>r.text=c),label:"Text","data-test":"context-tag-text",disabled:!r.displayContextTag},null,8,["modelValue","disabled"])]),_:1})]),_:1}),l(p,{dense:""},{default:o(()=>[l(g,null,{default:o(()=>[l(v,{modelValue:r.displayContextTag,"onUpdate:modelValue":e[4]||(e[4]=c=>r.displayContextTag=c),label:"Display context tag",color:"primary","data-test":"display-context-tag"},null,8,["modelValue"])]),_:1}),l(g,null,{default:o(()=>[l(_,{modelValue:r.selectedBackgroundColor,"onUpdate:modelValue":e[5]||(e[5]=c=>r.selectedBackgroundColor=c),label:"Background color",items:r.colors,"item-title":"text","data-test":"context-tag-background-color"},W({item:o(({props:c,item:x})=>[l(d,A(c,{value:x.text}),{prepend:o(()=>[x.value?(b(),V(n,{key:0,color:x.value},{default:o(()=>[...e[13]||(e[13]=[s(" mdi-square ",-1)])]),_:1},8,["color"])):E("",!0)]),_:2},1040,["value"])]),_:2},[r.selectedBackgroundColor?{name:"prepend-inner",fn:o(()=>[l(n,{color:r.selectedBackgroundColor},{default:o(()=>[...e[12]||(e[12]=[s(" mdi-square ",-1)])]),_:1},8,["color"])]),key:"0"}:void 0]),1032,["modelValue","items"])]),_:1}),l(g,null,{default:o(()=>[l(m,{modelValue:r.customBackgroundColor,"onUpdate:modelValue":e[6]||(e[6]=c=>r.customBackgroundColor=c),label:"Custom background color",hint:r.customColorHint,disabled:r.selectedBackgroundColor!==!1,rules:[r.rules.customColor],"data-test":"context-tag-custom-background-color"},{"prepend-inner":o(()=>[F(l(n,{color:r.customBackgroundColor},{default:o(()=>[...e[14]||(e[14]=[s(" mdi-square ",-1)])]),_:1},8,["color"]),[[w,!r.selectedBackgroundColor]])]),_:1},8,["modelValue","hint","disabled","rules"])]),_:1}),l(g,null,{default:o(()=>[l(_,{modelValue:r.selectedFontColor,"onUpdate:modelValue":e[7]||(e[7]=c=>r.selectedFontColor=c),label:"Font color",items:r.colors,"item-title":"text","data-test":"context-tag-font-color"},W({item:o(({props:c,item:x})=>[l(d,A(c,{value:x.text}),{prepend:o(()=>[x.value?(b(),V(n,{key:0,color:x.value},{default:o(()=>[...e[16]||(e[16]=[s(" mdi-square ",-1)])]),_:1},8,["color"])):E("",!0)]),_:2},1040,["value"])]),_:2},[r.selectedFontColor?{name:"prepend-inner",fn:o(()=>[F(l(n,{color:r.selectedFontColor},{default:o(()=>[...e[15]||(e[15]=[s(" mdi-square ",-1)])]),_:1},8,["color"]),[[w,r.selectedFontColor]])]),key:"0"}:void 0]),1032,["modelValue","items"])]),_:1}),l(g,null,{default:o(()=>[l(m,{modelValue:r.customFontColor,"onUpdate:modelValue":e[8]||(e[8]=c=>r.customFontColor=c),label:"Custom font color",hint:r.customColorHint,disabled:r.selectedFontColor!==!1,rules:[r.rules.customColor],"data-test":"context-tag-custom-font-color"},{"prepend-inner":o(()=>[F(l(n,{color:r.customFontColor},{default:o(()=>[...e[17]||(e[17]=[s(" mdi-square ",-1)])]),_:1},8,["color"]),[[w,!r.selectedFontColor]])]),_:1},8,["modelValue","hint","disabled","rules"])]),_:1})]),_:1})]),_:1}),l(D,null,{default:o(()=>[l(H,{disabled:!f.formValid,color:"success",variant:"text","data-test":"save-context-tag",onClick:f.save},{default:o(()=>[...e[18]||(e[18]=[s(" Save ",-1)])]),_:1},8,["disabled","onClick"])]),_:1})]),_:1})}const Ke=k(je,[["render",Ie]]),ze={components:{SuppressedSettings:ae,AiChatSettings:ne,DefaultConfigSettings:ue,EditorSettings:ge,AstroSettings:ve,ThemeSettings:Ce,ClassificationBannerSettings:ye,TimeZoneSettings:xe,TimeFormatSettings:Be,NewsFeedSettings:we,SubtitleSettings:We,SourceCodeSettings:He,RubyGemsSettings:Ne,PypiSettings:Ze,ContextTagSettings:Ke},data(){return{isEnterprise:!1}},created(){q.get("/openc3-api/info").then(({data:t})=>{this.isEnterprise=t.enterprise})}};function Je(t,e,y,U,r,f){const h=a("suppressed-settings"),i=a("v-divider"),u=a("default-config-settings"),m=a("editor-settings"),g=a("astro-settings"),p=a("theme-settings"),v=a("time-zone-settings"),n=a("time-format-settings"),d=a("news-feed-settings"),_=a("classification-banner-settings"),R=a("subtitle-settings"),H=a("source-code-settings"),D=a("ruby-gems-settings"),M=a("pypi-settings"),c=a("context-tag-settings"),x=a("ai-chat-settings");return b(),B("div",null,[l(h),l(i),l(u),l(i),l(m),l(i),l(g),l(i),l(p),l(i),l(v),l(i),l(n),l(i),l(d),l(i),l(_),l(i),l(R),l(i),l(H),l(i),l(D),l(i),l(M),l(i),l(c),r.isEnterprise?(b(),B(L,{key:0},[l(i),l(x)],64)):E("",!0)])}const Ge=te("default",k(ze,[["render",Je]]))})}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./main-040488697a5f3eed5115.js","vue","./DetailsDialog-DE7lK17G-434a9ce6dcc8e6636a47.js","single-spa","./VWidget-5qOYva88-4db083a6475508bbf7ce.js","vue-router","pinia","vuetify","./LimitsBar-DN1s8-MS-5fcc0dd234e18f768e31.js","./LimitsColor-CBcpB-la-3bd861951380f642016e.js","./Widget-CtYQauzA-ae8839a2e4146c799aec.js"],(function(w,_){"use strict";var c,a,s,o,n,u,d,l,m,h,p,g,v,x,C,f;return{setters:[e=>{c=e.k},e=>{a=e.resolveComponent,s=e.openBlock,o=e.createElementBlock,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=>{C=e.Z},null,e=>{f=e.T},null,null,null,null,null,null],execute:(function(){const e={components:{DetailsDialog:C},mixins:[f],data:function(){return{width:200,height:200}},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}}},y={class:"textbox-widget-container"};function k(t,r,E,L,O,V){const D=a("v-textarea"),B=a("v-list-item-title"),S=a("v-list-item"),T=a("v-list"),z=a("v-menu"),M=a("details-dialog");return s(),o("div",y,[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,V.aging]),"data-test":"valueText",onContextmenu:t.showContextMenu},null,8,["model-value","class","style","onContextmenu"]),n(z,{modelValue:t.contextMenuShown,"onUpdate:modelValue":r[0]||(r[0]=i=>t.contextMenuShown=i),target:[t.x,t.y]},{default:l(()=>[n(T,null,{default:l(()=>[(s(!0),o(m,null,h(t.contextMenuOptions,(i,N)=>(s(),p(S,{key:N,onClick:g(i.action,["stop"])},{default:l(()=>[n(B,null,{default:l(()=>[v(x(i.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),n(M,{modelValue:t.viewDetails,"onUpdate:modelValue":r[1]||(r[1]=i=>t.viewDetails=i),"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2]},null,8,["modelValue","target-name","packet-name","item-name"])])}const j=w("default",c(e,[["render",k],["__scopeId","data-v-ce1e6683"]]))})}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./Widget-CtYQauzA-ae8839a2e4146c799aec.js","vue","./main-040488697a5f3eed5115.js","vue-router","pinia","single-spa","vuetify"],(function(u,p){"use strict";var t,l,n,a,s,r;return{setters:[e=>{t=e.h},e=>{l=e.resolveComponent,n=e.openBlock,a=e.createBlock,s=e.normalizeStyle},e=>{r=e.k},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,i,y,f,o,k){const h=l("v-text-field");return n(),a(h,{modelValue:o.value,"onUpdate:modelValue":i[0]||(i[0]=m=>o.value=m),variant:"solo",density:"compact","single-line":"","hide-no-data":"","hide-details":"",style:s(d.computedStyle)},null,8,["modelValue","style"])}const v=u("default",r(e,[["render",c]]))})}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./Widget-CtYQauzA-ae8839a2e4146c799aec.js","./OpenC3TimePicker-B8Vu9GBz-c1433e91ea28dd0e883e.js","./main-040488697a5f3eed5115.js","vue","vue-router","pinia","single-spa","vuetify"],(function(c,k){"use strict";var l,i,n,a,r,s,u,o;return{setters:[e=>{l=e.h},e=>{i=e.w},e=>{n=e.k,a=e.R},e=>{r=e.resolveComponent,s=e.openBlock,u=e.createBlock,o=e.normalizeStyle},null,null,null,null],execute:(function(){const e={components:{OpenC3TimePicker:i},mixins:[l,a],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 p(h,m,y,T,t,v){const d=r("OpenC3TimePicker");return s(),u(d,{modelValue:t.timeValue,"onUpdate:modelValue":m[0]||(m[0]=V=>t.timeValue=V),label:t.label,style:o(h.computedStyle),"hide-details":""},null,8,["modelValue","label","style"])}const f=c("default",n(e,[["render",p]]))})}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./Widget-CtYQauzA-ae8839a2e4146c799aec.js","vue","./main-040488697a5f3eed5115.js","vue-router","pinia","single-spa","vuetify"],(function(s,p){"use strict";var t,r,n,l,a,i;return{setters:[e=>{t=e.h},e=>{r=e.openBlock,n=e.createElementBlock,l=e.normalizeStyle,a=e.toDisplayString},e=>{i=e.k},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 o(c,f,h,y,d,u){return r(),n("div",{class:"text-h5 text-center pa-1 mt-1 label",style:l(c.computedStyle)},a(u.labelText),5)}const m=s("default",i(e,[["render",o]]))})}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./ValueWidget-CAkuc_w_-6037c5f1b4e7c0e9c790.js","./LimitsbarWidget-Cqhh7LKU-68bbd725e553a8fbb473.js","./Widget-CtYQauzA-ae8839a2e4146c799aec.js","vue","./main-040488697a5f3eed5115.js","./DetailsDialog-DE7lK17G-434a9ce6dcc8e6636a47.js","./LimitsBar-DN1s8-MS-5fcc0dd234e18f768e31.js","./LimitsColor-CBcpB-la-3bd861951380f642016e.js","single-spa","./VWidget-5qOYva88-4db083a6475508bbf7ce.js","vue-router","pinia","vuetify","./BarColumn-Bb305iCi-1d14dd1f021f8d8d5f6a.js"],(function(g,f){"use strict";var i,r,a,n,u,c,o,s,l,m;return{setters:[e=>{i=e.default},e=>{r=e.default},e=>{a=e.h},e=>{n=e.resolveComponent,u=e.openBlock,c=e.createElementBlock,o=e.normalizeStyle,s=e.createVNode,l=e.mergeProps},e=>{m=e.k},null,null,null,null,null,null,null,null,null],execute:(function(){const e={components:{ValueWidget:i,LimitsbarWidget:r},mixins:[a]};function d(t,b,j,C,w,S){const p=n("value-widget"),v=n("limitsbar-widget");return u(),c("div",{ref:"container",class:"d-flex flex-row",style:o(t.computedStyle)},[s(p,l(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"widget-index":0}),null,16,["parameters","settings","screen-values","screen-time-zone"]),s(v,l(t.$attrs,{parameters:t.parameters.slice(0,3),settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1,line:t.line,"line-number":t.lineNumber}),null,16,["parameters","settings","screen-values","line","line-number"])],4)}const B=g("default",m(e,[["render",d]]))})}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./ValueWidget-CAkuc_w_-6037c5f1b4e7c0e9c790.js","./RangebarWidget-i2mlnxys-4eec6df5412c7c011047.js","./Widget-CtYQauzA-ae8839a2e4146c799aec.js","vue","./main-040488697a5f3eed5115.js","./DetailsDialog-DE7lK17G-434a9ce6dcc8e6636a47.js","./LimitsBar-DN1s8-MS-5fcc0dd234e18f768e31.js","./LimitsColor-CBcpB-la-3bd861951380f642016e.js","single-spa","./VWidget-5qOYva88-4db083a6475508bbf7ce.js","vue-router","pinia","vuetify"],(function(g,f){"use strict";var n,i,l,r,u,m,c,s,a,o;return{setters:[e=>{n=e.default},e=>{i=e.default},e=>{l=e.h},e=>{r=e.resolveComponent,u=e.openBlock,m=e.createElementBlock,c=e.normalizeStyle,s=e.createVNode,a=e.mergeProps},e=>{o=e.k},null,null,null,null,null,null,null,null],execute:(function(){const e={components:{ValueWidget:n,RangebarWidget:i},mixins:[l],computed:{valueParameters(){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,j,S,w,x,p){const h=r("value-widget"),v=r("rangebar-widget");return u(),m("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[s(h,a(t.$attrs,{parameters:p.valueParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"widget-index":0}),null,16,["parameters","settings","screen-values","screen-time-zone"]),s(v,a(t.$attrs,{parameters:p.rangeBarParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1}),null,16,["parameters","settings","screen-values"])],4)}const B=g("default",o(e,[["render",d]]))})}}));
|