@cwellt_software/shared-employee 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AccountingRulesTab-CdYj-dz8.js +84 -0
- package/dist/AccountingRulesTab-DQJ7nD71.cjs +1 -0
- package/dist/AdditionalInfoTab-DW-S373w.cjs +1 -0
- package/dist/AdditionalInfoTab-j-Ixuvog.js +114 -0
- package/dist/App.d.ts +3 -0
- package/dist/ChangeRequestsTab-CFCWKZkt.js +342 -0
- package/dist/ChangeRequestsTab-CY7-qObu.cjs +1 -0
- package/dist/CosmicRadiationTab-6fqnDLH3.cjs +1 -0
- package/dist/CosmicRadiationTab-CLlfjJNA.js +120 -0
- package/dist/DeleteDialog-BqXtjGGi.cjs +1 -0
- package/dist/DeleteDialog-CyRsLr_c.js +21 -0
- package/dist/DetailsTab-DKFAMvlW.cjs +1 -0
- package/dist/DetailsTab-Dh1lfSr2.js +248 -0
- package/dist/DivisionsTab--eEVFupH.cjs +1 -0
- package/dist/DivisionsTab-BfIIZ_ld.js +86 -0
- package/dist/FunctionsTab-BMWoqfK2.js +160 -0
- package/dist/FunctionsTab-DQPsK0rq.cjs +1 -0
- package/dist/HistoryTab-CViMxBYc.cjs +1 -0
- package/dist/HistoryTab-CwCD46f3.js +277 -0
- package/dist/LanguagesTab-BKa7nmoT.cjs +1 -0
- package/dist/LanguagesTab-BznJDDXK.js +181 -0
- package/dist/RelatedPersonsTab-C-6ti_Be.js +260 -0
- package/dist/RelatedPersonsTab-DgoBLK21.cjs +1 -0
- package/dist/VaccinesTab-BGhy3EgY.cjs +1 -0
- package/dist/VaccinesTab-BtdAXAyo.js +171 -0
- package/dist/context/DialogShellContext.d.ts +22 -0
- package/dist/dateUtils-BULQTXVb.cjs +1 -0
- package/dist/dateUtils-CTu1RDq1.js +25 -0
- package/dist/domain/model/ChangeRequest.d.ts +23 -0
- package/dist/domain/model/Dietary.d.ts +24 -0
- package/dist/domain/model/EmployeeDetail.d.ts +89 -0
- package/dist/domain/model/EmployeeDropdowns.d.ts +31 -0
- package/dist/domain/model/EmployeeListItem.d.ts +15 -0
- package/dist/domain/model/EmployeeTabModels.d.ts +91 -0
- package/dist/domain/repository/DietaryRepository.d.ts +8 -0
- package/dist/domain/repository/EmployeeRepository.d.ts +62 -0
- package/dist/index.d.ts +18 -0
- package/dist/infrastructure/DietaryRepositoryImpl.d.ts +20 -0
- package/dist/infrastructure/EmployeeRepositoryImpl.d.ts +74 -0
- package/dist/infrastructure/dto/DietaryDto.d.ts +26 -0
- package/dist/main.d.ts +1 -0
- package/dist/presentation/EmployeeOverview.d.ts +18 -0
- package/dist/presentation/common/DeleteDialog.d.ts +16 -0
- package/dist/presentation/common/EmptyState.d.ts +11 -0
- package/dist/presentation/common/LazyImage.d.ts +15 -0
- package/dist/presentation/common/useLazyTabs.d.ts +14 -0
- package/dist/presentation/comps/modals/AddEmployeeModal.d.ts +10 -0
- package/dist/presentation/comps/modals/EditEmployeeModal.d.ts +13 -0
- package/dist/presentation/comps/tabs/AccountingRulesTab.d.ts +10 -0
- package/dist/presentation/comps/tabs/AdditionalInfoTab.d.ts +12 -0
- package/dist/presentation/comps/tabs/ChangeRequestsTab.d.ts +16 -0
- package/dist/presentation/comps/tabs/CosmicRadiationTab.d.ts +8 -0
- package/dist/presentation/comps/tabs/DetailsTab.d.ts +8 -0
- package/dist/presentation/comps/tabs/DivisionsTab.d.ts +11 -0
- package/dist/presentation/comps/tabs/FunctionsTab.d.ts +13 -0
- package/dist/presentation/comps/tabs/HistoryTab.d.ts +15 -0
- package/dist/presentation/comps/tabs/LanguagesTab.d.ts +13 -0
- package/dist/presentation/comps/tabs/RelatedPersonsTab.d.ts +13 -0
- package/dist/presentation/comps/tabs/VaccinesTab.d.ts +12 -0
- package/dist/presentation/dietary/DietaryPage.d.ts +9 -0
- package/dist/presentation/dietary/comps/DietaryEntryDialog.d.ts +13 -0
- package/dist/presentation/dietary/comps/DietarySection.d.ts +8 -0
- package/dist/presentation/dietary/hooks/useDietary.d.ts +12 -0
- package/dist/presentation/dietary/parsers/catalogSuggestions.d.ts +12 -0
- package/dist/presentation/hooks/data/useChangeRequests.d.ts +17 -0
- package/dist/presentation/hooks/data/useEmployeeData.d.ts +79 -0
- package/dist/presentation/hooks/data/useEmployeeFilters.d.ts +10 -0
- package/dist/presentation/hooks/ui/useEmployeeOverviewUI.d.ts +15 -0
- package/dist/presentation/parsers/dateUtils.d.ts +12 -0
- package/dist/presentation/parsers/employeeParsers.d.ts +3 -0
- package/dist/presentation/parsers/imageUtils.d.ts +1 -0
- package/dist/shared-employee.cjs.js +1 -0
- package/dist/shared-employee.css +2 -0
- package/dist/shared-employee.es.js +2592 -0
- package/package.json +58 -0
package/package.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@cwellt_software/shared-employee",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "dist/shared-employee.cjs.js",
|
|
6
|
+
"module": "dist/shared-employee.es.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/shared-employee.es.js",
|
|
12
|
+
"require": "./dist/shared-employee.cjs.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"dev": "vite",
|
|
20
|
+
"install:peer": "npm install --legacy-peer-deps",
|
|
21
|
+
"build": "tsc -b && vite build && npm run build:types",
|
|
22
|
+
"build:watch": "vite build --watch",
|
|
23
|
+
"build:types": "tsc -p tsconfig.declarations.json",
|
|
24
|
+
"lint": "eslint .",
|
|
25
|
+
"preview": "vite preview",
|
|
26
|
+
"test": "vitest run --config vitest.config.ts",
|
|
27
|
+
"test:watch": "vitest --config vitest.config.ts",
|
|
28
|
+
"publish:npm": "npm run install:peer && npm run build && npm pack --dry-run && npm publish --access public"
|
|
29
|
+
},
|
|
30
|
+
"peerDependencies": {
|
|
31
|
+
"react": ">=18.0.0",
|
|
32
|
+
"react-dom": ">=18.0.0"
|
|
33
|
+
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@eslint/js": "^9.39.4",
|
|
36
|
+
"@testing-library/dom": "^10.4.1",
|
|
37
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
38
|
+
"@testing-library/react": "^16.1.0",
|
|
39
|
+
"@types/node": "^24.12.2",
|
|
40
|
+
"@types/react": "^19.2.14",
|
|
41
|
+
"@types/react-dom": "^19.2.3",
|
|
42
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
43
|
+
"eslint": "^9.39.4",
|
|
44
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
45
|
+
"eslint-plugin-react-refresh": "^0.5.2",
|
|
46
|
+
"globals": "^17.4.0",
|
|
47
|
+
"jsdom": "^25.0.1",
|
|
48
|
+
"react": "^19.2.4",
|
|
49
|
+
"react-dom": "^19.2.4",
|
|
50
|
+
"typescript": "~6.0.2",
|
|
51
|
+
"typescript-eslint": "^8.58.0",
|
|
52
|
+
"vite": "^8.0.4",
|
|
53
|
+
"vitest": "^4.1.4"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@cwellt_software/cwellt-reactjs-lib": "^1.4.3"
|
|
57
|
+
}
|
|
58
|
+
}
|