@etsoo/smarterp-crm 1.0.7 → 1.0.9

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.
@@ -74,7 +74,7 @@ class System {
74
74
  }
75
75
  getModuleLabel(key) {
76
76
  return (this.crm.app.get("m" + key) ??
77
- this.crm.app.get(key.formatInitial(false)) ??
77
+ this.crm.app.get(key === "PO" ? key.toLowerCase() : key.formatInitial(false)) ??
78
78
  key);
79
79
  }
80
80
  /**
@@ -71,7 +71,7 @@ export class System {
71
71
  }
72
72
  getModuleLabel(key) {
73
73
  return (this.crm.app.get("m" + key) ??
74
- this.crm.app.get(key.formatInitial(false)) ??
74
+ this.crm.app.get(key === "PO" ? key.toLowerCase() : key.formatInitial(false)) ??
75
75
  key);
76
76
  }
77
77
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/smarterp-crm",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "TypeScript APIs for SmartERP Customer Relationship Management (CRM)",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -40,14 +40,10 @@
40
40
  "license": "MIT",
41
41
  "homepage": "https://github.com/ETSOO/etsoo-smarterp-crm#readme",
42
42
  "devDependencies": {
43
- "@babel/core": "^8.0.1",
44
- "@babel/plugin-transform-runtime": "^8.0.1",
45
- "@babel/preset-env": "^8.0.2",
46
- "@babel/runtime-corejs3": "^8.0.0",
47
- "@types/react": "^19.2.18",
48
- "@types/react-dom": "^19.2.7",
43
+ "@types/react": "^19.3.0",
44
+ "@types/react-dom": "^19.3.0",
49
45
  "@vitejs/plugin-react": "^6.1.1",
50
- "baseline-browser-mapping": "^2.11.21",
46
+ "baseline-browser-mapping": "^2.11.23",
51
47
  "jsdom": "^30.0.1",
52
48
  "typescript": "^7.0.2",
53
49
  "vitest": "^5.0.0"
@@ -58,12 +54,12 @@
58
54
  },
59
55
  "dependencies": {
60
56
  "@etsoo/appscript": "^1.6.78",
61
- "@etsoo/materialui": "^1.6.87",
62
- "@etsoo/react": "^1.9.3",
57
+ "@etsoo/materialui": "^1.6.90",
58
+ "@etsoo/react": "^1.9.4",
63
59
  "@etsoo/shared": "^1.2.91",
64
60
  "@mui/material": "^9.4.0",
65
- "react": "^19.2.8",
66
- "react-dom": "^19.2.8"
61
+ "react": "^19.3.0",
62
+ "react-dom": "^19.3.0"
67
63
  },
68
64
  "allowScripts": {
69
65
  "core-js-pure@3.49.0": true
@@ -78,7 +78,9 @@ export class System {
78
78
  private getModuleLabel(key: string) {
79
79
  return (
80
80
  this.crm.app.get("m" + key) ??
81
- this.crm.app.get(key.formatInitial(false)) ??
81
+ this.crm.app.get(
82
+ key === "PO" ? key.toLowerCase() : key.formatInitial(false)
83
+ ) ??
82
84
  key
83
85
  );
84
86
  }
package/babel.config.json DELETED
@@ -1,11 +0,0 @@
1
- {
2
- "presets": [["@babel/env"]],
3
- "plugins": [
4
- [
5
- "@babel/plugin-transform-runtime",
6
- {
7
- "corejs": 3
8
- }
9
- ]
10
- ]
11
- }