Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

evolutility

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

evolutility - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

js/dico/dom-charts.js

2

bower.json
{
"name": "evolutility",
"version": "1.1.0",
"version": "1.1.1",
"description": "UI which changes form, volume and structure to adapt to your data.",

@@ -5,0 +5,0 @@ "main": [

@@ -1,2 +0,2 @@

/* evolutility v1.1 sample UI-models and data: todo, addressbook, wine cellar. */
var uiModels=uiModels||{};uiModels.todo_data=[{id:"1",title:"Release Evolutility v1",priority:"3",category:"others",complete:!1,project:["1","2","3"],description:"10 generic views + a ui-modeling language.",notes:""},{id:"2",title:"Fix open bugs",duedate:"2014-07-25",priority:"3",category:"work",project:["1","2"],complete:!1,description:"bla bla"},{id:"3",title:"Testing App",duedate:"2014-06-11",priority:"3",category:"work",complete:!1,project:["1","2","3"],description:"test"},{id:"4",title:"Prepare demo",duedate:"2014-05-12",priority:"1",category:"work",complete:!1,project:["4"],description:"Check this out"},{id:"5",title:"Test latest code",priority:"5",category:"misc",complete:!0,project:["1","2","3"],description:"notes for my test todo task."},{id:"6",title:"Car wash",priority:"4",category:"work",project:["10"],complete:!1},{id:"7",title:"Watch Inception",duedate:"2014-01-10",priority:"5",category:"fun",project:["10"],complete:!0},{id:"8",title:"Test TODO",duedate:"2015-01-01",priority:"1",category:"work",project:["2","3"],complete:!0,description:"Test TODO "},{id:"9",title:"Dentist",priority:"3",category:"home",complete:!0},{id:"10",title:"French translation",priority:"4",category:"work",project:["5"],complete:!0},{id:"11",title:"Italian translation",priority:"4",category:"work",project:["5"]},{id:"12",title:"Chinese translation",priority:"4",category:"work",project:["5"]},{id:"13",title:"Japanese translation",priority:"4",category:"work",project:["5"]},{id:"14",title:"German translation",priority:"4",category:"work",project:["5"]},{id:"15",title:"Russian translation",priority:"4",category:"work",project:["5"]},{id:"16",title:"Polish translation",priority:"4",category:"work",project:["5"]},{id:"17",title:"Klingon translation",priority:"4",category:"work",project:["5"]},{id:"18",title:"Code optimization",duedate:"2015-01-01",priority:"4",category:"work",project:["1","2","4"],complete:!1},{id:"19",title:"Setup demo server",priority:"2",category:"work",complete:!1,project:["4"]},{id:"20",title:"Add sample data",duedate:"2014-04-23",priority:"3",category:"work",project:["1","2","3"],complete:!0},{id:"21",title:"Make proposal",priority:"2",category:"misc",project:["4"],complete:!1},{id:"22",title:"Checkout cool restaurant",priority:"3",category:"fun",project:["4","10"],complete:!1},{id:"23",title:"Kill the vampires",priority:"3",project:["10"],category:"others"}],"object"==typeof module&&"object"==typeof module.exports&&(module.exports=uiModels.todo_data);var uiModels=uiModels||{};uiModels.contact_data=[{id:"1",lastname:"Smallwood",firstname:"Diane",jobtitle:"Director",company:"EasyDoesIt",email:"vsw@EasyDoesIt.com",phone:"415 234 4323",phonehome:"415 378 3577",phonecell:"415 135 3454",web:"http://EasyDoesIt.com",address1:"12, Liverpool Street",city:"San Francisco",state:"CA",zip:"94123",country:"US",category:"4"},{id:"2",lastname:"Shackleford ",firstname:"Rusty ",email:"rustyshackleford@gmail.com",address1:"123 Main Street",city:"Dallas",state:"TX",country:"US",category:"3"},{id:"3",lastname:"Inoue",firstname:"Akemi",jobtitle:"QA Engineer",company:"Testing evol-utility",email:"test@test.com",phone:"423 233 3523",phonehome:"423 523 4523",address1:"5665 Poplar Street",city:"San Jose",state:"CA",zip:"93112",country:"US",category:"3"},{id:"4",lastname:"Reina Moyano",firstname:"Sergio",jobtitle:"Mr",company:"Innova Creaciones",email:"sreina@innovacreaciones.es",phone:"411 444 2222",phonehome:"411 576 4566",phonecell:"411 579 4566",fax:"411 444 2224",address1:"654 Union Street",address2:"#203",city:"San Francisco",state:"CA",zip:"94567",country:"US",category:"3"},{id:"5",lastname:"Paulus",firstname:"Henry",company:"TEST the TEST",phone:"652 491 2345",address1:"1234 That Street",city:"San Mateo",state:"CA",zip:"94401",country:"US",category:"2"},{id:"6",lastname:"Dupond",firstname:"Patrick",jobtitle:"Sales Manager",company:"Au Bon Pain",email:"pdupond@aubonpain.fr",phone:"45 456 414 45",web:"http://aubonpain.fr",city:"Paris",state:"",country:"FR",category:"1"},{id:"7",lastname:"Giulieri",firstname:"Olivier",company:"Evolutility",city:"San Mateo",state:"",email:"olivier@evolutility.org",web:"http://www.evol-utility.org"},{id:"8",lastname:"Martin",firstname:"Mary",jobtitle:"President",company:"Acme Corp",email:"pm@acme.com",phone:"444 580 7007",phonehome:"449 512 0230",phonecell:"589 499 2065",address1:"123 Redville Lane",city:"Musnonville",state:"NH",zip:"03434",category:"1"},{id:"9",lastname:"Munar",firstname:"Roman",jobtitle:"Mr",company:"Informatics",email:"romano@informatics.com",phone:"322 234 5143",phonehome:"322 784 3453",phonecell:"322 538 2568",fax:"322 234 5345",web:"http://roman.munar.com",address1:"Washington",address2:"Buendia",city:"Makati",state:"",zip:"1300",country:"PH",category:"3"},{id:"10",lastname:"Smith",firstname:"George",company:"Blabla",email:"george@blabla.com",web:"http://www.blabla.com",phone:"415 123 1234",phonecell:"415 789 4556",address1:"768 5th Ave",city:"San Francisco",state:"CA",zip:"93123",country:"US",category:"1"},{id:"11",lastname:"Kumar",firstname:"Madhukar",jobtitle:"CEO",company:"CoolWeb",email:"mkumar@coolweb.com",web:"http://www.coolweb.com",phone:"7225 8252",phonecell:"7325 8245",address1:"434 Cool Place",city:"Bengaluru",state:"",country:"IN",category:"4"},{id:"12",lastname:"Cheng",firstname:"Chris",jobtitle:"CTO",company:"MyGreatCorporation",email:"ccheng@MyGreatCorporation.com",phonecell:"650 234 8245",city:"Sunnyvalle",state:"CA",country:"US",category:"4"}],"object"==typeof module&&"object"==typeof module.exports&&(module.exports=uiModels.contact_data);var uiModels=uiModels||{};uiModels.winecellar_data=[{name:"Macrostie",label_img:"wine/macrostie.gif",vintage:2008,winery:"Mc Williams",bsize:"750",type:"red",price:20,grape:"chard",country:"US",region:"Sonoma",buying_date:"2008-05-12",value:24,purchased:24,remaining:16,drink_from:2009,drink_to:2020,peak_from:2014,peak_to:2017,degustations:[{ddate:"2008-05-08",robe:"light",nose:"fruity",taste:"fruity",notes:"too young"},{ddate:"2011-03-10",robe:"light",nose:"light fruit",taste:"",notes:""},{ddate:"2012-12-12",robe:"light",nose:"light fruit",taste:"",notes:"Great"}]},{name:"Château d'Yquem",label_img:"wine/yquem.gif",vintage:2012,winery:"Lur Saluces",bsize:"750",type:"white",grape:"sem",buying_date:"2012-12-12",price:399,value:460,drink_from:2012,drink_to:2017,purchased:3,remaining:1,country:"FR",region:"Bordeaux",area:"Sauternes and Barsac",score_parker:92,score_winespectator:94,degustations:[{ddate:"2013-04-23",robe:"golden",nose:"fruity",taste:"incredible"},{ddate:"2013-05-12",robe:"clear",nose:"strong and sweet",taste:"outstanding"}]},{name:"Château St Jean",label_img:"wine/stjean.gif",vintage:2008,winery:"Ch St Jean",bsize:"750",type:"red",price:34,value:32,purchased:12,remaining:5,drink_from:2009,grape:"shiraz",country:"FR",score_parker:68,score_winespectator:72,degustations:[{ddate:"2013-24-12",robe:"thick",nose:"strong",taste:"good",notes:"Great w/ beef."}]},{name:"Vine Cliff",label_img:"wine/vinecliff.gif",vintage:2013,winery:"Vine Cliff",bsize:"750",type:"red",buying_date:"2013-05-05",price:28,drink_from:2014,grape:"merlo",country:"US",score_parker:67,score_winespectator:62,degustations:[{ddate:"2013-05-05",robe:"light",nose:"strong",taste:"good"},{ddate:"2013-08-05",robe:"light",nose:"strong",taste:"good"},{ddate:"2013-08-18",robe:"light",nose:"strong",taste:"ok"}]},{name:"Château Montelena",label_img:"wine/montelena.gif",vintage:2005,winery:"Château Montelena",bsize:"1500",grape:"merlo",type:"red",drink_from:2005,region:"California",price:62,value:32,purchased:12,remaining:8,country:"US",score_parker:64,score_winespectator:64,degustations:[{ddate:"2012-05-05",nose:"strong+",taste:"excellent"},{ddate:"2013-10-22",robe:"rich",nose:"strong",taste:"very good"}]}],"object"==typeof module&&"object"==typeof module.exports&&(module.exports=uiModels.winecellar_data);var uiModels=uiModels||{};uiModels.comics_data=[{title:"Do Androids Dream Of Electric Sheep?",genre:"sf",authors:"Philip K Dick, Tony Parker",complete:!0,finished:!0,have:"1-6",haveNb:6,serieNb:6,language:"EN",notes:"",pix:"comics/androitsheep1.jpeg"},{title:"Saga",genre:"sf",authors:"Brian K. Vaughan and Fiona Staples",complete:!1,finished:!1,have:"1-3",haveNb:3,serieNb:4,language:"EN",notes:"",pix:"comics/saga1.jpeg"},{title:"Alim le Tanneur",genre:"hf",authors:"Wilfrid Lupano, Virginie Augustin",complete:!0,finished:!0,have:"1-4",haveNb:4,serieNb:4,language:"FR",notes:"",pix:"comics/alim1.jpg"},{title:"La Caste des Meta-Barons",genre:"sf",authors:"Alexandro Jodorowsky et Juan Gimenez",complete:!1,finished:!0,have:"1-5",haveNb:5,serieNb:8,language:"FR",notes:"",pix:"comics/metabaron1.jpeg"},{title:"Garulfo",genre:"humor",have:"1-6",haveNb:6,serieNb:6,language:"FR",authors:"Alain Ayroles et Bruno Maïorana",complete:!0,finished:!0,notes:"",pix:"comics/garulfo1.jpeg"},{title:"Lanfeust de Troy",genre:"hf",authors:"Didier Tarquin, Christophe Arleston",complete:!0,finished:!0,have:"1-8",haveNb:8,serieNb:8,language:"FR",notes:"",pix:"comics/lanfeust1.jpeg"},{title:"Salammbo",genre:"fantasy",authors:"Philippe Druillet et Gustave Flaubert",complete:!0,finished:!0,have:"1-3",haveNb:3,serieNb:3,language:"FR",notes:"",pix:"comics/salammbo1.jpeg"},{title:"Blacksad",genre:"pol",authors:"Juan Díaz Canales et Juanjo Guarnido",complete:!0,finished:!1,have:"1-4",haveNb:4,serieNb:4,language:"FR",notes:"",pix:"comics/blacksad1.jpeg"},{title:"Carmen McCallum",genre:"sf",authors:"Fred Duval et Gess",complete:!1,finished:!1,have:"1-5",haveNb:5,serieNb:12,language:"FR",notes:"",pix:"comics/carmenmc1.jpeg"},{title:"Code McCallum",genre:"sf",authors:"Fred Duval et Didier Cassegrain",complete:!0,finished:!0,have:"5",haveNb:5,serieNb:5,language:"FR",notes:"",pix:"comics/codemc1.jpeg"},{title:"La Nef des Fous",genre:"nocat",authors:"Turf",complete:!0,finished:!0,have:"1-7",haveNb:7,serieNb:7,language:"FR",notes:"",pix:"comics/neffous1.jpeg"},{title:"La Quete de l'Oiseau du Temps",genre:"hf",authors:"Serge Le Tendre et Régis Loisel",complete:!0,finished:!0,have:"1-4",haveNb:4,serieNb:4,language:"FR",notes:"",pix:"comics/quete1.jpeg"},{title:"Le Lama Blanc",genre:"adv",authors:"Alejandro Jodorowsky et Georges Bess",complete:!0,finished:!0,have:"1-6",haveNb:6,serieNb:6,language:"FR",notes:"",pix:"comics/lama1.jpeg"},{title:"Le Surfer d'Argent",genre:"sh",authors:"Moebius, Stan Lee",complete:!0,finished:!0,have:"1",haveNb:1,serieNb:1,language:"FR",notes:"",pix:"comics/surfer.jpeg"},{title:"L'Incal",genre:"sf",authors:"Moebius et Alexandro Jodorowsky",complete:!0,finished:!0,have:"1-6",haveNb:6,serieNb:6,language:"FR",notes:"",pix:"comics/incal1.jpeg"},{title:"Ou le regard ne porte pas",genre:"",authors:"Pont et Abolin",complete:!0,finished:!0,have:"1,2",haveNb:2,serieNb:2,language:"FR",notes:"",pix:"comics/regard1.jpeg"},{title:"Péma Ling",genre:"hist",authors:"Georges Bess",complete:!0,finished:!0,have:"1-5",haveNb:5,serieNb:5,language:"FR",notes:"",pix:"comics/pemaling1.jpeg"},{title:"Sky Doll",genre:"fantasy",authors:"Alessandro Barbucci et Barbara Canepa",complete:!0,finished:!0,have:"1-3",haveNb:3,serieNb:3,language:"FR",notes:"",pix:"comics/skydoll1.jpeg"},{title:"Ronin",genre:"sf",authors:"Franck Miller",complete:!0,finished:!0,have:"1",haveNb:1,serieNb:1,language:"EN",notes:"",pix:"comics/ronin.jpeg"},{title:"Rising Stars",genre:"sh",authors:"Joe Michael Straczynski, Christian Zanier, Keu Cha et Ken Lashley",complete:!0,finished:!0,have:"1",haveNb:1,serieNb:1,language:"EN",notes:"",pix:"comics/risingstars.jpeg"},{title:"Le Fleau des Dieux",genre:"sf",authors:"Valérie Mangin et Aleksa Gajic",complete:!0,finished:!0,have:"1-6",haveNb:6,serieNb:6,language:"FR",notes:"",pix:"comics/fleaudieux1.jpeg"},{title:"The Shaolin Cowboy",genre:"fantasy",authors:"Geof Darrow and Lana and Andy Wachowski",complete:!0,finished:!0,have:"1",haveNb:1,serieNb:1,language:"EN",notes:"",pix:"comics/shaolin-cowboy.jpeg"},{title:"Tales of an Imperfect Future",genre:"sf",authors:"Alfonso Font",complete:!0,finished:!0,have:"1",haveNb:1,serieNb:1,language:"EN",notes:"",pix:"comics/imperfect-future.jpeg"},{title:"Ghost in the Shell",genre:"sf",authors:"Masamune Shirow",complete:!1,finished:!0,have:"1",haveNb:1,serieNb:2,language:"EN",notes:"",pix:"comics/ghost-in-the-shell.jpeg"}],"object"==typeof module&&"object"==typeof module.exports&&(module.exports=uiModels.comics_data);
/* evolutility v1.1.1 sample UI-models and data: todo, addressbook, wine cellar. */
var uiModels=uiModels||{};uiModels.todo_data=[{id:"1",title:"Release Evolutility v1",priority:"3",category:"others",complete:!1,project:["1","2","3"],description:"10 generic views + a ui-modeling language.",notes:""},{id:"2",title:"Fix open bugs",duedate:"2014-07-25",priority:"3",category:"work",project:["1","2"],complete:!1,description:"bla bla"},{id:"3",title:"Testing App",duedate:"2014-06-11",priority:"3",category:"work",complete:!1,project:["1","2","3"],description:"test"},{id:"4",title:"Prepare demo",duedate:"2014-05-12",priority:"1",category:"work",complete:!1,project:["4"],description:"Check this out"},{id:"5",title:"Test latest code",priority:"5",category:"misc",complete:!0,project:["1","2","3"],description:"notes for my test todo task."},{id:"6",title:"Car wash",priority:"4",category:"work",project:["10"],complete:!1},{id:"7",title:"Watch Inception",duedate:"2014-01-10",priority:"5",category:"fun",project:["10"],complete:!0},{id:"8",title:"Test TODO",duedate:"2015-01-01",priority:"1",category:"work",project:["2","3"],complete:!0,description:"Test TODO "},{id:"9",title:"Dentist",priority:"3",category:"home",complete:!0},{id:"10",title:"French translation",priority:"4",category:"work",project:["5"],complete:!0},{id:"11",title:"Italian translation",priority:"4",category:"work",project:["5"]},{id:"12",title:"Chinese translation",priority:"4",category:"work",project:["5"]},{id:"13",title:"Japanese translation",priority:"4",category:"work",project:["5"]},{id:"14",title:"German translation",priority:"4",category:"work",project:["5"]},{id:"15",title:"Russian translation",priority:"4",category:"work",project:["5"]},{id:"16",title:"Polish translation",priority:"4",category:"work",project:["5"]},{id:"17",title:"Klingon translation",priority:"4",category:"work",project:["5"]},{id:"18",title:"Code optimization",duedate:"2015-01-01",priority:"4",category:"work",project:["1","2","4"],complete:!1},{id:"19",title:"Setup demo server",priority:"2",category:"work",complete:!1,project:["4"]},{id:"20",title:"Add sample data",duedate:"2014-04-23",priority:"3",category:"work",project:["1","2","3"],complete:!0},{id:"21",title:"Make proposal",priority:"2",category:"misc",project:["4"],complete:!1},{id:"22",title:"Checkout cool restaurant",priority:"3",category:"fun",project:["4","10"],complete:!1},{id:"23",title:"Kill the vampires",priority:"3",project:["10"],category:"others"}],"object"==typeof module&&"object"==typeof module.exports&&(module.exports=uiModels.todo_data);var uiModels=uiModels||{};uiModels.contact_data=[{id:"1",lastname:"Smallwood",firstname:"Diane",jobtitle:"Director",company:"EasyDoesIt",email:"vsw@EasyDoesIt.com",phone:"415 234 4323",phonehome:"415 378 3577",phonecell:"415 135 3454",web:"http://EasyDoesIt.com",address1:"12, Liverpool Street",city:"San Francisco",state:"CA",zip:"94123",country:"US",category:"4"},{id:"2",lastname:"Shackleford ",firstname:"Rusty ",email:"rustyshackleford@gmail.com",address1:"123 Main Street",city:"Dallas",state:"TX",country:"US",category:"3"},{id:"3",lastname:"Inoue",firstname:"Akemi",jobtitle:"QA Engineer",company:"Testing evol-utility",email:"test@test.com",phone:"423 233 3523",phonehome:"423 523 4523",address1:"5665 Poplar Street",city:"San Jose",state:"CA",zip:"93112",country:"US",category:"3"},{id:"4",lastname:"Reina Moyano",firstname:"Sergio",jobtitle:"Mr",company:"Innova Creaciones",email:"sreina@innovacreaciones.es",phone:"411 444 2222",phonehome:"411 576 4566",phonecell:"411 579 4566",fax:"411 444 2224",address1:"654 Union Street",address2:"#203",city:"San Francisco",state:"CA",zip:"94567",country:"US",category:"3"},{id:"5",lastname:"Paulus",firstname:"Henry",company:"TEST the TEST",phone:"652 491 2345",address1:"1234 That Street",city:"San Mateo",state:"CA",zip:"94401",country:"US",category:"2"},{id:"6",lastname:"Dupond",firstname:"Patrick",jobtitle:"Sales Manager",company:"Au Bon Pain",email:"pdupond@aubonpain.fr",phone:"45 456 414 45",web:"http://aubonpain.fr",city:"Paris",state:"",country:"FR",category:"1"},{id:"7",lastname:"Giulieri",firstname:"Olivier",company:"Evolutility",city:"San Mateo",state:"",email:"olivier@evolutility.org",web:"http://www.evol-utility.org"},{id:"8",lastname:"Martin",firstname:"Mary",jobtitle:"President",company:"Acme Corp",email:"pm@acme.com",phone:"444 580 7007",phonehome:"449 512 0230",phonecell:"589 499 2065",address1:"123 Redville Lane",city:"Musnonville",state:"NH",zip:"03434",category:"1"},{id:"9",lastname:"Munar",firstname:"Roman",jobtitle:"Mr",company:"Informatics",email:"romano@informatics.com",phone:"322 234 5143",phonehome:"322 784 3453",phonecell:"322 538 2568",fax:"322 234 5345",web:"http://roman.munar.com",address1:"Washington",address2:"Buendia",city:"Makati",state:"",zip:"1300",country:"PH",category:"3"},{id:"10",lastname:"Smith",firstname:"George",company:"Blabla",email:"george@blabla.com",web:"http://www.blabla.com",phone:"415 123 1234",phonecell:"415 789 4556",address1:"768 5th Ave",city:"San Francisco",state:"CA",zip:"93123",country:"US",category:"1"},{id:"11",lastname:"Kumar",firstname:"Madhukar",jobtitle:"CEO",company:"CoolWeb",email:"mkumar@coolweb.com",web:"http://www.coolweb.com",phone:"7225 8252",phonecell:"7325 8245",address1:"434 Cool Place",city:"Bengaluru",state:"",country:"IN",category:"4"},{id:"12",lastname:"Cheng",firstname:"Chris",jobtitle:"CTO",company:"MyGreatCorporation",email:"ccheng@MyGreatCorporation.com",phonecell:"650 234 8245",city:"Sunnyvalle",state:"CA",country:"US",category:"4"}],"object"==typeof module&&"object"==typeof module.exports&&(module.exports=uiModels.contact_data);var uiModels=uiModels||{};uiModels.winecellar_data=[{name:"Macrostie",label_img:"wine/macrostie.gif",vintage:2008,winery:"Mc Williams",bsize:"750",type:"red",price:20,grape:"chard",country:"US",region:"Sonoma",buying_date:"2008-05-12",value:24,purchased:24,remaining:16,drink_from:2009,drink_to:2020,peak_from:2014,peak_to:2017,degustations:[{ddate:"2008-05-08",robe:"light",nose:"fruity",taste:"fruity",notes:"too young"},{ddate:"2011-03-10",robe:"light",nose:"light fruit",taste:"",notes:""},{ddate:"2012-12-12",robe:"light",nose:"light fruit",taste:"",notes:"Great"}]},{name:"Château d'Yquem",label_img:"wine/yquem.gif",vintage:2012,winery:"Lur Saluces",bsize:"750",type:"white",grape:"sem",buying_date:"2012-12-12",price:399,value:460,drink_from:2012,drink_to:2017,purchased:3,remaining:1,country:"FR",region:"Bordeaux",area:"Sauternes and Barsac",score_parker:92,score_winespectator:94,degustations:[{ddate:"2013-04-23",robe:"golden",nose:"fruity",taste:"incredible"},{ddate:"2013-05-12",robe:"clear",nose:"strong and sweet",taste:"outstanding"}]},{name:"Château St Jean",label_img:"wine/stjean.gif",vintage:2008,winery:"Ch St Jean",bsize:"750",type:"red",price:34,value:32,purchased:12,remaining:5,drink_from:2009,grape:"shiraz",country:"FR",score_parker:68,score_winespectator:72,degustations:[{ddate:"2013-24-12",robe:"thick",nose:"strong",taste:"good",notes:"Great w/ beef."}]},{name:"Vine Cliff",label_img:"wine/vinecliff.gif",vintage:2013,winery:"Vine Cliff",bsize:"750",type:"red",buying_date:"2013-05-05",price:28,drink_from:2014,grape:"merlo",country:"US",score_parker:67,score_winespectator:62,degustations:[{ddate:"2013-05-05",robe:"light",nose:"strong",taste:"good"},{ddate:"2013-08-05",robe:"light",nose:"strong",taste:"good"},{ddate:"2013-08-18",robe:"light",nose:"strong",taste:"ok"}]},{name:"Château Montelena",label_img:"wine/montelena.gif",vintage:2005,winery:"Château Montelena",bsize:"1500",grape:"merlo",type:"red",drink_from:2005,region:"California",price:62,value:32,purchased:12,remaining:8,country:"US",score_parker:64,score_winespectator:64,degustations:[{ddate:"2012-05-05",nose:"strong+",taste:"excellent"},{ddate:"2013-10-22",robe:"rich",nose:"strong",taste:"very good"}]}],"object"==typeof module&&"object"==typeof module.exports&&(module.exports=uiModels.winecellar_data);var uiModels=uiModels||{};uiModels.comics_data=[{title:"Do Androids Dream Of Electric Sheep?",genre:"sf",authors:"Philip K Dick, Tony Parker",complete:!0,finished:!0,have:"1-6",have_nb:6,serie_nb:6,language:"EN",notes:"",pix:"comics/androitsheep1.jpeg"},{title:"Saga",genre:"sf",authors:"Brian K. Vaughan and Fiona Staples",complete:!1,finished:!1,have:"1-3",have_nb:3,serie_nb:4,language:"EN",notes:"",pix:"comics/saga1.jpeg"},{title:"Alim le Tanneur",genre:"hf",authors:"Wilfrid Lupano, Virginie Augustin",complete:!0,finished:!0,have:"1-4",have_nb:4,serie_nb:4,language:"FR",notes:"",pix:"comics/alim1.jpg"},{title:"La Caste des Meta-Barons",genre:"sf",authors:"Alexandro Jodorowsky et Juan Gimenez",complete:!1,finished:!0,have:"1-5",have_nb:5,serie_nb:8,language:"FR",notes:"",pix:"comics/metabaron1.jpeg"},{title:"Garulfo",genre:"humor",have:"1-6",have_nb:6,serie_nb:6,language:"FR",authors:"Alain Ayroles et Bruno Maïorana",complete:!0,finished:!0,notes:"",pix:"comics/garulfo1.jpeg"},{title:"Lanfeust de Troy",genre:"hf",authors:"Didier Tarquin, Christophe Arleston",complete:!0,finished:!0,have:"1-8",have_nb:8,serie_nb:8,language:"FR",notes:"",pix:"comics/lanfeust1.jpeg"},{title:"Salammbo",genre:"fantasy",authors:"Philippe Druillet et Gustave Flaubert",complete:!0,finished:!0,have:"1-3",have_nb:3,serie_nb:3,language:"FR",notes:"",pix:"comics/salammbo1.jpeg"},{title:"Blacksad",genre:"pol",authors:"Juan Díaz Canales et Juanjo Guarnido",complete:!0,finished:!1,have:"1-4",have_nb:4,serie_nb:4,language:"FR",notes:"",pix:"comics/blacksad1.jpeg"},{title:"Carmen McCallum",genre:"sf",authors:"Fred Duval et Gess",complete:!1,finished:!1,have:"1-5",have_nb:5,serie_nb:12,language:"FR",notes:"",pix:"comics/carmenmc1.jpeg"},{title:"Code McCallum",genre:"sf",authors:"Fred Duval et Didier Cassegrain",complete:!0,finished:!0,have:"5",have_nb:5,serie_nb:5,language:"FR",notes:"",pix:"comics/codemc1.jpeg"},{title:"La Nef des Fous",genre:"nocat",authors:"Turf",complete:!0,finished:!0,have:"1-7",have_nb:7,serie_nb:7,language:"FR",notes:"",pix:"comics/neffous1.jpeg"},{title:"La Quete de l'Oiseau du Temps",genre:"hf",authors:"Serge Le Tendre et Régis Loisel",complete:!0,finished:!0,have:"1-4",have_nb:4,serie_nb:4,language:"FR",notes:"",pix:"comics/quete1.jpeg"},{title:"Le Lama Blanc",genre:"adv",authors:"Alejandro Jodorowsky et Georges Bess",complete:!0,finished:!0,have:"1-6",have_nb:6,serie_nb:6,language:"FR",notes:"",pix:"comics/lama1.jpeg"},{title:"Le Surfer d'Argent",genre:"sh",authors:"Moebius, Stan Lee",complete:!0,finished:!0,have:"1",have_nb:1,serie_nb:1,language:"FR",notes:"",pix:"comics/surfer.jpeg"},{title:"L'Incal",genre:"sf",authors:"Moebius et Alexandro Jodorowsky",complete:!0,finished:!0,have:"1-6",have_nb:6,serie_nb:6,language:"FR",notes:"",pix:"comics/incal1.jpeg"},{title:"Ou le regard ne porte pas",genre:"",authors:"Pont et Abolin",complete:!0,finished:!0,have:"1,2",have_nb:2,serie_nb:2,language:"FR",notes:"",pix:"comics/regard1.jpeg"},{title:"Péma Ling",genre:"hist",authors:"Georges Bess",complete:!0,finished:!0,have:"1-5",have_nb:5,serie_nb:5,language:"FR",notes:"",pix:"comics/pemaling1.jpeg"},{title:"Sky Doll",genre:"fantasy",authors:"Alessandro Barbucci et Barbara Canepa",complete:!0,finished:!0,have:"1-3",have_nb:3,serie_nb:3,language:"FR",notes:"",pix:"comics/skydoll1.jpeg"},{title:"Ronin",genre:"sf",authors:"Franck Miller",complete:!0,finished:!0,have:"1",have_nb:1,serie_nb:1,language:"EN",notes:"",pix:"comics/ronin.jpeg"},{title:"Rising Stars",genre:"sh",authors:"Joe Michael Straczynski, Christian Zanier, Keu Cha et Ken Lashley",complete:!0,finished:!0,have:"1",have_nb:1,serie_nb:1,language:"EN",notes:"",pix:"comics/risingstars.jpeg"},{title:"Le Fleau des Dieux",genre:"sf",authors:"Valérie Mangin et Aleksa Gajic",complete:!0,finished:!0,have:"1-6",have_nb:6,serie_nb:6,language:"FR",notes:"",pix:"comics/fleaudieux1.jpeg"},{title:"The Shaolin Cowboy",genre:"fantasy",authors:"Geof Darrow and Lana and Andy Wachowski",complete:!0,finished:!0,have:"1",have_nb:1,serie_nb:1,language:"EN",notes:"",pix:"comics/shaolin-cowboy.jpeg"},{title:"Tales of an Imperfect Future",genre:"sf",authors:"Alfonso Font",complete:!0,finished:!0,have:"1",have_nb:1,serie_nb:1,language:"EN",notes:"",pix:"comics/imperfect-future.jpeg"},{title:"Ghost in the Shell",genre:"sf",authors:"Masamune Shirow",complete:!1,finished:!0,have:"1",have_nb:1,serie_nb:2,language:"EN",notes:"",pix:"comics/ghost-in-the-shell.jpeg"}],"object"==typeof module&&"object"==typeof module.exports&&(module.exports=uiModels.comics_data);

@@ -8,3 +8,3 @@ /*! ***************************************************************************

* https://github.com/evoluteur/evolutility
* Copyright (c) 2015, Olivier Giulieri
* Copyright (c) 2016 Olivier Giulieri
*

@@ -70,3 +70,3 @@ *************************************************************************** */

}
$('#uimodel').html(Evol.UI.input.textMJSON('uimodel2', uiModel, 12))
$('#uimodel').html(Evol.DOM.input.textMJSON('uimodel2', uiModel, 12))
.slideDown();

@@ -73,0 +73,0 @@ $('#hide_def').show();

@@ -59,4 +59,4 @@ module.exports = function (grunt) {

'bower_components/bootstrap/js/modal.js',
'bower_components/bootstrap/js/dropdown.js',
'bower_components/bootstrap/js/button.js',
'bower_components/bootstrap/js/dropdown.js',
'bower_components/bootstrap/js/tooltip.js',

@@ -159,3 +159,2 @@ 'bower_components/bootstrap/js/popover.js',

// --- tools ---
'Gruntfile.js',

@@ -165,16 +164,15 @@ 'package.json',

// --- dist ---
'js/dom*.js',
'js/dico/*.js',
'js/i18n/EN.js',
'js/many*.js',
'js/one*.js',
'js/action-*.js',
'js/view-many/many*.js',
'js/view-one/one*.js',
'js/view-action/action-*.js',
'js/view-action/toolbar.js',
//'js/navbar.js',
'js/toolbar.js',
'ui-models/*.js',
// --- ui models ---
'ui-models/*.js'
'../demo/demo.js',
'!js/*/*-nogit.js'
]

@@ -254,3 +252,3 @@ },

