// create the main application export const gPrepareApp = Vue.createApp( { //eslint-disable-line no-undef template: "", } ) ; $(document).ready( () => { gPrepareApp.mount( "#prepare-app" ) ; } ) ; // parse any URL parameters let gUrlParams = new URLSearchParams( window.location.search.substring(1) ) ; let gProgressPanel = null ; // -------------------------------------------------------------------- gPrepareApp.component( "prepare-app", { data() { return { isLoaded: false, isProcessing: false, downloadUrl: null, fatalErrorMsg: gHaveGhostscript ? null : "Ghostscript is not available.", //eslint-disable-line no-undef fatalErrorIconUrl: makeImageUrl( "error.png" ), } ; }, template: `
{{fatalErrorMsg}}