@abyss-project/commons-front-core 1.0.140 → 1.0.142
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.
- package/dist/CookieConsentSettings.component-DIIK_rRd.js +2604 -0
- package/dist/components/CookieConsent/index.d.ts +1 -0
- package/dist/cookie-consent.d.ts +2 -0
- package/dist/cookie-consent.js +16 -0
- package/dist/hooks/use-rich-intl.hook.d.ts +8 -0
- package/dist/{index-okqeKiVw.js → index-0jt8DKLf.js} +11 -11
- package/dist/{index-Bl6SIpvf.js → index-B3Y7Rb_Q.js} +1 -1
- package/dist/{index-UEOwaY3O.js → index-BLr1fOuq.js} +4 -4
- package/dist/{index-D-lNUR0y.js → index-BWj4TKOS.js} +2 -2
- package/dist/{index-DmM6klgp.js → index-B_fAiFZq.js} +3 -3
- package/dist/{index-KCcZKXY3.js → index-Blqg9cwf.js} +3 -3
- package/dist/{index-0Kl4O08s.js → index-BrSAVa-Q.js} +2 -2
- package/dist/{index-DYCXaPIH.js → index-C70H1Rqy.js} +4 -4
- package/dist/{index-CBU4Yqx5.js → index-C9HpxdlC.js} +2 -2
- package/dist/{index-CypPvn_s.js → index-CDvwJmU3.js} +8 -8
- package/dist/{index-DR4nDzIn.js → index-CI_ndLtL.js} +43317 -45910
- package/dist/{index-DmUCpN76.js → index-CQv4ue2W.js} +2 -2
- package/dist/{index-DS8zE3ca.js → index-CRlvyprK.js} +3 -3
- package/dist/{index-SiHpvGQe.js → index-Cb3RkMZy.js} +2 -2
- package/dist/{index-BR_Xw8UL.js → index-CkpUdKTG.js} +3 -3
- package/dist/{index-BanaQPDD.js → index-CnuCwLCI.js} +2 -2
- package/dist/{index-DK4YUg-N.js → index-CxyWN2Jp.js} +2 -2
- package/dist/{index-DRApEyFE.js → index-DQJBss56.js} +2 -2
- package/dist/{index-CU2W3qym.js → index-jiAI8FrN.js} +4 -4
- package/dist/{index-BdtnG5GK.js → index-prtXdje2.js} +2 -2
- package/dist/{index-D5ysDxCf.js → index-rNuCv1FV.js} +5 -5
- package/dist/{index-D-1klt9M.js → index-tz9rZQUM.js} +8 -8
- package/dist/index.js +223 -222
- package/package.json +142 -127
- package/vite.config.ts +10 -3
- /package/dist/{index.css → commons-front-core.css} +0 -0
package/package.json
CHANGED
|
@@ -1,127 +1,142 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@abyss-project/commons-front-core",
|
|
3
|
-
"version": "1.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
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
},
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"@abyss-project/
|
|
52
|
-
"@
|
|
53
|
-
"@
|
|
54
|
-
"@
|
|
55
|
-
"@
|
|
56
|
-
"@
|
|
57
|
-
"@
|
|
58
|
-
"@
|
|
59
|
-
"@
|
|
60
|
-
"@
|
|
61
|
-
"@
|
|
62
|
-
"@
|
|
63
|
-
"@
|
|
64
|
-
"@
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"@
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
"@
|
|
92
|
-
"@
|
|
93
|
-
"@
|
|
94
|
-
"@
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
|
|
127
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@abyss-project/commons-front-core",
|
|
3
|
+
"version": "1.0.142",
|
|
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.0.12",
|
|
74
|
+
"@abyss-project/cloud": "^1.0.11",
|
|
75
|
+
"@abyss-project/crypt": "^1.0.8",
|
|
76
|
+
"@abyss-project/form": "^1.0.12",
|
|
77
|
+
"@abyss-project/main": "workspace:*",
|
|
78
|
+
"@abyss-project/memories": "^1.0.11",
|
|
79
|
+
"@abyss-project/monitor": "^1.0.71",
|
|
80
|
+
"@abyss-project/spotlight": "^1.0.23",
|
|
81
|
+
"@abyss-project/storage": "^1.0.29",
|
|
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
|
+
"prettier": "^2.5.1",
|
|
135
|
+
"tsc-watch": "^4.6.2",
|
|
136
|
+
"typescript": "5.4.2",
|
|
137
|
+
"vite": "^6.3.5",
|
|
138
|
+
"@vitest/coverage-v8": "^2.0.0",
|
|
139
|
+
"vite-plugin-dts": "^4.5.4",
|
|
140
|
+
"vitest": "^2.0.0"
|
|
141
|
+
}
|
|
142
|
+
}
|
package/vite.config.ts
CHANGED
|
@@ -32,10 +32,17 @@ export default defineConfig({
|
|
|
32
32
|
},
|
|
33
33
|
build: {
|
|
34
34
|
lib: {
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
// Multiple entries: the full barrel (`index`) plus a browser-safe,
|
|
36
|
+
// tree-shaken `cookie-consent` entry. The latter lets webpack consumers
|
|
37
|
+
// (e.g. the Next.js landing) pull ONLY the cookie-consent UI without
|
|
38
|
+
// dragging in react-toastify (React-17 `render`), pdf.js, or the server
|
|
39
|
+
// monitor SDK that the full barrel transitively includes.
|
|
40
|
+
entry: {
|
|
41
|
+
index: resolve(__dirname, 'src/index.ts'),
|
|
42
|
+
'cookie-consent': resolve(__dirname, 'src/components/CookieConsent/index.ts'),
|
|
43
|
+
},
|
|
37
44
|
formats: ['es'],
|
|
38
|
-
fileName:
|
|
45
|
+
fileName: (_format, entryName) => `${entryName}.js`,
|
|
39
46
|
},
|
|
40
47
|
rollupOptions: {
|
|
41
48
|
// Externalize peer dependencies. Match exact name OR sub-path imports
|
|
File without changes
|