1 line
No EOL
1.8 KiB
Text
1 line
No EOL
1.8 KiB
Text
{"version":3,"file":"page-myreport.min.js","sources":["../src/page-myreport.js"],"sourcesContent":["/* eslint no-unused-vars: \"off\" */\n/* eslint-env es6*/\n// Put this file in path/to/plugin/amd/src\n// You can call it anything you like\n\nimport Vue from './vue/vue';\n\nimport {loadStrings} from './util/string-helper';\n\nimport RVComponents from './report-viewer-components';\nVue.use(RVComponents);\nimport PortalVue from './portal-vue/portal-vue.esm';\nVue.use(PortalVue);\nimport BootstrapVue from './bootstrap-vue/bootstrap-vue';\nimport { settings } from './util/settings';\nVue.use(BootstrapVue);\n\nlet strings = loadStrings({\n myreport: {\n manageInvites: \"manage_invites\",\n },\n});\n\n/**\n * Initialize the Page\n * @param {string} type Type of page to show\n * @param {Object} key Invitekey or userid of another user\n * @param {boolean} enableplansharing True if studyplan sharing is enabled\n */\n export function init(type = \"own\", key, enableplansharing) {\n let app = new Vue({\n el: '#root',\n data: {\n studyplans: [],\n type: type,\n invitekey: (type == \"invited\") ? key : null,\n userid: (type == \"other\") ? key : null,\n text: strings.myreport,\n enableplansharing: enableplansharing,\n },\n methods: {\n },\n });\n\n}\n\n"],"names":["type","key","enableplansharing","Vue","el","data","studyplans","invitekey","userid","text","strings","myreport","methods","use","RVComponents","PortalVue","BootstrapVue","manageInvites"],"mappings":"gdA6BsBA,4DAAO,MAAOC,2CAAKC,yDAC3B,IAAIC,aAAI,CACdC,GAAI,QACJC,KAAM,CACFC,WAAY,GACZN,KAAMA,KACNO,UAAoB,WAARP,KAAqBC,IAAM,KACvCO,OAAiB,SAARR,KAAmBC,IAAM,KAClCQ,KAAMC,QAAQC,SACdT,kBAAmBA,mBAEvBU,QAAS,+NA9BbC,IAAIC,8CAEJD,IAAIE,iCAGJF,IAAIG,2BAEJN,SAAU,6BAAY,CACtBC,SAAU,CACNM,cAAe"} |