@nsxbet/admin-sdk 0.1.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.
- package/README.md +680 -0
- package/dist/auth/client/in-memory.d.ts +27 -0
- package/dist/auth/client/in-memory.d.ts.map +1 -0
- package/dist/auth/client/in-memory.js +242 -0
- package/dist/auth/client/index.d.ts +7 -0
- package/dist/auth/client/index.d.ts.map +1 -0
- package/dist/auth/client/index.js +7 -0
- package/dist/auth/client/interface.d.ts +115 -0
- package/dist/auth/client/interface.d.ts.map +1 -0
- package/dist/auth/client/interface.js +7 -0
- package/dist/auth/client/keycloak.d.ts +19 -0
- package/dist/auth/client/keycloak.d.ts.map +1 -0
- package/dist/auth/client/keycloak.js +126 -0
- package/dist/auth/components/UserSelector.d.ts +19 -0
- package/dist/auth/components/UserSelector.d.ts.map +1 -0
- package/dist/auth/components/UserSelector.js +100 -0
- package/dist/auth/components/index.d.ts +5 -0
- package/dist/auth/components/index.d.ts.map +1 -0
- package/dist/auth/components/index.js +4 -0
- package/dist/auth/index.d.ts +7 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +7 -0
- package/dist/components/AuthProvider.d.ts +48 -0
- package/dist/components/AuthProvider.d.ts.map +1 -0
- package/dist/components/AuthProvider.js +117 -0
- package/dist/hooks/useAuth.d.ts +21 -0
- package/dist/hooks/useAuth.d.ts.map +1 -0
- package/dist/hooks/useAuth.js +34 -0
- package/dist/hooks/useFetch.d.ts +8 -0
- package/dist/hooks/useFetch.d.ts.map +1 -0
- package/dist/hooks/useFetch.js +31 -0
- package/dist/hooks/useI18n.d.ts +46 -0
- package/dist/hooks/useI18n.d.ts.map +1 -0
- package/dist/hooks/useI18n.js +95 -0
- package/dist/hooks/usePlatformAPI.d.ts +12 -0
- package/dist/hooks/usePlatformAPI.d.ts.map +1 -0
- package/dist/hooks/usePlatformAPI.js +10 -0
- package/dist/hooks/useTelemetry.d.ts +17 -0
- package/dist/hooks/useTelemetry.d.ts.map +1 -0
- package/dist/hooks/useTelemetry.js +36 -0
- package/dist/i18n/config.d.ts +26 -0
- package/dist/i18n/config.d.ts.map +1 -0
- package/dist/i18n/config.js +92 -0
- package/dist/i18n/index.d.ts +6 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/index.js +4 -0
- package/dist/i18n/locales/en-US.json +144 -0
- package/dist/i18n/locales/es.json +144 -0
- package/dist/i18n/locales/pt-BR.json +144 -0
- package/dist/i18n/locales/ro.json +144 -0
- package/dist/index.d.ts +27 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +30 -0
- package/dist/registry/AdminShellRegistry.d.ts +140 -0
- package/dist/registry/AdminShellRegistry.d.ts.map +1 -0
- package/dist/registry/AdminShellRegistry.js +237 -0
- package/dist/registry/client/http.d.ts +21 -0
- package/dist/registry/client/http.d.ts.map +1 -0
- package/dist/registry/client/http.js +107 -0
- package/dist/registry/client/in-memory.d.ts +36 -0
- package/dist/registry/client/in-memory.d.ts.map +1 -0
- package/dist/registry/client/in-memory.js +242 -0
- package/dist/registry/client/index.d.ts +7 -0
- package/dist/registry/client/index.d.ts.map +1 -0
- package/dist/registry/client/index.js +5 -0
- package/dist/registry/client/interface.d.ts +96 -0
- package/dist/registry/client/interface.d.ts.map +1 -0
- package/dist/registry/client/interface.js +7 -0
- package/dist/registry/index.d.ts +12 -0
- package/dist/registry/index.d.ts.map +1 -0
- package/dist/registry/index.js +8 -0
- package/dist/registry/types/index.d.ts +9 -0
- package/dist/registry/types/index.d.ts.map +1 -0
- package/dist/registry/types/index.js +6 -0
- package/dist/registry/types/manifest.d.ts +98 -0
- package/dist/registry/types/manifest.d.ts.map +1 -0
- package/dist/registry/types/manifest.js +81 -0
- package/dist/registry/types/module.d.ts +115 -0
- package/dist/registry/types/module.d.ts.map +1 -0
- package/dist/registry/types/module.js +6 -0
- package/dist/router/DynamicModule.d.ts +50 -0
- package/dist/router/DynamicModule.d.ts.map +1 -0
- package/dist/router/DynamicModule.js +141 -0
- package/dist/router/index.d.ts +2 -0
- package/dist/router/index.d.ts.map +1 -0
- package/dist/router/index.js +1 -0
- package/dist/shell/AdminShell.d.ts +38 -0
- package/dist/shell/AdminShell.d.ts.map +1 -0
- package/dist/shell/AdminShell.js +299 -0
- package/dist/shell/BackofficeShell.d.ts +38 -0
- package/dist/shell/BackofficeShell.d.ts.map +1 -0
- package/dist/shell/BackofficeShell.js +299 -0
- package/dist/shell/components/CommandPalette.d.ts +8 -0
- package/dist/shell/components/CommandPalette.d.ts.map +1 -0
- package/dist/shell/components/CommandPalette.js +197 -0
- package/dist/shell/components/HomePage.d.ts +2 -0
- package/dist/shell/components/HomePage.d.ts.map +1 -0
- package/dist/shell/components/HomePage.js +32 -0
- package/dist/shell/components/LeftNav.d.ts +7 -0
- package/dist/shell/components/LeftNav.d.ts.map +1 -0
- package/dist/shell/components/LeftNav.js +247 -0
- package/dist/shell/components/MainContent.d.ts +9 -0
- package/dist/shell/components/MainContent.d.ts.map +1 -0
- package/dist/shell/components/MainContent.js +88 -0
- package/dist/shell/components/ModuleOverview.d.ts +7 -0
- package/dist/shell/components/ModuleOverview.d.ts.map +1 -0
- package/dist/shell/components/ModuleOverview.js +40 -0
- package/dist/shell/components/ProfilePage.d.ts +2 -0
- package/dist/shell/components/ProfilePage.d.ts.map +1 -0
- package/dist/shell/components/ProfilePage.js +30 -0
- package/dist/shell/components/RegistryPage.d.ts +8 -0
- package/dist/shell/components/RegistryPage.d.ts.map +1 -0
- package/dist/shell/components/RegistryPage.js +129 -0
- package/dist/shell/components/SettingsPage.d.ts +2 -0
- package/dist/shell/components/SettingsPage.d.ts.map +1 -0
- package/dist/shell/components/SettingsPage.js +60 -0
- package/dist/shell/components/TopBar.d.ts +8 -0
- package/dist/shell/components/TopBar.d.ts.map +1 -0
- package/dist/shell/components/TopBar.js +61 -0
- package/dist/shell/components/index.d.ts +10 -0
- package/dist/shell/components/index.d.ts.map +1 -0
- package/dist/shell/components/index.js +7 -0
- package/dist/shell/components/theme-provider.d.ts +15 -0
- package/dist/shell/components/theme-provider.d.ts.map +1 -0
- package/dist/shell/components/theme-provider.js +39 -0
- package/dist/shell/index.d.ts +9 -0
- package/dist/shell/index.d.ts.map +1 -0
- package/dist/shell/index.js +8 -0
- package/dist/shell/search/fuzzy.d.ts +18 -0
- package/dist/shell/search/fuzzy.d.ts.map +1 -0
- package/dist/shell/search/fuzzy.js +121 -0
- package/dist/shell/search/index.d.ts +3 -0
- package/dist/shell/search/index.d.ts.map +1 -0
- package/dist/shell/search/index.js +1 -0
- package/dist/shell/telemetry.d.ts +7 -0
- package/dist/shell/telemetry.d.ts.map +1 -0
- package/dist/shell/telemetry.js +25 -0
- package/dist/shell/types.d.ts +110 -0
- package/dist/shell/types.d.ts.map +1 -0
- package/dist/shell/types.js +4 -0
- package/dist/tailwind/index.d.ts +20 -0
- package/dist/tailwind/index.d.ts.map +1 -0
- package/dist/tailwind/index.js +42 -0
- package/dist/types/keycloak.d.ts +26 -0
- package/dist/types/keycloak.d.ts.map +1 -0
- package/dist/types/keycloak.js +1 -0
- package/dist/types/platform.d.ts +83 -0
- package/dist/types/platform.d.ts.map +1 -0
- package/dist/types/platform.js +5 -0
- package/dist/vite/config.d.ts +71 -0
- package/dist/vite/config.d.ts.map +1 -0
- package/dist/vite/config.js +87 -0
- package/dist/vite/index.d.ts +18 -0
- package/dist/vite/index.d.ts.map +1 -0
- package/dist/vite/index.js +17 -0
- package/dist/vite/plugins.d.ts +44 -0
- package/dist/vite/plugins.d.ts.map +1 -0
- package/dist/vite/plugins.js +74 -0
- package/package.json +86 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,QAAQ,EACR,UAAU,EACV,iBAAiB,EACjB,IAAI,EACJ,iBAAiB,EACjB,YAAY,EACZ,YAAY,GACb,MAAM,UAAU,CAAC;AAElB,YAAY,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
{
|
|
2
|
+
"common": {
|
|
3
|
+
"loading": "Loading...",
|
|
4
|
+
"error": "Error",
|
|
5
|
+
"success": "Success",
|
|
6
|
+
"save": "Save",
|
|
7
|
+
"cancel": "Cancel",
|
|
8
|
+
"delete": "Delete",
|
|
9
|
+
"confirm": "Confirm",
|
|
10
|
+
"edit": "Edit",
|
|
11
|
+
"create": "Create",
|
|
12
|
+
"search": "Search",
|
|
13
|
+
"noResults": "No results found",
|
|
14
|
+
"close": "Close",
|
|
15
|
+
"back": "Back",
|
|
16
|
+
"next": "Next",
|
|
17
|
+
"previous": "Previous",
|
|
18
|
+
"yes": "Yes",
|
|
19
|
+
"no": "No",
|
|
20
|
+
"actions": "Actions",
|
|
21
|
+
"status": "Status",
|
|
22
|
+
"enabled": "Enabled",
|
|
23
|
+
"disabled": "Disabled",
|
|
24
|
+
"readOnly": "Read Only"
|
|
25
|
+
},
|
|
26
|
+
"topBar": {
|
|
27
|
+
"search": "Search...",
|
|
28
|
+
"searchPlaceholder": "Search modules and commands...",
|
|
29
|
+
"theme": "Theme",
|
|
30
|
+
"themeLight": "Light",
|
|
31
|
+
"themeDark": "Dark",
|
|
32
|
+
"themeSystem": "System",
|
|
33
|
+
"language": "Language"
|
|
34
|
+
},
|
|
35
|
+
"nav": {
|
|
36
|
+
"home": "Home",
|
|
37
|
+
"settings": "Settings",
|
|
38
|
+
"profile": "Profile",
|
|
39
|
+
"registry": "Registry",
|
|
40
|
+
"logout": "Logout",
|
|
41
|
+
"pinned": "Pinned",
|
|
42
|
+
"platform": "Platform",
|
|
43
|
+
"modules": "Modules",
|
|
44
|
+
"overview": "Overview",
|
|
45
|
+
"collapsed": "Collapsed",
|
|
46
|
+
"expanded": "Expanded"
|
|
47
|
+
},
|
|
48
|
+
"commandPalette": {
|
|
49
|
+
"title": "Command Palette",
|
|
50
|
+
"placeholder": "Type a command or search...",
|
|
51
|
+
"noResults": "No results found",
|
|
52
|
+
"modules": "Modules",
|
|
53
|
+
"commands": "Commands",
|
|
54
|
+
"recentSearches": "Recent Searches",
|
|
55
|
+
"hint": "Press ⌘K to open"
|
|
56
|
+
},
|
|
57
|
+
"homePage": {
|
|
58
|
+
"welcome": "Welcome to the Admin Dashboard",
|
|
59
|
+
"description": "Select a module from the sidebar to get started.",
|
|
60
|
+
"quickActions": "Quick Actions",
|
|
61
|
+
"recentModules": "Recent Modules"
|
|
62
|
+
},
|
|
63
|
+
"profilePage": {
|
|
64
|
+
"title": "My Profile",
|
|
65
|
+
"userInfo": "User Information",
|
|
66
|
+
"name": "Name",
|
|
67
|
+
"email": "Email",
|
|
68
|
+
"roles": "Roles",
|
|
69
|
+
"pinnedPages": "Pinned Pages",
|
|
70
|
+
"noPinnedPages": "No pinned pages",
|
|
71
|
+
"auditInfo": "Audit Information",
|
|
72
|
+
"userId": "User ID"
|
|
73
|
+
},
|
|
74
|
+
"settingsPage": {
|
|
75
|
+
"title": "Settings",
|
|
76
|
+
"appearance": "Appearance",
|
|
77
|
+
"appearanceDescription": "Customize the appearance of the dashboard",
|
|
78
|
+
"theme": "Theme",
|
|
79
|
+
"navigation": "Navigation",
|
|
80
|
+
"navigationDescription": "Configure navigation options",
|
|
81
|
+
"showPinnedItems": "Show Pinned Items",
|
|
82
|
+
"showPinnedItemsDescription": "Display pinned shortcuts in the sidebar",
|
|
83
|
+
"pinnedItemsNote": "When the sidebar is collapsed, pinned commands are always shown as icons for quick access.",
|
|
84
|
+
"dataManagement": "Data Management",
|
|
85
|
+
"dataManagementDescription": "Manage your data and preferences",
|
|
86
|
+
"clearPinnedItems": "Clear Pinned Items",
|
|
87
|
+
"clearPinnedItemsConfirm": "Are you sure you want to clear all pinned items?",
|
|
88
|
+
"about": "About",
|
|
89
|
+
"version": "Version",
|
|
90
|
+
"environment": "Environment"
|
|
91
|
+
},
|
|
92
|
+
"registryPage": {
|
|
93
|
+
"title": "Module Registry",
|
|
94
|
+
"description": "Manage the modules registered in the platform",
|
|
95
|
+
"mode": "Mode",
|
|
96
|
+
"apiMode": "API Mode",
|
|
97
|
+
"inMemoryMode": "In-Memory Mode",
|
|
98
|
+
"addModule": "Add Module",
|
|
99
|
+
"addByUrl": "By URL",
|
|
100
|
+
"addByManifest": "By Manifest",
|
|
101
|
+
"moduleUrl": "Module URL",
|
|
102
|
+
"moduleUrlPlaceholder": "https://example.com/module",
|
|
103
|
+
"manifestJson": "Manifest JSON",
|
|
104
|
+
"manifestPlaceholder": "Paste the manifest JSON here...",
|
|
105
|
+
"register": "Register",
|
|
106
|
+
"registeredModules": "Registered Modules",
|
|
107
|
+
"noModules": "No modules registered",
|
|
108
|
+
"moduleId": "ID",
|
|
109
|
+
"moduleTitle": "Title",
|
|
110
|
+
"moduleCategory": "Category",
|
|
111
|
+
"moduleRoute": "Route",
|
|
112
|
+
"moduleBaseUrl": "Base URL",
|
|
113
|
+
"deleteModule": "Delete Module",
|
|
114
|
+
"deleteModuleConfirm": "Are you sure you want to delete this module?"
|
|
115
|
+
},
|
|
116
|
+
"moduleOverview": {
|
|
117
|
+
"title": "Module Overview",
|
|
118
|
+
"description": "Description",
|
|
119
|
+
"actions": "Actions",
|
|
120
|
+
"actionsDescription": "Available commands for this module",
|
|
121
|
+
"information": "Module Information",
|
|
122
|
+
"availableActions": "Available Actions",
|
|
123
|
+
"noActions": "No actions available",
|
|
124
|
+
"metadata": "Metadata",
|
|
125
|
+
"category": "Category",
|
|
126
|
+
"status": "Status",
|
|
127
|
+
"owner": "Owner",
|
|
128
|
+
"support": "Support",
|
|
129
|
+
"supportChannel": "Support Channel"
|
|
130
|
+
},
|
|
131
|
+
"errors": {
|
|
132
|
+
"generic": "Something went wrong",
|
|
133
|
+
"notFound": "Page not found",
|
|
134
|
+
"accessDenied": "Access Denied",
|
|
135
|
+
"accessDeniedDescription": "You don't have permission to access this page.",
|
|
136
|
+
"moduleNotFound": "Module Not Found",
|
|
137
|
+
"moduleNotFoundDescription": "The module \"{{moduleId}}\" could not be found.",
|
|
138
|
+
"moduleLoadFailed": "Failed to load module",
|
|
139
|
+
"networkError": "Network error"
|
|
140
|
+
},
|
|
141
|
+
"breadcrumbs": {
|
|
142
|
+
"home": "Home"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
{
|
|
2
|
+
"common": {
|
|
3
|
+
"loading": "Cargando...",
|
|
4
|
+
"error": "Error",
|
|
5
|
+
"success": "Éxito",
|
|
6
|
+
"save": "Guardar",
|
|
7
|
+
"cancel": "Cancelar",
|
|
8
|
+
"delete": "Eliminar",
|
|
9
|
+
"confirm": "Confirmar",
|
|
10
|
+
"edit": "Editar",
|
|
11
|
+
"create": "Crear",
|
|
12
|
+
"search": "Buscar",
|
|
13
|
+
"noResults": "No se encontraron resultados",
|
|
14
|
+
"close": "Cerrar",
|
|
15
|
+
"back": "Atrás",
|
|
16
|
+
"next": "Siguiente",
|
|
17
|
+
"previous": "Anterior",
|
|
18
|
+
"yes": "Sí",
|
|
19
|
+
"no": "No",
|
|
20
|
+
"actions": "Acciones",
|
|
21
|
+
"status": "Estado",
|
|
22
|
+
"enabled": "Habilitado",
|
|
23
|
+
"disabled": "Deshabilitado",
|
|
24
|
+
"readOnly": "Solo Lectura"
|
|
25
|
+
},
|
|
26
|
+
"topBar": {
|
|
27
|
+
"search": "Buscar...",
|
|
28
|
+
"searchPlaceholder": "Buscar módulos y comandos...",
|
|
29
|
+
"theme": "Tema",
|
|
30
|
+
"themeLight": "Claro",
|
|
31
|
+
"themeDark": "Oscuro",
|
|
32
|
+
"themeSystem": "Sistema",
|
|
33
|
+
"language": "Idioma"
|
|
34
|
+
},
|
|
35
|
+
"nav": {
|
|
36
|
+
"home": "Inicio",
|
|
37
|
+
"settings": "Configuración",
|
|
38
|
+
"profile": "Perfil",
|
|
39
|
+
"registry": "Registro",
|
|
40
|
+
"logout": "Cerrar Sesión",
|
|
41
|
+
"pinned": "Fijados",
|
|
42
|
+
"platform": "Plataforma",
|
|
43
|
+
"modules": "Módulos",
|
|
44
|
+
"overview": "Vista General",
|
|
45
|
+
"collapsed": "Contraído",
|
|
46
|
+
"expanded": "Expandido"
|
|
47
|
+
},
|
|
48
|
+
"commandPalette": {
|
|
49
|
+
"title": "Paleta de Comandos",
|
|
50
|
+
"placeholder": "Escribe un comando o busca...",
|
|
51
|
+
"noResults": "No se encontraron resultados",
|
|
52
|
+
"modules": "Módulos",
|
|
53
|
+
"commands": "Comandos",
|
|
54
|
+
"recentSearches": "Búsquedas Recientes",
|
|
55
|
+
"hint": "Presiona ⌘K para abrir"
|
|
56
|
+
},
|
|
57
|
+
"homePage": {
|
|
58
|
+
"welcome": "Bienvenido al Panel de Administración",
|
|
59
|
+
"description": "Selecciona un módulo del menú lateral para comenzar.",
|
|
60
|
+
"quickActions": "Acciones Rápidas",
|
|
61
|
+
"recentModules": "Módulos Recientes"
|
|
62
|
+
},
|
|
63
|
+
"profilePage": {
|
|
64
|
+
"title": "Mi Perfil",
|
|
65
|
+
"userInfo": "Información del Usuario",
|
|
66
|
+
"name": "Nombre",
|
|
67
|
+
"email": "Correo Electrónico",
|
|
68
|
+
"roles": "Roles",
|
|
69
|
+
"pinnedPages": "Páginas Fijadas",
|
|
70
|
+
"noPinnedPages": "No hay páginas fijadas",
|
|
71
|
+
"auditInfo": "Información de Auditoría",
|
|
72
|
+
"userId": "ID de Usuario"
|
|
73
|
+
},
|
|
74
|
+
"settingsPage": {
|
|
75
|
+
"title": "Configuración",
|
|
76
|
+
"appearance": "Apariencia",
|
|
77
|
+
"appearanceDescription": "Personaliza la apariencia del panel",
|
|
78
|
+
"theme": "Tema",
|
|
79
|
+
"navigation": "Navegación",
|
|
80
|
+
"navigationDescription": "Configura las opciones de navegación",
|
|
81
|
+
"showPinnedItems": "Mostrar Elementos Fijados",
|
|
82
|
+
"showPinnedItemsDescription": "Mostrar accesos directos fijados en la barra lateral",
|
|
83
|
+
"pinnedItemsNote": "Cuando la barra lateral está contraída, los comandos fijados siempre se muestran como iconos para acceso rápido.",
|
|
84
|
+
"dataManagement": "Gestión de Datos",
|
|
85
|
+
"dataManagementDescription": "Administra tus datos y preferencias",
|
|
86
|
+
"clearPinnedItems": "Limpiar Elementos Fijados",
|
|
87
|
+
"clearPinnedItemsConfirm": "¿Estás seguro de que deseas limpiar todos los elementos fijados?",
|
|
88
|
+
"about": "Acerca de",
|
|
89
|
+
"version": "Versión",
|
|
90
|
+
"environment": "Entorno"
|
|
91
|
+
},
|
|
92
|
+
"registryPage": {
|
|
93
|
+
"title": "Registro de Módulos",
|
|
94
|
+
"description": "Administra los módulos registrados en la plataforma",
|
|
95
|
+
"mode": "Modo",
|
|
96
|
+
"apiMode": "Modo API",
|
|
97
|
+
"inMemoryMode": "Modo En Memoria",
|
|
98
|
+
"addModule": "Agregar Módulo",
|
|
99
|
+
"addByUrl": "Por URL",
|
|
100
|
+
"addByManifest": "Por Manifiesto",
|
|
101
|
+
"moduleUrl": "URL del Módulo",
|
|
102
|
+
"moduleUrlPlaceholder": "https://ejemplo.com/modulo",
|
|
103
|
+
"manifestJson": "JSON del Manifiesto",
|
|
104
|
+
"manifestPlaceholder": "Pega el JSON del manifiesto aquí...",
|
|
105
|
+
"register": "Registrar",
|
|
106
|
+
"registeredModules": "Módulos Registrados",
|
|
107
|
+
"noModules": "No hay módulos registrados",
|
|
108
|
+
"moduleId": "ID",
|
|
109
|
+
"moduleTitle": "Título",
|
|
110
|
+
"moduleCategory": "Categoría",
|
|
111
|
+
"moduleRoute": "Ruta",
|
|
112
|
+
"moduleBaseUrl": "URL Base",
|
|
113
|
+
"deleteModule": "Eliminar Módulo",
|
|
114
|
+
"deleteModuleConfirm": "¿Estás seguro de que deseas eliminar este módulo?"
|
|
115
|
+
},
|
|
116
|
+
"moduleOverview": {
|
|
117
|
+
"title": "Vista General del Módulo",
|
|
118
|
+
"description": "Descripción",
|
|
119
|
+
"actions": "Acciones",
|
|
120
|
+
"actionsDescription": "Comandos disponibles para este módulo",
|
|
121
|
+
"information": "Información del Módulo",
|
|
122
|
+
"availableActions": "Acciones Disponibles",
|
|
123
|
+
"noActions": "No hay acciones disponibles",
|
|
124
|
+
"metadata": "Metadatos",
|
|
125
|
+
"category": "Categoría",
|
|
126
|
+
"status": "Estado",
|
|
127
|
+
"owner": "Propietario",
|
|
128
|
+
"support": "Soporte",
|
|
129
|
+
"supportChannel": "Canal de Soporte"
|
|
130
|
+
},
|
|
131
|
+
"errors": {
|
|
132
|
+
"generic": "Algo salió mal",
|
|
133
|
+
"notFound": "Página no encontrada",
|
|
134
|
+
"accessDenied": "Acceso Denegado",
|
|
135
|
+
"accessDeniedDescription": "No tienes permiso para acceder a esta página.",
|
|
136
|
+
"moduleNotFound": "Módulo No Encontrado",
|
|
137
|
+
"moduleNotFoundDescription": "El módulo \"{{moduleId}}\" no fue encontrado.",
|
|
138
|
+
"moduleLoadFailed": "Error al cargar módulo",
|
|
139
|
+
"networkError": "Error de conexión"
|
|
140
|
+
},
|
|
141
|
+
"breadcrumbs": {
|
|
142
|
+
"home": "Inicio"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
{
|
|
2
|
+
"common": {
|
|
3
|
+
"loading": "Carregando...",
|
|
4
|
+
"error": "Erro",
|
|
5
|
+
"success": "Sucesso",
|
|
6
|
+
"save": "Salvar",
|
|
7
|
+
"cancel": "Cancelar",
|
|
8
|
+
"delete": "Excluir",
|
|
9
|
+
"confirm": "Confirmar",
|
|
10
|
+
"edit": "Editar",
|
|
11
|
+
"create": "Criar",
|
|
12
|
+
"search": "Buscar",
|
|
13
|
+
"noResults": "Nenhum resultado encontrado",
|
|
14
|
+
"close": "Fechar",
|
|
15
|
+
"back": "Voltar",
|
|
16
|
+
"next": "Próximo",
|
|
17
|
+
"previous": "Anterior",
|
|
18
|
+
"yes": "Sim",
|
|
19
|
+
"no": "Não",
|
|
20
|
+
"actions": "Ações",
|
|
21
|
+
"status": "Status",
|
|
22
|
+
"enabled": "Habilitado",
|
|
23
|
+
"disabled": "Desabilitado",
|
|
24
|
+
"readOnly": "Somente Leitura"
|
|
25
|
+
},
|
|
26
|
+
"topBar": {
|
|
27
|
+
"search": "Buscar...",
|
|
28
|
+
"searchPlaceholder": "Buscar módulos e comandos...",
|
|
29
|
+
"theme": "Tema",
|
|
30
|
+
"themeLight": "Claro",
|
|
31
|
+
"themeDark": "Escuro",
|
|
32
|
+
"themeSystem": "Sistema",
|
|
33
|
+
"language": "Idioma"
|
|
34
|
+
},
|
|
35
|
+
"nav": {
|
|
36
|
+
"home": "Início",
|
|
37
|
+
"settings": "Configurações",
|
|
38
|
+
"profile": "Perfil",
|
|
39
|
+
"registry": "Registro",
|
|
40
|
+
"logout": "Sair",
|
|
41
|
+
"pinned": "Fixados",
|
|
42
|
+
"platform": "Plataforma",
|
|
43
|
+
"modules": "Módulos",
|
|
44
|
+
"overview": "Visão Geral",
|
|
45
|
+
"collapsed": "Recolhido",
|
|
46
|
+
"expanded": "Expandido"
|
|
47
|
+
},
|
|
48
|
+
"commandPalette": {
|
|
49
|
+
"title": "Paleta de Comandos",
|
|
50
|
+
"placeholder": "Digite um comando ou busque...",
|
|
51
|
+
"noResults": "Nenhum resultado encontrado",
|
|
52
|
+
"modules": "Módulos",
|
|
53
|
+
"commands": "Comandos",
|
|
54
|
+
"recentSearches": "Buscas Recentes",
|
|
55
|
+
"hint": "Pressione ⌘K para abrir"
|
|
56
|
+
},
|
|
57
|
+
"homePage": {
|
|
58
|
+
"welcome": "Bem-vindo ao Painel Administrativo",
|
|
59
|
+
"description": "Selecione um módulo no menu lateral para começar.",
|
|
60
|
+
"quickActions": "Ações Rápidas",
|
|
61
|
+
"recentModules": "Módulos Recentes"
|
|
62
|
+
},
|
|
63
|
+
"profilePage": {
|
|
64
|
+
"title": "Meu Perfil",
|
|
65
|
+
"userInfo": "Informações do Usuário",
|
|
66
|
+
"name": "Nome",
|
|
67
|
+
"email": "E-mail",
|
|
68
|
+
"roles": "Funções",
|
|
69
|
+
"pinnedPages": "Páginas Fixadas",
|
|
70
|
+
"noPinnedPages": "Nenhuma página fixada",
|
|
71
|
+
"auditInfo": "Informações de Auditoria",
|
|
72
|
+
"userId": "ID do Usuário"
|
|
73
|
+
},
|
|
74
|
+
"settingsPage": {
|
|
75
|
+
"title": "Configurações",
|
|
76
|
+
"appearance": "Aparência",
|
|
77
|
+
"appearanceDescription": "Personalize a aparência do painel",
|
|
78
|
+
"theme": "Tema",
|
|
79
|
+
"navigation": "Navegação",
|
|
80
|
+
"navigationDescription": "Configure as opções de navegação",
|
|
81
|
+
"showPinnedItems": "Mostrar Itens Fixados",
|
|
82
|
+
"showPinnedItemsDescription": "Exibir atalhos fixados na barra lateral",
|
|
83
|
+
"pinnedItemsNote": "Quando a barra lateral está recolhida, os comandos fixados são sempre mostrados como ícones para acesso rápido.",
|
|
84
|
+
"dataManagement": "Gerenciamento de Dados",
|
|
85
|
+
"dataManagementDescription": "Gerencie seus dados e preferências",
|
|
86
|
+
"clearPinnedItems": "Limpar Itens Fixados",
|
|
87
|
+
"clearPinnedItemsConfirm": "Tem certeza que deseja limpar todos os itens fixados?",
|
|
88
|
+
"about": "Sobre",
|
|
89
|
+
"version": "Versão",
|
|
90
|
+
"environment": "Ambiente"
|
|
91
|
+
},
|
|
92
|
+
"registryPage": {
|
|
93
|
+
"title": "Registro de Módulos",
|
|
94
|
+
"description": "Gerencie os módulos registrados na plataforma",
|
|
95
|
+
"mode": "Modo",
|
|
96
|
+
"apiMode": "Modo API",
|
|
97
|
+
"inMemoryMode": "Modo Em Memória",
|
|
98
|
+
"addModule": "Adicionar Módulo",
|
|
99
|
+
"addByUrl": "Por URL",
|
|
100
|
+
"addByManifest": "Por Manifesto",
|
|
101
|
+
"moduleUrl": "URL do Módulo",
|
|
102
|
+
"moduleUrlPlaceholder": "https://exemplo.com/modulo",
|
|
103
|
+
"manifestJson": "JSON do Manifesto",
|
|
104
|
+
"manifestPlaceholder": "Cole o JSON do manifesto aqui...",
|
|
105
|
+
"register": "Registrar",
|
|
106
|
+
"registeredModules": "Módulos Registrados",
|
|
107
|
+
"noModules": "Nenhum módulo registrado",
|
|
108
|
+
"moduleId": "ID",
|
|
109
|
+
"moduleTitle": "Título",
|
|
110
|
+
"moduleCategory": "Categoria",
|
|
111
|
+
"moduleRoute": "Rota",
|
|
112
|
+
"moduleBaseUrl": "URL Base",
|
|
113
|
+
"deleteModule": "Excluir Módulo",
|
|
114
|
+
"deleteModuleConfirm": "Tem certeza que deseja excluir este módulo?"
|
|
115
|
+
},
|
|
116
|
+
"moduleOverview": {
|
|
117
|
+
"title": "Visão Geral do Módulo",
|
|
118
|
+
"description": "Descrição",
|
|
119
|
+
"actions": "Ações",
|
|
120
|
+
"actionsDescription": "Comandos disponíveis para este módulo",
|
|
121
|
+
"information": "Informações do Módulo",
|
|
122
|
+
"availableActions": "Ações Disponíveis",
|
|
123
|
+
"noActions": "Nenhuma ação disponível",
|
|
124
|
+
"metadata": "Metadados",
|
|
125
|
+
"category": "Categoria",
|
|
126
|
+
"status": "Status",
|
|
127
|
+
"owner": "Proprietário",
|
|
128
|
+
"support": "Suporte",
|
|
129
|
+
"supportChannel": "Canal de Suporte"
|
|
130
|
+
},
|
|
131
|
+
"errors": {
|
|
132
|
+
"generic": "Algo deu errado",
|
|
133
|
+
"notFound": "Página não encontrada",
|
|
134
|
+
"accessDenied": "Acesso Negado",
|
|
135
|
+
"accessDeniedDescription": "Você não tem permissão para acessar esta página.",
|
|
136
|
+
"moduleNotFound": "Módulo Não Encontrado",
|
|
137
|
+
"moduleNotFoundDescription": "O módulo \"{{moduleId}}\" não foi encontrado.",
|
|
138
|
+
"moduleLoadFailed": "Falha ao carregar módulo",
|
|
139
|
+
"networkError": "Erro de conexão"
|
|
140
|
+
},
|
|
141
|
+
"breadcrumbs": {
|
|
142
|
+
"home": "Início"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
{
|
|
2
|
+
"common": {
|
|
3
|
+
"loading": "Se încarcă...",
|
|
4
|
+
"error": "Eroare",
|
|
5
|
+
"success": "Succes",
|
|
6
|
+
"save": "Salvează",
|
|
7
|
+
"cancel": "Anulează",
|
|
8
|
+
"delete": "Șterge",
|
|
9
|
+
"confirm": "Confirmă",
|
|
10
|
+
"edit": "Editează",
|
|
11
|
+
"create": "Creează",
|
|
12
|
+
"search": "Caută",
|
|
13
|
+
"noResults": "Nu s-au găsit rezultate",
|
|
14
|
+
"close": "Închide",
|
|
15
|
+
"back": "Înapoi",
|
|
16
|
+
"next": "Următorul",
|
|
17
|
+
"previous": "Anteriorul",
|
|
18
|
+
"yes": "Da",
|
|
19
|
+
"no": "Nu",
|
|
20
|
+
"actions": "Acțiuni",
|
|
21
|
+
"status": "Stare",
|
|
22
|
+
"enabled": "Activat",
|
|
23
|
+
"disabled": "Dezactivat",
|
|
24
|
+
"readOnly": "Doar Citire"
|
|
25
|
+
},
|
|
26
|
+
"topBar": {
|
|
27
|
+
"search": "Caută...",
|
|
28
|
+
"searchPlaceholder": "Caută module și comenzi...",
|
|
29
|
+
"theme": "Temă",
|
|
30
|
+
"themeLight": "Deschis",
|
|
31
|
+
"themeDark": "Întunecat",
|
|
32
|
+
"themeSystem": "Sistem",
|
|
33
|
+
"language": "Limbă"
|
|
34
|
+
},
|
|
35
|
+
"nav": {
|
|
36
|
+
"home": "Acasă",
|
|
37
|
+
"settings": "Setări",
|
|
38
|
+
"profile": "Profil",
|
|
39
|
+
"registry": "Registru",
|
|
40
|
+
"logout": "Deconectare",
|
|
41
|
+
"pinned": "Fixate",
|
|
42
|
+
"platform": "Platformă",
|
|
43
|
+
"modules": "Module",
|
|
44
|
+
"overview": "Prezentare Generală",
|
|
45
|
+
"collapsed": "Restrâns",
|
|
46
|
+
"expanded": "Extins"
|
|
47
|
+
},
|
|
48
|
+
"commandPalette": {
|
|
49
|
+
"title": "Paletă de Comenzi",
|
|
50
|
+
"placeholder": "Tastează o comandă sau caută...",
|
|
51
|
+
"noResults": "Nu s-au găsit rezultate",
|
|
52
|
+
"modules": "Module",
|
|
53
|
+
"commands": "Comenzi",
|
|
54
|
+
"recentSearches": "Căutări Recente",
|
|
55
|
+
"hint": "Apasă ⌘K pentru a deschide"
|
|
56
|
+
},
|
|
57
|
+
"homePage": {
|
|
58
|
+
"welcome": "Bine ai venit în Panoul de Administrare",
|
|
59
|
+
"description": "Selectează un modul din meniul lateral pentru a începe.",
|
|
60
|
+
"quickActions": "Acțiuni Rapide",
|
|
61
|
+
"recentModules": "Module Recente"
|
|
62
|
+
},
|
|
63
|
+
"profilePage": {
|
|
64
|
+
"title": "Profilul Meu",
|
|
65
|
+
"userInfo": "Informații Utilizator",
|
|
66
|
+
"name": "Nume",
|
|
67
|
+
"email": "Email",
|
|
68
|
+
"roles": "Roluri",
|
|
69
|
+
"pinnedPages": "Pagini Fixate",
|
|
70
|
+
"noPinnedPages": "Nu există pagini fixate",
|
|
71
|
+
"auditInfo": "Informații Audit",
|
|
72
|
+
"userId": "ID Utilizator"
|
|
73
|
+
},
|
|
74
|
+
"settingsPage": {
|
|
75
|
+
"title": "Setări",
|
|
76
|
+
"appearance": "Aspect",
|
|
77
|
+
"appearanceDescription": "Personalizează aspectul panoului",
|
|
78
|
+
"theme": "Temă",
|
|
79
|
+
"navigation": "Navigare",
|
|
80
|
+
"navigationDescription": "Configurează opțiunile de navigare",
|
|
81
|
+
"showPinnedItems": "Afișează Elementele Fixate",
|
|
82
|
+
"showPinnedItemsDescription": "Afișează comenzile rapide fixate în bara laterală",
|
|
83
|
+
"pinnedItemsNote": "Când bara laterală este restrânsă, comenzile fixate sunt afișate întotdeauna ca pictograme pentru acces rapid.",
|
|
84
|
+
"dataManagement": "Gestionare Date",
|
|
85
|
+
"dataManagementDescription": "Administrează datele și preferințele tale",
|
|
86
|
+
"clearPinnedItems": "Șterge Elementele Fixate",
|
|
87
|
+
"clearPinnedItemsConfirm": "Ești sigur că vrei să ștergi toate elementele fixate?",
|
|
88
|
+
"about": "Despre",
|
|
89
|
+
"version": "Versiune",
|
|
90
|
+
"environment": "Mediu"
|
|
91
|
+
},
|
|
92
|
+
"registryPage": {
|
|
93
|
+
"title": "Registru Module",
|
|
94
|
+
"description": "Administrează modulele înregistrate în platformă",
|
|
95
|
+
"mode": "Mod",
|
|
96
|
+
"apiMode": "Mod API",
|
|
97
|
+
"inMemoryMode": "Mod În Memorie",
|
|
98
|
+
"addModule": "Adaugă Modul",
|
|
99
|
+
"addByUrl": "După URL",
|
|
100
|
+
"addByManifest": "După Manifest",
|
|
101
|
+
"moduleUrl": "URL Modul",
|
|
102
|
+
"moduleUrlPlaceholder": "https://exemplu.com/modul",
|
|
103
|
+
"manifestJson": "JSON Manifest",
|
|
104
|
+
"manifestPlaceholder": "Lipește JSON-ul manifestului aici...",
|
|
105
|
+
"register": "Înregistrează",
|
|
106
|
+
"registeredModules": "Module Înregistrate",
|
|
107
|
+
"noModules": "Nu există module înregistrate",
|
|
108
|
+
"moduleId": "ID",
|
|
109
|
+
"moduleTitle": "Titlu",
|
|
110
|
+
"moduleCategory": "Categorie",
|
|
111
|
+
"moduleRoute": "Rută",
|
|
112
|
+
"moduleBaseUrl": "URL Bază",
|
|
113
|
+
"deleteModule": "Șterge Modul",
|
|
114
|
+
"deleteModuleConfirm": "Ești sigur că vrei să ștergi acest modul?"
|
|
115
|
+
},
|
|
116
|
+
"moduleOverview": {
|
|
117
|
+
"title": "Prezentare Generală Modul",
|
|
118
|
+
"description": "Descriere",
|
|
119
|
+
"actions": "Acțiuni",
|
|
120
|
+
"actionsDescription": "Comenzi disponibile pentru acest modul",
|
|
121
|
+
"information": "Informații Modul",
|
|
122
|
+
"availableActions": "Acțiuni Disponibile",
|
|
123
|
+
"noActions": "Nu există acțiuni disponibile",
|
|
124
|
+
"metadata": "Metadate",
|
|
125
|
+
"category": "Categorie",
|
|
126
|
+
"status": "Stare",
|
|
127
|
+
"owner": "Proprietar",
|
|
128
|
+
"support": "Suport",
|
|
129
|
+
"supportChannel": "Canal Suport"
|
|
130
|
+
},
|
|
131
|
+
"errors": {
|
|
132
|
+
"generic": "Ceva nu a funcționat",
|
|
133
|
+
"notFound": "Pagina nu a fost găsită",
|
|
134
|
+
"accessDenied": "Acces Interzis",
|
|
135
|
+
"accessDeniedDescription": "Nu ai permisiunea de a accesa această pagină.",
|
|
136
|
+
"moduleNotFound": "Modul Negăsit",
|
|
137
|
+
"moduleNotFoundDescription": "Modulul \"{{moduleId}}\" nu a fost găsit.",
|
|
138
|
+
"moduleLoadFailed": "Eroare la încărcarea modulului",
|
|
139
|
+
"networkError": "Eroare de rețea"
|
|
140
|
+
},
|
|
141
|
+
"breadcrumbs": {
|
|
142
|
+
"home": "Acasă"
|
|
143
|
+
}
|
|
144
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @nsxbet/admin-sdk
|
|
3
|
+
*
|
|
4
|
+
* SDK for building NSX Admin modules
|
|
5
|
+
* Provides authentication, navigation, and platform integration
|
|
6
|
+
*/
|
|
7
|
+
export { AuthProvider, useAuthContext, useOptionalAuthContext } from './components/AuthProvider';
|
|
8
|
+
export { useAuth } from './hooks/useAuth';
|
|
9
|
+
export { usePlatformAPI } from './hooks/usePlatformAPI';
|
|
10
|
+
export { useFetch } from './hooks/useFetch';
|
|
11
|
+
export { useTelemetry } from './hooks/useTelemetry';
|
|
12
|
+
export { useI18n } from './hooks/useI18n';
|
|
13
|
+
export { createInMemoryAuthClient, clearInMemoryAuth, createKeycloakAuthClient, UserSelector, } from './auth';
|
|
14
|
+
export type { AuthClient, InMemoryAuthClient, MockUser, AuthState, AuthStateCallback, InMemoryAuthClientOptions, KeycloakAuthClientOptions, } from './auth';
|
|
15
|
+
export type { PlatformAPI, Breadcrumb, User } from './types/platform';
|
|
16
|
+
export type { KeycloakConfig } from './types/keycloak';
|
|
17
|
+
export type { UseAuthResult } from './hooks/useAuth';
|
|
18
|
+
export type { UseTelemetryResult } from './hooks/useTelemetry';
|
|
19
|
+
export type { UseI18nResult } from './hooks/useI18n';
|
|
20
|
+
export { initI18n, saveLocale, isSupportedLocale, i18n, SUPPORTED_LOCALES, LOCALE_FLAGS, LOCALE_NAMES, } from './i18n';
|
|
21
|
+
export type { SupportedLocale } from './i18n';
|
|
22
|
+
export { createInMemoryRegistryClient, clearInMemoryRegistry, createHttpRegistryClient, validateManifest, parseManifest, AdminShellRegistry, useRegistry, useRegistryClient, } from './registry';
|
|
23
|
+
export type { RegistryClient, ModuleOperations, CatalogOperations, InMemoryRegistryOptions, PreConfiguredModule, HttpRegistryOptions, AdminModuleManifest, ModuleCommand as RegistryModuleCommand, ModulePermissions, ModuleOwners, ModuleStatus as RegistryModuleStatus, RegisteredModule, UpdateModuleDto, ReorderModuleDto, ModuleFilters, Catalog as RegistryCatalog, CatalogModule, ImportMap as RegistryImportMap, RegistryContextValue, AdminShellRegistryProps, } from './registry';
|
|
24
|
+
export { AdminShell, TopBar, LeftNav, MainContent, CommandPalette, ThemeProvider, useTheme, initTelemetry, track, trackError, fuzzySearch, } from './shell';
|
|
25
|
+
export { DynamicModule, ModuleLoading, ModuleErrorBoundary, } from './router';
|
|
26
|
+
export type { AdminShellProps, TopBarProps, CommandPaletteProps, Module, ModuleCommand, ModuleStatus, Catalog, ImportMap, SearchableItem, SearchResult, SearchOptions, } from './shell';
|
|
27
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAGjG,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAG1C,OAAO,EACL,wBAAwB,EACxB,iBAAiB,EACjB,wBAAwB,EACxB,YAAY,GACb,MAAM,QAAQ,CAAC;AAEhB,YAAY,EACV,UAAU,EACV,kBAAkB,EAClB,QAAQ,EACR,SAAS,EACT,iBAAiB,EACjB,yBAAyB,EACzB,yBAAyB,GAC1B,MAAM,QAAQ,CAAC;AAGhB,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACtE,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGrD,OAAO,EACL,QAAQ,EACR,UAAU,EACV,iBAAiB,EACjB,IAAI,EACJ,iBAAiB,EACjB,YAAY,EACZ,YAAY,GACb,MAAM,QAAQ,CAAC;AAEhB,YAAY,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAG9C,OAAO,EAEL,4BAA4B,EAC5B,qBAAqB,EACrB,wBAAwB,EAExB,gBAAgB,EAChB,aAAa,EAEb,kBAAkB,EAClB,WAAW,EACX,iBAAiB,GAClB,MAAM,YAAY,CAAC;AAEpB,YAAY,EAEV,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,uBAAuB,EACvB,mBAAmB,EACnB,mBAAmB,EAEnB,mBAAmB,EACnB,aAAa,IAAI,qBAAqB,EACtC,iBAAiB,EACjB,YAAY,EACZ,YAAY,IAAI,oBAAoB,EAEpC,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,OAAO,IAAI,eAAe,EAC1B,aAAa,EACb,SAAS,IAAI,iBAAiB,EAE9B,oBAAoB,EACpB,uBAAuB,GACxB,MAAM,YAAY,CAAC;AAGpB,OAAO,EACL,UAAU,EACV,MAAM,EACN,OAAO,EACP,WAAW,EACX,cAAc,EACd,aAAa,EACb,QAAQ,EACR,aAAa,EACb,KAAK,EACL,UAAU,EACV,WAAW,GACZ,MAAM,SAAS,CAAC;AAGjB,OAAO,EACL,aAAa,EACb,aAAa,EACb,mBAAmB,GACpB,MAAM,UAAU,CAAC;AAElB,YAAY,EACV,eAAe,EACf,WAAW,EACX,mBAAmB,EACnB,MAAM,EACN,aAAa,EACb,YAAY,EACZ,OAAO,EACP,SAAS,EACT,cAAc,EACd,YAAY,EACZ,aAAa,GACd,MAAM,SAAS,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @nsxbet/admin-sdk
|
|
3
|
+
*
|
|
4
|
+
* SDK for building NSX Admin modules
|
|
5
|
+
* Provides authentication, navigation, and platform integration
|
|
6
|
+
*/
|
|
7
|
+
// Components
|
|
8
|
+
export { AuthProvider, useAuthContext, useOptionalAuthContext } from './components/AuthProvider';
|
|
9
|
+
// Hooks
|
|
10
|
+
export { useAuth } from './hooks/useAuth';
|
|
11
|
+
export { usePlatformAPI } from './hooks/usePlatformAPI';
|
|
12
|
+
export { useFetch } from './hooks/useFetch';
|
|
13
|
+
export { useTelemetry } from './hooks/useTelemetry';
|
|
14
|
+
export { useI18n } from './hooks/useI18n';
|
|
15
|
+
// Auth Client
|
|
16
|
+
export { createInMemoryAuthClient, clearInMemoryAuth, createKeycloakAuthClient, UserSelector, } from './auth';
|
|
17
|
+
// i18n
|
|
18
|
+
export { initI18n, saveLocale, isSupportedLocale, i18n, SUPPORTED_LOCALES, LOCALE_FLAGS, LOCALE_NAMES, } from './i18n';
|
|
19
|
+
// Registry
|
|
20
|
+
export {
|
|
21
|
+
// Client factory
|
|
22
|
+
createInMemoryRegistryClient, clearInMemoryRegistry, createHttpRegistryClient,
|
|
23
|
+
// Validation
|
|
24
|
+
validateManifest, parseManifest,
|
|
25
|
+
// React Context
|
|
26
|
+
AdminShellRegistry, useRegistry, useRegistryClient, } from './registry';
|
|
27
|
+
// Shell
|
|
28
|
+
export { AdminShell, TopBar, LeftNav, MainContent, CommandPalette, ThemeProvider, useTheme, initTelemetry, track, trackError, fuzzySearch, } from './shell';
|
|
29
|
+
// Router (for dynamic module loading)
|
|
30
|
+
export { DynamicModule, ModuleLoading, ModuleErrorBoundary, } from './router';
|