@abyss-project/commons-front-core 1.0.146 → 2.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 (59) hide show
  1. package/dist/{CookieConsentSettings.component-OElkXdNK.js → CookieConsentSettings.component-Dqbo9N8Y.js} +350 -180
  2. package/dist/components/Inputs/ColorPalette/ColorPalette.component.d.ts +1 -0
  3. package/dist/components/Layouts/AbyssBillingPlan/AbyssBillingPlan.component.d.ts +1 -1
  4. package/dist/components/Modals/UserSettingsModal/UserSettings.compat.d.ts +0 -2
  5. package/dist/components/Modals/UserSettingsModal/UserSettingsModal.component.d.ts +0 -2
  6. package/dist/components/PdfEditor/hooks/use-pdf-document.d.ts +6 -1
  7. package/dist/components/PdfEditor/operations/actions.d.ts +15 -0
  8. package/dist/components/PdfEditor/operations/compute-page-order.d.ts +4 -0
  9. package/dist/components/PdfEditor/operations/extract.d.ts +2 -0
  10. package/dist/components/PdfEditor/operations/extract.spec.d.ts +1 -0
  11. package/dist/components/PdfEditor/operations/rasterize.d.ts +3 -0
  12. package/dist/components/PdfEditor/operations/redact.d.ts +9 -0
  13. package/dist/components/PdfEditor/operations/redact.spec.d.ts +1 -0
  14. package/dist/components/PdfEditor/operations/rotate-coords.d.ts +19 -0
  15. package/dist/components/PdfEditor/operations/rotate-coords.spec.d.ts +1 -0
  16. package/dist/components/PdfEditor/signature/SignaturePicker.d.ts +3 -0
  17. package/dist/components/PdfEditor/signature/SignatureSavedList.d.ts +3 -0
  18. package/dist/components/PdfEditor/signature/resolve-asset.d.ts +3 -0
  19. package/dist/components/PdfEditor/signature/resolve-asset.spec.d.ts +1 -0
  20. package/dist/components/PdfEditor/tools/FillFieldsTool.d.ts +2 -1
  21. package/dist/components/PdfEditor/tools/RedactTool.d.ts +2 -0
  22. package/dist/components/PdfEditor/tools/ShapeTool.d.ts +17 -0
  23. package/dist/components/PdfEditor/tools/SignatureTool.d.ts +3 -0
  24. package/dist/components/PdfEditor/tools/TextTool.d.ts +11 -1
  25. package/dist/components/PdfEditor/tools/Toolbar.d.ts +17 -0
  26. package/dist/components/PdfEditor/tools/tool-options-ui.d.ts +4 -0
  27. package/dist/components/PdfEditor/types.d.ts +64 -4
  28. package/dist/components/PdfEditor/viewer/PageOverlay.d.ts +10 -3
  29. package/dist/components/PdfEditor/viewer/PdfCanvas.d.ts +10 -2
  30. package/dist/components/PdfEditor/viewer/ViewerControls.d.ts +17 -0
  31. package/dist/components/Support/types.d.ts +2 -0
  32. package/dist/cookie-consent.js +1 -1
  33. package/dist/hooks/use-rich-intl.hook.d.ts +200 -22
  34. package/dist/{index-DPJn-INz.js → index--KPqynn_.js} +2 -2
  35. package/dist/{index-pojd1-xt.js → index-AykyIzzG.js} +3 -3
  36. package/dist/{index-VzGJqZUr.js → index-B3gKqf-p.js} +3 -3
  37. package/dist/{index-JqXrUnnS.js → index-BCVRYGLI.js} +4 -4
  38. package/dist/{index-CTzGCHT1.js → index-BcInTypv.js} +4 -4
  39. package/dist/{index-HPIAkAU-.js → index-BdWnB1rS.js} +2 -2
  40. package/dist/{index-paxe4Y8a.js → index-BiREoCYc.js} +2 -2
  41. package/dist/{index-DedcVRIy.js → index-CL4h9Xoy.js} +4 -4
  42. package/dist/{index-C4iVvX_c.js → index-CSpwXL74.js} +1 -1
  43. package/dist/{index-DAG2YmhY.js → index-CTVUhat-.js} +2 -2
  44. package/dist/{index-0DKoS1Ho.js → index-Ca_vS7os.js} +2 -2
  45. package/dist/{index-CCaYRiXR.js → index-Cil-O_44.js} +2 -2
  46. package/dist/{index-CeZ2OKqT.js → index-CoY-Eqah.js} +2 -2
  47. package/dist/{index-DMJCOIN6.js → index-DON7Q_3s.js} +2 -2
  48. package/dist/{index-aJDianQ2.js → index-DZG8q-Mp.js} +3 -3
  49. package/dist/{index-C-0bb3BS.js → index-Db-3tPxk.js} +2 -2
  50. package/dist/{index-D-prSy8i.js → index-Df71mOHZ.js} +3 -3
  51. package/dist/{index-D-Z-Yepf.js → index-DpUTQu7B.js} +2 -2
  52. package/dist/{index-C_VHuOIZ.js → index-QwHRQNwT.js} +2 -2
  53. package/dist/{index-DP9EENt-.js → index-VEVfBSFw.js} +2 -2
  54. package/dist/{index-CWQyokns.js → index-a9_oOlg4.js} +34972 -32579
  55. package/dist/{index-BStJ2eR5.js → index-ldQTy6Xb.js} +2 -2
  56. package/dist/index.js +2 -2
  57. package/dist/translations/en.d.ts +96 -11
  58. package/dist/translations/fr.d.ts +96 -11
  59. package/package.json +143 -139
