@hortiview/modulebase 0.0.20436 → 1.0.0

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.
Files changed (51) hide show
  1. package/README.md +3 -2
  2. package/dist/IsRestoringProvider-CBSZo7ur.js +312 -0
  3. package/dist/ModuleCore-DuJVrj6v.js +11828 -0
  4. package/dist/QueryClientProvider-DyiNrPkn.js +514 -0
  5. package/dist/_commonjsHelpers-ByX85dGu.js +33 -0
  6. package/dist/api-COabZnyn.js +147 -0
  7. package/dist/assets/ModuleCore.css +1 -1
  8. package/dist/chunk-LFPYN7LY-D1ls8FXf.js +8643 -0
  9. package/dist/components/ModuleBase.js +9 -9
  10. package/dist/components/ModuleCore.js +1 -1
  11. package/dist/constants.js +2 -3
  12. package/dist/hooks/useCustom.js +1 -1
  13. package/dist/hooks/useCustomMutation.js +5 -5
  14. package/dist/hooks/useEntity.js +30 -30
  15. package/dist/hooks/useOffline.js +1 -1
  16. package/dist/hooks/useOption.js +5 -5
  17. package/dist/hooks/useServiceBus.js +1 -1
  18. package/dist/hooks/useStores.js +1 -1
  19. package/dist/{_baseGet-C6jMXSsQ.js → isTypedArray-SkhznY1k.js} +494 -494
  20. package/dist/lib/constants.d.ts +0 -1
  21. package/dist/lib/hooks/useCustom.d.ts +4 -2
  22. package/dist/lib/hooks/useCustomMutation.d.ts +8 -3
  23. package/dist/lib/hooks/useEntity.d.ts +6 -0
  24. package/dist/lib/types/Requests.d.ts +0 -17
  25. package/dist/lib/utils/api.d.ts +6 -13
  26. package/dist/lib/utils/baseFetches.d.ts +3 -2
  27. package/dist/main.js +188 -173
  28. package/dist/module-router.js +2322 -121
  29. package/dist/{mutation-DSKlaYzY.js → mutation-CmhiEgfA.js} +101 -56
  30. package/dist/{omit-C9Qe80rl.js → omit-Do6MFRwA.js} +240 -223
  31. package/dist/provider/SignalR/SignalRProvider.js +2389 -2824
  32. package/dist/react-c9FSfB30.js +27 -0
  33. package/dist/stores/BasePropsStore.js +1 -1
  34. package/dist/stores/EnvironmentStore.js +1 -1
  35. package/dist/useMutation-Aoachkw_.js +139 -0
  36. package/dist/useQuery-DEU_AUtf.js +392 -0
  37. package/dist/utils/api.js +3 -4
  38. package/dist/utils/baseFetches.js +18 -14
  39. package/dist/utils/fetches.js +3 -4
  40. package/dist/utils/helper.js +13 -13
  41. package/package.json +17 -13
  42. package/dist/ModuleCore-DpwHP0IU.js +0 -14973
  43. package/dist/QueryClientProvider-Beog9TR7.js +0 -437
  44. package/dist/_commonjsHelpers-BkfeUUK-.js +0 -28
  45. package/dist/api-CogBuK0n.js +0 -473
  46. package/dist/chunk-IR6S3I6Y-BmDdD3SP.js +0 -8162
  47. package/dist/isRestoring-CLuxJVSA.js +0 -281
  48. package/dist/react-QiIgv49H.js +0 -27
  49. package/dist/useMutation-zu8uxBak.js +0 -97
  50. package/dist/useQuery-Bj9k9zik.js +0 -395
  51. package/dist/utils-DxRR_XLb.js +0 -9
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hortiview/modulebase",
3
3
  "description": "This is a base module for hortiview",
4
- "version": "0.0.20436",
4
+ "version": "1.0.0",
5
5
  "type": "module",
6
6
  "author": "Falk Menge <falk.menge.ext@bayer.com>",
7
7
  "contributors": [
@@ -21,6 +21,7 @@
21
21
  "build": "tsc -b && vite build",
22
22
  "lint": "eslint .",
23
23
  "preview": "vite preview",
24
+ "release": "npx -p semantic-release -p semantic-release-ado semantic-release",
24
25
  "tsCheck": "tsc --build --pretty --watch"
25
26
  },
26
27
  "dependencies": {
@@ -31,8 +32,8 @@
31
32
  "@tanstack/react-query": "^5.67.3",
32
33
  "@tanstack/react-query-persist-client": "^5.85.5",
33
34
  "compare-versions": "^6.1.1",
35
+ "idb-keyval": "^6.2.2",
34
36
  "lodash": "^4.17.21",
35
- "odata-query": "^7.0.9",
36
37
  "react": "^18.3.1",
37
38
  "react-dom": "^18.3.1",
38
39
  "react-router": "^7.1.5",
@@ -40,23 +41,26 @@
40
41
  "socket.io-client": "^4.8.1",
41
42
  "vite-plugin-dts": "^4.5.0",
42
43
  "vite-plugin-lib-inject-css": "^2.2.1",
43
- "zustand": "^5.0.3",
44
- "idb-keyval": "^6.2.2"
44
+ "zustand": "^5.0.3"
45
45
  },
46
46
  "devDependencies": {
47
- "@eslint/js": "^9.17.0",
47
+ "@eslint/js": "^10.0.1",
48
+ "@semantic-release/changelog": "^6.0.3",
49
+ "@semantic-release/exec": "^7.1.0",
50
+ "@semantic-release/git": "^10.0.1",
48
51
  "@types/lodash": "^4.17.15",
49
52
  "@types/node": "^22.10.7",
50
53
  "@types/react": "^18.3.18",
51
54
  "@types/react-dom": "^18.3.5",
52
- "@vitejs/plugin-react": "^4.3.4",
53
- "eslint": "^9.17.0",
54
- "eslint-plugin-react-hooks": "^5.0.0",
55
- "eslint-plugin-react-refresh": "^0.4.16",
56
- "glob": "^11.0.1",
57
- "globals": "^15.14.0",
58
- "typescript": "~5.6.2",
55
+ "@vitejs/plugin-react": "^5.1.4",
56
+ "conventional-changelog-conventionalcommits": "^9.3.0",
57
+ "eslint": "^10.0.3",
58
+ "eslint-plugin-react-hooks": "^7.0.1",
59
+ "eslint-plugin-react-refresh": "^0.5.2",
60
+ "glob": "^13.0.6",
61
+ "globals": "^17.4.0",
62
+ "typescript": "~5.9.3",
59
63
  "typescript-eslint": "^8.18.2",
60
- "vite": "^6.0.5"
64
+ "vite": "^7.3.1"
61
65
  }
62
66
  }