namirasoft-site-react 1.4.17 → 1.4.18

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.
@@ -1,7 +1,7 @@
1
1
  import { BaseColumnFormatter } from "./BaseColumnFormatter";
2
2
  export class JsonFormatter extends BaseColumnFormatter {
3
3
  format(value) {
4
- return value;
4
+ return JSON.stringify(value, undefined, 4);
5
5
  }
6
6
  }
7
7
  //# sourceMappingURL=JsonFormatter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"JsonFormatter.js","sourceRoot":"","sources":["../../src/formatter/JsonFormatter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,OAAO,aAAc,SAAQ,mBAAmB;IAEzC,MAAM,CAAC,KAAU;QAEtB,OAAO,KAAK,CAAC;IACjB,CAAC;CACJ"}
1
+ {"version":3,"file":"JsonFormatter.js","sourceRoot":"","sources":["../../src/formatter/JsonFormatter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,OAAO,aAAc,SAAQ,mBAAmB;IAEzC,MAAM,CAAC,KAAU;QAEtB,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC;IAC/C,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.17",
11
+ "version": "1.4.18",
12
12
  "author": "Amir Abolhasani, Alireza Esmaeeli",
13
13
  "license": "MIT",
14
14
  "main": "./dist/main.js",
@@ -22,11 +22,11 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "@ant-design/charts": "^2.2.1",
25
- "@types/node": "^22.6.1",
26
- "@types/react": "^18.3.8",
25
+ "@types/node": "^22.7.4",
26
+ "@types/react": "^18.3.10",
27
27
  "@types/react-bootstrap": "^0.32.37",
28
28
  "@types/react-dom": "^18.3.0",
29
- "antd": "^5.21.0",
29
+ "antd": "^5.21.1",
30
30
  "bootstrap": "^5.3.3",
31
31
  "chart.js": "^4.4.4",
32
32
  "copyfiles": "^2.4.1",
@@ -37,7 +37,7 @@
37
37
  "path-browserify": "^1.0.1",
38
38
  "react": "^18.3.1",
39
39
  "react-app-rewired": "^2.2.1",
40
- "react-bootstrap": "^2.10.4",
40
+ "react-bootstrap": "^2.10.5",
41
41
  "react-chartjs-2": "^5.2.0",
42
42
  "react-dom": "^18.3.1",
43
43
  "react-phone-input-2": "^2.15.1",
@@ -4,6 +4,6 @@ export class JsonFormatter extends BaseColumnFormatter
4
4
  {
5
5
  override format(value: any): any
6
6
  {
7
- return value;
7
+ return JSON.stringify(value, undefined, 4);
8
8
  }
9
9
  }