package/package.json CHANGED
@@ -1,139 +1,143 @@
1
- {
2
- "name": "@abyss-project/commons-front-core",
3
- "version": "1.0.146",
4
- "description": "Front Core package of AbyssProject",
5
- "main": "dist/index.js",
6
- "module": "./dist/index.js",
7
- "types": "dist/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "import": "./dist/index.js",
11
- "types": "./dist/index.d.ts"
12
- },
13
- "./cookie-consent": {
14
- "import": "./dist/cookie-consent.js",
15
- "types": "./dist/cookie-consent.d.ts"
16
- }
17
- },
18
- "typesVersions": {
19
- "*": {
20
- "cookie-consent": [
21
- "./dist/cookie-consent.d.ts"
22
- ]
23
- }
24
- },
25
- "type": "module",
26
- "repository": {
27
- "type": "git",
28
- "url": "https://gitlab.com/abyss-group"
29
- },
30
- "keywords": [],
31
- "author": "scylla",
32
- "license": "ISC",
33
- "bugs": {
34
- "url": "https://gitlab.com/abyss-group"
35
- },
36
- "homepage": "https://gitlab.com/abyss-group",
37
- "peerDependencies": {
38
- "@emotion/react": "^11.7.1",
39
- "@emotion/styled": "^11.6.0",
40
- "@mui/icons-material": "^6.0.0",
41
- "@mui/lab": "^6.0.1-beta.35",
42
- "@mui/material": "^7.1.1",
43
- "@mui/styles": "^6.4.12",
44
- "@mui/utils": "^7.1.1",
45
- "@mui/x-data-grid": "^8.5.3",
46
- "@mui/x-date-pickers": "^6.20.2",
47
- "@tanstack/react-query": "^5.0.0",
48
- "@dnd-kit/core": "^6.0.0",
49
- "@dnd-kit/sortable": "^9.0.0",
50
- "@dnd-kit/utilities": "^3.0.0",
51
- "react": "^17.0.0 || ^18.0.0",
52
- "react-dom": "^17.0.0 || ^18.0.0",
53
- "react-is": "^18.0.0 || ^19.0.0",
54
- "react-intl": "^6.2.5",
55
- "react-router-dom": "^6.15.0",
56
- "zustand": "^5.0.0",
57
- "@abyss-project/main": "1.0.128"
58
- },
59
- "dependencies": {
60
- "@abyss-project/banking": "^1.1.0",
61
- "@abyss-project/cloud": "^2.0.1",
62
- "@abyss-project/crypt": "^1.0.9",
63
- "@abyss-project/form": "^1.0.13",
64
- "@abyss-project/memories": "^1.0.12",
65
- "@abyss-project/monitor": "^1.0.79",
66
- "@abyss-project/spotlight": "^1.0.24",
67
- "@abyss-project/storage": "^1.0.30",
68
- "@capacitor/clipboard": "^7.0.1",
69
- "@capacitor/core": "^7.4.0",
70
- "@capacitor/share": "^7.0.1",
71
- "@milkdown/core": "^7.15.3",
72
- "@milkdown/crepe": "^7.15.3",
73
- "@milkdown/plugin-listener": "^7.15.3",
74
- "@milkdown/react": "^7.15.3",
75
- "@milkdown/utils": "^7.15.3",
76
- "@nivo/bar": "^0.88.0",
77
- "@nivo/core": "^0.88.0",
78
- "@nivo/line": "^0.88.0",
79
- "@nivo/pie": "^0.88.0",
80
- "@tanstack/react-table": "^8.21.3",
81
- "axios": "^1.6.0",
82
- "axios-retry": "^4.5.0",
83
- "byte-size": "^8.1.0",
84
- "date-fns": "^2.29.3",
85
- "eventsource": "^4.0.0",
86
- "flat": "^5.0.2",
87
- "formik": "^2.4.6",
88
- "lodash": "^4.17.21",
89
- "qrcode": "^1.5.3",
90
- "react-dropzone": "^14.3.8",
91
- "react-error-boundary": "^6.1.1",
92
- "react-router-dom": "^6.15.0",
93
- "react-toastify": "^8.0.2",
94
- "use-debounce": "^10.0.5",
95
- "uuid": "^9.0.0",
96
- "pdf-lib": "^1.17.1",
97
- "pdfjs-dist": "^4.10.38",
98
- "yup": "^0.32.11",
99
- "@abyss-project/main": "1.0.128"
100
- },
101
- "devDependencies": {
102
- "@types/byte-size": "^8.1.0",
103
- "@types/flat": "^5.0.5",
104
- "@types/lodash": "^4.14.177",
105
- "@types/node": "^20.11.0",
106
- "@types/qrcode": "^1.5.5",
107
- "@types/react": "^18.3.28",
108
- "@types/react-animate-on-scroll": "^2.1.8",
109
- "@types/react-dom": "^18.3.5",
110
- "@types/uuid": "^9.0.0",
111
- "@typescript-eslint/eslint-plugin": "6.21.0",
112
- "@typescript-eslint/parser": "7.3.1",
113
- "@vitejs/plugin-react": "^4.2.0",
114
- "eslint": "^7.28.0",
115
- "eslint-config-prettier": "^8.3.0",
116
- "eslint-config-standard": "^16.0.3",
117
- "eslint-plugin-filenames-simple": "^0.7.0",
118
- "eslint-plugin-import": "^2.23.4",
119
- "eslint-plugin-node": "^11.1.0",
120
- "eslint-plugin-prettier": "^3.4.0",
121
- "eslint-plugin-react": "^7.37.5",
122
- "prettier": "^2.5.1",
123
- "tsc-watch": "^4.6.2",
124
- "typescript": "5.4.2",
125
- "vite": "^6.3.5",
126
- "@vitest/coverage-v8": "^2.0.0",
127
- "vite-plugin-dts": "^4.5.4",
128
- "vitest": "^2.0.0"
129
- },
130
- "scripts": {
131
- "lint": "eslint \"{src,apps,libs,test,core}/**/*.{ts,tsx}\" --fix",
132
- "lint:check": "eslint \"{src,apps,libs,test,core}/**/*.{ts,tsx}\" --max-warnings 0",
133
- "tsc": "tsc",
134
- "build": "vite build",
135
- "dev": "vite build --watch",
136
- "test": "vitest run --config vitest.config.ts",
137
- "test:watch": "vitest --config vitest.config.ts"
138
- }
139
- }
1
+ {
2
+ "name": "@abyss-project/commons-front-core",
3
+ "version": "2.0.0",
4
+ "description": "Front Core package of AbyssProject",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "import": "./dist/index.js",
11
+ "types": "./dist/index.d.ts"
12
+ },
13
+ "./cookie-consent": {
14
+ "import": "./dist/cookie-consent.js",
15
+ "types": "./dist/cookie-consent.d.ts"
16
+ }
17
+ },
18
+ "typesVersions": {
19
+ "*": {
20
+ "cookie-consent": [
21
+ "./dist/cookie-consent.d.ts"
22
+ ]
23
+ }
24
+ },
25
+ "publishConfig": {
26
+ "main": "dist/index.js",
27
+ "types": "dist/index.d.ts"
28
+ },
29
+ "type": "module",
30
+ "scripts": {
31
+ "lint": "eslint \"{src,apps,libs,test,core}/**/*.{ts,tsx}\" --fix",
32
+ "lint:check": "eslint \"{src,apps,libs,test,core}/**/*.{ts,tsx}\" --max-warnings 0",
33
+ "tsc": "tsc",
34
+ "build": "vite build",
35
+ "dev": "vite build --watch",
36
+ "test": "vitest run --config vitest.config.ts",
37
+ "test:watch": "vitest --config vitest.config.ts"
38
+ },
39
+ "repository": {
40
+ "type": "git",
41
+ "url": "https://gitlab.com/abyss-group"
42
+ },
43
+ "keywords": [],
44
+ "author": "scylla",
45
+ "license": "ISC",
46
+ "bugs": {
47
+ "url": "https://gitlab.com/abyss-group"
48
+ },
49
+ "homepage": "https://gitlab.com/abyss-group",
50
+ "peerDependencies": {
51
+ "@abyss-project/main": "workspace:*",
52
+ "@emotion/react": "^11.7.1",
53
+ "@emotion/styled": "^11.6.0",
54
+ "@mui/icons-material": "^6.0.0",
55
+ "@mui/lab": "^6.0.1-beta.35",
56
+ "@mui/material": "^7.1.1",
57
+ "@mui/styles": "^6.4.12",
58
+ "@mui/utils": "^7.1.1",
59
+ "@mui/x-data-grid": "^8.5.3",
60
+ "@mui/x-date-pickers": "^6.20.2",
61
+ "@tanstack/react-query": "^5.0.0",
62
+ "@dnd-kit/core": "^6.0.0",
63
+ "@dnd-kit/sortable": "^9.0.0",
64
+ "@dnd-kit/utilities": "^3.0.0",
65
+ "react": "^17.0.0 || ^18.0.0",
66
+ "react-dom": "^17.0.0 || ^18.0.0",
67
+ "react-is": "^18.0.0 || ^19.0.0",
68
+ "react-intl": "^6.2.5",
69
+ "react-router-dom": "^6.15.0",
70
+ "zustand": "^5.0.0"
71
+ },
72
+ "dependencies": {
73
+ "@abyss-project/banking": "^1.1.0",
74
+ "@abyss-project/cloud": "^2.0.1",
75
+ "@abyss-project/crypt": "^1.0.9",
76
+ "@abyss-project/form": "^1.0.13",
77
+ "@abyss-project/main": "workspace:*",
78
+ "@abyss-project/memories": "^1.0.12",
79
+ "@abyss-project/monitor": "^1.0.79",
80
+ "@abyss-project/spotlight": "^1.0.24",
81
+ "@abyss-project/storage": "^1.0.30",
82
+ "@capacitor/clipboard": "^7.0.1",
83
+ "@capacitor/core": "^7.4.0",
84
+ "@capacitor/share": "^7.0.1",
85
+ "@milkdown/core": "^7.15.3",
86
+ "@milkdown/crepe": "^7.15.3",
87
+ "@milkdown/plugin-listener": "^7.15.3",
88
+ "@milkdown/react": "^7.15.3",
89
+ "@milkdown/utils": "^7.15.3",
90
+ "@nivo/bar": "^0.88.0",
91
+ "@nivo/core": "^0.88.0",
92
+ "@nivo/line": "^0.88.0",
93
+ "@nivo/pie": "^0.88.0",
94
+ "@tanstack/react-table": "^8.21.3",
95
+ "axios": "^1.6.0",
96
+ "axios-retry": "^4.5.0",
97
+ "byte-size": "^8.1.0",
98
+ "date-fns": "^2.29.3",
99
+ "eventsource": "^4.0.0",
100
+ "flat": "^5.0.2",
101
+ "formik": "^2.4.6",
102
+ "lodash": "^4.17.21",
103
+ "qrcode": "^1.5.3",
104
+ "react-dropzone": "^14.3.8",
105
+ "react-error-boundary": "^6.1.1",
106
+ "react-router-dom": "^6.15.0",
107
+ "react-toastify": "^8.0.2",
108
+ "use-debounce": "^10.0.5",
109
+ "uuid": "^9.0.0",
110
+ "pdf-lib": "^1.17.1",
111
+ "pdfjs-dist": "^4.10.38",
112
+ "yup": "^0.32.11"
113
+ },
114
+ "devDependencies": {
115
+ "@types/byte-size": "^8.1.0",
116
+ "@types/flat": "^5.0.5",
117
+ "@types/lodash": "^4.14.177",
118
+ "@types/node": "^20.11.0",
119
+ "@types/qrcode": "^1.5.5",
120
+ "@types/react": "^18.3.28",
121
+ "@types/react-animate-on-scroll": "^2.1.8",
122
+ "@types/react-dom": "^18.3.5",
123
+ "@types/uuid": "^9.0.0",
124
+ "@typescript-eslint/eslint-plugin": "6.21.0",
125
+ "@typescript-eslint/parser": "7.3.1",
126
+ "@vitejs/plugin-react": "^4.2.0",
127
+ "eslint": "^7.28.0",
128
+ "eslint-config-prettier": "^8.3.0",
129
+ "eslint-config-standard": "^16.0.3",
130
+ "eslint-plugin-filenames-simple": "^0.7.0",
131
+ "eslint-plugin-import": "^2.23.4",
132
+ "eslint-plugin-node": "^11.1.0",
133
+ "eslint-plugin-prettier": "^3.4.0",
134
+ "eslint-plugin-react": "^7.37.5",
135
+ "prettier": "^2.5.1",
136
+ "tsc-watch": "^4.6.2",
137
+ "typescript": "5.4.2",
138
+ "vite": "^6.3.5",
139
+ "@vitest/coverage-v8": "^2.0.0",
140
+ "vite-plugin-dts": "^4.5.4",
141
+ "vitest": "^2.0.0"
142
+ }
143
+ }