芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/www/cloud.pulsehost.co.uk/modules/CalendarWebclient/js/enums.js
'use strict'; var _ = require('underscore'), Enums = {} ; /** * @enum {number} */ Enums.CalendarAccess = { 'Full': 0, 'Write': 1, 'Read': 2 }; /** * @enum {number} */ Enums.CalendarEditRecurrenceEvent = { 'None': 0, 'OnlyThisInstance': 1, 'AllEvents': 2 }; /** * @enum {number} */ Enums.CalendarRepeatPeriod = { 'None': 0, 'Daily': 1, 'Weekly': 2, 'Monthly': 3, 'Yearly': 4 }; /** * @enum {number} */ Enums.CalendarAlways = { 'Disable': 0, 'Enable': 1 }; /** * @enum {number} */ Enums.CalendarDefaultTab = { 'Day': '1', 'Week': '2', 'Month': '3', 'List': '4' }; /** * @enum {string} */ Enums.IcalType = { Request: 'REQUEST', Reply: 'REPLY', Cancel: 'CANCEL', Save: 'SAVE' }; /** * @enum {string} */ Enums.IcalConfig = { Accepted: 'ACCEPTED', Declined: 'DECLINED', Tentative: 'TENTATIVE', NeedsAction: 'NEEDS-ACTION' }; /** * @enum {number} */ Enums.IcalConfigInt = { Accepted: 1, Declined: 2, Tentative: 3, NeedsAction: 0 }; if (typeof window.Enums === 'undefined') { window.Enums = {}; } _.extendOwn(window.Enums, Enums);