Built motion from commit (unavailable).|2.5.30
[motion2.git] / server / api / dashboardItem / dashboardItem.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xbf7f=['TEXT','long','getDataValue','setDataValue','attrs','stringify','INTEGER','#ffffff','#2196f3','squel','lodash','exports','STRING'];(function(_0x502c7d,_0x2f1285){var _0x30b7ed=function(_0x2d92f3){while(--_0x2d92f3){_0x502c7d['push'](_0x502c7d['shift']());}};_0x30b7ed(++_0x2f1285);}(_0xbf7f,0xbf));var _0xfbf7=function(_0x618414,_0x1a7a60){_0x618414=_0x618414-0x0;var _0x21c19a=_0xbf7f[_0x618414];return _0x21c19a;};'use strict';var Sequelize=require('sequelize');var squel=require(_0xfbf7('0x0'));var _=require(_0xfbf7('0x1'));module[_0xfbf7('0x2')]={'title':{'type':Sequelize[_0xfbf7('0x3')],'allowNull':![]},'type':{'type':Sequelize[_0xfbf7('0x3')](0x14),'allowNull':![],'validate':{'len':[0x1,0x14]}},'attrs':{'type':Sequelize[_0xfbf7('0x4')](_0xfbf7('0x5')),'get':function(){try{return JSON['parse'](this[_0xfbf7('0x6')]('attrs'));}catch(_0x42afe8){return[];}},'set':function(_0x3abbc3){try{this[_0xfbf7('0x7')](_0xfbf7('0x8'),JSON[_0xfbf7('0x9')](_0x3abbc3));}catch(_0x3650f1){this['setDataValue'](_0xfbf7('0x8'),JSON[_0xfbf7('0x9')]([]));}}},'sizeX':{'type':Sequelize[_0xfbf7('0xa')],'allowNull':![],'defaultValue':0x1},'sizeY':{'type':Sequelize[_0xfbf7('0xa')],'allowNull':![],'defaultValue':0x1},'row':{'type':Sequelize[_0xfbf7('0xa')]},'col':{'type':Sequelize[_0xfbf7('0xa')]},'background':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0xfbf7('0xb'),'validate':{'notEmpty':!![]}},'foreground':{'type':Sequelize[_0xfbf7('0x3')],'allowNull':![],'defaultValue':_0xfbf7('0xc'),'validate':{'notEmpty':!![]}},'link':{'type':Sequelize[_0xfbf7('0x3')]},'titleFontSize':{'type':Sequelize['INTEGER'],'defaultValue':0xc}};