uawdijnntqw1x1x1
IP : 3.144.72.54
Hostname : axolotl
Kernel : Linux axolotl 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
OS : Linux
PATH:
/
var
/
www
/
axolotl
/
data
/
www
/
axolotl.ru
/
www
/
bitrix
/
js
/
imopenlines
/
component
/
widget
/
src
/
const.js
/
/
/** * Bitrix OpenLines widget * Widget constants * * @package bitrix * @subpackage imopenlines * @copyright 2001-2019 Bitrix */ function GetObjectValues(source) { const destination = []; for (let value in source) { if (source.hasOwnProperty(value)) { destination.push(source[value]); } } return destination; } /* region 01. Constants */ export const VoteType = Object.freeze({ none: 'none', like: 'like', dislike: 'dislike', }); export const LanguageType = Object.freeze({ russian: 'ru', ukraine: 'ua', world: 'en', }); export const FormType = Object.freeze({ none: 'none', like: 'like', smile: 'smile', consent: 'consent', welcome: 'welcome', offline: 'offline', history: 'history', }); export const LocationType = Object.freeze({ topLeft: 1, topMiddle: 2, topBottom: 3, bottomLeft: 6, bottomMiddle: 5, bottomRight: 4, }); export const LocationStyle = Object.freeze({ 1: 'top-left', 2: 'top-center', 3: 'top-right', 6: 'bottom-left', 5: 'bottom-center', 4: 'bottom-right', }); export const WidgetBaseSize = Object.freeze({ width: 435, height: 557 }); export const WidgetMinimumSize = Object.freeze({ width: 340, height: 435 }); export const SubscriptionType = Object.freeze({ configLoaded: 'configLoaded', widgetOpen: 'widgetOpen', widgetClose: 'widgetClose', sessionStart: 'sessionStart', sessionOperatorChange: 'sessionOperatorChange', sessionFinish: 'sessionFinish', operatorMessage: 'operatorMessage', userForm: 'userForm', userMessage: 'userMessage', userFile: 'userFile', userVote: 'userVote', every: 'every', }); export const SubscriptionTypeCheck = GetObjectValues(SubscriptionType); export const RestMethod = Object.freeze({ widgetUserRegister: 'imopenlines.widget.user.register', widgetChatCreate: 'imopenlines.widget.chat.create', widgetConfigGet: 'imopenlines.widget.config.get', widgetDialogGet: 'imopenlines.widget.dialog.get', widgetDialogList: 'imopenlines.widget.dialog.list', widgetUserGet: 'imopenlines.widget.user.get', widgetUserConsentApply: 'imopenlines.widget.user.consent.apply', widgetVoteSend: 'imopenlines.widget.vote.send', widgetActionSend: 'imopenlines.widget.action.send', pullServerTime: 'server.time', pullConfigGet: 'pull.config.get', }); export const RestMethodCheck = GetObjectValues(RestMethod); export const RestAuth = Object.freeze({ guest: 'guest', }); export const SessionStatus = Object.freeze({ new: 0, skip: 5, answer: 10, client: 20, clientAfterOperator: 25, operator: 40, waitClient: 50, close: 60, spam: 65, duplicate: 69, silentlyClose: 75, }); export const WidgetEventType = Object.freeze({ showForm: 'IMOL.Widget:showForm', hideForm: 'IMOL.Widget:hideForm', processMessagesToSendQueue: 'IMOL.Widget:processMessagesToSendQueue', requestData: 'IMOL.Widget:requestData', showConsent: 'IMOL.Widget:showConsent', acceptConsent: 'IMOL.Widget:acceptConsent', consentAccepted: 'IMOL.Widget:consentAccepted', declineConsent: 'IMOL.Widget:declineConsent', consentDeclined: 'IMOL.Widget:consentDeclined', sendDialogVote: 'IMOL.Widget:sendDialogVote', createSession: 'IMOL.Widget:createSession', openSession: 'IMOL.Widget:openSession', });
/var/www/axolotl/data/www/axolotl.ru/www/bitrix/js/imopenlines/component/widget/src/const.js