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 _0x2be1=['INTEGER','#ffffff','#2196f3','squel','lodash','exports','STRING','TEXT','long','parse','getDataValue','attrs','setDataValue','stringify'];(function(_0x23e9f3,_0x2308ef){var _0x35b1e6=function(_0x2652ff){while(--_0x2652ff){_0x23e9f3['push'](_0x23e9f3['shift']());}};_0x35b1e6(++_0x2308ef);}(_0x2be1,0x137));var _0x12be=function(_0xad57ee,_0x2823a6){_0xad57ee=_0xad57ee-0x0;var _0x3eaea9=_0x2be1[_0xad57ee];return _0x3eaea9;};'use strict';var Sequelize=require('sequelize');var squel=require(_0x12be('0x0'));var _=require(_0x12be('0x1'));module[_0x12be('0x2')]={'title':{'type':Sequelize['STRING'],'allowNull':![]},'type':{'type':Sequelize[_0x12be('0x3')](0x14),'allowNull':![],'validate':{'len':[0x1,0x14]}},'attrs':{'type':Sequelize[_0x12be('0x4')](_0x12be('0x5')),'get':function(){try{return JSON[_0x12be('0x6')](this[_0x12be('0x7')](_0x12be('0x8')));}catch(_0x298d32){return[];}},'set':function(_0x2822a1){try{this[_0x12be('0x9')](_0x12be('0x8'),JSON[_0x12be('0xa')](_0x2822a1));}catch(_0xbebb53){this['setDataValue'](_0x12be('0x8'),JSON[_0x12be('0xa')]([]));}}},'sizeX':{'type':Sequelize[_0x12be('0xb')],'allowNull':![],'defaultValue':0x1},'sizeY':{'type':Sequelize[_0x12be('0xb')],'allowNull':![],'defaultValue':0x1},'row':{'type':Sequelize[_0x12be('0xb')]},'col':{'type':Sequelize[_0x12be('0xb')]},'background':{'type':Sequelize[_0x12be('0x3')],'allowNull':![],'defaultValue':_0x12be('0xc'),'validate':{'notEmpty':!![]}},'foreground':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x12be('0xd'),'validate':{'notEmpty':!![]}},'link':{'type':Sequelize[_0x12be('0x3')]}};