@openc3/vue-common 6.5.1 → 6.6.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.
- package/dist/ArrayWidget-Bb_Ldxq7.cjs.map +1 -1
- package/dist/ArrayWidget-Ck6pzAyW.js.map +1 -1
- package/dist/ArrayplotWidget-DC41cpv1.cjs.map +1 -1
- package/dist/ArrayplotWidget-ntRLh6-B.js.map +1 -1
- package/dist/AstroStatus-CILMWL6F.cjs.map +1 -1
- package/dist/AstroStatus-CY9VkeTN.js.map +1 -1
- package/dist/BarColumn-Bgz2YJ59.js.map +1 -1
- package/dist/BarColumn-DtRNuOpa.cjs.map +1 -1
- package/dist/BlockWidget-DGH3Zz5p.js.map +1 -1
- package/dist/BlockWidget-DOY5lVfa.cjs.map +1 -1
- package/dist/ButtonWidget-CFyZXGt6.cjs.map +1 -1
- package/dist/ButtonWidget-D_tupiPB.js.map +1 -1
- package/dist/CanvasWidget-C6dc7mUw.cjs.map +1 -1
- package/dist/CanvasWidget-CzG2jYQb.js.map +1 -1
- package/dist/CanvasimageWidget-CNJlzLqo.js.map +1 -1
- package/dist/CanvasimageWidget-DjvdDCRS.cjs.map +1 -1
- package/dist/CanvasimagevalueWidget-C1fI-ftP.cjs.map +1 -1
- package/dist/CanvasimagevalueWidget-DudwwOD6.js.map +1 -1
- package/dist/CanvaslabelWidget--6Sjc4E8.cjs.map +1 -1
- package/dist/CanvaslabelWidget-BZQp16dH.js.map +1 -1
- package/dist/CanvaslabelvalueWidget-CHS36Te9.js.map +1 -1
- package/dist/CanvaslabelvalueWidget-DZCxsIKk.cjs.map +1 -1
- package/dist/CanvaslineWidget-Bn83Rb10.cjs.map +1 -1
- package/dist/CanvaslineWidget-nhKEAGhs.js.map +1 -1
- package/dist/CanvaslinevalueWidget-C6x_4Gc9.cjs.map +1 -1
- package/dist/CanvaslinevalueWidget-DsyIDkJy.js.map +1 -1
- package/dist/CheckbuttonWidget-BvggsGZY.cjs.map +1 -1
- package/dist/CheckbuttonWidget-DCam7Jd0.js.map +1 -1
- package/dist/ComboboxWidget-BS5WSbrK.cjs.map +1 -1
- package/dist/ComboboxWidget-ZX-k-_aK.js.map +1 -1
- package/dist/CriticalCmdDialog-7tOK2XQk.cjs.map +1 -1
- package/dist/CriticalCmdDialog-Dylpoz_4.js.map +1 -1
- package/dist/CustomIcon-Bop2mEnu.cjs.map +1 -1
- package/dist/CustomIcon-h5X7369N.js.map +1 -1
- package/dist/DateWidget-DuJ5uC2t.js.map +1 -1
- package/dist/DateWidget-jejbk2-G.cjs.map +1 -1
- package/dist/DetailsDialog-BQE0TraI.js.map +1 -1
- package/dist/DetailsDialog-DmKpPDNn.cjs.map +1 -1
- package/dist/DynamicWidget-BWEVCUfd.cjs.map +1 -1
- package/dist/DynamicWidget-CfMtj7H8.js.map +1 -1
- package/dist/EventListDialog-CDcJcxy5.cjs.map +1 -1
- package/dist/EventListDialog-CGUFCrJF.js.map +1 -1
- package/dist/FormatvalueWidget-DYICPNcx.js.map +1 -1
- package/dist/FormatvalueWidget-wu7Q3sXu.cjs.map +1 -1
- package/dist/Graph-DCihpnT0.js.map +1 -1
- package/dist/Graph-mSqImgca.cjs.map +1 -1
- package/dist/GraphWidget-CQjKAMPR.cjs.map +1 -1
- package/dist/GraphWidget-cTVq29cY.js.map +1 -1
- package/dist/HorizontalWidget--AkRJPlL.cjs.map +1 -1
- package/dist/HorizontalWidget-v1pfd94Z.js.map +1 -1
- package/dist/HorizontalboxWidget-B06-c_n4.js.map +1 -1
- package/dist/HorizontalboxWidget-synL-Bar.cjs.map +1 -1
- package/dist/IframeWidget-ByhwW9yG.cjs.map +1 -1
- package/dist/IframeWidget-n8lNXrpt.js.map +1 -1
- package/dist/ImageLoader-CfcErydq.js.map +1 -1
- package/dist/ImageLoader-DBWVFtNu.cjs.map +1 -1
- package/dist/ImageviewerWidget-D4mU6wLX.cjs.map +1 -1
- package/dist/ImageviewerWidget-DE8fj06Z.js.map +1 -1
- package/dist/InterfacesTab-BF-Wx5gk.js.map +1 -1
- package/dist/InterfacesTab-DTAAIx-y.cjs.map +1 -1
- package/dist/LabelWidget-DQZqRxKF.cjs.map +1 -1
- package/dist/LabelWidget-iUIJLhdA.js.map +1 -1
- package/dist/LabelledWidget-9HWChRmv.cjs.map +1 -1
- package/dist/LabelledWidget-KI6fMlsr.js.map +1 -1
- package/dist/LabelprogressbarWidget-C2lzmqBH.js.map +1 -1
- package/dist/LabelprogressbarWidget-DwzTP73u.cjs.map +1 -1
- package/dist/LabelsparklineWidget-Ci6GGm29.js.map +1 -1
- package/dist/LabelsparklineWidget-DMjBshq8.cjs.map +1 -1
- package/dist/LabelvalueWidget-mAb0eLA8.cjs.map +1 -1
- package/dist/LabelvalueWidget-oiW-JDw6.js.map +1 -1
- package/dist/LabelvaluedescWidget-CZJ0kZN-.cjs.map +1 -1
- package/dist/LabelvaluedescWidget-Ck0AJ9g0.js.map +1 -1
- package/dist/LabelvaluelimitsbarWidget-DjBqYxRr.cjs.map +1 -1
- package/dist/LabelvaluelimitsbarWidget-aaVLaejn.js.map +1 -1
- package/dist/LabelvaluerangebarWidget-Bs9locqu.js.map +1 -1
- package/dist/LabelvaluerangebarWidget-Ci-n_hxk.cjs.map +1 -1
- package/dist/LedWidget-BN8IgAxJ.js.map +1 -1
- package/dist/LedWidget-BUTbyEBi.cjs.map +1 -1
- package/dist/LimitsbarWidget-BxxoKTjp.js.map +1 -1
- package/dist/LimitsbarWidget-Co5GAHro.cjs.map +1 -1
- package/dist/LimitscolorWidget-BpTcgqRC.cjs.map +1 -1
- package/dist/LimitscolorWidget-DFDwf4In.js.map +1 -1
- package/dist/LimitscolumnWidget-CdBh2mJu.js.map +1 -1
- package/dist/LimitscolumnWidget-CqJJKDzz.cjs.map +1 -1
- package/dist/MatrixbycolumnsWidget-DCwxPjwS.js.map +1 -1
- package/dist/MatrixbycolumnsWidget-DxRhvPGv.cjs.map +1 -1
- package/dist/MicroservicesTab-B-SdMwek.js.map +1 -1
- package/dist/MicroservicesTab-DGaTcj-y.cjs.map +1 -1
- package/dist/Openc3Screen-BZN0Wtrm.js.map +1 -1
- package/dist/Openc3Screen-dtpBWZdA.cjs.map +1 -1
- package/dist/OutputDialog-CcSp-Uqo.js.map +1 -1
- package/dist/OutputDialog-CxKDhrg6.cjs.map +1 -1
- package/dist/PackagesTab-B4V2n4io.cjs.map +1 -1
- package/dist/PackagesTab-Dx25CfF0.js.map +1 -1
- package/dist/PluginsTab-DHO1tK2S.cjs.map +1 -1
- package/dist/PluginsTab-lHDR5v6S.js.map +1 -1
- package/dist/ProgressbarWidget-C0AkbX_o.cjs.map +1 -1
- package/dist/ProgressbarWidget-Cdu5nJC3.js.map +1 -1
- package/dist/RadiobuttonWidget-CZZGbvdG.js.map +1 -1
- package/dist/RadiobuttonWidget-DslmJO31.cjs.map +1 -1
- package/dist/RadiogroupWidget-CQN3v8Ip.js.map +1 -1
- package/dist/RadiogroupWidget-DKgBAR9E.cjs.map +1 -1
- package/dist/RangebarWidget-Tq80I5zA.cjs.map +1 -1
- package/dist/RangebarWidget-dZN9WjoZ.js.map +1 -1
- package/dist/RedisTab-CdiSo-CO.cjs.map +1 -1
- package/dist/RedisTab-CkSwEwTZ.js.map +1 -1
- package/dist/RollupWidget-CHdZAUCb.cjs.map +1 -1
- package/dist/RollupWidget-i9DnNJl6.js.map +1 -1
- package/dist/RoutersTab-Cp8wM-mS.cjs.map +1 -1
- package/dist/RoutersTab-DiYEI1Nq.js.map +1 -1
- package/dist/ScriptChooser-BnTP6ucF.cjs.map +1 -1
- package/dist/ScriptChooser-Cua8ObYv.js.map +1 -1
- package/dist/ScrollwindowWidget-54GU96Ve.js.map +1 -1
- package/dist/ScrollwindowWidget-C5_X-KwQ.cjs.map +1 -1
- package/dist/SecretsTab-DY16usGc.cjs.map +1 -1
- package/dist/SecretsTab-uWRVI1EE.js.map +1 -1
- package/dist/SettingsTab-BVnr4OtU.js.map +1 -1
- package/dist/SettingsTab-BkwaDhYo.cjs.map +1 -1
- package/dist/SignalWidget-B_kA9eCJ.js.map +1 -1
- package/dist/SignalWidget-COL8kXSJ.cjs.map +1 -1
- package/dist/SimpleTextDialog-BWUqPlTv.cjs.map +1 -1
- package/dist/SimpleTextDialog-BulqUrdH.js.map +1 -1
- package/dist/SpacerWidget-D_Ya_b1j.cjs.map +1 -1
- package/dist/SpacerWidget-XoMPHak8.js.map +1 -1
- package/dist/SparklineWidget-CRzXTS5z.cjs.map +1 -1
- package/dist/SparklineWidget-DQNsvEj9.js.map +1 -1
- package/dist/TabbookWidget-Bh-GDBXg.cjs.map +1 -1
- package/dist/TabbookWidget-_HVA72t5.js.map +1 -1
- package/dist/TargetsTab-BfoRYnTP.js.map +1 -1
- package/dist/TargetsTab-CGE-jQAz.cjs.map +1 -1
- package/dist/TextBoxDialog-C60jmnyN.js.map +1 -1
- package/dist/TextBoxDialog-DWt30tB8.cjs.map +1 -1
- package/dist/TextboxWidget-0JXn4bMH.js.map +1 -1
- package/dist/TextboxWidget-uDptDK_z.cjs.map +1 -1
- package/dist/TextfieldWidget-B0FCskrL.cjs.map +1 -1
- package/dist/TextfieldWidget-BXr9MkVW.js.map +1 -1
- package/dist/TimeWidget-C67uwMGH.js.map +1 -1
- package/dist/TimeWidget-q5tUvHC6.cjs.map +1 -1
- package/dist/TitleWidget-REsd7MqR.cjs.map +1 -1
- package/dist/TitleWidget-t_YLgUMB.js.map +1 -1
- package/dist/ToolsTab-CGztf9_j.cjs.map +1 -1
- package/dist/ToolsTab-DKYeIlXu.js.map +1 -1
- package/dist/TopBar-B0UcAtIW.cjs.map +1 -1
- package/dist/TopBar-BrCfgCxc.js.map +1 -1
- package/dist/UpgradeToEnterpriseDialog-CGyR2v7U.js.map +1 -1
- package/dist/UpgradeToEnterpriseDialog-DJ3oth3I.cjs.map +1 -1
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-C_HFbtFB.cjs.map +1 -1
- package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-NIAkCgU6.js.map +1 -1
- package/dist/VWidget-BMxLXtSO.cjs.map +1 -1
- package/dist/VWidget-j2GIGGSX.js.map +1 -1
- package/dist/ValueWidget-3jNtnh5i.js.map +1 -1
- package/dist/ValueWidget-CjZeSiPQ.cjs.map +1 -1
- package/dist/ValuerangebarWidget-CpZYmUl_.cjs.map +1 -1
- package/dist/ValuerangebarWidget-DnZrho8S.js.map +1 -1
- package/dist/VerticalWidget-CcJMMaK_.cjs.map +1 -1
- package/dist/VerticalWidget-DJvoxqLE.js.map +1 -1
- package/dist/VerticalboxWidget-CJR_mOLa.cjs.map +1 -1
- package/dist/VerticalboxWidget-CYYyLBoO.js.map +1 -1
- package/dist/Widget-Bn_S-zBo.js.map +1 -1
- package/dist/Widget-O7wkmc39.cjs.map +1 -1
- package/dist/components.cjs.map +1 -1
- package/dist/components.js.map +1 -1
- package/dist/fileIcon-BduOQcTc.cjs.map +1 -1
- package/dist/fileIcon-DqRHb1_Z.js.map +1 -1
- package/dist/format-B22VpiOS.cjs.map +1 -1
- package/dist/format-CVeawcIv.js.map +1 -1
- package/dist/icons.cjs.map +1 -1
- package/dist/icons.js.map +1 -1
- package/dist/index-DcL65Mqb.cjs.map +1 -1
- package/dist/index-qCq0L4jN.js.map +1 -1
- package/dist/parse-DnkEsW-3.js.map +1 -1
- package/dist/parse-DwfgQboe.cjs.map +1 -1
- package/dist/plugins.cjs.map +1 -1
- package/dist/plugins.js.map +1 -1
- package/dist/timeFilters-BKnCM4rv.js.map +1 -1
- package/dist/timeFilters-CJFxfjqN.cjs.map +1 -1
- package/dist/tools/admin.cjs.map +1 -1
- package/dist/tools/admin.js.map +1 -1
- package/dist/tools/base.cjs.map +1 -1
- package/dist/tools/base.js.map +1 -1
- package/dist/tools/scriptrunner.cjs.map +1 -1
- package/dist/tools/scriptrunner.js.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TargetsTab-BfoRYnTP.js","sources":["../src/tools/admin/tabs/TargetsTab.vue"],"sourcesContent":["<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2024, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <div>\n <v-list class=\"list\" data-test=\"targetList\">\n <div v-for=\"target in targets\" :key=\"target\">\n <v-list-item>\n <v-list-item-title>{{ target.name }}</v-list-item-title>\n <v-list-item-subtitle>\n Plugin: {{ target.plugin }}\n </v-list-item-subtitle>\n\n <template #append>\n <v-tooltip v-if=\"target.modified\" :open-delay=\"600\" location=\"top\">\n <template #activator=\"{ props }\">\n <v-btn\n v-bind=\"props\"\n class=\"mx-3\"\n icon=\"mdi-folder-download\"\n variant=\"text\"\n aria-label=\"Download Modified Files\"\n @click=\"downloadTarget(target.name)\"\n />\n </template>\n <span>Download Modified Files</span>\n </v-tooltip>\n <v-btn\n icon=\"mdi-eye\"\n variant=\"text\"\n aria-label=\"View Target\"\n @click=\"showTarget(target.name)\"\n />\n </template>\n </v-list-item>\n <v-divider />\n </div>\n </v-list>\n <output-dialog\n v-if=\"showDialog\"\n v-model=\"showDialog\"\n :content=\"jsonContent\"\n type=\"Target\"\n :name=\"dialogTitle\"\n @submit=\"dialogCallback\"\n />\n </div>\n</template>\n\n<script>\nimport { Api } from '@openc3/js-common/services'\nimport { OutputDialog } from '@/components'\n\nexport default {\n components: { OutputDialog },\n data() {\n return {\n targets: [],\n jsonContent: '',\n dialogTitle: '',\n showDialog: false,\n }\n },\n mounted() {\n this.update()\n },\n methods: {\n update() {\n Api.get('/openc3-api/targets_modified').then((response) => {\n this.targets = response.data\n })\n },\n showTarget(name) {\n Api.get(`/openc3-api/targets/${name}`).then((response) => {\n this.jsonContent = JSON.stringify(response.data, null, '\\t')\n this.dialogTitle = name\n this.showDialog = true\n })\n },\n dialogCallback(content) {\n this.showDialog = false\n },\n downloadTarget: function (name) {\n Api.post(`/openc3-api/targets/${name}/download`).then((response) => {\n // Decode Base64 string\n const decodedData = window.atob(response.data.contents)\n // Create UNIT8ARRAY of size same as row data length\n const uInt8Array = new Uint8Array(decodedData.length)\n // Insert all character code into uInt8Array\n for (let i = 0; i < decodedData.length; ++i) {\n uInt8Array[i] = decodedData.charCodeAt(i)\n }\n const blob = new Blob([uInt8Array], { type: 'application/zip' })\n const link = document.createElement('a')\n link.href = URL.createObjectURL(blob)\n link.setAttribute('download', response.data.filename)\n link.click()\n })\n },\n },\n}\n</script>\n\n<style scoped>\n.list {\n background-color: var(--color-background-surface-default) !important;\n overflow-x: hidden;\n}\n.v-theme--cosmosDark.v-list div:nth-child(odd) .v-list-item {\n background-color: var(--color-background-base-selected) !important;\n}\n</style>\n"],"names":["_sfc_main","OutputDialog","Api","response","name","content","decodedData","uInt8Array","i","blob","link","_createElementBlock","_createVNode","_component_v_list","_withCtx","_openBlock","_Fragment","_renderList","$data","target","_component_v_list_item","_createBlock","_component_v_tooltip","props","_component_v_btn","_mergeProps","$event","$options","_cache","_createElementVNode","_createCommentVNode","_component_v_list_item_title","_createTextVNode","_toDisplayString","_component_v_list_item_subtitle","_component_v_divider","_component_output_dialog"],"mappings":";;;;;AAwEA,MAAKA,IAAU;AAAA,EACb,YAAY,EAAE,cAAAC,EAAW;AAAA,EACzB,OAAO;AACL,WAAO;AAAA,MACL,SAAS,CAAA;AAAA,MACT,aAAa;AAAA,MACb,aAAa;AAAA,MACb,YAAY;AAAA,IACd;AAAA;
|
|
1
|
+
{"version":3,"file":"TargetsTab-BfoRYnTP.js","sources":["../src/tools/admin/tabs/TargetsTab.vue"],"sourcesContent":["<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2024, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <div>\n <v-list class=\"list\" data-test=\"targetList\">\n <div v-for=\"target in targets\" :key=\"target\">\n <v-list-item>\n <v-list-item-title>{{ target.name }}</v-list-item-title>\n <v-list-item-subtitle>\n Plugin: {{ target.plugin }}\n </v-list-item-subtitle>\n\n <template #append>\n <v-tooltip v-if=\"target.modified\" :open-delay=\"600\" location=\"top\">\n <template #activator=\"{ props }\">\n <v-btn\n v-bind=\"props\"\n class=\"mx-3\"\n icon=\"mdi-folder-download\"\n variant=\"text\"\n aria-label=\"Download Modified Files\"\n @click=\"downloadTarget(target.name)\"\n />\n </template>\n <span>Download Modified Files</span>\n </v-tooltip>\n <v-btn\n icon=\"mdi-eye\"\n variant=\"text\"\n aria-label=\"View Target\"\n @click=\"showTarget(target.name)\"\n />\n </template>\n </v-list-item>\n <v-divider />\n </div>\n </v-list>\n <output-dialog\n v-if=\"showDialog\"\n v-model=\"showDialog\"\n :content=\"jsonContent\"\n type=\"Target\"\n :name=\"dialogTitle\"\n @submit=\"dialogCallback\"\n />\n </div>\n</template>\n\n<script>\nimport { Api } from '@openc3/js-common/services'\nimport { OutputDialog } from '@/components'\n\nexport default {\n components: { OutputDialog },\n data() {\n return {\n targets: [],\n jsonContent: '',\n dialogTitle: '',\n showDialog: false,\n }\n },\n mounted() {\n this.update()\n },\n methods: {\n update() {\n Api.get('/openc3-api/targets_modified').then((response) => {\n this.targets = response.data\n })\n },\n showTarget(name) {\n Api.get(`/openc3-api/targets/${name}`).then((response) => {\n this.jsonContent = JSON.stringify(response.data, null, '\\t')\n this.dialogTitle = name\n this.showDialog = true\n })\n },\n dialogCallback(content) {\n this.showDialog = false\n },\n downloadTarget: function (name) {\n Api.post(`/openc3-api/targets/${name}/download`).then((response) => {\n // Decode Base64 string\n const decodedData = window.atob(response.data.contents)\n // Create UNIT8ARRAY of size same as row data length\n const uInt8Array = new Uint8Array(decodedData.length)\n // Insert all character code into uInt8Array\n for (let i = 0; i < decodedData.length; ++i) {\n uInt8Array[i] = decodedData.charCodeAt(i)\n }\n const blob = new Blob([uInt8Array], { type: 'application/zip' })\n const link = document.createElement('a')\n link.href = URL.createObjectURL(blob)\n link.setAttribute('download', response.data.filename)\n link.click()\n })\n },\n },\n}\n</script>\n\n<style scoped>\n.list {\n background-color: var(--color-background-surface-default) !important;\n overflow-x: hidden;\n}\n.v-theme--cosmosDark.v-list div:nth-child(odd) .v-list-item {\n background-color: var(--color-background-base-selected) !important;\n}\n</style>\n"],"names":["_sfc_main","OutputDialog","Api","response","name","content","decodedData","uInt8Array","i","blob","link","_createElementBlock","_createVNode","_component_v_list","_withCtx","_openBlock","_Fragment","_renderList","$data","target","_component_v_list_item","_createBlock","_component_v_tooltip","props","_component_v_btn","_mergeProps","$event","$options","_cache","_createElementVNode","_createCommentVNode","_component_v_list_item_title","_createTextVNode","_toDisplayString","_component_v_list_item_subtitle","_component_v_divider","_component_output_dialog"],"mappings":";;;;;AAwEA,MAAKA,IAAU;AAAA,EACb,YAAY,EAAE,cAAAC,EAAW;AAAA,EACzB,OAAO;AACL,WAAO;AAAA,MACL,SAAS,CAAA;AAAA,MACT,aAAa;AAAA,MACb,aAAa;AAAA,MACb,YAAY;AAAA,IACd;AAAA,EACF;AAAA,EACA,UAAU;AACR,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AAA;AAAA,MAhEN,KAAA;AAAA,MAAA,YA2DelB,EAAA;AAAA,MA3Df,uBAAAU,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAA,CAAAF,MA2DeR,EAAA,aAAUQ;AAAA,MAClB,SAASR,EAAA;AAAA,MACV,MAAK;AAAA,MACJ,MAAMA,EAAA;AAAA,MACN,UAAQS,EAAA;AAAA,kEA/DfG,EAAA,IAAA,EAAA;AAAA;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TargetsTab-CGE-jQAz.cjs","sources":["../src/tools/admin/tabs/TargetsTab.vue"],"sourcesContent":["<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2024, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <div>\n <v-list class=\"list\" data-test=\"targetList\">\n <div v-for=\"target in targets\" :key=\"target\">\n <v-list-item>\n <v-list-item-title>{{ target.name }}</v-list-item-title>\n <v-list-item-subtitle>\n Plugin: {{ target.plugin }}\n </v-list-item-subtitle>\n\n <template #append>\n <v-tooltip v-if=\"target.modified\" :open-delay=\"600\" location=\"top\">\n <template #activator=\"{ props }\">\n <v-btn\n v-bind=\"props\"\n class=\"mx-3\"\n icon=\"mdi-folder-download\"\n variant=\"text\"\n aria-label=\"Download Modified Files\"\n @click=\"downloadTarget(target.name)\"\n />\n </template>\n <span>Download Modified Files</span>\n </v-tooltip>\n <v-btn\n icon=\"mdi-eye\"\n variant=\"text\"\n aria-label=\"View Target\"\n @click=\"showTarget(target.name)\"\n />\n </template>\n </v-list-item>\n <v-divider />\n </div>\n </v-list>\n <output-dialog\n v-if=\"showDialog\"\n v-model=\"showDialog\"\n :content=\"jsonContent\"\n type=\"Target\"\n :name=\"dialogTitle\"\n @submit=\"dialogCallback\"\n />\n </div>\n</template>\n\n<script>\nimport { Api } from '@openc3/js-common/services'\nimport { OutputDialog } from '@/components'\n\nexport default {\n components: { OutputDialog },\n data() {\n return {\n targets: [],\n jsonContent: '',\n dialogTitle: '',\n showDialog: false,\n }\n },\n mounted() {\n this.update()\n },\n methods: {\n update() {\n Api.get('/openc3-api/targets_modified').then((response) => {\n this.targets = response.data\n })\n },\n showTarget(name) {\n Api.get(`/openc3-api/targets/${name}`).then((response) => {\n this.jsonContent = JSON.stringify(response.data, null, '\\t')\n this.dialogTitle = name\n this.showDialog = true\n })\n },\n dialogCallback(content) {\n this.showDialog = false\n },\n downloadTarget: function (name) {\n Api.post(`/openc3-api/targets/${name}/download`).then((response) => {\n // Decode Base64 string\n const decodedData = window.atob(response.data.contents)\n // Create UNIT8ARRAY of size same as row data length\n const uInt8Array = new Uint8Array(decodedData.length)\n // Insert all character code into uInt8Array\n for (let i = 0; i < decodedData.length; ++i) {\n uInt8Array[i] = decodedData.charCodeAt(i)\n }\n const blob = new Blob([uInt8Array], { type: 'application/zip' })\n const link = document.createElement('a')\n link.href = URL.createObjectURL(blob)\n link.setAttribute('download', response.data.filename)\n link.click()\n })\n },\n },\n}\n</script>\n\n<style scoped>\n.list {\n background-color: var(--color-background-surface-default) !important;\n overflow-x: hidden;\n}\n.v-theme--cosmosDark.v-list div:nth-child(odd) .v-list-item {\n background-color: var(--color-background-base-selected) !important;\n}\n</style>\n"],"names":["_sfc_main","OutputDialog","Api","response","name","content","decodedData","uInt8Array","i","blob","link","_createElementBlock","_createVNode","_component_v_list","_withCtx","_openBlock","_Fragment","_renderList","$data","target","_component_v_list_item","_createBlock","_component_v_tooltip","props","_component_v_btn","_mergeProps","$event","$options","_cache","_createElementVNode","_createCommentVNode","_component_v_list_item_title","_createTextVNode","_toDisplayString","_component_v_list_item_subtitle","_component_v_divider","_component_output_dialog"],"mappings":"yTAwEKA,EAAU,CACb,WAAY,CAAA,aAAEC,EAAAA,YAAW,EACzB,MAAO,CACL,MAAO,CACL,QAAS,CAAA,EACT,YAAa,GACb,YAAa,GACb,WAAY,EACd,
|
|
1
|
+
{"version":3,"file":"TargetsTab-CGE-jQAz.cjs","sources":["../src/tools/admin/tabs/TargetsTab.vue"],"sourcesContent":["<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2024, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <div>\n <v-list class=\"list\" data-test=\"targetList\">\n <div v-for=\"target in targets\" :key=\"target\">\n <v-list-item>\n <v-list-item-title>{{ target.name }}</v-list-item-title>\n <v-list-item-subtitle>\n Plugin: {{ target.plugin }}\n </v-list-item-subtitle>\n\n <template #append>\n <v-tooltip v-if=\"target.modified\" :open-delay=\"600\" location=\"top\">\n <template #activator=\"{ props }\">\n <v-btn\n v-bind=\"props\"\n class=\"mx-3\"\n icon=\"mdi-folder-download\"\n variant=\"text\"\n aria-label=\"Download Modified Files\"\n @click=\"downloadTarget(target.name)\"\n />\n </template>\n <span>Download Modified Files</span>\n </v-tooltip>\n <v-btn\n icon=\"mdi-eye\"\n variant=\"text\"\n aria-label=\"View Target\"\n @click=\"showTarget(target.name)\"\n />\n </template>\n </v-list-item>\n <v-divider />\n </div>\n </v-list>\n <output-dialog\n v-if=\"showDialog\"\n v-model=\"showDialog\"\n :content=\"jsonContent\"\n type=\"Target\"\n :name=\"dialogTitle\"\n @submit=\"dialogCallback\"\n />\n </div>\n</template>\n\n<script>\nimport { Api } from '@openc3/js-common/services'\nimport { OutputDialog } from '@/components'\n\nexport default {\n components: { OutputDialog },\n data() {\n return {\n targets: [],\n jsonContent: '',\n dialogTitle: '',\n showDialog: false,\n }\n },\n mounted() {\n this.update()\n },\n methods: {\n update() {\n Api.get('/openc3-api/targets_modified').then((response) => {\n this.targets = response.data\n })\n },\n showTarget(name) {\n Api.get(`/openc3-api/targets/${name}`).then((response) => {\n this.jsonContent = JSON.stringify(response.data, null, '\\t')\n this.dialogTitle = name\n this.showDialog = true\n })\n },\n dialogCallback(content) {\n this.showDialog = false\n },\n downloadTarget: function (name) {\n Api.post(`/openc3-api/targets/${name}/download`).then((response) => {\n // Decode Base64 string\n const decodedData = window.atob(response.data.contents)\n // Create UNIT8ARRAY of size same as row data length\n const uInt8Array = new Uint8Array(decodedData.length)\n // Insert all character code into uInt8Array\n for (let i = 0; i < decodedData.length; ++i) {\n uInt8Array[i] = decodedData.charCodeAt(i)\n }\n const blob = new Blob([uInt8Array], { type: 'application/zip' })\n const link = document.createElement('a')\n link.href = URL.createObjectURL(blob)\n link.setAttribute('download', response.data.filename)\n link.click()\n })\n },\n },\n}\n</script>\n\n<style scoped>\n.list {\n background-color: var(--color-background-surface-default) !important;\n overflow-x: hidden;\n}\n.v-theme--cosmosDark.v-list div:nth-child(odd) .v-list-item {\n background-color: var(--color-background-base-selected) !important;\n}\n</style>\n"],"names":["_sfc_main","OutputDialog","Api","response","name","content","decodedData","uInt8Array","i","blob","link","_createElementBlock","_createVNode","_component_v_list","_withCtx","_openBlock","_Fragment","_renderList","$data","target","_component_v_list_item","_createBlock","_component_v_tooltip","props","_component_v_btn","_mergeProps","$event","$options","_cache","_createElementVNode","_createCommentVNode","_component_v_list_item_title","_createTextVNode","_toDisplayString","_component_v_list_item_subtitle","_component_v_divider","_component_output_dialog"],"mappings":"yTAwEKA,EAAU,CACb,WAAY,CAAA,aAAEC,EAAAA,YAAW,EACzB,MAAO,CACL,MAAO,CACL,QAAS,CAAA,EACT,YAAa,GACb,YAAa,GACb,WAAY,EACd,CACF,EACA,SAAU,CACR,KAAK,OAAM,CACb,EACA,QAAS,CACP,QAAS,CACPC,EAAAA,GAAI,IAAI,8BAA8B,EAAE,KAAMC,GAAa,CACzD,KAAK,QAAUA,EAAS,IAC1B,CAAC,CACH,EACA,WAAWC,EAAM,CACfF,KAAI,IAAI,uBAAuBE,CAAI,EAAE,EAAE,KAAMD,GAAa,CACxD,KAAK,YAAc,KAAK,UAAUA,EAAS,KAAM,KAAM,GAAI,EAC3D,KAAK,YAAcC,EACnB,KAAK,WAAa,EACpB,CAAC,CACH,EACA,eAAeC,EAAS,CACtB,KAAK,WAAa,EACpB,EACA,eAAgB,SAAUD,EAAM,CAC9BF,KAAI,KAAK,uBAAuBE,CAAI,WAAW,EAAE,KAAMD,GAAa,CAElE,MAAMG,EAAc,OAAO,KAAKH,EAAS,KAAK,QAAQ,EAEhDI,EAAa,IAAI,WAAWD,EAAY,MAAM,EAEpD,QAASE,EAAI,EAAGA,EAAIF,EAAY,OAAQ,EAAEE,EACxCD,EAAWC,CAAC,EAAIF,EAAY,WAAWE,CAAC,EAE1C,MAAMC,EAAO,IAAI,KAAK,CAACF,CAAU,EAAG,CAAE,KAAM,iBAAgB,CAAG,EACzDG,EAAO,SAAS,cAAc,GAAG,EACvCA,EAAK,KAAO,IAAI,gBAAgBD,CAAI,EACpCC,EAAK,aAAa,WAAYP,EAAS,KAAK,QAAQ,EACpDO,EAAK,MAAK,CACZ,CAAC,CACH,EAEJ,uVAhGEC,qBA0CM,MAAA,KAAA,CAzCJC,EAAAA,YAgCSC,EAAA,CAhCD,MAAM,OAAO,YAAU,eAxBnC,QAAAC,EAAAA,QAyBW,IAAyB,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AOEe,EAAA,CAhEN,IAAA,EAAA,WA2DelB,EAAA,WA3Df,sBAAAU,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAAF,GA2DeR,EAAA,WAAUQ,GAClB,QAASR,EAAA,YACV,KAAK,SACJ,KAAMA,EAAA,YACN,SAAQS,EAAA,oEA/DfG,EAAAA,mBAAA,GAAA,EAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextBoxDialog-C60jmnyN.js","sources":["../src/components/TextBoxDialog.vue"],"sourcesContent":["<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <v-dialog v-model=\"show\" width=\"600\">\n <v-card>\n <v-toolbar height=\"24\">\n <v-spacer />\n <span> {{ title }} </span>\n <v-spacer />\n <div class=\"mx-2\">\n <v-btn\n icon=\"mdi-download\"\n variant=\"text\"\n density=\"compact\"\n data-test=\"downloadIcon\"\n @click=\"download\"\n />\n </div>\n </v-toolbar>\n <div class=\"pa-2\">\n <v-card-text>\n <v-textarea\n v-model=\"dialogText\"\n readonly\n rows=\"15\"\n data-test=\"dialogText\"\n />\n </v-card-text>\n </div>\n <v-card-actions class=\"px-2\">\n <v-spacer />\n <v-btn variant=\"flat\" @click=\"show = !show\"> Ok </v-btn>\n </v-card-actions>\n </v-card>\n </v-dialog>\n</template>\n\n<script>\nexport default {\n props: {\n modelValue: Boolean,\n text: String,\n title: String,\n },\n computed: {\n dialogText: function () {\n return this.text\n },\n show: {\n get() {\n return this.modelValue\n },\n set(value) {\n this.$emit('update:modelValue', value)\n },\n },\n },\n methods: {\n download: function () {\n const blob = new Blob([this.dialogText], {\n type: 'text/plain',\n })\n // Make a link and then 'click' on it to start the download\n const link = document.createElement('a')\n link.href = URL.createObjectURL(blob)\n link.setAttribute('download', `${this.title}__error.txt`)\n link.click()\n },\n },\n}\n</script>\n"],"names":["_sfc_main","value","blob","link","_hoisted_1","_hoisted_2","_createBlock","_component_v_dialog","$options","_cache","$event","_withCtx","_createVNode","_component_v_card","_component_v_toolbar","_component_v_spacer","_createElementVNode","$props","_component_v_btn","_component_v_card_text","_component_v_textarea","_component_v_card_actions","_createTextVNode"],"mappings":";;AA0DA,MAAKA,IAAU;AAAA,EACb,OAAO;AAAA,IACL,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,OAAO;AAAA;EAET,UAAU;AAAA,IACR,YAAY,WAAY;AACtB,aAAO,KAAK;AAAA;
|
|
1
|
+
{"version":3,"file":"TextBoxDialog-C60jmnyN.js","sources":["../src/components/TextBoxDialog.vue"],"sourcesContent":["<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <v-dialog v-model=\"show\" width=\"600\">\n <v-card>\n <v-toolbar height=\"24\">\n <v-spacer />\n <span> {{ title }} </span>\n <v-spacer />\n <div class=\"mx-2\">\n <v-btn\n icon=\"mdi-download\"\n variant=\"text\"\n density=\"compact\"\n data-test=\"downloadIcon\"\n @click=\"download\"\n />\n </div>\n </v-toolbar>\n <div class=\"pa-2\">\n <v-card-text>\n <v-textarea\n v-model=\"dialogText\"\n readonly\n rows=\"15\"\n data-test=\"dialogText\"\n />\n </v-card-text>\n </div>\n <v-card-actions class=\"px-2\">\n <v-spacer />\n <v-btn variant=\"flat\" @click=\"show = !show\"> Ok </v-btn>\n </v-card-actions>\n </v-card>\n </v-dialog>\n</template>\n\n<script>\nexport default {\n props: {\n modelValue: Boolean,\n text: String,\n title: String,\n },\n computed: {\n dialogText: function () {\n return this.text\n },\n show: {\n get() {\n return this.modelValue\n },\n set(value) {\n this.$emit('update:modelValue', value)\n },\n },\n },\n methods: {\n download: function () {\n const blob = new Blob([this.dialogText], {\n type: 'text/plain',\n })\n // Make a link and then 'click' on it to start the download\n const link = document.createElement('a')\n link.href = URL.createObjectURL(blob)\n link.setAttribute('download', `${this.title}__error.txt`)\n link.click()\n },\n },\n}\n</script>\n"],"names":["_sfc_main","value","blob","link","_hoisted_1","_hoisted_2","_createBlock","_component_v_dialog","$options","_cache","$event","_withCtx","_createVNode","_component_v_card","_component_v_toolbar","_component_v_spacer","_createElementVNode","$props","_component_v_btn","_component_v_card_text","_component_v_textarea","_component_v_card_actions","_createTextVNode"],"mappings":";;AA0DA,MAAKA,IAAU;AAAA,EACb,OAAO;AAAA,IACL,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,OAAO;AAAA;EAET,UAAU;AAAA,IACR,YAAY,WAAY;AACtB,aAAO,KAAK;AAAA,IACd;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AACJ,eAAO,KAAK;AAAA,MACd;AAAA,MACA,IAAIC,GAAO;AACT,aAAK,MAAM,qBAAqBA,CAAK;AAAA,MACvC;AAAA;;EAGJ,SAAS;AAAA,IACP,UAAU,WAAY;AACpB,YAAMC,IAAO,IAAI,KAAK,CAAC,KAAK,UAAU,GAAG;AA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AA;;UAiDME,EAGiBS,GAAA,EAHD,OAAM,OAAM,GAAA;AAAA,YAjDlC,SAAAV,EAkDQ,MAAY;AAAA,cAAZC,EAAYG,CAAA;AAAA,cACZH,EAAwDM,GAAA;AAAA,gBAAjD,SAAQ;AAAA,gBAAQ,SAAKT,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAA,CAAAC,MAAEF,EAAA,OAAI,CAAIA,EAAA;AAAA;gBAnD9C,SAAAG,EAmDoD,MAAIF,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAA;AAAA,kBAnDxDa,EAmDoD,MAAI;AAAA;gBAnDxD,GAAA;AAAA;;YAAA,GAAA;AAAA;;QAAA,GAAA;AAAA;;IAAA,GAAA;AAAA;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextBoxDialog-DWt30tB8.cjs","sources":["../src/components/TextBoxDialog.vue"],"sourcesContent":["<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <v-dialog v-model=\"show\" width=\"600\">\n <v-card>\n <v-toolbar height=\"24\">\n <v-spacer />\n <span> {{ title }} </span>\n <v-spacer />\n <div class=\"mx-2\">\n <v-btn\n icon=\"mdi-download\"\n variant=\"text\"\n density=\"compact\"\n data-test=\"downloadIcon\"\n @click=\"download\"\n />\n </div>\n </v-toolbar>\n <div class=\"pa-2\">\n <v-card-text>\n <v-textarea\n v-model=\"dialogText\"\n readonly\n rows=\"15\"\n data-test=\"dialogText\"\n />\n </v-card-text>\n </div>\n <v-card-actions class=\"px-2\">\n <v-spacer />\n <v-btn variant=\"flat\" @click=\"show = !show\"> Ok </v-btn>\n </v-card-actions>\n </v-card>\n </v-dialog>\n</template>\n\n<script>\nexport default {\n props: {\n modelValue: Boolean,\n text: String,\n title: String,\n },\n computed: {\n dialogText: function () {\n return this.text\n },\n show: {\n get() {\n return this.modelValue\n },\n set(value) {\n this.$emit('update:modelValue', value)\n },\n },\n },\n methods: {\n download: function () {\n const blob = new Blob([this.dialogText], {\n type: 'text/plain',\n })\n // Make a link and then 'click' on it to start the download\n const link = document.createElement('a')\n link.href = URL.createObjectURL(blob)\n link.setAttribute('download', `${this.title}__error.txt`)\n link.click()\n },\n },\n}\n</script>\n"],"names":["_sfc_main","value","blob","link","_hoisted_1","_hoisted_2","_createBlock","_component_v_dialog","$options","_cache","$event","_withCtx","_createVNode","_component_v_card","_component_v_toolbar","_component_v_spacer","_createElementVNode","$props","_component_v_btn","_component_v_card_text","_component_v_textarea","_component_v_card_actions","_createTextVNode"],"mappings":"2EA0DKA,EAAU,CACb,MAAO,CACL,WAAY,QACZ,KAAM,OACN,MAAO,QAET,SAAU,CACR,WAAY,UAAY,CACtB,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"TextBoxDialog-DWt30tB8.cjs","sources":["../src/components/TextBoxDialog.vue"],"sourcesContent":["<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <v-dialog v-model=\"show\" width=\"600\">\n <v-card>\n <v-toolbar height=\"24\">\n <v-spacer />\n <span> {{ title }} </span>\n <v-spacer />\n <div class=\"mx-2\">\n <v-btn\n icon=\"mdi-download\"\n variant=\"text\"\n density=\"compact\"\n data-test=\"downloadIcon\"\n @click=\"download\"\n />\n </div>\n </v-toolbar>\n <div class=\"pa-2\">\n <v-card-text>\n <v-textarea\n v-model=\"dialogText\"\n readonly\n rows=\"15\"\n data-test=\"dialogText\"\n />\n </v-card-text>\n </div>\n <v-card-actions class=\"px-2\">\n <v-spacer />\n <v-btn variant=\"flat\" @click=\"show = !show\"> Ok </v-btn>\n </v-card-actions>\n </v-card>\n </v-dialog>\n</template>\n\n<script>\nexport default {\n props: {\n modelValue: Boolean,\n text: String,\n title: String,\n },\n computed: {\n dialogText: function () {\n return this.text\n },\n show: {\n get() {\n return this.modelValue\n },\n set(value) {\n this.$emit('update:modelValue', value)\n },\n },\n },\n methods: {\n download: function () {\n const blob = new Blob([this.dialogText], {\n type: 'text/plain',\n })\n // Make a link and then 'click' on it to start the download\n const link = document.createElement('a')\n link.href = URL.createObjectURL(blob)\n link.setAttribute('download', `${this.title}__error.txt`)\n link.click()\n },\n },\n}\n</script>\n"],"names":["_sfc_main","value","blob","link","_hoisted_1","_hoisted_2","_createBlock","_component_v_dialog","$options","_cache","$event","_withCtx","_createVNode","_component_v_card","_component_v_toolbar","_component_v_spacer","_createElementVNode","$props","_component_v_btn","_component_v_card_text","_component_v_textarea","_component_v_card_actions","_createTextVNode"],"mappings":"2EA0DKA,EAAU,CACb,MAAO,CACL,WAAY,QACZ,KAAM,OACN,MAAO,QAET,SAAU,CACR,WAAY,UAAY,CACtB,OAAO,KAAK,IACd,EACA,KAAM,CACJ,KAAM,CACJ,OAAO,KAAK,UACd,EACA,IAAIC,EAAO,CACT,KAAK,MAAM,oBAAqBA,CAA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,CAHD,MAAM,MAAM,EAAA,CAjDlC,QAAAV,EAAAA,QAkDQ,IAAY,CAAZC,EAAAA,YAAYG,CAAA,EACZH,EAAAA,YAAwDM,EAAA,CAAjD,QAAQ,OAAQ,QAAKT,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAAC,GAAEF,EAAA,KAAI,CAAIA,EAAA,QAnD9C,QAAAG,EAAAA,QAmDoD,IAAIF,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAA,CAnDxDa,EAAAA,gBAmDoD,MAAI,KAnDxD,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextboxWidget-0JXn4bMH.js","sources":["../src/widgets/TextboxWidget.vue"],"sourcesContent":["<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2024, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <div class=\"textbox-widget-container\">\n <v-textarea\n variant=\"solo\"\n density=\"compact\"\n readonly\n no-resize\n auto-grow\n rows=\"2\"\n hide-details\n :model-value=\"_value\"\n :class=\"valueClass\"\n :style=\"[computedStyle, aging]\"\n data-test=\"valueText\"\n @contextmenu=\"showContextMenu\"\n />\n <v-menu v-model=\"contextMenuShown\" :target=\"[x, y]\">\n <v-list>\n <v-list-item\n v-for=\"(item, index) in contextMenuOptions\"\n :key=\"index\"\n @click.stop=\"item.action\"\n >\n <v-list-item-title>{{ item.title }}</v-list-item-title>\n </v-list-item>\n </v-list>\n </v-menu>\n\n <details-dialog\n :target-name=\"parameters[0]\"\n :packet-name=\"parameters[1]\"\n :item-name=\"parameters[2]\"\n v-model=\"viewDetails\"\n />\n </div>\n</template>\n\n<script>\nimport { DetailsDialog } from '@/components'\nimport VWidget from './VWidget'\nimport 'sprintf-js'\n\nexport default {\n components: {\n DetailsDialog,\n },\n data: function () {\n return {\n width: 200,\n height: 200,\n }\n },\n mixins: [VWidget],\n computed: {\n aging() {\n return {\n '--aging': this.grayLevel,\n }\n },\n },\n created: function () {\n this.width = this.setWidth(this.parameters[3], 'px', this.width)\n this.height = this.setHeight(this.parameters[4], 'px', this.height)\n },\n methods: {\n getType: function () {\n let type = 'CONVERTED'\n if (this.parameters[5]) {\n type = this.parameters[5]\n }\n return type\n },\n },\n}\n</script>\n\n<style scoped>\n.textbox-widget-container :deep(.v-input__slot) {\n background: rgba(var(--aging), var(--aging), var(--aging), 1) !important;\n}\n.value :deep(div) {\n min-height: 24px !important;\n display: flex !important;\n align-items: center !important;\n}\n.textbox-widget-container :deep(.v-field__loader) {\n display: none !important;\n}\n.openc3-green :deep(input) {\n color: rgb(0, 200, 0);\n}\n.openc3-yellow :deep(input) {\n color: rgb(255, 220, 0);\n}\n.openc3-red :deep(input) {\n color: rgb(255, 45, 45);\n}\n.openc3-blue :deep(input) {\n color: rgb(0, 153, 255);\n}\n.openc3-purple :deep(input) {\n color: rgb(200, 0, 200);\n}\n.openc3-black :deep(input) {\n color: black;\n}\n.openc3-white :deep(input) {\n color: white;\n}\n</style>\n"],"names":["_sfc_main","DetailsDialog","VWidget","type","_hoisted_1","_openBlock","_createElementBlock","_createVNode","_component_v_textarea","_ctx","_normalizeClass","_normalizeStyle","$options","_component_v_menu","_cache","$event","_withCtx","_component_v_list","_Fragment","_renderList","item","index","_createBlock","_component_v_list_item","_withModifiers","_component_v_list_item_title","_createTextVNode","_toDisplayString","_component_details_dialog"],"mappings":";;;;;;AAgEA,MAAKA,IAAU;AAAA,EACb,YAAY;AAAA,IACV,eAAAC;AAAA;EAEF,MAAM,WAAY;AAChB,WAAO;AAAA,MACL,OAAO;AAAA,MACP,QAAQ;AAAA,IACV;AAAA;
|
|
1
|
+
{"version":3,"file":"TextboxWidget-0JXn4bMH.js","sources":["../src/widgets/TextboxWidget.vue"],"sourcesContent":["<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2024, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <div class=\"textbox-widget-container\">\n <v-textarea\n variant=\"solo\"\n density=\"compact\"\n readonly\n no-resize\n auto-grow\n rows=\"2\"\n hide-details\n :model-value=\"_value\"\n :class=\"valueClass\"\n :style=\"[computedStyle, aging]\"\n data-test=\"valueText\"\n @contextmenu=\"showContextMenu\"\n />\n <v-menu v-model=\"contextMenuShown\" :target=\"[x, y]\">\n <v-list>\n <v-list-item\n v-for=\"(item, index) in contextMenuOptions\"\n :key=\"index\"\n @click.stop=\"item.action\"\n >\n <v-list-item-title>{{ item.title }}</v-list-item-title>\n </v-list-item>\n </v-list>\n </v-menu>\n\n <details-dialog\n :target-name=\"parameters[0]\"\n :packet-name=\"parameters[1]\"\n :item-name=\"parameters[2]\"\n v-model=\"viewDetails\"\n />\n </div>\n</template>\n\n<script>\nimport { DetailsDialog } from '@/components'\nimport VWidget from './VWidget'\nimport 'sprintf-js'\n\nexport default {\n components: {\n DetailsDialog,\n },\n data: function () {\n return {\n width: 200,\n height: 200,\n }\n },\n mixins: [VWidget],\n computed: {\n aging() {\n return {\n '--aging': this.grayLevel,\n }\n },\n },\n created: function () {\n this.width = this.setWidth(this.parameters[3], 'px', this.width)\n this.height = this.setHeight(this.parameters[4], 'px', this.height)\n },\n methods: {\n getType: function () {\n let type = 'CONVERTED'\n if (this.parameters[5]) {\n type = this.parameters[5]\n }\n return type\n },\n },\n}\n</script>\n\n<style scoped>\n.textbox-widget-container :deep(.v-input__slot) {\n background: rgba(var(--aging), var(--aging), var(--aging), 1) !important;\n}\n.value :deep(div) {\n min-height: 24px !important;\n display: flex !important;\n align-items: center !important;\n}\n.textbox-widget-container :deep(.v-field__loader) {\n display: none !important;\n}\n.openc3-green :deep(input) {\n color: rgb(0, 200, 0);\n}\n.openc3-yellow :deep(input) {\n color: rgb(255, 220, 0);\n}\n.openc3-red :deep(input) {\n color: rgb(255, 45, 45);\n}\n.openc3-blue :deep(input) {\n color: rgb(0, 153, 255);\n}\n.openc3-purple :deep(input) {\n color: rgb(200, 0, 200);\n}\n.openc3-black :deep(input) {\n color: black;\n}\n.openc3-white :deep(input) {\n color: white;\n}\n</style>\n"],"names":["_sfc_main","DetailsDialog","VWidget","type","_hoisted_1","_openBlock","_createElementBlock","_createVNode","_component_v_textarea","_ctx","_normalizeClass","_normalizeStyle","$options","_component_v_menu","_cache","$event","_withCtx","_component_v_list","_Fragment","_renderList","item","index","_createBlock","_component_v_list_item","_withModifiers","_component_v_list_item_title","_createTextVNode","_toDisplayString","_component_details_dialog"],"mappings":";;;;;;AAgEA,MAAKA,IAAU;AAAA,EACb,YAAY;AAAA,IACV,eAAAC;AAAA;EAEF,MAAM,WAAY;AAChB,WAAO;AAAA,MACL,OAAO;AAAA,MACP,QAAQ;AAAA,IACV;AAAA,EACF;AAAA,EACA,QAAQ,CAACC,CAAO;AAAA,EAChB,UAAU;AAAA,IACR,QAAQ;AACN,aAAO;AAAA,QACL,WAAW,KAAK;AAAA,MAClB;AAAA,IACF;AAAA;EAEF,SA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A3ClC,SAAAJ,EA6CU,MAAuD;AAAA,gBAAvDT,EAAuDkB,GAAA,MAAA;AAAA,kBA7CjE,SAAAT,EA6C6B,MAAgB;AAAA,oBA7C7CU,EAAAC,EA6CgCP,EAAK,KAAK,GAAA,CAAA;AAAA;kBA7C1C,GAAA;AAAA;;cAAA,GAAA;AAAA;;UAAA,GAAA;AAAA;;MAAA,GAAA;AAAA;IAkDIb,EAKEqB,GAAA;AAAA,MAJC,eAAanB,EAAA,WAAU,CAAA;AAAA,MACvB,eAAaA,EAAA,WAAU,CAAA;AAAA,MACvB,aAAWA,EAAA,WAAU,CAAA;AAAA,MArD5B,YAsDeA,EAAA;AAAA,MAtDf,uBAAAK,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAA,CAAAC,MAsDeN,EAAA,cAAWM;AAAA;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextboxWidget-uDptDK_z.cjs","sources":["../src/widgets/TextboxWidget.vue"],"sourcesContent":["<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2024, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <div class=\"textbox-widget-container\">\n <v-textarea\n variant=\"solo\"\n density=\"compact\"\n readonly\n no-resize\n auto-grow\n rows=\"2\"\n hide-details\n :model-value=\"_value\"\n :class=\"valueClass\"\n :style=\"[computedStyle, aging]\"\n data-test=\"valueText\"\n @contextmenu=\"showContextMenu\"\n />\n <v-menu v-model=\"contextMenuShown\" :target=\"[x, y]\">\n <v-list>\n <v-list-item\n v-for=\"(item, index) in contextMenuOptions\"\n :key=\"index\"\n @click.stop=\"item.action\"\n >\n <v-list-item-title>{{ item.title }}</v-list-item-title>\n </v-list-item>\n </v-list>\n </v-menu>\n\n <details-dialog\n :target-name=\"parameters[0]\"\n :packet-name=\"parameters[1]\"\n :item-name=\"parameters[2]\"\n v-model=\"viewDetails\"\n />\n </div>\n</template>\n\n<script>\nimport { DetailsDialog } from '@/components'\nimport VWidget from './VWidget'\nimport 'sprintf-js'\n\nexport default {\n components: {\n DetailsDialog,\n },\n data: function () {\n return {\n width: 200,\n height: 200,\n }\n },\n mixins: [VWidget],\n computed: {\n aging() {\n return {\n '--aging': this.grayLevel,\n }\n },\n },\n created: function () {\n this.width = this.setWidth(this.parameters[3], 'px', this.width)\n this.height = this.setHeight(this.parameters[4], 'px', this.height)\n },\n methods: {\n getType: function () {\n let type = 'CONVERTED'\n if (this.parameters[5]) {\n type = this.parameters[5]\n }\n return type\n },\n },\n}\n</script>\n\n<style scoped>\n.textbox-widget-container :deep(.v-input__slot) {\n background: rgba(var(--aging), var(--aging), var(--aging), 1) !important;\n}\n.value :deep(div) {\n min-height: 24px !important;\n display: flex !important;\n align-items: center !important;\n}\n.textbox-widget-container :deep(.v-field__loader) {\n display: none !important;\n}\n.openc3-green :deep(input) {\n color: rgb(0, 200, 0);\n}\n.openc3-yellow :deep(input) {\n color: rgb(255, 220, 0);\n}\n.openc3-red :deep(input) {\n color: rgb(255, 45, 45);\n}\n.openc3-blue :deep(input) {\n color: rgb(0, 153, 255);\n}\n.openc3-purple :deep(input) {\n color: rgb(200, 0, 200);\n}\n.openc3-black :deep(input) {\n color: black;\n}\n.openc3-white :deep(input) {\n color: white;\n}\n</style>\n"],"names":["_sfc_main","DetailsDialog","VWidget","type","_hoisted_1","_openBlock","_createElementBlock","_createVNode","_component_v_textarea","_ctx","_normalizeClass","_normalizeStyle","$options","_component_v_menu","_cache","$event","_withCtx","_component_v_list","_Fragment","_renderList","item","index","_createBlock","_component_v_list_item","_withModifiers","_component_v_list_item_title","_createTextVNode","_toDisplayString","_component_details_dialog"],"mappings":"4VAgEKA,EAAU,CACb,WAAY,eACVC,EAAAA,eAEF,KAAM,UAAY,CAChB,MAAO,CACL,MAAO,IACP,OAAQ,GACV,
|
|
1
|
+
{"version":3,"file":"TextboxWidget-uDptDK_z.cjs","sources":["../src/widgets/TextboxWidget.vue"],"sourcesContent":["<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2024, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <div class=\"textbox-widget-container\">\n <v-textarea\n variant=\"solo\"\n density=\"compact\"\n readonly\n no-resize\n auto-grow\n rows=\"2\"\n hide-details\n :model-value=\"_value\"\n :class=\"valueClass\"\n :style=\"[computedStyle, aging]\"\n data-test=\"valueText\"\n @contextmenu=\"showContextMenu\"\n />\n <v-menu v-model=\"contextMenuShown\" :target=\"[x, y]\">\n <v-list>\n <v-list-item\n v-for=\"(item, index) in contextMenuOptions\"\n :key=\"index\"\n @click.stop=\"item.action\"\n >\n <v-list-item-title>{{ item.title }}</v-list-item-title>\n </v-list-item>\n </v-list>\n </v-menu>\n\n <details-dialog\n :target-name=\"parameters[0]\"\n :packet-name=\"parameters[1]\"\n :item-name=\"parameters[2]\"\n v-model=\"viewDetails\"\n />\n </div>\n</template>\n\n<script>\nimport { DetailsDialog } from '@/components'\nimport VWidget from './VWidget'\nimport 'sprintf-js'\n\nexport default {\n components: {\n DetailsDialog,\n },\n data: function () {\n return {\n width: 200,\n height: 200,\n }\n },\n mixins: [VWidget],\n computed: {\n aging() {\n return {\n '--aging': this.grayLevel,\n }\n },\n },\n created: function () {\n this.width = this.setWidth(this.parameters[3], 'px', this.width)\n this.height = this.setHeight(this.parameters[4], 'px', this.height)\n },\n methods: {\n getType: function () {\n let type = 'CONVERTED'\n if (this.parameters[5]) {\n type = this.parameters[5]\n }\n return type\n },\n },\n}\n</script>\n\n<style scoped>\n.textbox-widget-container :deep(.v-input__slot) {\n background: rgba(var(--aging), var(--aging), var(--aging), 1) !important;\n}\n.value :deep(div) {\n min-height: 24px !important;\n display: flex !important;\n align-items: center !important;\n}\n.textbox-widget-container :deep(.v-field__loader) {\n display: none !important;\n}\n.openc3-green :deep(input) {\n color: rgb(0, 200, 0);\n}\n.openc3-yellow :deep(input) {\n color: rgb(255, 220, 0);\n}\n.openc3-red :deep(input) {\n color: rgb(255, 45, 45);\n}\n.openc3-blue :deep(input) {\n color: rgb(0, 153, 255);\n}\n.openc3-purple :deep(input) {\n color: rgb(200, 0, 200);\n}\n.openc3-black :deep(input) {\n color: black;\n}\n.openc3-white :deep(input) {\n color: white;\n}\n</style>\n"],"names":["_sfc_main","DetailsDialog","VWidget","type","_hoisted_1","_openBlock","_createElementBlock","_createVNode","_component_v_textarea","_ctx","_normalizeClass","_normalizeStyle","$options","_component_v_menu","_cache","$event","_withCtx","_component_v_list","_Fragment","_renderList","item","index","_createBlock","_component_v_list_item","_withModifiers","_component_v_list_item_title","_createTextVNode","_toDisplayString","_component_details_dialog"],"mappings":"4VAgEKA,EAAU,CACb,WAAY,eACVC,EAAAA,eAEF,KAAM,UAAY,CAChB,MAAO,CACL,MAAO,IACP,OAAQ,GACV,CACF,EACA,OAAQ,CAACC,EAAAA,OAAO,EAChB,SAAU,CACR,OAAQ,CACN,MAAO,CACL,UAAW,KAAK,SAClB,CACF,GAEF,QAAS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AAAA,QA6C6B,IAAgB,CA7C7CU,EAAAA,gBAAAC,EAAAA,gBA6CgCP,EAAK,KAAK,EAAA,CAAA,IA7C1C,EAAA,WAAA,EAAA,+BAAA,EAAA,MAAA,EAAA,8BAkDIb,EAAAA,YAKEqB,EAAA,CAJC,cAAanB,EAAA,WAAU,CAAA,EACvB,cAAaA,EAAA,WAAU,CAAA,EACvB,YAAWA,EAAA,WAAU,CAAA,EArD5B,WAsDeA,EAAA,YAtDf,sBAAAK,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAAC,GAsDeN,EAAA,YAAWM"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextfieldWidget-B0FCskrL.cjs","sources":["../src/widgets/TextfieldWidget.vue"],"sourcesContent":["<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <v-text-field\n variant=\"solo\"\n density=\"compact\"\n single-line\n hide-no-data\n hide-details\n v-model=\"value\"\n :style=\"computedStyle\"\n >\n </v-text-field>\n</template>\n\n<script>\nimport Widget from './Widget'\n\nexport default {\n mixins: [Widget],\n data() {\n return {\n value: null,\n }\n },\n created() {\n this.setWidth(this.parameters[0], 'ch', 12)\n if (this.parameters[1]) {\n this.value = this.parameters[1]\n }\n },\n methods: {\n text() {\n return this.value\n },\n },\n}\n</script>\n"],"names":["_sfc_main","Widget","_createBlock","_component_v_text_field","$data","_cache","$event","_normalizeStyle","_ctx"],"mappings":"iLAsCKA,EAAU,CACb,OAAQ,CAACC,EAAAA,MAAM,EACf,MAAO,CACL,MAAO,CACL,MAAO,IACT,
|
|
1
|
+
{"version":3,"file":"TextfieldWidget-B0FCskrL.cjs","sources":["../src/widgets/TextfieldWidget.vue"],"sourcesContent":["<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <v-text-field\n variant=\"solo\"\n density=\"compact\"\n single-line\n hide-no-data\n hide-details\n v-model=\"value\"\n :style=\"computedStyle\"\n >\n </v-text-field>\n</template>\n\n<script>\nimport Widget from './Widget'\n\nexport default {\n mixins: [Widget],\n data() {\n return {\n value: null,\n }\n },\n created() {\n this.setWidth(this.parameters[0], 'ch', 12)\n if (this.parameters[1]) {\n this.value = this.parameters[1]\n }\n },\n methods: {\n text() {\n return this.value\n },\n },\n}\n</script>\n"],"names":["_sfc_main","Widget","_createBlock","_component_v_text_field","$data","_cache","$event","_normalizeStyle","_ctx"],"mappings":"iLAsCKA,EAAU,CACb,OAAQ,CAACC,EAAAA,MAAM,EACf,MAAO,CACL,MAAO,CACL,MAAO,IACT,CACF,EACA,SAAU,CACR,KAAK,SAAS,KAAK,WAAW,CAAC,EAAG,KAAM,EAAE,EACtC,KAAK,WAAW,CAAC,IACnB,KAAK,MAAQ,KAAK,WAAW,CAAC,EAElC,EACA,QAAS,CACP,MAAO,CACL,OAAO,KAAK,KACd,EAEJ,0FAjCEC,EAAAA,YASeC,EAAA,CARb,QAAQ,OACR,QAAQ,UACR,cAAA,GACA,eAAA,GACA,eAAA,GA5BJ,WA6BaC,EAAA,MA7Bb,sBAAAC,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAAC,GA6BaF,EAAA,MAAKE,GACb,MA9BLC,EAAAA,eA8BYC,EAAA,aAAa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextfieldWidget-BXr9MkVW.js","sources":["../src/widgets/TextfieldWidget.vue"],"sourcesContent":["<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <v-text-field\n variant=\"solo\"\n density=\"compact\"\n single-line\n hide-no-data\n hide-details\n v-model=\"value\"\n :style=\"computedStyle\"\n >\n </v-text-field>\n</template>\n\n<script>\nimport Widget from './Widget'\n\nexport default {\n mixins: [Widget],\n data() {\n return {\n value: null,\n }\n },\n created() {\n this.setWidth(this.parameters[0], 'ch', 12)\n if (this.parameters[1]) {\n this.value = this.parameters[1]\n }\n },\n methods: {\n text() {\n return this.value\n },\n },\n}\n</script>\n"],"names":["_sfc_main","Widget","_createBlock","_component_v_text_field","$data","_cache","$event","_normalizeStyle","_ctx"],"mappings":";;;AAsCA,MAAKA,IAAU;AAAA,EACb,QAAQ,CAACC,CAAM;AAAA,EACf,OAAO;AACL,WAAO;AAAA,MACL,OAAO;AAAA,IACT;AAAA;
|
|
1
|
+
{"version":3,"file":"TextfieldWidget-BXr9MkVW.js","sources":["../src/widgets/TextfieldWidget.vue"],"sourcesContent":["<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <v-text-field\n variant=\"solo\"\n density=\"compact\"\n single-line\n hide-no-data\n hide-details\n v-model=\"value\"\n :style=\"computedStyle\"\n >\n </v-text-field>\n</template>\n\n<script>\nimport Widget from './Widget'\n\nexport default {\n mixins: [Widget],\n data() {\n return {\n value: null,\n }\n },\n created() {\n this.setWidth(this.parameters[0], 'ch', 12)\n if (this.parameters[1]) {\n this.value = this.parameters[1]\n }\n },\n methods: {\n text() {\n return this.value\n },\n },\n}\n</script>\n"],"names":["_sfc_main","Widget","_createBlock","_component_v_text_field","$data","_cache","$event","_normalizeStyle","_ctx"],"mappings":";;;AAsCA,MAAKA,IAAU;AAAA,EACb,QAAQ,CAACC,CAAM;AAAA,EACf,OAAO;AACL,WAAO;AAAA,MACL,OAAO;AAAA,IACT;AAAA,EACF;AAAA,EACA,UAAU;AACR,SAAK,SAAS,KAAK,WAAW,CAAC,GAAG,MAAM,EAAE,GACtC,KAAK,WAAW,CAAC,MACnB,KAAK,QAAQ,KAAK,WAAW,CAAC;AAAA,EAElC;AAAA,EACA,SAAS;AAAA,IACP,OAAO;AACL,aAAO,KAAK;AAAA,IACd;AAAA;AAEJ;;;cAjCEC,EASeC,GAAA;AAAA,IARb,SAAQ;AAAA,IACR,SAAQ;AAAA,IACR,eAAA;AAAA,IACA,gBAAA;AAAA,IACA,gBAAA;AAAA,IA5BJ,YA6BaC,EAAA;AAAA,IA7Bb,uBAAAC,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAA,CAAAC,MA6BaF,EAAA,QAAKE;AAAA,IACb,OA9BLC,EA8BYC,EAAA,aAAa;AAAA;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimeWidget-C67uwMGH.js","sources":["../src/widgets/TimeWidget.vue"],"sourcesContent":["<!--\n# Copyright 2024 OpenC3, Inc.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <v-text-field\n v-model=\"timeValue\"\n :label=\"label\"\n :style=\"computedStyle\"\n type=\"time\"\n hide-details\n />\n</template>\n\n<script>\nimport Widget from './Widget'\nimport { TimeFilters } from '@/util'\n\nexport default {\n mixins: [Widget, TimeFilters],\n data() {\n return {\n label: 'Time',\n timeValue: '',\n }\n },\n created() {\n if (this.parameters[0]) {\n this.label = this.parameters[0]\n }\n this.timeValue = this.formatTimeHMS(new Date(), this.screenTimeZone)\n },\n methods: {\n text() {\n return this.timeValue\n },\n time() {\n return this.timeValue\n },\n },\n}\n</script>\n"],"names":["_sfc_main","Widget","TimeFilters","_createBlock","_component_v_text_field","$data","_cache","$event","_normalizeStyle","_ctx"],"mappings":";;;;AAgCA,MAAKA,IAAU;AAAA,EACb,QAAQ,CAACC,GAAQC,CAAW;AAAA,EAC5B,OAAO;AACL,WAAO;AAAA,MACL,OAAO;AAAA,MACP,WAAW;AAAA,IACb;AAAA;
|
|
1
|
+
{"version":3,"file":"TimeWidget-C67uwMGH.js","sources":["../src/widgets/TimeWidget.vue"],"sourcesContent":["<!--\n# Copyright 2024 OpenC3, Inc.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <v-text-field\n v-model=\"timeValue\"\n :label=\"label\"\n :style=\"computedStyle\"\n type=\"time\"\n hide-details\n />\n</template>\n\n<script>\nimport Widget from './Widget'\nimport { TimeFilters } from '@/util'\n\nexport default {\n mixins: [Widget, TimeFilters],\n data() {\n return {\n label: 'Time',\n timeValue: '',\n }\n },\n created() {\n if (this.parameters[0]) {\n this.label = this.parameters[0]\n }\n this.timeValue = this.formatTimeHMS(new Date(), this.screenTimeZone)\n },\n methods: {\n text() {\n return this.timeValue\n },\n time() {\n return this.timeValue\n },\n },\n}\n</script>\n"],"names":["_sfc_main","Widget","TimeFilters","_createBlock","_component_v_text_field","$data","_cache","$event","_normalizeStyle","_ctx"],"mappings":";;;;AAgCA,MAAKA,IAAU;AAAA,EACb,QAAQ,CAACC,GAAQC,CAAW;AAAA,EAC5B,OAAO;AACL,WAAO;AAAA,MACL,OAAO;AAAA,MACP,WAAW;AAAA,IACb;AAAA,EACF;AAAA,EACA,UAAU;AACR,IAAI,KAAK,WAAW,CAAC,MACnB,KAAK,QAAQ,KAAK,WAAW,CAAC,IAEhC,KAAK,YAAY,KAAK,cAAc,oBAAI,KAAI,GAAI,KAAK,cAAc;AAAA,EACrE;AAAA,EACA,SAAS;AAAA,IACP,OAAO;AACL,aAAO,KAAK;AAAA,IACd;AAAA,IACA,OAAO;AACL,aAAO,KAAK;AAAA,IACd;AAAA;AAEJ;;;cAnCEC,EAMEC,GAAA;AAAA,IAzBJ,YAoBaC,EAAA;AAAA,IApBb,uBAAAC,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAA,CAAAC,MAoBaF,EAAA,YAASE;AAAA,IACjB,OAAOF,EAAA;AAAA,IACP,OAtBLG,EAsBYC,EAAA,aAAa;AAAA,IACrB,MAAK;AAAA,IACL,gBAAA;AAAA;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimeWidget-q5tUvHC6.cjs","sources":["../src/widgets/TimeWidget.vue"],"sourcesContent":["<!--\n# Copyright 2024 OpenC3, Inc.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <v-text-field\n v-model=\"timeValue\"\n :label=\"label\"\n :style=\"computedStyle\"\n type=\"time\"\n hide-details\n />\n</template>\n\n<script>\nimport Widget from './Widget'\nimport { TimeFilters } from '@/util'\n\nexport default {\n mixins: [Widget, TimeFilters],\n data() {\n return {\n label: 'Time',\n timeValue: '',\n }\n },\n created() {\n if (this.parameters[0]) {\n this.label = this.parameters[0]\n }\n this.timeValue = this.formatTimeHMS(new Date(), this.screenTimeZone)\n },\n methods: {\n text() {\n return this.timeValue\n },\n time() {\n return this.timeValue\n },\n },\n}\n</script>\n"],"names":["_sfc_main","Widget","TimeFilters","_createBlock","_component_v_text_field","$data","_cache","$event","_normalizeStyle","_ctx"],"mappings":"yNAgCKA,EAAU,CACb,OAAQ,CAACC,EAAAA,OAAQC,aAAW,EAC5B,MAAO,CACL,MAAO,CACL,MAAO,OACP,UAAW,EACb,
|
|
1
|
+
{"version":3,"file":"TimeWidget-q5tUvHC6.cjs","sources":["../src/widgets/TimeWidget.vue"],"sourcesContent":["<!--\n# Copyright 2024 OpenC3, Inc.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <v-text-field\n v-model=\"timeValue\"\n :label=\"label\"\n :style=\"computedStyle\"\n type=\"time\"\n hide-details\n />\n</template>\n\n<script>\nimport Widget from './Widget'\nimport { TimeFilters } from '@/util'\n\nexport default {\n mixins: [Widget, TimeFilters],\n data() {\n return {\n label: 'Time',\n timeValue: '',\n }\n },\n created() {\n if (this.parameters[0]) {\n this.label = this.parameters[0]\n }\n this.timeValue = this.formatTimeHMS(new Date(), this.screenTimeZone)\n },\n methods: {\n text() {\n return this.timeValue\n },\n time() {\n return this.timeValue\n },\n },\n}\n</script>\n"],"names":["_sfc_main","Widget","TimeFilters","_createBlock","_component_v_text_field","$data","_cache","$event","_normalizeStyle","_ctx"],"mappings":"yNAgCKA,EAAU,CACb,OAAQ,CAACC,EAAAA,OAAQC,aAAW,EAC5B,MAAO,CACL,MAAO,CACL,MAAO,OACP,UAAW,EACb,CACF,EACA,SAAU,CACJ,KAAK,WAAW,CAAC,IACnB,KAAK,MAAQ,KAAK,WAAW,CAAC,GAEhC,KAAK,UAAY,KAAK,cAAc,IAAI,KAAQ,KAAK,cAAc,CACrE,EACA,QAAS,CACP,MAAO,CACL,OAAO,KAAK,SACd,EACA,MAAO,CACL,OAAO,KAAK,SACd,EAEJ,0FAnCEC,EAAAA,YAMEC,EAAA,CAzBJ,WAoBaC,EAAA,UApBb,sBAAAC,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAAC,GAoBaF,EAAA,UAASE,GACjB,MAAOF,EAAA,MACP,MAtBLG,EAAAA,eAsBYC,EAAA,aAAa,EACrB,KAAK,OACL,eAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TitleWidget-REsd7MqR.cjs","sources":["../src/widgets/TitleWidget.vue"],"sourcesContent":["<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license \n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <div class=\"text-h5 text-center pa-1 mt-1 label\" :style=\"computedStyle\">\n {{ labelText }}\n </div>\n</template>\n\n<script>\nimport Widget from './Widget'\n\nexport default {\n mixins: [Widget],\n computed: {\n labelText() {\n return this.parameters[0]\n },\n },\n created() {\n if (this.parameters.length < 1) {\n throw new Error('Not enough parameters for TITLE.')\n }\n },\n}\n</script>\n"],"names":["_sfc_main","Widget","_createElementBlock","_normalizeStyle","_ctx","$options"],"mappings":"iLA+BKA,EAAU,CACb,OAAQ,CAACC,EAAAA,MAAM,EACf,SAAU,CACR,WAAY,CACV,OAAO,KAAK,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"TitleWidget-REsd7MqR.cjs","sources":["../src/widgets/TitleWidget.vue"],"sourcesContent":["<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license \n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <div class=\"text-h5 text-center pa-1 mt-1 label\" :style=\"computedStyle\">\n {{ labelText }}\n </div>\n</template>\n\n<script>\nimport Widget from './Widget'\n\nexport default {\n mixins: [Widget],\n computed: {\n labelText() {\n return this.parameters[0]\n },\n },\n created() {\n if (this.parameters.length < 1) {\n throw new Error('Not enough parameters for TITLE.')\n }\n },\n}\n</script>\n"],"names":["_sfc_main","Widget","_createElementBlock","_normalizeStyle","_ctx","$options"],"mappings":"iLA+BKA,EAAU,CACb,OAAQ,CAACC,EAAAA,MAAM,EACf,SAAU,CACR,WAAY,CACV,OAAO,KAAK,WAAW,CAAC,CAC1B,GAEF,SAAU,CACR,GAAI,KAAK,WAAW,OAAS,EAC3B,MAAM,IAAI,MAAM,kCAAkC,CAEtD,CACF,+CApBEC,EAAAA,mBAEM,MAAA,CAFD,MAAM,sCAAuC,MAvBpDC,EAAAA,eAuB2DC,EAAA,aAAa,qBACjEC,EAAA,SAAS,EAAA,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TitleWidget-t_YLgUMB.js","sources":["../src/widgets/TitleWidget.vue"],"sourcesContent":["<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license \n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <div class=\"text-h5 text-center pa-1 mt-1 label\" :style=\"computedStyle\">\n {{ labelText }}\n </div>\n</template>\n\n<script>\nimport Widget from './Widget'\n\nexport default {\n mixins: [Widget],\n computed: {\n labelText() {\n return this.parameters[0]\n },\n },\n created() {\n if (this.parameters.length < 1) {\n throw new Error('Not enough parameters for TITLE.')\n }\n },\n}\n</script>\n"],"names":["_sfc_main","Widget","_createElementBlock","_normalizeStyle","_ctx","$options"],"mappings":";;;AA+BA,MAAKA,IAAU;AAAA,EACb,QAAQ,CAACC,CAAM;AAAA,EACf,UAAU;AAAA,IACR,YAAY;AACV,aAAO,KAAK,WAAW,CAAC;AAAA
|
|
1
|
+
{"version":3,"file":"TitleWidget-t_YLgUMB.js","sources":["../src/widgets/TitleWidget.vue"],"sourcesContent":["<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license \n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <div class=\"text-h5 text-center pa-1 mt-1 label\" :style=\"computedStyle\">\n {{ labelText }}\n </div>\n</template>\n\n<script>\nimport Widget from './Widget'\n\nexport default {\n mixins: [Widget],\n computed: {\n labelText() {\n return this.parameters[0]\n },\n },\n created() {\n if (this.parameters.length < 1) {\n throw new Error('Not enough parameters for TITLE.')\n }\n },\n}\n</script>\n"],"names":["_sfc_main","Widget","_createElementBlock","_normalizeStyle","_ctx","$options"],"mappings":";;;AA+BA,MAAKA,IAAU;AAAA,EACb,QAAQ,CAACC,CAAM;AAAA,EACf,UAAU;AAAA,IACR,YAAY;AACV,aAAO,KAAK,WAAW,CAAC;AAAA,IAC1B;AAAA;EAEF,UAAU;AACR,QAAI,KAAK,WAAW,SAAS;AAC3B,YAAM,IAAI,MAAM,kCAAkC;AAAA,EAEtD;AACF;;cApBEC,EAEM,OAAA;AAAA,IAFD,OAAM;AAAA,IAAuC,OAvBpDC,EAuB2DC,EAAA,aAAa;AAAA,OACjEC,EAAA,SAAS,GAAA,CAAA;;;"}
|