@sovereignsquad/gds-core 3.9.0 → 6.8.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/dist/GdsBadge-DqTdnomt.d.mts +417 -0
- package/dist/GdsBadge-DqTdnomt.d.ts +417 -0
- package/dist/PartnerDiscovery-As_-JKtb.d.ts +732 -0
- package/dist/PartnerDiscovery-Bwxixtka.d.mts +732 -0
- package/dist/QuickStartCard-CB7r-85z.d.ts +17500 -0
- package/dist/QuickStartCard-xIP1gbCL.d.mts +17500 -0
- package/dist/chunk-2AX4NCID.mjs +9 -0
- package/dist/chunk-2IUOZG4C.mjs +9 -0
- package/dist/chunk-2XZMNT7I.mjs +338 -0
- package/dist/chunk-3D7BVS7D.mjs +9 -0
- package/dist/chunk-4LG6EED4.mjs +338 -0
- package/dist/chunk-6LULEPIE.mjs +9 -0
- package/dist/chunk-6PBDLFSF.mjs +338 -0
- package/dist/{chunk-TQ7ZYMEA.mjs → chunk-BH2SMTND.mjs} +2258 -4014
- package/dist/chunk-BHR4A3C6.mjs +338 -0
- package/dist/chunk-CNTTKK3H.mjs +338 -0
- package/dist/chunk-GGDCO5HR.mjs +338 -0
- package/dist/chunk-GKNSUUUE.mjs +338 -0
- package/dist/chunk-GMK5GXWR.mjs +338 -0
- package/dist/chunk-H2QNW4D5.mjs +1768 -0
- package/dist/chunk-IHPZ7BNV.mjs +338 -0
- package/dist/chunk-J66ITCXC.mjs +473 -0
- package/dist/chunk-J6MXKFIM.mjs +9 -0
- package/dist/chunk-JTMPFTCK.mjs +338 -0
- package/dist/{chunk-BUC7QXRO.mjs → chunk-KFEPREUF.mjs} +13 -5
- package/dist/chunk-LNVLXOLI.mjs +9 -0
- package/dist/chunk-MAIU557K.mjs +9 -0
- package/dist/chunk-MPZFCWWS.mjs +210 -0
- package/dist/chunk-NWS7KJ2G.mjs +245 -0
- package/dist/chunk-OC3M4CZY.mjs +9 -0
- package/dist/chunk-QO653DAE.mjs +338 -0
- package/dist/chunk-RCLWUNMR.mjs +9 -0
- package/dist/chunk-SHQDVHGR.mjs +338 -0
- package/dist/{chunk-5AJJNRZF.mjs → chunk-TJ3WMH25.mjs} +1916 -2026
- package/dist/chunk-VU2JLVD3.mjs +89 -0
- package/dist/chunk-W5O2JSVK.mjs +20 -0
- package/dist/chunk-WNOWHB26.mjs +9 -0
- package/dist/chunk-XLPTCIXT.mjs +9 -0
- package/dist/chunk-ZCQXBKDM.mjs +24 -0
- package/dist/chunk-ZFGYQSNR.mjs +33 -0
- package/dist/client.d.mts +1296 -37
- package/dist/client.d.ts +1296 -37
- package/dist/client.js +11039 -6379
- package/dist/client.mjs +273 -58
- package/dist/en-Dd7uvXnv.d.mts +336 -0
- package/dist/en-Dd7uvXnv.d.ts +336 -0
- package/dist/index.d.mts +632 -5
- package/dist/index.d.ts +632 -5
- package/dist/index.js +21618 -14851
- package/dist/index.mjs +2138 -59
- package/dist/locales/lazy/all.d.mts +2 -0
- package/dist/locales/lazy/all.d.ts +2 -0
- package/dist/locales/lazy/all.js +1 -0
- package/dist/locales/lazy/all.mjs +24 -0
- package/dist/locales/lazy/ar.d.mts +2 -0
- package/dist/locales/lazy/ar.d.ts +2 -0
- package/dist/locales/lazy/ar.js +683 -0
- package/dist/locales/lazy/ar.mjs +4 -0
- package/dist/locales/lazy/de.d.mts +2 -0
- package/dist/locales/lazy/de.d.ts +2 -0
- package/dist/locales/lazy/de.js +683 -0
- package/dist/locales/lazy/de.mjs +4 -0
- package/dist/locales/lazy/es.d.mts +2 -0
- package/dist/locales/lazy/es.d.ts +2 -0
- package/dist/locales/lazy/es.js +683 -0
- package/dist/locales/lazy/es.mjs +4 -0
- package/dist/locales/lazy/fr.d.mts +2 -0
- package/dist/locales/lazy/fr.d.ts +2 -0
- package/dist/locales/lazy/fr.js +683 -0
- package/dist/locales/lazy/fr.mjs +4 -0
- package/dist/locales/lazy/he.d.mts +2 -0
- package/dist/locales/lazy/he.d.ts +2 -0
- package/dist/locales/lazy/he.js +683 -0
- package/dist/locales/lazy/he.mjs +4 -0
- package/dist/locales/lazy/hu.d.mts +2 -0
- package/dist/locales/lazy/hu.d.ts +2 -0
- package/dist/locales/lazy/hu.js +683 -0
- package/dist/locales/lazy/hu.mjs +4 -0
- package/dist/locales/lazy/index.d.mts +25 -0
- package/dist/locales/lazy/index.d.ts +25 -0
- package/dist/locales/lazy/index.js +384 -0
- package/dist/locales/lazy/index.mjs +9 -0
- package/dist/locales/lazy/it.d.mts +2 -0
- package/dist/locales/lazy/it.d.ts +2 -0
- package/dist/locales/lazy/it.js +683 -0
- package/dist/locales/lazy/it.mjs +4 -0
- package/dist/locales/lazy/ja.d.mts +2 -0
- package/dist/locales/lazy/ja.d.ts +2 -0
- package/dist/locales/lazy/ja.js +683 -0
- package/dist/locales/lazy/ja.mjs +4 -0
- package/dist/locales/lazy/ko.d.mts +2 -0
- package/dist/locales/lazy/ko.d.ts +2 -0
- package/dist/locales/lazy/ko.js +683 -0
- package/dist/locales/lazy/ko.mjs +4 -0
- package/dist/locales/lazy/ru.d.mts +2 -0
- package/dist/locales/lazy/ru.d.ts +2 -0
- package/dist/locales/lazy/ru.js +683 -0
- package/dist/locales/lazy/ru.mjs +4 -0
- package/dist/locales/lazy/zh.d.mts +2 -0
- package/dist/locales/lazy/zh.d.ts +2 -0
- package/dist/locales/lazy/zh.js +683 -0
- package/dist/locales/lazy/zh.mjs +4 -0
- package/dist/map.css +664 -0
- package/dist/map.d.mts +118 -0
- package/dist/map.d.ts +118 -0
- package/dist/map.js +777 -0
- package/dist/map.mjs +395 -0
- package/dist/reference-theme-explorer.d.mts +34 -0
- package/dist/reference-theme-explorer.d.ts +34 -0
- package/dist/reference-theme-explorer.js +8322 -0
- package/dist/reference-theme-explorer.mjs +1988 -0
- package/dist/rich-text-editor.d.mts +32 -0
- package/dist/rich-text-editor.d.ts +32 -0
- package/dist/rich-text-editor.js +469 -0
- package/dist/rich-text-editor.mjs +115 -0
- package/dist/server.d.mts +112 -248
- package/dist/server.d.ts +112 -248
- package/dist/server.js +6797 -1679
- package/dist/server.mjs +588 -55
- package/package.json +104 -9
- package/dist/AISearchCard-Bbnsd-yl.d.mts +0 -7786
- package/dist/AISearchCard-Bbnsd-yl.d.ts +0 -7786
|
@@ -0,0 +1,338 @@
|
|
|
1
|
+
// src/locales/es.ts
|
|
2
|
+
var es = {
|
|
3
|
+
"gds.tour.next": "Siguiente",
|
|
4
|
+
"gds.tour.back": "Atr\xE1s",
|
|
5
|
+
"gds.tour.skip": "Omitir",
|
|
6
|
+
"gds.tour.done": "Listo",
|
|
7
|
+
"gds.tour.launch": "Ver el recorrido guiado",
|
|
8
|
+
"gds.tour.stepOfTotal": "Paso {n} de {m}",
|
|
9
|
+
"gds.action.settings": "Configuraci\xF3n",
|
|
10
|
+
"gds.action.analytics": "Anal\xEDtica",
|
|
11
|
+
"gds.action.dashboard": "Panel",
|
|
12
|
+
"gds.action.play": "Reproducir",
|
|
13
|
+
"gds.action.start": "Iniciar",
|
|
14
|
+
"gds.action.users": "Usuarios",
|
|
15
|
+
"gds.action.add": "A\xF1adir",
|
|
16
|
+
"gds.action.edit": "Editar",
|
|
17
|
+
"gds.action.delete": "Eliminar",
|
|
18
|
+
"gds.action.save": "Guardar",
|
|
19
|
+
"gds.action.cancel": "Cancelar",
|
|
20
|
+
"gds.action.confirm": "Confirmar",
|
|
21
|
+
"gds.action.close": "Cerrar",
|
|
22
|
+
"gds.action.language": "Idioma",
|
|
23
|
+
"gds.action.theme": "Tema",
|
|
24
|
+
"gds.action.home": "Inicio",
|
|
25
|
+
"gds.action.inbox": "Bandeja de entrada",
|
|
26
|
+
"gds.action.calendar": "Calendario",
|
|
27
|
+
"gds.action.gallery": "Galer\xEDa",
|
|
28
|
+
"gds.action.history": "Historial",
|
|
29
|
+
"gds.action.profile": "Perfil",
|
|
30
|
+
"gds.action.send": "Enviar",
|
|
31
|
+
"gds.action.reply": "Responder",
|
|
32
|
+
"gds.action.forward": "Reenviar",
|
|
33
|
+
"gds.action.attach": "Adjuntar",
|
|
34
|
+
"gds.action.upload": "Subir",
|
|
35
|
+
"gds.action.download": "Descargar",
|
|
36
|
+
"gds.action.print": "Imprimir",
|
|
37
|
+
"gds.action.copy": "Copiar",
|
|
38
|
+
"gds.action.duplicate": "Duplicar",
|
|
39
|
+
"gds.action.check": "Marcar",
|
|
40
|
+
"gds.action.uncheck": "Desmarcar",
|
|
41
|
+
"gds.action.complete": "Completar",
|
|
42
|
+
"gds.action.clear": "Limpiar",
|
|
43
|
+
"gds.action.capture": "Capturar",
|
|
44
|
+
"gds.action.record": "Grabar",
|
|
45
|
+
"gds.action.flip": "Girar",
|
|
46
|
+
"gds.action.flash": "Flash",
|
|
47
|
+
"gds.action.course": "Curso",
|
|
48
|
+
"gds.action.lesson": "Lecci\xF3n",
|
|
49
|
+
"gds.action.certificate": "Certificado",
|
|
50
|
+
"gds.action.student": "Estudiante",
|
|
51
|
+
"gds.action.class": "Clase",
|
|
52
|
+
"gds.action.grade": "Calificaci\xF3n",
|
|
53
|
+
"gds.action.child": "Ni\xF1o",
|
|
54
|
+
"gds.action.family": "Familia",
|
|
55
|
+
"gds.action.habit": "H\xE1bito",
|
|
56
|
+
"gds.action.goal": "Objetivo",
|
|
57
|
+
"gds.action.streak": "Racha",
|
|
58
|
+
"gds.action.reward": "Recompensa",
|
|
59
|
+
"gds.action.trophy": "Trofeo",
|
|
60
|
+
"gds.action.crown": "Corona",
|
|
61
|
+
"gds.action.pause": "Pausa",
|
|
62
|
+
"gds.action.message": "Mensaje",
|
|
63
|
+
"gds.action.mail": "Correo",
|
|
64
|
+
"gds.action.refresh": "Actualizar",
|
|
65
|
+
"gds.action.trendingUp": "Tendencia al alza",
|
|
66
|
+
"gds.action.trendingDown": "Tendencia a la baja",
|
|
67
|
+
"gds.action.currency": "Moneda",
|
|
68
|
+
"gds.action.grid": "Cuadr\xEDcula",
|
|
69
|
+
"gds.action.list": "Lista",
|
|
70
|
+
"gds.action.logout": "Cerrar sesi\xF3n",
|
|
71
|
+
"gds.action.notifications": "Notificaciones",
|
|
72
|
+
"gds.action.back": "Volver",
|
|
73
|
+
"gds.action.eye": "Ver",
|
|
74
|
+
"gds.action.eyeOff": "Ocultar",
|
|
75
|
+
"gds.action.help": "Ayuda",
|
|
76
|
+
"gds.action.filter": "Filtrar",
|
|
77
|
+
"gds.action.sort": "Ordenar",
|
|
78
|
+
"gds.action.export": "Exportar",
|
|
79
|
+
"gds.action.import": "Importar",
|
|
80
|
+
"gds.action.preview": "Vista previa",
|
|
81
|
+
"gds.action.clone": "Clonar",
|
|
82
|
+
"gds.action.restore": "Restaurar",
|
|
83
|
+
"gds.action.toggle": "Alternar",
|
|
84
|
+
"gds.action.search": "Buscar",
|
|
85
|
+
"gds.action.submit": "Enviar",
|
|
86
|
+
"gds.action.reset": "Restablecer",
|
|
87
|
+
"gds.action.login": "Iniciar sesi\xF3n",
|
|
88
|
+
"gds.action.register": "Registrarse",
|
|
89
|
+
"gds.action.verify": "Verificar",
|
|
90
|
+
"gds.action.launch": "Lanzar",
|
|
91
|
+
"gds.action.draft": "Borrador",
|
|
92
|
+
"gds.action.refer": "Referir",
|
|
93
|
+
"gds.action.evidence": "Evidencia",
|
|
94
|
+
"gds.feedback.saved": "Guardado",
|
|
95
|
+
"gds.feedback.error": "Algo sali\xF3 mal",
|
|
96
|
+
"gds.feedback.added": "A\xF1adido",
|
|
97
|
+
"gds.feedback.edited": "Editado",
|
|
98
|
+
"gds.feedback.deleted": "Eliminado",
|
|
99
|
+
"gds.feedback.canceled": "Cancelado",
|
|
100
|
+
"gds.feedback.confirmed": "Confirmado",
|
|
101
|
+
"gds.feedback.closed": "Cerrado",
|
|
102
|
+
"gds.feedback.changed": "Cambiado",
|
|
103
|
+
"gds.feedback.loaded": "Cargado",
|
|
104
|
+
"gds.feedback.started": "Iniciado",
|
|
105
|
+
"gds.feedback.opened": "Abierto",
|
|
106
|
+
"gds.feedback.sent": "Enviado",
|
|
107
|
+
"gds.feedback.replied": "Respondido",
|
|
108
|
+
"gds.feedback.forwarded": "Reenviado",
|
|
109
|
+
"gds.feedback.attached": "Adjuntado",
|
|
110
|
+
"gds.feedback.uploaded": "Subido",
|
|
111
|
+
"gds.feedback.downloaded": "Descargado",
|
|
112
|
+
"gds.feedback.printed": "Impreso",
|
|
113
|
+
"gds.feedback.copied": "Copiado",
|
|
114
|
+
"gds.feedback.duplicated": "Duplicado",
|
|
115
|
+
"gds.feedback.checked": "Marcado",
|
|
116
|
+
"gds.feedback.unchecked": "Desmarcado",
|
|
117
|
+
"gds.feedback.completed": "Completado",
|
|
118
|
+
"gds.feedback.cleared": "Limpiado",
|
|
119
|
+
"gds.feedback.captured": "Capturado",
|
|
120
|
+
"gds.feedback.recorded": "Grabado",
|
|
121
|
+
"gds.feedback.flipped": "Girado",
|
|
122
|
+
"gds.feedback.flashed": "Flash activado",
|
|
123
|
+
"gds.feedback.done": "Hecho",
|
|
124
|
+
"gds.feedback.rewarded": "Recompensado",
|
|
125
|
+
"gds.feedback.paused": "Pausado",
|
|
126
|
+
"gds.feedback.mailed": "Enviado por correo",
|
|
127
|
+
"gds.feedback.refreshed": "Actualizado",
|
|
128
|
+
"gds.feedback.loggedOut": "Sesi\xF3n cerrada",
|
|
129
|
+
"gds.feedback.filtered": "Filtrado",
|
|
130
|
+
"gds.feedback.sorted": "Ordenado",
|
|
131
|
+
"gds.feedback.exported": "Exportado",
|
|
132
|
+
"gds.feedback.imported": "Importado",
|
|
133
|
+
"gds.feedback.previewed": "Previsualizado",
|
|
134
|
+
"gds.feedback.cloned": "Clonado",
|
|
135
|
+
"gds.feedback.restored": "Restaurado",
|
|
136
|
+
"gds.feedback.toggled": "Alternado",
|
|
137
|
+
"gds.feedback.searched": "Buscado",
|
|
138
|
+
"gds.feedback.submitted": "Enviado",
|
|
139
|
+
"gds.feedback.reset": "Restablecido",
|
|
140
|
+
"gds.feedback.loggedIn": "Sesi\xF3n iniciada",
|
|
141
|
+
"gds.feedback.registered": "Registrado",
|
|
142
|
+
"gds.feedback.verified": "Verificado",
|
|
143
|
+
"gds.feedback.launched": "Lanzado",
|
|
144
|
+
"gds.feedback.drafted": "Guardado como borrador",
|
|
145
|
+
"gds.feedback.referred": "Referido",
|
|
146
|
+
"gds.aria.themeToggle": "Alternar esquema de color",
|
|
147
|
+
"gds.navigation.primary": "Principal",
|
|
148
|
+
"gds.navigation.more": "M\xE1s",
|
|
149
|
+
"gds.reference.openSection": "Abrir secci\xF3n",
|
|
150
|
+
"gds.state.emptyData": "No hay datos disponibles.",
|
|
151
|
+
"gds.state.missingData.title": "Datos faltantes",
|
|
152
|
+
"gds.state.missingData.description": "Agregue los datos requeridos antes de que esta vista pueda mostrar un resultado confiable.",
|
|
153
|
+
"gds.overlay.close": "Cerrar",
|
|
154
|
+
"gds.form.wizard.back": "Atr\xE1s",
|
|
155
|
+
"gds.form.wizard.next": "Guardar y siguiente",
|
|
156
|
+
"gds.form.wizard.finish": "Finalizar",
|
|
157
|
+
"gds.form.wizard.progress": "Progreso",
|
|
158
|
+
"gds.form.wizard.optional": "Paso opcional",
|
|
159
|
+
"gds.form.slider.label": "Control deslizante",
|
|
160
|
+
"gds.form.rating.aria": "Clasificaci\xF3n",
|
|
161
|
+
"gds.chart.table.label": "Etiqueta",
|
|
162
|
+
"gds.chart.table.value": "Valor",
|
|
163
|
+
"gds.chart.table.secondaryValue": "Valor secundario",
|
|
164
|
+
"gds.chart.table.group": "Grupo",
|
|
165
|
+
"gds.kanban.boardLabel": "Tablero kanban",
|
|
166
|
+
"gds.kanban.moveItem": "Mover",
|
|
167
|
+
"gds.kanban.moveTo": "Mover a",
|
|
168
|
+
"gds.kanban.emptyColumn": "Sin elementos",
|
|
169
|
+
"gds.kanban.collapseColumn": "Contraer columna",
|
|
170
|
+
"gds.kanban.expandColumn": "Expandir columna",
|
|
171
|
+
"gds.schemaForm.required": "es obligatorio.",
|
|
172
|
+
"gds.schemaForm.selectionRequired": "requiere al menos una selecci\xF3n.",
|
|
173
|
+
"gds.schemaForm.rowMissingRequired": "tiene una fila con un campo obligatorio vac\xEDo.",
|
|
174
|
+
"gds.schemaForm.minRowsPhrase": "requiere al menos",
|
|
175
|
+
"gds.schemaForm.maxRowsPhrase": "permite como m\xE1ximo",
|
|
176
|
+
"gds.schemaForm.rowOne": "fila",
|
|
177
|
+
"gds.schemaForm.rowMany": "filas",
|
|
178
|
+
"gds.schemaForm.rowAdded": "Fila a\xF1adida",
|
|
179
|
+
"gds.schemaForm.rowRemoved": "Fila eliminada",
|
|
180
|
+
"gds.schemaForm.addRow": "A\xF1adir fila",
|
|
181
|
+
"gds.schemaForm.removeRow": "Eliminar",
|
|
182
|
+
"gds.schemaForm.requiredMarker": "(obligatorio)",
|
|
183
|
+
"gds.kanban.dragHandle": "Arrastrar para reordenar",
|
|
184
|
+
"gds.kanban.dragInstructions": "Para levantar una tarjeta, presione la barra espaciadora. Mientras arrastra, use las teclas de flecha para mover la tarjeta entre columnas y dentro de ellas. Presione espacio nuevamente para soltar la tarjeta, o presione escape para cancelar.",
|
|
185
|
+
"gds.kanban.announcePickedUp": "Se recogi\xF3",
|
|
186
|
+
"gds.kanban.announceOverColumn": "est\xE1 sobre",
|
|
187
|
+
"gds.kanban.announceOverNone": "ya no est\xE1 sobre una columna",
|
|
188
|
+
"gds.kanban.announceDropped": "se movi\xF3 a",
|
|
189
|
+
"gds.kanban.announceDroppedNone": "volvi\xF3 a su posici\xF3n original",
|
|
190
|
+
"gds.kanban.announceCancelled": "Se cancel\xF3 la reorganizaci\xF3n de",
|
|
191
|
+
"gds.aiSearchCard.placeholder": "Pregunta cualquier cosa...",
|
|
192
|
+
"gds.aiSearchCard.betaLabel": "BETA",
|
|
193
|
+
"gds.aiSearchCard.ariaLabel": "b\xFAsqueda por IA",
|
|
194
|
+
"gds.asyncSurface.loadingTitle": "Cargando",
|
|
195
|
+
"gds.asyncSurface.loadingDescription": "Esta superficie todav\xEDa se est\xE1 sincronizando.",
|
|
196
|
+
"gds.asyncSurface.emptyTitle": "Sin resultados",
|
|
197
|
+
"gds.asyncSurface.emptyDescription": "A\xFAn no hay datos disponibles para esta superficie.",
|
|
198
|
+
"gds.asyncSurface.errorTitle": "No se puede cargar",
|
|
199
|
+
"gds.asyncSurface.errorDescription": "Algo sali\xF3 mal al preparar esta superficie.",
|
|
200
|
+
"gds.asyncSurface.refreshingTitle": "Refrescante",
|
|
201
|
+
"gds.asyncSurface.refreshingDescription": "Se est\xE1n obteniendo los \xFAltimos datos.",
|
|
202
|
+
"gds.authShell.dividerLabel": "O continuar con tu cuenta",
|
|
203
|
+
"gds.bottomTabBar.ariaLabel": "Primario",
|
|
204
|
+
"gds.browseSurface.resultLabel": "resultados",
|
|
205
|
+
"gds.browseSurface.scopeLabel": "Alcance",
|
|
206
|
+
"gds.browseSurface.loadingTitle": "Cargando resultados",
|
|
207
|
+
"gds.browseSurface.loadingDescription": "La superficie de exploraci\xF3n a\xFAn se est\xE1 sincronizando.",
|
|
208
|
+
"gds.browseSurface.errorTitle": "No se pueden cargar resultados",
|
|
209
|
+
"gds.browseSurface.emptyTitle": "No hay resultados coincidentes",
|
|
210
|
+
"gds.browseSurface.emptyDescription": "Intente ajustar sus filtros o ampliar el alcance actual.",
|
|
211
|
+
"gds.chatSurface.userLabel": "T\xFA",
|
|
212
|
+
"gds.chatSurface.assistantLabel": "Asistente",
|
|
213
|
+
"gds.chatSurface.retryLabel": "Rever",
|
|
214
|
+
"gds.chatSurface.label": "El asistente est\xE1 escribiendo",
|
|
215
|
+
"gds.chatSurface.placeholder": "Mensaje\u2026",
|
|
216
|
+
"gds.chatSurface.sendLabel": "Enviar",
|
|
217
|
+
"gds.discoveryShell.mobileNavigationLabel": "Alternar navegaci\xF3n",
|
|
218
|
+
"gds.discoveryShell.desktopNavigationLabel": "Alternar barra lateral",
|
|
219
|
+
"gds.navigation.openMobile": "Navegaci\xF3n de documentos abiertos",
|
|
220
|
+
"gds.editorialCard.ctaLabel": "Explorar",
|
|
221
|
+
"gds.featureBand.emptyTitle": "No hay detalles de respaldo disponibles",
|
|
222
|
+
"gds.featureBand.emptyDescription": "Agregue elementos de banda de funciones compartidas cuando esta superficie p\xFAblica necesite confianza, servicio o contexto de ubicaci\xF3n.",
|
|
223
|
+
"gds.featureBand.sectionLabel": "Funciones de soporte",
|
|
224
|
+
"gds.gdsAccessGate.teaserLabel": "Avance",
|
|
225
|
+
"gds.gdsBreadcrumbs.ariaLabel": "Migaja de pan",
|
|
226
|
+
"gds.gdsDataTable.caption": "tabla de datos",
|
|
227
|
+
"gds.gdsDataTable.exportLabel": "Exportar",
|
|
228
|
+
"gds.gdsDataTable.retryLabel": "Rever",
|
|
229
|
+
"gds.gdsForm.title": "Revise los siguientes problemas.",
|
|
230
|
+
"gds.gdsFormControls.backLabel": "Atr\xE1s",
|
|
231
|
+
"gds.gdsFormControls.saveNextLabel": "Guardar y siguiente",
|
|
232
|
+
"gds.gdsFormControls.finishLabel": "Finalizar",
|
|
233
|
+
"gds.gdsFormControls.ariaLabel": "Progreso",
|
|
234
|
+
"gds.gdsPageTemplates.retryLabel": "Rever",
|
|
235
|
+
"gds.gdsResourceManager.emptyLabel": "No hay recursos disponibles",
|
|
236
|
+
"gds.gdsSchemaForm.submitLabel": "Entregar",
|
|
237
|
+
"gds.layoutTemplatePreview.title": "Libro de recetas de plantilla",
|
|
238
|
+
"gds.layoutTemplatePreview.description": "Elija una plantilla, edite JSON y luego apl\xEDquela para obtener una vista previa de los diagn\xF3sticos en vivo y el dise\xF1o renderizado.",
|
|
239
|
+
"gds.listingCard.featuredLabel": "Destacado",
|
|
240
|
+
"gds.listingCard.pickLabel": "Selecci\xF3n",
|
|
241
|
+
"gds.listingCard.ratingLabel": "Clasificaci\xF3n",
|
|
242
|
+
"gds.listingCard.reasonLabel": "\xBFPor qu\xE9 esto encaja?",
|
|
243
|
+
"gds.listingPrimitives.emptyLabel": "Sin filtros activos.",
|
|
244
|
+
"gds.listingPrimitives.label": "Clasificar",
|
|
245
|
+
"gds.notifications.title": "Notificaciones",
|
|
246
|
+
"gds.notifications.emptyMessage": "No hay notificaciones activas.",
|
|
247
|
+
"gds.numberStepper.decrementLabel": "Disminuir",
|
|
248
|
+
"gds.numberStepper.incrementLabel": "Aumentar",
|
|
249
|
+
"gds.partnerDiscovery.detailLabel": "Ver detalles",
|
|
250
|
+
"gds.partnerDiscovery.zoomInLabel": "Dar un golpe de zoom",
|
|
251
|
+
"gds.partnerDiscovery.zoomOutLabel": "alejar",
|
|
252
|
+
"gds.searchableSelect.noResultsLabel": "No se encontraron resultados",
|
|
253
|
+
"gds.searchableSelect.errorLabel": "No se pudieron cargar las opciones",
|
|
254
|
+
"gds.searchableSelect.retryLabel": "Rever",
|
|
255
|
+
"gds.shareButtonGroup.label": "Comparte esto",
|
|
256
|
+
"gds.sidebarNav.ariaLabel": "Navegaci\xF3n primaria",
|
|
257
|
+
"gds.simpleDataTable.emptyTitle": "No hay datos disponibles",
|
|
258
|
+
"gds.simpleDataTable.emptyDescription": "A\xFAn no hay datos en vivo para mostrar.",
|
|
259
|
+
"gds.socialAuthButtons.title": "Continuar con un proveedor de confianza",
|
|
260
|
+
"gds.stateBlock.title": "datos faltantes",
|
|
261
|
+
"gds.stateBlock.description": "Agregue los datos requeridos antes de que esta vista pueda mostrar un resultado confiable.",
|
|
262
|
+
"gds.uploadDropzone.actionLabel": "Elige archivos",
|
|
263
|
+
"gds.gdsMapFilterRail.allLabel": "Todo",
|
|
264
|
+
"gds.gdsMap.offlineTitle": "Las im\xE1genes del mapa est\xE1n desactivadas",
|
|
265
|
+
"gds.gdsMap.offlineDescription": "Este entorno no carga mosaicos de mapas. Cada lugar todav\xEDa aparece como un marcador y en la lista.",
|
|
266
|
+
"gds.gdsMap.tilesFailedTitle": "No se pudieron cargar las im\xE1genes del mapa",
|
|
267
|
+
"gds.gdsMap.tilesFailedOffline": "Parece que est\xE1s desconectado. Cada lugar todav\xEDa aparece como un marcador y en la lista.",
|
|
268
|
+
"gds.gdsMap.tilesFailedIndeterminate": "No se pudo acceder al host del mosaico: el navegador no puede determinar si la causa es la red, una pol\xEDtica de seguridad de contenido o el host mismo. Cada lugar todav\xEDa aparece como un marcador y en la lista.",
|
|
269
|
+
"gds.gdsMap.tilesRetryLabel": "Intente cargar im\xE1genes nuevamente",
|
|
270
|
+
"gds.ratingDisplay.labelWithCount": "{value} de {max} estrellas, {count} calificaciones",
|
|
271
|
+
"gds.ratingDisplay.label": "{valor} de {max} estrellas",
|
|
272
|
+
"gds.heroSearchPanel.ariaLabel": "B\xFAsqueda",
|
|
273
|
+
"gds.pictogram.soccer": "F\xFAtbol",
|
|
274
|
+
"gds.pictogram.baseball": "B\xE9isbol",
|
|
275
|
+
"gds.pictogram.basketball": "Baloncesto",
|
|
276
|
+
"gds.pictogram.swimming": "Nataci\xF3n",
|
|
277
|
+
"gds.pictogram.tennis": "Tenis",
|
|
278
|
+
"gds.pictogram.flagFootball": "F\xFAtbol bandera",
|
|
279
|
+
"gds.pictogram.martialArts": "Artes marciales",
|
|
280
|
+
"gds.pictogram.camps": "Campamentos",
|
|
281
|
+
"gds.pictogram.lacrosse": "Lacrosse",
|
|
282
|
+
"gds.pictogram.athletics": "Atletismo",
|
|
283
|
+
"gds.pictogram.hockey": "Hockey",
|
|
284
|
+
"gds.notificationBell.label": "Notificaciones",
|
|
285
|
+
"gds.notificationBell.unreadLabel": "Notificaciones (sin leer)",
|
|
286
|
+
"gds.compareButton.add": "Comparar",
|
|
287
|
+
"gds.compareButton.added": "A\xF1adido a la comparaci\xF3n",
|
|
288
|
+
"gds.detailFacts.ageRange": "Rango de edad",
|
|
289
|
+
"gds.detailFacts.activityType": "Tipo de actividad",
|
|
290
|
+
"gds.detailFacts.format": "Formato",
|
|
291
|
+
"gds.detailFacts.location": "Ubicaci\xF3n",
|
|
292
|
+
"gds.detailFacts.setting": "Interior/exterior",
|
|
293
|
+
"gds.detailFacts.price": "Precio",
|
|
294
|
+
"gds.detailFacts.booking": "Reserva",
|
|
295
|
+
"gds.detailFacts.source": "Fuente",
|
|
296
|
+
"gds.detailFacts.lastChecked": "\xDAltima verificaci\xF3n",
|
|
297
|
+
"gds.detailFacts.unknown": "No confirmado: consulta al proveedor",
|
|
298
|
+
"gds.providerCta.headline": "\xBFEres el proveedor?",
|
|
299
|
+
"gds.providerCta.body": 'Reclama este listado para confirmar edades, precios y horarios. Los listados reclamados muestran la etiqueta "Proveedor verificado".',
|
|
300
|
+
"gds.providerCta.action": "Reclamar listado",
|
|
301
|
+
"gds.trust.badge.officialSource": "Fuente oficial",
|
|
302
|
+
"gds.trust.badge.publicSource": "Fuente p\xFAblica",
|
|
303
|
+
"gds.trust.badge.providerClaimed": "Declarado por el proveedor",
|
|
304
|
+
"gds.trust.badge.recentlyChecked": "Revisado recientemente",
|
|
305
|
+
"gds.trust.badge.priceEstimate": "Precio estimado",
|
|
306
|
+
"gds.trust.badge.scheduleEstimate": "Horario estimado",
|
|
307
|
+
"gds.trust.badge.ageNotConfirmed": "Edad no confirmada",
|
|
308
|
+
"gds.trust.badge.reportedOutdated": "Marcado como desactualizado",
|
|
309
|
+
"gds.trust.price.free": "Gratis",
|
|
310
|
+
"gds.trust.price.unknown": "Precio desconocido \u2014 confirmar con el proveedor",
|
|
311
|
+
"gds.trust.price.perUnit": "{price}/{unit}",
|
|
312
|
+
"gds.trust.price.estimatedFrom": "Estimado desde {price}",
|
|
313
|
+
"gds.trust.lastChecked.fresh": "\xDAltima revisi\xF3n: {date}",
|
|
314
|
+
"gds.trust.lastChecked.stale": "Los detalles pueden haber cambiado. Confirme con el proveedor.",
|
|
315
|
+
"gds.trust.report.action": "Reportar informaci\xF3n desactualizada",
|
|
316
|
+
"gds.trust.report.thanks": "Gracias \u2014 volveremos a revisar este anuncio.",
|
|
317
|
+
"gds.trust.source.title": "Fuente de la informaci\xF3n",
|
|
318
|
+
"gds.trust.source.sourceType": "Tipo de fuente",
|
|
319
|
+
"gds.trust.source.lastChecked": "\xDAltima revisi\xF3n",
|
|
320
|
+
"gds.trust.source.priceStatus": "Estado del precio",
|
|
321
|
+
"gds.trust.source.scheduleStatus": "Estado del horario",
|
|
322
|
+
"gds.trust.source.statusEstimate": "Estimado",
|
|
323
|
+
"gds.trust.source.statusConfirmed": "Confirmado",
|
|
324
|
+
"gds.trust.source.statusNeedsConfirmation": "Requiere confirmaci\xF3n del proveedor",
|
|
325
|
+
"gds.trust.source.unknownValue": "Desconocido \u2014 confirmar con el proveedor",
|
|
326
|
+
"gds.trust.source.confirmLine": "Confirme siempre los detalles finales directamente con el proveedor antes de asistir.",
|
|
327
|
+
"gds.trust.checklist.title": "Verificar antes de reservar",
|
|
328
|
+
"gds.trust.checklist.exactSchedule": "Horario exacto",
|
|
329
|
+
"gds.trust.checklist.currentPrice": "Precio actual",
|
|
330
|
+
"gds.trust.checklist.ageFit": "Edad adecuada",
|
|
331
|
+
"gds.trust.checklist.registration": "Requisitos de inscripci\xF3n",
|
|
332
|
+
"gds.trust.checklist.cancellation": "Pol\xEDtica de cancelaci\xF3n / reembolso",
|
|
333
|
+
"gds.trust.checklist.parentPresence": "Requisito de presencia de un adulto responsable"
|
|
334
|
+
};
|
|
335
|
+
|
|
336
|
+
export {
|
|
337
|
+
es
|
|
338
|
+
};
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
GdsIcons,
|
|
3
2
|
StateBlock
|
|
4
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MPZFCWWS.mjs";
|
|
4
|
+
import {
|
|
5
|
+
GdsIcons
|
|
6
|
+
} from "./chunk-J66ITCXC.mjs";
|
|
5
7
|
|
|
6
8
|
// src/PartnerDiscovery.tsx
|
|
9
|
+
import { useGdsTranslation } from "@sovereignsquad/gds-theme";
|
|
7
10
|
import {
|
|
8
11
|
Anchor,
|
|
9
12
|
Badge,
|
|
@@ -306,10 +309,12 @@ function PartnerPlaceResultCard({
|
|
|
306
309
|
place,
|
|
307
310
|
amenityLabels = {},
|
|
308
311
|
active = false,
|
|
309
|
-
detailLabel
|
|
312
|
+
detailLabel: detailLabelProp,
|
|
310
313
|
onSelect,
|
|
311
314
|
onEvent
|
|
312
315
|
}) {
|
|
316
|
+
const { t } = useGdsTranslation();
|
|
317
|
+
const detailLabel = detailLabelProp ?? t("gds.partnerDiscovery.detailLabel", "See details");
|
|
313
318
|
return /* @__PURE__ */ jsx(
|
|
314
319
|
Card,
|
|
315
320
|
{
|
|
@@ -375,9 +380,12 @@ function PartnerMapPin({
|
|
|
375
380
|
function PartnerMapControls({
|
|
376
381
|
onZoomIn,
|
|
377
382
|
onZoomOut,
|
|
378
|
-
zoomInLabel
|
|
379
|
-
zoomOutLabel
|
|
383
|
+
zoomInLabel: zoomInLabelProp,
|
|
384
|
+
zoomOutLabel: zoomOutLabelProp
|
|
380
385
|
}) {
|
|
386
|
+
const { t } = useGdsTranslation();
|
|
387
|
+
const zoomInLabel = zoomInLabelProp ?? t("gds.partnerDiscovery.zoomInLabel", "Zoom in");
|
|
388
|
+
const zoomOutLabel = zoomOutLabelProp ?? t("gds.partnerDiscovery.zoomOutLabel", "Zoom out");
|
|
381
389
|
return /* @__PURE__ */ jsxs(Group, { gap: "xs", children: [
|
|
382
390
|
/* @__PURE__ */ jsx(Button, { type: "button", variant: "default", "aria-label": zoomInLabel, onClick: onZoomIn, w: 32, h: 32, p: 0, children: /* @__PURE__ */ jsx(GdsIcons.Add, { size: "1rem", "aria-hidden": true }) }),
|
|
383
391
|
/* @__PURE__ */ jsx(Button, { type: "button", variant: "default", "aria-label": zoomOutLabel, onClick: onZoomOut, w: 32, h: 32, p: 0, children: /* @__PURE__ */ jsx(GdsIcons.Remove, { size: "1rem", "aria-hidden": true }) })
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GdsIcons
|
|
3
|
+
} from "./chunk-J66ITCXC.mjs";
|
|
4
|
+
|
|
5
|
+
// src/badge-shapes.ts
|
|
6
|
+
import { createReactComponent } from "@tabler/icons-react";
|
|
7
|
+
var circleNode = [
|
|
8
|
+
["path", { d: "M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0", key: "svg-0" }]
|
|
9
|
+
];
|
|
10
|
+
var squircleNode = [
|
|
11
|
+
["path", { d: "M12 3c7.2 0 9 1.8 9 9c0 7.2 -1.8 9 -9 9c-7.2 0 -9 -1.8 -9 -9c0 -7.2 1.8 -9 9 -9", key: "svg-0" }]
|
|
12
|
+
];
|
|
13
|
+
var hexagonNode = [
|
|
14
|
+
["path", { d: "M19.875 6.27a2.225 2.225 0 0 1 1.125 1.948v7.284c0 .809 -.443 1.555 -1.158 1.948l-6.75 4.27a2.269 2.269 0 0 1 -2.184 0l-6.75 -4.27a2.225 2.225 0 0 1 -1.158 -1.948v-7.285c0 -.809 .443 -1.554 1.158 -1.947l6.75 -3.98a2.33 2.33 0 0 1 2.25 0l6.75 3.98h-.033", key: "svg-0" }]
|
|
15
|
+
];
|
|
16
|
+
var shieldNode = [
|
|
17
|
+
["path", { d: "M12 3a12 12 0 0 0 8.5 3a12 12 0 0 1 -8.5 15a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3", key: "svg-0" }]
|
|
18
|
+
];
|
|
19
|
+
var rosetteNode = [
|
|
20
|
+
["path", { d: "M5 7.2a2.2 2.2 0 0 1 2.2 -2.2h1a2.2 2.2 0 0 0 1.55 -.64l.7 -.7a2.2 2.2 0 0 1 3.12 0l.7 .7c.412 .41 .97 .64 1.55 .64h1a2.2 2.2 0 0 1 2.2 2.2v1c0 .58 .23 1.138 .64 1.55l.7 .7a2.2 2.2 0 0 1 0 3.12l-.7 .7a2.2 2.2 0 0 0 -.64 1.55v1a2.2 2.2 0 0 1 -2.2 2.2h-1a2.2 2.2 0 0 0 -1.55 .64l-.7 .7a2.2 2.2 0 0 1 -3.12 0l-.7 -.7a2.2 2.2 0 0 0 -1.55 -.64h-1a2.2 2.2 0 0 1 -2.2 -2.2v-1a2.2 2.2 0 0 0 -.64 -1.55l-.7 -.7a2.2 2.2 0 0 1 0 -3.12l.7 -.7a2.2 2.2 0 0 0 .64 -1.55v-1", key: "svg-0" }]
|
|
21
|
+
];
|
|
22
|
+
var GDS_PIN_SILHOUETTE_PATH = "M17.657 16.657l-4.243 4.243a2 2 0 0 1 -2.827 0l-4.244 -4.243a8 8 0 1 1 11.314 0";
|
|
23
|
+
var pinNode = [
|
|
24
|
+
["path", { d: GDS_PIN_SILHOUETTE_PATH, key: "svg-0" }]
|
|
25
|
+
];
|
|
26
|
+
var GdsBadgeShapeCircle = createReactComponent("outline", "gds-badge-shape-circle", "GdsBadgeShapeCircle", circleNode);
|
|
27
|
+
var GdsBadgeShapeSquircle = createReactComponent("outline", "gds-badge-shape-squircle", "GdsBadgeShapeSquircle", squircleNode);
|
|
28
|
+
var GdsBadgeShapeHexagon = createReactComponent("outline", "gds-badge-shape-hexagon", "GdsBadgeShapeHexagon", hexagonNode);
|
|
29
|
+
var GdsBadgeShapeShield = createReactComponent("outline", "gds-badge-shape-shield", "GdsBadgeShapeShield", shieldNode);
|
|
30
|
+
var GdsBadgeShapeRosette = createReactComponent("outline", "gds-badge-shape-rosette", "GdsBadgeShapeRosette", rosetteNode);
|
|
31
|
+
var GdsBadgeShapePin = createReactComponent("outline", "gds-badge-shape-pin", "GdsBadgeShapePin", pinNode);
|
|
32
|
+
var GdsBadgeShapes = {
|
|
33
|
+
circle: GdsBadgeShapeCircle,
|
|
34
|
+
squircle: GdsBadgeShapeSquircle,
|
|
35
|
+
hexagon: GdsBadgeShapeHexagon,
|
|
36
|
+
shield: GdsBadgeShapeShield,
|
|
37
|
+
rosette: GdsBadgeShapeRosette,
|
|
38
|
+
pin: GdsBadgeShapePin
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
// src/GdsBadgeStack.tsx
|
|
42
|
+
import { jsx } from "react/jsx-runtime";
|
|
43
|
+
function GdsBadgeStack({ size = "1em", label, children, className, style }) {
|
|
44
|
+
const resolvedSize = typeof size === "number" ? `${size}px` : size;
|
|
45
|
+
return /* @__PURE__ */ jsx(
|
|
46
|
+
"span",
|
|
47
|
+
{
|
|
48
|
+
"data-gds-badge-stack": "",
|
|
49
|
+
role: label ? "img" : void 0,
|
|
50
|
+
"aria-label": label || void 0,
|
|
51
|
+
"aria-hidden": label ? void 0 : true,
|
|
52
|
+
className,
|
|
53
|
+
style: { "--gds-badge-stack-size": resolvedSize, ...style },
|
|
54
|
+
children
|
|
55
|
+
}
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
function GdsBadgeStackLayer({ corner, scale, cutout, children, className, style }) {
|
|
59
|
+
const resolvedScale = scale ?? (corner ? 0.5 : 1);
|
|
60
|
+
return /* @__PURE__ */ jsx(
|
|
61
|
+
"span",
|
|
62
|
+
{
|
|
63
|
+
"data-gds-badge-stack-layer": corner ?? "center",
|
|
64
|
+
"data-gds-badge-stack-cutout": cutout || void 0,
|
|
65
|
+
className,
|
|
66
|
+
style: { "--gds-badge-stack-layer-scale": String(resolvedScale), ...style },
|
|
67
|
+
children
|
|
68
|
+
}
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// src/SurfacePresentation.ts
|
|
73
|
+
var toCssLength = (value) => {
|
|
74
|
+
if (typeof value === "number") {
|
|
75
|
+
return `${value}px`;
|
|
76
|
+
}
|
|
77
|
+
return value;
|
|
78
|
+
};
|
|
79
|
+
function resolveSurfacePresentationStyles(props) {
|
|
80
|
+
const {
|
|
81
|
+
presentation = "inline",
|
|
82
|
+
minHeight,
|
|
83
|
+
contentAlign,
|
|
84
|
+
contentJustify
|
|
85
|
+
} = props;
|
|
86
|
+
const base = {
|
|
87
|
+
minHeight: toCssLength(minHeight),
|
|
88
|
+
display: "flex",
|
|
89
|
+
flexDirection: "column",
|
|
90
|
+
gap: "var(--mantine-spacing-lg)"
|
|
91
|
+
};
|
|
92
|
+
if (presentation === "inline") {
|
|
93
|
+
return base;
|
|
94
|
+
}
|
|
95
|
+
const align = contentAlign ?? "center";
|
|
96
|
+
const justify = contentJustify ?? (presentation === "centered" ? "center" : "start");
|
|
97
|
+
return {
|
|
98
|
+
...base,
|
|
99
|
+
...presentation === "fill" ? { flex: 1 } : {},
|
|
100
|
+
alignItems: align === "center" ? "center" : "flex-start",
|
|
101
|
+
justifyContent: justify === "center" ? "center" : "flex-start"
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
function isPresentationMode(value) {
|
|
105
|
+
return value === "inline" || value === "centered" || value === "fill";
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// src/StateBlock.tsx
|
|
109
|
+
import { useGdsTranslation } from "@sovereignsquad/gds-theme";
|
|
110
|
+
import { Loader, Stack, Text, ThemeIcon, Title } from "@mantine/core";
|
|
111
|
+
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
112
|
+
var variantConfig = {
|
|
113
|
+
loading: { color: "violet", icon: /* @__PURE__ */ jsx2(Loader, { size: "sm" }) },
|
|
114
|
+
empty: { color: "gray", icon: /* @__PURE__ */ jsx2(GdsIcons.Inbox, { size: "1.1rem" }) },
|
|
115
|
+
error: { color: "red", icon: /* @__PURE__ */ jsx2(GdsIcons.Danger, { size: "1.1rem" }) },
|
|
116
|
+
permission: { color: "orange", icon: /* @__PURE__ */ jsx2(GdsIcons.Verify, { size: "1.1rem" }) },
|
|
117
|
+
disabled: { color: "gray", icon: /* @__PURE__ */ jsx2(GdsIcons.Toggle, { size: "1.1rem" }) },
|
|
118
|
+
success: { color: "teal", icon: /* @__PURE__ */ jsx2(GdsIcons.Success, { size: "1.1rem" }) },
|
|
119
|
+
info: { color: "blue", icon: /* @__PURE__ */ jsx2(GdsIcons.Info, { size: "1.1rem" }) },
|
|
120
|
+
"not-enough-data": { color: "yellow", icon: /* @__PURE__ */ jsx2(GdsIcons.Analytics, { size: "1.1rem" }) }
|
|
121
|
+
};
|
|
122
|
+
function StateBlock({
|
|
123
|
+
variant,
|
|
124
|
+
title,
|
|
125
|
+
description,
|
|
126
|
+
action,
|
|
127
|
+
icon,
|
|
128
|
+
compact = false,
|
|
129
|
+
presentation = "inline",
|
|
130
|
+
minHeight,
|
|
131
|
+
contentAlign,
|
|
132
|
+
contentJustify
|
|
133
|
+
}) {
|
|
134
|
+
const config = variantConfig[variant];
|
|
135
|
+
const layout = resolveSurfacePresentationStyles({
|
|
136
|
+
presentation,
|
|
137
|
+
minHeight,
|
|
138
|
+
contentAlign,
|
|
139
|
+
contentJustify
|
|
140
|
+
});
|
|
141
|
+
const centeredText = presentation !== "inline" ? (contentAlign ?? "center") === "center" : !compact;
|
|
142
|
+
const centeredAlign = presentation !== "inline" ? contentAlign ?? "center" : "start";
|
|
143
|
+
const headingAlign = presentation === "inline" ? compact ? "flex-start" : "center" : centeredAlign === "center" ? "center" : "flex-start";
|
|
144
|
+
return /* @__PURE__ */ jsxs(
|
|
145
|
+
Stack,
|
|
146
|
+
{
|
|
147
|
+
align: headingAlign,
|
|
148
|
+
justify: presentation === "inline" ? "center" : void 0,
|
|
149
|
+
gap: "md",
|
|
150
|
+
py: compact ? "md" : "xl",
|
|
151
|
+
ta: centeredText ? "center" : "left",
|
|
152
|
+
style: layout,
|
|
153
|
+
children: [
|
|
154
|
+
/* @__PURE__ */ jsx2(ThemeIcon, { variant: "light", color: config.color, size: compact ? "lg" : "xl", radius: "xl", children: icon ?? config.icon }),
|
|
155
|
+
/* @__PURE__ */ jsxs(Stack, { gap: 6, align: headingAlign, children: [
|
|
156
|
+
/* @__PURE__ */ jsx2(Title, { order: compact ? 4 : 3, children: title }),
|
|
157
|
+
description ? /* @__PURE__ */ jsx2(Text, { c: "dimmed", maw: compact ? void 0 : 480, children: description }) : null
|
|
158
|
+
] }),
|
|
159
|
+
action
|
|
160
|
+
]
|
|
161
|
+
}
|
|
162
|
+
);
|
|
163
|
+
}
|
|
164
|
+
function MissingDataPrompt({
|
|
165
|
+
title: titleProp,
|
|
166
|
+
description: descriptionProp,
|
|
167
|
+
missingFields = [],
|
|
168
|
+
action,
|
|
169
|
+
compact = true,
|
|
170
|
+
...props
|
|
171
|
+
}) {
|
|
172
|
+
const { t } = useGdsTranslation();
|
|
173
|
+
const title = titleProp ?? t("gds.stateBlock.title", "Missing data");
|
|
174
|
+
const description = descriptionProp ?? t("gds.stateBlock.description", "Add the required data before this view can show a reliable result.");
|
|
175
|
+
const details = missingFields.length ? /* @__PURE__ */ jsxs(Stack, { gap: 4, children: [
|
|
176
|
+
description ? /* @__PURE__ */ jsx2(Text, { c: "dimmed", children: description }) : null,
|
|
177
|
+
/* @__PURE__ */ jsx2(Stack, { component: "ul", gap: 2, m: 0, pl: "md", ta: "left", children: missingFields.map((field, index) => (
|
|
178
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
179
|
+
/* @__PURE__ */ jsx2(Text, { component: "li", c: "dimmed", children: field }, index)
|
|
180
|
+
)) })
|
|
181
|
+
] }) : description;
|
|
182
|
+
return /* @__PURE__ */ jsx2(
|
|
183
|
+
StateBlock,
|
|
184
|
+
{
|
|
185
|
+
variant: "not-enough-data",
|
|
186
|
+
title,
|
|
187
|
+
description: details,
|
|
188
|
+
action,
|
|
189
|
+
compact,
|
|
190
|
+
...props
|
|
191
|
+
}
|
|
192
|
+
);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export {
|
|
196
|
+
GDS_PIN_SILHOUETTE_PATH,
|
|
197
|
+
GdsBadgeShapeCircle,
|
|
198
|
+
GdsBadgeShapeSquircle,
|
|
199
|
+
GdsBadgeShapeHexagon,
|
|
200
|
+
GdsBadgeShapeShield,
|
|
201
|
+
GdsBadgeShapeRosette,
|
|
202
|
+
GdsBadgeShapePin,
|
|
203
|
+
GdsBadgeShapes,
|
|
204
|
+
GdsBadgeStack,
|
|
205
|
+
GdsBadgeStackLayer,
|
|
206
|
+
resolveSurfacePresentationStyles,
|
|
207
|
+
isPresentationMode,
|
|
208
|
+
StateBlock,
|
|
209
|
+
MissingDataPrompt
|
|
210
|
+
};
|