You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nextcloud-server/dist/encryption-encryption.mjs.map

1 lines
1.0 KiB

{"version":3,"file":"encryption-encryption.mjs","sources":["../build/frontend/apps/encryption/src/encryption.ts"],"sourcesContent":["/*!\n * SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { getCurrentUser } from '@nextcloud/auth'\nimport axios from '@nextcloud/axios'\nimport { showWarning } from '@nextcloud/dialogs'\nimport { generateUrl } from '@nextcloud/router'\n\nwindow.addEventListener('DOMContentLoaded', async function() {\n\tif (getCurrentUser() === null) {\n\t\t// skip for public pages\n\t\treturn\n\t}\n\n\tconst { data } = await axios.get(generateUrl('/apps/encryption/ajax/getStatus'))\n\tif (data.status === 'interactionNeeded') {\n\t\tshowWarning(data.data.message)\n\t}\n})\n"],"names":["getCurrentUser","data","axios","generateUrl","showWarning"],"mappings":"geAUA,OAAO,iBAAiB,mBAAoB,gBAAiB,CAC5D,GAAIA,EAAA,IAAqB,KAExB,OAGD,KAAM,CAAE,KAAAC,GAAS,MAAMC,EAAM,IAAIC,EAAY,iCAAiC,CAAC,EAC3EF,EAAK,SAAW,qBACnBG,EAAYH,EAAK,KAAK,OAAO,CAE/B,CAAC"}