1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x5e16=['exports','STRING','TEXT','parse','getDataValue','attrs','setDataValue','stringify','INTEGER','#ffffff','#2196f3'];(function(_0x2b0a86,_0x2ecebd){var _0x955940=function(_0x1988f8){while(--_0x1988f8){_0x2b0a86['push'](_0x2b0a86['shift']());}};_0x955940(++_0x2ecebd);}(_0x5e16,0x155));var _0x65e1=function(_0x52c4e9,_0x5412d0){_0x52c4e9=_0x52c4e9-0x0;var _0x252a03=_0x5e16[_0x52c4e9];return _0x252a03;};'use strict';var Sequelize=require('sequelize');var squel=require('squel');var _=require('lodash');module[_0x65e1('0x0')]={'title':{'type':Sequelize[_0x65e1('0x1')],'allowNull':![]},'type':{'type':Sequelize[_0x65e1('0x1')](0x14),'allowNull':![],'validate':{'len':[0x1,0x14]}},'attrs':{'type':Sequelize[_0x65e1('0x2')]('long'),'get':function(){try{return JSON[_0x65e1('0x3')](this[_0x65e1('0x4')](_0x65e1('0x5')));}catch(_0x5bc8d5){return[];}},'set':function(_0x534c61){try{this[_0x65e1('0x6')]('attrs',JSON['stringify'](_0x534c61));}catch(_0x39e301){this[_0x65e1('0x6')](_0x65e1('0x5'),JSON[_0x65e1('0x7')]([]));}}},'sizeX':{'type':Sequelize[_0x65e1('0x8')],'allowNull':![],'defaultValue':0x1},'sizeY':{'type':Sequelize[_0x65e1('0x8')],'allowNull':![],'defaultValue':0x1},'row':{'type':Sequelize[_0x65e1('0x8')]},'col':{'type':Sequelize[_0x65e1('0x8')]},'background':{'type':Sequelize[_0x65e1('0x1')],'allowNull':![],'defaultValue':_0x65e1('0x9'),'validate':{'notEmpty':!![]}},'foreground':{'type':Sequelize[_0x65e1('0x1')],'allowNull':![],'defaultValue':_0x65e1('0xa'),'validate':{'notEmpty':!![]}},'link':{'type':Sequelize['STRING']}};