evolutility-ui-jquery
Advanced tools
Comparing version 1.2.3 to 1.2.4
// default config for Evolutility-UI-jQuery | ||
var Evol = Evol || {}; | ||
var EvoConfig = { | ||
Evol.Config = { | ||
// --- using localStorage | ||
@@ -8,0 +6,0 @@ localStorage: true, |
@@ -1,4 +0,5 @@ | ||
/* evolutility-ui-jquery v1.2.3 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:"2016-07-25",priority:"3",category:"work",project:["1","2"],complete:!1,description:"Not much left."},{id:"3",title:"Testing App",duedate:"2016-06-11",priority:"3",category:"work",complete:!1,project:["1","2","3"],description:"test"},{id:"4",title:"Prepare demo",duedate:"2016-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:"2016-01-10",priority:"5",category:"fun",project:["10"],complete:!0},{id:"8",title:"Test TODO",duedate:"2017-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:"3",category:"work",project:["5"],complete:!0},{id:"11",title:"Italian translation",priority:"4",category:"work",project:["5"]},{id:"12",title:"Chinese translation",priority:"3",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:"2017-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:"2016-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),(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",address:"12, Liverpool Street",city:"San Francisco",state:"CA",zip:"94123",country:"US",category:"4"},{id:"2",lastname:"Shackleford ",firstname:"Rusty ",email:"rustyshackleford@gmail.com",address:"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",address:"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",address:"654 Union Street",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",address:"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:"CA",country:"US",email:"olivier@evolutility.org",web:"http://www.evolutility.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",address:"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",address:"Washington",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",address:"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",address:"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),(uiModels=uiModels||{}).winecellar_data=[{name:"Macrostie",label_img:"wine/macrostie.gif",vintage:2008,winery:"Mc Williams",bsize:1,type:1,price:20,grape:1,country:18,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:1,type:2,grape:59,buying_date:"2012-12-12",price:399,value:460,drink_from:2012,drink_to:2017,purchased:3,remaining:1,country:7,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:1,type:1,price:34,value:32,purchased:12,remaining:5,drink_from:2009,grape:"shiraz",country:7,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:1,type:1,buying_date:"2013-05-05",price:28,drink_from:2014,grape:3,country:18,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:4,grape:3,type:1,drink_from:2005,region:"California",price:62,value:32,purchased:12,remaining:8,country:18,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),(uiModels=uiModels||{}).comics_data=[{title:"Do Androids Dream Of Electric Sheep?",genre:11,authors:"Philip K Dick, Tony Parker",complete:!0,finished:!0,have:"1-6",have_nb:6,serie_nb:6,language:1,pix:"comics/androitsheep1.jpeg"},{title:"Saga",genre:11,authors:"Brian K. Vaughan and Fiona Staples",complete:!1,finished:!1,have:"1-5",have_nb:5,serie_nb:6,language:1,pix:"comics/saga1.jpeg"},{title:"Alim le Tanneur",genre:5,authors:"Wilfrid Lupano, Virginie Augustin",complete:!0,finished:!0,have:"1-4",have_nb:4,serie_nb:4,language:2,pix:"comics/alim1.jpg"},{title:"La Caste des Meta-Barons",genre:11,authors:"Alexandro Jodorowsky et Juan Gimenez",complete:!1,finished:!0,have:"1-5",have_nb:5,serie_nb:8,language:2,pix:"comics/metabaron1.jpeg"},{title:"Garulfo",genre:7,have:"1-6",have_nb:6,serie_nb:6,language:2,authors:"Alain Ayroles et Bruno Maïorana",complete:!0,finished:!0,pix:"comics/garulfo1.jpeg"},{title:"Lanfeust de Troy",genre:5,authors:"Didier Tarquin, Christophe Arleston",complete:!0,finished:!0,have:"1-8",have_nb:8,serie_nb:8,language:2,pix:"comics/lanfeust1.jpeg"},{title:"Salammbo",genre:4,authors:"Philippe Druillet et Gustave Flaubert",complete:!0,finished:!0,have:"1-3",have_nb:3,serie_nb:3,language:2,pix:"comics/salammbo1.jpeg"},{title:"Carmen McCallum",genre:11,authors:"Fred Duval et Gess",complete:!1,finished:!1,have:"1-5",have_nb:5,serie_nb:12,language:2,pix:"comics/carmenmc1.jpeg"},{title:"Code McCallum",genre:11,authors:"Fred Duval et Didier Cassegrain",complete:!0,finished:!0,have:"5",have_nb:5,serie_nb:5,language:2,pix:"comics/codemc1.jpeg"},{title:"La Nef des Fous",genre:7,authors:"Turf",complete:!0,finished:!0,have:"1-7",have_nb:7,serie_nb:7,language:2,pix:"comics/neffous1.jpeg"},{title:"La Quete de l'Oiseau du Temps",genre:5,authors:"Serge Le Tendre et Régis Loisel",complete:!0,finished:!0,have:"1-4",have_nb:4,serie_nb:4,language:2,pix:"comics/quete1.jpeg"},{title:"Le Lama Blanc",genre:1,authors:"Alejandro Jodorowsky et Georges Bess",complete:!0,finished:!0,have:"1-6",have_nb:6,serie_nb:6,language:2,pix:"comics/lama1.jpeg"},{title:"Le Surfer d'Argent",genre:12,authors:"Moebius, Stan Lee",complete:!0,finished:!0,have:"1",have_nb:1,serie_nb:1,language:2,pix:"comics/surfer.jpeg"},{title:"L'Incal",genre:11,authors:"Moebius et Alexandro Jodorowsky",complete:!0,finished:!0,have:"1-6",have_nb:6,serie_nb:6,language:2,pix:"comics/incal1.jpeg"},{title:"Ou le regard ne porte pas",genre:1,authors:"Pont et Abolin",complete:!0,finished:!0,have:"1,2",have_nb:2,serie_nb:2,language:2,pix:"comics/regard1.jpeg"},{title:"Péma Ling",genre:1,authors:"Georges Bess",complete:!0,finished:!0,have:"1-5",have_nb:5,serie_nb:5,language:2,pix:"comics/pemaling1.jpeg"},{title:"Sky Doll",genre:4,authors:"Alessandro Barbucci et Barbara Canepa",complete:!0,finished:!0,have:"1-3",have_nb:3,serie_nb:3,language:2,pix:"comics/skydoll1.jpeg"},{title:"Ronin",genre:11,authors:"Franck Miller",complete:!0,finished:!0,have:"1",have_nb:1,serie_nb:1,language:1,pix:"comics/ronin.jpeg"},{title:"Le Fleau des Dieux",genre:11,authors:"Valérie Mangin et Aleksa Gajic",complete:!0,finished:!0,have:"1-6",have_nb:6,serie_nb:6,language:2,pix:"comics/fleaudieux1.jpeg"},{title:"The Shaolin Cowboy",genre:4,authors:"Geof Darrow and Lana and Andy Wachowski",complete:!0,finished:!0,have:"1",have_nb:1,serie_nb:1,language:1,pix:"comics/shaolin-cowboy.jpeg"},{title:"Tales of an Imperfect Future",genre:11,authors:"Alfonso Font",complete:!0,finished:!0,have:"1",have_nb:1,serie_nb:1,language:1,pix:"comics/imperfect-future.jpeg"},{title:"Ghost in the Shell",genre:11,authors:"Masamune Shirow",complete:!1,finished:!0,have:"1",have_nb:1,serie_nb:2,language:1,pix:"comics/ghost-in-the-shell.jpeg"}],"object"==typeof module&&"object"==typeof module.exports&&(module.exports=uiModels.comics_data); | ||
/* | ||
evolutility-ui-jquery v1.2.4 | ||
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:"2016-07-25",priority:"3",category:"work",project:["1","2"],complete:!1,description:"Not much left."},{id:"3",title:"Testing App",duedate:"2016-06-11",priority:"3",category:"work",complete:!1,project:["1","2","3"],description:"test"},{id:"4",title:"Prepare demo",duedate:"2016-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:"2016-01-10",priority:"5",category:"fun",project:["10"],complete:!0},{id:"8",title:"Test TODO",duedate:"2017-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:"3",category:"work",project:["5"],complete:!0},{id:"11",title:"Italian translation",priority:"4",category:"work",project:["5"]},{id:"12",title:"Chinese translation",priority:"3",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:"2017-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:"2016-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",address:"12, Liverpool Street",city:"San Francisco",state:"CA",zip:"94123",country:"US",category:"4"},{id:"2",lastname:"Shackleford ",firstname:"Rusty ",email:"rustyshackleford@gmail.com",address:"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",address:"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",address:"654 Union Street",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",address:"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:"CA",country:"US",email:"olivier@evolutility.org",web:"http://www.evolutility.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",address:"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",address:"Washington",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",address:"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",address:"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:1,type:1,price:20,grape:1,country:18,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:1,type:2,grape:59,buying_date:"2012-12-12",price:399,value:460,drink_from:2012,drink_to:2017,purchased:3,remaining:1,country:7,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:1,type:1,price:34,value:32,purchased:12,remaining:5,drink_from:2009,grape:"shiraz",country:7,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:1,type:1,buying_date:"2013-05-05",price:28,drink_from:2014,grape:3,country:18,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:4,grape:3,type:1,drink_from:2005,region:"California",price:62,value:32,purchased:12,remaining:8,country:18,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:11,authors:"Philip K Dick, Tony Parker",complete:!0,finished:!0,have:"1-6",have_nb:6,serie_nb:6,language:1,pix:"comics/androitsheep1.jpeg"},{title:"Saga",genre:11,authors:"Brian K. Vaughan and Fiona Staples",complete:!1,finished:!1,have:"1-5",have_nb:5,serie_nb:6,language:1,pix:"comics/saga1.jpeg"},{title:"Alim le Tanneur",genre:5,authors:"Wilfrid Lupano, Virginie Augustin",complete:!0,finished:!0,have:"1-4",have_nb:4,serie_nb:4,language:2,pix:"comics/alim1.jpg"},{title:"La Caste des Meta-Barons",genre:11,authors:"Alexandro Jodorowsky et Juan Gimenez",complete:!1,finished:!0,have:"1-5",have_nb:5,serie_nb:8,language:2,pix:"comics/metabaron1.jpeg"},{title:"Garulfo",genre:7,have:"1-6",have_nb:6,serie_nb:6,language:2,authors:"Alain Ayroles et Bruno Maïorana",complete:!0,finished:!0,pix:"comics/garulfo1.jpeg"},{title:"Lanfeust de Troy",genre:5,authors:"Didier Tarquin, Christophe Arleston",complete:!0,finished:!0,have:"1-8",have_nb:8,serie_nb:8,language:2,pix:"comics/lanfeust1.jpeg"},{title:"Salammbo",genre:4,authors:"Philippe Druillet et Gustave Flaubert",complete:!0,finished:!0,have:"1-3",have_nb:3,serie_nb:3,language:2,pix:"comics/salammbo1.jpeg"},{title:"Carmen McCallum",genre:11,authors:"Fred Duval et Gess",complete:!1,finished:!1,have:"1-5",have_nb:5,serie_nb:12,language:2,pix:"comics/carmenmc1.jpeg"},{title:"Code McCallum",genre:11,authors:"Fred Duval et Didier Cassegrain",complete:!0,finished:!0,have:"5",have_nb:5,serie_nb:5,language:2,pix:"comics/codemc1.jpeg"},{title:"La Nef des Fous",genre:7,authors:"Turf",complete:!0,finished:!0,have:"1-7",have_nb:7,serie_nb:7,language:2,pix:"comics/neffous1.jpeg"},{title:"La Quete de l'Oiseau du Temps",genre:5,authors:"Serge Le Tendre et Régis Loisel",complete:!0,finished:!0,have:"1-4",have_nb:4,serie_nb:4,language:2,pix:"comics/quete1.jpeg"},{title:"Le Lama Blanc",genre:1,authors:"Alejandro Jodorowsky et Georges Bess",complete:!0,finished:!0,have:"1-6",have_nb:6,serie_nb:6,language:2,pix:"comics/lama1.jpeg"},{title:"Le Surfer d'Argent",genre:12,authors:"Moebius, Stan Lee",complete:!0,finished:!0,have:"1",have_nb:1,serie_nb:1,language:2,pix:"comics/surfer.jpeg"},{title:"L'Incal",genre:11,authors:"Moebius et Alexandro Jodorowsky",complete:!0,finished:!0,have:"1-6",have_nb:6,serie_nb:6,language:2,pix:"comics/incal1.jpeg"},{title:"Ou le regard ne porte pas",genre:1,authors:"Pont et Abolin",complete:!0,finished:!0,have:"1,2",have_nb:2,serie_nb:2,language:2,pix:"comics/regard1.jpeg"},{title:"Péma Ling",genre:1,authors:"Georges Bess",complete:!0,finished:!0,have:"1-5",have_nb:5,serie_nb:5,language:2,pix:"comics/pemaling1.jpeg"},{title:"Sky Doll",genre:4,authors:"Alessandro Barbucci et Barbara Canepa",complete:!0,finished:!0,have:"1-3",have_nb:3,serie_nb:3,language:2,pix:"comics/skydoll1.jpeg"},{title:"Ronin",genre:11,authors:"Franck Miller",complete:!0,finished:!0,have:"1",have_nb:1,serie_nb:1,language:1,pix:"comics/ronin.jpeg"},{title:"Le Fleau des Dieux",genre:11,authors:"Valérie Mangin et Aleksa Gajic",complete:!0,finished:!0,have:"1-6",have_nb:6,serie_nb:6,language:2,pix:"comics/fleaudieux1.jpeg"},{title:"The Shaolin Cowboy",genre:4,authors:"Geof Darrow and Lana and Andy Wachowski",complete:!0,finished:!0,have:"1",have_nb:1,serie_nb:1,language:1,pix:"comics/shaolin-cowboy.jpeg"},{title:"Tales of an Imperfect Future",genre:11,authors:"Alfonso Font",complete:!0,finished:!0,have:"1",have_nb:1,serie_nb:1,language:1,pix:"comics/imperfect-future.jpeg"},{title:"Ghost in the Shell",genre:11,authors:"Masamune Shirow",complete:!1,finished:!0,have:"1",have_nb:1,serie_nb:2,language:1,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-ui-jquery | ||
* (c) 2017 Olivier Giulieri | ||
* (c) 2020 Olivier Giulieri | ||
* | ||
@@ -30,3 +30,3 @@ *************************************************************************** */ | ||
var M, MS; | ||
if(Evol.Config.localStorage){ | ||
if(EvoConfig.localStorage){ | ||
var lc = new Backbone.LocalStorage('evol-'+entityName); | ||
@@ -42,7 +42,7 @@ M = Backbone.Model.extend({ | ||
M = Backbone.Model.extend({ | ||
urlRoot: Evol.Config.url+entityName | ||
urlRoot: EvoConfig.url+entityName | ||
}); | ||
Ms = Backbone.Collection.extend({ | ||
model: M, | ||
url: Evol.Config.url+entityName/*, | ||
url: EvoConfig.url+entityName/*, | ||
sync : function(method, collection, options) { | ||
@@ -49,0 +49,0 @@ //options.dataType = "jsonp"; |
module.exports = function (grunt) { | ||
function uiDependenciesList(){ | ||
var pkg=grunt.file.readJSON('bower.json'), | ||
var pkg=grunt.file.readJSON('package.json'), | ||
lst = []; | ||
@@ -9,3 +9,3 @@ if(pkg){ | ||
for(var p in deps){ | ||
lst.push(p+' '+deps[p]); | ||
lst.push(p+' '+deps[p].replace('^', '')); | ||
} | ||
@@ -28,3 +28,3 @@ } | ||
bannerDependencies: '/*!\n <%= pkg.name %> <%= pkg.version %> dependencies: ' + | ||
bannerDependencies: '/*!\n <%= pkg.name %> <%= pkg.version %>\n\ndependencies: ' + | ||
uiDependenciesList()+'\n*/\n', | ||
@@ -44,29 +44,29 @@ | ||
// D3.js | ||
'bower_components/d3/d3.js', | ||
'node_modules/d3/d3.js', | ||
// PapaParse.js (CSV parser) | ||
'bower_components/papaparse/papaparse.js', | ||
'node_modules/papaparse/papaparse.js', | ||
// jQuery | ||
'bower_components/jquery/dist/jquery.js', | ||
//'bower_components/jquery.csv.js', | ||
'node_modules/jquery/dist/jquery.js', | ||
//'node_modules/jquery.csv.js', | ||
// Backbone & Underscore | ||
'bower_components/underscore/underscore.js', | ||
//'bower_components/underscore.string/lib/underscore.string.js', | ||
'bower_components/backbone/backbone.js', | ||
'bower_components/backbone.localStorage/backbone.localStorage.js', | ||
'node_modules/underscore/underscore.js', | ||
//'node_modules/underscore.string/lib/underscore.string.js', | ||
'node_modules/backbone/backbone.js', | ||
'node_modules/backbone.localStorage/backbone.localstorage.js', | ||
// Twitter Bootstrap | ||
'bower_components/bootstrap/js/modal.js', | ||
'bower_components/bootstrap/js/dropdown.js', | ||
'bower_components/bootstrap/js/button.js', | ||
'bower_components/bootstrap/js/tooltip.js', | ||
'bower_components/bootstrap/js/popover.js', | ||
//'bower_components/bootstrap/js/carousel.js', | ||
'node_modules/bootstrap/js/modal.js', | ||
'node_modules/bootstrap/js/dropdown.js', | ||
'node_modules/bootstrap/js/button.js', | ||
'node_modules/bootstrap/js/tooltip.js', | ||
'node_modules/bootstrap/js/popover.js', | ||
//'node_modules/bootstrap/js/carousel.js', | ||
// Widgets | ||
'bower_components/bootstrap-datepicker/js/bootstrap-datepicker.js', | ||
'bower_components/select2/select2.js', | ||
'bower_components/toastr/toastr.js' | ||
'node_modules/bootstrap-datepicker/js/bootstrap-datepicker.js', | ||
'node_modules/select2/dist/js/select2.js', | ||
'node_modules/toastr/toastr.js' | ||
], | ||
@@ -81,3 +81,3 @@ dest: '<%= pkg.target %>/dependencies.js' | ||
src: [ | ||
'config.js', | ||
//'config.js', | ||
'js/i18n/EN.js', | ||
@@ -139,15 +139,5 @@ | ||
src: [ | ||
'bower_components/bootstrap/dist/fonts/*' | ||
'node_modules/bootstrap/dist/fonts/*' | ||
], | ||
dest: '<%= pkg.target %>/fonts/bootstrap/' | ||
}, | ||
{ | ||
expand: true, | ||
flatten: true, | ||
src: [ | ||
'bower_components/select2/select2-spinner.gif', | ||
'bower_components/select2/select2.png', | ||
'bower_components/select2/select2x2.png' | ||
], | ||
dest: '<%= pkg.target %>/css' | ||
} | ||
@@ -166,3 +156,2 @@ ] | ||
'package.json', | ||
'bower.json', | ||
@@ -273,2 +262,3 @@ 'js/dico/*.js', | ||
grunt.loadNpmTasks('grunt-sass'); | ||
//var sass = require('node-sass'); | ||
@@ -275,0 +265,0 @@ grunt.registerTask('header', 'Evolutility version', function(arg1) { |
@@ -12,2 +12,4 @@ /*! *************************************************************************** | ||
EvoConfig = EvoConfig || {}; | ||
Evol.App = Backbone.View.extend({ | ||
@@ -165,4 +167,4 @@ | ||
if(Evol.Config){ | ||
if(Evol.Config.localStorage){ | ||
if(EvoConfig){ | ||
if(EvoConfig.localStorage){ | ||
var lc = new Backbone.LocalStorage(this.prefix+(uiModel.table || uiModel.id)); | ||
@@ -177,3 +179,3 @@ M = Backbone.Model.extend({ | ||
}else{ | ||
url = Evol.Config.url+uiModel.id; | ||
url = EvoConfig.url+uiModel.id; | ||
M = Backbone.Model.extend({ | ||
@@ -180,0 +182,0 @@ urlRoot: url |
@@ -84,3 +84,3 @@ /*! *************************************************************************** | ||
if(Evol.Config.localStorage){ | ||
if(EvoConfig.localStorage){ | ||
var lc = new Backbone.LocalStorage('evol-'+entityId); | ||
@@ -96,7 +96,7 @@ M = Backbone.Model.extend({ | ||
M = new Backbone.Model({ | ||
urlRoot: Evol.Config.url+entityId | ||
urlRoot: EvoConfig.url+entityId | ||
}); | ||
Ms = Backbone.Collection.extend({ | ||
model: M, | ||
url: Evol.Config.url+entityId/*, | ||
url: EvoConfig.url+entityId/*, | ||
sync : function(method, collection, options) { | ||
@@ -103,0 +103,0 @@ //options.dataType = "jsonp"; |
@@ -586,3 +586,3 @@ /*! *************************************************************************** | ||
if(Evol.Config.localStorage){ | ||
if(EvoConfig.localStorage){ | ||
m = this.collection.get(id); | ||
@@ -596,3 +596,3 @@ if(_.isUndefined(m)){ | ||
var M = Backbone.Model.extend({ | ||
urlRoot: Evol.Config.url+that.uiModel.id | ||
urlRoot: EvoConfig.url+that.uiModel.id | ||
}); | ||
@@ -729,3 +729,3 @@ m = new M({id:id}); | ||
//this.setModelById(id, true); | ||
var mid=Evol.Config.localStorage?''+id:id; // using string or int | ||
var mid=EvoConfig.localStorage?''+id:id; // using string or int | ||
this.model=this.collection.findWhere({id: mid}); | ||
@@ -784,3 +784,3 @@ var t=this.uiModel.fnTitle; | ||
}; | ||
if(!(id || Evol.Config.localStorage)){ | ||
if(!(id || EvoConfig.localStorage)){ | ||
opts.url=that.model.url(); | ||
@@ -787,0 +787,0 @@ } |
@@ -73,3 +73,2 @@ /*! *************************************************************************** | ||
if(!this._fields){ | ||
var that = this; | ||
this._fields = eDef.getFields(this.uiModel, this.fieldsetFilter); | ||
@@ -76,0 +75,0 @@ this._fieldHash = eDef.getFieldsHash(this._fields); |
{ | ||
"name": "evolutility-ui-jquery", | ||
"description": "Set of model-driven views list, browse, edit, and chart your data (using jQuery, Backbone, and D3.js).", | ||
"version": "1.2.3", | ||
"copyright": "(c) 2019 Olivier Giulieri", | ||
"version": "1.2.4", | ||
"copyright": "(c) 2020 Olivier Giulieri", | ||
"license": "MIT", | ||
@@ -11,11 +11,19 @@ "target": "dist", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/evoluteur/evolutility-ui-jquery.git" | ||
"type": "git", | ||
"url": "git://github.com/evoluteur/evolutility-ui-jquery.git" | ||
}, | ||
"bugs": "https://github.com/evoluteur/evolutility-ui-jquery/issues", | ||
"resolutions": { | ||
"jquery": "3.4.1" | ||
}, | ||
"dependencies": { | ||
"bootstrap-sass": "^3.3.7" | ||
"bootstrap-sass": "^3.3.7", | ||
"jquery": "^3.5.1", | ||
"backbone": "^1.4.0", | ||
"backbone.localstorage": "^1.1.6", | ||
"underscore": "^1.11.0", | ||
"papaparse": "^5.3.0", | ||
"d3": "^3.5.17", | ||
"bootstrap": "^3.3.7", | ||
"bootstrap-datepicker": "^1.6.4", | ||
"select2": "^4.0.13", | ||
"toastr": "^2.1.4", | ||
"balloon-css": "^1.2.0" | ||
}, | ||
@@ -31,14 +39,15 @@ "devDependencies": { | ||
"keywords": [ | ||
"low-code", | ||
"model", | ||
"metadata", | ||
"UI", | ||
"forms", | ||
"CRUD", | ||
"Backbone", | ||
"MDA", | ||
"javascript", | ||
"forms", | ||
"MVC" | ||
"low-code", | ||
"model", | ||
"metadata", | ||
"UI", | ||
"forms", | ||
"CRUD", | ||
"Backbone", | ||
"MDA", | ||
"javascript", | ||
"forms", | ||
"MVC", | ||
"evolutility" | ||
] | ||
} |
@@ -1,6 +0,9 @@ | ||
# Evolutility-UI-jQuery | ||
# Evolutility-UI-jQuery · [![GitHub license](https://img.shields.io/github/license/evoluteur/evolutility-ui-jquery)](https://github.com/evoluteur/evolutility-ui-jquery/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/evolutility-ui-jquery)](https://www.npmjs.com/package/evolutility-ui-jquery) | ||
Evolutility-UI-jQuery provides a set of generic Backbone Views to browse, edit, filter, export and chart Backbone models and collections of different structures. | ||
With it you can make web applications by configuring views with metadata instead of hand-coding templates, Javascript and CSS. | ||
![Edit](https://raw.githubusercontent.com/evoluteur/evolutility-ui-jquery/master/doc/screenshots/one-edit.gif) | ||
By default Evolutility-UI-jQuery uses your browser local storage to store data (easier for demos because there is no server or database to setup). | ||
@@ -27,2 +30,10 @@ | ||
or use the [npm package](https://www.npmjs.com/package/evolutility-ui-jquery): | ||
```bash | ||
# To get the latest stable version, use npm from the command line. | ||
npm install evolutility-ui-jquery | ||
``` | ||
By default, Evolutility-UI-jQuery is configured use localStorage for storing data. To make it work with a REST API: | ||
@@ -37,3 +48,3 @@ | ||
cd evolutility-ui-jquery | ||
bower install | ||
npm install | ||
grunt | ||
@@ -365,8 +376,8 @@ ``` | ||
The (beginning of a) [documentation](http://evoluteur.github.io/evolutility-ui-jquery/doc/index.html) is in progress: [ui-models](http://evoluteur.github.io/evolutility-ui-jquery/doc/ui-model.html) and [views](http://evoluteur.github.io/evolutility-ui-jquery/doc/views.html). | ||
[Documentation](http://evoluteur.github.io/evolutility-ui-jquery/doc/index.html): [ui-models](http://evoluteur.github.io/evolutility-ui-jquery/doc/ui-model.html) and [views](http://evoluteur.github.io/evolutility-ui-jquery/doc/views.html). | ||
## License | ||
Copyright (c) 2019 [Olivier Giulieri](https://evoluteur.github.io/). | ||
Copyright (c) 2020 [Olivier Giulieri](https://evoluteur.github.io/). | ||
Evolutility-UI-jQuery is released under the [MIT license](http://github.com/evoluteur/evolutility-ui-jquery/blob/master/LICENSE.md). | ||
Evolutility-UI-jQuery is released under the [MIT license](http://github.com/evoluteur/evolutility-ui-jquery/blob/master/LICENSE). |
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 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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
2464324
20742
381
12
158
7
+ Addedbackbone@^1.4.0
+ Addedbackbone.localstorage@^1.1.6
+ Addedballoon-css@^1.2.0
+ Addedbootstrap@^3.3.7
+ Addedbootstrap-datepicker@^1.6.4
+ Addedd3@^3.5.17
+ Addedjquery@^3.5.1
+ Addedpapaparse@^5.3.0
+ Addedselect2@^4.0.13
+ Addedtoastr@^2.1.4
+ Addedunderscore@^1.11.0
+ Addedbackbone@1.6.0(transitive)
+ Addedbackbone.localstorage@1.1.16(transitive)
+ Addedballoon-css@1.2.0(transitive)
+ Addedbootstrap@3.4.1(transitive)
+ Addedbootstrap-datepicker@1.10.0(transitive)
+ Addedd3@3.5.17(transitive)
+ Addedjquery@3.7.1(transitive)
+ Addedpapaparse@5.4.1(transitive)
+ Addedselect2@4.0.13(transitive)
+ Addedtoastr@2.1.4(transitive)
+ Addedunderscore@1.13.7(transitive)