diff --git a/package-lock.json b/package-lock.json
index 2378c7f..a5c5039 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -16,6 +16,7 @@
"bootstrap": "^5.1.3",
"bootstrap-icons": "^1.6.0",
"date-fns": "^2.25.0",
+ "lodash": "^4.17.21",
"pinia": "^2.0.0-rc.13",
"pinia-plugin-persist": "^0.0.92",
"uuid": "^8.3.2",
@@ -26,6 +27,7 @@
},
"devDependencies": {
"@types/bootstrap": "^5.1.6",
+ "@types/lodash": "^4.14.176",
"@types/node": "^16.11.1",
"@types/uuid": "^8.3.1",
"@vitejs/plugin-vue": "^1.9.3",
@@ -122,6 +124,12 @@
"@types/sizzle": "*"
}
},
+ "node_modules/@types/lodash": {
+ "version": "4.14.176",
+ "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.176.tgz",
+ "integrity": "sha512-xZmuPTa3rlZoIbtDUyJKZQimJV3bxCmzMIO2c9Pz9afyDro6kr7R79GwcB6mRhuoPmV2p1Vb66WOJH7F886WKQ==",
+ "dev": true
+ },
"node_modules/@types/node": {
"version": "16.11.6",
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.6.tgz",
@@ -1117,6 +1125,11 @@
"promise": "^7.0.1"
}
},
+ "node_modules/lodash": {
+ "version": "4.17.21",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
+ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
+ },
"node_modules/lru-cache": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
@@ -1925,6 +1938,12 @@
"@types/sizzle": "*"
}
},
+ "@types/lodash": {
+ "version": "4.14.176",
+ "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.176.tgz",
+ "integrity": "sha512-xZmuPTa3rlZoIbtDUyJKZQimJV3bxCmzMIO2c9Pz9afyDro6kr7R79GwcB6mRhuoPmV2p1Vb66WOJH7F886WKQ==",
+ "dev": true
+ },
"@types/node": {
"version": "16.11.6",
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.6.tgz",
@@ -2635,6 +2654,11 @@
"promise": "^7.0.1"
}
},
+ "lodash": {
+ "version": "4.17.21",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
+ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
+ },
"lru-cache": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
diff --git a/package.json b/package.json
index 8302a46..5083b8d 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
"bootstrap": "^5.1.3",
"bootstrap-icons": "^1.6.0",
"date-fns": "^2.25.0",
+ "lodash": "^4.17.21",
"pinia": "^2.0.0-rc.13",
"pinia-plugin-persist": "^0.0.92",
"uuid": "^8.3.2",
@@ -26,6 +27,7 @@
},
"devDependencies": {
"@types/bootstrap": "^5.1.6",
+ "@types/lodash": "^4.14.176",
"@types/node": "^16.11.1",
"@types/uuid": "^8.3.1",
"@vitejs/plugin-vue": "^1.9.3",
diff --git a/src/components/Employees/EmployeesSimpleSearch.vue b/src/components/Employees/EmployeesSimpleSearch.vue
new file mode 100644
index 0000000..53cc293
--- /dev/null
+++ b/src/components/Employees/EmployeesSimpleSearch.vue
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+
+{{ unionColumns }}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/stores/employees.ts b/src/stores/employees.ts
index e2df62a..f8580fb 100644
--- a/src/stores/employees.ts
+++ b/src/stores/employees.ts
@@ -2,17 +2,15 @@ import { defineStore } from 'pinia'
import { useUser } from '@/stores/user'
import axios from '@/axios'
-import emplJSON from '../sample-data/employees.json'
-
const user = useUser()
export const useEmployees = defineStore('employees', {
state: () => {
return {
/**
- * @type {}[]
+ * @type any[]
*/
- rows: Array