@esvndev/es-react-config-setting 1.0.0 → 1.0.2

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 (29) hide show
  1. package/dist/components/@core/components/datepicker/index.d.ts +25 -0
  2. package/dist/components/@core/components/datepicker-custom/index.d.ts +2 -0
  3. package/dist/components/@core/components/datetimepicker/index.d.ts +18 -0
  4. package/dist/components/@core/components/input/editor-input/index.d.ts +29 -0
  5. package/dist/components/@core/components/input/editor-input-view/index.d.ts +20 -0
  6. package/dist/components/@core/components/input/index.d.ts +7 -0
  7. package/dist/components/@core/components/input/input-checkbox/index.d.ts +13 -0
  8. package/dist/components/@core/components/input/input-formula/index.d.ts +2 -0
  9. package/dist/components/@core/components/input/input-group/index.d.ts +23 -0
  10. package/dist/components/@core/components/input/input-number/index.d.ts +27 -0
  11. package/dist/components/@core/components/input/input-number-customize/index.d.ts +17 -0
  12. package/dist/components/@core/components/input/input-radio/index.d.ts +21 -0
  13. package/dist/components/@core/components/input/input-text/index.d.ts +24 -0
  14. package/dist/components/@core/components/input/numeric-input/index.d.ts +31 -0
  15. package/dist/components/@core/components/input/rate-input-group/index.d.ts +34 -0
  16. package/dist/components/@core/components/modal-header/index.d.ts +11 -0
  17. package/dist/components/popup/index.d.ts +2 -0
  18. package/dist/index.d.ts +10 -5
  19. package/dist/index.js +6233 -0
  20. package/dist/index.js.map +1 -0
  21. package/dist/index.mjs +6206 -0
  22. package/dist/index.mjs.map +1 -0
  23. package/dist/shared/type.d.ts +12 -0
  24. package/package.json +65 -37
  25. package/dist/index.cjs.js +0 -1374
  26. package/dist/index.cjs.js.map +0 -1
  27. package/dist/index.esm.js +0 -1372
  28. package/dist/index.esm.js.map +0 -1
  29. package/dist/package.json +0 -65
@@ -0,0 +1,12 @@
1
+ export interface ButtonProps {
2
+ label1: string | React.ReactNode;
3
+ onClick?: () => void;
4
+ }
5
+ export interface ISettingApp {
6
+ eventChange?: (obj: any) => void;
7
+ eventClose?: (obj: any) => void;
8
+ isOpen: boolean;
9
+ }
10
+ export interface ISettingAppModel {
11
+ eventClick?: (obj: any) => void;
12
+ }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@esvndev/es-react-config-setting",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "This product is designed by ESVN and is only for use in products distributed by ESVN. Any product, whether for non-commercial research or commercial purposes, must have written legal approval and a digital signature from ESVN.",
5
- "author": "habx@esvn.com.vn",
5
+ "author": "dev@esvn.com.vn",
6
6
  "license": "ESVN Limited Use License",
7
- "main": "dist/index.cjs.js",
8
- "module": "dist/index.esm.js",
7
+ "main": "dist/index.js",
8
+ "module": "dist/index.js",
9
9
  "types": "dist/index.d.ts",
10
10
  "files": [
11
11
  "dist/**/*",
@@ -14,53 +14,81 @@
14
14
  "CHANGELOG.md"
15
15
  ],
16
16
  "scripts": {
17
- "test": "jest",
18
- "build:clean": "rimraf dist",
19
- "build:rollup": "rollup -c",
20
- "build": "npm-run-all build:clean build:rollup",
21
- "build:copy": "cp package.json dist/",
22
- "lint:ts": "eslint ./src --ext .ts,.tsx --config .eslintrc --fix",
23
- "lint:styles": "stylelint \"**/*.css\" --fix",
24
- "lint": "npm-run-all lint:ts lint:styles",
25
- "format": "prettier --write .",
26
- "semantic-release": "semantic-release"
17
+ "build": "rollup -c",
18
+ "start": "node dist/index.js"
27
19
  },
28
20
  "keywords": [
29
21
  "ESVN"
30
22
  ],
31
23
  "dependencies": {
32
- "react": "^18.2.0",
33
- "react-dom": "^18.2.0"
24
+ "postcss": "^8.4.35",
25
+ "react-custom-scrollbars-2": "^4.5.0"
34
26
  },
