From ec01e0a790448fff38364f629a4de4edb5d465bf Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Wed, 13 Nov 2019 12:05:10 +0000 Subject: Bump eslint-config-nextcloud from 0.0.6 to 0.1.0 Bumps [eslint-config-nextcloud](https://github.com/nextcloud/eslint-config-nextcloud) from 0.0.6 to 0.1.0. - [Release notes](https://github.com/nextcloud/eslint-config-nextcloud/releases) - [Commits](https://github.com/nextcloud/eslint-config-nextcloud/compare/v0.0.6...v0.1.0) Co-authored-by: Christoph Wurst Signed-off-by: dependabot-preview[bot] Signed-off-by: Christoph Wurst --- apps/workflowengine/src/components/Check.vue | 20 +++++++-------- .../src/components/Checks/FileMimeType.vue | 28 ++++++++++---------- .../src/components/Checks/FileSystemTag.vue | 14 +++++----- .../Checks/MultiselectTag/MultiselectTag.vue | 22 ++++++++-------- .../src/components/Checks/MultiselectTag/api.js | 8 +++--- .../src/components/Checks/RequestTime.vue | 18 ++++++------- .../src/components/Checks/RequestURL.vue | 30 +++++++++++----------- .../src/components/Checks/RequestUserAgent.vue | 18 ++++++------- .../src/components/Checks/RequestUserGroup.vue | 20 +++++++-------- apps/workflowengine/src/components/Checks/file.js | 22 ++++++++-------- .../src/components/Checks/request.js | 18 ++++++------- apps/workflowengine/src/components/Event.vue | 12 ++++----- apps/workflowengine/src/components/Operation.vue | 8 +++--- apps/workflowengine/src/components/Rule.vue | 18 ++++++------- apps/workflowengine/src/components/Workflow.vue | 14 +++++----- apps/workflowengine/src/helpers/api.js | 2 +- apps/workflowengine/src/mixins/valueMixin.js | 16 ++++++------ apps/workflowengine/src/store.js | 18 ++++++------- apps/workflowengine/src/workflowengine.js | 4 +-- 19 files changed, 155 insertions(+), 155 deletions(-) (limited to 'apps/workflowengine/src') diff --git a/apps/workflowengine/src/components/Check.vue b/apps/workflowengine/src/components/Check.vue index a553e1cf2ce..e77b9a0646f 100644 --- a/apps/workflowengine/src/components/Check.vue +++ b/apps/workflowengine/src/components/Check.vue @@ -51,20 +51,20 @@ export default { components: { ActionButton, Actions, - Multiselect + Multiselect, }, directives: { - ClickOutside + ClickOutside, }, props: { check: { type: Object, - required: true + required: true, }, rule: { type: Object, - required: true - } + required: true, + }, }, data() { return { @@ -72,7 +72,7 @@ export default { currentOption: null, currentOperator: null, options: [], - valid: true + valid: true, } }, computed: { @@ -92,12 +92,12 @@ export default { return this.currentOption.placeholder(this.check) } return '' - } + }, }, watch: { 'check.operator': function() { this.validate() - } + }, }, mounted() { this.options = Object.values(this.checks) @@ -127,8 +127,8 @@ export default { this.check.invalid = !this.validate() this.$emit('update', this.check) - } - } + }, + }, } diff --git a/apps/workflowengine/src/components/Checks/FileMimeType.vue b/apps/workflowengine/src/components/Checks/FileMimeType.vue index e91636f5130..a9577c097de 100644 --- a/apps/workflowengine/src/components/Checks/FileMimeType.vue +++ b/apps/workflowengine/src/components/Checks/FileMimeType.vue @@ -57,10 +57,10 @@ import valueMixin from './../../mixins/valueMixin' export default { name: 'FileMimeType', components: { - Multiselect + Multiselect, }, mixins: [ - valueMixin + valueMixin, ], data() { return { @@ -68,19 +68,19 @@ export default { { icon: 'icon-picture', label: t('workflowengine', 'Images'), - pattern: '/image\\/.*/' + pattern: '/image\\/.*/', }, { iconUrl: OC.imagePath('core', 'filetypes/x-office-document'), label: t('workflowengine', 'Office documents'), - pattern: '/(vnd\\.(ms-|openxmlformats-).*))$/' + pattern: '/(vnd\\.(ms-|openxmlformats-).*))$/', }, { iconUrl: OC.imagePath('core', 'filetypes/application-pdf'), label: t('workflowengine', 'PDF documents'), - pattern: 'application/pdf' - } - ] + pattern: 'application/pdf', + }, + ], } }, computed: { @@ -98,7 +98,7 @@ export default { return { icon: 'icon-settings-dark', label: t('workflowengine', 'Custom mimetype'), - pattern: '' + pattern: '', } }, currentValue() { @@ -109,14 +109,14 @@ export default { return { icon: 'icon-settings-dark', label: t('workflowengine', 'Custom mimetype'), - pattern: this.newValue + pattern: this.newValue, } - } + }, }, methods: { validateRegex(string) { - var regexRegex = /^\/(.*)\/([gui]{0,3})$/ - var result = regexRegex.exec(string) + const regexRegex = /^\/(.*)\/([gui]{0,3})$/ + const result = regexRegex.exec(string) return result !== null }, setValue(value) { @@ -129,8 +129,8 @@ export default { updateCustom(event) { this.newValue = event.target.value this.$emit('input', this.newValue) - } - } + }, + }, }