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 _0xcb5a=['setDataValue','stringify','INTEGER','#ffffff','squel','lodash','STRING','TEXT','parse','getDataValue','attrs'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0xcb5a,0x9e));var _0xacb5=function(_0x509e33,_0x1c761f){_0x509e33=_0x509e33-0x0;var _0x192ccf=_0xcb5a[_0x509e33];return _0x192ccf;};'use strict';var Sequelize=require('sequelize');var squel=require(_0xacb5('0x0'));var _=require(_0xacb5('0x1'));module['exports']={'title':{'type':Sequelize[_0xacb5('0x2')],'allowNull':![]},'type':{'type':Sequelize[_0xacb5('0x2')](0x14),'allowNull':![],'validate':{'len':[0x1,0x14]}},'attrs':{'type':Sequelize[_0xacb5('0x3')]('long'),'get':function(){try{return JSON[_0xacb5('0x4')](this[_0xacb5('0x5')](_0xacb5('0x6')));}catch(_0xdd6b4c){return[];}},'set':function(_0x4d2653){try{this[_0xacb5('0x7')]('attrs',JSON[_0xacb5('0x8')](_0x4d2653));}catch(_0xbab3b0){this['setDataValue']('attrs',JSON[_0xacb5('0x8')]([]));}}},'sizeX':{'type':Sequelize[_0xacb5('0x9')],'allowNull':![],'defaultValue':0x1},'sizeY':{'type':Sequelize[_0xacb5('0x9')],'allowNull':![],'defaultValue':0x1},'row':{'type':Sequelize[_0xacb5('0x9')]},'col':{'type':Sequelize['INTEGER']},'background':{'type':Sequelize[_0xacb5('0x2')],'allowNull':![],'defaultValue':_0xacb5('0xa'),'validate':{'notEmpty':!![]}},'foreground':{'type':Sequelize[_0xacb5('0x2')],'allowNull':![],'defaultValue':'#2196f3','validate':{'notEmpty':!![]}},'link':{'type':Sequelize[_0xacb5('0x2')]}};