{"version":3,"file":"AppSetup-CjgtJWbk.js","sources":["../../../resources/js/services/systemService.js","../../../resources/js/components/VersionChecker.vue","../../../resources/js/views/admin/AppSetup.vue"],"sourcesContent":["import { httpClientFactory } from '@/services/httpClientFactory'\n\nconst webClient = httpClientFactory('web')\n\nexport default {\n /**\n * \n * @returns Promise\n */\n getSystemInfos(config = {}) {\n return webClient.get('system/infos', { ...config })\n },\n\n /**\n * \n * @returns Promise\n */\n getLastRelease(config = {}) {\n return webClient.get('system/latestRelease', { ...config })\n },\n\n /**\n * \n * @returns Promise\n */\n sendTestEmail(config = {}) {\n return webClient.post('system/test-email', { ...config })\n },\n\n /**\n * \n * @returns Promise\n */\n clearCache(config = {}) {\n return webClient.get('system/clear-cache', { ...config })\n },\n\n /**\n * \n * @returns Promise\n */\n optimize(config = {}) {\n return webClient.get('system/optimize', { ...config })\n },\n \n}","\n\n\n \n \n {{ $t('admin.check_now') }}\n \n \n \n \n {{ $t('admin.x_is_available', { version: appSettings.latestRelease }) }} {{ $t('admin.view_on_github') }}\n \n \n {{ $t('commons.you_are_up_to_date') }}\n \n \n {{ $t('errors.check_failed_try_later') }}\n \n \n \n \n\n","\n\n\n \n \n \n \n \n {{ $t('settings.general') }}\n \n useAppSettingsUpdater('checkForUpdate', val)\" fieldName=\"checkForUpdate\" label=\"commons.check_for_update\" help=\"commons.check_for_update_help\" />\n \n \n \n \n \n \n \n \n \n \n \n \n \n {{ $t('commons.send') }}\n \n \n \n \n \n \n \n \n \n {{ healthEndPointFullPath }}\n \n {{ $t('admin.storage') }}\n \n useAppSettingsUpdater('storeIconsInDatabase', val)\" fieldName=\"storeIconsInDatabase\" label=\"admin.forms.store_icon_to_database.label\" help=\"admin.forms.store_icon_to_database.help\" />\n {{ $t('settings.security') }}\n \n useAppSettingsUpdater('useEncryption', val)\" fieldName=\"useEncryption\" label=\"admin.forms.use_encryption.label\" help=\"admin.forms.use_encryption.help\" />\n \n\n {{ $t('commons.environment') }}\n \n \n \n \n \n \n \n \n \n {{ $t('commons.clear') }}\n \n \n \n \n \n \n \n \n \n \n \n {{ preference }}: {{ value }}\n \n \n \n \n {{ $t('errors.error_during_data_fetching') }}\n \n \n \n \n \n \n \n"],"names":["webClient","httpClientFactory","systemService","config","appSettings","useAppSettingsStore","isScanning","ref","isUpToDate","getLatestRelease","response","$2fauth","inject","user","useUserStore","notify","useNotifyStore","returnTo","useStorage","infos","listInfos","isSendingTestEmail","isClearingCache","healthEndPoint","healthEndPointFullPath","sendTestEmail","clearCache","trans","onBeforeRouteLeave","to","onMounted"],"mappings":"2aAEA,MAAMA,EAAYC,EAAkB,KAAK,EAE1BC,EAAA,CAKX,eAAeC,EAAS,GAAI,CACxB,OAAOH,EAAU,IAAI,eAAgB,CAAE,GAAGG,CAAQ,CAAA,CACrD,EAMD,eAAeA,EAAS,GAAI,CACxB,OAAOH,EAAU,IAAI,uBAAwB,CAAE,GAAGG,CAAQ,CAAA,CAC7D,EAMD,cAAcA,EAAS,GAAI,CACvB,OAAOH,EAAU,KAAK,oBAAqB,CAAE,GAAGG,CAAQ,CAAA,CAC3D,EAMD,WAAWA,EAAS,GAAI,CACpB,OAAOH,EAAU,IAAI,qBAAsB,CAAE,GAAGG,CAAQ,CAAA,CAC3D,EAMD,SAASA,EAAS,GAAI,CAClB,OAAOH,EAAU,IAAI,kBAAmB,CAAE,GAAGG,CAAQ,CAAA,CACxD,CAEL,6QCxCI,MAAMC,EAAcC,EAAmB,EACjCC,EAAaC,EAAI,EAAK,EACtBC,EAAaD,EAAG,EAEtB,eAAeE,GAAmB,CAC9BH,EAAW,MAAQ,GACnBE,EAAW,MAAQ,OAEnB,MAAMN,EAAc,eAAe,CAAC,YAAa,EAAI,CAAC,EACrD,KAAKQ,GAAY,CACdN,EAAY,cAAgBM,EAAS,KAAK,WAC1CF,EAAW,MAAQE,EAAS,KAAK,aAAe,KAAO,KAAOA,EAAS,KAAK,aAAe,EAC9F,CAAA,EACA,MAAM,IAAM,CACTF,EAAW,MAAQ,IACtB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