cosmosc2-tool-calendar 5.0.4 → 5.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +0,0 @@
1
- {"version":3,"file":"js/574.js","mappings":"2LAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,UAAU,CAACE,MAAM,CAAC,MAAQN,EAAIO,SAASH,EAAG,cAAc,CAACE,MAAM,CAAC,MAAQ,KAAK,CAACF,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACI,YAAY,QAAQ,CAACJ,EAAG,mBAAmB,CAACE,MAAM,CAAC,UAAYN,EAAIS,UAAU,OAAST,EAAIU,gBAAgBC,GAAG,CAAC,OAASX,EAAIY,eAAeC,MAAM,CAACC,MAAOd,EAAyB,sBAAEe,SAAS,SAAUC,GAAMhB,EAAIiB,sBAAsBD,GAAKE,WAAW,4BAA4B,IAAI,GAAGd,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACe,YAAY,CAAC,YAAY,UAAU,CAACf,EAAG,gBAAgB,CAACS,MAAM,CAACC,MAAOd,EAAyB,sBAAEe,SAAS,SAAUC,GAAMhB,EAAIiB,sBAAsBD,GAAKE,WAAW,2BAA2Bd,EAAG,YAAY,CAACI,YAAY,SAASJ,EAAG,oBAAoB,CAACE,MAAM,CAAC,UAAYN,EAAIS,WAAWI,MAAM,CAACC,MAAOd,EAAqB,kBAAEe,SAAS,SAAUC,GAAMhB,EAAIoB,kBAAkBJ,GAAKE,WAAW,wBAAwB,GAAGd,EAAG,QAAQ,CAACI,YAAY,QAAQ,CAACJ,EAAG,iBAAiB,CAACiB,IAAI,gBAAgBf,MAAM,CAAC,OAASN,EAAIU,gBAAgBG,MAAM,CAACC,MAAOd,EAAyB,sBAAEe,SAAS,SAAUC,GAAMhB,EAAIiB,sBAAsBD,GAAKE,WAAW,4BAA4B,IAAI,IAAI,IAAI,IAC/pCI,EAA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IE,EAAM,UACGA,EAAI,WAAYJ,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,K,qBCN5E,IAAIA,EAAU,EAAQ,MACnBA,EAAQC,aAAYD,EAAUA,EAAQ3V,SACnB,kBAAZ2V,IAAsBA,EAAU,CAAC,CAACD,EAAO7L,GAAI8L,EAAS,MAC7DA,EAAQE,SAAQH,EAAOI,QAAUH,EAAQE,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAYJ,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,K,qBCN5E,IAAIA,EAAU,EAAQ,MACnBA,EAAQC,aAAYD,EAAUA,EAAQ3V,SACnB,kBAAZ2V,IAAsBA,EAAU,CAAC,CAACD,EAAO7L,GAAI8L,EAAS,MAC7DA,EAAQE,SAAQH,EAAOI,QAAUH,EAAQE,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAYJ,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa","sources":["webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Calendar.vue?68d4","webpack://@cosmosc2/tool-calendar/../cosmosc2-tool-common/src/services/axios.js","webpack://@cosmosc2/tool-calendar/../cosmosc2-tool-common/src/services/api.js","webpack://@cosmosc2/tool-calendar/../cosmosc2-tool-common/src/services/cable.js","webpack://@cosmosc2/tool-calendar/../cosmosc2-tool-common/src/components/TopBar.vue?228d","webpack://@cosmosc2/tool-calendar/../cosmosc2-tool-common/src/components/TopBar.vue","webpack://@cosmosc2/tool-calendar/../cosmosc2-tool-common/src/components/TopBar.vue?adab","webpack://@cosmosc2/tool-calendar/../cosmosc2-tool-common/src/components/TopBar.vue?dfc0","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/EventCalendar.vue?1270","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/EventDialog.vue?c206","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Forms/ActivityEventForm.vue?5981","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Filters/timeFilters.js","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Forms/ActivityEventTimeline.vue?8676","webpack://@cosmosc2/tool-calendar/src/tools/Calendar/Forms/ActivityEventTimeline.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Forms/ActivityEventTimeline.vue?39fb","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Forms/ActivityEventTimeline.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/ActivityUpdateDialog.vue?e85b","webpack://@cosmosc2/tool-calendar/../cosmosc2-tool-common/src/components/EnvironmentChooser.vue?86ab","webpack://@cosmosc2/tool-calendar/../cosmosc2-tool-common/src/components/EnvironmentChooser.vue","webpack://@cosmosc2/tool-calendar/../cosmosc2-tool-common/src/components/EnvironmentChooser.vue?46d4","webpack://@cosmosc2/tool-calendar/../cosmosc2-tool-common/src/components/EnvironmentChooser.vue?056c","webpack://@cosmosc2/tool-calendar/../cosmosc2-tool-common/src/components/ScriptChooser.vue?717f","webpack://@cosmosc2/tool-calendar/../cosmosc2-tool-common/src/components/ScriptChooser.vue","webpack://@cosmosc2/tool-calendar/../cosmosc2-tool-common/src/components/ScriptChooser.vue?5c86","webpack://@cosmosc2/tool-calendar/../cosmosc2-tool-common/src/components/ScriptChooser.vue?622e","webpack://@cosmosc2/tool-calendar/src/tools/Calendar/Dialogs/ActivityUpdateDialog.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/ActivityUpdateDialog.vue?cdd8","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/ActivityUpdateDialog.vue","webpack://@cosmosc2/tool-calendar/src/tools/Calendar/Forms/ActivityEventForm.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Forms/ActivityEventForm.vue?42a2","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Forms/ActivityEventForm.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Forms/MetadataEventForm.vue?2905","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/MetadataUpdateDialog.vue?f339","webpack://@cosmosc2/tool-calendar/../cosmosc2-tool-common/src/services/cosmos-api.js","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Forms/ColorSelectForm.vue?8369","webpack://@cosmosc2/tool-calendar/src/tools/Calendar/Forms/ColorSelectForm.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Forms/ColorSelectForm.vue?28d8","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Forms/ColorSelectForm.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Forms/MetadataInputForm.vue?d7c0","webpack://@cosmosc2/tool-calendar/src/tools/Calendar/Forms/MetadataInputForm.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Forms/MetadataInputForm.vue?3198","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Forms/MetadataInputForm.vue","webpack://@cosmosc2/tool-calendar/src/tools/Calendar/Dialogs/MetadataUpdateDialog.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/MetadataUpdateDialog.vue?d7fd","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/MetadataUpdateDialog.vue","webpack://@cosmosc2/tool-calendar/src/tools/Calendar/Forms/MetadataEventForm.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Forms/MetadataEventForm.vue?fb5d","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Forms/MetadataEventForm.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Forms/NoteEventForm.vue?7e71","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/NoteUpdateDialog.vue?95f3","webpack://@cosmosc2/tool-calendar/src/tools/Calendar/Dialogs/NoteUpdateDialog.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/NoteUpdateDialog.vue?953c","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/NoteUpdateDialog.vue","webpack://@cosmosc2/tool-calendar/src/tools/Calendar/Forms/NoteEventForm.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Forms/NoteEventForm.vue?6f78","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Forms/NoteEventForm.vue","webpack://@cosmosc2/tool-calendar/src/tools/Calendar/Dialogs/EventDialog.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/EventDialog.vue?9986","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/EventDialog.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Filters/timelineFilters.js","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Filters/chronicleFilters.js","webpack://@cosmosc2/tool-calendar/src/tools/Calendar/EventCalendar.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/EventCalendar.vue?4ac6","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/EventCalendar.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/CalendarToolbar.vue?f09a","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/EventListDialog.vue?b41f","webpack://@cosmosc2/tool-calendar/src/tools/Calendar/Dialogs/EventListDialog.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/EventListDialog.vue?16d2","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/EventListDialog.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/ActivityCreateDialog.vue?4de3","webpack://@cosmosc2/tool-calendar/src/tools/Calendar/Dialogs/ActivityCreateDialog.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/ActivityCreateDialog.vue?e370","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/ActivityCreateDialog.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/MetadataCreateDialog.vue?0ce3","webpack://@cosmosc2/tool-calendar/src/tools/Calendar/Dialogs/MetadataCreateDialog.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/MetadataCreateDialog.vue?07a6","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/MetadataCreateDialog.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/NoteCreateDialog.vue?a60a","webpack://@cosmosc2/tool-calendar/src/tools/Calendar/Dialogs/NoteCreateDialog.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/NoteCreateDialog.vue?09ab","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/NoteCreateDialog.vue","webpack://@cosmosc2/tool-calendar/src/tools/Calendar/CalendarToolbar.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/CalendarToolbar.vue?d5a2","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/CalendarToolbar.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/CalendarSelector.vue?4ee2","webpack://@cosmosc2/tool-calendar/../cosmosc2-tool-common/src/components/EnvironmentDialog.vue?955b","webpack://@cosmosc2/tool-calendar/../cosmosc2-tool-common/src/components/EnvironmentDialog.vue","webpack://@cosmosc2/tool-calendar/../cosmosc2-tool-common/src/components/EnvironmentDialog.vue?51a9","webpack://@cosmosc2/tool-calendar/../cosmosc2-tool-common/src/components/EnvironmentDialog.vue?0b88","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/SelectorOptions.vue?434d","webpack://@cosmosc2/tool-calendar/src/tools/Calendar/SelectorOptions.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/SelectorOptions.vue?c4ea","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/SelectorOptions.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/TimelineCreateDialog.vue?5dd7","webpack://@cosmosc2/tool-calendar/src/tools/Calendar/Dialogs/TimelineCreateDialog.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/TimelineCreateDialog.vue?f236","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/TimelineCreateDialog.vue","webpack://@cosmosc2/tool-calendar/src/tools/Calendar/CalendarSelector.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/CalendarSelector.vue?f50e","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/CalendarSelector.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/MiniCalendar.vue?3383","webpack://@cosmosc2/tool-calendar/src/tools/Calendar/MiniCalendar.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/MiniCalendar.vue?17a3","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/MiniCalendar.vue","webpack://@cosmosc2/tool-calendar/src/tools/Calendar/Calendar.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Calendar.vue?9021","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Calendar.vue","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/CalendarSelector.vue?f312","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/ActivityCreateDialog.vue?86ba","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/ActivityUpdateDialog.vue?f3dd","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/MetadataCreateDialog.vue?5c90","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/MetadataUpdateDialog.vue?b80d","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/NoteCreateDialog.vue?e03c","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/NoteUpdateDialog.vue?1764","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/TimelineCreateDialog.vue?20b9","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Forms/ActivityEventForm.vue?5a8c","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Forms/MetadataEventForm.vue?6d40","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Forms/NoteEventForm.vue?279d","webpack://@cosmosc2/tool-calendar/../cosmosc2-tool-common/src/components/TopBar.vue?b2db","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/EventCalendar.vue?e691","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/CalendarSelector.vue?2710","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/ActivityCreateDialog.vue?d019","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/ActivityUpdateDialog.vue?5b8e","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/MetadataCreateDialog.vue?c6ff","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/MetadataUpdateDialog.vue?d676","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/NoteCreateDialog.vue?ade7","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/NoteUpdateDialog.vue?44de","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Dialogs/TimelineCreateDialog.vue?c0e5","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Forms/ActivityEventForm.vue?c9b1","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Forms/MetadataEventForm.vue?99b7","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/Forms/NoteEventForm.vue?2e58","webpack://@cosmosc2/tool-calendar/../cosmosc2-tool-common/src/components/TopBar.vue?5429","webpack://@cosmosc2/tool-calendar/./src/tools/Calendar/EventCalendar.vue?809e"],"sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('top-bar',{attrs:{\"title\":_vm.title}}),_c('v-container',{attrs:{\"dense\":\"\"}},[_c('v-row',[_c('v-col',{staticClass:\"pa-1\"},[_c('calendar-toolbar',{attrs:{\"timelines\":_vm.timelines,\"events\":_vm.calendarEvents},on:{\"action\":_vm.actionHandler},model:{value:(_vm.calendarConfiguration),callback:function ($$v) {_vm.calendarConfiguration=$$v},expression:\"calendarConfiguration\"}})],1)],1),_c('v-row',[_c('v-col',{staticStyle:{\"max-width\":\"300px\"}},[_c('mini-calendar',{model:{value:(_vm.calendarConfiguration),callback:function ($$v) {_vm.calendarConfiguration=$$v},expression:\"calendarConfiguration\"}}),_c('v-divider',{staticClass:\"my-1\"}),_c('calendar-selector',{attrs:{\"timelines\":_vm.timelines},model:{value:(_vm.selectedCalendars),callback:function ($$v) {_vm.selectedCalendars=$$v},expression:\"selectedCalendars\"}})],1),_c('v-col',{staticClass:\"pa-1\"},[_c('event-calendar',{ref:\"eventCalendar\",attrs:{\"events\":_vm.calendarEvents},model:{value:(_vm.calendarConfiguration),callback:function ($$v) {_vm.calendarConfiguration=$$v},expression:\"calendarConfiguration\"}})],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n*/\n\nimport axios from 'axios'\nimport Vue from 'vue'\n\nconst vueInstance = new Vue()\n\nconst axiosInstance = axios.create({\n baseURL: location.origin,\n timeout: 10000,\n params: {},\n})\n\naxiosInstance.interceptors.response.use(\n (response) => response,\n (error) => {\n if (error.response.status === 401) {\n delete localStorage.cosmosToken\n CosmosAuth.login(location.href)\n } else {\n let body = `HTTP ${error.response.status} - `\n if (error.response?.statusText) {\n body += `${error.response.statusText} `\n }\n if (error.response?.config?.data) {\n body += `${error.response.config.data} `\n }\n if (error.response?.data?.message) {\n body += `${error.response.data.message}`\n } else if (error.response?.data?.exception) {\n body += `${error.response.data.exception}`\n } else if (error.response?.data?.error?.message) {\n if (error.response.data.error.class) {\n body += `${error.response.data.error.class} `\n }\n body += `${error.response.data.error.message}`\n } else {\n body += `${error.response?.data}`\n }\n vueInstance.$notify.serious({\n title: 'Network error',\n body,\n })\n }\n throw error\n }\n)\n\nexport default axiosInstance\n","/*\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n*/\n\nimport axios from './axios.js'\n\nconst request = async function (\n method,\n url,\n { data, params = {}, headers, noAuth = false, noScope = false } = {}\n) {\n if (!noAuth) {\n try {\n await CosmosAuth.updateToken(CosmosAuth.defaultMinValidity)\n } catch (error) {\n CosmosAuth.login()\n }\n headers['Authorization'] = localStorage.cosmosToken\n }\n if (!noScope && !params['scope']) {\n params['scope'] = localStorage.scope\n }\n return axios({\n method,\n url,\n data,\n params,\n headers,\n })\n}\n\nconst acceptOnlyDefaultHeaders = {\n Accept: 'application/json',\n}\n\nconst fullDefaultHeaders = {\n ...acceptOnlyDefaultHeaders,\n 'Content-Type': 'application/json',\n}\n\nexport default {\n get: function (\n path,\n { params, headers = acceptOnlyDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('get', path, { params, headers, noScope, noAuth })\n },\n\n put: function (\n path,\n { data, params, headers = fullDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('put', path, { data, params, headers, noScope, noAuth })\n },\n\n post: function (\n path,\n { data, params, headers = fullDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('post', path, { data, params, headers, noScope, noAuth })\n },\n\n delete: function (\n path,\n { params, headers = acceptOnlyDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('delete', path, { params, headers, noScope, noAuth })\n },\n}\n","/*\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n*/\n\nimport * as ActionCable from '@rails/actioncable'\n//ActionCable.logger.enabled = true\nActionCable.ConnectionMonitor.staleThreshold = 60\n\nexport default class Cable {\n constructor(url = '/cosmos-api/cable') {\n this._cable = ActionCable.createConsumer(url)\n }\n disconnect() {\n this._cable.disconnect()\n }\n createSubscription(channel, scope, callbacks = {}, additionalOptions = {}) {\n return CosmosAuth.updateToken(CosmosAuth.defaultMinValidity).then(() => {\n return this._cable.subscriptions.create(\n {\n channel,\n scope,\n token: localStorage.cosmosToken,\n ...additionalOptions,\n },\n callbacks\n )\n })\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('mounting-portal',{attrs:{\"mount-to\":\"#cosmos-menu\",\"append\":\"\"}},[_c('div',{staticClass:\"v-toolbar__content\"},[_vm._l((_vm.menus),function(menu,i){return _c('v-menu',{key:i,attrs:{\"offset-y\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({staticClass:\"mx-1\",attrs:{\"outlined\":\"\",\"data-test\":_vm.formatDT((_vm.title + \" \" + (menu.label)))}},'v-btn',attrs,false),on),[_c('span',{domProps:{\"textContent\":_vm._s(menu.label)}}),_c('v-icon',{attrs:{\"right\":\"\"}},[_vm._v(\" mdi-menu-down \")])],1)]}}],null,true)},[_c('v-list',[_c('v-radio-group',{staticClass:\"ma-0 pa-0\",attrs:{\"value\":menu.radioGroup,\"hide-details\":\"\",\"dense\":\"\"}},[_vm._l((menu.items),function(option,j){return [(option.divider)?_c('v-divider',{key:j}):_c('v-list-item',{key:j,attrs:{\"disabled\":option.disabled,\"data-test\":_vm.formatDT((_vm.title + \" \" + (menu.label) + \" \" + (option.label)))},on:{\"click\":option.command}},[(option.radio)?_c('v-list-item-action',[_c('v-radio',{attrs:{\"color\":\"secondary\",\"label\":option.label,\"value\":option.label}})],1):_vm._e(),(option.checkbox)?_c('v-list-item-action',[_c('v-checkbox',{attrs:{\"color\":\"secondary\",\"label\":option.label,\"value\":option.label},model:{value:(_vm.checked),callback:function ($$v) {_vm.checked=$$v},expression:\"checked\"}})],1):_vm._e(),(option.icon)?_c('v-list-item-icon',[_c('v-icon',{attrs:{\"disabled\":option.disabled},domProps:{\"textContent\":_vm._s(option.icon)}})],1):_vm._e(),(!option.radio && !option.checkbox)?_c('v-list-item-title',{style:('cursor: pointer;' + (option.disabled ? 'opacity: 0.2' : '')),domProps:{\"textContent\":_vm._s(option.label)}}):_vm._e()],1)]})],2)],1)],1)}),_c('v-spacer'),_c('v-toolbar-title',{domProps:{\"textContent\":_vm._s(_vm.title)}}),_c('v-spacer')],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <mounting-portal mount-to=\"#cosmos-menu\" append>\n <div class=\"v-toolbar__content\">\n <v-menu offset-y v-for=\"(menu, i) in menus\" :key=\"i\">\n <template v-slot:activator=\"{ on, attrs }\">\n <v-btn\n outlined\n v-bind=\"attrs\"\n v-on=\"on\"\n class=\"mx-1\"\n :data-test=\"formatDT(`${title} ${menu.label}`)\"\n >\n <span v-text=\"menu.label\" />\n <v-icon right> mdi-menu-down </v-icon>\n </v-btn>\n </template>\n <v-list>\n <!-- The radio-group is necessary in case the application wants radio buttons -->\n <v-radio-group\n :value=\"menu.radioGroup\"\n hide-details\n dense\n class=\"ma-0 pa-0\"\n >\n <template v-for=\"(option, j) in menu.items\">\n <v-divider v-if=\"option.divider\" :key=\"j\" />\n <v-list-item\n v-else\n @click=\"option.command\"\n :key=\"j\"\n :disabled=\"option.disabled\"\n :data-test=\"formatDT(`${title} ${menu.label} ${option.label}`)\"\n >\n <v-list-item-action\n v-if=\"option.radio\"\n >\n <v-radio\n color=\"secondary\"\n :label=\"option.label\"\n :value=\"option.label\"\n />\n </v-list-item-action>\n <v-list-item-action\n v-if=\"option.checkbox\"\n >\n <v-checkbox\n v-model=\"checked\"\n color=\"secondary\"\n :label=\"option.label\"\n :value=\"option.label\"\n />\n </v-list-item-action>\n <v-list-item-icon v-if=\"option.icon\">\n <v-icon v-text=\"option.icon\" :disabled=\"option.disabled\" />\n </v-list-item-icon>\n <v-list-item-title\n v-if=\"!option.radio && !option.checkbox\"\n :style=\"\n 'cursor: pointer;' + (option.disabled ? 'opacity: 0.2' : '')\n \"\n v-text=\"option.label\"\n />\n </v-list-item>\n </template>\n </v-radio-group>\n </v-list>\n </v-menu>\n <v-spacer />\n <v-toolbar-title v-text=\"title\" />\n <v-spacer />\n </div>\n </mounting-portal>\n</template>\n\n<script>\nexport default {\n props: {\n menus: {\n type: Array,\n default: function () {\n return []\n },\n },\n title: {\n type: String,\n default: '',\n },\n },\n methods: {\n // Convert the string to a standard data-test format\n formatDT: function(string) {\n return string.replaceAll(' ', '-').toLowerCase()\n },\n }\n}\n</script>\n\n<style scoped>\n.v-list >>> .v-label {\n margin-left: 5px;\n}\n.v-list-item__icon {\n /* For some reason the default margin-right is huge */\n margin-right: 15px !important;\n}\n.v-list-item__title {\n color: white;\n}\n</style>\n","import mod from \"-!../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TopBar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TopBar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TopBar.vue?vue&type=template&id=e3bb7458&scoped=true&\"\nimport script from \"./TopBar.vue?vue&type=script&lang=js&\"\nexport * from \"./TopBar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TopBar.vue?vue&type=style&index=0&id=e3bb7458&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e3bb7458\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-sheet',{staticClass:\"mt-1\",attrs:{\"height\":\"800\"}},[_c('v-calendar',{ref:\"mainCalendar\",attrs:{\"color\":\"primary\",\"events\":_vm.events,\"event-color\":_vm.getEventColor,\"type\":_vm.type},on:{\"click:event\":_vm.showEvent,\"click:more\":_vm.viewDay,\"click:date\":_vm.viewDay},scopedSlots:_vm._u([{key:\"day-body\",fn:function(ref){\nvar date = ref.date;\nvar week = ref.week;\nreturn [_c('div',{staticClass:\"v-current-time\",class:{ first: date === week[0].date },style:({ top: _vm.nowY })})]}}]),model:{value:(_vm.focus),callback:function ($$v) {_vm.focus=$$v},expression:\"focus\"}}),_c('v-menu',{attrs:{\"close-on-content-click\":false,\"activator\":_vm.selectedElement},model:{value:(_vm.selectedOpen),callback:function ($$v) {_vm.selectedOpen=$$v},expression:\"selectedOpen\"}},[_c('event-dialog',{attrs:{\"event\":_vm.selectedEvent,\"utc\":_vm.utc},on:{\"close\":_vm.close},model:{value:(_vm.selectedOpen),callback:function ($$v) {_vm.selectedOpen=$$v},expression:\"selectedOpen\"}})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-card',{attrs:{\"width\":\"400\"}},[(_vm.type === 'activity')?_c('div',[_c('activity-event-form',{attrs:{\"activity-event\":_vm.event,\"utc\":_vm.utc},on:{\"close\":_vm.close}})],1):_vm._e(),(_vm.type === 'note')?_c('div',[_c('note-event-form',{attrs:{\"note-event\":_vm.event,\"utc\":_vm.utc},on:{\"close\":_vm.close}})],1):_vm._e(),(_vm.type === 'metadata')?_c('div',[_c('metadata-event-form',{attrs:{\"metadata-event\":_vm.event,\"utc\":_vm.utc},on:{\"close\":_vm.close}})],1):_vm._e()])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-card-title',[_c('span',{domProps:{\"textContent\":_vm._s(_vm.activityEvent.name)}}),_c('v-spacer'),_c('v-icon',[_vm._v(\" \"+_vm._s(_vm.activityBadgeIcon)+\" \")])],1),_c('v-card-subtitle',[_c('span',[_vm._v(\" \"+_vm._s(_vm._f(\"dateTime\")(_vm.activityEvent.start,_vm.utc))+\" \")]),_c('br'),_c('span',[_vm._v(\" \"+_vm._s(_vm._f(\"dateTime\")(_vm.activityEvent.end,_vm.utc))+\" \")])]),_c('div',{staticClass:\"ma-2\"},[_c('v-card-text',[_c('v-row',[_c('v-col',{staticClass:\"pa-0\"},[_c('v-simple-table',{attrs:{\"dense\":\"\"}},[_c('tbody',[_c('tr',[_c('th',{staticClass:\"text-left\",attrs:{\"width\":\"100\"}},[_vm._v(\"Fulfilled\")]),_c('td',{domProps:{\"textContent\":_vm._s(_vm.activityFulfillment)}})]),_c('tr',[_c('th',{staticClass:\"text-left\",domProps:{\"textContent\":_vm._s(_vm.activityKind)}}),_c('td',{domProps:{\"textContent\":_vm._s(_vm.activityData[_vm.activityKind])}})]),(_vm.showEnv)?_c('tr',[_c('th',{staticClass:\"text-left\"},[_vm._v(\"ENV\")]),_c('td',{domProps:{\"textContent\":_vm._s(_vm.activityEnvironment)}})]):_vm._e()])])],1)],1),_c('v-row',[_c('v-col',[_c('activity-event-timeline',{attrs:{\"activity-events\":_vm.activityEvents,\"utc\":_vm.utc}})],1)],1),_c('v-row',{staticClass:\"pt-1\"},[_c('v-col',{staticClass:\"text-right pa-0\"},[_c('span',{staticClass:\"text-caption\"},[_vm._v(\" Last update: \"+_vm._s(_vm._f(\"dateTime\")(_vm.updated_at,_vm.utc))+\" \")])])],1)],1),_c('v-card-actions',[(!_vm.activityEvent.fulfillment)?_c('div',[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-btn',{attrs:{\"icon\":\"\",\"data-test\":\"update-activity\"},on:{\"click\":_vm.updateDialog}},[_c('v-icon',[_vm._v(\" mdi-pencil \")])],1)],1)]}}],null,false,3672295435)},[_c('span',[_vm._v(\" Update \")])])],1):_vm._e(),_c('v-spacer'),_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-btn',{attrs:{\"icon\":\"\",\"data-test\":\"delete-activity\"},on:{\"click\":_vm.deleteDialog}},[_c('v-icon',[_vm._v(\" mdi-delete \")])],1)],1)]}}])},[_c('span',[_vm._v(\" Delete \")])])],1)],1),_c('activity-update-dialog',{attrs:{\"activity\":_vm.activityEvent.activity},on:{\"close\":_vm.close},model:{value:(_vm.showUpdateDialog),callback:function ($$v) {_vm.showUpdateDialog=$$v},expression:\"showUpdateDialog\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n*/\n\nexport default {\n filters: {\n time: function (val, utc) {\n if (utc) {\n return val.toUTCString().split(' ')[4]\n } else {\n return val.toLocaleString().split(' ')[1] // TODO: support other locales besides en-US\n }\n },\n dateTime: function (val, utc) {\n if (utc) {\n return val.toISOString()\n } else {\n return val.toLocaleString() // TODO: support other locales besides en-US\n }\n },\n },\n methods: {\n generateDateTime(date, utc) {\n if (utc) {\n return date.toISOString()\n } else {\n return date.toLocaleString() // TODO: support other locales besides en-US\n }\n },\n toIsoString(nSeconds) {\n // convert the date object to\n const date = new Date(nSeconds)\n const tzo = -date.getTimezoneOffset()\n const dif = tzo >= 0 ? '+' : '-'\n function pad(num) {\n var norm = Math.floor(Math.abs(num))\n return (norm < 10 ? '0' : '') + norm\n }\n const year = date.getFullYear()\n const month = pad(date.getMonth() + 1)\n const day = pad(date.getDate())\n const hour = pad(date.getHours())\n const minute = pad(date.getMinutes())\n const second = pad(date.getSeconds())\n const mil = pad(date.getMilliseconds())\n const timeZone =\n this.utcOrLocal === 'utc'\n ? '00:00'\n : `${pad(tzo / 60)}:${pad(tzo % 60)}`\n return `${year}-${month}-${day}T${hour}:${minute}:${second}.${mil}${dif}${timeZone}`\n },\n },\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-timeline',{attrs:{\"align-top\":\"\",\"dense\":\"\"}},_vm._l((_vm.events),function(event){return _c('div',{key:event.event + event.time},[_c('v-timeline-item',{attrs:{\"small\":\"\",\"color\":_vm.genColor(event),\"icon\":_vm.genIcon(event)}},[_c('v-row',{staticClass:\"pt-1\"},[_c('v-col',[_c('strong',{domProps:{\"textContent\":_vm._s(event.event)}}),_c('i',[_vm._v(\" \"+_vm._s(_vm._f(\"dateTime\")(event.time,_vm.utc))+\" \")]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(event.message),expression:\"event.message\"}],staticClass:\"text-caption\"},[_vm._v(\" \"+_vm._s(event.message)+\" \")])])],1)],1)],1)}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <v-timeline align-top dense>\n <div v-for=\"event in events\" :key=\"event.event + event.time\">\n <v-timeline-item small :color=\"genColor(event)\" :icon=\"genIcon(event)\">\n <v-row class=\"pt-1\">\n <v-col>\n <strong v-text=\"event.event\" />\n <i>\n {{ event.time | dateTime(utc) }}\n </i>\n <div v-show=\"event.message\" class=\"text-caption\">\n {{ event.message }}\n </div>\n </v-col>\n </v-row>\n </v-timeline-item>\n </div>\n </v-timeline>\n</template>\n\n<script>\nimport TimeFilters from '@/tools/Calendar/Filters/timeFilters.js'\n\nexport default {\n mixins: [TimeFilters],\n props: {\n activityEvents: {\n type: Array,\n required: true,\n },\n utc: {\n type: Boolean,\n required: true,\n },\n },\n data() {\n return {\n showUpdateDialog: false,\n }\n },\n computed: {\n events: function () {\n return this.activityEvents.map((e) => {\n return { event: e.event, time: new Date(e.time * 1000) }\n })\n },\n states: function () {\n return {\n completed: {\n icon: 'mdi-check-circle',\n color: 'success',\n },\n failed: {\n icon: 'mdi-alert',\n color: 'error',\n },\n updated: {\n icon: 'mdi-alert-circle',\n color: 'purple',\n },\n queued: {\n icon: 'mdi-alert-circle',\n color: 'warning',\n },\n created: {\n icon: 'mdi-check-circle',\n color: 'success',\n },\n }\n },\n },\n methods: {\n genColor(event) {\n return this.states[event.event].color\n },\n genIcon(event) {\n return event.commit ? 'mdi-content-save' : this.states[event.event].icon\n },\n },\n}\n</script>\n","import mod from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ActivityEventTimeline.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ActivityEventTimeline.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ActivityEventTimeline.vue?vue&type=template&id=1118cb62&\"\nimport script from \"./ActivityEventTimeline.vue?vue&type=script&lang=js&\"\nexport * from \"./ActivityEventTimeline.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.updateActivity.apply(null, arguments)}}},[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\" Update activity: \"+_vm._s(_vm.activity.name)+\"/\"+_vm._s(_vm.activity.start)+\" \")]),_c('v-spacer'),_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-icon',{attrs:{\"data-test\":\"close-activity-icon\"},on:{\"click\":_vm.cancelActivity}},[_vm._v(\" mdi-close-box \")])],1)]}}])},[_c('span',[_vm._v(\" Close \")])])],1),_c('v-stepper',{attrs:{\"vertical\":\"\",\"non-linear\":\"\"},model:{value:(_vm.dialogStep),callback:function ($$v) {_vm.dialogStep=$$v},expression:\"dialogStep\"}},[_c('v-stepper-step',{attrs:{\"editable\":\"\",\"step\":\"1\"}},[_vm._v(\" Input start time, stop time \")]),_c('v-stepper-content',{attrs:{\"step\":\"1\"}},[_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-text-field',{staticClass:\"mx-1\",attrs:{\"type\":\"date\",\"label\":\"Start Date\",\"rules\":[_vm.rules.required],\"data-test\":\"activity-start-date\"},model:{value:(_vm.startDate),callback:function ($$v) {_vm.startDate=$$v},expression:\"startDate\"}}),_c('v-text-field',{staticClass:\"mx-1\",attrs:{\"type\":\"time\",\"step\":\"1\",\"label\":\"Start Time\",\"rules\":[_vm.rules.required],\"data-test\":\"activity-start-time\"},model:{value:(_vm.startTime),callback:function ($$v) {_vm.startTime=$$v},expression:\"startTime\"}})],1),_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-text-field',{staticClass:\"mx-1\",attrs:{\"type\":\"date\",\"label\":\"End Date\",\"rules\":[_vm.rules.required],\"data-test\":\"activity-stop-date\"},model:{value:(_vm.stopDate),callback:function ($$v) {_vm.stopDate=$$v},expression:\"stopDate\"}}),_c('v-text-field',{staticClass:\"mx-1\",attrs:{\"type\":\"time\",\"step\":\"1\",\"label\":\"End Time\",\"rules\":[_vm.rules.required],\"data-test\":\"activity-stop-time\"},model:{value:(_vm.stopTime),callback:function ($$v) {_vm.stopTime=$$v},expression:\"stopTime\"}})],1),_c('v-row',{staticClass:\"mx-2 mb-2\"},[_c('v-radio-group',{staticClass:\"mt-0\",attrs:{\"row\":\"\",\"hide-details\":\"\"},model:{value:(_vm.utcOrLocal),callback:function ($$v) {_vm.utcOrLocal=$$v},expression:\"utcOrLocal\"}},[_c('v-radio',{attrs:{\"label\":\"LST\",\"value\":\"loc\",\"data-test\":\"lst-radio\"}}),_c('v-radio',{attrs:{\"label\":\"UTC\",\"value\":\"utc\",\"data-test\":\"utc-radio\"}})],1)],1),_c('v-row',[_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.timeError),expression:\"timeError\"}],staticClass:\"ma-2 red--text\",domProps:{\"textContent\":_vm._s(_vm.timeError)}})]),_c('v-row',[_c('v-spacer'),_c('v-btn',{attrs:{\"data-test\":\"update-activity-step-two-btn\",\"color\":\"success\",\"disabled\":!!_vm.timeError},on:{\"click\":function($event){_vm.dialogStep = 2}}},[_vm._v(\" Continue \")])],1)],1)])],1),_c('v-stepper-step',{attrs:{\"editable\":\"\",\"step\":\"2\"}},[_vm._v(\" Activity type Input \")]),_c('v-stepper-content',{attrs:{\"step\":\"2\"}},[_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('v-select',{attrs:{\"items\":_vm.types,\"label\":\"Activity Type\"},model:{value:(_vm.kind),callback:function ($$v) {_vm.kind=$$v},expression:\"kind\"}}),(_vm.kind === 'COMMAND')?_c('div',[_c('v-text-field',{attrs:{\"type\":\"text\",\"label\":\"Command Input\",\"placeholder\":\"INST COLLECT with TYPE 0, DURATION 1, OPCODE 171, TEMP 0\",\"prefix\":\"cmd('\",\"suffix\":\"')\",\"hint\":\"Timeline run commands with cmd_no_hazardous_check\",\"data-test\":\"activity-cmd\"},model:{value:(_vm.activityData),callback:function ($$v) {_vm.activityData=$$v},expression:\"activityData\"}})],1):(_vm.kind === 'SCRIPT')?_c('div',[_c('script-chooser',{staticClass:\"my-1\",on:{\"file\":_vm.fileHandler},model:{value:(_vm.activityData),callback:function ($$v) {_vm.activityData=$$v},expression:\"activityData\"}}),_c('environment-chooser',{staticClass:\"my-2\",on:{\"selected\":_vm.selectedHandler},model:{value:(_vm.activityEnvironment),callback:function ($$v) {_vm.activityEnvironment=$$v},expression:\"activityEnvironment\"}})],1):_c('div',[_c('span',{staticClass:\"ma-2\"},[_vm._v(\" No required input \")])]),_c('v-row',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.typeError),expression:\"typeError\"}]},[_c('span',{staticClass:\"ma-2 red--text\",domProps:{\"textContent\":_vm._s(_vm.typeError)}})]),_c('v-row',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\",\"data-test\":\"update-activity-cancel-btn\"},on:{\"click\":_vm.cancelActivity}},[_vm._v(\" Cancel \")]),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"type\":\"submit\",\"data-test\":\"update-activity-submit-btn\",\"disabled\":!!_vm.timeError || !!_vm.typeError},on:{\"click\":function($event){$event.preventDefault();return _vm.updateActivity.apply(null, arguments)}}},[_vm._v(\" Update \")])],1)],1)])],1)],1)],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('span',[_vm._v(\" Select from Cosmos environment variables \")])]),_c('v-row',{staticClass:\"ma-0\"},[_c('v-select',{attrs:{\"persistent-hint\":\"\",\"return-object\":\"\",\"label\":\"Select Environment Options\",\"hint\":\"Inject Environment Variables\",\"items\":_vm.environmentItems},on:{\"change\":_vm.addEnvironmentItem},scopedSlots:_vm._u([{key:\"selection\",fn:function(){return [_c('div',[_c('span',[_vm._v(\" Select Environment Options \")])])]},proxy:true},{key:\"item\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('div',[_c('span',{domProps:{\"textContent\":_vm._s(((item.key) + \"=\" + (item.value)))}})])]}}]),model:{value:(_vm.deadSelect),callback:function ($$v) {_vm.deadSelect=$$v},expression:\"deadSelect\"}})],1),_c('div',{staticClass:\"mt-2\"}),_c('v-simple-table',{attrs:{\"dense\":\"\"}},[_c('tbody',[_c('tr',[_c('th',{staticClass:\"text-left\"},[_vm._v(\"Key\")]),_c('th',{staticClass:\"text-left\"},[_vm._v(\"Value\")]),_c('th',{staticClass:\"text-right\"},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-icon',{attrs:{\"data-test\":\"new-metadata-icon\"},on:{\"click\":_vm.newEnvironment}},[_vm._v(\" mdi-plus \")])],1)]}}])},[_c('span',[_vm._v(\" Add Environment \")])])],1)]),_vm._l((_vm.selected),function(env,i){return [_c('tr',{key:(\"tr-\" + i)},[_c('td',[_c('v-text-field',{attrs:{\"dense\":\"\",\"type\":\"text\",\"readonly\":env.readonly,\"data-test\":(\"key-\" + i)},model:{value:(env.key),callback:function ($$v) {_vm.$set(env, \"key\", $$v)},expression:\"env.key\"}})],1),_c('td',[_c('v-text-field',{attrs:{\"dense\":\"\",\"type\":\"text\",\"readonly\":env.readonly,\"data-test\":(\"value-\" + i)},model:{value:(env.value),callback:function ($$v) {_vm.$set(env, \"value\", $$v)},expression:\"env.value\"}})],1),_c('td',[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-icon',{attrs:{\"data-test\":(\"remove-env-icon-\" + i)},on:{\"click\":function($event){return _vm.rm(i)}}},[_vm._v(\" mdi-delete \")])],1)]}}],null,true)},[_c('span',[_vm._v(\" Delete Environment \")])])],1)])]})],2)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <div>\n <v-row no-gutters>\n <span> Select from Cosmos environment variables </span>\n </v-row>\n <v-row class=\"ma-0\">\n <v-select\n v-model=\"deadSelect\"\n @change=\"addEnvironmentItem\"\n persistent-hint\n return-object\n label=\"Select Environment Options\"\n hint=\"Inject Environment Variables\"\n :items=\"environmentItems\"\n >\n <template v-slot:selection=\"\">\n <div>\n <span> Select Environment Options </span>\n </div>\n </template>\n <template v-slot:item=\"{ item }\">\n <div>\n <span v-text=\"`${item.key}=${item.value}`\" />\n </div>\n </template>\n </v-select>\n </v-row>\n <div class=\"mt-2\" />\n <v-simple-table dense>\n <tbody>\n <tr>\n <th class=\"text-left\">Key</th>\n <th class=\"text-left\">Value</th>\n <th class=\"text-right\">\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-icon data-test=\"new-metadata-icon\" @click=\"newEnvironment\">\n mdi-plus\n </v-icon>\n </div>\n </template>\n <span> Add Environment </span>\n </v-tooltip>\n </th>\n </tr>\n <template v-for=\"(env, i) in selected\">\n <tr :key=\"`tr-${i}`\">\n <td>\n <v-text-field\n v-model=\"env.key\"\n dense\n type=\"text\"\n :readonly=\"env.readonly\"\n :data-test=\"`key-${i}`\"\n />\n </td>\n <td>\n <v-text-field\n v-model=\"env.value\"\n dense\n type=\"text\"\n :readonly=\"env.readonly\"\n :data-test=\"`value-${i}`\"\n />\n </td>\n <td>\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-icon :data-test=\"`remove-env-icon-${i}`\" @click=\"rm(i)\">\n mdi-delete\n </v-icon>\n </div>\n </template>\n <span> Delete Environment </span>\n </v-tooltip>\n </td>\n </tr>\n </template>\n </tbody>\n </v-simple-table>\n </div>\n</template>\n\n<script>\nimport Api from '../services/api'\n\nexport default {\n props: {\n value: {\n type: Array,\n required: true,\n },\n },\n data() {\n return {\n deadSelect: null,\n environmentOptions: [],\n }\n },\n mounted() {\n this.getEnvironment()\n },\n computed: {\n selected: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n environmentItems: function () {\n return this.environmentOptions.filter(\n (env) => !this.selected.find((s) => s.key === env.key)\n )\n },\n },\n methods: {\n getEnvironment: function () {\n Api.get('/cosmos-api/environment').then((response) => {\n this.environmentOptions = response.data\n })\n },\n addEnvironmentItem: function (event) {\n this.selected.push({\n key: event.key,\n value: event.value,\n readonly: true,\n })\n const envIndex = this.environmentOptions.findIndex(\n (env) => env.key === event.key && env.value === event.value\n )\n this.environmentOptions.splice(envIndex, envIndex >= 0 ? 1 : 0)\n this.deadSelect = null\n },\n newEnvironment: function () {\n this.selected.push({\n key: '',\n value: '',\n readonly: false,\n })\n },\n rm: function (index) {\n const env = this.selected.splice(index, 1)[0]\n if (env && env.readonly) {\n this.environmentOptions.push(env)\n }\n },\n },\n}\n</script>\n","import mod from \"-!../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EnvironmentChooser.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EnvironmentChooser.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./EnvironmentChooser.vue?vue&type=template&id=48ad9972&\"\nimport script from \"./EnvironmentChooser.vue?vue&type=script&lang=js&\"\nexport * from \"./EnvironmentChooser.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('span',[_vm._v(\" Select Cosmos script \")])]),_c('v-row',{staticClass:\"my-2\"},[_c('v-autocomplete',{staticClass:\"mx-4\",attrs:{\"cache-items\":\"\",\"flat\":\"\",\"hide-no-data\":\"\",\"hide-details\":\"\",\"solo-inverted\":\"\",\"label\":\"Select a script\",\"loading\":_vm.loading,\"items\":_vm.items,\"search-input\":_vm.search},on:{\"update:searchInput\":function($event){_vm.search=$event},\"update:search-input\":function($event){_vm.search=$event}},model:{value:(_vm.selected),callback:function ($$v) {_vm.selected=$$v},expression:\"selected\"}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <div>\n <v-row no-gutters>\n <span> Select Cosmos script </span>\n </v-row>\n <v-row class=\"my-2\">\n <v-autocomplete\n v-model=\"selected\"\n cache-items\n flat\n hide-no-data\n hide-details\n solo-inverted\n class=\"mx-4\"\n label=\"Select a script\"\n :loading=\"loading\"\n :items=\"items\"\n :search-input.sync=\"search\"\n />\n </v-row>\n </div>\n</template>\n\n<script>\nimport Api from '../services/api'\n\nexport default {\n props: {\n value: String, // value is the default prop when using v-model\n },\n data() {\n return {\n loading: false,\n search: '',\n selected: this.value,\n scripts: [],\n items: [],\n }\n },\n created() {\n this.loading = true\n Api.get('/script-api/scripts')\n .then((response) => {\n this.scripts = response.data\n this.items = response.data\n })\n .catch((error) => {\n this.$emit('error', {\n type: 'error',\n text: `Failed to connect to Cosmos. ${error}`,\n error: error,\n })\n })\n this.selected = this.value ? this.value : null\n this.loading = false\n },\n watch: {\n selected(newVal, oldVal) {\n if (newVal !== oldVal) {\n this.$emit('file', newVal)\n }\n },\n search(val) {\n val && val !== this.selected && this.querySelections(val)\n },\n },\n methods: {\n querySelections: function (v) {\n this.loading = true\n // Simulated ajax query\n setTimeout(() => {\n this.items = this.scripts.filter((e) => {\n return (e || '').toLowerCase().indexOf((v || '').toLowerCase()) > -1\n })\n this.loading = false\n }, 500)\n },\n },\n}\n</script>\n","import mod from \"-!../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ScriptChooser.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ScriptChooser.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ScriptChooser.vue?vue&type=template&id=637ddf18&\"\nimport script from \"./ScriptChooser.vue?vue&type=script&lang=js&\"\nexport * from \"./ScriptChooser.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\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 addstopums 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 program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <v-dialog v-model=\"show\" width=\"600\">\n <v-card>\n <form v-on:submit.prevent=\"updateActivity\">\n <v-system-bar>\n <v-spacer />\n <span>\n Update activity: {{ activity.name }}/{{ activity.start }}\n </span>\n <v-spacer />\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-icon data-test=\"close-activity-icon\" @click=\"cancelActivity\">\n mdi-close-box\n </v-icon>\n </div>\n </template>\n <span> Close </span>\n </v-tooltip>\n </v-system-bar>\n <v-stepper v-model=\"dialogStep\" vertical non-linear>\n <v-stepper-step editable step=\"1\">\n Input start time, stop time\n </v-stepper-step>\n <v-stepper-content step=\"1\">\n <v-card-text>\n <div class=\"pa-3\">\n <v-row dense>\n <v-text-field\n v-model=\"startDate\"\n type=\"date\"\n label=\"Start Date\"\n class=\"mx-1\"\n :rules=\"[rules.required]\"\n data-test=\"activity-start-date\"\n />\n <v-text-field\n v-model=\"startTime\"\n type=\"time\"\n step=\"1\"\n label=\"Start Time\"\n class=\"mx-1\"\n :rules=\"[rules.required]\"\n data-test=\"activity-start-time\"\n />\n </v-row>\n <v-row dense>\n <v-text-field\n v-model=\"stopDate\"\n type=\"date\"\n label=\"End Date\"\n class=\"mx-1\"\n :rules=\"[rules.required]\"\n data-test=\"activity-stop-date\"\n />\n <v-text-field\n v-model=\"stopTime\"\n type=\"time\"\n step=\"1\"\n label=\"End Time\"\n class=\"mx-1\"\n :rules=\"[rules.required]\"\n data-test=\"activity-stop-time\"\n />\n </v-row>\n <v-row class=\"mx-2 mb-2\">\n <v-radio-group\n v-model=\"utcOrLocal\"\n row\n hide-details\n class=\"mt-0\"\n >\n <v-radio label=\"LST\" value=\"loc\" data-test=\"lst-radio\" />\n <v-radio label=\"UTC\" value=\"utc\" data-test=\"utc-radio\" />\n </v-radio-group>\n </v-row>\n <v-row>\n <span\n class=\"ma-2 red--text\"\n v-show=\"timeError\"\n v-text=\"timeError\"\n />\n </v-row>\n <v-row>\n <v-spacer />\n <v-btn\n @click=\"dialogStep = 2\"\n data-test=\"update-activity-step-two-btn\"\n color=\"success\"\n :disabled=\"!!timeError\"\n >\n Continue\n </v-btn>\n </v-row>\n </div>\n </v-card-text>\n </v-stepper-content>\n\n <v-stepper-step editable step=\"2\">\n Activity type Input\n </v-stepper-step>\n <v-stepper-content step=\"2\">\n <v-card-text>\n <div class=\"pa-3\">\n <v-select v-model=\"kind\" :items=\"types\" label=\"Activity Type\" />\n <div v-if=\"kind === 'COMMAND'\">\n <v-text-field\n v-model=\"activityData\"\n type=\"text\"\n label=\"Command Input\"\n placeholder=\"INST COLLECT with TYPE 0, DURATION 1, OPCODE 171, TEMP 0\"\n prefix=\"cmd('\"\n suffix=\"')\"\n hint=\"Timeline run commands with cmd_no_hazardous_check\"\n data-test=\"activity-cmd\"\n />\n </div>\n <div v-else-if=\"kind === 'SCRIPT'\">\n <script-chooser\n class=\"my-1\"\n v-model=\"activityData\"\n @file=\"fileHandler\"\n />\n <environment-chooser\n class=\"my-2\"\n v-model=\"activityEnvironment\"\n @selected=\"selectedHandler\"\n />\n </div>\n <div v-else>\n <span class=\"ma-2\"> No required input </span>\n </div>\n <v-row v-show=\"typeError\">\n <span class=\"ma-2 red--text\" v-text=\"typeError\" />\n </v-row>\n <v-row>\n <v-spacer />\n <v-btn\n @click=\"cancelActivity\"\n outlined\n class=\"mx-2\"\n data-test=\"update-activity-cancel-btn\"\n >\n Cancel\n </v-btn>\n <v-btn\n @click.prevent=\"updateActivity\"\n class=\"mx-2\"\n color=\"primary\"\n type=\"submit\"\n data-test=\"update-activity-submit-btn\"\n :disabled=\"!!timeError || !!typeError\"\n >\n Update\n </v-btn>\n </v-row>\n </div>\n </v-card-text>\n </v-stepper-content>\n </v-stepper>\n </form>\n </v-card>\n </v-dialog>\n</template>\n\n<script>\nimport { isValid, parse, format, getTime } from 'date-fns'\nimport Api from '@cosmosc2/tool-common/src/services/api'\nimport EnvironmentChooser from '@cosmosc2/tool-common/src/components/EnvironmentChooser'\nimport ScriptChooser from '@cosmosc2/tool-common/src/components/ScriptChooser'\nimport TimeFilters from '@/tools/Calendar/Filters/timeFilters.js'\n\nexport default {\n components: {\n EnvironmentChooser,\n ScriptChooser,\n },\n props: {\n activity: {\n type: Object,\n required: true,\n },\n value: Boolean, // value is the default prop when using v-model\n },\n mixins: [TimeFilters],\n data() {\n return {\n dialogStep: 1,\n startDate: '',\n startTime: '',\n stopDate: '',\n stopTime: '',\n utcOrLocal: 'loc',\n kind: '',\n types: ['COMMAND', 'SCRIPT', 'RESERVE'],\n activityData: '',\n activityEnvironment: [],\n rules: {\n required: (value) => !!value || 'Required',\n },\n }\n },\n watch: {\n show: function () {\n this.updateValues()\n },\n },\n computed: {\n timeError: function () {\n const now = new Date()\n const start = Date.parse(`${this.startDate}T${this.startTime}`)\n const stop = Date.parse(`${this.stopDate}T${this.stopTime}`)\n if (start === stop) {\n return 'Invalid start, stop time. Activity must have different start and stop times.'\n }\n if (now > start) {\n return 'Invalid start time. Activity must be in the future.'\n }\n if (start > stop) {\n return 'Invalid start time. Activity start before stop.'\n }\n return null\n },\n typeError: function () {\n if (this.kind !== 'RESERVE' && !this.activityData) {\n return 'No data is selected or inputted'\n }\n return null\n },\n show: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n },\n methods: {\n changeKind: function (inputKind) {\n if (inputKind === this.kind) {\n return\n }\n this.kind = inputKind\n this.activityData = ''\n },\n updateValues: function () {\n const sDate = new Date(this.activity.start * 1000)\n const eDate = new Date(this.activity.stop * 1000)\n this.startDate = format(sDate, 'yyyy-MM-dd')\n this.startTime = format(sDate, 'HH:mm:ss')\n this.stopDate = format(eDate, 'yyyy-MM-dd')\n this.stopTime = format(eDate, 'HH:mm:ss')\n this.kind = this.activity.kind.toUpperCase()\n this.activityData = this.activity.data[this.activity.kind]\n this.activityEnvironment = this.activity.data.environment\n },\n fileHandler: function (event) {\n this.activityData = event ? event : null\n },\n selectedHandler: function (event) {\n this.activityEnvironment = event ? event : null\n },\n cancelActivity: function () {\n this.show = !this.show\n },\n updateActivity: function () {\n // Call the api to update the activity\n const start = this.toIsoString(\n Date.parse(`${this.startDate}T${this.startTime}`)\n )\n const stop = this.toIsoString(\n Date.parse(`${this.stopDate}T${this.stopTime}`)\n )\n const kind = this.kind.toLowerCase()\n let data = { environment: this.activityEnvironment }\n data[kind] = this.activityData\n const tName = this.activity.name\n const aStart = this.activity.start\n Api.put(`/cosmos-api/timeline/${tName}/activity/${aStart}`, {\n data: { start, stop, kind, data },\n }).then((response) => {\n const activityTime = this.generateDateTime(\n new Date(response.data.start * 1000)\n )\n this.$notify.normal({\n title: 'Updated Activity',\n body: `${activityTime} (${response.data.start}) on timeline: ${response.data.name}`,\n })\n })\n this.$emit('close')\n this.show = !this.show\n },\n },\n}\n</script>\n\n<style scoped>\n.v-stepper--vertical .v-stepper__content {\n width: auto;\n margin: 0px 0px 0px 36px;\n padding: 0px;\n}\n</style>\n","import mod from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ActivityUpdateDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ActivityUpdateDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ActivityUpdateDialog.vue?vue&type=template&id=6c8065d7&scoped=true&\"\nimport script from \"./ActivityUpdateDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./ActivityUpdateDialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ActivityUpdateDialog.vue?vue&type=style&index=0&id=6c8065d7&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6c8065d7\",\n null\n \n)\n\nexport default component.exports","<!--\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <div>\n <v-card-title>\n <span v-text=\"activityEvent.name\" />\n <v-spacer />\n <v-icon>\n {{ activityBadgeIcon }}\n </v-icon>\n </v-card-title>\n <v-card-subtitle>\n <span>\n {{ activityEvent.start | dateTime(utc) }}\n </span>\n <br />\n <span>\n {{ activityEvent.end | dateTime(utc) }}\n </span>\n </v-card-subtitle>\n <div class=\"ma-2\">\n <v-card-text>\n <v-row>\n <v-col class=\"pa-0\">\n <v-simple-table dense>\n <tbody>\n <tr>\n <th class=\"text-left\" width=\"100\">Fulfilled</th>\n <td v-text=\"activityFulfillment\" />\n </tr>\n <tr>\n <th class=\"text-left\" v-text=\"activityKind\" />\n <td v-text=\"activityData[activityKind]\" />\n </tr>\n <tr v-if=\"showEnv\">\n <th class=\"text-left\">ENV</th>\n <td v-text=\"activityEnvironment\" />\n </tr>\n </tbody>\n </v-simple-table>\n </v-col>\n </v-row>\n <v-row>\n <v-col>\n <activity-event-timeline\n :activity-events=\"activityEvents\"\n :utc=\"utc\"\n />\n </v-col>\n </v-row>\n <v-row class=\"pt-1\">\n <v-col class=\"text-right pa-0\">\n <span class=\"text-caption\">\n Last update: {{ updated_at | dateTime(utc) }}\n </span>\n </v-col>\n </v-row>\n </v-card-text>\n <v-card-actions>\n <div v-if=\"!activityEvent.fulfillment\">\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-btn icon data-test=\"update-activity\" @click=\"updateDialog\">\n <v-icon> mdi-pencil </v-icon>\n </v-btn>\n </div>\n </template>\n <span> Update </span>\n </v-tooltip>\n </div>\n <v-spacer />\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-btn icon data-test=\"delete-activity\" @click=\"deleteDialog\">\n <v-icon> mdi-delete </v-icon>\n </v-btn>\n </div>\n </template>\n <span> Delete </span>\n </v-tooltip>\n </v-card-actions>\n </div>\n <!--- Menus --->\n <activity-update-dialog\n v-model=\"showUpdateDialog\"\n :activity=\"activityEvent.activity\"\n @close=\"close\"\n />\n </div>\n</template>\n\n<script>\nimport Api from '@cosmosc2/tool-common/src/services/api'\nimport TimeFilters from '@/tools/Calendar/Filters/timeFilters.js'\nimport ActivityEventTimeline from '@/tools/Calendar/Forms/ActivityEventTimeline'\nimport ActivityUpdateDialog from '@/tools/Calendar/Dialogs/ActivityUpdateDialog'\n\nexport default {\n components: {\n ActivityEventTimeline,\n ActivityUpdateDialog,\n },\n mixins: [TimeFilters],\n props: {\n activityEvent: {\n type: Object,\n required: true,\n },\n utc: {\n type: Boolean,\n required: true,\n },\n },\n data() {\n return {\n showUpdateDialog: false,\n }\n },\n computed: {\n activityBadgeColor: function () {\n return this.activityEvent.activity.fulfillment ? '#4caf50' : '#ff5252'\n },\n activityBadgeIcon: function () {\n return this.activityEvent.activity.fulfillment\n ? 'mdi-check-circle'\n : 'mdi-close-circle'\n },\n activityFulfillment: function () {\n return this.activityEvent.activity.fulfillment\n },\n activityData: function () {\n return this.activityEvent.activity.data\n },\n activityKind: function () {\n return this.activityEvent.activity.kind\n },\n activityEnvironment: function () {\n return this.activityEvent.activity.data.environment\n },\n activityEvents: function () {\n return this.activityEvent.activity.events\n },\n showEnv: function () {\n return (\n this.activityEvent.activity.data.environment &&\n this.activityEvent.activity.data.environment.length > 0\n )\n },\n updated_at: function () {\n const v = parseInt(this.activityEvent.activity.updated_at / 1000000)\n return new Date(v)\n },\n },\n methods: {\n close: function () {\n this.$emit('close')\n },\n updateDialog: function () {\n this.showUpdateDialog = !this.showUpdateDialog\n },\n deleteDialog: function () {\n const activityTime = this.generateDateTime(this.activityEvent.start)\n const activityStart = this.activityEvent.activity.start\n const timelineName = this.activityEvent.activity.name\n this.$dialog\n .confirm(\n `Are you sure you want to remove activity: ${activityTime} (${activityStart}) from timeline: ${timelineName}`,\n {\n okText: 'Delete',\n cancelText: 'Cancel',\n }\n )\n .then((dialog) => {\n return Api.delete(\n `/cosmos-api/timeline/${timelineName}/activity/${activityStart}`\n )\n })\n .then((response) => {\n this.$notify.normal({\n title: 'Deleted Activity from Timeline',\n body: `Deleted activity: ${activityTime} (${activityStart}) from timeline: ${timelineName}`,\n })\n this.$emit('close')\n })\n .catch((error) => {\n if (error) {\n this.$notify.error({\n title: 'Failed to Deleted Activity from Timeline',\n body: `Failed to delete activity ${activityStart} from timeline: ${timelineName}. Error: ${error}`,\n })\n }\n })\n },\n },\n}\n</script>\n\n<style scoped>\n.theme--dark .v-card__title,\n.theme--dark .v-card__subtitle {\n background-color: var(--v-secondary-darken3);\n}\n</style>\n","import mod from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ActivityEventForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ActivityEventForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ActivityEventForm.vue?vue&type=template&id=e57e7e4c&scoped=true&\"\nimport script from \"./ActivityEventForm.vue?vue&type=script&lang=js&\"\nexport * from \"./ActivityEventForm.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ActivityEventForm.vue?vue&type=style&index=0&id=e57e7e4c&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e57e7e4c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-card-title',{domProps:{\"textContent\":_vm._s(_vm.title)}}),_c('v-card-subtitle',[_c('span',[_vm._v(\" \"+_vm._s(_vm._f(\"dateTime\")(_vm.metadataEvent.start,_vm.utc))+\" \")])]),_c('div',{staticClass:\"ma-2\"},[_c('v-card-text',[_c('v-row',[_c('v-col',{staticClass:\"pa-0\"},[_c('v-simple-table',{attrs:{\"dense\":\"\"}},[_c('tbody',[_c('tr',[_c('th',{staticClass:\"text-left\"},[_vm._v(\"Key\")]),_c('th',{staticClass:\"text-left\"},[_vm._v(\"Value\")])]),_vm._l((_vm.metadataValues),function(value,i){return [_c('tr',{key:(\"tr-\" + i)},[_c('td',{staticClass:\"text-left\"},[_c('span',{domProps:{\"textContent\":_vm._s(value.key)}})]),_c('td',{staticClass:\"text-left\"},[_c('span',{domProps:{\"textContent\":_vm._s(value.value)}})])])]})],2)])],1)],1),_c('v-row',{staticClass:\"pt-1\"},[_c('v-col',{staticClass:\"text-right pa-0\"},[_c('span',{staticClass:\"text-caption\"},[_vm._v(\" Last update: \"+_vm._s(_vm._f(\"dateTime\")(_vm.updated_at,_vm.utc))+\" \")])])],1)],1),_c('v-card-actions',{staticClass:\"pa-1\"},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-btn',{attrs:{\"icon\":\"\",\"data-test\":\"update-metadata\"},on:{\"click\":_vm.updateDialog}},[_c('v-icon',[_vm._v(\"mdi-pencil\")])],1)],1)]}}])},[_c('span',[_vm._v(\" Update \")])]),_c('v-spacer'),_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-btn',{attrs:{\"icon\":\"\",\"data-test\":\"delete-metadata\"},on:{\"click\":_vm.deleteDialog}},[_c('v-icon',[_vm._v(\" mdi-delete \")])],1)],1)]}}])},[_c('span',[_vm._v(\" Delete \")])])],1)],1),_c('metadata-update-dialog',{attrs:{\"metadata-obj\":_vm.metadataEvent.metadata},on:{\"close\":_vm.close},model:{value:(_vm.showUpdateDialog),callback:function ($$v) {_vm.showUpdateDialog=$$v},expression:\"showUpdateDialog\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-dialog',{attrs:{\"persistent\":\"\",\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.updateMetadata.apply(null, arguments)}}},[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\"Update Metadata\")]),_c('v-spacer'),_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-icon',{attrs:{\"data-test\":\"close-metadata-icon\"},on:{\"click\":function($event){_vm.show = !_vm.show}}},[_vm._v(\" mdi-close-box \")])],1)]}}])},[_c('span',[_vm._v(\" Close \")])])],1),_c('v-stepper',{attrs:{\"vertical\":\"\",\"non-linear\":\"\"},model:{value:(_vm.dialogStep),callback:function ($$v) {_vm.dialogStep=$$v},expression:\"dialogStep\"}},[_c('v-stepper-step',{attrs:{\"editable\":\"\",\"step\":\"1\"}},[_vm._v(\" Input start time \")]),_c('v-stepper-content',{attrs:{\"step\":\"1\"}},[_c('v-card-text',[_c('div',{staticClass:\"pa-2\"},[_c('v-select',{attrs:{\"items\":_vm.targets,\"label\":\"Target\"},model:{value:(_vm.target),callback:function ($$v) {_vm.target=$$v},expression:\"target\"}}),_c('color-select-form',{model:{value:(_vm.color),callback:function ($$v) {_vm.color=$$v},expression:\"color\"}}),_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-text-field',{staticClass:\"mx-1\",attrs:{\"type\":\"date\",\"label\":\"Start Date\",\"rules\":[_vm.rules.required],\"data-test\":\"start-date\"},model:{value:(_vm.startDate),callback:function ($$v) {_vm.startDate=$$v},expression:\"startDate\"}}),_c('v-text-field',{staticClass:\"mx-1\",attrs:{\"type\":\"time\",\"step\":\"1\",\"label\":\"Start Time\",\"rules\":[_vm.rules.required],\"data-test\":\"start-time\"},model:{value:(_vm.startTime),callback:function ($$v) {_vm.startTime=$$v},expression:\"startTime\"}})],1),_c('v-row',{staticClass:\"mx-2 mb-2\"},[_c('v-radio-group',{staticClass:\"mt-0\",attrs:{\"row\":\"\",\"hide-details\":\"\"},model:{value:(_vm.utcOrLocal),callback:function ($$v) {_vm.utcOrLocal=$$v},expression:\"utcOrLocal\"}},[_c('v-radio',{attrs:{\"label\":\"LST\",\"value\":\"loc\",\"data-test\":\"lst-radio\"}}),_c('v-radio',{attrs:{\"label\":\"UTC\",\"value\":\"utc\",\"data-test\":\"utc-radio\"}})],1)],1),_c('v-row',[_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.timeError),expression:\"timeError\"}],staticClass:\"ma-2 red--text\",domProps:{\"textContent\":_vm._s(_vm.timeError)}})]),_c('v-row',{staticClass:\"mt-2\"},[_c('v-spacer'),_c('v-btn',{attrs:{\"data-test\":\"create-metadata-step-two-btn\",\"color\":\"success\",\"disabled\":!!_vm.timeError},on:{\"click\":function($event){_vm.dialogStep = 2}}},[_vm._v(\" Continue \")])],1)],1)])],1),_c('v-stepper-step',{attrs:{\"editable\":\"\",\"step\":\"2\"}},[_vm._v(\" Metadata input \")]),_c('v-stepper-content',{attrs:{\"step\":\"2\"}},[_c('v-card-text',[_c('div',{staticClass:\"pa-2\"},[_c('div',{staticStyle:{\"min-height\":\"200px\"}},[_c('metadata-input-form',{model:{value:(_vm.metadata),callback:function ($$v) {_vm.metadata=$$v},expression:\"metadata\"}})],1),_c('v-row',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.typeError),expression:\"typeError\"}]},[_c('span',{staticClass:\"ma-2 red--text\",domProps:{\"textContent\":_vm._s(_vm.typeError)}})]),_c('v-row',{staticClass:\"mt-2\"},[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\",\"data-test\":\"update-metadata-cancel-btn\"},on:{\"click\":function($event){_vm.show = !_vm.show}}},[_vm._v(\" Cancel \")]),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"type\":\"submit\",\"data-test\":\"update-metadata-submit-btn\",\"disabled\":!!_vm.timeError || !!_vm.typeError},on:{\"click\":function($event){$event.preventDefault();return _vm.updateMetadata.apply(null, arguments)}}},[_vm._v(\" Ok \")])],1)],1)])],1)],1)],1)])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n*/\n\nimport axios from './axios.js'\n\nexport class CosmosApi {\n id = 1\n\n constructor() {}\n\n // This is hacky Json-rpc for now. Should probably use a jsonrpc library.\n async exec(method, params, kwparams = {}) {\n try {\n await CosmosAuth.updateToken(CosmosAuth.defaultMinValidity)\n } catch (error) {\n CosmosAuth.login()\n }\n this.id = this.id + 1\n try {\n kwparams['scope'] = localStorage.scope\n const response = await axios.post(\n '/cosmos-api/api',\n {\n jsonrpc: '2.0',\n method: method,\n params: params,\n id: this.id,\n keyword_params: kwparams,\n },\n {\n headers: {\n Authorization: localStorage.cosmosToken,\n 'Content-Type': 'application/json-rpc',\n },\n }\n )\n // var data = response.data\n // if (data.error) {\n // var err = new Error()\n // err.name = data.error.data.class\n // err.message = data.error.data.message\n // console.log(data.error.data.backtrace.join('\\n'))\n // throw err\n // }\n return response.data.result\n } catch (error) {\n var err = new Error()\n if (error.response) {\n // The request was made and the server responded with a\n // status code that falls out of the range of 2xx\n err.name = error.response.data.error.data.class\n err.message = error.response.data.error.data.message\n } else if (error.request) {\n // The request was made but no response was received, `error.request`\n // is an instance of XMLHttpRequest in the browser and an instance\n // of http.ClientRequest in Node.js\n err.name = 'Request error'\n err.message = 'Request error, no response received'\n } else {\n // Something happened in setting up the request and triggered an Error\n err.name = 'Unknown error'\n }\n //console.log(error)\n throw err\n }\n }\n\n decode_cosmos_type(val) {\n if (val !== null && typeof val === 'object') {\n if (val.json_class == 'Float' && val.raw) {\n if (val.raw == 'NaN') {\n return NaN\n } else if (val.raw == 'Infinity') {\n return Infinity\n } else if (val.raw == '-Infinity') {\n return -Infinity\n }\n }\n }\n return null\n }\n\n encode_cosmos_type(val) {\n if (Number.isNaN(val)) {\n return { json_class: 'Float', raw: 'NaN' }\n } else if (val == Number.POSITIVE_INFINITY) {\n return { json_class: 'Float', raw: 'Infinity' }\n } else if (val == Number.NEGATIVE_INFINITY) {\n return { json_class: 'Float', raw: '-Infinity' }\n }\n return null\n }\n\n // ***********************************************\n // The following APIs are used by the CmdTlmServer\n // ***********************************************\n get_all_interface_info() {\n return this.exec('get_all_interface_info', [])\n }\n\n connect_interface(interface_name) {\n return this.exec('connect_interface', [interface_name])\n }\n\n disconnect_interface(interface_name) {\n return this.exec('disconnect_interface', [interface_name])\n }\n\n get_all_router_info() {\n return this.exec('get_all_router_info', [])\n }\n\n connect_router(router_name) {\n return this.exec('connect_router', [router_name])\n }\n\n disconnect_router(router_name) {\n return this.exec('disconnect_router', [router_name])\n }\n\n get_all_target_info() {\n return this.exec('get_all_target_info', [])\n }\n\n get_all_cmd_info() {\n return this.exec('get_all_cmd_info', [])\n }\n\n get_all_tlm_info() {\n return this.exec('get_all_tlm_info', [])\n }\n\n get_item(target, packet, item) {\n return this.exec('get_item', [target, packet, item])\n }\n\n get_parameter(target, packet, item) {\n return this.exec('get_parameter', [target, packet, item])\n }\n\n get_all_packet_logger_info() {\n return this.exec('get_all_packet_logger_info', [])\n }\n\n start_logging() {\n return this.exec('start_logging', [])\n }\n\n stop_logging() {\n return this.exec('stop_logging', [])\n }\n\n start_cmd_log(log_writer_name) {\n return this.exec('start_cmd_log', [log_writer_name])\n }\n\n start_tlm_log(log_writer_name) {\n return this.exec('start_tlm_log', [log_writer_name])\n }\n\n stop_cmd_log(log_writer_name) {\n return this.exec('stop_cmd_log', [log_writer_name])\n }\n\n stop_tlm_log(log_writer_name) {\n return this.exec('stop_tlm_log', [log_writer_name])\n }\n\n get_server_status() {\n return this.exec('get_server_status', [])\n }\n\n get_limits_sets() {\n return this.exec('get_limits_sets', [])\n }\n\n get_limits_set() {\n return this.exec('get_limits_set', [])\n }\n\n set_limits_set(limits_set) {\n return this.exec('set_limits_set', [limits_set])\n }\n\n get_background_tasks() {\n return this.exec('get_background_tasks', [])\n }\n\n start_background_task(name) {\n return this.exec('start_background_task', [name])\n }\n\n stop_background_task(name) {\n return this.exec('stop_background_task', [name])\n }\n\n // ***********************************************\n // End CmdTlmServer APIs\n // ***********************************************\n\n get_oldest_logfile() {\n return this.exec('get_oldest_logfile', [])\n }\n\n get_target(target_name) {\n return this.exec('get_target', [target_name])\n }\n\n get_target_list() {\n return this.exec('get_target_list', [])\n }\n\n get_telemetry(target_name, packet_name) {\n return this.exec('get_telemetry', [target_name, packet_name])\n }\n\n get_all_telemetry(target_name) {\n return this.exec('get_all_telemetry', [target_name])\n }\n\n get_all_telemetry_list(target_name) {\n return this.exec('get_all_telemetry_list', [target_name])\n }\n\n // Called by PacketViewerComponent\n async get_tlm_packet(target_name, packet_name, value_type) {\n const data = await this.exec('get_tlm_packet', [target_name, packet_name], {\n type: value_type,\n })\n // Make sure data isn't null or undefined. Note this is the only valid use of == or !=\n if (data != null) {\n var len = data.length\n var converted = null\n for (var i = 0; i < len; i++) {\n converted = this.decode_cosmos_type(data[i][1])\n if (converted !== null) {\n data[i][1] = converted\n }\n }\n }\n return data\n }\n\n // Called by PacketViewerComponent\n get_packet_derived_items(target_name, packet_name) {\n return this.exec('get_packet_derived_items', [target_name, packet_name])\n }\n\n // Called by CmdTlmServer Tlm Packets tab\n get_tlm_buffer(target_name, packet_name) {\n return this.exec('get_tlm_buffer', [target_name, packet_name])\n }\n\n // Called by CosmosScreenComponent\n async get_tlm_values(items) {\n const data = await this.exec('get_tlm_values', [items])\n var len = data[0].length\n var converted = null\n for (var i = 0; i < len; i++) {\n converted = this.decode_cosmos_type(data[0][i])\n if (converted !== null) {\n data[0][i] = converted\n }\n }\n return data\n }\n\n // Called by LimitsbarWidget\n get_limits(target_name, packet_name, item_name) {\n return this.exec('get_limits', [target_name, packet_name, item_name])\n }\n\n // Called by LimitsMonitorComponent\n async tlm(target_name, packet_name, item_name) {\n const data = await this.exec('tlm', [target_name, packet_name, item_name])\n var converted = this.decode_cosmos_type(data)\n if (converted !== null) {\n data = converted\n }\n return data\n }\n\n get_all_commands(target_name) {\n return this.exec('get_all_commands', [target_name])\n }\n\n get_all_commands_list(target_name) {\n return this.exec('get_all_commands_list', [target_name])\n }\n\n get_command(target_name, command_name) {\n return this.exec('get_command', [target_name, command_name])\n }\n\n get_cmd_value(\n target_name,\n packet_name,\n parameter_name,\n value_type = 'CONVERTED'\n ) {\n return this.exec('get_cmd_value', [\n target_name,\n packet_name,\n parameter_name,\n value_type,\n ])\n }\n\n // Called by CmdTlmServer Cmd Packets tab\n get_cmd_buffer(target_name, packet_name) {\n return this.exec('get_cmd_buffer', [target_name, packet_name])\n }\n\n // Implementation of functionality shared by cmd methods with param_lists.\n _cmd(method, target_name, command_name, param_list) {\n var converted = null\n for (var key in param_list) {\n if (Object.prototype.hasOwnProperty.call(param_list, key)) {\n converted = this.encode_cosmos_type(param_list[key])\n if (converted !== null) {\n param_list[key] = converted\n }\n }\n }\n return this.exec(method, [target_name, command_name, param_list])\n }\n\n // Called by CmdSenderComponent\n get_cmd_hazardous(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('get_cmd_hazardous', target_name)\n } else {\n return this._cmd(\n 'get_cmd_hazardous',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n // Called by CmdSenderComponent\n cmd(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd', target_name)\n } else {\n return this._cmd('cmd', target_name, command_name, param_list)\n }\n }\n\n // Called by CmdSenderComponent\n cmd_no_range_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_no_range_check', target_name)\n } else {\n return this._cmd(\n 'cmd_no_range_check',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n // Called by CmdSenderComponent\n cmd_raw(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw', target_name)\n } else {\n return this._cmd('cmd_raw', target_name, command_name, param_list)\n }\n }\n\n // Called by CmdSenderComponent\n cmd_raw_no_range_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw_no_range_check', target_name)\n } else {\n return this._cmd(\n 'cmd_raw_no_range_check',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n // Called by CmdSenderComponent\n cmd_no_hazardous_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_no_hazardous_check', target_name)\n } else {\n return this._cmd(\n 'cmd_no_hazardous_check',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n // Called by CmdSenderComponent\n cmd_no_checks(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_no_checks', target_name)\n } else {\n return this._cmd('cmd_no_checks', target_name, command_name, param_list)\n }\n }\n\n // Called by CmdSenderComponent\n cmd_raw_no_hazardous_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw_no_hazardous_check', target_name)\n } else {\n return this._cmd(\n 'cmd_raw_no_hazardous_check',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n // Called by CmdSenderComponent\n cmd_raw_no_checks(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw_no_checks', target_name)\n } else {\n return this._cmd(\n 'cmd_raw_no_checks',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n // Called by CmdSenderComponent\n get_interface_names() {\n return this.exec('get_interface_names', [])\n }\n\n // Called by CmdSenderComponent\n send_raw(interface_name, data) {\n return this.exec('send_raw', [interface_name, data])\n }\n\n list_configs(tool) {\n return this.exec('list_configs', [tool])\n }\n\n load_config(tool, name) {\n return this.exec('load_config', [tool, name])\n }\n\n save_config(tool, name, data) {\n return this.exec('save_config', [tool, name, data])\n }\n\n delete_config(tool, name) {\n return this.exec('delete_config', [tool, name])\n }\n\n get_out_of_limits() {\n return this.exec('get_out_of_limits', [])\n }\n\n get_overall_limits_state(ignored) {\n return this.exec('get_overall_limits_state', [ignored])\n }\n\n list_settings() {\n return this.exec('list_settings', [])\n }\n\n get_all_settings() {\n return this.exec('get_all_settings', [])\n }\n\n get_setting(name) {\n return this.exec('get_setting', [name])\n }\n\n get_settings(array) {\n return this.exec('get_settings', array)\n }\n\n save_setting(name, data) {\n return this.exec('save_setting', [name, data])\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-select',{attrs:{\"items\":_vm.swatches,\"label\":\"Color\"},scopedSlots:_vm._u([{key:\"selection\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('div',[_c('v-badge',{attrs:{\"inline\":\"\",\"color\":item}},[_c('span',{domProps:{\"textContent\":_vm._s(item)}})])],1)]}},{key:\"item\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('div',[_c('v-badge',{attrs:{\"inline\":\"\",\"color\":item}},[_c('span',{domProps:{\"textContent\":_vm._s(item)}})])],1)]}}]),model:{value:(_vm.color),callback:function ($$v) {_vm.color=$$v},expression:\"color\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <div>\n <v-select v-model=\"color\" :items=\"swatches\" label=\"Color\">\n <template v-slot:selection=\"{ item }\">\n <div>\n <v-badge inline :color=\"item\">\n <span v-text=\"item\" />\n </v-badge>\n </div>\n </template>\n <template v-slot:item=\"{ item }\">\n <div>\n <v-badge inline :color=\"item\">\n <span v-text=\"item\" />\n </v-badge>\n </div>\n </template>\n </v-select>\n </div>\n</template>\n\n<script>\nexport default {\n components: {},\n props: {\n value: {\n type: String,\n required: true,\n },\n },\n data() {\n return {}\n },\n computed: {\n color: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n swatches: function () {\n return [\n '#005a8f',\n '#003784',\n '#8F3400',\n '#df1368',\n '#ff5252',\n '#df323b',\n '#9f0010',\n '#2d9437',\n '#004700',\n '#db7200',\n '#802700',\n '#0f2941',\n ]\n },\n },\n methods: {},\n}\n</script>\n","import mod from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ColorSelectForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ColorSelectForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ColorSelectForm.vue?vue&type=template&id=44877265&\"\nimport script from \"./ColorSelectForm.vue?vue&type=script&lang=js&\"\nexport * from \"./ColorSelectForm.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-simple-table',{attrs:{\"dense\":\"\"}},[_c('tbody',[_c('tr',[_c('th',{staticClass:\"text-left\"},[_vm._v(\"Key\")]),_c('th',{staticClass:\"text-left\"},[_vm._v(\"Value\")]),_c('th',{staticClass:\"text-right\"},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-icon',{attrs:{\"data-test\":\"new-metadata-icon\"},on:{\"click\":_vm.newMetadata}},[_vm._v(\" mdi-plus \")])],1)]}}])},[_c('span',[_vm._v(\" New Metadata \")])])],1)]),_vm._l((_vm.metadata),function(meta,i){return [_c('tr',{key:(\"tr-\" + i)},[_c('td',[_c('v-text-field',{attrs:{\"type\":\"text\",\"dense\":\"\",\"data-test\":(\"key-\" + i)},model:{value:(meta.key),callback:function ($$v) {_vm.$set(meta, \"key\", $$v)},expression:\"meta.key\"}})],1),_c('td',[_c('v-text-field',{attrs:{\"type\":\"text\",\"dense\":\"\",\"data-test\":(\"value-\" + i)},model:{value:(meta.value),callback:function ($$v) {_vm.$set(meta, \"value\", $$v)},expression:\"meta.value\"}})],1),_c('td',[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-icon',{attrs:{\"data-test\":(\"delete-metadata-icon-\" + i)},on:{\"click\":function($event){return _vm.rm(i)}}},[_vm._v(\" mdi-delete \")])],1)]}}],null,true)},[_c('span',[_vm._v(\" Delete Metadata \")])])],1)])]})],2)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <div>\n <v-simple-table dense>\n <tbody>\n <tr>\n <th class=\"text-left\">Key</th>\n <th class=\"text-left\">Value</th>\n <th class=\"text-right\">\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-icon data-test=\"new-metadata-icon\" @click=\"newMetadata\">\n mdi-plus\n </v-icon>\n </div>\n </template>\n <span> New Metadata </span>\n </v-tooltip>\n </th>\n </tr>\n <template v-for=\"(meta, i) in metadata\">\n <tr :key=\"`tr-${i}`\">\n <td>\n <v-text-field\n v-model=\"meta.key\"\n type=\"text\"\n dense\n :data-test=\"`key-${i}`\"\n />\n </td>\n <td>\n <v-text-field\n v-model=\"meta.value\"\n type=\"text\"\n dense\n :data-test=\"`value-${i}`\"\n />\n </td>\n <td>\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-icon\n :data-test=\"`delete-metadata-icon-${i}`\"\n @click=\"rm(i)\"\n >\n mdi-delete\n </v-icon>\n </div>\n </template>\n <span> Delete Metadata </span>\n </v-tooltip>\n </td>\n </tr>\n </template>\n </tbody>\n </v-simple-table>\n </div>\n</template>\n\n<script>\nexport default {\n components: {},\n props: {\n value: {\n type: Array,\n required: true,\n },\n },\n data() {\n return {}\n },\n computed: {\n metadata: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n },\n methods: {\n newMetadata: function () {\n this.metadata.push({\n key: '',\n value: '',\n })\n },\n rm: function (index) {\n this.metadata.splice(index, 1)\n },\n },\n}\n</script>\n","import mod from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MetadataInputForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MetadataInputForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MetadataInputForm.vue?vue&type=template&id=191be1c3&\"\nimport script from \"./MetadataInputForm.vue?vue&type=script&lang=js&\"\nexport * from \"./MetadataInputForm.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\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 addstopums 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 program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <div>\n <v-dialog persistent v-model=\"show\" width=\"600\">\n <v-card>\n <form @submit.prevent=\"updateMetadata\">\n <v-system-bar>\n <v-spacer />\n <span>Update Metadata</span>\n <v-spacer />\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-icon data-test=\"close-metadata-icon\" @click=\"show = !show\">\n mdi-close-box\n </v-icon>\n </div>\n </template>\n <span> Close </span>\n </v-tooltip>\n </v-system-bar>\n <v-stepper v-model=\"dialogStep\" vertical non-linear>\n <v-stepper-step editable step=\"1\">\n Input start time\n </v-stepper-step>\n <v-stepper-content step=\"1\">\n <v-card-text>\n <div class=\"pa-2\">\n <v-select v-model=\"target\" :items=\"targets\" label=\"Target\" />\n <color-select-form v-model=\"color\" />\n <v-row dense>\n <v-text-field\n v-model=\"startDate\"\n type=\"date\"\n label=\"Start Date\"\n class=\"mx-1\"\n :rules=\"[rules.required]\"\n data-test=\"start-date\"\n />\n <v-text-field\n v-model=\"startTime\"\n type=\"time\"\n step=\"1\"\n label=\"Start Time\"\n class=\"mx-1\"\n :rules=\"[rules.required]\"\n data-test=\"start-time\"\n />\n </v-row>\n <v-row class=\"mx-2 mb-2\">\n <v-radio-group\n v-model=\"utcOrLocal\"\n row\n hide-details\n class=\"mt-0\"\n >\n <v-radio label=\"LST\" value=\"loc\" data-test=\"lst-radio\" />\n <v-radio label=\"UTC\" value=\"utc\" data-test=\"utc-radio\" />\n </v-radio-group>\n </v-row>\n <v-row>\n <span\n class=\"ma-2 red--text\"\n v-show=\"timeError\"\n v-text=\"timeError\"\n />\n </v-row>\n <v-row class=\"mt-2\">\n <v-spacer />\n <v-btn\n @click=\"dialogStep = 2\"\n data-test=\"create-metadata-step-two-btn\"\n color=\"success\"\n :disabled=\"!!timeError\"\n >\n Continue\n </v-btn>\n </v-row>\n </div>\n </v-card-text>\n </v-stepper-content>\n <v-stepper-step editable step=\"2\"> Metadata input </v-stepper-step>\n <v-stepper-content step=\"2\">\n <v-card-text>\n <div class=\"pa-2\">\n <div style=\"min-height: 200px\">\n <metadata-input-form v-model=\"metadata\" />\n </div>\n <v-row v-show=\"typeError\">\n <span class=\"ma-2 red--text\" v-text=\"typeError\" />\n </v-row>\n <v-row class=\"mt-2\">\n <v-spacer />\n <v-btn\n @click=\"show = !show\"\n outlined\n class=\"mx-2\"\n data-test=\"update-metadata-cancel-btn\"\n >\n Cancel\n </v-btn>\n <v-btn\n @click.prevent=\"updateMetadata\"\n class=\"mx-2\"\n color=\"primary\"\n type=\"submit\"\n data-test=\"update-metadata-submit-btn\"\n :disabled=\"!!timeError || !!typeError\"\n >\n Ok\n </v-btn>\n </v-row>\n </div>\n </v-card-text>\n </v-stepper-content>\n </v-stepper>\n </form>\n </v-card>\n </v-dialog>\n </div>\n</template>\n\n<script>\nimport { isValid, parse, format, getTime } from 'date-fns'\nimport Api from '@cosmosc2/tool-common/src/services/api'\nimport { CosmosApi } from '@cosmosc2/tool-common/src/services/cosmos-api'\n\nimport TimeFilters from '@/tools/Calendar/Filters/timeFilters.js'\nimport ColorSelectForm from '@/tools/Calendar/Forms/ColorSelectForm'\nimport MetadataInputForm from '@/tools/Calendar/Forms/MetadataInputForm'\n\nexport default {\n components: {\n ColorSelectForm,\n MetadataInputForm,\n },\n props: {\n metadataObj: {\n type: Object,\n required: true,\n },\n value: Boolean, // value is the default prop when using v-model\n },\n mixins: [TimeFilters],\n data() {\n return {\n scope: localStorage.scope,\n dialogStep: 1,\n target: '',\n targets: [],\n startDate: '',\n startTime: '',\n utcOrLocal: 'loc',\n color: '',\n metadata: [],\n rules: {\n required: (value) => !!value || 'Required',\n },\n }\n },\n watch: {\n show: function () {\n if (this.show) {\n this.updateValues()\n }\n },\n },\n mounted: function () {\n this.updateTargets()\n },\n computed: {\n timeError: function () {\n if (!this.target) {\n return 'Metadata must be associated with a target.'\n }\n const now = new Date()\n const start = Date.parse(`${this.startDate}T${this.startTime}`)\n if (now < start) {\n return 'Invalid start time. Can not be in the future'\n }\n return null\n },\n typeError: function () {\n if (this.metadata.length < 1) {\n return 'Please enter a value in the metadata table.'\n }\n const emptyKeyValue = this.metadata.find(\n (meta) => meta.key === '' || meta.value === ''\n )\n if (emptyKeyValue) {\n return 'Missing or empty key, value in the metadata table.'\n }\n return null\n },\n show: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n },\n methods: {\n updateValues: function () {\n const sDate = new Date(this.metadataObj.start)\n this.startDate = format(sDate, 'yyyy-MM-dd')\n this.startTime = format(sDate, 'HH:mm:ss')\n this.metadata = Object.keys(this.metadataObj.metadata).map((k) => {\n return { key: k, value: this.metadataObj.metadata[k] }\n })\n this.color = this.metadataObj.color\n this.target = this.metadataObj.target\n },\n updateTargets: function () {\n new CosmosApi().get_target_list().then((data) => {\n this.targets = data\n this.targets.unshift(localStorage.scope)\n })\n },\n updateMetadata: function () {\n const color = this.color\n const metadata = this.metadata.reduce((result, element) => {\n result[element.key] = element.value\n return result\n }, {})\n const start = this.toIsoString(\n Date.parse(`${this.startDate}T${this.startTime}`)\n )\n const target = this.target\n Api.put(`/cosmos-api/metadata/${this.metadataObj.start}`, {\n data: { start, color, target, metadata },\n }).then((response) => {\n this.$notify.normal({\n title: 'Updated Metadata',\n body: `Metadata updated: (${response.data.start})`,\n })\n })\n this.$emit('close')\n this.show = !this.show\n },\n },\n}\n</script>\n\n<style scoped>\n.v-stepper--vertical .v-stepper__content {\n width: auto;\n margin: 0px 0px 0px 36px;\n padding: 0px;\n}\n</style>\n","import mod from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MetadataUpdateDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MetadataUpdateDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MetadataUpdateDialog.vue?vue&type=template&id=b9464e3c&scoped=true&\"\nimport script from \"./MetadataUpdateDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./MetadataUpdateDialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MetadataUpdateDialog.vue?vue&type=style&index=0&id=b9464e3c&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b9464e3c\",\n null\n \n)\n\nexport default component.exports","<!--\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <div>\n <v-card-title v-text=\"title\" />\n <v-card-subtitle>\n <span>\n {{ metadataEvent.start | dateTime(utc) }}\n </span>\n </v-card-subtitle>\n <div class=\"ma-2\">\n <v-card-text>\n <v-row>\n <v-col class=\"pa-0\">\n <v-simple-table dense>\n <tbody>\n <tr>\n <th class=\"text-left\">Key</th>\n <th class=\"text-left\">Value</th>\n </tr>\n <template v-for=\"(value, i) in metadataValues\">\n <tr :key=\"`tr-${i}`\">\n <td class=\"text-left\">\n <span v-text=\"value.key\" />\n </td>\n <td class=\"text-left\">\n <span v-text=\"value.value\" />\n </td>\n </tr>\n </template>\n </tbody>\n </v-simple-table>\n </v-col>\n </v-row>\n <v-row class=\"pt-1\">\n <v-col class=\"text-right pa-0\">\n <span class=\"text-caption\">\n Last update: {{ updated_at | dateTime(utc) }}\n </span>\n </v-col>\n </v-row>\n </v-card-text>\n <v-card-actions class=\"pa-1\">\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-btn icon data-test=\"update-metadata\" @click=\"updateDialog\">\n <v-icon>mdi-pencil</v-icon>\n </v-btn>\n </div>\n </template>\n <span> Update </span>\n </v-tooltip>\n <v-spacer />\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-btn icon data-test=\"delete-metadata\" @click=\"deleteDialog\">\n <v-icon> mdi-delete </v-icon>\n </v-btn>\n </div>\n </template>\n <span> Delete </span>\n </v-tooltip>\n </v-card-actions>\n </div>\n <!--- Menus --->\n <metadata-update-dialog\n v-model=\"showUpdateDialog\"\n :metadata-obj=\"metadataEvent.metadata\"\n @close=\"close\"\n />\n </div>\n</template>\n\n<script>\nimport Api from '@cosmosc2/tool-common/src/services/api'\nimport TimeFilters from '@/tools/Calendar/Filters/timeFilters.js'\nimport MetadataUpdateDialog from '@/tools/Calendar/Dialogs/MetadataUpdateDialog'\n\nexport default {\n components: {\n MetadataUpdateDialog,\n },\n mixins: [TimeFilters],\n props: {\n metadataEvent: {\n type: Object,\n required: true,\n },\n utc: {\n type: Boolean,\n required: true,\n },\n },\n data() {\n return {\n showUpdateDialog: false,\n }\n },\n computed: {\n metadataValues: function () {\n const metadata = this.metadataEvent.metadata.metadata\n return Object.keys(metadata).map((k) => {\n return { key: k, value: metadata[k] }\n })\n },\n updated_at: function () {\n const v = parseInt(this.metadataEvent.metadata.updated_at / 1000000)\n return new Date(v)\n },\n title: function () {\n return `${this.metadataEvent.metadata.type}`\n },\n },\n methods: {\n close: function () {\n this.$emit('close')\n },\n updateDialog: function () {\n this.showUpdateDialog = !this.showUpdateDialog\n },\n deleteDialog: function () {\n const metadataStart = this.metadataEvent.metadata.start\n const eventStart = this.generateDateTime(\n this.metadataEvent.start,\n this.utc\n )\n this.$dialog\n .confirm(\n `Are you sure you want to remove metadata: ${eventStart} (${metadataStart})`,\n {\n okText: 'Delete',\n cancelText: 'Cancel',\n }\n )\n .then((dialog) => {\n return Api.delete(`/cosmos-api/metadata/${metadataStart}`)\n })\n .then((response) => {\n this.$notify.normal({\n title: 'Deleted Metadata',\n body: `Deleted metadata: ${eventStart} (${metadataStart})`,\n })\n this.$emit('close')\n })\n .catch((error) => {\n if (error) {\n this.$notify.error({\n title: 'Failed to Delete Metadata',\n body: `Failed to delete metadata ${metadataStart}. Error: ${error}`,\n })\n }\n })\n },\n },\n}\n</script>\n\n<style scoped>\n.theme--dark .v-card__title,\n.theme--dark .v-card__subtitle {\n background-color: var(--v-secondary-darken3);\n}\n</style>\n","import mod from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MetadataEventForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MetadataEventForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MetadataEventForm.vue?vue&type=template&id=49e08040&scoped=true&\"\nimport script from \"./MetadataEventForm.vue?vue&type=script&lang=js&\"\nexport * from \"./MetadataEventForm.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MetadataEventForm.vue?vue&type=style&index=0&id=49e08040&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"49e08040\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-card-title',{domProps:{\"textContent\":_vm._s(_vm.noteEvent.name)}}),_c('v-card-subtitle',[_c('span',[_vm._v(\" \"+_vm._s(_vm._f(\"dateTime\")(_vm.noteEvent.start,_vm.utc))+\" \")]),_c('br'),_c('span',[_vm._v(\" \"+_vm._s(_vm._f(\"dateTime\")(_vm.noteEvent.end,_vm.utc))+\" \")])]),_c('div',{staticClass:\"ma-2\"},[_c('v-card-text',[_c('v-row',[_c('v-textarea',{attrs:{\"readonly\":\"\",\"rows\":\"6\",\"value\":_vm.description}})],1),_c('v-row',{staticClass:\"pt-1\"},[_c('v-col',{staticClass:\"text-right pa-0\"},[_c('span',{staticClass:\"text-caption\"},[_vm._v(\" Last update: \"+_vm._s(_vm._f(\"dateTime\")(_vm.updated_at,_vm.utc))+\" \")])])],1)],1),_c('v-card-actions',{staticClass:\"pa-1\"},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-btn',{attrs:{\"icon\":\"\",\"data-test\":\"update-note\"},on:{\"click\":_vm.updateDialog}},[_c('v-icon',[_vm._v(\"mdi-pencil\")])],1)],1)]}}])},[_c('span',[_vm._v(\" Update \")])]),_c('v-spacer'),_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-btn',{attrs:{\"icon\":\"\",\"data-test\":\"delete-note\"},on:{\"click\":_vm.deleteDialog}},[_c('v-icon',[_vm._v(\" mdi-delete \")])],1)],1)]}}])},[_c('span',[_vm._v(\" Delete \")])])],1)],1),_c('note-update-dialog',{attrs:{\"note\":_vm.noteEvent.note},on:{\"close\":_vm.close},model:{value:(_vm.showUpdateDialog),callback:function ($$v) {_vm.showUpdateDialog=$$v},expression:\"showUpdateDialog\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-dialog',{attrs:{\"persistent\":\"\",\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.updateNote.apply(null, arguments)}}},[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\"Update Note\")]),_c('v-spacer'),_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-icon',{attrs:{\"data-test\":\"close-note-icon\"},on:{\"click\":function($event){_vm.show = !_vm.show}}},[_vm._v(\" mdi-close-box \")])],1)]}}])},[_c('span',[_vm._v(\" Close \")])])],1),_c('v-stepper',{attrs:{\"vertical\":\"\",\"non-linear\":\"\"},model:{value:(_vm.dialogStep),callback:function ($$v) {_vm.dialogStep=$$v},expression:\"dialogStep\"}},[_c('v-stepper-step',{attrs:{\"editable\":\"\",\"step\":\"1\"}},[_vm._v(\" Input start time, stop time \")]),_c('v-stepper-content',{attrs:{\"step\":\"1\"}},[_c('v-card-text',[_c('div',{staticClass:\"pa-2\"},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-text-field',{staticClass:\"mx-1\",attrs:{\"type\":\"date\",\"label\":\"Start Date\",\"rules\":[_vm.rules.required],\"data-test\":\"note-start-date\"},model:{value:(_vm.startDate),callback:function ($$v) {_vm.startDate=$$v},expression:\"startDate\"}}),_c('v-text-field',{staticClass:\"mx-1\",attrs:{\"type\":\"time\",\"step\":\"1\",\"label\":\"Start Time\",\"rules\":[_vm.rules.required],\"data-test\":\"note-start-time\"},model:{value:(_vm.startTime),callback:function ($$v) {_vm.startTime=$$v},expression:\"startTime\"}})],1),_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-text-field',{staticClass:\"mx-1\",attrs:{\"type\":\"date\",\"label\":\"End Date\",\"rules\":[_vm.rules.required],\"data-test\":\"note-stop-date\"},model:{value:(_vm.stopDate),callback:function ($$v) {_vm.stopDate=$$v},expression:\"stopDate\"}}),_c('v-text-field',{staticClass:\"mx-1\",attrs:{\"type\":\"time\",\"step\":\"1\",\"label\":\"End Time\",\"rules\":[_vm.rules.required],\"data-test\":\"note-stop-time\"},model:{value:(_vm.stopTime),callback:function ($$v) {_vm.stopTime=$$v},expression:\"stopTime\"}})],1),_c('v-row',{staticClass:\"mx-2 mb-2\"},[_c('v-radio-group',{staticClass:\"mt-0\",attrs:{\"row\":\"\",\"hide-details\":\"\"},model:{value:(_vm.utcOrLocal),callback:function ($$v) {_vm.utcOrLocal=$$v},expression:\"utcOrLocal\"}},[_c('v-radio',{attrs:{\"label\":\"LST\",\"value\":\"loc\",\"data-test\":\"lst-radio\"}}),_c('v-radio',{attrs:{\"label\":\"UTC\",\"value\":\"utc\",\"data-test\":\"utc-radio\"}})],1)],1),_c('v-row',[_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.timeError),expression:\"timeError\"}],staticClass:\"ma-2 red--text\",domProps:{\"textContent\":_vm._s(_vm.timeError)}})]),_c('v-row',{staticClass:\"mt-2\"},[_c('v-spacer'),_c('v-btn',{attrs:{\"data-test\":\"update-note-step-two-btn\",\"color\":\"success\",\"disabled\":!!_vm.timeError},on:{\"click\":function($event){_vm.dialogStep = 2}}},[_vm._v(\" Continue \")])],1)],1)])],1),_c('v-stepper-step',{attrs:{\"editable\":\"\",\"step\":\"2\"}},[_vm._v(\" Input Description \")]),_c('v-stepper-content',{attrs:{\"step\":\"2\"}},[_c('v-card-text',[_c('div',{staticClass:\"pa-2\"},[_c('div',[_c('color-select-form',{model:{value:(_vm.color),callback:function ($$v) {_vm.color=$$v},expression:\"color\"}})],1),_c('div',[_c('v-text-field',{attrs:{\"type\":\"text\",\"label\":\"Note Description\",\"data-test\":\"update-note-description\"},model:{value:(_vm.description),callback:function ($$v) {_vm.description=$$v},expression:\"description\"}})],1),_c('v-row',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.typeError),expression:\"typeError\"}]},[_c('span',{staticClass:\"ma-2 red--text\",domProps:{\"textContent\":_vm._s(_vm.typeError)}})]),_c('v-row',{staticClass:\"mt-2\"},[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\",\"data-test\":\"update-note-cancel-btn\"},on:{\"click\":function($event){_vm.show = !_vm.show}}},[_vm._v(\" Cancel \")]),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"type\":\"submit\",\"data-test\":\"update-note-submit-btn\",\"disabled\":!!_vm.timeError || !!_vm.typeError},on:{\"click\":function($event){$event.preventDefault();return _vm.updateNote.apply(null, arguments)}}},[_vm._v(\" Ok \")])],1)],1)])],1)],1)],1)])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\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 addstopums 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 program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <div>\n <v-dialog persistent v-model=\"show\" width=\"600\">\n <v-card>\n <form @submit.prevent=\"updateNote\">\n <v-system-bar>\n <v-spacer />\n <span>Update Note</span>\n <v-spacer />\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-icon data-test=\"close-note-icon\" @click=\"show = !show\">\n mdi-close-box\n </v-icon>\n </div>\n </template>\n <span> Close </span>\n </v-tooltip>\n </v-system-bar>\n <v-stepper v-model=\"dialogStep\" vertical non-linear>\n <v-stepper-step editable step=\"1\">\n Input start time, stop time\n </v-stepper-step>\n <v-stepper-content step=\"1\">\n <v-card-text>\n <div class=\"pa-2\">\n <v-row dense>\n <v-text-field\n v-model=\"startDate\"\n type=\"date\"\n label=\"Start Date\"\n class=\"mx-1\"\n :rules=\"[rules.required]\"\n data-test=\"note-start-date\"\n />\n <v-text-field\n v-model=\"startTime\"\n type=\"time\"\n step=\"1\"\n label=\"Start Time\"\n class=\"mx-1\"\n :rules=\"[rules.required]\"\n data-test=\"note-start-time\"\n />\n </v-row>\n <v-row dense>\n <v-text-field\n v-model=\"stopDate\"\n type=\"date\"\n label=\"End Date\"\n class=\"mx-1\"\n :rules=\"[rules.required]\"\n data-test=\"note-stop-date\"\n />\n <v-text-field\n v-model=\"stopTime\"\n type=\"time\"\n step=\"1\"\n label=\"End Time\"\n class=\"mx-1\"\n :rules=\"[rules.required]\"\n data-test=\"note-stop-time\"\n />\n </v-row>\n <v-row class=\"mx-2 mb-2\">\n <v-radio-group\n v-model=\"utcOrLocal\"\n row\n hide-details\n class=\"mt-0\"\n >\n <v-radio label=\"LST\" value=\"loc\" data-test=\"lst-radio\" />\n <v-radio label=\"UTC\" value=\"utc\" data-test=\"utc-radio\" />\n </v-radio-group>\n </v-row>\n <v-row>\n <span\n class=\"ma-2 red--text\"\n v-show=\"timeError\"\n v-text=\"timeError\"\n />\n </v-row>\n <v-row class=\"mt-2\">\n <v-spacer />\n <v-btn\n @click=\"dialogStep = 2\"\n data-test=\"update-note-step-two-btn\"\n color=\"success\"\n :disabled=\"!!timeError\"\n >\n Continue\n </v-btn>\n </v-row>\n </div>\n </v-card-text>\n </v-stepper-content>\n <v-stepper-step editable step=\"2\">\n Input Description\n </v-stepper-step>\n <v-stepper-content step=\"2\">\n <v-card-text>\n <div class=\"pa-2\">\n <div>\n <color-select-form v-model=\"color\" />\n </div>\n <div>\n <v-text-field\n v-model=\"description\"\n type=\"text\"\n label=\"Note Description\"\n data-test=\"update-note-description\"\n />\n </div>\n <v-row v-show=\"typeError\">\n <span class=\"ma-2 red--text\" v-text=\"typeError\" />\n </v-row>\n <v-row class=\"mt-2\">\n <v-spacer />\n <v-btn\n @click=\"show = !show\"\n outlined\n class=\"mx-2\"\n data-test=\"update-note-cancel-btn\"\n >\n Cancel\n </v-btn>\n <v-btn\n @click.prevent=\"updateNote\"\n class=\"mx-2\"\n color=\"primary\"\n type=\"submit\"\n data-test=\"update-note-submit-btn\"\n :disabled=\"!!timeError || !!typeError\"\n >\n Ok\n </v-btn>\n </v-row>\n </div>\n </v-card-text>\n </v-stepper-content>\n </v-stepper>\n </form>\n </v-card>\n </v-dialog>\n </div>\n</template>\n\n<script>\nimport { isValid, parse, format, getTime } from 'date-fns'\nimport Api from '@cosmosc2/tool-common/src/services/api'\nimport TimeFilters from '@/tools/Calendar/Filters/timeFilters.js'\nimport ColorSelectForm from '@/tools/Calendar/Forms/ColorSelectForm'\n\nexport default {\n components: {\n ColorSelectForm,\n },\n props: {\n note: {\n type: Object,\n required: true,\n },\n value: Boolean, // value is the default prop when using v-model\n },\n mixins: [TimeFilters],\n data() {\n return {\n dialogStep: 1,\n startDate: '',\n startTime: '',\n stopDate: '',\n stopTime: '',\n utcOrLocal: 'loc',\n description: '',\n color: '',\n rules: {\n required: (value) => !!value || 'Required',\n },\n }\n },\n watch: {\n show: function () {\n this.updateValues()\n },\n },\n computed: {\n timeError: function () {\n const now = new Date()\n const start = Date.parse(`${this.startDate}T${this.startTime}`)\n const stop = Date.parse(`${this.stopDate}T${this.stopTime}`)\n if (start === stop) {\n return 'Invalid start, stop time. Notes must have different start and stop times.'\n }\n if (start > stop) {\n return 'Invalid start time. Note start before stop.'\n }\n return null\n },\n typeError: function () {\n if (!this.description) {\n return 'A description is required for a valid note.'\n }\n return null\n },\n show: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n },\n methods: {\n updateValues: function () {\n this.dialogStep = 1\n const sDate = new Date(this.note.start * 1000)\n const eDate = new Date(this.note.stop * 1000)\n this.startDate = format(sDate, 'yyyy-MM-dd')\n this.startTime = format(sDate, 'HH:mm:ss')\n this.stopDate = format(eDate, 'yyyy-MM-dd')\n this.stopTime = format(eDate, 'HH:mm:ss')\n this.color = this.note.color\n this.description = this.note.description\n },\n updateNote: function () {\n const start = this.toIsoString(\n Date.parse(`${this.startDate}T${this.startTime}`)\n )\n const stop = this.toIsoString(\n Date.parse(`${this.stopDate}T${this.stopTime}`)\n )\n const color = this.color\n const description = this.description\n Api.put(`/cosmos-api/notes/${this.note.start}`, {\n data: { start, stop, color, description },\n }).then((response) => {\n const desc =\n response.data.description.length > 16\n ? `${response.data.description.substring(0, 16)}...`\n : response.data.description\n this.$notify.normal({\n title: 'Updated Note',\n body: `Note updated: (${response.data.start}): \"${desc}\"`,\n })\n })\n this.$emit('close')\n this.show = !this.show\n },\n },\n}\n</script>\n\n<style scoped>\n.v-stepper--vertical .v-stepper__content {\n width: auto;\n margin: 0px 0px 0px 36px;\n padding: 0px;\n}\n</style>\n","import mod from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./NoteUpdateDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./NoteUpdateDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./NoteUpdateDialog.vue?vue&type=template&id=246a5924&scoped=true&\"\nimport script from \"./NoteUpdateDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./NoteUpdateDialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./NoteUpdateDialog.vue?vue&type=style&index=0&id=246a5924&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"246a5924\",\n null\n \n)\n\nexport default component.exports","<!--\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <div>\n <v-card-title v-text=\"noteEvent.name\" />\n <v-card-subtitle>\n <span>\n {{ noteEvent.start | dateTime(utc) }}\n </span>\n <br />\n <span>\n {{ noteEvent.end | dateTime(utc) }}\n </span>\n </v-card-subtitle>\n <div class=\"ma-2\">\n <v-card-text>\n <v-row>\n <v-textarea readonly rows=\"6\" :value=\"description\" />\n </v-row>\n <v-row class=\"pt-1\">\n <v-col class=\"text-right pa-0\">\n <span class=\"text-caption\">\n Last update: {{ updated_at | dateTime(utc) }}\n </span>\n </v-col>\n </v-row>\n </v-card-text>\n <v-card-actions class=\"pa-1\">\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-btn icon data-test=\"update-note\" @click=\"updateDialog\">\n <v-icon>mdi-pencil</v-icon>\n </v-btn>\n </div>\n </template>\n <span> Update </span>\n </v-tooltip>\n <v-spacer />\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-btn icon data-test=\"delete-note\" @click=\"deleteDialog\">\n <v-icon> mdi-delete </v-icon>\n </v-btn>\n </div>\n </template>\n <span> Delete </span>\n </v-tooltip>\n </v-card-actions>\n </div>\n <!--- Menus --->\n <note-update-dialog\n v-model=\"showUpdateDialog\"\n :note=\"noteEvent.note\"\n @close=\"close\"\n />\n </div>\n</template>\n\n<script>\nimport Api from '@cosmosc2/tool-common/src/services/api'\nimport TimeFilters from '@/tools/Calendar/Filters/timeFilters.js'\nimport NoteUpdateDialog from '@/tools/Calendar/Dialogs/NoteUpdateDialog'\n\nexport default {\n components: {\n NoteUpdateDialog,\n },\n mixins: [TimeFilters],\n props: {\n noteEvent: {\n type: Object,\n required: true,\n },\n utc: {\n type: Boolean,\n required: true,\n },\n },\n data() {\n return {\n showUpdateDialog: false,\n }\n },\n computed: {\n updated_at: function () {\n const v = parseInt(this.noteEvent.note.updated_at / 1000000)\n return new Date(v)\n },\n description: function () {\n return this.noteEvent.note.description\n },\n },\n methods: {\n close: function () {\n this.$emit('close')\n },\n updateDialog: function () {\n this.showUpdateDialog = !this.showUpdateDialog\n },\n deleteDialog: function () {\n const noteStart = this.noteEvent.note.start\n const eventStart = this.generateDateTime(this.noteEvent.start, this.utc)\n this.$dialog\n .confirm(\n `Are you sure you want to remove note: ${eventStart} (${noteStart})`,\n {\n okText: 'Delete',\n cancelText: 'Cancel',\n }\n )\n .then((dialog) => {\n return Api.delete(`/cosmos-api/notes/${noteStart}`)\n })\n .then((response) => {\n this.$notify.normal({\n title: 'Deleted Note',\n body: `Deleted note: ${eventStart} (${noteStart})`,\n })\n this.$emit('close')\n })\n },\n },\n}\n</script>\n\n<style scoped>\n.theme--dark .v-card__title,\n.theme--dark .v-card__subtitle {\n background-color: var(--v-secondary-darken3);\n}\n</style>\n","import mod from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./NoteEventForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./NoteEventForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./NoteEventForm.vue?vue&type=template&id=751ff4c1&scoped=true&\"\nimport script from \"./NoteEventForm.vue?vue&type=script&lang=js&\"\nexport * from \"./NoteEventForm.vue?vue&type=script&lang=js&\"\nimport style0 from \"./NoteEventForm.vue?vue&type=style&index=0&id=751ff4c1&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"751ff4c1\",\n null\n \n)\n\nexport default component.exports","<!--\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <div>\n <v-card width=\"400\">\n <div v-if=\"type === 'activity'\">\n <activity-event-form\n :activity-event=\"event\"\n :utc=\"utc\"\n @close=\"close\"\n />\n </div>\n <div v-if=\"type === 'note'\">\n <note-event-form :note-event=\"event\" :utc=\"utc\" @close=\"close\" />\n </div>\n <div v-if=\"type === 'metadata'\">\n <metadata-event-form\n :metadata-event=\"event\"\n :utc=\"utc\"\n @close=\"close\"\n />\n </div>\n </v-card>\n </div>\n</template>\n\n<script>\nimport ActivityEventForm from '@/tools/Calendar/Forms/ActivityEventForm'\nimport MetadataEventForm from '@/tools/Calendar/Forms/MetadataEventForm'\nimport NoteEventForm from '@/tools/Calendar/Forms/NoteEventForm'\n\nexport default {\n components: {\n ActivityEventForm,\n MetadataEventForm,\n NoteEventForm,\n },\n props: {\n event: {\n type: Object,\n required: true,\n },\n utc: {\n type: Boolean,\n required: true,\n },\n value: {\n type: Boolean,\n required: true,\n },\n },\n computed: {\n type: function () {\n return this.event ? this.event.type : ''\n },\n show: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n },\n methods: {\n close: function (event) {\n this.show = !this.show\n this.$emit('close')\n },\n },\n}\n</script>\n","import mod from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EventDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EventDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./EventDialog.vue?vue&type=template&id=98e6c994&\"\nimport script from \"./EventDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./EventDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","/*\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n*/\nconst makeTimeline = function (timeline, activities) {\n return {\n name: timeline.name,\n color: timeline.color,\n messages: timeline.messages,\n activities: activities[timeline.name] || [],\n }\n}\n\nconst makeActivity = function (timeline, activity) {\n return {\n name: `${activity.name} ${activity.kind}`,\n start: new Date(activity.start * 1000),\n end: new Date(activity.stop * 1000),\n color: timeline.color,\n type: 'activity',\n timed: true,\n activity,\n }\n}\n\nconst getTimelineEvents = function (selectedCalendars, activities) {\n return selectedCalendars\n .filter((calendar) => calendar.type === 'timeline')\n .flatMap((calendarInfo) => {\n const timeline = makeTimeline(calendarInfo, activities)\n return timeline.activities.map((activity) => {\n return makeActivity(timeline, activity)\n })\n })\n}\n\nexport { getTimelineEvents }\n","/*\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n*/\n\nconst makeCalendar = function (calendar, chronicles) {\n return {\n name: calendar.name,\n type: calendar.type,\n messages: calendar.messages,\n chronicles: chronicles[calendar.name] || [],\n }\n}\n\nconst makeNoteEvent = function (_calendar, event) {\n const name =\n event.description.length > 16\n ? `${event.description.substring(0, 16)}...`\n : event.description\n return {\n name: name,\n start: new Date(event.start * 1000),\n end: new Date(event.stop * 1000),\n color: event.color,\n type: event.type,\n timed: true,\n note: event,\n }\n}\n\nconst makeMetadataEvent = function (_calendar, event) {\n return {\n name: 'Metadata',\n start: new Date(event.start * 1000),\n end: new Date(event.start * 1000),\n color: event.color,\n type: event.type,\n timed: true,\n metadata: event,\n }\n}\n\nconst getChronicleEvents = function (selectedCalendars, chronicles) {\n return selectedCalendars\n .filter((calendar) => calendar.type === 'chronicle')\n .flatMap((calendarInfo) => {\n const calendar = makeCalendar(calendarInfo, chronicles)\n return calendar.chronicles.map((event) => {\n if (calendar.name === 'metadata') {\n return makeMetadataEvent(calendar, event)\n } else {\n return makeNoteEvent(calendar, event)\n }\n })\n })\n}\n\nexport { getChronicleEvents }\n","<!--\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <div>\n <v-sheet height=\"800\" class=\"mt-1\">\n <v-calendar\n v-model=\"focus\"\n ref=\"mainCalendar\"\n color=\"primary\"\n :events=\"events\"\n :event-color=\"getEventColor\"\n :type=\"type\"\n @click:event=\"showEvent\"\n @click:more=\"viewDay\"\n @click:date=\"viewDay\"\n >\n <!---\n <template v-slot:event=\"{ event }\">\n <div class=\"mr-1\">\n <span class=\"font-weight-bold\" v-text=\"event.name\" />\n <br />\n <span>{{ event.start | time(calendarConfiguration.utc) }}</span>\n </div>\n </template>\n --->\n <template v-slot:day-body=\"{ date, week }\">\n <div\n class=\"v-current-time\"\n :class=\"{ first: date === week[0].date }\"\n :style=\"{ top: nowY }\"\n />\n </template>\n </v-calendar>\n <v-menu\n v-model=\"selectedOpen\"\n :close-on-content-click=\"false\"\n :activator=\"selectedElement\"\n >\n <event-dialog\n v-model=\"selectedOpen\"\n :event=\"selectedEvent\"\n :utc=\"utc\"\n @close=\"close\"\n />\n </v-menu>\n </v-sheet>\n <!-- MENUS -->\n </div>\n</template>\n\n<script>\nimport { isValid, parse, format, getTime } from 'date-fns'\nimport EventDialog from '@/tools/Calendar/Dialogs/EventDialog'\nimport TimeFilters from '@/tools/Calendar/Filters/timeFilters.js'\nimport { getTimelineEvents } from '@/tools/Calendar/Filters/timelineFilters.js'\nimport { getChronicleEvents } from '@/tools/Calendar/Filters/chronicleFilters.js'\n\nexport default {\n components: {\n EventDialog,\n },\n mixins: [TimeFilters],\n props: {\n events: {\n type: Array,\n required: true,\n },\n value: {\n type: Object,\n required: true,\n },\n },\n data() {\n return {\n selectedEvent: null,\n selectedElement: null,\n selectedOpen: false,\n showCreateDialog: false,\n showEventDialog: false,\n showUpdateDialog: false,\n }\n },\n watch: {\n events: function () {\n if (this.ready) {\n this.$refs.mainCalendar.checkChange()\n }\n },\n },\n computed: {\n cal: function () {\n return this.$refs.mainCalendar\n },\n nowY: function () {\n return this.ready ? this.cal.timeToY(this.cal.times.now) + 'px' : '-10px'\n },\n utc: {\n get() {\n return this.value.utc\n },\n set(value) {\n this.$emit('input', { ...this.value, utc: value }) // input is the default event when using v-model\n },\n },\n focus: {\n get() {\n return this.value.focus\n },\n set(value) {\n this.$emit('input', { ...this.value, focus: value }) // input is the default event when using v-model\n },\n },\n type: {\n get() {\n return this.value.type\n },\n set(value) {\n this.$emit('input', { ...this.value, type: value }) // input is the default event when using v-model\n },\n },\n calendarConfiguration: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n },\n mounted() {\n this.ready = true\n this.scrollToTime()\n this.updateTime()\n this.cal.checkChange()\n },\n methods: {\n prev: function () {\n this.cal.prev()\n },\n next: function () {\n this.cal.next()\n },\n close: function () {\n this.selectedOpen = false\n this.selectedEvent = null\n },\n generateDateTime: function (activity) {\n if (!activity) return ''\n const date = new Date(activity.start * 1000)\n if (this.displayTimeInUtc) {\n return date.toUTCString()\n } else {\n return date.toLocaleString() // TODO: support other locales besides en-US\n }\n },\n getEventColor: function (event) {\n return event.color\n },\n getCurrentTime: function () {\n return this.ready\n ? this.cal.times.now.hour * 60 + this.cal.times.now.minute\n : 0\n },\n scrollToTime: function () {\n const time = this.getCurrentTime()\n const first = Math.max(0, time - (time % 30) - 30)\n this.cal.scrollToTime(first)\n },\n updateTime: function () {\n setInterval(() => this.cal.updateTimes(), 60 * 1000)\n },\n showEvent: function ({ nativeEvent, event }) {\n const open = () => {\n this.selectedEvent = event\n this.selectedElement = nativeEvent.target\n requestAnimationFrame(() =>\n requestAnimationFrame(() => (this.selectedOpen = true))\n )\n }\n if (this.selectedOpen) {\n this.selectedOpen = false\n requestAnimationFrame(() => requestAnimationFrame(() => open()))\n } else {\n open()\n }\n nativeEvent.stopPropagation()\n },\n eventDialog: function () {\n this.showEventDialog = !this.showEventDialog\n },\n updateDialog: function () {\n this.showUpdateDialog = !this.showUpdateDialog\n },\n viewDay: function ({ date }) {\n this.calendarConfiguration = {\n ...this.calendarConfiguration,\n type: 'day',\n focus: date,\n }\n },\n },\n}\n</script>\n\n<style scoped lang=\"scss\">\n.theme--dark .v-card__title,\n.theme--dark .v-card__subtitle {\n background-color: var(--v-secondary-darken3);\n}\n.v-current-time {\n height: 2px;\n background-color: #ea4335;\n position: absolute;\n left: -1px;\n right: 0;\n pointer-events: none;\n\n &.first::before {\n content: '';\n position: absolute;\n background-color: #ea4335;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n margin-top: -5px;\n margin-left: -6.5px;\n }\n}\n</style>\n","import mod from \"-!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EventCalendar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EventCalendar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./EventCalendar.vue?vue&type=template&id=8cfd7c66&scoped=true&\"\nimport script from \"./EventCalendar.vue?vue&type=script&lang=js&\"\nexport * from \"./EventCalendar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./EventCalendar.vue?vue&type=style&index=0&id=8cfd7c66&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8cfd7c66\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-toolbar',{staticClass:\"my-1\"},[_c('v-menu',{attrs:{\"bottom\":\"\",\"right\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-btn',{attrs:{\"data-test\":\"create-event\",\"outlined\":\"\"}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-plus-box\")]),_c('span',[_vm._v(\"Create\")]),_c('v-icon',{attrs:{\"right\":\"\"}},[_vm._v(\"mdi-menu-down\")])],1)],1)]}}])},[_c('v-list',[_c('v-list-item',{attrs:{\"data-test\":\"note\"},on:{\"click\":function($event){_vm.showNoteCreateDialog = true}}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-calendar-clock\")]),_c('v-list-item-title',[_vm._v(\"Note\")])],1),_c('v-list-item',{attrs:{\"data-test\":\"metadata\"},on:{\"click\":function($event){_vm.showMetadataCreateDialog = true}}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-calendar-check\")]),_c('v-list-item-title',[_vm._v(\"Metadata\")])],1),_c('v-list-item',{attrs:{\"data-test\":\"activity\"},on:{\"click\":function($event){_vm.showActivityCreateDialog = true}}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-calendar-question\")]),_c('v-list-item-title',[_vm._v(\"Timeline Activity\")])],1)],1)],1),_c('v-btn',{staticClass:\"mx-3\",attrs:{\"outlined\":\"\",\"data-test\":\"today\"},on:{\"click\":_vm.setToday}},[_vm._v(\" Today \")]),_c('v-btn',{attrs:{\"fab\":\"\",\"text\":\"\",\"small\":\"\",\"data-test\":\"prev\"},on:{\"click\":_vm.prev}},[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\" mdi-chevron-left \")])],1),_c('v-btn',{attrs:{\"fab\":\"\",\"text\":\"\",\"small\":\"\",\"data-test\":\"next\"},on:{\"click\":_vm.next}},[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\" mdi-chevron-right \")])],1),_c('v-spacer'),_c('v-toolbar-title',{domProps:{\"textContent\":_vm._s(_vm.title)}}),_c('v-spacer'),_c('v-menu',{attrs:{\"bottom\":\"\",\"right\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-btn',{staticClass:\"mx-2\",attrs:{\"icon\":\"\",\"data-test\":\"settings\"}},[_c('v-icon',[_vm._v(\" mdi-cog \")])],1)],1)]}}])},[_c('v-list',[_c('v-list-item',{attrs:{\"data-test\":\"refresh\"},on:{\"click\":_vm.refresh}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\" mdi-refresh \")]),_c('v-list-item-title',[_vm._v(\" Refresh Display \")])],1),_c('v-list-item',{attrs:{\"data-test\":\"show-table\"},on:{\"click\":_vm.showTable}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\" mdi-timetable \")]),_c('v-list-item-title',[_vm._v(\" Show Table Display \")])],1),_c('v-list-item',{attrs:{\"data-test\":\"display-utc-time\"},on:{\"click\":_vm.updateTime}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\" mdi-clock \")]),_c('v-list-item-title',[_vm._v(\" Toggle UTC Display \")])],1),_c('v-list-item',{attrs:{\"data-test\":\"download-event-list\"},on:{\"click\":_vm.downloadEvents}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\" mdi-download \")]),_c('v-list-item-title',[_vm._v(\" Download Event List \")])],1)],1)],1),_c('v-menu',{attrs:{\"bottom\":\"\",\"right\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-btn',{attrs:{\"outlined\":\"\",\"data-test\":\"change-type\",\"width\":\"125\"}},[_c('span',[_vm._v(_vm._s(_vm.typeToLabel[_vm.type]))]),_c('v-icon',{attrs:{\"right\":\"\"}},[_vm._v(\" mdi-menu-down \")])],1)],1)]}}])},[_c('v-list',[_c('v-list-item',{attrs:{\"data-test\":\"type-day\"},on:{\"click\":function($event){return _vm.updateType('day')}}},[_c('v-list-item-title',[_vm._v(\" Day \")])],1),_c('v-list-item',{attrs:{\"data-test\":\"type-four-day\"},on:{\"click\":function($event){return _vm.updateType('4day')}}},[_c('v-list-item-title',[_vm._v(\"4 Days\")])],1),_c('v-list-item',{attrs:{\"data-test\":\"type-week\"},on:{\"click\":function($event){return _vm.updateType('week')}}},[_c('v-list-item-title',[_vm._v(\" Week \")])],1)],1)],1)],1),(_vm.showEventTableDialog)?_c('event-list-dialog',{attrs:{\"events\":_vm.events,\"utc\":_vm.utc},model:{value:(_vm.showEventTableDialog),callback:function ($$v) {_vm.showEventTableDialog=$$v},expression:\"showEventTableDialog\"}}):_vm._e(),(_vm.showMetadataCreateDialog)?_c('metadata-create-dialog',{model:{value:(_vm.showMetadataCreateDialog),callback:function ($$v) {_vm.showMetadataCreateDialog=$$v},expression:\"showMetadataCreateDialog\"}}):_vm._e(),(_vm.showNoteCreateDialog)?_c('note-create-dialog',{model:{value:(_vm.showNoteCreateDialog),callback:function ($$v) {_vm.showNoteCreateDialog=$$v},expression:\"showNoteCreateDialog\"}}):_vm._e(),(_vm.showActivityCreateDialog)?_c('activity-create-dialog',{attrs:{\"timelines\":_vm.timelines},model:{value:(_vm.showActivityCreateDialog),callback:function ($$v) {_vm.showActivityCreateDialog=$$v},expression:\"showActivityCreateDialog\"}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\"Events\")]),_c('v-spacer')],1),_c('v-data-table',{staticClass:\"mt-1\",attrs:{\"item-key\":\"eventId\",\"headers\":_vm.eventHeaders,\"items\":_vm.listData},scopedSlots:_vm._u([{key:\"no-data\",fn:function(){return [_c('span',[_vm._v(\" No events \")])]},proxy:true}]),model:{value:(_vm.selected),callback:function ($$v) {_vm.selected=$$v},expression:\"selected\"}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <v-dialog v-model=\"show\" width=\"600\">\n <v-card>\n <v-system-bar>\n <v-spacer />\n <span>Events</span>\n <v-spacer />\n </v-system-bar>\n <v-data-table\n v-model=\"selected\"\n item-key=\"eventId\"\n class=\"mt-1\"\n :headers=\"eventHeaders\"\n :items=\"listData\"\n >\n <template v-slot:no-data>\n <span> No events </span>\n </template>\n </v-data-table>\n </v-card>\n </v-dialog>\n</template>\n\n<script>\nimport { isValid, parse, format, getTime } from 'date-fns'\nimport TimeFilters from '@/tools/Calendar/Filters/timeFilters.js'\n\nexport default {\n components: {},\n mixins: [TimeFilters],\n props: {\n events: {\n type: Array,\n required: true,\n },\n utc: {\n type: Boolean,\n default: true,\n },\n value: {\n type: Boolean,\n required: true,\n },\n },\n data() {\n return {\n selected: [],\n eventHeaders: [\n { text: 'Name', value: 'name' },\n { text: 'Start', value: 'startStr' },\n { text: 'Stop', value: 'stopStr' },\n { text: 'Type', value: 'type' },\n ],\n }\n },\n computed: {\n listData: function () {\n if (!this.events) return []\n let eventId = 0\n return this.events.map((event) => {\n eventId += 1\n let startStr, stopStr\n if (this.utc) {\n startStr = event.start.toUTCString()\n stopStr = event.end.toUTCString()\n } else {\n startStr = event.start.toLocaleString()\n stopStr = event.end.toLocaleString()\n }\n return {\n ...event,\n startStr,\n stopStr,\n eventId,\n }\n })\n },\n show: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n },\n mounted: function () {\n // console.log(this.events)\n },\n methods: {},\n}\n</script>\n","import mod from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EventListDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EventListDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./EventListDialog.vue?vue&type=template&id=2ee43f7e&\"\nimport script from \"./EventListDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./EventListDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-dialog',{attrs:{\"persistent\":\"\",\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.createActivity.apply(null, arguments)}}},[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\"Create Activity\")]),_c('v-spacer'),_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-icon',{attrs:{\"data-test\":\"close-activity-icon\"},on:{\"click\":function($event){_vm.show = !_vm.show}}},[_vm._v(\" mdi-close-box \")])],1)]}}])},[_c('span',[_vm._v(\" Close \")])])],1),_c('v-stepper',{attrs:{\"vertical\":\"\",\"non-linear\":\"\"},model:{value:(_vm.dialogStep),callback:function ($$v) {_vm.dialogStep=$$v},expression:\"dialogStep\"}},[_c('v-stepper-step',{attrs:{\"editable\":\"\",\"step\":\"1\"}},[_vm._v(\" Input start time, stop time \")]),_c('v-stepper-content',{attrs:{\"step\":\"1\"}},[_c('v-card-text',[_c('div',{staticClass:\"pa-2\"},[_c('v-select',{attrs:{\"items\":_vm.timelineNames,\"label\":\"Timeline\",\"data-test\":\"activity-select-timeline\"},scopedSlots:_vm._u([{key:\"item\",fn:function(ref){\nvar item = ref.item;\nvar attrs = ref.attrs;\nvar on = ref.on;\nreturn [_c('v-list-item',_vm._g(_vm._b({attrs:{\"data-test\":(\"activity-select-timeline-\" + item)}},'v-list-item',attrs,false),on),[_c('v-list-item-content',[_c('v-list-item-title',{domProps:{\"textContent\":_vm._s(item)}})],1)],1)]}}]),model:{value:(_vm.timeline),callback:function ($$v) {_vm.timeline=$$v},expression:\"timeline\"}}),_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-text-field',{staticClass:\"mx-1\",attrs:{\"type\":\"date\",\"label\":\"Start Date\",\"rules\":[_vm.rules.required],\"data-test\":\"activity-start-date\"},model:{value:(_vm.startDate),callback:function ($$v) {_vm.startDate=$$v},expression:\"startDate\"}}),_c('v-text-field',{staticClass:\"mx-1\",attrs:{\"type\":\"time\",\"step\":\"1\",\"label\":\"Start Time\",\"rules\":[_vm.rules.required],\"data-test\":\"activity-start-time\"},model:{value:(_vm.startTime),callback:function ($$v) {_vm.startTime=$$v},expression:\"startTime\"}})],1),_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-text-field',{staticClass:\"mx-1\",attrs:{\"type\":\"date\",\"label\":\"End Date\",\"rules\":[_vm.rules.required],\"data-test\":\"activity-stop-date\"},model:{value:(_vm.stopDate),callback:function ($$v) {_vm.stopDate=$$v},expression:\"stopDate\"}}),_c('v-text-field',{staticClass:\"mx-1\",attrs:{\"type\":\"time\",\"step\":\"1\",\"label\":\"End Time\",\"rules\":[_vm.rules.required],\"data-test\":\"activity-stop-time\"},model:{value:(_vm.stopTime),callback:function ($$v) {_vm.stopTime=$$v},expression:\"stopTime\"}})],1),_c('v-row',{staticClass:\"mx-2 mb-2\"},[_c('v-radio-group',{staticClass:\"mt-0\",attrs:{\"row\":\"\",\"hide-details\":\"\"},model:{value:(_vm.utcOrLocal),callback:function ($$v) {_vm.utcOrLocal=$$v},expression:\"utcOrLocal\"}},[_c('v-radio',{attrs:{\"label\":\"LST\",\"value\":\"loc\",\"data-test\":\"lst-radio\"}}),_c('v-radio',{attrs:{\"label\":\"UTC\",\"value\":\"utc\",\"data-test\":\"utc-radio\"}})],1)],1),_c('v-row',[_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.timeError),expression:\"timeError\"}],staticClass:\"ma-2 red--text\",domProps:{\"textContent\":_vm._s(_vm.timeError)}})]),_c('v-row',{staticClass:\"mt-2\"},[_c('v-spacer'),_c('v-btn',{attrs:{\"data-test\":\"create-activity-step-two-btn\",\"color\":\"success\",\"disabled\":!!_vm.timeError},on:{\"click\":function($event){_vm.dialogStep = 2}}},[_vm._v(\" Continue \")])],1)],1)])],1),_c('v-stepper-step',{attrs:{\"editable\":\"\",\"step\":\"2\"}},[_vm._v(\" Activity type input \")]),_c('v-stepper-content',{attrs:{\"step\":\"2\"}},[_c('v-card-text',[_c('div',{staticClass:\"pa-2\"},[_c('v-select',{attrs:{\"items\":_vm.types,\"label\":\"Activity Type\",\"data-test\":\"activity-select-type\"},scopedSlots:_vm._u([{key:\"item\",fn:function(ref){\nvar item = ref.item;\nvar attrs = ref.attrs;\nvar on = ref.on;\nreturn [_c('v-list-item',_vm._g(_vm._b({attrs:{\"data-test\":(\"activity-select-type-\" + item)}},'v-list-item',attrs,false),on),[_c('v-list-item-content',[_c('v-list-item-title',{domProps:{\"textContent\":_vm._s(item)}})],1)],1)]}}]),model:{value:(_vm.kind),callback:function ($$v) {_vm.kind=$$v},expression:\"kind\"}}),(_vm.kind === 'COMMAND')?_c('div',[_c('v-text-field',{attrs:{\"type\":\"text\",\"label\":\"Command Input\",\"placeholder\":\"INST COLLECT with TYPE 0, DURATION 1, OPCODE 171, TEMP 0\",\"prefix\":\"cmd('\",\"suffix\":\"')\",\"hint\":\"Timeline runs commands with cmd_no_hazardous_check\",\"data-test\":\"activity-cmd\"},model:{value:(_vm.activityData),callback:function ($$v) {_vm.activityData=$$v},expression:\"activityData\"}})],1):(_vm.kind === 'SCRIPT')?_c('div',[_c('script-chooser',{on:{\"file\":_vm.fileHandler}}),_c('environment-chooser',{on:{\"selected\":_vm.selectedHandler}})],1):_c('div',[_c('span',{staticClass:\"ma-2\"},[_vm._v(\" No required input \")])]),_c('v-row',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.typeError),expression:\"typeError\"}]},[_c('span',{staticClass:\"ma-2 red--text\",domProps:{\"textContent\":_vm._s(_vm.typeError)}})]),_c('v-row',{staticClass:\"mt-2\"},[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\",\"data-test\":\"create-activity-cancel-btn\"},on:{\"click\":function($event){_vm.show = !_vm.show}}},[_vm._v(\" Cancel \")]),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"type\":\"submit\",\"data-test\":\"create-activity-submit-btn\",\"disabled\":!!_vm.timeError || !!_vm.typeError},on:{\"click\":function($event){$event.preventDefault();return _vm.createActivity.apply(null, arguments)}}},[_vm._v(\" Ok \")])],1)],1)])],1)],1)],1)])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\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 addstopums 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 program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <div>\n <v-dialog persistent v-model=\"show\" width=\"600\">\n <v-card>\n <form @submit.prevent=\"createActivity\">\n <v-system-bar>\n <v-spacer />\n <span>Create Activity</span>\n <v-spacer />\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-icon data-test=\"close-activity-icon\" @click=\"show = !show\">\n mdi-close-box\n </v-icon>\n </div>\n </template>\n <span> Close </span>\n </v-tooltip>\n </v-system-bar>\n <v-stepper v-model=\"dialogStep\" vertical non-linear>\n <v-stepper-step editable step=\"1\">\n Input start time, stop time\n </v-stepper-step>\n <v-stepper-content step=\"1\">\n <v-card-text>\n <div class=\"pa-2\">\n <v-select\n v-model=\"timeline\"\n :items=\"timelineNames\"\n label=\"Timeline\"\n data-test=\"activity-select-timeline\"\n >\n <template v-slot:item=\"{ item, attrs, on }\">\n <v-list-item\n v-on=\"on\"\n v-bind=\"attrs\"\n :data-test=\"`activity-select-timeline-${item}`\"\n >\n <v-list-item-content>\n <v-list-item-title v-text=\"item\" />\n </v-list-item-content>\n </v-list-item>\n </template>\n </v-select>\n <v-row dense>\n <v-text-field\n v-model=\"startDate\"\n type=\"date\"\n label=\"Start Date\"\n class=\"mx-1\"\n :rules=\"[rules.required]\"\n data-test=\"activity-start-date\"\n />\n <v-text-field\n v-model=\"startTime\"\n type=\"time\"\n step=\"1\"\n label=\"Start Time\"\n class=\"mx-1\"\n :rules=\"[rules.required]\"\n data-test=\"activity-start-time\"\n />\n </v-row>\n <v-row dense>\n <v-text-field\n v-model=\"stopDate\"\n type=\"date\"\n label=\"End Date\"\n class=\"mx-1\"\n :rules=\"[rules.required]\"\n data-test=\"activity-stop-date\"\n />\n <v-text-field\n v-model=\"stopTime\"\n type=\"time\"\n step=\"1\"\n label=\"End Time\"\n class=\"mx-1\"\n :rules=\"[rules.required]\"\n data-test=\"activity-stop-time\"\n />\n </v-row>\n <v-row class=\"mx-2 mb-2\">\n <v-radio-group\n v-model=\"utcOrLocal\"\n row\n hide-details\n class=\"mt-0\"\n >\n <v-radio label=\"LST\" value=\"loc\" data-test=\"lst-radio\" />\n <v-radio label=\"UTC\" value=\"utc\" data-test=\"utc-radio\" />\n </v-radio-group>\n </v-row>\n <v-row>\n <span\n class=\"ma-2 red--text\"\n v-show=\"timeError\"\n v-text=\"timeError\"\n />\n </v-row>\n <v-row class=\"mt-2\">\n <v-spacer />\n <v-btn\n @click=\"dialogStep = 2\"\n data-test=\"create-activity-step-two-btn\"\n color=\"success\"\n :disabled=\"!!timeError\"\n >\n Continue\n </v-btn>\n </v-row>\n </div>\n </v-card-text>\n </v-stepper-content>\n <v-stepper-step editable step=\"2\">\n Activity type input\n </v-stepper-step>\n <v-stepper-content step=\"2\">\n <v-card-text>\n <div class=\"pa-2\">\n <v-select\n v-model=\"kind\"\n :items=\"types\"\n label=\"Activity Type\"\n data-test=\"activity-select-type\"\n >\n <template v-slot:item=\"{ item, attrs, on }\">\n <v-list-item\n v-on=\"on\"\n v-bind=\"attrs\"\n :data-test=\"`activity-select-type-${item}`\"\n >\n <v-list-item-content>\n <v-list-item-title v-text=\"item\" />\n </v-list-item-content>\n </v-list-item>\n </template>\n </v-select>\n <div v-if=\"kind === 'COMMAND'\">\n <v-text-field\n v-model=\"activityData\"\n type=\"text\"\n label=\"Command Input\"\n placeholder=\"INST COLLECT with TYPE 0, DURATION 1, OPCODE 171, TEMP 0\"\n prefix=\"cmd('\"\n suffix=\"')\"\n hint=\"Timeline runs commands with cmd_no_hazardous_check\"\n data-test=\"activity-cmd\"\n />\n </div>\n <div v-else-if=\"kind === 'SCRIPT'\">\n <script-chooser @file=\"fileHandler\" />\n <environment-chooser @selected=\"selectedHandler\" />\n </div>\n <div v-else>\n <span class=\"ma-2\"> No required input </span>\n </div>\n <v-row v-show=\"typeError\">\n <span class=\"ma-2 red--text\" v-text=\"typeError\" />\n </v-row>\n <v-row class=\"mt-2\">\n <v-spacer />\n <v-btn\n @click=\"show = !show\"\n outlined\n class=\"mx-2\"\n data-test=\"create-activity-cancel-btn\"\n >\n Cancel\n </v-btn>\n <v-btn\n @click.prevent=\"createActivity\"\n class=\"mx-2\"\n color=\"primary\"\n type=\"submit\"\n data-test=\"create-activity-submit-btn\"\n :disabled=\"!!timeError || !!typeError\"\n >\n Ok\n </v-btn>\n </v-row>\n </div>\n </v-card-text>\n </v-stepper-content>\n </v-stepper>\n </form>\n </v-card>\n </v-dialog>\n </div>\n</template>\n\n<script>\nimport { isValid, parse, format, getTime } from 'date-fns'\nimport Api from '@cosmosc2/tool-common/src/services/api'\nimport EnvironmentChooser from '@cosmosc2/tool-common/src/components/EnvironmentChooser'\nimport ScriptChooser from '@cosmosc2/tool-common/src/components/ScriptChooser'\nimport TimeFilters from '@/tools/Calendar/Filters/timeFilters.js'\n\nexport default {\n components: {\n EnvironmentChooser,\n ScriptChooser,\n },\n props: {\n timelines: {\n type: Array,\n required: true,\n },\n value: Boolean, // value is the default prop when using v-model\n },\n mixins: [TimeFilters],\n data() {\n return {\n timeline: null,\n dialogStep: 1,\n startDate: '',\n startTime: '',\n stopDate: '',\n stopTime: '',\n utcOrLocal: 'loc',\n kind: '',\n types: ['COMMAND', 'SCRIPT', 'RESERVE'],\n activityData: '',\n activityEnvironment: [],\n rules: {\n required: (value) => !!value || 'Required',\n },\n }\n },\n mounted: function () {\n this.updateValues()\n },\n computed: {\n timeError: function () {\n if (!this.timeline) {\n return 'Activity must have a timeline selected.'\n }\n const now = new Date()\n const start = Date.parse(`${this.startDate}T${this.startTime}`)\n const stop = Date.parse(`${this.stopDate}T${this.stopTime}`)\n if (start === stop) {\n return 'Invalid start, stop time. Activity must have different start and stop times.'\n }\n if (now > start) {\n return 'Invalid start time. Activity must be in the future.'\n }\n if (start > stop) {\n return 'Invalid start time. Activity start before stop.'\n }\n return null\n },\n typeError: function () {\n if (this.kind !== 'RESERVE' && !this.activityData) {\n return 'No data is selected or inputted'\n }\n return null\n },\n timelineNames: function () {\n return this.timelines.map((timeline) => {\n return timeline.name\n })\n },\n show: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n },\n methods: {\n changeKind: function (inputKind) {\n if (inputKind === this.kind) {\n return\n }\n this.kind = inputKind\n this.activityData = ''\n },\n fileHandler: function (event) {\n this.activityData = event ? event : null\n },\n selectedHandler: function (event) {\n this.activityEnvironment = event ? event : null\n },\n updateValues: function () {\n this.dialogStep = 1\n this.startDate = format(new Date(), 'yyyy-MM-dd')\n this.startTime = format(new Date(), 'HH:mm:ss')\n this.stopDate = format(new Date(), 'yyyy-MM-dd')\n this.stopTime = format(new Date(), 'HH:mm:ss')\n this.utcOrLocal = 'loc'\n this.kind = ''\n this.activityData = ''\n this.activityEnvironment = []\n },\n createActivity: function () {\n // Call the api to create a new activity to add to the activities array\n const start = this.toIsoString(\n Date.parse(`${this.startDate}T${this.startTime}`)\n )\n const stop = this.toIsoString(\n Date.parse(`${this.stopDate}T${this.stopTime}`)\n )\n const kind = this.kind.toLowerCase()\n let data = { environment: this.activityEnvironment }\n data[kind] = this.activityData\n Api.post(`/cosmos-api/timeline/${this.timeline}/activities`, {\n data: { start, stop, kind, data },\n }).then((response) => {\n const activityTime = this.generateDateTime(\n new Date(response.data.start * 1000)\n )\n this.$notify.normal({\n title: 'Created Activity',\n body: `${activityTime} (${response.data.start}) on timeline: ${response.data.name}`,\n })\n })\n this.show = !this.show\n this.updateValues()\n },\n },\n}\n</script>\n\n<style scoped>\n.v-stepper--vertical .v-stepper__content {\n width: auto;\n margin: 0px 0px 0px 36px;\n padding: 0px;\n}\n</style>\n","import mod from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ActivityCreateDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ActivityCreateDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ActivityCreateDialog.vue?vue&type=template&id=82c43f5e&scoped=true&\"\nimport script from \"./ActivityCreateDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./ActivityCreateDialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ActivityCreateDialog.vue?vue&type=style&index=0&id=82c43f5e&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"82c43f5e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-dialog',{attrs:{\"persistent\":\"\",\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.createMetadata.apply(null, arguments)}}},[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\"Create Metadata\")]),_c('v-spacer'),_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-icon',{attrs:{\"data-test\":\"close-metadata-icon\"},on:{\"click\":function($event){_vm.show = !_vm.show}}},[_vm._v(\" mdi-close-box \")])],1)]}}])},[_c('span',[_vm._v(\"Close\")])])],1),_c('v-stepper',{attrs:{\"vertical\":\"\",\"non-linear\":\"\"},model:{value:(_vm.dialogStep),callback:function ($$v) {_vm.dialogStep=$$v},expression:\"dialogStep\"}},[_c('v-stepper-step',{attrs:{\"editable\":\"\",\"step\":\"1\"}},[_vm._v(\" Input start time \")]),_c('v-stepper-content',{attrs:{\"step\":\"1\"}},[_c('v-card-text',[_c('div',{staticClass:\"pa-2\"},[_c('color-select-form',{model:{value:(_vm.color),callback:function ($$v) {_vm.color=$$v},expression:\"color\"}}),_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-checkbox',{attrs:{\"label\":\"Input Metadata Time\"},model:{value:(_vm.userProvidedTime),callback:function ($$v) {_vm.userProvidedTime=$$v},expression:\"userProvidedTime\"}})],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.userProvidedTime),expression:\"userProvidedTime\"}]},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-text-field',{staticClass:\"mx-1\",attrs:{\"type\":\"date\",\"label\":\"Start Date\",\"rules\":[_vm.rules.required],\"data-test\":\"metadata-start-date\"},model:{value:(_vm.startDate),callback:function ($$v) {_vm.startDate=$$v},expression:\"startDate\"}}),_c('v-text-field',{staticClass:\"mx-1\",attrs:{\"type\":\"time\",\"step\":\"1\",\"label\":\"Start Time\",\"rules\":[_vm.rules.required],\"data-test\":\"metadata-start-time\"},model:{value:(_vm.startTime),callback:function ($$v) {_vm.startTime=$$v},expression:\"startTime\"}})],1),_c('v-row',{staticClass:\"mx-2 mb-2\"},[_c('v-radio-group',{staticClass:\"mt-0\",attrs:{\"row\":\"\",\"hide-details\":\"\"},model:{value:(_vm.utcOrLocal),callback:function ($$v) {_vm.utcOrLocal=$$v},expression:\"utcOrLocal\"}},[_c('v-radio',{attrs:{\"label\":\"LST\",\"value\":\"loc\",\"data-test\":\"lst-radio\"}}),_c('v-radio',{attrs:{\"label\":\"UTC\",\"value\":\"utc\",\"data-test\":\"utc-radio\"}})],1)],1)],1),_c('v-row',[_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.timeError),expression:\"timeError\"}],staticClass:\"ma-2 red--text\",domProps:{\"textContent\":_vm._s(_vm.timeError)}})]),_c('v-row',{staticClass:\"mt-2\"},[_c('v-spacer'),_c('v-btn',{attrs:{\"data-test\":\"create-metadata-step-two-btn\",\"color\":\"success\",\"disabled\":!!_vm.timeError},on:{\"click\":function($event){_vm.dialogStep = 2}}},[_vm._v(\" Continue \")])],1)],1)])],1),_c('v-stepper-step',{attrs:{\"editable\":\"\",\"step\":\"2\"}},[_vm._v(\"Metadata Input\")]),_c('v-stepper-content',{attrs:{\"step\":\"2\"}},[_c('v-card-text',[_c('div',{staticClass:\"pa-2\"},[_c('div',{staticStyle:{\"min-height\":\"200px\"}},[_c('metadata-input-form',{model:{value:(_vm.metadata),callback:function ($$v) {_vm.metadata=$$v},expression:\"metadata\"}})],1),_c('v-row',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.typeError),expression:\"typeError\"}]},[_c('span',{staticClass:\"ma-2 red--text\",domProps:{\"textContent\":_vm._s(_vm.typeError)}})]),_c('v-row',{staticClass:\"mt-2\"},[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\",\"data-test\":\"create-metadata-cancel-btn\"},on:{\"click\":function($event){_vm.show = !_vm.show}}},[_vm._v(\" Cancel \")]),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"type\":\"submit\",\"data-test\":\"create-metadata-submit-btn\",\"disabled\":!!_vm.timeError || !!_vm.typeError},on:{\"click\":function($event){$event.preventDefault();return _vm.createMetadata.apply(null, arguments)}}},[_vm._v(\" Ok \")])],1)],1)])],1)],1)],1)])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\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 addstopums 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 program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <div>\n <v-dialog persistent v-model=\"show\" width=\"600\">\n <v-card>\n <form @submit.prevent=\"createMetadata\">\n <v-system-bar>\n <v-spacer />\n <span>Create Metadata</span>\n <v-spacer />\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-icon data-test=\"close-metadata-icon\" @click=\"show = !show\">\n mdi-close-box\n </v-icon>\n </div>\n </template>\n <span>Close</span>\n </v-tooltip>\n </v-system-bar>\n <v-stepper v-model=\"dialogStep\" vertical non-linear>\n <v-stepper-step editable step=\"1\">\n Input start time\n </v-stepper-step>\n <v-stepper-content step=\"1\">\n <v-card-text>\n <div class=\"pa-2\">\n <color-select-form v-model=\"color\" />\n <v-row dense>\n <v-checkbox\n v-model=\"userProvidedTime\"\n label=\"Input Metadata Time\"\n />\n </v-row>\n <div v-show=\"userProvidedTime\">\n <v-row dense>\n <v-text-field\n v-model=\"startDate\"\n type=\"date\"\n label=\"Start Date\"\n class=\"mx-1\"\n :rules=\"[rules.required]\"\n data-test=\"metadata-start-date\"\n />\n <v-text-field\n v-model=\"startTime\"\n type=\"time\"\n step=\"1\"\n label=\"Start Time\"\n class=\"mx-1\"\n :rules=\"[rules.required]\"\n data-test=\"metadata-start-time\"\n />\n </v-row>\n <v-row class=\"mx-2 mb-2\">\n <v-radio-group\n v-model=\"utcOrLocal\"\n row\n hide-details\n class=\"mt-0\"\n >\n <v-radio\n label=\"LST\"\n value=\"loc\"\n data-test=\"lst-radio\"\n />\n <v-radio\n label=\"UTC\"\n value=\"utc\"\n data-test=\"utc-radio\"\n />\n </v-radio-group>\n </v-row>\n </div>\n <v-row>\n <span\n class=\"ma-2 red--text\"\n v-show=\"timeError\"\n v-text=\"timeError\"\n />\n </v-row>\n <v-row class=\"mt-2\">\n <v-spacer />\n <v-btn\n @click=\"dialogStep = 2\"\n data-test=\"create-metadata-step-two-btn\"\n color=\"success\"\n :disabled=\"!!timeError\"\n >\n Continue\n </v-btn>\n </v-row>\n </div>\n </v-card-text>\n </v-stepper-content>\n <v-stepper-step editable step=\"2\">Metadata Input</v-stepper-step>\n <v-stepper-content step=\"2\">\n <v-card-text>\n <div class=\"pa-2\">\n <div style=\"min-height: 200px\">\n <metadata-input-form v-model=\"metadata\" />\n </div>\n <v-row v-show=\"typeError\">\n <span class=\"ma-2 red--text\" v-text=\"typeError\" />\n </v-row>\n <v-row class=\"mt-2\">\n <v-spacer />\n <v-btn\n @click=\"show = !show\"\n outlined\n class=\"mx-2\"\n data-test=\"create-metadata-cancel-btn\"\n >\n Cancel\n </v-btn>\n <v-btn\n @click.prevent=\"createMetadata\"\n class=\"mx-2\"\n color=\"primary\"\n type=\"submit\"\n data-test=\"create-metadata-submit-btn\"\n :disabled=\"!!timeError || !!typeError\"\n >\n Ok\n </v-btn>\n </v-row>\n </div>\n </v-card-text>\n </v-stepper-content>\n </v-stepper>\n </form>\n </v-card>\n </v-dialog>\n </div>\n</template>\n\n<script>\nimport { isValid, parse, format, getTime } from 'date-fns'\nimport Api from '@cosmosc2/tool-common/src/services/api'\nimport { CosmosApi } from '@cosmosc2/tool-common/src/services/cosmos-api'\n\nimport TimeFilters from '@/tools/Calendar/Filters/timeFilters.js'\nimport ColorSelectForm from '@/tools/Calendar/Forms/ColorSelectForm'\nimport MetadataInputForm from '@/tools/Calendar/Forms/MetadataInputForm'\n\nexport default {\n components: {\n ColorSelectForm,\n MetadataInputForm,\n },\n props: {\n value: Boolean, // value is the default prop when using v-model\n },\n mixins: [TimeFilters],\n data() {\n return {\n scope: localStorage.scope,\n dialogStep: 1,\n startDate: '',\n startTime: '',\n utcOrLocal: 'loc',\n userProvidedTime: false,\n color: '#003784',\n metadata: [],\n rules: {\n required: (value) => !!value || 'Required',\n },\n }\n },\n mounted: function () {\n this.updateValues()\n },\n computed: {\n timeError: function () {\n if (!this.color) {\n return 'A color is required.'\n }\n if (!this.userProvidedTime) {\n return null\n }\n const now = new Date()\n const start = Date.parse(`${this.startDate}T${this.startTime}`)\n if (now < start) {\n return 'Invalid start time. Can not be in the future'\n }\n return null\n },\n typeError: function () {\n if (this.metadata.length < 1) {\n return 'Please enter a value in the metadata table.'\n }\n const emptyKeyValue = this.metadata.find(\n (meta) => meta.key === '' || meta.value === ''\n )\n if (emptyKeyValue) {\n return 'Missing or empty key, value in the metadata table.'\n }\n return null\n },\n show: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n },\n methods: {\n updateValues: function () {\n this.dialogStep = 1\n this.startDate = format(new Date(), 'yyyy-MM-dd')\n this.startTime = format(new Date(), 'HH:mm:ss')\n this.metadata = []\n this.color = '#003784'\n },\n createMetadata: function () {\n const color = this.color\n const metadata = this.metadata.reduce((result, element) => {\n result[element.key] = element.value\n return result\n }, {})\n const data = { color, metadata }\n if (this.userProvidedTime) {\n data.start = this.toIsoString(\n Date.parse(`${this.startDate}T${this.startTime}`)\n )\n }\n Api.post('/cosmos-api/metadata', {\n data,\n }).then((response) => {\n this.$notify.normal({\n title: 'Created new Metadata',\n body: `Metadata: (${response.data.start})`,\n })\n })\n this.show = !this.show\n this.updateValues()\n },\n },\n}\n</script>\n\n<style scoped>\n.v-stepper--vertical .v-stepper__content {\n width: auto;\n margin: 0px 0px 0px 36px;\n padding: 0px;\n}\n</style>\n","import mod from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MetadataCreateDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MetadataCreateDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MetadataCreateDialog.vue?vue&type=template&id=1c3fc848&scoped=true&\"\nimport script from \"./MetadataCreateDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./MetadataCreateDialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MetadataCreateDialog.vue?vue&type=style&index=0&id=1c3fc848&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1c3fc848\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-dialog',{attrs:{\"persistent\":\"\",\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.createNote.apply(null, arguments)}}},[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\"Create Note\")]),_c('v-spacer'),_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-icon',{attrs:{\"data-test\":\"close-note-icon\"},on:{\"click\":function($event){_vm.show = !_vm.show}}},[_vm._v(\" mdi-close-box \")])],1)]}}])},[_c('span',[_vm._v(\" Close \")])])],1),_c('v-stepper',{attrs:{\"vertical\":\"\",\"non-linear\":\"\"},model:{value:(_vm.dialogStep),callback:function ($$v) {_vm.dialogStep=$$v},expression:\"dialogStep\"}},[_c('v-stepper-step',{attrs:{\"editable\":\"\",\"step\":\"1\"}},[_vm._v(\" Input start time, stop time \")]),_c('v-stepper-content',{attrs:{\"step\":\"1\"}},[_c('v-card-text',[_c('div',{staticClass:\"pa-2\"},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-text-field',{staticClass:\"mx-1\",attrs:{\"type\":\"date\",\"label\":\"Start Date\",\"rules\":[_vm.rules.required],\"data-test\":\"note-start-date\"},model:{value:(_vm.startDate),callback:function ($$v) {_vm.startDate=$$v},expression:\"startDate\"}}),_c('v-text-field',{staticClass:\"mx-1\",attrs:{\"type\":\"time\",\"step\":\"1\",\"label\":\"Start Time\",\"rules\":[_vm.rules.required],\"data-test\":\"note-start-time\"},model:{value:(_vm.startTime),callback:function ($$v) {_vm.startTime=$$v},expression:\"startTime\"}})],1),_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-text-field',{staticClass:\"mx-1\",attrs:{\"type\":\"date\",\"label\":\"End Date\",\"rules\":[_vm.rules.required],\"data-test\":\"note-stop-date\"},model:{value:(_vm.stopDate),callback:function ($$v) {_vm.stopDate=$$v},expression:\"stopDate\"}}),_c('v-text-field',{staticClass:\"mx-1\",attrs:{\"type\":\"time\",\"step\":\"1\",\"label\":\"End Time\",\"rules\":[_vm.rules.required],\"data-test\":\"note-stop-time\"},model:{value:(_vm.stopTime),callback:function ($$v) {_vm.stopTime=$$v},expression:\"stopTime\"}})],1),_c('v-row',{staticClass:\"mx-2 mb-2\"},[_c('v-radio-group',{staticClass:\"mt-0\",attrs:{\"row\":\"\",\"hide-details\":\"\"},model:{value:(_vm.utcOrLocal),callback:function ($$v) {_vm.utcOrLocal=$$v},expression:\"utcOrLocal\"}},[_c('v-radio',{attrs:{\"label\":\"LST\",\"value\":\"loc\",\"data-test\":\"lst-radio\"}}),_c('v-radio',{attrs:{\"label\":\"UTC\",\"value\":\"utc\",\"data-test\":\"utc-radio\"}})],1)],1),_c('v-row',[_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.timeError),expression:\"timeError\"}],staticClass:\"ma-2 red--text\",domProps:{\"textContent\":_vm._s(_vm.timeError)}})]),_c('v-row',{staticClass:\"mt-2\"},[_c('v-spacer'),_c('v-btn',{attrs:{\"data-test\":\"create-note-step-two-btn\",\"color\":\"success\",\"disabled\":!!_vm.timeError},on:{\"click\":function($event){_vm.dialogStep = 2}}},[_vm._v(\" Continue \")])],1)],1)])],1),_c('v-stepper-step',{attrs:{\"editable\":\"\",\"step\":\"2\"}},[_vm._v(\" Input Description \")]),_c('v-stepper-content',{attrs:{\"step\":\"2\"}},[_c('v-card-text',[_c('div',{staticClass:\"pa-2\"},[_c('div',[_c('color-select-form',{model:{value:(_vm.color),callback:function ($$v) {_vm.color=$$v},expression:\"color\"}})],1),_c('div',[_c('v-text-field',{attrs:{\"type\":\"text\",\"label\":\"Note Description\",\"data-test\":\"create-note-description\"},model:{value:(_vm.description),callback:function ($$v) {_vm.description=$$v},expression:\"description\"}})],1),_c('v-row',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.typeError),expression:\"typeError\"}]},[_c('span',{staticClass:\"ma-2 red--text\",domProps:{\"textContent\":_vm._s(_vm.typeError)}})]),_c('v-row',{staticClass:\"mt-2\"},[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\",\"data-test\":\"create-note-cancel-btn\"},on:{\"click\":function($event){_vm.show = !_vm.show}}},[_vm._v(\" Cancel \")]),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"type\":\"submit\",\"data-test\":\"create-note-submit-btn\",\"disabled\":!!_vm.timeError || !!_vm.typeError},on:{\"click\":function($event){$event.preventDefault();return _vm.createNote.apply(null, arguments)}}},[_vm._v(\" Ok \")])],1)],1)])],1)],1)],1)])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\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 addstopums 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 program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <div>\n <v-dialog persistent v-model=\"show\" width=\"600\">\n <v-card>\n <form @submit.prevent=\"createNote\">\n <v-system-bar>\n <v-spacer />\n <span>Create Note</span>\n <v-spacer />\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-icon data-test=\"close-note-icon\" @click=\"show = !show\">\n mdi-close-box\n </v-icon>\n </div>\n </template>\n <span> Close </span>\n </v-tooltip>\n </v-system-bar>\n <v-stepper v-model=\"dialogStep\" vertical non-linear>\n <v-stepper-step editable step=\"1\">\n Input start time, stop time\n </v-stepper-step>\n <v-stepper-content step=\"1\">\n <v-card-text>\n <div class=\"pa-2\">\n <v-row dense>\n <v-text-field\n v-model=\"startDate\"\n type=\"date\"\n label=\"Start Date\"\n class=\"mx-1\"\n :rules=\"[rules.required]\"\n data-test=\"note-start-date\"\n />\n <v-text-field\n v-model=\"startTime\"\n type=\"time\"\n step=\"1\"\n label=\"Start Time\"\n class=\"mx-1\"\n :rules=\"[rules.required]\"\n data-test=\"note-start-time\"\n />\n </v-row>\n <v-row dense>\n <v-text-field\n v-model=\"stopDate\"\n type=\"date\"\n label=\"End Date\"\n class=\"mx-1\"\n :rules=\"[rules.required]\"\n data-test=\"note-stop-date\"\n />\n <v-text-field\n v-model=\"stopTime\"\n type=\"time\"\n step=\"1\"\n label=\"End Time\"\n class=\"mx-1\"\n :rules=\"[rules.required]\"\n data-test=\"note-stop-time\"\n />\n </v-row>\n <v-row class=\"mx-2 mb-2\">\n <v-radio-group\n v-model=\"utcOrLocal\"\n row\n hide-details\n class=\"mt-0\"\n >\n <v-radio label=\"LST\" value=\"loc\" data-test=\"lst-radio\" />\n <v-radio label=\"UTC\" value=\"utc\" data-test=\"utc-radio\" />\n </v-radio-group>\n </v-row>\n <v-row>\n <span\n class=\"ma-2 red--text\"\n v-show=\"timeError\"\n v-text=\"timeError\"\n />\n </v-row>\n <v-row class=\"mt-2\">\n <v-spacer />\n <v-btn\n @click=\"dialogStep = 2\"\n data-test=\"create-note-step-two-btn\"\n color=\"success\"\n :disabled=\"!!timeError\"\n >\n Continue\n </v-btn>\n </v-row>\n </div>\n </v-card-text>\n </v-stepper-content>\n <v-stepper-step editable step=\"2\">\n Input Description\n </v-stepper-step>\n <v-stepper-content step=\"2\">\n <v-card-text>\n <div class=\"pa-2\">\n <div>\n <color-select-form v-model=\"color\" />\n </div>\n <div>\n <v-text-field\n v-model=\"description\"\n type=\"text\"\n label=\"Note Description\"\n data-test=\"create-note-description\"\n />\n </div>\n <v-row v-show=\"typeError\">\n <span class=\"ma-2 red--text\" v-text=\"typeError\" />\n </v-row>\n <v-row class=\"mt-2\">\n <v-spacer />\n <v-btn\n @click=\"show = !show\"\n outlined\n class=\"mx-2\"\n data-test=\"create-note-cancel-btn\"\n >\n Cancel\n </v-btn>\n <v-btn\n @click.prevent=\"createNote\"\n class=\"mx-2\"\n color=\"primary\"\n type=\"submit\"\n data-test=\"create-note-submit-btn\"\n :disabled=\"!!timeError || !!typeError\"\n >\n Ok\n </v-btn>\n </v-row>\n </div>\n </v-card-text>\n </v-stepper-content>\n </v-stepper>\n </form>\n </v-card>\n </v-dialog>\n </div>\n</template>\n\n<script>\nimport { isValid, parse, format, getTime } from 'date-fns'\nimport Api from '@cosmosc2/tool-common/src/services/api'\nimport TimeFilters from '@/tools/Calendar/Filters/timeFilters.js'\nimport ColorSelectForm from '@/tools/Calendar/Forms/ColorSelectForm'\n\nexport default {\n components: {\n ColorSelectForm,\n },\n props: {\n value: Boolean, // value is the default prop when using v-model\n },\n mixins: [TimeFilters],\n data() {\n return {\n dialogStep: 1,\n startDate: '',\n startTime: '',\n stopDate: '',\n stopTime: '',\n utcOrLocal: 'loc',\n description: '',\n color: '#8F3400',\n rules: {\n required: (value) => !!value || 'Required',\n },\n }\n },\n mounted: function () {\n this.updateValues()\n },\n computed: {\n timeError: function () {\n const now = new Date()\n const start = Date.parse(`${this.startDate}T${this.startTime}`)\n const stop = Date.parse(`${this.stopDate}T${this.stopTime}`)\n if (start === stop) {\n return 'Invalid start, stop time. Notes must have different start and stop times.'\n }\n if (start > stop) {\n return 'Invalid start time. Notes start before stop.'\n }\n return null\n },\n typeError: function () {\n if (!this.color) {\n return 'A color is required.'\n }\n if (!this.description) {\n return 'A description is required for a valid note.'\n }\n return null\n },\n show: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n },\n methods: {\n updateValues: function () {\n this.dialogStep = 1\n this.startDate = format(new Date(), 'yyyy-MM-dd')\n this.startTime = format(new Date(), 'HH:mm:ss')\n this.stopDate = format(new Date(), 'yyyy-MM-dd')\n this.stopTime = format(new Date(), 'HH:mm:ss')\n this.utcOrLocal = 'loc'\n this.color = '#8F3400'\n this.description = ''\n },\n createNote: function () {\n const start = this.toIsoString(\n Date.parse(`${this.startDate}T${this.startTime}`)\n )\n const stop = this.toIsoString(\n Date.parse(`${this.stopDate}T${this.stopTime}`)\n )\n const color = this.color\n const description = this.description\n Api.post('/cosmos-api/notes', {\n data: { start, stop, color, description },\n }).then((response) => {\n const desc =\n response.data.description.length > 16\n ? `${response.data.description.substring(0, 16)}...`\n : response.data.description\n this.$notify.normal({\n title: 'Created new Note',\n body: `Note: (${response.data.start}) created: \"${desc}\"`,\n })\n })\n this.show = !this.show\n this.updateValues()\n },\n },\n}\n</script>\n\n<style scoped>\n.v-stepper--vertical .v-stepper__content {\n width: auto;\n margin: 0px 0px 0px 36px;\n padding: 0px;\n}\n</style>\n","import mod from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./NoteCreateDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./NoteCreateDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./NoteCreateDialog.vue?vue&type=template&id=49b4c1c5&scoped=true&\"\nimport script from \"./NoteCreateDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./NoteCreateDialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./NoteCreateDialog.vue?vue&type=style&index=0&id=49b4c1c5&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"49b4c1c5\",\n null\n \n)\n\nexport default component.exports","<!--\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <div>\n <v-toolbar class=\"my-1\">\n <v-menu bottom right>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-bind=\"attrs\" v-on=\"on\">\n <v-btn data-test=\"create-event\" outlined>\n <v-icon left>mdi-plus-box</v-icon>\n <span>Create</span>\n <v-icon right>mdi-menu-down</v-icon>\n </v-btn>\n </div>\n </template>\n <v-list>\n <v-list-item data-test=\"note\" @click=\"showNoteCreateDialog = true\">\n <v-icon left>mdi-calendar-clock</v-icon>\n <v-list-item-title>Note</v-list-item-title>\n </v-list-item>\n <v-list-item\n data-test=\"metadata\"\n @click=\"showMetadataCreateDialog = true\"\n >\n <v-icon left>mdi-calendar-check</v-icon>\n <v-list-item-title>Metadata</v-list-item-title>\n </v-list-item>\n <v-list-item\n data-test=\"activity\"\n @click=\"showActivityCreateDialog = true\"\n >\n <v-icon left>mdi-calendar-question</v-icon>\n <v-list-item-title>Timeline Activity</v-list-item-title>\n </v-list-item>\n </v-list>\n </v-menu>\n <v-btn outlined class=\"mx-3\" data-test=\"today\" @click=\"setToday\">\n Today\n </v-btn>\n <v-btn fab text small data-test=\"prev\" @click=\"prev\">\n <v-icon small> mdi-chevron-left </v-icon>\n </v-btn>\n <v-btn fab text small data-test=\"next\" @click=\"next\">\n <v-icon small> mdi-chevron-right </v-icon>\n </v-btn>\n <!--- SPACER --->\n <v-spacer />\n <v-toolbar-title v-text=\"title\" />\n <v-spacer />\n <!--- SPACER --->\n <v-menu bottom right>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-bind=\"attrs\" v-on=\"on\">\n <v-btn icon data-test=\"settings\" class=\"mx-2\">\n <v-icon> mdi-cog </v-icon>\n </v-btn>\n </div>\n </template>\n <v-list>\n <v-list-item data-test=\"refresh\" @click=\"refresh\">\n <v-icon left> mdi-refresh </v-icon>\n <v-list-item-title> Refresh Display </v-list-item-title>\n </v-list-item>\n <v-list-item data-test=\"show-table\" @click=\"showTable\">\n <v-icon left> mdi-timetable </v-icon>\n <v-list-item-title> Show Table Display </v-list-item-title>\n </v-list-item>\n <v-list-item data-test=\"display-utc-time\" @click=\"updateTime\">\n <v-icon left> mdi-clock </v-icon>\n <v-list-item-title> Toggle UTC Display </v-list-item-title>\n </v-list-item>\n <v-list-item data-test=\"download-event-list\" @click=\"downloadEvents\">\n <v-icon left> mdi-download </v-icon>\n <v-list-item-title> Download Event List </v-list-item-title>\n </v-list-item>\n </v-list>\n </v-menu>\n <v-menu bottom right>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-bind=\"attrs\" v-on=\"on\">\n <v-btn outlined data-test=\"change-type\" width=\"125\">\n <span>{{ typeToLabel[type] }}</span>\n <v-icon right> mdi-menu-down </v-icon>\n </v-btn>\n </div>\n </template>\n <v-list>\n <v-list-item data-test=\"type-day\" @click=\"updateType('day')\">\n <v-list-item-title> Day </v-list-item-title>\n </v-list-item>\n <v-list-item data-test=\"type-four-day\" @click=\"updateType('4day')\">\n <v-list-item-title>4 Days</v-list-item-title>\n </v-list-item>\n <v-list-item data-test=\"type-week\" @click=\"updateType('week')\">\n <v-list-item-title> Week </v-list-item-title>\n </v-list-item>\n </v-list>\n </v-menu>\n </v-toolbar>\n <!--- menus --->\n <event-list-dialog\n v-if=\"showEventTableDialog\"\n v-model=\"showEventTableDialog\"\n :events=\"events\"\n :utc=\"utc\"\n />\n <metadata-create-dialog\n v-if=\"showMetadataCreateDialog\"\n v-model=\"showMetadataCreateDialog\"\n />\n <note-create-dialog\n v-if=\"showNoteCreateDialog\"\n v-model=\"showNoteCreateDialog\"\n />\n <activity-create-dialog\n v-if=\"showActivityCreateDialog\"\n v-model=\"showActivityCreateDialog\"\n :timelines=\"timelines\"\n />\n </div>\n</template>\n\n<script>\nimport Api from '@cosmosc2/tool-common/src/services/api'\nimport { format } from 'date-fns'\n\nimport EventListDialog from '@/tools/Calendar/Dialogs/EventListDialog'\nimport ActivityCreateDialog from '@/tools/Calendar/Dialogs/ActivityCreateDialog'\nimport MetadataCreateDialog from '@/tools/Calendar/Dialogs/MetadataCreateDialog'\nimport NoteCreateDialog from '@/tools/Calendar/Dialogs/NoteCreateDialog'\n\nexport default {\n components: {\n EventListDialog,\n ActivityCreateDialog,\n MetadataCreateDialog,\n NoteCreateDialog,\n },\n props: {\n timelines: {\n type: Array,\n required: true,\n },\n events: {\n type: Array,\n required: true,\n },\n value: {\n type: Object,\n required: true,\n },\n },\n data() {\n return {\n typeToLabel: {\n week: 'Week',\n '4day': '4 Days',\n day: 'Day',\n },\n showEventTableDialog: false,\n showActivityCreateDialog: false,\n showMetadataCreateDialog: false,\n showNoteCreateDialog: false,\n }\n },\n computed: {\n monthNames: function () {\n return [\n 'January',\n 'February',\n 'March',\n 'April',\n 'May',\n 'June',\n 'July',\n 'August',\n 'September',\n 'October',\n 'November',\n 'December',\n ]\n },\n title: function () {\n const d = this.value.focus ? new Date(this.value.focus) : new Date()\n const month = this.monthNames[d.getUTCMonth()]\n const year = d.getUTCFullYear()\n return `${month} ${year}`\n },\n utc: function () {\n return this.value.utc\n },\n focus: function () {\n return this.value.focus\n },\n type: function () {\n return this.value.type\n },\n calendarConfiguration: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n },\n methods: {\n downloadEvents: function (type) {\n const output = JSON.stringify(this.events, null, 2)\n const blob = new Blob([output], {\n type: 'application/json',\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(\n 'download',\n format(Date.now(), 'yyyy_MM_dd_HH_mm_ss') + '_calendar_events.json'\n )\n link.click()\n },\n showTable: function () {\n this.showEventTableDialog = !this.showEventTableDialog\n },\n updateTime: function (type) {\n this.calendarConfiguration.utc = !this.calendarConfiguration.utc\n },\n updateType: function (type) {\n this.calendarConfiguration = {\n ...this.calendarConfiguration,\n type: type,\n }\n this.type = type\n },\n setToday: function () {\n this.calendarConfiguration = {\n ...this.calendarConfiguration,\n focus: '',\n }\n },\n prev() {\n this.$emit('action', { method: 'prev' })\n },\n next() {\n this.$emit('action', { method: 'next' })\n },\n refresh() {\n this.$emit('action', { method: 'refresh' })\n },\n },\n}\n</script>\n","import mod from \"-!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CalendarToolbar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CalendarToolbar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CalendarToolbar.vue?vue&type=template&id=c314ce3a&\"\nimport script from \"./CalendarToolbar.vue?vue&type=script&lang=js&\"\nexport * from \"./CalendarToolbar.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-toolbar',{attrs:{\"dense\":\"\"}},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-btn',{attrs:{\"icon\":\"\",\"data-test\":\"create-timeline\"},on:{\"click\":function($event){_vm.showCreateDialog = true}}},[_c('v-icon',[_vm._v(\"mdi-calendar-plus\")])],1)],1)]}}])},[_c('span',[_vm._v(\"Create Timeline\")])]),_c('v-spacer'),_c('v-spacer'),_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-btn',{attrs:{\"icon\":\"\",\"data-test\":\"view-environment-dialog\"},on:{\"click\":function($event){_vm.showEnvironmentDialog = true}}},[_c('v-icon',[_vm._v(\"mdi-library\")])],1)],1)]}}])},[_c('span',[_vm._v(\"Environment Dialog\")])])],1),_c('v-list',{attrs:{\"flat\":\"\"}},[_c('v-subheader',{staticStyle:{\"height\":\"25px\"}},[_vm._v(\"Calendar Events\")]),_c('v-list-item-group',{attrs:{\"multiple\":\"\"},on:{\"change\":_vm.select},model:{value:(_vm.selectedChronicles),callback:function ($$v) {_vm.selectedChronicles=$$v},expression:\"selectedChronicles\"}},[_c('v-list-item',{attrs:{\"data-test\":\"select-metadata\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar active = ref.active;\nreturn [_c('v-list-item-action',[_c('v-checkbox',{attrs:{\"input-value\":active,\"color\":\"white accent-4\"}})],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(\"Metadata\")])],1)]}}])}),_c('v-list-item',{attrs:{\"data-test\":\"select-note\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar active = ref.active;\nreturn [_c('v-list-item-action',[_c('v-checkbox',{attrs:{\"input-value\":active,\"color\":\"white accent-4\"}})],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(\"Notes\")])],1)]}}])})],1),_c('v-subheader',{staticStyle:{\"height\":\"25px\"}},[_vm._v(\"Timelines\")]),_c('v-list-item-group',{attrs:{\"multiple\":\"\"},on:{\"change\":_vm.select},model:{value:(_vm.selectedTimelines),callback:function ($$v) {_vm.selectedTimelines=$$v},expression:\"selectedTimelines\"}},[_vm._l((_vm.timelines),function(timeline){return [_c('v-list-item',{key:(\"timeline-\" + (timeline.name)),attrs:{\"value\":timeline,\"data-test\":(\"select-timeline-\" + (timeline.name))},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar active = ref.active;\nreturn [_c('v-list-item-action',[_c('v-checkbox',{attrs:{\"input-value\":active,\"color\":\"white accent-4\"}})],1),_c('v-list-item-content',[_c('v-badge',{attrs:{\"dot\":\"\",\"bordered\":\"\",\"inline\":\"\",\"tile\":\"\",\"color\":timeline.color,\"value\":timeline.messages}},[_c('v-list-item-title',{domProps:{\"textContent\":_vm._s(timeline.name)}})],1)],1),_c('v-list-item-action',[_c('selector-options',{attrs:{\"timeline\":timeline}})],1)]}}],null,true)})]})],2)],1),_c('environment-dialog',{model:{value:(_vm.showEnvironmentDialog),callback:function ($$v) {_vm.showEnvironmentDialog=$$v},expression:\"showEnvironmentDialog\"}}),_c('timeline-create-dialog',{attrs:{\"timelines\":_vm.timelines},model:{value:(_vm.showCreateDialog),callback:function ($$v) {_vm.showCreateDialog=$$v},expression:\"showCreateDialog\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.addEnvironment.apply(null, arguments)}}},[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\"Environment Variables\")]),_c('v-spacer')],1),_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('v-row',{staticClass:\"mb-2\",attrs:{\"dense\":\"\"}},[_c('v-text-field',{attrs:{\"label\":\"search\",\"type\":\"text\",\"data-test\":\"search\",\"prepend-icon\":\"mdi-magnify\",\"clear-icon\":\"mdi-close-circle-outline\",\"clearable\":\"\",\"autofocus\":\"\",\"single-line\":\"\",\"hide-details\":\"\"},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}})],1),_c('v-data-table',{attrs:{\"item-key\":\"name\",\"hide-default-header\":\"\",\"data-test\":\"env-table\",\"search\":_vm.search,\"headers\":_vm.headers,\"items\":_vm.environment,\"items-per-page\":5,\"footer-props\":{ 'items-per-page-options': [5] }},scopedSlots:_vm._u([{key:\"item.actions\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('v-btn',{staticClass:\"mt-1\",attrs:{\"icon\":\"\",\"data-test\":\"item-delete\"},on:{\"click\":function($event){return _vm.deleteEnvironment(item)}}},[_c('v-icon',[_vm._v(\"mdi-delete\")])],1)]}}])}),_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Key\",\"data-test\":\"env-key\"},model:{value:(_vm.key),callback:function ($$v) {_vm.key=$$v},expression:\"key\"}})],1),_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Value\",\"data-test\":\"env-value\"},model:{value:(_vm.keyValue),callback:function ($$v) {_vm.keyValue=$$v},expression:\"keyValue\"}})],1)],1),_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-btn',{attrs:{\"block\":\"\",\"type\":\"submit\",\"color\":\"primary\",\"data-test\":\"add-env\",\"disabled\":!_vm.key || !_vm.keyValue},on:{\"click\":function($event){$event.preventDefault();return _vm.addEnvironment.apply(null, arguments)}}},[_vm._v(\" Add \")])],1)],1)])],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <v-dialog v-model=\"show\" width=\"600\">\n <v-card>\n <form v-on:submit.prevent=\"addEnvironment\">\n <v-system-bar>\n <v-spacer />\n <span>Environment Variables</span>\n <v-spacer />\n </v-system-bar>\n <v-card-text>\n <div class=\"pa-3\">\n <v-row dense class=\"mb-2\">\n <v-text-field\n v-model=\"search\"\n label=\"search\"\n type=\"text\"\n data-test=\"search\"\n prepend-icon=\"mdi-magnify\"\n clear-icon=\"mdi-close-circle-outline\"\n clearable\n autofocus\n single-line\n hide-details\n />\n </v-row>\n <v-data-table\n item-key=\"name\"\n hide-default-header\n data-test=\"env-table\"\n :search=\"search\"\n :headers=\"headers\"\n :items=\"environment\"\n :items-per-page=\"5\"\n :footer-props=\"{ 'items-per-page-options': [5] }\"\n >\n <template v-slot:item.actions=\"{ item }\">\n <v-btn\n @click=\"deleteEnvironment(item)\"\n icon\n class=\"mt-1\"\n data-test=\"item-delete\"\n >\n <v-icon>mdi-delete</v-icon>\n </v-btn>\n </template>\n </v-data-table>\n <v-row dense>\n <v-col>\n <v-text-field v-model=\"key\" label=\"Key\" data-test=\"env-key\" />\n </v-col>\n <v-col>\n <v-text-field v-model=\"keyValue\" label=\"Value\" data-test=\"env-value\" />\n </v-col>\n </v-row>\n <v-row dense>\n <v-btn\n @click.prevent=\"addEnvironment\"\n block\n type=\"submit\"\n color=\"primary\"\n data-test=\"add-env\"\n :disabled=\"!key || !keyValue\"\n >\n Add\n </v-btn>\n </v-row>\n </div>\n </v-card-text>\n </form>\n </v-card>\n </v-dialog>\n</template>\n\n<script>\nimport Api from '../services/api'\n\nexport default {\n props: {\n value: Boolean, // value is the default prop when using v-model\n },\n data() {\n return {\n alert: '',\n alertType: 'success',\n showAlert: false,\n search: '',\n key: '',\n keyValue: '',\n environment: [],\n headers: [\n {\n text: 'Key',\n value: 'key',\n },\n {\n text: 'Value',\n value: 'value',\n },\n {\n text: 'Actions',\n value: 'actions',\n align: 'end',\n sortable: false,\n },\n ],\n }\n },\n computed: {\n show: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n },\n mounted() {\n this.update()\n },\n methods: {\n alertHandler: function (event) {\n // console.log('alertHandler', event)\n this.alert = event.text\n this.alertType = event.type\n this.showAlert = true\n },\n update: function () {\n Api.get('/cosmos-api/environment')\n .then((response) => {\n this.environment = response.data\n })\n .catch((error) => {\n // TODO: $error.something\n })\n },\n addEnvironment: function () {\n Api.post('/cosmos-api/environment', {\n data: {\n key: this.key.toUpperCase(),\n value: this.keyValue,\n },\n })\n .then((response) => {\n const alertEvent = {\n text: `New environment variable: ${response.data.name}`,\n type: 'success',\n }\n this.update()\n })\n .catch((error) => {\n const alertEvent = {\n text: `Failed to add environment variable: ${error}`,\n type: 'error',\n }\n this.alertHandler(alertEvent)\n })\n this.key = ''\n this.keyValue = ''\n },\n deleteEnvironment: function (env) {\n this.$dialog\n .confirm(`Are you sure you want to delete: ${env.key}=${env.value}`, {\n okText: 'Delete',\n cancelText: 'Cancel',\n })\n .then((dialog) => {\n return Api.delete(`/cosmos-api/environment/${env.name}`)\n })\n .then((response) => {\n const alertEvent = {\n text: `Removed environment variable: ${env.name}`,\n type: 'success',\n }\n this.alertHandler(alertEvent)\n this.update()\n })\n .catch((error) => {\n const alertEvent = {\n text: `Failed to delete environment: ${error}`,\n type: 'error',\n }\n this.alertHandler(alertEvent)\n })\n },\n },\n}\n</script>\n","import mod from \"-!../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EnvironmentDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EnvironmentDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./EnvironmentDialog.vue?vue&type=template&id=1a404e68&\"\nimport script from \"./EnvironmentDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./EnvironmentDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-menu',{attrs:{\"offset-y\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-btn',{attrs:{\"icon\":\"\",\"data-test\":(_vm.name + \"-options\")}},[_c('v-icon',[_vm._v(\"mdi-dots-vertical\")])],1)],1)]}}])},[_c('v-card',[_c('div',{staticStyle:{\"background-color\":\"var(--v-primary-darken2)\"}},_vm._l((_vm.swatches),function(colors,ii){return _c('v-row',{key:(\"colors-\" + ii),staticClass:\"p-2\",attrs:{\"dense\":\"\"}},_vm._l((colors),function(color,jj){return _c('v-col',{key:(\"color-\" + jj),attrs:{\"dense\":\"\",\"align\":\"center\",\"justify\":\"center\"}},[_c('v-btn',{attrs:{\"icon\":\"\",\"data-test\":(_vm.name + \"-color-\" + color)},on:{\"click\":function($event){return _vm.updateColor(color)}}},[_c('v-badge',{attrs:{\"inline\":\"\",\"color\":color}})],1)],1)}),1)}),1),_c('v-btn',{attrs:{\"tile\":\"\",\"data-test\":(_vm.name + \"-delete\")},on:{\"click\":_vm.deleteTimeline}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\" mdi-delete \")]),_c('span',[_vm._v(\" Delete Timeline \")])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <div>\n <v-menu offset-y>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-bind=\"attrs\" v-on=\"on\">\n <v-btn icon :data-test=\"`${name}-options`\">\n <v-icon>mdi-dots-vertical</v-icon>\n </v-btn>\n </div>\n </template>\n <v-card>\n <div style=\"background-color: var(--v-primary-darken2)\">\n <v-row\n dense\n v-for=\"(colors, ii) in swatches\"\n :key=\"`colors-${ii}`\"\n class=\"p-2\"\n >\n <v-col\n dense\n v-for=\"(color, jj) in colors\"\n :key=\"`color-${jj}`\"\n align=\"center\"\n justify=\"center\"\n >\n <v-btn\n icon\n :data-test=\"`${name}-color-${color}`\"\n @click=\"updateColor(color)\"\n >\n <v-badge inline :color=\"color\" />\n </v-btn>\n </v-col>\n </v-row>\n </div>\n <v-btn tile :data-test=\"`${name}-delete`\" @click=\"deleteTimeline\">\n <v-icon left> mdi-delete </v-icon>\n <span> Delete Timeline </span>\n </v-btn>\n </v-card>\n </v-menu>\n </div>\n</template>\n\n<script>\nimport Api from '@cosmosc2/tool-common/src/services/api'\n\nexport default {\n props: {\n timeline: Object,\n },\n data() {\n return {}\n },\n computed: {\n name: function () {\n return this.timeline ? this.timeline.name : ''\n },\n swatches: function () {\n return [\n ['#005a8f', '#003784', '#ff4081', '#df1368'],\n ['#ff5252', '#df323b', '#9f0010', '#2d9437'],\n ['#004700', '#db7200', '#802700', '#0f2941'],\n ]\n },\n },\n methods: {\n deleteTimeline: function () {\n this.$dialog\n .confirm(`Are you sure you want to remove: ${this.name}`, {\n okText: 'Delete',\n cancelText: 'Cancel',\n })\n .then((dialog) => {\n return Api.delete(`/cosmos-api/timeline/${this.name}`)\n })\n .then((response) => {\n this.$notify.normal({\n title: 'Deleted Timeline',\n body: `${this.name} has been deleted.`,\n })\n })\n .catch((error) => {})\n },\n updateColor: function (color) {\n Api.post(`/cosmos-api/timeline/${this.name}/color`, {\n data: { color },\n }).then((response) => {\n this.$notify.normal({\n title: `Color updated on Timeline`,\n body: `Timeline: ${this.name} color update to ${color}`,\n })\n })\n },\n },\n}\n</script>\n","import mod from \"-!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SelectorOptions.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SelectorOptions.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SelectorOptions.vue?vue&type=template&id=fe05ba4c&\"\nimport script from \"./SelectorOptions.vue?vue&type=script&lang=js&\"\nexport * from \"./SelectorOptions.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"persistent\":\"\",\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.submit.apply(null, arguments)}}},[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\"Create Timeline\")]),_c('v-spacer')],1),_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('v-row',[_vm._v(\" Add a timeline to schedule activities on. \")]),_c('v-row',[_c('v-text-field',{attrs:{\"autofocus\":\"\",\"type\":\"text\",\"label\":\"Timeline Name\",\"data-test\":\"input-timeline-name\",\"rules\":[_vm.rules.required]},model:{value:(_vm.timelineName),callback:function ($$v) {_vm.timelineName=$$v},expression:\"timelineName\"}})],1),_c('v-row',{staticClass:\"my-3\"},[_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.error),expression:\"error\"}],staticClass:\"red--text\",domProps:{\"textContent\":_vm._s(_vm.error)}})]),_c('v-row',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\",\"data-test\":\"create-timeline-cancel-btn\"},on:{\"click\":_vm.clear}},[_vm._v(\" Cancel \")]),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"type\":\"submit\",\"color\":\"primary\",\"data-test\":\"create-timeline-submit-btn\",\"disabled\":!!_vm.error},on:{\"click\":function($event){$event.preventDefault();return _vm.submit.apply(null, arguments)}}},[_vm._v(\" Ok \")])],1)],1)])],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <v-dialog persistent v-model=\"show\" width=\"600\">\n <v-card>\n <form v-on:submit.prevent=\"submit\">\n <v-system-bar>\n <v-spacer />\n <span>Create Timeline</span>\n <v-spacer />\n </v-system-bar>\n <v-card-text>\n <div class=\"pa-3\">\n <v-row> Add a timeline to schedule activities on. </v-row>\n <v-row>\n <v-text-field\n v-model=\"timelineName\"\n autofocus\n type=\"text\"\n label=\"Timeline Name\"\n data-test=\"input-timeline-name\"\n :rules=\"[rules.required]\"\n />\n </v-row>\n <v-row class=\"my-3\">\n <span class=\"red--text\" v-show=\"error\" v-text=\"error\" />\n </v-row>\n <v-row>\n <v-spacer />\n <v-btn\n @click=\"clear\"\n outlined\n class=\"mx-2\"\n data-test=\"create-timeline-cancel-btn\"\n >\n Cancel\n </v-btn>\n <v-btn\n @click.prevent=\"submit\"\n class=\"mx-2\"\n type=\"submit\"\n color=\"primary\"\n data-test=\"create-timeline-submit-btn\"\n :disabled=\"!!error\"\n >\n Ok\n </v-btn>\n </v-row>\n </div>\n </v-card-text>\n </form>\n </v-card>\n </v-dialog>\n</template>\n\n<script>\nimport Api from '@cosmosc2/tool-common/src/services/api'\n\nexport default {\n props: {\n timelines: {\n type: Array,\n required: true,\n },\n value: Boolean, // value is the default prop when using v-model\n },\n data() {\n return {\n rules: {\n required: (value) => !!value || 'Required',\n },\n timelineName: '',\n }\n },\n computed: {\n error: function () {\n if (this.timelineName === '') {\n return 'Timeline name can not be blank.'\n }\n const dup = this.timelines.find(\n (timeline) => timeline.name == this.timelineName\n )\n if (dup) {\n return `Timeline must have a unique name. Duplicate timeline name found, ${dup.name}`\n }\n return null\n },\n show: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n },\n methods: {\n clear: function () {\n this.show = !this.show\n this.timelineName = ''\n },\n submit: function () {\n Api.post('/cosmos-api/timeline', {\n data: {\n name: this.timelineName,\n },\n }).then((response) => {\n this.$notify.normal({\n title: 'Created new Timeline',\n body: `Ready to schedule activities on: ${response.data.name}`,\n })\n })\n this.clear()\n },\n },\n}\n</script>\n\n<style scoped>\n.theme--dark .v-card__title,\n.theme--dark .v-card__subtitle {\n background-color: var(--v-secondary-darken3);\n}\n</style>\n","import mod from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TimelineCreateDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TimelineCreateDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TimelineCreateDialog.vue?vue&type=template&id=301c3b8d&scoped=true&\"\nimport script from \"./TimelineCreateDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./TimelineCreateDialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TimelineCreateDialog.vue?vue&type=style&index=0&id=301c3b8d&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"301c3b8d\",\n null\n \n)\n\nexport default component.exports","<!--\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <div>\n <v-toolbar dense>\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-bind=\"attrs\" v-on=\"on\">\n <v-btn\n icon\n data-test=\"create-timeline\"\n @click=\"showCreateDialog = true\"\n >\n <v-icon>mdi-calendar-plus</v-icon>\n </v-btn>\n </div>\n </template>\n <span>Create Timeline</span>\n </v-tooltip>\n <v-spacer />\n <!--- <v-toolbar-title> Timelines </v-toolbar-title> --->\n <v-spacer />\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-bind=\"attrs\" v-on=\"on\">\n <v-btn\n icon\n data-test=\"view-environment-dialog\"\n @click=\"showEnvironmentDialog = true\"\n >\n <v-icon>mdi-library</v-icon>\n </v-btn>\n </div>\n </template>\n <span>Environment Dialog</span>\n </v-tooltip>\n </v-toolbar>\n <!--- SHOW TIMELINES --->\n <v-list flat>\n <v-subheader style=\"height: 25px\">Calendar Events</v-subheader>\n <v-list-item-group multiple v-model=\"selectedChronicles\" @change=\"select\">\n <v-list-item data-test=\"select-metadata\">\n <template v-slot:default=\"{ active }\">\n <v-list-item-action>\n <v-checkbox :input-value=\"active\" color=\"white accent-4\" />\n </v-list-item-action>\n\n <v-list-item-content>\n <v-list-item-title>Metadata</v-list-item-title>\n </v-list-item-content>\n </template>\n </v-list-item>\n <v-list-item data-test=\"select-note\">\n <template v-slot:default=\"{ active }\">\n <v-list-item-action>\n <v-checkbox :input-value=\"active\" color=\"white accent-4\" />\n </v-list-item-action>\n\n <v-list-item-content>\n <v-list-item-title>Notes</v-list-item-title>\n </v-list-item-content>\n </template>\n </v-list-item>\n </v-list-item-group>\n <!--- TIMELINES --->\n <v-subheader style=\"height: 25px\">Timelines</v-subheader>\n <v-list-item-group multiple v-model=\"selectedTimelines\" @change=\"select\">\n <template v-for=\"timeline in timelines\">\n <v-list-item\n :key=\"`timeline-${timeline.name}`\"\n :value=\"timeline\"\n :data-test=\"`select-timeline-${timeline.name}`\"\n >\n <template v-slot:default=\"{ active }\">\n <v-list-item-action>\n <v-checkbox :input-value=\"active\" color=\"white accent-4\" />\n </v-list-item-action>\n\n <v-list-item-content>\n <v-badge\n dot\n bordered\n inline\n tile\n :color=\"timeline.color\"\n :value=\"timeline.messages\"\n >\n <v-list-item-title v-text=\"timeline.name\" />\n </v-badge>\n </v-list-item-content>\n\n <v-list-item-action>\n <selector-options :timeline=\"timeline\" />\n </v-list-item-action>\n </template>\n </v-list-item>\n </template>\n </v-list-item-group>\n </v-list>\n <!--- MENUS --->\n <environment-dialog v-model=\"showEnvironmentDialog\" />\n <timeline-create-dialog v-model=\"showCreateDialog\" :timelines=\"timelines\" />\n </div>\n</template>\n\n<script>\nimport Api from '@cosmosc2/tool-common/src/services/api'\nimport EnvironmentDialog from '@cosmosc2/tool-common/src/components/EnvironmentDialog'\nimport SelectorOptions from '@/tools/Calendar/SelectorOptions'\nimport TimelineCreateDialog from '@/tools/Calendar/Dialogs/TimelineCreateDialog'\n\nexport default {\n components: {\n SelectorOptions,\n TimelineCreateDialog,\n EnvironmentDialog,\n },\n props: {\n timelines: {\n type: Array,\n required: true,\n },\n value: {\n type: Array,\n required: true,\n },\n },\n data() {\n return {\n selectedTimelines: [],\n selectedChronicles: [0, 1],\n showCreateDialog: false,\n showEnvironmentDialog: false,\n }\n },\n mounted: function () {\n this.select()\n },\n computed: {\n sortedTimelines: function () {\n return [...this.timelines].sort((a, b) => (a.name > b.name ? 1 : -1))\n },\n selectedCalendars: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n },\n methods: {\n select: function () {\n let t = this.selectedTimelines.map((timeline) => {\n timeline.messages = 0\n return { ...timeline }\n })\n if (this.selectedChronicles.indexOf(0) > -1) {\n t.push({ type: 'chronicle', name: 'metadata', messages: 0 })\n }\n if (this.selectedChronicles.indexOf(1) > -1) {\n t.push({ type: 'chronicle', name: 'note', messages: 0 })\n }\n this.selectedCalendars = t\n },\n },\n}\n</script>\n\n<style scoped>\n.selected-title {\n background-color: var(--v-secondary-base);\n}\n.available-title {\n background-color: var(--v-primary-darken2);\n}\n</style>\n","import mod from \"-!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CalendarSelector.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CalendarSelector.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CalendarSelector.vue?vue&type=template&id=e2bbd5c0&scoped=true&\"\nimport script from \"./CalendarSelector.vue?vue&type=script&lang=js&\"\nexport * from \"./CalendarSelector.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CalendarSelector.vue?vue&type=style&index=0&id=e2bbd5c0&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e2bbd5c0\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-row',{staticClass:\"px-2 pb-2\",attrs:{\"dense\":\"\"}},[_c('v-toolbar-title',{domProps:{\"textContent\":_vm._s(_vm.title)}}),_c('v-spacer'),_c('v-btn',{attrs:{\"small\":\"\",\"icon\":\"\",\"data-test\":\"mini-prev\"},on:{\"click\":_vm.prev}},[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\" mdi-chevron-left \")])],1),_c('v-btn',{attrs:{\"small\":\"\",\"icon\":\"\",\"data-test\":\"mini-next\"},on:{\"click\":_vm.next}},[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\" mdi-chevron-right \")])],1)],1),_c('v-calendar',{ref:\"sideCalendar\",attrs:{\"show-month-on-first\":false},on:{\"click:date\":_vm.viewDay},model:{value:(_vm.focus),callback:function ($$v) {_vm.focus=$$v},expression:\"focus\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <div>\n <v-row dense class=\"px-2 pb-2\">\n <v-toolbar-title v-text=\"title\" />\n <v-spacer />\n <v-btn small icon data-test=\"mini-prev\" @click=\"prev\">\n <v-icon small> mdi-chevron-left </v-icon>\n </v-btn>\n <v-btn small icon data-test=\"mini-next\" @click=\"next\">\n <v-icon small> mdi-chevron-right </v-icon>\n </v-btn>\n </v-row>\n <v-calendar\n ref=\"sideCalendar\"\n v-model=\"focus\"\n :show-month-on-first=\"false\"\n @click:date=\"viewDay\"\n />\n </div>\n</template>\n\n<script>\nexport default {\n components: {},\n props: {\n value: {\n type: Object,\n required: true,\n },\n },\n data() {\n return {\n focus: '',\n title: '',\n }\n },\n mounted() {\n this.$refs.sideCalendar.checkChange()\n this.title = this.$refs.sideCalendar.title\n },\n computed: {\n calendarConfiguration: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n monthNames: function () {\n return [\n 'January',\n 'February',\n 'March',\n 'April',\n 'May',\n 'June',\n 'July',\n 'August',\n 'September',\n 'October',\n 'November',\n 'December',\n ]\n },\n },\n watch: {\n focus: function () {\n const d = new Date(this.focus)\n const month = this.monthNames[d.getUTCMonth()]\n const year = d.getUTCFullYear()\n this.title = `${month} ${year}`\n },\n },\n methods: {\n viewDay: function ({ date }) {\n this.calendarConfiguration = {\n ...this.calendarConfiguration,\n focus: date,\n }\n },\n prev: function () {\n this.$refs.sideCalendar.prev()\n },\n next: function () {\n this.$refs.sideCalendar.next()\n },\n },\n}\n</script>\n","import mod from \"-!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MiniCalendar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MiniCalendar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MiniCalendar.vue?vue&type=template&id=2a47aa62&\"\nimport script from \"./MiniCalendar.vue?vue&type=script&lang=js&\"\nexport * from \"./MiniCalendar.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\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# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <div>\n <top-bar :title=\"title\" />\n <v-container dense>\n <v-row>\n <v-col class=\"pa-1\">\n <calendar-toolbar\n v-model=\"calendarConfiguration\"\n :timelines=\"timelines\"\n :events=\"calendarEvents\"\n @action=\"actionHandler\"\n />\n </v-col>\n </v-row>\n <v-row>\n <v-col style=\"max-width: 300px\">\n <mini-calendar v-model=\"calendarConfiguration\" />\n <v-divider class=\"my-1\" />\n <calendar-selector\n v-model=\"selectedCalendars\"\n :timelines=\"timelines\"\n />\n </v-col>\n <v-col class=\"pa-1\">\n <event-calendar\n v-model=\"calendarConfiguration\"\n ref=\"eventCalendar\"\n :events=\"calendarEvents\"\n />\n </v-col>\n </v-row>\n </v-container>\n </div>\n</template>\n\n<script>\nimport Api from '@cosmosc2/tool-common/src/services/api'\nimport Cable from '@cosmosc2/tool-common/src/services/cable.js'\nimport TopBar from '@cosmosc2/tool-common/src/components/TopBar'\n\nimport EventCalendar from '@/tools/Calendar/EventCalendar'\nimport CalendarToolbar from '@/tools/Calendar/CalendarToolbar'\nimport CalendarSelector from '@/tools/Calendar/CalendarSelector'\nimport MiniCalendar from '@/tools/Calendar/MiniCalendar'\nimport TimelineMethods from '@/tools/Calendar/Filters/timeFilters.js'\nimport { getTimelineEvents } from '@/tools/Calendar/Filters/timelineFilters.js'\nimport { getChronicleEvents } from '@/tools/Calendar/Filters/chronicleFilters.js'\n\nexport default {\n components: {\n EventCalendar,\n CalendarToolbar,\n CalendarSelector,\n MiniCalendar,\n TopBar,\n },\n mixins: [TimelineMethods],\n data() {\n return {\n title: 'Calendar',\n timelines: [],\n selectedCalendars: [],\n activities: {},\n calendarEvents: [],\n chronicles: { metadata: [], note: [] },\n calendarConfiguration: {\n utc: false,\n focus: '',\n type: '4day',\n },\n channels: ['TimelineEventsChannel', 'CalendarEventsChannel'],\n cable: new Cable(),\n subscriptions: [],\n }\n },\n computed: {\n eventHandlerFunctions: function () {\n return {\n timeline: {\n created: this.createdTimelineFromEvent,\n refresh: this.refreshTimelineFromEvent,\n updated: this.updatedTimelineFromEvent,\n deleted: this.deletedTimelineFromEvent,\n },\n activity: {\n event: this.eventActivityFromEvent,\n created: this.createdActivityFromEvent,\n updated: this.updatedActivityFromEvent,\n deleted: this.deletedActivityFromEvent,\n },\n calendar: {\n created: this.createdChronicleFromEvent,\n updated: this.updatedChronicleFromEvent,\n deleted: this.deletedChronicleFromEvent,\n },\n }\n },\n },\n watch: {\n selectedCalendars: {\n immediate: true,\n handler: function () {\n this.updateActivities()\n },\n },\n chronicles: {\n immediate: true,\n handler: function () {\n this.rebuildCalendarEvents()\n },\n },\n activities: {\n immediate: true,\n handler: function () {\n this.rebuildCalendarEvents()\n },\n },\n },\n created: function () {\n this.subscribe()\n this.getTimelines()\n this.updateMetadata()\n this.updateNotes()\n },\n destroyed: function () {\n this.subscriptions.forEach((subscription) => {\n subscription.unsubscribe()\n })\n this.cable.disconnect()\n },\n methods: {\n actionHandler: function (event) {\n // console.log('actionHandler', event)\n if (event.method === 'next') {\n this.$refs.eventCalendar.next()\n } else if (event.method === 'prev') {\n this.$refs.eventCalendar.prev()\n } else if (event.method === 'refresh') {\n this.refresh()\n }\n },\n rebuildCalendarEvents: function () {\n const timelineEvents = getTimelineEvents(\n this.selectedCalendars,\n this.activities\n )\n const chronicleEvents = getChronicleEvents(\n this.selectedCalendars,\n this.chronicles\n )\n this.calendarEvents = timelineEvents.concat(chronicleEvents)\n },\n refresh: function () {\n this.updateActivities()\n this.updateMetadata()\n this.updateNotes()\n },\n getTimelines: function () {\n Api.get('/cosmos-api/timeline').then((response) => {\n const timelineResponse = response.data\n timelineResponse.forEach((timeline) => {\n timeline.messages = 0\n timeline.type = 'timeline'\n })\n this.timelines = timelineResponse\n })\n },\n updateActivities: function (name = null) {\n // this.activities = {\n // \"timelineName\": [activity1, activity2, etc],\n // \"anotherTimeline\": etc\n // }\n const noLongerNeeded = Object.keys(this.activities).filter(\n (timeline) => !this.selectedCalendars.includes(timeline)\n )\n for (const timeline of noLongerNeeded) {\n delete this.activities[timeline.name]\n }\n if (noLongerNeeded) {\n this.activities = { ...this.activities } // New object reference to force reactivity\n }\n let timelinesToUpdate\n if (name) {\n const inputTimeline = this.timelines.find(\n (timeline) => timeline.name === name\n )\n timelinesToUpdate = inputTimeline && [inputTimeline]\n } else {\n timelinesToUpdate = this.selectedCalendars.filter(\n (calendar) => calendar.type === 'timeline'\n )\n }\n for (const timeline of timelinesToUpdate) {\n timeline.messages = 0\n if (name || !this.activities[timeline.name]) {\n Api.get(`/cosmos-api/timeline/${timeline.name}/activities`).then(\n (response) => {\n this.activities[timeline.name] = response.data\n this.activities = { ...this.activities } // New object reference to force reactivity\n }\n )\n }\n }\n },\n updateMetadata: function () {\n // this.chronicles = {\n // \"metadata\": [event1, event2, etc],\n // \"note\": etc\n // }\n Api.get(`/cosmos-api/metadata`).then((response) => {\n this.chronicles = {\n ...this.chronicles,\n metadata: response.data,\n }\n })\n },\n updateNotes: function () {\n // this.chronicles = {\n // \"note\": [event1, event2, etc],\n // \"metadata\": etc\n // }\n Api.get(`/cosmos-api/notes`).then((response) => {\n this.chronicles = {\n ...this.chronicles,\n note: response.data,\n }\n })\n },\n subscribe: function () {\n this.channels.forEach((channel) => {\n this.cable\n .createSubscription(channel, localStorage.scope, {\n received: (data) => this.received(data),\n })\n .then((subscription) => {\n this.subscriptions.push(subscription)\n })\n })\n },\n received: function (data) {\n const parsed = JSON.parse(data)\n parsed.forEach((event) => {\n event.data = JSON.parse(event.data)\n this.eventHandlerFunctions[event.type][event.kind](event)\n })\n },\n refreshTimelineFromEvent: function (event) {\n this.updateActivities(event.timeline)\n },\n createdTimelineFromEvent: function (event) {\n event.data.messages = 0\n event.data.type = 'timeline'\n this.timelines.push(event.data)\n this.activities[event.timeline] = []\n },\n updatedTimelineFromEvent: function (event) {\n const timelineIndex = this.timelines.findIndex(\n (timeline) => timeline.name === event.timeline\n )\n this.timelines[timelineIndex] = event.data\n this.timelines = this.timelines.slice()\n this.activities = { ...this.activities }\n },\n deletedTimelineFromEvent: function (event) {\n const timelineIndex = this.timelines.findIndex(\n (timeline) => timeline.name === event.timeline\n )\n this.timelines.splice(timelineIndex, timelineIndex >= 0 ? 1 : 0)\n const checkedIndex = this.selectedCalendars.findIndex(\n (timeline) => timeline.name === event.timeline\n )\n this.selectedCalendars.splice(checkedIndex, checkedIndex >= 0 ? 1 : 0)\n },\n createdActivityFromEvent: function (event) {\n this.incrementTimelineMessages(event.timeline)\n if (this.activities.hasOwnProperty(event.timeline)) {\n this.activities[event.timeline].push(event.data)\n this.activities = { ...this.activities }\n }\n },\n eventActivityFromEvent: function (event) {\n this.incrementTimelineMessages(event.timeline)\n if (this.activities.hasOwnProperty(event.timeline)) {\n const activityIndex = this.activities[event.timeline].findIndex(\n (activity) => activity.start === event.data.start\n )\n this.activities[event.timeline][activityIndex] = event.data\n this.activities = { ...this.activities }\n }\n },\n updatedActivityFromEvent: function (event) {\n event.extra = parseInt(event.extra)\n this.incrementTimelineMessages(event.timeline)\n if (this.activities.hasOwnProperty(event.timeline)) {\n const activityIndex = this.activities[event.timeline].findIndex(\n (activity) => activity.start === event.extra\n )\n this.activities[event.timeline][activityIndex] = event.data\n this.activities = { ...this.activities }\n }\n },\n deletedActivityFromEvent: function (event) {\n this.incrementTimelineMessages(event.timeline)\n if (this.activities.hasOwnProperty(event.timeline)) {\n const activityIndex = this.activities[event.timeline].findIndex(\n (activity) => activity.start === event.data.start\n )\n this.activities[event.timeline].splice(\n activityIndex,\n activityIndex >= 0 ? 1 : 0\n )\n this.activities = { ...this.activities }\n }\n },\n incrementTimelineMessages: function (timelineName) {\n if (!this.selectedCalendars.includes(timelineName)) {\n this.timelines.find((timeline) => timeline.name === timelineName)\n .messages++\n }\n },\n createdChronicleFromEvent: function (event) {\n const chronicleType = event.data.type\n this.chronicles[chronicleType].push(event.data)\n this.chronicles = { ...this.chronicles }\n },\n updatedChronicleFromEvent: function (event) {\n event.extra = parseInt(event.extra)\n const chronicleType = event.data.type\n const chronicleIndex = this.chronicles[chronicleType].findIndex(\n (calendarEvent) => calendarEvent.start === event.extra\n )\n this.chronicles[chronicleType][chronicleIndex] = event.data\n this.chronicles = { ...this.chronicles }\n },\n deletedChronicleFromEvent: function (event) {\n const chronicleType = event.data.type\n const chronicleIndex = this.chronicles[chronicleType].findIndex(\n (calendarEvent) => calendarEvent.start === event.data.start\n )\n this.chronicles[chronicleType].splice(\n chronicleIndex,\n chronicleIndex >= 0 ? 1 : 0\n )\n this.chronicles = { ...this.chronicles }\n },\n },\n}\n</script>\n","import mod from \"-!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Calendar.vue?vue&type=template&id=e13a2380&\"\nimport script from \"./Calendar.vue?vue&type=script&lang=js&\"\nexport * from \"./Calendar.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".selected-title[data-v-e2bbd5c0]{background-color:var(--v-secondary-base)}.available-title[data-v-e2bbd5c0]{background-color:var(--v-primary-darken2)}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".v-stepper--vertical .v-stepper__content[data-v-82c43f5e]{width:auto;margin:0 0 0 36px;padding:0}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".v-stepper--vertical .v-stepper__content[data-v-6c8065d7]{width:auto;margin:0 0 0 36px;padding:0}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".v-stepper--vertical .v-stepper__content[data-v-1c3fc848]{width:auto;margin:0 0 0 36px;padding:0}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".v-stepper--vertical .v-stepper__content[data-v-b9464e3c]{width:auto;margin:0 0 0 36px;padding:0}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".v-stepper--vertical .v-stepper__content[data-v-49b4c1c5]{width:auto;margin:0 0 0 36px;padding:0}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".v-stepper--vertical .v-stepper__content[data-v-246a5924]{width:auto;margin:0 0 0 36px;padding:0}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".theme--dark .v-card__subtitle[data-v-301c3b8d],.theme--dark .v-card__title[data-v-301c3b8d]{background-color:var(--v-secondary-darken3)}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".theme--dark .v-card__subtitle[data-v-e57e7e4c],.theme--dark .v-card__title[data-v-e57e7e4c]{background-color:var(--v-secondary-darken3)}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".theme--dark .v-card__subtitle[data-v-49e08040],.theme--dark .v-card__title[data-v-49e08040]{background-color:var(--v-secondary-darken3)}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".theme--dark .v-card__subtitle[data-v-751ff4c1],.theme--dark .v-card__title[data-v-751ff4c1]{background-color:var(--v-secondary-darken3)}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".v-list[data-v-e3bb7458] .v-label{margin-left:5px}.v-list-item__icon[data-v-e3bb7458]{margin-right:15px!important}.v-list-item__title[data-v-e3bb7458]{color:#fff}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".theme--dark .v-card__subtitle[data-v-8cfd7c66],.theme--dark .v-card__title[data-v-8cfd7c66]{background-color:var(--v-secondary-darken3)}.v-current-time[data-v-8cfd7c66]{height:2px;background-color:#ea4335;position:absolute;left:-1px;right:0;pointer-events:none}.v-current-time.first[data-v-8cfd7c66]:before{content:\\\"\\\";position:absolute;background-color:#ea4335;width:12px;height:12px;border-radius:50%;margin-top:-5px;margin-left:-6.5px}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[2]!../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[3]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CalendarSelector.vue?vue&type=style&index=0&id=e2bbd5c0&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"5bc14780\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[2]!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[3]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ActivityCreateDialog.vue?vue&type=style&index=0&id=82c43f5e&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"795b9230\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[2]!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[3]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ActivityUpdateDialog.vue?vue&type=style&index=0&id=6c8065d7&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"567f0371\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[2]!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[3]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MetadataCreateDialog.vue?vue&type=style&index=0&id=1c3fc848&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"489f4310\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[2]!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[3]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MetadataUpdateDialog.vue?vue&type=style&index=0&id=b9464e3c&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"ab8a9958\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[2]!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[3]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./NoteCreateDialog.vue?vue&type=style&index=0&id=49b4c1c5&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"451ab9f1\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[2]!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[3]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./NoteUpdateDialog.vue?vue&type=style&index=0&id=246a5924&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"3b3110a6\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[2]!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[3]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TimelineCreateDialog.vue?vue&type=style&index=0&id=301c3b8d&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"51b8ac78\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[2]!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[3]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ActivityEventForm.vue?vue&type=style&index=0&id=e57e7e4c&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"0017d3b3\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[2]!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[3]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MetadataEventForm.vue?vue&type=style&index=0&id=49e08040&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"74cadd2c\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[2]!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[3]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./NoteEventForm.vue?vue&type=style&index=0&id=751ff4c1&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"0ffcc5b9\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[1]!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[2]!../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[3]!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TopBar.vue?vue&type=style&index=0&id=e3bb7458&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"a2f2c426\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!../../../../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[4]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EventCalendar.vue?vue&type=style&index=0&id=8cfd7c66&scoped=true&lang=scss&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"239ef0cc\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","title","staticClass","timelines","calendarEvents","on","actionHandler","model","value","callback","$$v","calendarConfiguration","expression","staticStyle","selectedCalendars","ref","staticRenderFns","vueInstance","Vue","axiosInstance","axios","baseURL","location","origin","timeout","params","interceptors","response","use","error","status","localStorage","cosmosToken","CosmosAuth","login","href","body","statusText","config","data","message","exception","class","$notify","serious","request","method","url","headers","noAuth","noScope","updateToken","defaultMinValidity","scope","acceptOnlyDefaultHeaders","Accept","fullDefaultHeaders","get","path","put","post","delete","ActionCable","Cable","_cable","disconnect","channel","callbacks","additionalOptions","then","subscriptions","create","token","_l","menu","i","key","scopedSlots","_u","fn","_g","_b","formatDT","domProps","_s","label","_v","radioGroup","option","j","disabled","command","_e","checked","icon","radio","checkbox","style","props","menus","type","default","methods","component","events","getEventColor","showEvent","viewDay","date","week","first","top","nowY","focus","selectedElement","selectedOpen","selectedEvent","utc","close","event","activityEvent","name","activityBadgeIcon","_f","start","end","activityFulfillment","activityKind","activityData","activityEnvironment","activityEvents","updated_at","fulfillment","updateDialog","deleteDialog","activity","showUpdateDialog","filters","time","val","toUTCString","split","toLocaleString","dateTime","toISOString","generateDateTime","toIsoString","nSeconds","Date","tzo","getTimezoneOffset","dif","pad","num","norm","Math","floor","abs","year","getFullYear","month","getMonth","day","getDate","hour","getHours","minute","getMinutes","second","getSeconds","mil","getMilliseconds","timeZone","utcOrLocal","genColor","genIcon","directives","rawName","mixins","required","computed","states","completed","color","failed","updated","queued","created","show","$event","preventDefault","updateActivity","apply","arguments","cancelActivity","dialogStep","rules","startDate","startTime","stopDate","stopTime","timeError","types","kind","fileHandler","selectedHandler","typeError","environmentItems","addEnvironmentItem","proxy","item","deadSelect","newEnvironment","env","readonly","$set","rm","environmentOptions","mounted","selected","set","getEnvironment","Api","loading","items","search","scripts","catch","text","watch","newVal","oldVal","querySelections","setTimeout","components","EnvironmentChooser","ScriptChooser","changeKind","updateValues","environment","stop","ActivityEventTimeline","ActivityUpdateDialog","activityBadgeColor","showEnv","confirm","activityTime","activityStart","timelineName","okText","cancelText","metadataEvent","metadata","updateMetadata","targets","target","CosmosApi","kwparams","id","jsonrpc","keyword_params","Authorization","result","err","Error","json_class","raw","NaN","Infinity","Number","isNaN","POSITIVE_INFINITY","NEGATIVE_INFINITY","exec","interface_name","router_name","packet","log_writer_name","limits_set","target_name","packet_name","value_type","len","length","converted","decode_cosmos_type","item_name","command_name","parameter_name","param_list","Object","prototype","hasOwnProperty","call","encode_cosmos_type","undefined","_cmd","tool","ignored","array","swatches","newMetadata","meta","ColorSelectForm","MetadataInputForm","metadataObj","updateTargets","MetadataUpdateDialog","metadataValues","eventStart","metadataStart","noteEvent","description","note","updateNote","NoteUpdateDialog","noteStart","ActivityEventForm","MetadataEventForm","NoteEventForm","makeTimeline","timeline","activities","messages","makeActivity","timed","getTimelineEvents","filter","calendar","flatMap","calendarInfo","map","makeCalendar","chronicles","makeNoteEvent","_calendar","substring","makeMetadataEvent","getChronicleEvents","EventDialog","showCreateDialog","showEventDialog","cal","prev","next","getCurrentTime","scrollToTime","updateTime","setInterval","requestAnimationFrame","open","nativeEvent","eventDialog","showNoteCreateDialog","showMetadataCreateDialog","showActivityCreateDialog","setToday","refresh","showTable","downloadEvents","typeToLabel","updateType","showEventTableDialog","eventHeaders","listData","eventId","startStr","stopStr","createActivity","timelineNames","createMetadata","userProvidedTime","createNote","EventListDialog","ActivityCreateDialog","MetadataCreateDialog","NoteCreateDialog","monthNames","link","format","showEnvironmentDialog","select","selectedChronicles","active","selectedTimelines","addEnvironment","deleteEnvironment","keyValue","alert","alertType","showAlert","align","sortable","alertHandler","update","colors","ii","jj","updateColor","deleteTimeline","submit","clear","SelectorOptions","TimelineCreateDialog","EnvironmentDialog","sortedTimelines","t","EventCalendar","CalendarToolbar","CalendarSelector","MiniCalendar","TopBar","channels","cable","eventHandlerFunctions","deleted","immediate","handler","destroyed","subscription","rebuildCalendarEvents","getTimelines","timelineResponse","updateActivities","noLongerNeeded","timelinesToUpdate","updateNotes","subscribe","createSubscription","received","parsed","refreshTimelineFromEvent","createdTimelineFromEvent","updatedTimelineFromEvent","deletedTimelineFromEvent","createdActivityFromEvent","eventActivityFromEvent","updatedActivityFromEvent","deletedActivityFromEvent","activityIndex","incrementTimelineMessages","createdChronicleFromEvent","updatedChronicleFromEvent","deletedChronicleFromEvent","chronicleIndex","___CSS_LOADER_EXPORT___","push","module","content","__esModule","locals","exports","add"],"sourceRoot":""}