From 44b2c703275888f55eb1a089318b9ea16fc798e0 Mon Sep 17 00:00:00 2001 From: Sockenklaus Date: Tue, 5 Oct 2021 00:13:41 +0200 Subject: [PATCH] started workingon pinia, adding sample data --- package-lock.json | 14 + package.json | 1 + src/main.ts | 2 + src/sample-data/employees.json | 1202 ++++++++++++++++++++++++++ src/sample-data/shifts.json | 1442 ++++++++++++++++++++++++++++++++ src/stores/employees.js | 12 + src/views/Home.vue | 1 + tsconfig.json | 2 +- 8 files changed, 2675 insertions(+), 1 deletion(-) create mode 100644 src/sample-data/employees.json create mode 100644 src/sample-data/shifts.json create mode 100644 src/stores/employees.js diff --git a/package-lock.json b/package-lock.json index 2b0bc05..a32dc2c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1879,6 +1879,15 @@ "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=" }, + "pinia": { + "version": "2.0.0-rc.10", + "resolved": "https://registry.npmjs.org/pinia/-/pinia-2.0.0-rc.10.tgz", + "integrity": "sha512-WY0KQoHxSBylhGc6aBQKPFfAupYHWpI1QBQKJSyK9btwwMTVQpwCdePgPho+ZoEMl832jb7RwfI5TN1srV5VEA==", + "requires": { + "@vue/devtools-api": "^6.0.0-beta.18", + "vue-demi": "*" + } + }, "pinkie": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", @@ -2692,6 +2701,11 @@ "@vue/shared": "3.2.19" } }, + "vue-demi": { + "version": "0.11.4", + "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.11.4.tgz", + "integrity": "sha512-/3xFwzSykLW2HiiLie43a+FFgNOcokbBJ+fzvFXd0r2T8MYohqvphUyDQ8lbAwzQ3Dlcrb1c9ykifGkhSIAk6A==" + }, "vue-month-picker": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/vue-month-picker/-/vue-month-picker-1.5.0.tgz", diff --git a/package.json b/package.json index 7fb91d4..9fd4713 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "bootstrap": "^5.1.1", "bootstrap-icons": "^1.5.0", "date-fns": "^2.24.0", + "pinia": "^2.0.0-rc.10", "vue": "^3.2.16", "vue-month-picker": "^1.5.0", "vue-router": "^4.0.11" diff --git a/src/main.ts b/src/main.ts index eea4361..8128ce3 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,4 +1,5 @@ import { createApp } from 'vue' +import { createPinia } from 'pinia' import App from './App.vue' import router from './router' import "bootstrap" @@ -7,4 +8,5 @@ import "bootstrap-icons/font/bootstrap-icons.css" createApp(App) .use(router) +.use(createPinia()) .mount('#app') diff --git a/src/sample-data/employees.json b/src/sample-data/employees.json new file mode 100644 index 0000000..24807cd --- /dev/null +++ b/src/sample-data/employees.json @@ -0,0 +1,1202 @@ +[ +{ +"ID":"1", +"name":"Barry Rose", +"handle":"Barry", +"contractHours":"25" +}, +{ +"ID":"2", +"name":"Rebecca Dwyer", +"handle":"Rebecca", +"contractHours":"30" +}, +{ +"ID":"3", +"name":"Jocelyn Rixon", +"handle":"Jocelyn", +"contractHours":"39" +}, +{ +"ID":"4", +"name":"Caleb Dubois", +"handle":"Caleb", +"contractHours":"23" +}, +{ +"ID":"5", +"name":"Clarissa Mason", +"handle":"Clarissa", +"contractHours":"28" +}, +{ +"ID":"6", +"name":"Rosalie Tyler", +"handle":"Rosalie", +"contractHours":"28" +}, +{ +"ID":"7", +"name":"Roger Hope", +"handle":"Roger", +"contractHours":"27" +}, +{ +"ID":"8", +"name":"Erick Vallory", +"handle":"Erick", +"contractHours":"35" +}, +{ +"ID":"9", +"name":"Mark Jones", +"handle":"Mark", +"contractHours":"31" +}, +{ +"ID":"10", +"name":"Lynn Hale", +"handle":"Lynn", +"contractHours":"37" +}, +{ +"ID":"11", +"name":"Dorothy Mitchell", +"handle":"Dorothy", +"contractHours":"31" +}, +{ +"ID":"12", +"name":"Ronald Yarwood", +"handle":"Ronald", +"contractHours":"24" +}, +{ +"ID":"13", +"name":"Carmen Leigh", +"handle":"Carmen", +"contractHours":"30" +}, +{ +"ID":"14", +"name":"Maria Plant", +"handle":"Maria", +"contractHours":"32" +}, +{ +"ID":"15", +"name":"Chad Briggs", +"handle":"Chad", +"contractHours":"32" +}, +{ +"ID":"16", +"name":"Abdul Rivers", +"handle":"Abdul", +"contractHours":"36" +}, +{ +"ID":"17", +"name":"Carol Welsch", +"handle":"Carol", +"contractHours":"33" +}, +{ +"ID":"18", +"name":"Jocelyn Burnley", +"handle":"Jocelyn", +"contractHours":"22" +}, +{ +"ID":"19", +"name":"Mayleen Bright", +"handle":"Mayleen", +"contractHours":"31" +}, +{ +"ID":"20", +"name":"Sebastian Johnson", +"handle":"Sebastian", +"contractHours":"22" +}, +{ +"ID":"21", +"name":"Percy Selby", +"handle":"Percy", +"contractHours":"22" +}, +{ +"ID":"22", +"name":"Cara Hamilton", +"handle":"Cara", +"contractHours":"29" +}, +{ +"ID":"23", +"name":"Brad Ralph", +"handle":"Brad", +"contractHours":"20" +}, +{ +"ID":"24", +"name":"Owen Mcgee", +"handle":"Owen", +"contractHours":"24" +}, +{ +"ID":"25", +"name":"Leah Wren", +"handle":"Leah", +"contractHours":"32" +}, +{ +"ID":"26", +"name":"Rihanna Nash", +"handle":"Rihanna", +"contractHours":"27" +}, +{ +"ID":"27", +"name":"Nathan Collins", +"handle":"Nathan", +"contractHours":"35" +}, +{ +"ID":"28", +"name":"Mason Rosenbloom", +"handle":"Mason", +"contractHours":"23" +}, +{ +"ID":"29", +"name":"Kieth Bentley", +"handle":"Kieth", +"contractHours":"35" +}, +{ +"ID":"30", +"name":"Eduardo Robinson", +"handle":"Eduardo", +"contractHours":"27" +}, +{ +"ID":"31", +"name":"Doris Rogers", +"handle":"Doris", +"contractHours":"27" +}, +{ +"ID":"32", +"name":"Mary Pope", +"handle":"Mary", +"contractHours":"38" +}, +{ +"ID":"33", +"name":"Barry Carter", +"handle":"Barry", +"contractHours":"37" +}, +{ +"ID":"34", +"name":"Bob Stone", +"handle":"Bob", +"contractHours":"20" +}, +{ +"ID":"35", +"name":"Penny Owen", +"handle":"Penny", +"contractHours":"37" +}, +{ +"ID":"36", +"name":"George Benson", +"handle":"George", +"contractHours":"28" +}, +{ +"ID":"37", +"name":"Marie Wallace", +"handle":"Marie", +"contractHours":"37" +}, +{ +"ID":"38", +"name":"Laila Shaw", +"handle":"Laila", +"contractHours":"23" +}, +{ +"ID":"39", +"name":"Carina Brennan", +"handle":"Carina", +"contractHours":"24" +}, +{ +"ID":"40", +"name":"Abbey Keys", +"handle":"Abbey", +"contractHours":"20" +}, +{ +"ID":"41", +"name":"Leilani Gates", +"handle":"Leilani", +"contractHours":"24" +}, +{ +"ID":"42", +"name":"Mason Howard", +"handle":"Mason", +"contractHours":"35" +}, +{ +"ID":"43", +"name":"Mina Victor", +"handle":"Mina", +"contractHours":"33" +}, +{ +"ID":"44", +"name":"Isla Hall", +"handle":"Isla", +"contractHours":"35" +}, +{ +"ID":"45", +"name":"Hank Stevens", +"handle":"Hank", +"contractHours":"20" +}, +{ +"ID":"46", +"name":"Jacob Sylvester", +"handle":"Jacob", +"contractHours":"30" +}, +{ +"ID":"47", +"name":"Lexi Curtis", +"handle":"Lexi", +"contractHours":"29" +}, +{ +"ID":"48", +"name":"Keira Woodley", +"handle":"Keira", +"contractHours":"27" +}, +{ +"ID":"49", +"name":"Camellia Rehman", +"handle":"Camellia", +"contractHours":"21" +}, +{ +"ID":"50", +"name":"Mike Furnell", +"handle":"Mike", +"contractHours":"20" +}, +{ +"ID":"51", +"name":"Maggie Flynn", +"handle":"Maggie", +"contractHours":"37" +}, +{ +"ID":"52", +"name":"Aiden Oakley", +"handle":"Aiden", +"contractHours":"37" +}, +{ +"ID":"53", +"name":"Juliette Farmer", +"handle":"Juliette", +"contractHours":"28" +}, +{ +"ID":"54", +"name":"Sloane Owens", +"handle":"Sloane", +"contractHours":"34" +}, +{ +"ID":"55", +"name":"Martha Cunningham", +"handle":"Martha", +"contractHours":"39" +}, +{ +"ID":"56", +"name":"Chris Morris", +"handle":"Chris", +"contractHours":"32" +}, +{ +"ID":"57", +"name":"Manuel Stevens", +"handle":"Manuel", +"contractHours":"39" +}, +{ +"ID":"58", +"name":"Margot Marshall", +"handle":"Margot", +"contractHours":"27" +}, +{ +"ID":"59", +"name":"Phillip Raven", +"handle":"Phillip", +"contractHours":"38" +}, +{ +"ID":"60", +"name":"Skylar Stanton", +"handle":"Skylar", +"contractHours":"30" +}, +{ +"ID":"61", +"name":"Jack Howard", +"handle":"Jack", +"contractHours":"36" +}, +{ +"ID":"62", +"name":"Ellen Holmes", +"handle":"Ellen", +"contractHours":"34" +}, +{ +"ID":"63", +"name":"Gabriel Bayliss", +"handle":"Gabriel", +"contractHours":"20" +}, +{ +"ID":"64", +"name":"Celina Shields", +"handle":"Celina", +"contractHours":"30" +}, +{ +"ID":"65", +"name":"William Underhill", +"handle":"William", +"contractHours":"21" +}, +{ +"ID":"66", +"name":"Kurt Howard", +"handle":"Kurt", +"contractHours":"28" +}, +{ +"ID":"67", +"name":"Carla Woods", +"handle":"Carla", +"contractHours":"36" +}, +{ +"ID":"68", +"name":"Barry Watson", +"handle":"Barry", +"contractHours":"31" +}, +{ +"ID":"69", +"name":"Catherine Young", +"handle":"Catherine", +"contractHours":"38" +}, +{ +"ID":"70", +"name":"Adelaide Drummond", +"handle":"Adelaide", +"contractHours":"39" +}, +{ +"ID":"71", +"name":"Ramon James", +"handle":"Ramon", +"contractHours":"37" +}, +{ +"ID":"72", +"name":"Leroy Slater", +"handle":"Leroy", +"contractHours":"36" +}, +{ +"ID":"73", +"name":"Nick Weatcroft", +"handle":"Nick", +"contractHours":"33" +}, +{ +"ID":"74", +"name":"Aiden Kennedy", +"handle":"Aiden", +"contractHours":"33" +}, +{ +"ID":"75", +"name":"George Neal", +"handle":"George", +"contractHours":"37" +}, +{ +"ID":"76", +"name":"Bernadette Simmons", +"handle":"Bernadette", +"contractHours":"22" +}, +{ +"ID":"77", +"name":"Percy Wright", +"handle":"Percy", +"contractHours":"38" +}, +{ +"ID":"78", +"name":"Mike Upton", +"handle":"Mike", +"contractHours":"35" +}, +{ +"ID":"79", +"name":"Cedrick Hepburn", +"handle":"Cedrick", +"contractHours":"36" +}, +{ +"ID":"80", +"name":"Roger Jacobs", +"handle":"Roger", +"contractHours":"38" +}, +{ +"ID":"81", +"name":"Cameron Cavanagh", +"handle":"Cameron", +"contractHours":"36" +}, +{ +"ID":"82", +"name":"Jacob Davies", +"handle":"Jacob", +"contractHours":"28" +}, +{ +"ID":"83", +"name":"Harvey Poole", +"handle":"Harvey", +"contractHours":"39" +}, +{ +"ID":"84", +"name":"Sebastian Long", +"handle":"Sebastian", +"contractHours":"37" +}, +{ +"ID":"85", +"name":"Chris Umney", +"handle":"Chris", +"contractHours":"25" +}, +{ +"ID":"86", +"name":"Alexander Lyon", +"handle":"Alexander", +"contractHours":"23" +}, +{ +"ID":"87", +"name":"Carol Dixon", +"handle":"Carol", +"contractHours":"20" +}, +{ +"ID":"88", +"name":"Candice Young", +"handle":"Candice", +"contractHours":"27" +}, +{ +"ID":"89", +"name":"Mason Mitchell", +"handle":"Mason", +"contractHours":"39" +}, +{ +"ID":"90", +"name":"Harry Thornton", +"handle":"Harry", +"contractHours":"32" +}, +{ +"ID":"91", +"name":"Julius Vaughn", +"handle":"Julius", +"contractHours":"37" +}, +{ +"ID":"92", +"name":"Valentina Cork", +"handle":"Valentina", +"contractHours":"33" +}, +{ +"ID":"93", +"name":"Darlene Reynolds", +"handle":"Darlene", +"contractHours":"33" +}, +{ +"ID":"94", +"name":"Julian Pond", +"handle":"Julian", +"contractHours":"20" +}, +{ +"ID":"95", +"name":"Carol Knott", +"handle":"Carol", +"contractHours":"21" +}, +{ +"ID":"96", +"name":"Miriam Gregory", +"handle":"Miriam", +"contractHours":"39" +}, +{ +"ID":"97", +"name":"Deborah Fulton", +"handle":"Deborah", +"contractHours":"28" +}, +{ +"ID":"98", +"name":"Aiden Sherry", +"handle":"Aiden", +"contractHours":"39" +}, +{ +"ID":"99", +"name":"Daron Samuel", +"handle":"Daron", +"contractHours":"29" +}, +{ +"ID":"100", +"name":"Harmony Sloan", +"handle":"Harmony", +"contractHours":"27" +}, +{ +"ID":"101", +"name":"Gil Speed", +"handle":"Gil", +"contractHours":"20" +}, +{ +"ID":"102", +"name":"Erick Bennett", +"handle":"Erick", +"contractHours":"36" +}, +{ +"ID":"103", +"name":"Anthony Osmond", +"handle":"Anthony", +"contractHours":"31" +}, +{ +"ID":"104", +"name":"Sasha Beal", +"handle":"Sasha", +"contractHours":"36" +}, +{ +"ID":"105", +"name":"Tyler Radley", +"handle":"Tyler", +"contractHours":"26" +}, +{ +"ID":"106", +"name":"Sasha Hobbs", +"handle":"Sasha", +"contractHours":"39" +}, +{ +"ID":"107", +"name":"John Purvis", +"handle":"John", +"contractHours":"37" +}, +{ +"ID":"108", +"name":"Penny Crawley", +"handle":"Penny", +"contractHours":"24" +}, +{ +"ID":"109", +"name":"Matt Terry", +"handle":"Matt", +"contractHours":"31" +}, +{ +"ID":"110", +"name":"Rosalie Flett", +"handle":"Rosalie", +"contractHours":"30" +}, +{ +"ID":"111", +"name":"Harry Robinson", +"handle":"Harry", +"contractHours":"25" +}, +{ +"ID":"112", +"name":"Rhea Dale", +"handle":"Rhea", +"contractHours":"37" +}, +{ +"ID":"113", +"name":"Eileen Cavanagh", +"handle":"Eileen", +"contractHours":"34" +}, +{ +"ID":"114", +"name":"Kassandra Notman", +"handle":"Kassandra", +"contractHours":"34" +}, +{ +"ID":"115", +"name":"Blake Richards", +"handle":"Blake", +"contractHours":"27" +}, +{ +"ID":"116", +"name":"Carmen Holmes", +"handle":"Carmen", +"contractHours":"30" +}, +{ +"ID":"117", +"name":"Rosemary Knight", +"handle":"Rosemary", +"contractHours":"24" +}, +{ +"ID":"118", +"name":"Alma Neville", +"handle":"Alma", +"contractHours":"31" +}, +{ +"ID":"119", +"name":"Bart Hopkinson", +"handle":"Bart", +"contractHours":"21" +}, +{ +"ID":"120", +"name":"Marvin Brock", +"handle":"Marvin", +"contractHours":"31" +}, +{ +"ID":"121", +"name":"Danny West", +"handle":"Danny", +"contractHours":"38" +}, +{ +"ID":"122", +"name":"Rufus Lomax", +"handle":"Rufus", +"contractHours":"26" +}, +{ +"ID":"123", +"name":"Lara Wilson", +"handle":"Lara", +"contractHours":"28" +}, +{ +"ID":"124", +"name":"Emma Skinner", +"handle":"Emma", +"contractHours":"30" +}, +{ +"ID":"125", +"name":"Bart Stark", +"handle":"Bart", +"contractHours":"34" +}, +{ +"ID":"126", +"name":"Michael Notman", +"handle":"Michael", +"contractHours":"38" +}, +{ +"ID":"127", +"name":"Mark Collins", +"handle":"Mark", +"contractHours":"33" +}, +{ +"ID":"128", +"name":"Selena Utterson", +"handle":"Selena", +"contractHours":"29" +}, +{ +"ID":"129", +"name":"Drew Reid", +"handle":"Drew", +"contractHours":"30" +}, +{ +"ID":"130", +"name":"Maggie Pickard", +"handle":"Maggie", +"contractHours":"24" +}, +{ +"ID":"131", +"name":"Tania Cartwright", +"handle":"Tania", +"contractHours":"35" +}, +{ +"ID":"132", +"name":"Nate Cartwright", +"handle":"Nate", +"contractHours":"36" +}, +{ +"ID":"133", +"name":"Carter Richards", +"handle":"Carter", +"contractHours":"33" +}, +{ +"ID":"134", +"name":"Rihanna Durrant", +"handle":"Rihanna", +"contractHours":"39" +}, +{ +"ID":"135", +"name":"Tiffany Holmes", +"handle":"Tiffany", +"contractHours":"23" +}, +{ +"ID":"136", +"name":"Kimberly Parr", +"handle":"Kimberly", +"contractHours":"33" +}, +{ +"ID":"137", +"name":"Russel Ellis", +"handle":"Russel", +"contractHours":"37" +}, +{ +"ID":"138", +"name":"Angelina Dale", +"handle":"Angelina", +"contractHours":"34" +}, +{ +"ID":"139", +"name":"Denny Vallins", +"handle":"Denny", +"contractHours":"39" +}, +{ +"ID":"140", +"name":"Tom Ripley", +"handle":"Tom", +"contractHours":"36" +}, +{ +"ID":"141", +"name":"Ethan Sheldon", +"handle":"Ethan", +"contractHours":"22" +}, +{ +"ID":"142", +"name":"Denny Jefferson", +"handle":"Denny", +"contractHours":"28" +}, +{ +"ID":"143", +"name":"Leslie Oswald", +"handle":"Leslie", +"contractHours":"23" +}, +{ +"ID":"144", +"name":"Alexander Ramsey", +"handle":"Alexander", +"contractHours":"37" +}, +{ +"ID":"145", +"name":"Leroy York", +"handle":"Leroy", +"contractHours":"20" +}, +{ +"ID":"146", +"name":"Angelique Riley", +"handle":"Angelique", +"contractHours":"20" +}, +{ +"ID":"147", +"name":"Marla Weston", +"handle":"Marla", +"contractHours":"24" +}, +{ +"ID":"148", +"name":"Alan Denton", +"handle":"Alan", +"contractHours":"20" +}, +{ +"ID":"149", +"name":"Carter Kidd", +"handle":"Carter", +"contractHours":"26" +}, +{ +"ID":"150", +"name":"Margot Villiger", +"handle":"Margot", +"contractHours":"20" +}, +{ +"ID":"151", +"name":"Callie Palmer", +"handle":"Callie", +"contractHours":"23" +}, +{ +"ID":"152", +"name":"Harry King", +"handle":"Harry", +"contractHours":"23" +}, +{ +"ID":"153", +"name":"David Thomson", +"handle":"David", +"contractHours":"27" +}, +{ +"ID":"154", +"name":"Julianna Blackburn", +"handle":"Julianna", +"contractHours":"26" +}, +{ +"ID":"155", +"name":"Kimberly Cassidy", +"handle":"Kimberly", +"contractHours":"32" +}, +{ +"ID":"156", +"name":"Johnathan Nayler", +"handle":"Johnathan", +"contractHours":"26" +}, +{ +"ID":"157", +"name":"Melinda Benson", +"handle":"Melinda", +"contractHours":"25" +}, +{ +"ID":"158", +"name":"Denny Jefferson", +"handle":"Denny", +"contractHours":"20" +}, +{ +"ID":"159", +"name":"Domenic John", +"handle":"Domenic", +"contractHours":"24" +}, +{ +"ID":"160", +"name":"Logan Samuel", +"handle":"Logan", +"contractHours":"31" +}, +{ +"ID":"161", +"name":"Claire Hopkins", +"handle":"Claire", +"contractHours":"22" +}, +{ +"ID":"162", +"name":"Melania Moreno", +"handle":"Melania", +"contractHours":"33" +}, +{ +"ID":"163", +"name":"Nick Wooldridge", +"handle":"Nick", +"contractHours":"22" +}, +{ +"ID":"164", +"name":"Mike Dyson", +"handle":"Mike", +"contractHours":"36" +}, +{ +"ID":"165", +"name":"Tom Gardner", +"handle":"Tom", +"contractHours":"34" +}, +{ +"ID":"166", +"name":"Wade Johnson", +"handle":"Wade", +"contractHours":"26" +}, +{ +"ID":"167", +"name":"Eve Walsh", +"handle":"Eve", +"contractHours":"22" +}, +{ +"ID":"168", +"name":"Henry Bailey", +"handle":"Henry", +"contractHours":"36" +}, +{ +"ID":"169", +"name":"Lucas Clarkson", +"handle":"Lucas", +"contractHours":"24" +}, +{ +"ID":"170", +"name":"Tony Jarrett", +"handle":"Tony", +"contractHours":"32" +}, +{ +"ID":"171", +"name":"Nicholas Griffiths", +"handle":"Nicholas", +"contractHours":"31" +}, +{ +"ID":"172", +"name":"Kurt Santos", +"handle":"Kurt", +"contractHours":"21" +}, +{ +"ID":"173", +"name":"Goldie Wright", +"handle":"Goldie", +"contractHours":"36" +}, +{ +"ID":"174", +"name":"Barney Powell", +"handle":"Barney", +"contractHours":"38" +}, +{ +"ID":"175", +"name":"Sebastian Holmes", +"handle":"Sebastian", +"contractHours":"31" +}, +{ +"ID":"176", +"name":"Sabina Knight", +"handle":"Sabina", +"contractHours":"31" +}, +{ +"ID":"177", +"name":"David Rowlands", +"handle":"David", +"contractHours":"34" +}, +{ +"ID":"178", +"name":"Roger Ramsey", +"handle":"Roger", +"contractHours":"39" +}, +{ +"ID":"179", +"name":"Janelle Upsdell", +"handle":"Janelle", +"contractHours":"25" +}, +{ +"ID":"180", +"name":"Rae Lane", +"handle":"Rae", +"contractHours":"27" +}, +{ +"ID":"181", +"name":"Victoria Hamilton", +"handle":"Victoria", +"contractHours":"26" +}, +{ +"ID":"182", +"name":"Joseph Cavanagh", +"handle":"Joseph", +"contractHours":"38" +}, +{ +"ID":"183", +"name":"Vera Thomas", +"handle":"Vera", +"contractHours":"37" +}, +{ +"ID":"184", +"name":"Karla Hall", +"handle":"Karla", +"contractHours":"32" +}, +{ +"ID":"185", +"name":"Leilani Paterson", +"handle":"Leilani", +"contractHours":"26" +}, +{ +"ID":"186", +"name":"Crystal Roscoe", +"handle":"Crystal", +"contractHours":"20" +}, +{ +"ID":"187", +"name":"Bridget Ingram", +"handle":"Bridget", +"contractHours":"39" +}, +{ +"ID":"188", +"name":"Fred Murray", +"handle":"Fred", +"contractHours":"35" +}, +{ +"ID":"189", +"name":"Clint Harris", +"handle":"Clint", +"contractHours":"39" +}, +{ +"ID":"190", +"name":"Freya Baker", +"handle":"Freya", +"contractHours":"22" +}, +{ +"ID":"191", +"name":"Carissa Mills", +"handle":"Carissa", +"contractHours":"36" +}, +{ +"ID":"192", +"name":"Erick Benfield", +"handle":"Erick", +"contractHours":"32" +}, +{ +"ID":"193", +"name":"Carissa Lewin", +"handle":"Carissa", +"contractHours":"30" +}, +{ +"ID":"194", +"name":"Renee Wilde", +"handle":"Renee", +"contractHours":"33" +}, +{ +"ID":"195", +"name":"Angelique Gordon", +"handle":"Angelique", +"contractHours":"36" +}, +{ +"ID":"196", +"name":"Cedrick Olson", +"handle":"Cedrick", +"contractHours":"33" +}, +{ +"ID":"197", +"name":"Kendra Thomson", +"handle":"Kendra", +"contractHours":"34" +}, +{ +"ID":"198", +"name":"Wade Bolton", +"handle":"Wade", +"contractHours":"25" +}, +{ +"ID":"199", +"name":"Bob Mcguire", +"handle":"Bob", +"contractHours":"32" +}, +{ +"ID":"200", +"name":"Emmanuelle Gallacher", +"handle":"Emmanuelle", +"contractHours":"22" +} +] diff --git a/src/sample-data/shifts.json b/src/sample-data/shifts.json new file mode 100644 index 0000000..928cc2f --- /dev/null +++ b/src/sample-data/shifts.json @@ -0,0 +1,1442 @@ +[ +{ +"ID":"1", +"shiftDate":"2021-11-07 07:42:04Z", +"employeeId":"67", +"shiftType":"" +}, +{ +"ID":"2", +"shiftDate":"2021-09-02 03:33:49Z", +"employeeId":"121", +"shiftType":"" +}, +{ +"ID":"3", +"shiftDate":"2021-09-13 11:13:22Z", +"employeeId":"63", +"shiftType":"" +}, +{ +"ID":"4", +"shiftDate":"2021-12-15 21:05:50Z", +"employeeId":"175", +"shiftType":"" +}, +{ +"ID":"5", +"shiftDate":"2021-12-23 22:18:30Z", +"employeeId":"60", +"shiftType":"" +}, +{ +"ID":"6", +"shiftDate":"2021-10-05 02:30:46Z", +"employeeId":"156", +"shiftType":"" +}, +{ +"ID":"7", +"shiftDate":"2021-12-05 00:18:22Z", +"employeeId":"84", +"shiftType":"" +}, +{ +"ID":"8", +"shiftDate":"2021-09-07 03:20:33Z", +"employeeId":"196", +"shiftType":"" +}, +{ +"ID":"9", +"shiftDate":"2021-10-05 19:07:09Z", +"employeeId":"161", +"shiftType":"" +}, +{ +"ID":"10", +"shiftDate":"2021-10-02 06:23:37Z", +"employeeId":"74", +"shiftType":"" +}, +{ +"ID":"11", +"shiftDate":"2021-11-03 10:01:45Z", +"employeeId":"185", +"shiftType":"" +}, +{ +"ID":"12", +"shiftDate":"2021-11-09 00:12:45Z", +"employeeId":"9", +"shiftType":"" +}, +{ +"ID":"13", +"shiftDate":"2021-12-17 14:46:03Z", +"employeeId":"162", +"shiftType":"" +}, +{ +"ID":"14", +"shiftDate":"2021-09-10 03:50:56Z", +"employeeId":"53", +"shiftType":"" +}, +{ +"ID":"15", +"shiftDate":"2021-11-27 12:31:51Z", +"employeeId":"118", +"shiftType":"" +}, +{ +"ID":"16", +"shiftDate":"2021-09-11 19:09:41Z", +"employeeId":"9", +"shiftType":"" +}, +{ +"ID":"17", +"shiftDate":"2021-09-01 16:52:24Z", +"employeeId":"51", +"shiftType":"" +}, +{ +"ID":"18", +"shiftDate":"2021-10-13 22:32:27Z", +"employeeId":"169", +"shiftType":"" +}, +{ +"ID":"19", +"shiftDate":"2021-09-06 21:34:30Z", +"employeeId":"20", +"shiftType":"" +}, +{ +"ID":"20", +"shiftDate":"2021-11-20 01:04:20Z", +"employeeId":"145", +"shiftType":"" +}, +{ +"ID":"21", +"shiftDate":"2021-09-12 10:25:21Z", +"employeeId":"129", +"shiftType":"" +}, +{ +"ID":"22", +"shiftDate":"2021-12-26 20:09:10Z", +"employeeId":"167", +"shiftType":"" +}, +{ +"ID":"23", +"shiftDate":"2021-11-26 19:29:43Z", +"employeeId":"9", +"shiftType":"" +}, +{ +"ID":"24", +"shiftDate":"2021-09-19 16:21:47Z", +"employeeId":"92", +"shiftType":"" +}, +{ +"ID":"25", +"shiftDate":"2021-09-11 14:22:06Z", +"employeeId":"43", +"shiftType":"" +}, +{ +"ID":"26", +"shiftDate":"2021-12-03 22:00:45Z", +"employeeId":"185", +"shiftType":"" +}, +{ +"ID":"27", +"shiftDate":"2021-09-04 17:47:58Z", +"employeeId":"188", +"shiftType":"" +}, +{ +"ID":"28", +"shiftDate":"2021-11-08 06:30:45Z", +"employeeId":"58", +"shiftType":"" +}, +{ +"ID":"29", +"shiftDate":"2021-10-25 19:22:36Z", +"employeeId":"26", +"shiftType":"" +}, +{ +"ID":"30", +"shiftDate":"2021-09-25 10:50:28Z", +"employeeId":"188", +"shiftType":"" +}, +{ +"ID":"31", +"shiftDate":"2021-12-22 15:16:52Z", +"employeeId":"127", +"shiftType":"" +}, +{ +"ID":"32", +"shiftDate":"2021-10-29 01:19:09Z", +"employeeId":"174", +"shiftType":"" +}, +{ +"ID":"33", +"shiftDate":"2021-12-28 20:22:14Z", +"employeeId":"162", +"shiftType":"" +}, +{ +"ID":"34", +"shiftDate":"2021-12-23 00:29:46Z", +"employeeId":"96", +"shiftType":"" +}, +{ +"ID":"35", +"shiftDate":"2021-12-13 04:35:29Z", +"employeeId":"2", +"shiftType":"" +}, +{ +"ID":"36", +"shiftDate":"2021-10-02 05:45:57Z", +"employeeId":"3", +"shiftType":"" +}, +{ +"ID":"37", +"shiftDate":"2021-10-09 03:31:49Z", +"employeeId":"199", +"shiftType":"" +}, +{ +"ID":"38", +"shiftDate":"2021-10-11 11:54:20Z", +"employeeId":"92", +"shiftType":"" +}, +{ +"ID":"39", +"shiftDate":"2021-11-01 22:21:53Z", +"employeeId":"62", +"shiftType":"" +}, +{ +"ID":"40", +"shiftDate":"2021-11-06 10:07:47Z", +"employeeId":"39", +"shiftType":"" +}, +{ +"ID":"41", +"shiftDate":"2021-09-19 21:03:58Z", +"employeeId":"17", +"shiftType":"" +}, +{ +"ID":"42", +"shiftDate":"2021-11-27 02:45:51Z", +"employeeId":"76", +"shiftType":"" +}, +{ +"ID":"43", +"shiftDate":"2021-10-01 06:20:08Z", +"employeeId":"110", +"shiftType":"" +}, +{ +"ID":"44", +"shiftDate":"2021-12-12 08:32:14Z", +"employeeId":"96", +"shiftType":"" +}, +{ +"ID":"45", +"shiftDate":"2021-10-23 02:09:19Z", +"employeeId":"193", +"shiftType":"" +}, +{ +"ID":"46", +"shiftDate":"2021-12-17 19:40:11Z", +"employeeId":"92", +"shiftType":"" +}, +{ +"ID":"47", +"shiftDate":"2021-12-07 02:56:46Z", +"employeeId":"171", +"shiftType":"" +}, +{ +"ID":"48", +"shiftDate":"2021-10-15 01:31:44Z", +"employeeId":"55", +"shiftType":"" +}, +{ +"ID":"49", +"shiftDate":"2021-09-29 16:02:57Z", +"employeeId":"42", +"shiftType":"" +}, +{ +"ID":"50", +"shiftDate":"2021-09-28 14:13:20Z", +"employeeId":"92", +"shiftType":"" +}, +{ +"ID":"51", +"shiftDate":"2021-09-22 20:52:19Z", +"employeeId":"151", +"shiftType":"" +}, +{ +"ID":"52", +"shiftDate":"2021-09-04 18:43:01Z", +"employeeId":"40", +"shiftType":"" +}, +{ +"ID":"53", +"shiftDate":"2021-12-16 09:33:24Z", +"employeeId":"115", +"shiftType":"" +}, +{ +"ID":"54", +"shiftDate":"2021-09-18 07:32:16Z", +"employeeId":"37", +"shiftType":"" +}, +{ +"ID":"55", +"shiftDate":"2021-12-04 19:47:57Z", +"employeeId":"50", +"shiftType":"" +}, +{ +"ID":"56", +"shiftDate":"2021-11-25 02:11:07Z", +"employeeId":"149", +"shiftType":"" +}, +{ +"ID":"57", +"shiftDate":"2021-10-02 14:20:43Z", +"employeeId":"57", +"shiftType":"" +}, +{ +"ID":"58", +"shiftDate":"2021-12-19 05:36:01Z", +"employeeId":"165", +"shiftType":"" +}, +{ +"ID":"59", +"shiftDate":"2021-11-10 07:29:32Z", +"employeeId":"80", +"shiftType":"" +}, +{ +"ID":"60", +"shiftDate":"2021-12-10 03:36:23Z", +"employeeId":"14", +"shiftType":"" +}, +{ +"ID":"61", +"shiftDate":"2021-12-18 01:55:10Z", +"employeeId":"137", +"shiftType":"" +}, +{ +"ID":"62", +"shiftDate":"2021-10-11 02:53:04Z", +"employeeId":"11", +"shiftType":"" +}, +{ +"ID":"63", +"shiftDate":"2021-12-23 13:36:16Z", +"employeeId":"188", +"shiftType":"" +}, +{ +"ID":"64", +"shiftDate":"2021-10-01 01:49:07Z", +"employeeId":"134", +"shiftType":"" +}, +{ +"ID":"65", +"shiftDate":"2021-12-20 16:31:27Z", +"employeeId":"120", +"shiftType":"" +}, +{ +"ID":"66", +"shiftDate":"2021-10-24 07:14:33Z", +"employeeId":"84", +"shiftType":"" +}, +{ +"ID":"67", +"shiftDate":"2021-11-06 10:46:03Z", +"employeeId":"170", +"shiftType":"" +}, +{ +"ID":"68", +"shiftDate":"2021-09-23 15:10:02Z", +"employeeId":"189", +"shiftType":"" +}, +{ +"ID":"69", +"shiftDate":"2021-12-07 07:31:57Z", +"employeeId":"177", +"shiftType":"" +}, +{ +"ID":"70", +"shiftDate":"2021-12-28 16:12:35Z", +"employeeId":"30", +"shiftType":"" +}, +{ +"ID":"71", +"shiftDate":"2021-12-02 07:28:42Z", +"employeeId":"30", +"shiftType":"" +}, +{ +"ID":"72", +"shiftDate":"2021-09-23 12:28:33Z", +"employeeId":"48", +"shiftType":"" +}, +{ +"ID":"73", +"shiftDate":"2021-12-30 19:19:39Z", +"employeeId":"100", +"shiftType":"" +}, +{ +"ID":"74", +"shiftDate":"2021-10-28 18:33:25Z", +"employeeId":"152", +"shiftType":"" +}, +{ +"ID":"75", +"shiftDate":"2021-11-08 20:46:10Z", +"employeeId":"172", +"shiftType":"" +}, +{ +"ID":"76", +"shiftDate":"2021-11-12 03:32:33Z", +"employeeId":"124", +"shiftType":"" +}, +{ +"ID":"77", +"shiftDate":"2021-11-27 02:38:25Z", +"employeeId":"132", +"shiftType":"" +}, +{ +"ID":"78", +"shiftDate":"2021-09-30 22:03:53Z", +"employeeId":"134", +"shiftType":"" +}, +{ +"ID":"79", +"shiftDate":"2021-11-17 04:35:47Z", +"employeeId":"190", +"shiftType":"" +}, +{ +"ID":"80", +"shiftDate":"2021-12-26 22:51:28Z", +"employeeId":"83", +"shiftType":"" +}, +{ +"ID":"81", +"shiftDate":"2021-09-22 03:46:49Z", +"employeeId":"116", +"shiftType":"" +}, +{ +"ID":"82", +"shiftDate":"2021-12-14 11:17:51Z", +"employeeId":"110", +"shiftType":"" +}, +{ +"ID":"83", +"shiftDate":"2021-09-02 22:53:56Z", +"employeeId":"104", +"shiftType":"" +}, +{ +"ID":"84", +"shiftDate":"2021-12-15 04:53:00Z", +"employeeId":"52", +"shiftType":"" +}, +{ +"ID":"85", +"shiftDate":"2021-10-30 17:38:45Z", +"employeeId":"24", +"shiftType":"" +}, +{ +"ID":"86", +"shiftDate":"2021-10-13 06:57:13Z", +"employeeId":"180", +"shiftType":"" +}, +{ +"ID":"87", +"shiftDate":"2021-11-15 06:04:09Z", +"employeeId":"89", +"shiftType":"" +}, +{ +"ID":"88", +"shiftDate":"2021-11-08 07:47:49Z", +"employeeId":"159", +"shiftType":"" +}, +{ +"ID":"89", +"shiftDate":"2021-11-27 15:11:20Z", +"employeeId":"131", +"shiftType":"" +}, +{ +"ID":"90", +"shiftDate":"2021-11-18 07:38:17Z", +"employeeId":"17", +"shiftType":"" +}, +{ +"ID":"91", +"shiftDate":"2021-12-02 01:51:12Z", +"employeeId":"184", +"shiftType":"" +}, +{ +"ID":"92", +"shiftDate":"2021-10-23 11:01:42Z", +"employeeId":"45", +"shiftType":"" +}, +{ +"ID":"93", +"shiftDate":"2021-11-08 12:03:56Z", +"employeeId":"185", +"shiftType":"" +}, +{ +"ID":"94", +"shiftDate":"2021-11-27 21:43:29Z", +"employeeId":"191", +"shiftType":"" +}, +{ +"ID":"95", +"shiftDate":"2021-11-04 09:03:12Z", +"employeeId":"108", +"shiftType":"" +}, +{ +"ID":"96", +"shiftDate":"2021-12-06 12:18:06Z", +"employeeId":"95", +"shiftType":"" +}, +{ +"ID":"97", +"shiftDate":"2021-09-06 14:40:08Z", +"employeeId":"27", +"shiftType":"" +}, +{ +"ID":"98", +"shiftDate":"2021-11-06 09:50:14Z", +"employeeId":"2", +"shiftType":"" +}, +{ +"ID":"99", +"shiftDate":"2021-09-09 07:04:36Z", +"employeeId":"46", +"shiftType":"" +}, +{ +"ID":"100", +"shiftDate":"2021-09-22 14:13:25Z", +"employeeId":"187", +"shiftType":"" +}, +{ +"ID":"101", +"shiftDate":"2021-11-28 13:08:19Z", +"employeeId":"109", +"shiftType":"" +}, +{ +"ID":"102", +"shiftDate":"2021-10-15 00:39:39Z", +"employeeId":"25", +"shiftType":"" +}, +{ +"ID":"103", +"shiftDate":"2021-12-18 04:53:14Z", +"employeeId":"37", +"shiftType":"" +}, +{ +"ID":"104", +"shiftDate":"2021-12-21 19:53:49Z", +"employeeId":"75", +"shiftType":"" +}, +{ +"ID":"105", +"shiftDate":"2021-10-07 01:29:29Z", +"employeeId":"177", +"shiftType":"" +}, +{ +"ID":"106", +"shiftDate":"2021-09-27 07:26:57Z", +"employeeId":"72", +"shiftType":"" +}, +{ +"ID":"107", +"shiftDate":"2021-09-22 06:51:10Z", +"employeeId":"149", +"shiftType":"" +}, +{ +"ID":"108", +"shiftDate":"2021-10-28 11:21:35Z", +"employeeId":"153", +"shiftType":"" +}, +{ +"ID":"109", +"shiftDate":"2021-11-06 17:10:06Z", +"employeeId":"22", +"shiftType":"" +}, +{ +"ID":"110", +"shiftDate":"2021-12-16 09:48:25Z", +"employeeId":"60", +"shiftType":"" +}, +{ +"ID":"111", +"shiftDate":"2021-10-11 16:23:03Z", +"employeeId":"126", +"shiftType":"" +}, +{ +"ID":"112", +"shiftDate":"2021-11-20 01:38:26Z", +"employeeId":"66", +"shiftType":"" +}, +{ +"ID":"113", +"shiftDate":"2021-09-06 12:40:18Z", +"employeeId":"188", +"shiftType":"" +}, +{ +"ID":"114", +"shiftDate":"2021-11-11 07:43:29Z", +"employeeId":"141", +"shiftType":"" +}, +{ +"ID":"115", +"shiftDate":"2021-10-22 11:18:03Z", +"employeeId":"165", +"shiftType":"" +}, +{ +"ID":"116", +"shiftDate":"2021-11-08 20:22:22Z", +"employeeId":"3", +"shiftType":"" +}, +{ +"ID":"117", +"shiftDate":"2021-12-08 11:00:39Z", +"employeeId":"5", +"shiftType":"" +}, +{ +"ID":"118", +"shiftDate":"2021-10-28 20:48:31Z", +"employeeId":"16", +"shiftType":"" +}, +{ +"ID":"119", +"shiftDate":"2021-10-19 19:53:16Z", +"employeeId":"143", +"shiftType":"" +}, +{ +"ID":"120", +"shiftDate":"2021-12-28 01:51:10Z", +"employeeId":"103", +"shiftType":"" +}, +{ +"ID":"121", +"shiftDate":"2021-11-08 15:18:43Z", +"employeeId":"174", +"shiftType":"" +}, +{ +"ID":"122", +"shiftDate":"2021-12-12 09:19:13Z", +"employeeId":"14", +"shiftType":"" +}, +{ +"ID":"123", +"shiftDate":"2021-12-06 15:15:25Z", +"employeeId":"103", +"shiftType":"" +}, +{ +"ID":"124", +"shiftDate":"2021-11-06 12:00:17Z", +"employeeId":"93", +"shiftType":"" +}, +{ +"ID":"125", +"shiftDate":"2021-11-23 11:12:25Z", +"employeeId":"61", +"shiftType":"" +}, +{ +"ID":"126", +"shiftDate":"2021-11-10 13:01:20Z", +"employeeId":"169", +"shiftType":"" +}, +{ +"ID":"127", +"shiftDate":"2021-11-01 00:12:51Z", +"employeeId":"89", +"shiftType":"" +}, +{ +"ID":"128", +"shiftDate":"2021-09-19 04:15:47Z", +"employeeId":"36", +"shiftType":"" +}, +{ +"ID":"129", +"shiftDate":"2021-09-10 12:35:27Z", +"employeeId":"57", +"shiftType":"" +}, +{ +"ID":"130", +"shiftDate":"2021-11-27 13:28:44Z", +"employeeId":"34", +"shiftType":"" +}, +{ +"ID":"131", +"shiftDate":"2021-10-21 00:34:41Z", +"employeeId":"164", +"shiftType":"" +}, +{ +"ID":"132", +"shiftDate":"2021-09-11 10:52:25Z", +"employeeId":"59", +"shiftType":"" +}, +{ +"ID":"133", +"shiftDate":"2021-10-03 08:58:22Z", +"employeeId":"112", +"shiftType":"" +}, +{ +"ID":"134", +"shiftDate":"2021-12-05 10:23:58Z", +"employeeId":"73", +"shiftType":"" +}, +{ +"ID":"135", +"shiftDate":"2021-10-14 06:12:06Z", +"employeeId":"78", +"shiftType":"" +}, +{ +"ID":"136", +"shiftDate":"2021-09-17 20:43:08Z", +"employeeId":"117", +"shiftType":"" +}, +{ +"ID":"137", +"shiftDate":"2021-12-30 02:16:10Z", +"employeeId":"85", +"shiftType":"" +}, +{ +"ID":"138", +"shiftDate":"2021-10-28 09:29:02Z", +"employeeId":"72", +"shiftType":"" +}, +{ +"ID":"139", +"shiftDate":"2021-11-24 06:49:30Z", +"employeeId":"181", +"shiftType":"" +}, +{ +"ID":"140", +"shiftDate":"2021-11-26 13:12:53Z", +"employeeId":"99", +"shiftType":"" +}, +{ +"ID":"141", +"shiftDate":"2021-10-01 04:28:23Z", +"employeeId":"161", +"shiftType":"" +}, +{ +"ID":"142", +"shiftDate":"2021-09-16 18:27:18Z", +"employeeId":"138", +"shiftType":"" +}, +{ +"ID":"143", +"shiftDate":"2021-09-25 16:43:49Z", +"employeeId":"61", +"shiftType":"" +}, +{ +"ID":"144", +"shiftDate":"2021-09-21 02:47:56Z", +"employeeId":"17", +"shiftType":"" +}, +{ +"ID":"145", +"shiftDate":"2021-10-14 22:20:37Z", +"employeeId":"134", +"shiftType":"" +}, +{ +"ID":"146", +"shiftDate":"2021-09-08 10:41:11Z", +"employeeId":"134", +"shiftType":"" +}, +{ +"ID":"147", +"shiftDate":"2021-11-07 15:48:38Z", +"employeeId":"67", +"shiftType":"" +}, +{ +"ID":"148", +"shiftDate":"2021-12-06 13:51:21Z", +"employeeId":"60", +"shiftType":"" +}, +{ +"ID":"149", +"shiftDate":"2021-11-18 22:11:21Z", +"employeeId":"32", +"shiftType":"" +}, +{ +"ID":"150", +"shiftDate":"2021-12-27 12:00:12Z", +"employeeId":"147", +"shiftType":"" +}, +{ +"ID":"151", +"shiftDate":"2021-11-15 17:15:48Z", +"employeeId":"27", +"shiftType":"" +}, +{ +"ID":"152", +"shiftDate":"2021-10-06 19:50:42Z", +"employeeId":"150", +"shiftType":"" +}, +{ +"ID":"153", +"shiftDate":"2021-11-22 02:15:38Z", +"employeeId":"26", +"shiftType":"" +}, +{ +"ID":"154", +"shiftDate":"2021-11-04 20:05:29Z", +"employeeId":"101", +"shiftType":"" +}, +{ +"ID":"155", +"shiftDate":"2021-11-08 04:26:38Z", +"employeeId":"87", +"shiftType":"" +}, +{ +"ID":"156", +"shiftDate":"2021-10-19 17:57:27Z", +"employeeId":"139", +"shiftType":"" +}, +{ +"ID":"157", +"shiftDate":"2021-10-30 10:29:27Z", +"employeeId":"9", +"shiftType":"" +}, +{ +"ID":"158", +"shiftDate":"2021-12-07 09:58:30Z", +"employeeId":"9", +"shiftType":"" +}, +{ +"ID":"159", +"shiftDate":"2021-12-24 17:09:36Z", +"employeeId":"124", +"shiftType":"" +}, +{ +"ID":"160", +"shiftDate":"2021-11-03 16:32:13Z", +"employeeId":"124", +"shiftType":"" +}, +{ +"ID":"161", +"shiftDate":"2021-09-10 11:29:41Z", +"employeeId":"35", +"shiftType":"" +}, +{ +"ID":"162", +"shiftDate":"2021-10-21 07:35:23Z", +"employeeId":"146", +"shiftType":"" +}, +{ +"ID":"163", +"shiftDate":"2021-11-02 20:22:01Z", +"employeeId":"51", +"shiftType":"" +}, +{ +"ID":"164", +"shiftDate":"2021-09-29 14:47:35Z", +"employeeId":"65", +"shiftType":"" +}, +{ +"ID":"165", +"shiftDate":"2021-09-16 20:33:27Z", +"employeeId":"112", +"shiftType":"" +}, +{ +"ID":"166", +"shiftDate":"2021-12-08 01:48:02Z", +"employeeId":"181", +"shiftType":"" +}, +{ +"ID":"167", +"shiftDate":"2021-11-24 05:44:50Z", +"employeeId":"124", +"shiftType":"" +}, +{ +"ID":"168", +"shiftDate":"2021-09-02 21:46:17Z", +"employeeId":"125", +"shiftType":"" +}, +{ +"ID":"169", +"shiftDate":"2021-10-30 18:35:46Z", +"employeeId":"105", +"shiftType":"" +}, +{ +"ID":"170", +"shiftDate":"2021-09-09 08:07:21Z", +"employeeId":"77", +"shiftType":"" +}, +{ +"ID":"171", +"shiftDate":"2021-12-18 20:55:53Z", +"employeeId":"98", +"shiftType":"" +}, +{ +"ID":"172", +"shiftDate":"2021-09-21 21:02:08Z", +"employeeId":"71", +"shiftType":"" +}, +{ +"ID":"173", +"shiftDate":"2021-10-15 11:33:28Z", +"employeeId":"6", +"shiftType":"" +}, +{ +"ID":"174", +"shiftDate":"2021-10-06 02:31:24Z", +"employeeId":"48", +"shiftType":"" +}, +{ +"ID":"175", +"shiftDate":"2021-10-05 19:29:57Z", +"employeeId":"167", +"shiftType":"" +}, +{ +"ID":"176", +"shiftDate":"2021-10-10 06:45:55Z", +"employeeId":"98", +"shiftType":"" +}, +{ +"ID":"177", +"shiftDate":"2021-10-26 21:26:38Z", +"employeeId":"2", +"shiftType":"" +}, +{ +"ID":"178", +"shiftDate":"2021-12-06 06:49:21Z", +"employeeId":"90", +"shiftType":"" +}, +{ +"ID":"179", +"shiftDate":"2021-09-13 20:38:55Z", +"employeeId":"52", +"shiftType":"" +}, +{ +"ID":"180", +"shiftDate":"2021-12-30 05:06:44Z", +"employeeId":"46", +"shiftType":"" +}, +{ +"ID":"181", +"shiftDate":"2021-12-25 18:42:07Z", +"employeeId":"20", +"shiftType":"" +}, +{ +"ID":"182", +"shiftDate":"2021-09-09 09:57:04Z", +"employeeId":"32", +"shiftType":"" +}, +{ +"ID":"183", +"shiftDate":"2021-12-15 03:05:38Z", +"employeeId":"179", +"shiftType":"" +}, +{ +"ID":"184", +"shiftDate":"2021-10-23 00:53:28Z", +"employeeId":"46", +"shiftType":"" +}, +{ +"ID":"185", +"shiftDate":"2021-09-03 06:10:56Z", +"employeeId":"29", +"shiftType":"" +}, +{ +"ID":"186", +"shiftDate":"2021-10-16 04:33:42Z", +"employeeId":"167", +"shiftType":"" +}, +{ +"ID":"187", +"shiftDate":"2021-09-11 04:00:41Z", +"employeeId":"107", +"shiftType":"" +}, +{ +"ID":"188", +"shiftDate":"2021-11-17 04:19:33Z", +"employeeId":"188", +"shiftType":"" +}, +{ +"ID":"189", +"shiftDate":"2021-10-19 07:45:12Z", +"employeeId":"115", +"shiftType":"" +}, +{ +"ID":"190", +"shiftDate":"2021-12-26 18:00:02Z", +"employeeId":"164", +"shiftType":"" +}, +{ +"ID":"191", +"shiftDate":"2021-12-26 07:37:31Z", +"employeeId":"42", +"shiftType":"" +}, +{ +"ID":"192", +"shiftDate":"2021-11-22 14:44:57Z", +"employeeId":"143", +"shiftType":"" +}, +{ +"ID":"193", +"shiftDate":"2021-12-18 19:15:13Z", +"employeeId":"15", +"shiftType":"" +}, +{ +"ID":"194", +"shiftDate":"2021-11-22 02:22:06Z", +"employeeId":"52", +"shiftType":"" +}, +{ +"ID":"195", +"shiftDate":"2021-09-28 16:20:31Z", +"employeeId":"165", +"shiftType":"" +}, +{ +"ID":"196", +"shiftDate":"2021-11-26 11:57:22Z", +"employeeId":"37", +"shiftType":"" +}, +{ +"ID":"197", +"shiftDate":"2021-11-08 03:31:52Z", +"employeeId":"176", +"shiftType":"" +}, +{ +"ID":"198", +"shiftDate":"2021-11-30 12:28:29Z", +"employeeId":"171", +"shiftType":"" +}, +{ +"ID":"199", +"shiftDate":"2021-12-29 10:20:49Z", +"employeeId":"10", +"shiftType":"" +}, +{ +"ID":"200", +"shiftDate":"2021-11-09 01:31:07Z", +"employeeId":"178", +"shiftType":"" +}, +{ +"ID":"201", +"shiftDate":"2021-12-11 09:52:46Z", +"employeeId":"119", +"shiftType":"" +}, +{ +"ID":"202", +"shiftDate":"2021-10-01 22:05:41Z", +"employeeId":"98", +"shiftType":"" +}, +{ +"ID":"203", +"shiftDate":"2021-09-22 15:21:47Z", +"employeeId":"31", +"shiftType":"" +}, +{ +"ID":"204", +"shiftDate":"2021-11-28 06:21:20Z", +"employeeId":"66", +"shiftType":"" +}, +{ +"ID":"205", +"shiftDate":"2021-09-16 14:52:15Z", +"employeeId":"54", +"shiftType":"" +}, +{ +"ID":"206", +"shiftDate":"2021-12-03 08:29:29Z", +"employeeId":"51", +"shiftType":"" +}, +{ +"ID":"207", +"shiftDate":"2021-11-20 22:49:28Z", +"employeeId":"69", +"shiftType":"" +}, +{ +"ID":"208", +"shiftDate":"2021-09-18 06:44:17Z", +"employeeId":"125", +"shiftType":"" +}, +{ +"ID":"209", +"shiftDate":"2021-11-30 10:46:00Z", +"employeeId":"135", +"shiftType":"" +}, +{ +"ID":"210", +"shiftDate":"2021-10-08 01:32:40Z", +"employeeId":"64", +"shiftType":"" +}, +{ +"ID":"211", +"shiftDate":"2021-10-03 15:11:47Z", +"employeeId":"153", +"shiftType":"" +}, +{ +"ID":"212", +"shiftDate":"2021-09-24 12:37:30Z", +"employeeId":"164", +"shiftType":"" +}, +{ +"ID":"213", +"shiftDate":"2021-12-18 11:35:26Z", +"employeeId":"164", +"shiftType":"" +}, +{ +"ID":"214", +"shiftDate":"2021-09-27 19:51:27Z", +"employeeId":"3", +"shiftType":"" +}, +{ +"ID":"215", +"shiftDate":"2021-10-26 12:03:42Z", +"employeeId":"117", +"shiftType":"" +}, +{ +"ID":"216", +"shiftDate":"2021-11-19 19:51:34Z", +"employeeId":"191", +"shiftType":"" +}, +{ +"ID":"217", +"shiftDate":"2021-11-23 18:47:10Z", +"employeeId":"196", +"shiftType":"" +}, +{ +"ID":"218", +"shiftDate":"2021-12-29 17:02:42Z", +"employeeId":"30", +"shiftType":"" +}, +{ +"ID":"219", +"shiftDate":"2021-11-13 14:13:28Z", +"employeeId":"145", +"shiftType":"" +}, +{ +"ID":"220", +"shiftDate":"2021-09-30 19:19:11Z", +"employeeId":"91", +"shiftType":"" +}, +{ +"ID":"221", +"shiftDate":"2021-10-27 04:05:40Z", +"employeeId":"171", +"shiftType":"" +}, +{ +"ID":"222", +"shiftDate":"2021-11-26 14:27:12Z", +"employeeId":"22", +"shiftType":"" +}, +{ +"ID":"223", +"shiftDate":"2021-10-11 15:03:32Z", +"employeeId":"27", +"shiftType":"" +}, +{ +"ID":"224", +"shiftDate":"2021-09-11 15:25:27Z", +"employeeId":"167", +"shiftType":"" +}, +{ +"ID":"225", +"shiftDate":"2021-10-24 18:09:18Z", +"employeeId":"81", +"shiftType":"" +}, +{ +"ID":"226", +"shiftDate":"2021-12-10 07:34:58Z", +"employeeId":"68", +"shiftType":"" +}, +{ +"ID":"227", +"shiftDate":"2021-12-06 12:40:07Z", +"employeeId":"98", +"shiftType":"" +}, +{ +"ID":"228", +"shiftDate":"2021-10-30 16:07:18Z", +"employeeId":"53", +"shiftType":"" +}, +{ +"ID":"229", +"shiftDate":"2021-10-15 07:48:36Z", +"employeeId":"162", +"shiftType":"" +}, +{ +"ID":"230", +"shiftDate":"2021-12-23 13:40:20Z", +"employeeId":"127", +"shiftType":"" +}, +{ +"ID":"231", +"shiftDate":"2021-11-07 10:51:21Z", +"employeeId":"3", +"shiftType":"" +}, +{ +"ID":"232", +"shiftDate":"2021-11-21 00:45:16Z", +"employeeId":"6", +"shiftType":"" +}, +{ +"ID":"233", +"shiftDate":"2021-10-19 00:27:51Z", +"employeeId":"63", +"shiftType":"" +}, +{ +"ID":"234", +"shiftDate":"2021-12-08 22:54:03Z", +"employeeId":"128", +"shiftType":"" +}, +{ +"ID":"235", +"shiftDate":"2021-10-15 12:06:11Z", +"employeeId":"93", +"shiftType":"" +}, +{ +"ID":"236", +"shiftDate":"2021-09-16 22:32:29Z", +"employeeId":"94", +"shiftType":"" +}, +{ +"ID":"237", +"shiftDate":"2021-10-02 14:14:21Z", +"employeeId":"156", +"shiftType":"" +}, +{ +"ID":"238", +"shiftDate":"2021-10-14 15:19:06Z", +"employeeId":"164", +"shiftType":"" +}, +{ +"ID":"239", +"shiftDate":"2021-10-25 21:50:17Z", +"employeeId":"173", +"shiftType":"" +}, +{ +"ID":"240", +"shiftDate":"2021-10-12 19:55:17Z", +"employeeId":"199", +"shiftType":"" +} +] diff --git a/src/stores/employees.js b/src/stores/employees.js new file mode 100644 index 0000000..e11f319 --- /dev/null +++ b/src/stores/employees.js @@ -0,0 +1,12 @@ +import { defineStore } from 'pinia' + +import emplJSON from '../sample-data/employees.json' + +export const useEmployees = defineStore('employees', { + state: () => { + return { + /** @type {{id: number, name: string, handle: string, contractHours: number }[]} */ + employees: emplJSON + } + }, +}) \ No newline at end of file diff --git a/src/views/Home.vue b/src/views/Home.vue index fe863e7..797f53c 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -10,6 +10,7 @@ div(class="mt-5" v-for="(month, index) in months" :key="index")