%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/activity/js/
Upload File :
Create Path :
Current File : //www/varak.net/nextcloud.varak.net/apps_old/apps/activity/js/activity-adminSettings.mjs.map

{"version":3,"file":"activity-adminSettings.mjs","sources":["../src/views/AdminSettings.vue","../src/views/DefaultActivitySettings.vue","../src/settings-admin.js"],"sourcesContent":["<!--\n  - SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n  - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<template>\n\t<NcSettingsSection :name=\"t('activity', 'Notification')\">\n\t\t<NcCheckboxRadioSwitch type=\"checkbox\"\n\t\t\t:checked=\"emailEnabled\"\n\t\t\t@update:checked=\"toggleEmailEnabled({emailEnabled: $event})\">\n\t\t\t{{ t('activity', 'Enable notification emails') }}\n\t\t</NcCheckboxRadioSwitch>\n\t</NcSettingsSection>\n</template>\n\n<script>\nimport { mapActions, mapState } from 'vuex'\nimport NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch.js'\nimport NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection.js'\n\nexport default {\n\tname: 'AdminSettings',\n\tcomponents: {\n\t\tNcCheckboxRadioSwitch,\n\t\tNcSettingsSection,\n\t},\n\n\tcomputed: {\n\t\t...mapState({\n\t\t\temailEnabled: 'emailEnabled',\n\t\t}),\n\t\tsettingDescription() {\n\t\t\tif (this.emailEnabled) {\n\t\t\t\treturn t('activity', 'Choose for which activities you want to get an email or push notification.')\n\t\t\t} else {\n\t\t\t\treturn t('activity', 'Choose for which activities you want to get a push notification.')\n\t\t\t}\n\t\t},\n\t},\n\n\tmounted() {\n\t\tthis.setEndpoint({ endpoint: '/apps/activity/settings/admin' })\n\t},\n\n\tmethods: {\n\t\t...mapActions([\n\t\t\t'setEndpoint',\n\t\t\t'toggleEmailEnabled',\n\t\t]),\n\t},\n}\n\n</script>\n","<!--\n  - SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n  - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<template>\n\t<NcSettingsSection :name=\"t('activity', 'Default settings')\"\n\t\t:description=\"t('activity', 'Configure the default notification settings for new accounts.')\">\n\t\t<ActivityGrid />\n\t</NcSettingsSection>\n</template>\n\n<script>\nimport { mapActions, mapState } from 'vuex'\nimport NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection.js'\nimport ActivityGrid from '../components/ActivityGrid.vue'\n\nexport default {\n\tname: 'DefaultActivitySettings',\n\tcomponents: {\n\t\tActivityGrid,\n\t\tNcSettingsSection,\n\t},\n\n\tcomputed: {\n\t\t...mapState({\n\t\t\temailEnabled: 'emailEnabled',\n\t\t}),\n\t},\n\n\tmounted() {\n\t\tthis.setEndpoint({ endpoint: '/apps/activity/settings/admin' })\n\t},\n\n\tmethods: {\n\t\t...mapActions([\n\t\t\t'setEndpoint',\n\t\t\t'toggleEmailEnabled',\n\t\t]),\n\t},\n}\n\n</script>\n","/**\n * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport Vue from 'vue'\nimport Vuex from 'vuex'\n\nimport AdminSettings from './views/AdminSettings.vue'\nimport DefaultActivitySettings from './views/DefaultActivitySettings.vue'\nimport { translate as t, translatePlural as n } from '@nextcloud/l10n'\nimport store from './store/settings-store.js'\n\nVue.prototype.t = t\nVue.prototype.n = n\n\nVue.use(Vuex)\n\nexport default {\n\tadminSetting: new Vue({\n\t\tel: '#activity-admin-settings',\n\t\tstore,\n\t\tname: 'ActivityPersonalSettings',\n\t\trender: h => h(AdminSettings),\n\t}),\n\tdefaultSetting: new Vue({\n\t\tel: '#activity-default-settings',\n\t\tstore,\n\t\tname: 'ActivityDefaultSettings',\n\t\trender: h => h(DefaultActivitySettings),\n\t}),\n}\n"],"names":["_sfc_main","NcCheckboxRadioSwitch","NcSettingsSection","mapState","mapActions","ActivityGrid","Vue","t","n","Vuex","store","h","AdminSettings","DefaultActivitySettings"],"mappings":";oTAoBA,MAAAA,EAAA,CACA,KAAA,gBACA,WAAA,CACA,sBAAAC,EACA,kBAAAC,CACA,EAEA,SAAA,CACA,GAAAC,EAAA,CACA,aAAA,cACA,CAAA,EACA,oBAAA,CACA,OAAA,KAAA,aACA,EAAA,WAAA,4EAAA,EAEA,EAAA,WAAA,kEAAA,CAEA,CACA,EAEA,SAAA,CACA,KAAA,YAAA,CAAA,SAAA,+BAAA,CAAA,CACA,EAEA,QAAA,CACA,GAAAC,EAAA,CACA,cACA,oBACA,CAAA,CACA,CACA,qZCjCAJ,EAAA,CACA,KAAA,0BACA,WAAA,CACA,aAAAK,EACA,kBAAAH,CACA,EAEA,SAAA,CACA,GAAAC,EAAA,CACA,aAAA,cACA,CAAA,CACA,EAEA,SAAA,CACA,KAAA,YAAA,CAAA,SAAA,+BAAA,CAAA,CACA,EAEA,QAAA,CACA,GAAAC,EAAA,CACA,cACA,oBACA,CAAA,CACA,CACA,uSC3BAE,EAAI,UAAU,EAAIC,EAClBD,EAAI,UAAU,EAAIE,EAElBF,EAAI,IAAIG,CAAI,EAGG,IAAIH,EAAI,CACrB,GAAI,2BACJ,MAAAI,EACA,KAAM,2BACN,OAAQC,GAAKA,EAAEC,CAAa,CAC9B,CAAE,EACe,IAAIN,EAAI,CACvB,GAAI,6BACJ,MAAAI,EACA,KAAM,0BACN,OAAQC,GAAKA,EAAEE,CAAuB,CACxC,CAAE"}

Zerion Mini Shell 1.0