35
27
  "devDependencies": {
36
- "@rollup/plugin-babel": "^6.0.4",
37
- "@rollup/plugin-commonjs": "^28.0.2",
38
- "@rollup/plugin-node-resolve": "^16.0.0",
28
+ "@hookform/resolvers": "^2.8.10",
29
+ "@rollup/plugin-commonjs": "^20.0.0",
30
+ "@rollup/plugin-json": "^6.1.0",
31
+ "@rollup/plugin-node-resolve": "^13.0.4",
39
32
  "@rollup/plugin-terser": "^0.4.4",
40
- "@rollup/plugin-typescript": "^12.1.2",
41
- "@types/react": "^19.0.8",
42
- "@types/react-dom": "^19.0.3",
43
- "@typescript-eslint/eslint-plugin": "^8.23.0",
44
- "@typescript-eslint/parser": "^8.23.0",
45
- "babel-preset-react": "^6.24.1",
46
- "eslint": "^9.19.0",
47
- "eslint-plugin-jsx-a11y": "^6.10.2",
48
- "eslint-plugin-react": "^7.37.4",
49
- "eslint-plugin-react-hooks": "^5.1.0",
33
+ "@rollup/plugin-typescript": "^8.2.5",
34
+ "@semantic-release/commit-analyzer": "^9.0.2",
35
+ "@semantic-release/git": "^10.0.1",
36
+ "@semantic-release/github": "^8.0.6",
37
+ "@semantic-release/npm": "^9.0.1",
38
+ "@semantic-release/release-notes-generator": "^10.0.3",
39
+ "@syncfusion/ej2-react-calendars": "20.2.36",
40
+ "@syncfusion/ej2-react-dropdowns": "20.2.36",
41
+ "@syncfusion/ej2-react-grids": "20.2.36",
42
+ "@syncfusion/ej2-react-inputs": "20.2.36",
43
+ "@syncfusion/ej2-react-navigations": "20.2.36",
44
+ "@testing-library/react": "^14.2.1",
45
+ "@types/jest": "^29.5.12",
46
+ "@types/react": "^18.2.58",
47
+ "axios": "^1.7.2",
48
+ "becoxy-icons": "1.9.9",
49
+ "classnames": "^2.5.1",
50
+ "i18next": "^21.8.2",
51
+ "jest": "^29.7.0",
52
+ "jest-css-modules": "^2.1.0",
53
+ "jest-environment-jsdom": "^29.7.0",
54
+ "moment": "^2.29.3",
50
55
  "npm-run-all": "^4.1.5",
51
- "postcss": "^8.5.1",
52
- "rimraf": "^6.0.1",
53
- "rollup": "^4.34.4",
56
+ "prettier": "^3.2.5",
57
+ "react": "^18.2.0",
58
+ "react-dom": "^18.2.0",
59
+ "react-hot-toast": "2.2.0",
60
+ "react-i18next": "^11.16.9",
61
+ "react-number-format": "^5.3.3",
62
+ "react-router-dom": "^6.3.0",
63
+ "react-table-edit": "^1.2.74",
64
+ "reactstrap": "^9.2.2",
65
+ "rimraf": "^3.0.2",
66
+ "rollup": "^2.56.2",
54
67
  "rollup-plugin-copy": "^3.5.0",
55
- "rollup-plugin-dts": "^6.1.1",
68
+ "rollup-plugin-dts": "^6.2.1",
56
69
  "rollup-plugin-peer-deps-external": "^2.2.4",
57
- "rollup-plugin-postcss": "^4.0.2",
70
+ "rollup-plugin-postcss": "^4.0.1",
71
+ "rollup-plugin-terser": "^7.0.2",
58
72
  "rollup-plugin-typescript2": "^0.36.0",
59
- "typescript": "^5.7.3"
73
+ "sass": "^1.71.1",
74
+ "sass-loader": "^14.1.1",
75
+ "split-pane-react": "0.1.3",
76
+ "styled-components": "^6.1.8",
77
+ "stylelint": "^16.2.1",
78
+ "stylelint-config-idiomatic-order": "^10.0.0",
79
+ "stylelint-config-prettier": "^9.0.5",
80
+ "stylelint-config-standard": "^36.0.0",
81
+ "stylelint-order": "^6.0.4",
82
+ "stylelint-prettier": "^5.0.0",
83
+ "sweetalert2": "^11.4.14",
84
+ "sweetalert2-react-content": "^5.0.0",
85
+ "ts-jest": "^29.1.2",
86
+ "tslib": "^2.6.2",
87
+ "typescript": "^5.3.3"
60
88
  },
61
89
  "peerDependencies": {
62
- "react": "^18.2.0",
63
- "react-dom": "^18.2.0"
90
+ "react": ">=16.8.6",
91
+ "react-dom": ">=16.8.6"
64
92
  },
65
93
  "publishConfig": {
66
94
  "access": "public"