namirasoft-site-react 1.4.258 → 1.4.260

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.
@@ -7,7 +7,7 @@ export class MoneyFormatter extends BaseColumnFormatter {
7
7
  format(value) {
8
8
  try {
9
9
  if (value != null)
10
- return value.toLocaleString(undefined, {
10
+ return "$" + (value / 100000).toLocaleString(undefined, {
11
11
  minimumFractionDigits: 0,
12
12
  maximumFractionDigits: 2
13
13
  });
@@ -1 +1 @@
1
- {"version":3,"file":"MoneyFormatter.js","sourceRoot":"","sources":["../../src/formatter/MoneyFormatter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,OAAO,cAAe,SAAQ,mBAAmB;IAEnD,YAAY,QAAgB,OAAO;QAE/B,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;IACQ,MAAM,CAAC,KAAU;QAEtB,IACA,CAAC;YACG,IAAI,KAAK,IAAI,IAAI;gBACb,OAAQ,KAAgB,CAAC,cAAc,CAAC,SAAS,EAAE;oBAC/C,qBAAqB,EAAE,CAAC;oBACxB,qBAAqB,EAAE,CAAC;iBAC3B,CAAC,CAAC;QACX,CAAC;QAAC,OAAO,CAAC,EACV,CAAC;QACD,CAAC;QACD,OAAO,KAAK,CAAC;IACjB,CAAC;CACJ"}
1
+ {"version":3,"file":"MoneyFormatter.js","sourceRoot":"","sources":["../../src/formatter/MoneyFormatter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,OAAO,cAAe,SAAQ,mBAAmB;IAEnD,YAAY,QAAgB,OAAO;QAE/B,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;IACQ,MAAM,CAAC,KAAU;QAEtB,IACA,CAAC;YACG,IAAI,KAAK,IAAI,IAAI;gBACb,OAAO,GAAG,GAAG,CAAE,KAAgB,GAAG,MAAM,CAAC,CAAC,cAAc,CAAC,SAAS,EAAE;oBAChE,qBAAqB,EAAE,CAAC;oBACxB,qBAAqB,EAAE,CAAC;iBAC3B,CAAC,CAAC;QACX,CAAC;QAAC,OAAO,CAAC,EACV,CAAC;QACD,CAAC;QACD,OAAO,KAAK,CAAC;IACjB,CAAC;CACJ"}
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "framework": "npm",
9
9
  "application": "package",
10
10
  "private": false,
11
- "version": "1.4.258",
11
+ "version": "1.4.260",
12
12
  "author": "Amir Abolhasani",
13
13
  "license": "MIT",
14
14
  "main": "./dist/main.js",
@@ -23,18 +23,18 @@
23
23
  "dependencies": {
24
24
  "@ant-design/charts": "^2.2.6",
25
25
  "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
26
- "@types/node": "^22.13.1",
26
+ "@types/node": "^22.13.5",
27
27
  "@types/react": "^18.3.12",
28
28
  "@types/react-bootstrap": "^0.32.37",
29
29
  "@types/react-dom": "^18.3.1",
30
- "antd": "^5.23.4",
30
+ "antd": "^5.24.1",
31
31
  "bootstrap": "^5.3.3",
32
- "chart.js": "^4.4.7",
32
+ "chart.js": "^4.4.8",
33
33
  "copyfiles": "^2.4.1",
34
34
  "link-react": "^3.0.0",
35
- "namirasoft-api-link": "^1.4.9",
36
- "namirasoft-api-product": "^1.4.13",
37
- "namirasoft-core": "^1.4.48",
35
+ "namirasoft-api-link": "^1.4.10",
36
+ "namirasoft-api-product": "^1.4.16",
37
+ "namirasoft-core": "^1.4.51",
38
38
  "namirasoft-schema": "^1.4.25",
39
39
  "namirasoft-site-map": "^1.4.14",
40
40
  "os-browserify": "^0.3.0",
@@ -45,9 +45,9 @@
45
45
  "react-chartjs-2": "^5.3.0",
46
46
  "react-dom": "^18.3.1",
47
47
  "react-phone-input-2": "^2.15.1",
48
- "react-phone-number-input": "^3.4.11",
49
- "react-router-dom": "^7.1.5",
50
- "react-scripts": "5.0.1",
48
+ "react-phone-number-input": "^3.4.12",
49
+ "react-router-dom": "^7.2.0",
50
+ "react-scripts": "^5.0.1",
51
51
  "styled-components": "^6.1.15",
52
52
  "xlsx": "^0.18.5"
53
53
  },
@@ -12,7 +12,7 @@ export class MoneyFormatter extends BaseColumnFormatter
12
12
  try
13
13
  {
14
14
  if (value != null)
15
- return (value as number).toLocaleString(undefined, {
15
+ return "$" + ((value as number) / 100000).toLocaleString(undefined, {
16
16
  minimumFractionDigits: 0,
17
17
  maximumFractionDigits: 2
18
18
  });