@viasoftbr/shared-ui 0.0.2 → 0.0.4
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/README.md +89 -106
- package/dist/components/main/Header.d.ts +1 -0
- package/dist/components.cjs +53411 -0
- package/dist/components.js +780 -2709
- package/dist/context/AuthContext.d.ts +1 -0
- package/dist/context/SharedUiProvider.d.ts +7 -0
- package/dist/context/index.d.ts +2 -1
- package/dist/context.cjs +3078 -0
- package/dist/context.js +39 -472
- package/dist/hooks.cjs +3182 -0
- package/dist/hooks.js +22 -1322
- package/dist/i18n.cjs +3277 -0
- package/dist/i18n.js +2 -87
- package/dist/index.cjs +53787 -0
- package/dist/index.js +821 -2939
- package/dist/package.json +111 -0
- package/dist/services/api.d.ts +0 -1
- package/dist/services.cjs +3271 -0
- package/dist/services.js +1 -3
- package/dist/types.cjs +34 -0
- package/package.json +36 -11
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@viasoftbr/shared-ui",
|
|
3
|
+
"version": "0.0.3",
|
|
4
|
+
"description": "Shared frontend utilities, components and i18n for Viasoft plugins and micro-frontends",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "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
|
+
"./index": {
|
|
14
|
+
"import": "./dist/index.js",
|
|
15
|
+
"types": "./dist/index.d.ts"
|
|
16
|
+
},
|
|
17
|
+
"./context": {
|
|
18
|
+
"import": "./dist/context.js",
|
|
19
|
+
"types": "./dist/context/index.d.ts"
|
|
20
|
+
},
|
|
21
|
+
"./components": {
|
|
22
|
+
"import": "./dist/components.js",
|
|
23
|
+
"types": "./dist/components/index.d.ts"
|
|
24
|
+
},
|
|
25
|
+
"./services": {
|
|
26
|
+
"import": "./dist/services.js",
|
|
27
|
+
"types": "./dist/services/index.d.ts"
|
|
28
|
+
},
|
|
29
|
+
"./types": {
|
|
30
|
+
"import": "./dist/types.js",
|
|
31
|
+
"types": "./dist/types/index.d.ts"
|
|
32
|
+
},
|
|
33
|
+
"./i18n": {
|
|
34
|
+
"import": "./dist/i18n.js",
|
|
35
|
+
"types": "./dist/i18n.d.ts"
|
|
36
|
+
},
|
|
37
|
+
"./jsmpeg": {
|
|
38
|
+
"default": "./dist/jsmpeg.vu.min.js"
|
|
39
|
+
},
|
|
40
|
+
"./locales/*": {
|
|
41
|
+
"default": "./dist/locales/*"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "node scripts/build.js",
|
|
46
|
+
"dev": "node scripts/build.js --watch",
|
|
47
|
+
"typecheck": "tsc --noEmit"
|
|
48
|
+
},
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"react": "^19.0.0"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@types/react": "^19.2.13",
|
|
54
|
+
"esbuild": "^0.20.0",
|
|
55
|
+
"typescript": "^5.0.0"
|
|
56
|
+
},
|
|
57
|
+
"files": [
|
|
58
|
+
"dist"
|
|
59
|
+
],
|
|
60
|
+
"overrides": {
|
|
61
|
+
"use-sync-external-store": "1.6.1"
|
|
62
|
+
},
|
|
63
|
+
"resolutions": {
|
|
64
|
+
"use-sync-external-store": "1.6.1"
|
|
65
|
+
},
|
|
66
|
+
"pnpm": {
|
|
67
|
+
"overrides": {
|
|
68
|
+
"use-sync-external-store": "1.6.1"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"keywords": [
|
|
72
|
+
"viasoft",
|
|
73
|
+
"shared",
|
|
74
|
+
"utils",
|
|
75
|
+
"components",
|
|
76
|
+
"i18n",
|
|
77
|
+
"microfrontend"
|
|
78
|
+
],
|
|
79
|
+
"author": "Viasoft",
|
|
80
|
+
"license": "MIT",
|
|
81
|
+
"publishConfig": {
|
|
82
|
+
"access": "public"
|
|
83
|
+
},
|
|
84
|
+
"dependencies": {
|
|
85
|
+
"@headlessui/react": "^2.2.9",
|
|
86
|
+
"@reduxjs/toolkit": "^2.10.1",
|
|
87
|
+
"@tanstack/react-query": "^5.90.10",
|
|
88
|
+
"@types/react-dom": "^19.2.3",
|
|
89
|
+
"@viasoftbr/shared-utils": "^0.0.1",
|
|
90
|
+
"axios": "^1.13.2",
|
|
91
|
+
"i18next": "^25.7.3",
|
|
92
|
+
"json-server": "1.0.0-beta.3",
|
|
93
|
+
"lucide-react": "^0.460.0",
|
|
94
|
+
"react": "^19.2.4",
|
|
95
|
+
"react-dom": "^19.2.4",
|
|
96
|
+
"react-i18next": "^16.5.0",
|
|
97
|
+
"react-redux": "^9.2.0",
|
|
98
|
+
"react-router-dom": "^6.20.1",
|
|
99
|
+
"react-tooltip": "^5.30.0",
|
|
100
|
+
"redux-batch-middleware": "^0.2.0",
|
|
101
|
+
"tailwind-scrollbar": "^4.0.2"
|
|
102
|
+
},
|
|
103
|
+
"repository": {
|
|
104
|
+
"type": "git",
|
|
105
|
+
"url": "git+https://github.com/viasoftbr/shared-ui.git"
|
|
106
|
+
},
|
|
107
|
+
"bugs": {
|
|
108
|
+
"url": "https://github.com/viasoftbr/shared-ui/issues"
|
|
109
|
+
},
|
|
110
|
+
"homepage": "https://github.com/viasoftbr/shared-ui#readme"
|
|
111
|
+
}
|
package/dist/services/api.d.ts
CHANGED
|
@@ -16,7 +16,6 @@ export declare const fetchApi: {
|
|
|
16
16
|
deleteJson: <T>(path: string, headers?: Record<string, string>) => Promise<T>;
|
|
17
17
|
deleteVoid: (path: string, headers?: Record<string, string>) => Promise<void>;
|
|
18
18
|
};
|
|
19
|
-
export declare const serverOrigin: string;
|
|
20
19
|
export declare function buildWsUrl(path?: string): string;
|
|
21
20
|
export declare function encodeFfurl(settings: ProtocolSettings): Promise<string>;
|
|
22
21
|
export declare function decodeFfurl(ffurl: string): Promise<ProtocolSettings>;
|