|
|
@ -53,6 +53,7 @@ |
|
|
<script> |
|
|
<script> |
|
|
import Multiselect from '@nextcloud/vue/dist/Components/Multiselect' |
|
|
import Multiselect from '@nextcloud/vue/dist/Components/Multiselect' |
|
|
import valueMixin from './../../mixins/valueMixin' |
|
|
import valueMixin from './../../mixins/valueMixin' |
|
|
|
|
|
import { imagePath } from '@nextcloud/router' |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
name: 'FileMimeType', |
|
|
name: 'FileMimeType', |
|
|
@ -76,12 +77,12 @@ export default { |
|
|
pattern: '/image\\/.*/', |
|
|
pattern: '/image\\/.*/', |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
iconUrl: OC.imagePath('core', 'filetypes/x-office-document'), |
|
|
|
|
|
|
|
|
iconUrl: imagePath('core', 'filetypes/x-office-document'), |
|
|
label: t('workflowengine', 'Office documents'), |
|
|
label: t('workflowengine', 'Office documents'), |
|
|
pattern: '/(vnd\\.(ms-|openxmlformats-).*)$/', |
|
|
pattern: '/(vnd\\.(ms-|openxmlformats-).*)$/', |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
iconUrl: OC.imagePath('core', 'filetypes/application-pdf'), |
|
|
|
|
|
|
|
|
iconUrl: imagePath('core', 'filetypes/application-pdf'), |
|
|
label: t('workflowengine', 'PDF documents'), |
|
|
label: t('workflowengine', 'PDF documents'), |
|
|
pattern: 'application/pdf', |
|
|
pattern: 'application/pdf', |
|
|
}, |
|
|
}, |
|
|
|