Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 846b84ec authored by Thomas Citharel's avatar Thomas Citharel Committed by GitHub
Browse files

Bump eslint-config-nextcloud from 0.0.6 to 0.1.0 (#1601)

Bump eslint-config-nextcloud from 0.0.6 to 0.1.0
parents 00be7115 d834280d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -6428,9 +6428,9 @@
      }
    },
    "eslint-config-nextcloud": {
      "version": "0.0.6",
      "resolved": "https://registry.npmjs.org/eslint-config-nextcloud/-/eslint-config-nextcloud-0.0.6.tgz",
      "integrity": "sha512-ktCzXVA8GrqZVljutkBKOq2hgKvzKyLhNCAB5bCjdmMo7DIky2ZYeMtDmiEUZCPoXbSJY0kyvnZPbcN4VYzyCg==",
      "version": "0.1.0",
      "resolved": "https://registry.npmjs.org/eslint-config-nextcloud/-/eslint-config-nextcloud-0.1.0.tgz",
      "integrity": "sha512-qaxA/OZzfa4G4JQt0UGNs8uJcKsln7UM71R2vdiSpcgKW5hJ6tqtPP7RExS+4osBOl7ntiXihg9bj7PUwqsNaA==",
      "dev": true
    },
    "eslint-config-standard": {
+1 −1
Original line number Diff line number Diff line
@@ -84,7 +84,7 @@
		"browserslist-config-nextcloud": "0.1.0",
		"css-loader": "^3.2.0",
		"eslint": "^5.16.0",
		"eslint-config-nextcloud": "0.0.6",
		"eslint-config-nextcloud": "0.1.0",
		"eslint-config-standard": "^12.0.0",
		"eslint-friendly-formatter": "^4.0.1",
		"eslint-loader": "^3.0.2",
+4 −4
Original line number Diff line number Diff line
@@ -42,13 +42,13 @@ export default {
		AppNavigationHeaderDatePicker,
		AppNavigationHeaderTodayButton,
		AppNavigationHeaderNewEvent,
		AppNavigationHeaderViewMenu
		AppNavigationHeaderViewMenu,
	},
	props: {
		isPublic: {
			type: Boolean,
			required: true
		}
	}
			required: true,
		},
	},
}
</script>
+11 −11
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@
import {
	getYYYYMMDDFromDate,
	getDateFromFirstdayParam,
	modifyDate
	modifyDate,
} from '../../../utils/date.js'
import formatDateRage from '../../../filters/dateRangeFormat.js'
import DatePicker from '../../Shared/DatePicker.vue'
@@ -62,14 +62,14 @@ import DatePicker from '../../Shared/DatePicker.vue'
export default {
	name: 'AppNavigationHeaderDatePicker',
	components: {
		DatePicker
		DatePicker,
	},
	filters: {
		formatDateRage
		formatDateRage,
	},
	data: function() {
		return {
			isDatepickerOpen: false
			isDatepickerOpen: false,
		}
	},
	computed: {
@@ -104,7 +104,7 @@ export default {
		},
		view() {
			return this.$route.params.view
		}
		},
	},
	methods: {
		navigateToPreviousTimeRange() {
@@ -119,20 +119,20 @@ export default {
			switch (this.$route.params.view) {
			case 'timeGridDay':
				newDate = modifyDate(this.selectedDate, {
					day: factor
					day: factor,
				})
				break

			case 'timeGridWeek':
				newDate = modifyDate(this.selectedDate, {
					week: factor
					week: factor,
				})
				break

			case 'dayGridMonth':
			default:
				newDate = modifyDate(this.selectedDate, {
					month: factor
					month: factor,
				})
				break
			}
@@ -142,7 +142,7 @@ export default {
		navigateToDate(date) {
			const name = this.$route.name
			const params = Object.assign({}, this.$route.params, {
				firstDay: getYYYYMMDDFromDate(date)
				firstDay: getYYYYMMDDFromDate(date),
			})

			// Don't push new route when day didn't change
@@ -162,7 +162,7 @@ export default {
		doNothing() {
			// This function does nothing in itself,
			// it only captures and prevents the mousedown and mouseup of vue2-datepicker
		}
	}
		},
	},
}
</script>
+3 −3
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ export default {
			const params = Object.assign({}, this.$store.state.route.params, {
				allDay: '0',
				dtstart: String(Math.floor(start.getTime() / 1000)),
				dtend: String(Math.floor(end.getTime() / 1000))
				dtend: String(Math.floor(end.getTime() / 1000)),
			})

			// Don't push new route when day didn't change
@@ -64,7 +64,7 @@ export default {
			}

			this.$router.push({ name, params })
		}
	}
		},
	},
}
</script>
Loading