banner: '<%= banner %>',
//compress: true
compress: true
},

@@ -294,3 +292,3 @@ files: {

// *************************************************************************************
grunt.registerTask('default', ['prod', 'dep']);
grunt.registerTask('default', ['prod']);

@@ -297,0 +295,0 @@ grunt.registerTask('dev', [

@@ -8,3 +8,3 @@ /*! ***************************************************************************

* https://github.com/evoluteur/evolutility
* Copyright (c) 2015, Olivier Giulieri
* Copyright (c) 2016 Olivier Giulieri
*

@@ -11,0 +11,0 @@ *************************************************************************** */

@@ -6,4 +6,11 @@ // default config for Evolutility UI

Evol.Config = {
// --- using local storage
localStorage: true,
url: 'http://localhost:3000/api/v1/evolutility/'
// --- using evolutility-server
//url: 'http://localhost:3000/api/v1/evolutility/'
// --- using postgrest
//url: 'http://localhost:3001/'
};

@@ -111,2 +111,4 @@ // Original code and blog post by Steve Hall http://www.delimited.io/blog/2013/12/19/force-bubble-charts-in-d3

this.changeBubblesSize (this.sizeFieldId);
this.changeBubblesGroup(this.groupFieldId);

@@ -113,0 +115,0 @@

@@ -8,3 +8,3 @@ /*! ***************************************************************************

* https://github.com/evoluteur/evolutility
* Copyright (c) 2015, Olivier Giulieri
* Copyright (c) 2016 Olivier Giulieri
*

@@ -52,3 +52,3 @@ *************************************************************************** */

isViewMany: function(viewName){
return viewName==='list' || viewName==='cards' || viewName==='charts' || viewName==='bubbles'|| viewName==='sunburst';
return this.isViewCollection(viewName) || this.isViewCharts(viewName);
},

@@ -60,2 +60,6 @@

isViewCharts: function(viewName){
return viewName==='charts' || viewName==='bubbles' || viewName==='scatter' || viewName==='sunburst';
},
fieldInCharts: function (f) {

@@ -62,0 +66,0 @@ return (_.isUndefined(f.inCharts) || f.inCharts) && Evol.Def.fieldChartable(f);

@@ -8,3 +8,3 @@ /*! ***************************************************************************

* https://github.com/evoluteur/evolutility
* Copyright (c) 2015, Olivier Giulieri
* Copyright (c) 2016 Olivier Giulieri
*

@@ -26,5 +26,11 @@ *************************************************************************** */

fieldEdit: {
field: function (f, fType, fid, fv) {
return uiInput[fType](fid, fv, f, null);
},
default: function (f, fid, fv) {
return uiInput.text(fid, fv, f, null);
},
text: function (f, fid, fv) {

@@ -45,6 +51,3 @@ return uiInput.text(fid, fv, f, null);

},
html: function (f, fid, fv) {
// TODO
return uiInput.textM(fid, fv, f.maxlength, f.height);
},
boolean: function (f, fid, fv) {

@@ -64,2 +67,3 @@ return uiInput.checkbox(fid, fv);

},
date: function (f, fid, fv) {

@@ -74,2 +78,7 @@ return uiInput.date(fid, fv);

},
/*
geoloc: function (f, fid, fv) {
return uiInput.geoloc(fid, fv);
},
*/
lov: function (f, fid, fv) {

@@ -81,2 +90,3 @@ return uiInput.select(fid, fv, '', true, f.list);

},
email: function (f, fid, fv) {

@@ -91,6 +101,2 @@ return '<div class="input-group">'+uiInput.typeFlag(i18n.msg.sgn_email)+

},
json: function(f, fid, fv){
// TODO
return uiInput.textM(fid, fv, f.maxlength, f.height);
},
//doc: function(f, fid, fv, iconsPath){

@@ -114,2 +120,10 @@ //},

},
html: function (f, fid, fv) {
// TODO
return uiInput.textM(fid, fv, f.maxlength, f.height);
},
json: function(f, fid, fv){
// TODO
return uiInput.textM(fid, fv, f.maxlength, f.height);
},
formula: function(f, fid, fv){

@@ -175,3 +189,3 @@ return '<div class="evol-ellipsis">'+uiInput.text(fid, fv, f, null)+'</div>';

case fts.list:
if(_.isString(v)){
if(_.isString(v) && v!==''){
v = v.split(',');

@@ -230,3 +244,4 @@ }

if(!noLink){
h+='<a href="'+(route?route:'javascript:void(0);');
var js='javascript'; // necessary for jshint
h+='<a href="'+(route?route:(js+':void(0);'));
if(id){

@@ -258,2 +273,3 @@ h+='" id="'+id;

.html(
(that.icon?'<i class="glyphicon glyphicon-'+that.icon+'"></i>&nbsp;':'')+
(title?title:that.getTitle())+

@@ -276,3 +292,10 @@ (badge?'<span class="badge badge-one">'+badge+'</span>':'')

case fts.list:
return $f.select2('val');
try{
return $f.select2('val');
}catch(e){
console.error('error with select2');
//alert('error with select2')
return '';
}
break;
default:

@@ -297,3 +320,5 @@ return $f.val();

var txt= _.escape(listItem.text);
if(listItem.icon!=='' && !_.isUndefined(listItem.icon)){
if(listItem.glyphicon){
txt='<i class="glyphicon glyphicon-'+listItem.glyphicon+'"></i> '+txt;
}else if(listItem.icon){
txt='<img src="'+((listItem.icon && listItem.icon.substring(0,1)!=='.')?iconsPath:'')+listItem.icon+'"> '+txt;

@@ -300,0 +325,0 @@ }

@@ -8,3 +8,3 @@ /*! ***************************************************************************

* https://github.com/evoluteur/evolutility
* Copyright (c) 2015, Olivier Giulieri
* Copyright (c) 2016 Olivier Giulieri
*

@@ -81,3 +81,4 @@ *************************************************************************** */

}else{
var txt=JSON.stringify(dd, null, '\t');
//var txt=JSON.stringify(dd, null, '\t');
var txt=JSON.stringify(dd, null, 2);
if(cr2br){

@@ -84,0 +85,0 @@ txt=this.cr2br(txt);

@@ -47,3 +47,2 @@ // Evolutility Localization Library ENGLISH

bImport: 'Import',
bCharts: 'Charts',
//SearchRes: 'Search Result',

@@ -54,6 +53,9 @@ //MassUpdate: 'Mass Update',

bList: 'List',
bCards: 'Cards',
bJSON: 'JSON',
bFilter: 'Filter',
bBubbles: 'Bubbles',
bCards: 'Cards',
bJSON: 'JSON',
//bSunburst: 'Sunburst',
//bScatter:'Scatter',
bCharts: 'Charts',
//bRefresh: 'Refresh',

@@ -71,2 +73,6 @@ //bPrint: 'Print',

//xAxis: 'X Axis',
//yAxis: 'Y Axis',
//zAxis: 'Z Axis',
// --- wizard ---

@@ -73,0 +79,0 @@ prev: 'Previous',

@@ -6,3 +6,3 @@ /*! ***************************************************************************

* https://github.com/evoluteur/evolutility
* Copyright (c) 2015, Olivier Giulieri
* Copyright (c) 2016 Olivier Giulieri
*

@@ -13,2 +13,3 @@ *************************************************************************** */

// TODO: add badge value, formula fields as possible exportable fields too.
var dom = Evol.DOM,

@@ -25,2 +26,3 @@ eDico = Evol.Dico,

cardinality: 'n',
icon: 'cloud-download', // glyphicon-cloud-download

@@ -67,3 +69,3 @@ events: {

//### list of columns to export #########################################
//---- export fields: attributes included in the export -----------------------------
h+='<label><input type="checkbox" value="1" id="showID">'+i18nXpt.IDkey+'</label>';

@@ -86,3 +88,3 @@ _.each(fields, function(f, idx){

//##### export formats ########################################
//---- export formats: CSV, JSON... ------------------------------------------------
var fId = 'evol-xpt-format',

@@ -99,3 +101,3 @@ formatsList = _.map(formats, function(format){

h+='<div class="evol-xpt-opts">'+
//# field (shared b/w formats - header #######
//---- field (shared b/w formats - header -----------------------------
'<div class="evol-FLH clearfix">'+

@@ -107,3 +109,3 @@ '<label class="evol-xpt-cb1">'+uiInput.checkbox(fId, true)+i18nXpt.firstLine+'</label>'+

])+
//##### CSV, TAB - First line for field names #######
//---- CSV, TAB - First line for field names ----
'</div><div id="xptCSV" class="evol-xpt-opt">'+

@@ -121,8 +123,8 @@ //# field - separator

h+='</div></div>'+
//# Preview #######
//---- Preview -----------------------------
dom.html.clearer+'<label class="evol-xpt-pvl">'+i18nXpt.preview+'</label>'+
// ## Samples
// ---- Samples ----
'<textarea class="evol-xpt-val form-control"></textarea>'+
'</div></div></div>'+
// ## Download button
// ---- Download button ----
'<div class="panel '+this.style +' evol-buttons form-actions">'+

@@ -242,2 +244,3 @@ dom.button('cancel', i18n.tools.bCancel, 'btn-default')+

_.each(flds, function(f, idx){
//var mv = f.type==fts.formula ? f.formula(m) : m.get(f.id);
var mv = m.get(f.id);

@@ -244,0 +247,0 @@ if (mv) {

@@ -6,3 +6,3 @@ /*! ***************************************************************************

* https://github.com/evoluteur/evolutility
* Copyright (c) 2015, Olivier Giulieri
* Copyright (c) 2016 Olivier Giulieri
*

@@ -9,0 +9,0 @@ *************************************************************************** */

@@ -6,3 +6,3 @@ /*! ***************************************************************************

* https://github.com/evoluteur/evolutility
* Copyright (c) 2015, Olivier Giulieri
* Copyright (c) 2016 Olivier Giulieri
*

@@ -25,2 +25,3 @@ *************************************************************************** */

cardinality: 'n',
icon: 'cloud-upload', // glyphicon-cloud-upload

@@ -229,3 +230,3 @@ events: {

var r=[];
for (p in sample[0]){
for (var p in sample[0]){
r.push(p);

@@ -232,0 +233,0 @@ }

@@ -8,3 +8,3 @@ /*! ***************************************************************************

* https://github.com/evoluteur/evolutility
* Copyright (c) 2015, Olivier Giulieri
* Copyright (c) 2016 Olivier Giulieri
*

@@ -234,2 +234,3 @@ *************************************************************************** */

vw.mode='new';
this.hideFilter();
}else{

@@ -346,3 +347,3 @@ var ViewClass = Evol.viewClasses.getClass(viewName);

if(!skipIcons){
$(this.titleSelector).html(vw.getTitle());
this.setTitle();
}

@@ -355,3 +356,3 @@ }

this.setRoute('', false);
if(this._filterOn){ // TODO do not always change flag
if(!this._filterOn && this._filterValue){ // TODO do not always change flag
this.showFilter(false);

@@ -361,2 +362,3 @@ }

}else{
this.hideFilter();
//if(this.curView.viewName==='wizard'){

@@ -537,3 +539,3 @@ // this.curView.stepIndex(0);

hideFilter: function(evt){
hideFilter: function(){
if(this._filters){

@@ -546,2 +548,7 @@ this._filters.$el.hide(); //.fadeOut(300);

toggleFilter: function(v){
this._filterOn = _.isBoolean(v) ? v : !this._filterOn;
return this._filterOn ? this.showFilter(true) : this.hideFilter();
},
_flagFilterIcon: function(fOn){

@@ -551,7 +558,2 @@ dom.addRemClass(this.$('a[data-id="filter"]'), fOn, 'evo-filter-on');

toggleFilter: function(){
this._filterOn=!this._filterOn;
return this._filterOn?this.showFilter(true):this.hideFilter();
},
setData: function(data){

@@ -692,6 +694,6 @@ if(this.curView){

// TODO fix bug w/ insert when filter applied => dup record
var updateModel = this.getData(true);
this.model.set(updateModel);
this.model.save({}, {
//patch: true,
var updatedModel = this.getData(true);
this.model.set(updatedModel);
this.model.save(this.model.changedAttributes(), {
patch: !this.model.isNew() && !Evol.Config.localStorage,
success: function(m){

@@ -1054,8 +1056,3 @@ fnSuccess(m);

if(fvs.length){
var models;
if(this._searchString){
models=this._filteredCollection.models;
}else{
models=this.model.collection.models;
}
var models=this._searchString ? this._filteredCollection.models : this.model.collection.models;
models=Evol.Dico.filterModels(models, fvs);

@@ -1067,7 +1064,8 @@ if(this.collectionClass){

}
this._filteredCollection=collec;
this._filteredCollection = collec;
this._filterValue = fvs;
}else{
collec=this.collection;
this._filteredCollection=null;
this._filteredCollection = null;
this._filterValue = null;
}

@@ -1074,0 +1072,0 @@ this.updateStatus();

@@ -8,3 +8,3 @@ /*! ***************************************************************************

* https://github.com/evoluteur/evolutility
* Copyright (c) 2015, Olivier Giulieri
* Copyright (c) 2016 Olivier Giulieri
*

@@ -16,2 +16,3 @@ *************************************************************************** */

viewName: 'bubbles',
icon: 'adjust', // glyphicon-adjust

@@ -18,0 +19,0 @@ events: {

@@ -8,3 +8,3 @@ /*! ***************************************************************************

* https://github.com/evoluteur/evolutility
* Copyright (c) 2015, Olivier Giulieri
* Copyright (c) 2016 Olivier Giulieri
*

@@ -16,2 +16,4 @@ *************************************************************************** */

viewName: 'cards',
// TODO icon should be different than view Mini
icon: 'th-large', // glyphicon-th-large

@@ -18,0 +20,0 @@ events: _.extend({

@@ -8,3 +8,3 @@ /*! ***************************************************************************

* https://github.com/evoluteur/evolutility
* Copyright (c) 2015, Olivier Giulieri
* Copyright (c) 2016 Olivier Giulieri
*

@@ -25,2 +25,3 @@ *************************************************************************** */

viewName: 'charts',
icon: 'stats', // glyphicon-stats

@@ -27,0 +28,0 @@ isChart: true,

@@ -8,3 +8,3 @@ /*! ***************************************************************************

* https://github.com/evoluteur/evolutility
* Copyright (c) 2015, Olivier Giulieri
* Copyright (c) 2016 Olivier Giulieri
*

@@ -16,2 +16,3 @@ *************************************************************************** */

viewName: 'list',
icon: 'th-list', // glyphicon-th-list

@@ -18,0 +19,0 @@ events: _.extend({

@@ -8,3 +8,3 @@ /*! ***************************************************************************

* https://github.com/evoluteur/evolutility
* Copyright (c) 2015, Olivier Giulieri
* Copyright (c) 2016 Olivier Giulieri
*

@@ -199,4 +199,8 @@ *************************************************************************** */

setTitle: function () {
return eDico.setViewTitle(this);
setTitle: function (title){
var bdg=this.uiModel.fnBadge;
if(bdg){
bdg=bdg(this.model);
}
return eDico.setViewTitle(this, title||this.getTitle(), bdg);
},

@@ -203,0 +207,0 @@

@@ -8,3 +8,3 @@ /*! ***************************************************************************

* https://github.com/evoluteur/evolutility
* Copyright (c) 2015, Olivier Giulieri
* Copyright (c) 2016 Olivier Giulieri
*

@@ -17,2 +17,3 @@ *************************************************************************** */

editable: false,
icon: 'eye-open', // glyphicon-eye-open
prefix: 'ovw',

@@ -19,0 +20,0 @@

@@ -8,3 +8,3 @@ /*! ***************************************************************************

* https://github.com/evoluteur/evolutility
* Copyright (c) 2015, Olivier Giulieri
* Copyright (c) 2016 Olivier Giulieri
*

@@ -16,2 +16,3 @@ *************************************************************************** */

viewName: 'edit',
icon: 'edit', // glyphicon-edit
prefix: 'oe',

@@ -18,0 +19,0 @@

@@ -8,3 +8,3 @@ /*! ***************************************************************************

* https://github.com/evoluteur/evolutility
* Copyright (c) 2015, Olivier Giulieri
* Copyright (c) 2016 Olivier Giulieri
*

@@ -21,2 +21,3 @@ *************************************************************************** */

viewName: 'json',
icon: 'barcode', // glyphicon-barcode

@@ -23,0 +24,0 @@ render: function () {

@@ -8,3 +8,3 @@ /*! ***************************************************************************

* https://github.com/evoluteur/evolutility
* Copyright (c) 2015, Olivier Giulieri
* Copyright (c) 2016 Olivier Giulieri
*

@@ -28,2 +28,3 @@ *************************************************************************** */

viewName: 'mini',
icon: 'th-large', // glyphicon-th-large
prefix: 'om',

@@ -30,0 +31,0 @@

@@ -8,3 +8,3 @@ /*! ***************************************************************************

* https://github.com/evoluteur/evolutility
* Copyright (c) 2015, Olivier Giulieri
* Copyright (c) 2016 Olivier Giulieri
*

@@ -11,0 +11,0 @@ *************************************************************************** */

@@ -8,3 +8,3 @@ /*! ***************************************************************************

* https://github.com/evoluteur/evolutility
* Copyright (c) 2015, Olivier Giulieri
* Copyright (c) 2016 Olivier Giulieri
*

@@ -226,3 +226,9 @@ *************************************************************************** */

case fts.list:
$f.select2('val', fv);
//$f.select2('val', fv);
try{
$f.select2('val', _.isString(fv)?[fv]:fv);
}catch(e){
console.error('error with select2');
return '';
}
break;

@@ -843,3 +849,3 @@ case fts.formula:

(f.type===fts.lov && v==='0') ||
(f.type===fts.list && v.length===0) //||
(f.type===fts.list && v && v.length===0) //||
//(f.type===fts.color && v==='#000000')

@@ -846,0 +852,0 @@ )){

{
"name": "evolutility",
"version": "1.1.0",
"copyright": "(c) 2015 Olivier Giulieri",
"version": "1.1.1",
"copyright": "(c) 2016 Olivier Giulieri",
"license": "AGPL-3.0",

@@ -6,0 +6,0 @@ "target": "dist",

@@ -13,4 +13,8 @@ # Evolutility.js

These demos use the browser local storage for their data but Evolutility can also be configured for REST (using [Evolutility-server](https://github.com/evoluteur/evolutility-server) or your own REST API).
These demos use the browser local storage to store data.
I'm still working on making Evolutility work with REST.
I started [Evolutility-server](https://github.com/evoluteur/evolutility-server) to work with Evolutility UI, but I'm now considering using [PostgREST](http://postgrest.com) instead.
## Installation

@@ -236,3 +240,3 @@

{
id: 'serieNb', attribute: 'serieNb', type: 'integer',
id: 'serie_nb', attribute: 'serie_nb', type: 'integer',
label: 'Albums', width: 15, inMany: false,

@@ -242,3 +246,3 @@ inCharts: false

{
id: 'haveNb', attribute: 'haveNb', type: 'integer',
id: 'have_nb', attribute: 'have_nb', type: 'integer',
label: 'Owned', width: 15, inMany: false,

@@ -331,5 +335,5 @@ inCharts:false

Copyright (c) 2015 Olivier Giulieri.
Copyright (c) 2016 Olivier Giulieri.
Evolutility.js is released under the GNU Affero General Public License version 3 [GNU AGPLv3](http://www.gnu.org/licenses/agpl-3.0.html).

@@ -9,4 +9,4 @@ var uiModels = uiModels || {};

"have": "1-6",
"haveNb": 6,
"serieNb": 6,
"have_nb": 6,
"serie_nb": 6,
"language": "EN",

@@ -23,4 +23,4 @@ "notes": "",

"have": "1-3",
"haveNb": 3,
"serieNb": 4,
"have_nb": 3,
"serie_nb": 4,
"language": "EN",

@@ -37,4 +37,4 @@ "notes": "",

"have": "1-4",
"haveNb": 4,
"serieNb": 4,
"have_nb": 4,
"serie_nb": 4,
"language": "FR",

@@ -51,4 +51,4 @@ "notes": "",

"have": "1-5",
"haveNb": 5,
"serieNb": 8,
"have_nb": 5,
"serie_nb": 8,
"language": "FR",

@@ -62,4 +62,4 @@ "notes": "",

"have": "1-6",
"haveNb": 6,
"serieNb": 6,
"have_nb": 6,
"serie_nb": 6,
"language": "FR",

@@ -79,4 +79,4 @@ "authors": "Alain Ayroles et Bruno Maïorana",

"have": "1-8",
"haveNb": 8,
"serieNb": 8,
"have_nb": 8,
"serie_nb": 8,
"language": "FR",

@@ -93,4 +93,4 @@ "notes": "",

"have": "1-3",
"haveNb": 3,
"serieNb": 3,
"have_nb": 3,
"serie_nb": 3,
"language": "FR",

@@ -107,4 +107,4 @@ "notes": "",

"have": "1-4",
"haveNb": 4,
"serieNb": 4,
"have_nb": 4,
"serie_nb": 4,
"language": "FR",

@@ -121,4 +121,4 @@ "notes": "",

"have": "1-5",
"haveNb": 5,
"serieNb": 12,
"have_nb": 5,
"serie_nb": 12,
"language": "FR",

@@ -135,4 +135,4 @@ "notes": "",

"have": "5",
"haveNb": 5,
"serieNb": 5,
"have_nb": 5,
"serie_nb": 5,
"language": "FR",

@@ -149,4 +149,4 @@ "notes": "",

"have": "1-7",
"haveNb": 7,
"serieNb": 7,
"have_nb": 7,
"serie_nb": 7,
"language": "FR",

@@ -163,4 +163,4 @@ "notes": "",

"have": "1-4",
"haveNb": 4,
"serieNb": 4,
"have_nb": 4,
"serie_nb": 4,
"language": "FR",

@@ -177,4 +177,4 @@ "notes": "",

"have": "1-6",
"haveNb": 6,
"serieNb": 6,
"have_nb": 6,
"serie_nb": 6,
"language": "FR",

@@ -191,4 +191,4 @@ "notes": "",

"have": "1",
"haveNb": 1,
"serieNb": 1,
"have_nb": 1,
"serie_nb": 1,
"language": "FR",

@@ -205,4 +205,4 @@ "notes": "",

"have": "1-6",
"haveNb": 6,
"serieNb": 6,
"have_nb": 6,
"serie_nb": 6,
"language": "FR",

@@ -219,4 +219,4 @@ "notes": "",

"have": "1,2",
"haveNb": 2,
"serieNb": 2,
"have_nb": 2,
"serie_nb": 2,
"language": "FR",

@@ -233,4 +233,4 @@ "notes": "",

"have": "1-5",
"haveNb": 5,
"serieNb": 5,
"have_nb": 5,
"serie_nb": 5,
"language": "FR",

@@ -247,4 +247,4 @@ "notes": "",

"have": "1-3",
"haveNb": 3,
"serieNb": 3,
"have_nb": 3,
"serie_nb": 3,
"language": "FR",

@@ -261,4 +261,4 @@ "notes": "",

"have": "1",
"haveNb": 1,
"serieNb": 1,
"have_nb": 1,
"serie_nb": 1,
"language": "EN",

@@ -275,4 +275,4 @@ "notes": "",

"have": "1",
"haveNb": 1,
"serieNb": 1,
"have_nb": 1,
"serie_nb": 1,
"language": "EN",

@@ -289,4 +289,4 @@ "notes": "",

"have": "1-6",
"haveNb": 6,
"serieNb": 6,
"have_nb": 6,
"serie_nb": 6,
"language": "FR",

@@ -303,4 +303,4 @@ "notes": "",

"have": "1",
"haveNb": 1,
"serieNb": 1,
"have_nb": 1,
"serie_nb": 1,
"language": "EN",

@@ -317,4 +317,4 @@ "notes": "",

"have": "1",
"haveNb": 1,
"serieNb": 1,
"have_nb": 1,
"serie_nb": 1,
"language": "EN",

@@ -331,4 +331,4 @@ "notes": "",

"have": "1",
"haveNb": 1,
"serieNb": 2,
"have_nb": 1,
"serie_nb": 2,
"language": "EN",

@@ -335,0 +335,0 @@ "notes": "",

@@ -12,5 +12,8 @@ var uiModels = uiModels || {};

fnBadge: function(m){
var hNb=m.get('haveNb'),
sNb=m.get('serieNb');
return (hNb==sNb)?hNb:hNb+'/'+sNb;
if(m){
var hNb=m.get('have_nb'),
sNb=m.get('serie_nb');
return (hNb==sNb)?hNb:hNb+'/'+sNb;
}
return '';
},

@@ -56,7 +59,7 @@ elements: [

{
id: 'serieNb', attribute: 'serieNb', type: 'integer', width: 15, inMany: false,
id: 'serie_nb', attribute: 'serie_nb', type: 'integer', width: 15, inMany: false,
label: 'Albums', inCharts:false
},
{
id: 'haveNb', attribute: 'haveNb', type: 'integer', width: 15, inMany: false,
id: 'have_nb', attribute: 'have_nb', type: 'integer', width: 15, inMany: false,
label: 'Owned', inCharts:false

@@ -63,0 +66,0 @@ },

@@ -61,3 +61,3 @@ var uiModels = uiModels || {};

type: 'panel', label: 'Task Description', label2:'and Notes', width: 100,
elements: [
elements: [/*
{

@@ -74,3 +74,3 @@ id: 'project', attribute: 'project', type: 'list', label: 'Projects', width: 100, inMany: true,

typeChart:'bars'
},
},*/
{

@@ -77,0 +77,0 @@ id: 'description', attribute: 'description', type: 'textmultiline',

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc