Uname: Linux webm012.cluster130.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software: Apache
PHP version: 8.0.30 [ PHP INFO ] PHP os: Linux
Server Ip: 145.239.37.162
Your Ip: 216.73.216.190
User: dreampi (1009562) | Group: users (100)
Safe Mode: OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl

name : recurring.js
export default {
  namespaced: true,

  state: () => ({
    repeatType: 'daily',
    repeatInterval: 1,
    occurrenceType: 'After',
    occurrenceDate: null,
    occurrenceCount: 1,
    days: [
      {value: 'monday', selected: false},
      {value: 'tuesday', selected: false},
      {value: 'wednesday', selected: false},
      {value: 'thursday', selected: false},
      {value: 'friday', selected: false},
      {value: 'saturday', selected: false},
      {value: 'sunday', selected: false}
    ],
    monthly: 0,
  }),

  getters: {
    getRepeatType (state) {
      return state.repeatType
    },
    getRepeatInterval (state) {
      return state.repeatInterval
    },
    getOccurrenceType (state) {
      return state.occurrenceType
    },
    getOccurrenceDate (state) {
      return state.occurrenceDate
    },
    getOccurrenceCount (state) {
      return state.occurrenceCount
    },
    getMonthly (state) {
      return state.monthly
    },
    getDays (state) {
      return state.days
    },
  },

  mutations: {
    setRepeatType (state, payload) {
      state.repeatType = payload
    },
    setRepeatInterval (state, payload) {
      state.repeatInterval = payload
    },
    setOccurrenceType (state, payload) {
      state.occurrenceType = payload
    },
    setOccurrenceDate (state, payload) {
      state.occurrenceDate = payload
    },
    setOccurrenceCount (state, payload) {
      state.occurrenceCount = payload
    },
    setMonthly (state, payload) {
      state.monthly = payload
    },
    setDays (state, payload) {
      state.days.find(day => day.value === payload.value).selected = payload.selected
    },
  },

  actions: {}
}
© 2026 GrazzMean-Shell