@caribeng/ui 22.1.1 → 22.2.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 +48 -8
- package/fesm2022/caribeng-ui-accordion.mjs +2 -2
- package/fesm2022/caribeng-ui-anchor.mjs +169 -0
- package/fesm2022/caribeng-ui-autocomplete.mjs +10 -8
- package/fesm2022/caribeng-ui-avatargroup.mjs +9 -3
- package/fesm2022/caribeng-ui-blockui.mjs +12 -4
- package/fesm2022/caribeng-ui-breadcrumb.mjs +5 -2
- package/fesm2022/caribeng-ui-button.mjs +22 -2
- package/fesm2022/caribeng-ui-caribe-alert.mjs +5 -2
- package/fesm2022/caribeng-ui-caribe-animation-lottie.mjs +6 -3
- package/fesm2022/caribeng-ui-caribe-button-group.mjs +6 -3
- package/fesm2022/caribeng-ui-caribe-calendar.mjs +11 -6
- package/fesm2022/caribeng-ui-caribe-card-content.mjs +6 -3
- package/fesm2022/caribeng-ui-caribe-card-move.mjs +29 -7
- package/fesm2022/caribeng-ui-caribe-card-select.mjs +56 -14
- package/fesm2022/caribeng-ui-caribe-circle-loading.mjs +10 -7
- package/fesm2022/caribeng-ui-caribe-coachmark.mjs +42 -19
- package/fesm2022/caribeng-ui-caribe-data-table.mjs +15 -9
- package/fesm2022/caribeng-ui-caribe-dots-indicator.mjs +38 -5
- package/fesm2022/caribeng-ui-caribe-expansion-panel.mjs +16 -5
- package/fesm2022/caribeng-ui-caribe-fab-menu.mjs +56 -7
- package/fesm2022/caribeng-ui-caribe-file-download.mjs +68 -27
- package/fesm2022/caribeng-ui-caribe-file-select.mjs +22 -17
- package/fesm2022/caribeng-ui-caribe-float-menu.mjs +6 -3
- package/fesm2022/caribeng-ui-caribe-footer.mjs +8 -4
- package/fesm2022/caribeng-ui-caribe-header.mjs +6 -3
- package/fesm2022/caribeng-ui-caribe-icon-button.mjs +6 -3
- package/fesm2022/caribeng-ui-caribe-illustration.mjs +6 -3
- package/fesm2022/caribeng-ui-caribe-inline-alert.mjs +5 -2
- package/fesm2022/caribeng-ui-caribe-input-search.mjs +14 -10
- package/fesm2022/caribeng-ui-caribe-input-select.mjs +12 -10
- package/fesm2022/caribeng-ui-caribe-input-token.mjs +61 -11
- package/fesm2022/caribeng-ui-caribe-link.mjs +7 -2
- package/fesm2022/caribeng-ui-caribe-loader.mjs +8 -5
- package/fesm2022/caribeng-ui-caribe-modal.mjs +32 -16
- package/fesm2022/caribeng-ui-caribe-off-canvas.mjs +26 -12
- package/fesm2022/caribeng-ui-caribe-onboarding.mjs +44 -19
- package/fesm2022/caribeng-ui-caribe-pictogram.mjs +6 -3
- package/fesm2022/caribeng-ui-caribe-pop-over.mjs +34 -10
- package/fesm2022/caribeng-ui-caribe-preloader.mjs +9 -6
- package/fesm2022/caribeng-ui-caribe-progress-bar.mjs +5 -2
- package/fesm2022/caribeng-ui-caribe-shortcut.mjs +8 -3
- package/fesm2022/caribeng-ui-caribe-step-indicator.mjs +12 -5
- package/fesm2022/caribeng-ui-caribe-stroke.mjs +6 -3
- package/fesm2022/caribeng-ui-caribe-switch.mjs +5 -3
- package/fesm2022/caribeng-ui-caribe-tag-button.mjs +1 -1
- package/fesm2022/caribeng-ui-caribe-tracker.mjs +5 -2
- package/fesm2022/caribeng-ui-caribe-transaction-status.mjs +1 -1
- package/fesm2022/caribeng-ui-caribe-voucher.mjs +11 -8
- package/fesm2022/caribeng-ui-carousel.mjs +49 -14
- package/fesm2022/caribeng-ui-cascadeselect.mjs +22 -8
- package/fesm2022/caribeng-ui-chart.mjs +2598 -303
- package/fesm2022/caribeng-ui-chip.mjs +9 -4
- package/fesm2022/caribeng-ui-chips.mjs +9 -5
- package/fesm2022/caribeng-ui-colorpicker.mjs +9 -7
- package/fesm2022/caribeng-ui-confirmdialog.mjs +74 -9
- package/fesm2022/caribeng-ui-confirmpopup.mjs +134 -9
- package/fesm2022/caribeng-ui-contextmenu.mjs +6 -3
- package/fesm2022/caribeng-ui-dataview.mjs +211 -6
- package/fesm2022/caribeng-ui-datepicker.mjs +1630 -393
- package/fesm2022/caribeng-ui-descriptions.mjs +124 -0
- package/fesm2022/caribeng-ui-dialog.mjs +10 -7
- package/fesm2022/caribeng-ui-dock.mjs +6 -3
- package/fesm2022/caribeng-ui-drawer.mjs +10 -7
- package/fesm2022/caribeng-ui-dynamicdialog.mjs +210 -6
- package/fesm2022/caribeng-ui-editor.mjs +4392 -243
- package/fesm2022/caribeng-ui-empty.mjs +80 -0
- package/fesm2022/caribeng-ui-file-card.mjs +2 -2
- package/fesm2022/caribeng-ui-fileupload.mjs +96 -19
- package/fesm2022/caribeng-ui-floatlabel.mjs +4 -2
- package/fesm2022/caribeng-ui-folder-card.mjs +10 -3
- package/fesm2022/caribeng-ui-galleria.mjs +76 -45
- package/fesm2022/caribeng-ui-image.mjs +52 -29
- package/fesm2022/caribeng-ui-inplace.mjs +22 -6
- package/fesm2022/caribeng-ui-input-number.mjs +9 -7
- package/fesm2022/caribeng-ui-inputgroup.mjs +2 -2
- package/fesm2022/caribeng-ui-inputmask.mjs +14 -11
- package/fesm2022/caribeng-ui-inputotp.mjs +12 -6
- package/fesm2022/caribeng-ui-keyfilter.mjs +72 -0
- package/fesm2022/caribeng-ui-listbox.mjs +13 -11
- package/fesm2022/caribeng-ui-megamenu.mjs +222 -30
- package/fesm2022/caribeng-ui-menu.mjs +11 -5
- package/fesm2022/caribeng-ui-menubar.mjs +10 -5
- package/fesm2022/caribeng-ui-message.mjs +7 -4
- package/fesm2022/caribeng-ui-metergroup.mjs +29 -11
- package/fesm2022/caribeng-ui-multiselect.mjs +399 -97
- package/fesm2022/caribeng-ui-orderlist.mjs +230 -11
- package/fesm2022/caribeng-ui-organizationchart.mjs +12 -7
- package/fesm2022/caribeng-ui-paginator.mjs +18 -15
- package/fesm2022/caribeng-ui-panel.mjs +5 -2
- package/fesm2022/caribeng-ui-panelmenu.mjs +6 -3
- package/fesm2022/caribeng-ui-password.mjs +8 -6
- package/fesm2022/caribeng-ui-pdfviewer.mjs +1553 -0
- package/fesm2022/caribeng-ui-picklist.mjs +251 -14
- package/fesm2022/caribeng-ui-pricing.mjs +17 -14
- package/fesm2022/caribeng-ui-rating.mjs +7 -3
- package/fesm2022/caribeng-ui-repeater.mjs +223 -0
- package/fesm2022/caribeng-ui-result.mjs +91 -0
- package/fesm2022/caribeng-ui-scrollpanel.mjs +6 -3
- package/fesm2022/caribeng-ui-scrolltop.mjs +6 -3
- package/fesm2022/caribeng-ui-select.mjs +379 -87
- package/fesm2022/caribeng-ui-selectbutton.mjs +2 -2
- package/fesm2022/caribeng-ui-slider.mjs +171 -75
- package/fesm2022/caribeng-ui-speeddial.mjs +7 -4
- package/fesm2022/caribeng-ui-spinner.mjs +5 -2
- package/fesm2022/caribeng-ui-splitbutton.mjs +163 -0
- package/fesm2022/caribeng-ui-splitter.mjs +5 -2
- package/fesm2022/caribeng-ui-statistic.mjs +183 -0
- package/fesm2022/caribeng-ui-stepper.mjs +8 -5
- package/fesm2022/caribeng-ui-steps.mjs +6 -3
- package/fesm2022/caribeng-ui-table.mjs +708 -82
- package/fesm2022/caribeng-ui-tabmenu.mjs +6 -3
- package/fesm2022/caribeng-ui-tag.mjs +2 -2
- package/fesm2022/caribeng-ui-terminal.mjs +45 -9
- package/fesm2022/caribeng-ui-themetoggle.mjs +82 -0
- package/fesm2022/caribeng-ui-tieredmenu.mjs +9 -6
- package/fesm2022/caribeng-ui-timeline.mjs +175 -6
- package/fesm2022/caribeng-ui-toast.mjs +7 -4
- package/fesm2022/caribeng-ui-togglebutton.mjs +8 -6
- package/fesm2022/caribeng-ui-toolbar.mjs +6 -3
- package/fesm2022/caribeng-ui-tree.mjs +302 -6
- package/fesm2022/caribeng-ui-treeselect.mjs +26 -10
- package/fesm2022/caribeng-ui-treetable.mjs +269 -6
- package/fesm2022/caribeng-ui-virtualscroller.mjs +123 -10
- package/fesm2022/caribeng-ui.mjs +829 -6
- package/package.json +53 -3
- package/schematics/collection.json +10 -0
- package/schematics/ng-add/index.js +125 -0
- package/schematics/ng-add/schema.js +2 -0
- package/schematics/ng-add/schema.json +66 -0
- package/styles/caribeng.css +380 -0
- package/styles/scss/_mixins.scss +46 -0
- package/styles/scss/_overlay.scss +15 -0
- package/styles/scss/_tokens.scss +267 -0
- package/styles/scss/_utilities.scss +73 -0
- package/styles/scss/_variables.scss +33 -0
- package/styles/scss/index.scss +16 -0
- package/types/caribeng-ui-anchor.d.ts +50 -0
- package/types/caribeng-ui-autocomplete.d.ts +4 -2
- package/types/caribeng-ui-avatargroup.d.ts +3 -1
- package/types/caribeng-ui-blockui.d.ts +9 -4
- package/types/caribeng-ui-breadcrumb.d.ts +3 -0
- package/types/caribeng-ui-button.d.ts +9 -1
- package/types/caribeng-ui-caribe-alert.d.ts +3 -0
- package/types/caribeng-ui-caribe-animation-lottie.d.ts +4 -1
- package/types/caribeng-ui-caribe-button-group.d.ts +4 -1
- package/types/caribeng-ui-caribe-calendar.d.ts +5 -1
- package/types/caribeng-ui-caribe-card-content.d.ts +4 -1
- package/types/caribeng-ui-caribe-card-move.d.ts +13 -13
- package/types/caribeng-ui-caribe-card-select.d.ts +10 -1
- package/types/caribeng-ui-caribe-circle-loading.d.ts +4 -1
- package/types/caribeng-ui-caribe-coachmark.d.ts +6 -0
- package/types/caribeng-ui-caribe-data-table.d.ts +7 -2
- package/types/caribeng-ui-caribe-dots-indicator.d.ts +9 -0
- package/types/caribeng-ui-caribe-expansion-panel.d.ts +7 -10
- package/types/caribeng-ui-caribe-fab-menu.d.ts +10 -1
- package/types/caribeng-ui-caribe-file-download.d.ts +8 -10
- package/types/caribeng-ui-caribe-file-select.d.ts +7 -1
- package/types/caribeng-ui-caribe-float-menu.d.ts +4 -1
- package/types/caribeng-ui-caribe-header.d.ts +3 -0
- package/types/caribeng-ui-caribe-icon-button.d.ts +4 -1
- package/types/caribeng-ui-caribe-illustration.d.ts +4 -1
- package/types/caribeng-ui-caribe-inline-alert.d.ts +3 -0
- package/types/caribeng-ui-caribe-input-search.d.ts +4 -2
- package/types/caribeng-ui-caribe-input-select.d.ts +4 -2
- package/types/caribeng-ui-caribe-input-token.d.ts +16 -1
- package/types/caribeng-ui-caribe-link.d.ts +3 -0
- package/types/caribeng-ui-caribe-loader.d.ts +4 -1
- package/types/caribeng-ui-caribe-modal.d.ts +7 -10
- package/types/caribeng-ui-caribe-off-canvas.d.ts +6 -1
- package/types/caribeng-ui-caribe-onboarding.d.ts +6 -0
- package/types/caribeng-ui-caribe-pictogram.d.ts +4 -1
- package/types/caribeng-ui-caribe-pop-over.d.ts +7 -10
- package/types/caribeng-ui-caribe-preloader.d.ts +4 -1
- package/types/caribeng-ui-caribe-progress-bar.d.ts +3 -0
- package/types/caribeng-ui-caribe-shortcut.d.ts +3 -1
- package/types/caribeng-ui-caribe-step-indicator.d.ts +6 -0
- package/types/caribeng-ui-caribe-stroke.d.ts +4 -1
- package/types/caribeng-ui-caribe-switch.d.ts +3 -1
- package/types/caribeng-ui-caribe-tracker.d.ts +3 -0
- package/types/caribeng-ui-caribe-voucher.d.ts +5 -2
- package/types/caribeng-ui-carousel.d.ts +10 -1
- package/types/caribeng-ui-cascadeselect.d.ts +7 -2
- package/types/caribeng-ui-chart.d.ts +469 -44
- package/types/caribeng-ui-chip.d.ts +6 -0
- package/types/caribeng-ui-chips.d.ts +6 -2
- package/types/caribeng-ui-colorpicker.d.ts +3 -1
- package/types/caribeng-ui-confirmdialog.d.ts +25 -6
- package/types/caribeng-ui-confirmpopup.d.ts +37 -5
- package/types/caribeng-ui-contextmenu.d.ts +4 -1
- package/types/caribeng-ui-dataview.d.ts +63 -5
- package/types/caribeng-ui-datepicker.d.ts +186 -21
- package/types/caribeng-ui-descriptions.d.ts +63 -0
- package/types/caribeng-ui-dialog.d.ts +4 -1
- package/types/caribeng-ui-dock.d.ts +4 -1
- package/types/caribeng-ui-drawer.d.ts +4 -1
- package/types/caribeng-ui-dynamicdialog.d.ts +93 -3
- package/types/caribeng-ui-editor.d.ts +486 -13
- package/types/caribeng-ui-empty.d.ts +34 -0
- package/types/caribeng-ui-file-card.d.ts +1 -1
- package/types/caribeng-ui-fileupload.d.ts +27 -4
- package/types/caribeng-ui-folder-card.d.ts +4 -1
- package/types/caribeng-ui-galleria.d.ts +9 -0
- package/types/caribeng-ui-image.d.ts +10 -0
- package/types/caribeng-ui-inplace.d.ts +8 -0
- package/types/caribeng-ui-input-number.d.ts +3 -1
- package/types/caribeng-ui-inputmask.d.ts +5 -0
- package/types/caribeng-ui-inputotp.d.ts +7 -2
- package/types/caribeng-ui-keyfilter.d.ts +30 -0
- package/types/caribeng-ui-listbox.d.ts +5 -3
- package/types/caribeng-ui-megamenu.d.ts +26 -2
- package/types/caribeng-ui-menu.d.ts +7 -2
- package/types/caribeng-ui-menubar.d.ts +5 -1
- package/types/caribeng-ui-message.d.ts +3 -0
- package/types/caribeng-ui-metergroup.d.ts +9 -1
- package/types/caribeng-ui-multiselect.d.ts +71 -10
- package/types/caribeng-ui-orderlist.d.ts +58 -6
- package/types/caribeng-ui-organizationchart.d.ts +7 -1
- package/types/caribeng-ui-paginator.d.ts +3 -0
- package/types/caribeng-ui-panel.d.ts +3 -0
- package/types/caribeng-ui-panelmenu.d.ts +4 -1
- package/types/caribeng-ui-password.d.ts +4 -2
- package/types/caribeng-ui-pdfviewer.d.ts +258 -0
- package/types/caribeng-ui-picklist.d.ts +67 -7
- package/types/caribeng-ui-pricing.d.ts +8 -5
- package/types/caribeng-ui-rating.d.ts +6 -2
- package/types/caribeng-ui-repeater.d.ts +79 -0
- package/types/caribeng-ui-result.d.ts +35 -0
- package/types/caribeng-ui-scrollpanel.d.ts +4 -1
- package/types/caribeng-ui-scrolltop.d.ts +4 -1
- package/types/caribeng-ui-select.d.ts +73 -9
- package/types/caribeng-ui-slider.d.ts +63 -10
- package/types/caribeng-ui-speeddial.d.ts +5 -2
- package/types/caribeng-ui-spinner.d.ts +3 -0
- package/types/caribeng-ui-splitbutton.d.ts +49 -0
- package/types/caribeng-ui-splitter.d.ts +3 -0
- package/types/caribeng-ui-statistic.d.ts +65 -0
- package/types/caribeng-ui-stepper.d.ts +3 -0
- package/types/caribeng-ui-steps.d.ts +4 -1
- package/types/caribeng-ui-table.d.ts +184 -16
- package/types/caribeng-ui-tabmenu.d.ts +4 -1
- package/types/caribeng-ui-terminal.d.ts +10 -0
- package/types/caribeng-ui-themetoggle.d.ts +32 -0
- package/types/caribeng-ui-tieredmenu.d.ts +5 -2
- package/types/caribeng-ui-timeline.d.ts +63 -4
- package/types/caribeng-ui-toast.d.ts +3 -0
- package/types/caribeng-ui-togglebutton.d.ts +5 -3
- package/types/caribeng-ui-toolbar.d.ts +7 -4
- package/types/caribeng-ui-tree.d.ts +76 -4
- package/types/caribeng-ui-treeselect.d.ts +10 -2
- package/types/caribeng-ui-treetable.d.ts +68 -4
- package/types/caribeng-ui-virtualscroller.d.ts +45 -5
- package/types/caribeng-ui.d.ts +501 -12
package/fesm2022/caribeng-ui.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, inject, PLATFORM_ID, signal, computed, effect, Injectable, makeEnvironmentProviders, provideEnvironmentInitializer, Injector, DestroyRef, untracked } from '@angular/core';
|
|
2
|
+
import { InjectionToken, inject, PLATFORM_ID, signal, computed, effect, Injectable, makeEnvironmentProviders, provideEnvironmentInitializer, Injector, DestroyRef, untracked, afterNextRender } from '@angular/core';
|
|
3
3
|
import { DOCUMENT, isPlatformBrowser } from '@angular/common';
|
|
4
4
|
import { FormControl, NgControl } from '@angular/forms';
|
|
5
5
|
|
|
@@ -91,8 +91,7 @@ const CB_DEFAULT_CONFIG = {
|
|
|
91
91
|
persistTheme: false,
|
|
92
92
|
storageKey: 'caribeng-theme',
|
|
93
93
|
requiredIndicator: 'none',
|
|
94
|
-
|
|
95
|
-
optionalText: 'opcional',
|
|
94
|
+
locale: 'es',
|
|
96
95
|
};
|
|
97
96
|
/** Token de inyección con la configuración resuelta de CaribeNG. */
|
|
98
97
|
const CB_CONFIG = new InjectionToken('CB_CONFIG', {
|
|
@@ -249,6 +248,788 @@ function provideCaribeNG(config = {}) {
|
|
|
249
248
|
]);
|
|
250
249
|
}
|
|
251
250
|
|
|
251
|
+
/** Español (idioma por defecto). */
|
|
252
|
+
const CB_LOCALE_ES = {
|
|
253
|
+
close: 'Cerrar',
|
|
254
|
+
clear: 'Limpiar',
|
|
255
|
+
remove: 'Quitar',
|
|
256
|
+
removeItem: 'Quitar {0}',
|
|
257
|
+
search: 'Buscar…',
|
|
258
|
+
filterOptions: 'Filtrar opciones',
|
|
259
|
+
noResults: 'Sin resultados',
|
|
260
|
+
noData: 'Sin datos',
|
|
261
|
+
select: 'Seleccionar',
|
|
262
|
+
selectItem: 'Seleccionar {0}',
|
|
263
|
+
selectedCount: '{0} seleccionados',
|
|
264
|
+
selectAll: 'Todos',
|
|
265
|
+
options: 'Opciones',
|
|
266
|
+
moreActions: 'Más acciones',
|
|
267
|
+
add: 'Agregar',
|
|
268
|
+
onThisPage: 'En esta página',
|
|
269
|
+
trendUp: 'aumenta',
|
|
270
|
+
trendDown: 'disminuye',
|
|
271
|
+
itemAdded: '{0} agregado',
|
|
272
|
+
itemRemoved: '{0} eliminado',
|
|
273
|
+
minimum: 'Mínimo',
|
|
274
|
+
maximum: 'Máximo',
|
|
275
|
+
switchToDark: 'Cambiar a tema oscuro',
|
|
276
|
+
switchToLight: 'Cambiar a tema claro',
|
|
277
|
+
loading: 'Cargando',
|
|
278
|
+
loadingMessage: 'Cargando información…',
|
|
279
|
+
previous: 'Anterior',
|
|
280
|
+
next: 'Siguiente',
|
|
281
|
+
back: 'Atrás',
|
|
282
|
+
finish: 'Finalizar',
|
|
283
|
+
skip: 'Omitir',
|
|
284
|
+
start: 'Comenzar',
|
|
285
|
+
continue: 'Continuar',
|
|
286
|
+
stepOf: 'Paso {0} de {1}',
|
|
287
|
+
expand: 'Expandir',
|
|
288
|
+
collapse: 'Contraer',
|
|
289
|
+
expandItem: 'Expandir {0}',
|
|
290
|
+
collapseItem: 'Contraer {0}',
|
|
291
|
+
togglePanel: 'Alternar panel',
|
|
292
|
+
progress: 'Progreso',
|
|
293
|
+
stepsProgress: 'Progreso de pasos',
|
|
294
|
+
page: 'Página {0}',
|
|
295
|
+
pageIndicator: 'Indicador de páginas',
|
|
296
|
+
download: 'Descargar',
|
|
297
|
+
details: 'Detalles',
|
|
298
|
+
viewDetails: 'Ver detalle',
|
|
299
|
+
share: 'Compartir',
|
|
300
|
+
receipt: 'Comprobante',
|
|
301
|
+
action: 'Acción',
|
|
302
|
+
actionGroup: 'Grupo de acciones',
|
|
303
|
+
accept: 'Aceptar',
|
|
304
|
+
cancel: 'Cancelar',
|
|
305
|
+
confirm: 'Confirmar',
|
|
306
|
+
confirmMessage: '¿Deseas continuar?',
|
|
307
|
+
yes: 'Sí',
|
|
308
|
+
no: 'No',
|
|
309
|
+
dialog: 'Diálogo',
|
|
310
|
+
panel: 'Panel',
|
|
311
|
+
sidePanel: 'Panel lateral',
|
|
312
|
+
opensInNewTab: '(se abre en una pestaña nueva)',
|
|
313
|
+
showInfo: 'Mostrar información',
|
|
314
|
+
closeEditing: 'Cerrar edición',
|
|
315
|
+
menu: 'Menú',
|
|
316
|
+
mainNavigation: 'Navegación principal',
|
|
317
|
+
contextMenu: 'Menú contextual',
|
|
318
|
+
categories: 'Categorías',
|
|
319
|
+
appDock: 'Dock de la aplicación',
|
|
320
|
+
panelMenu: 'Menú de paneles',
|
|
321
|
+
steps: 'Pasos',
|
|
322
|
+
sectionNavigation: 'Navegación de secciones',
|
|
323
|
+
breadcrumb: 'Ruta de navegación',
|
|
324
|
+
toolbar: 'Barra de herramientas',
|
|
325
|
+
quickActions: 'Menú de acciones rápidas',
|
|
326
|
+
floatingMenu: 'Menú flotante',
|
|
327
|
+
openActions: 'Abrir acciones',
|
|
328
|
+
closeActions: 'Cerrar acciones',
|
|
329
|
+
required: 'requerido',
|
|
330
|
+
optional: 'opcional',
|
|
331
|
+
showSuggestions: 'Mostrar sugerencias',
|
|
332
|
+
clearSearch: 'Limpiar búsqueda',
|
|
333
|
+
showPassword: 'Mostrar contraseña',
|
|
334
|
+
hidePassword: 'Ocultar contraseña',
|
|
335
|
+
passwordWeak: 'Fortaleza: Débil',
|
|
336
|
+
passwordMedium: 'Fortaleza: Media',
|
|
337
|
+
passwordStrong: 'Fortaleza: Fuerte',
|
|
338
|
+
increment: 'Incrementar',
|
|
339
|
+
decrement: 'Decrementar',
|
|
340
|
+
verificationCode: 'Código de verificación',
|
|
341
|
+
digit: 'Dígito {0}',
|
|
342
|
+
color: 'Color',
|
|
343
|
+
colorPicker: 'Selector de color',
|
|
344
|
+
hexColor: 'Color hexadecimal',
|
|
345
|
+
switch: 'Interruptor',
|
|
346
|
+
ratingOf: '{0} de {1}',
|
|
347
|
+
openCalendar: 'Abrir calendario',
|
|
348
|
+
hours: 'Horas',
|
|
349
|
+
minutes: 'Minutos',
|
|
350
|
+
period: 'AM / PM',
|
|
351
|
+
chooseEndDate: 'Elige la fecha final',
|
|
352
|
+
previousMonth: 'Mes anterior',
|
|
353
|
+
nextMonth: 'Mes siguiente',
|
|
354
|
+
previousYear: 'Año anterior',
|
|
355
|
+
nextYear: 'Año siguiente',
|
|
356
|
+
previousDecade: 'Década anterior',
|
|
357
|
+
nextDecade: 'Década siguiente',
|
|
358
|
+
chooseMonth: 'Elegir mes',
|
|
359
|
+
chooseYear: 'Elegir año',
|
|
360
|
+
startTime: 'Hora de inicio',
|
|
361
|
+
endTime: 'Hora de fin',
|
|
362
|
+
invalidDate: 'Fecha no válida. Usa el formato {0}.',
|
|
363
|
+
datePresets: 'Atajos',
|
|
364
|
+
presetYesterday: 'Ayer',
|
|
365
|
+
presetLast7Days: 'Últimos 7 días',
|
|
366
|
+
presetLast30Days: 'Últimos 30 días',
|
|
367
|
+
presetThisMonth: 'Este mes',
|
|
368
|
+
presetLastMonth: 'Mes anterior',
|
|
369
|
+
presetThisYear: 'Este año',
|
|
370
|
+
presetLastYear: 'Año anterior',
|
|
371
|
+
today: 'Hoy',
|
|
372
|
+
weekdaysMin: 'L,M,X,J,V,S,D',
|
|
373
|
+
chooseFile: 'Elegir archivo',
|
|
374
|
+
upload: 'Subir',
|
|
375
|
+
dropFiles: 'Arrastra archivos aquí o pulsa "{0}".',
|
|
376
|
+
fileTooLarge: '{0}: supera el tamaño máximo de {1}.',
|
|
377
|
+
fileTypeNotAllowed: '{0}: tipo de archivo no permitido.',
|
|
378
|
+
selectDocument: 'Seleccionar documento',
|
|
379
|
+
formats: 'Formatos: {0}',
|
|
380
|
+
filesSelected: '{0} archivo(s) seleccionado(s)',
|
|
381
|
+
files: 'archivos',
|
|
382
|
+
pagination: 'Paginación',
|
|
383
|
+
firstPage: 'Primera página',
|
|
384
|
+
previousPage: 'Página anterior',
|
|
385
|
+
nextPage: 'Página siguiente',
|
|
386
|
+
lastPage: 'Última página',
|
|
387
|
+
rowsPerPage: 'Registros por página',
|
|
388
|
+
selectRow: 'Seleccionar fila {0}',
|
|
389
|
+
selectAllRows: 'Seleccionar todas las filas',
|
|
390
|
+
sortBy: 'Ordenar por {0}',
|
|
391
|
+
filterBy: 'Filtrar por {0}',
|
|
392
|
+
resizeColumn: 'Redimensionar columna {0}',
|
|
393
|
+
expandRow: 'Detalle de la fila {0}',
|
|
394
|
+
resultsCount: '{0} resultados',
|
|
395
|
+
noRecords: '0 registros',
|
|
396
|
+
moveUp: 'Subir',
|
|
397
|
+
moveDown: 'Bajar',
|
|
398
|
+
moveTop: 'Mover al inicio',
|
|
399
|
+
moveBottom: 'Mover al final',
|
|
400
|
+
moveToTarget: 'Mover a seleccionados',
|
|
401
|
+
moveAllToTarget: 'Mover todos a seleccionados',
|
|
402
|
+
moveToSource: 'Devolver a disponibles',
|
|
403
|
+
moveAllToSource: 'Devolver todos a disponibles',
|
|
404
|
+
available: 'Disponibles',
|
|
405
|
+
selected: 'Seleccionados',
|
|
406
|
+
sortableList: 'Lista ordenable',
|
|
407
|
+
orgChart: 'Organigrama',
|
|
408
|
+
changeLayout: 'Cambiar vista',
|
|
409
|
+
listView: 'Vista de lista',
|
|
410
|
+
gridView: 'Vista de cuadrícula',
|
|
411
|
+
timeline: 'Cronología',
|
|
412
|
+
chart: 'Gráfico de datos',
|
|
413
|
+
chartLegend: 'Leyenda del gráfico',
|
|
414
|
+
chartItem: 'Elemento {0}',
|
|
415
|
+
chartInstructions: 'Usa las flechas para recorrer los datos.',
|
|
416
|
+
chartTotal: 'Total',
|
|
417
|
+
chartChange: 'Variación',
|
|
418
|
+
chartOpen: 'Apertura',
|
|
419
|
+
chartHigh: 'Máximo',
|
|
420
|
+
chartLow: 'Mínimo',
|
|
421
|
+
chartClose: 'Cierre',
|
|
422
|
+
chartResetZoom: 'Restablecer zoom',
|
|
423
|
+
chartZoomInstructions: 'Pulsa + o − para acercar o alejar y 0 para ver todo; con el ratón, usa la rueda, arrastra para desplazarte y haz doble clic para restablecer.',
|
|
424
|
+
carousel: 'Carrusel',
|
|
425
|
+
slide: 'Diapositiva {0}',
|
|
426
|
+
slideOf: '{0} de {1}',
|
|
427
|
+
previousImage: 'Imagen anterior',
|
|
428
|
+
nextImage: 'Imagen siguiente',
|
|
429
|
+
thumbnail: 'Miniatura {0}',
|
|
430
|
+
enlargeImage: 'Ampliar {0}',
|
|
431
|
+
image: 'imagen',
|
|
432
|
+
imagePreview: 'Previsualización de imagen',
|
|
433
|
+
rotateLeft: 'Rotar a la izquierda',
|
|
434
|
+
rotateRight: 'Rotar a la derecha',
|
|
435
|
+
flipHorizontal: 'Voltear horizontal',
|
|
436
|
+
flipVertical: 'Voltear vertical',
|
|
437
|
+
zoomIn: 'Acercar',
|
|
438
|
+
zoomOut: 'Alejar',
|
|
439
|
+
reset: 'Restablecer',
|
|
440
|
+
fullscreen: 'Pantalla completa',
|
|
441
|
+
// Visor de PDF
|
|
442
|
+
pdfViewer: 'Visor de PDF',
|
|
443
|
+
pdfDocument: 'Documento PDF',
|
|
444
|
+
pageOf: 'Página {0} de {1}',
|
|
445
|
+
pageNumber: 'Número de página',
|
|
446
|
+
ofTotal: 'de {0}',
|
|
447
|
+
zoomLevel: 'Nivel de zoom',
|
|
448
|
+
fitWidth: 'Ajustar al ancho',
|
|
449
|
+
fitPage: 'Página completa',
|
|
450
|
+
print: 'Imprimir',
|
|
451
|
+
preparingPrint: 'Preparando impresión… {0} de {1}',
|
|
452
|
+
thumbnails: 'Miniaturas',
|
|
453
|
+
searchInDocument: 'Buscar en el documento',
|
|
454
|
+
previousMatch: 'Coincidencia anterior',
|
|
455
|
+
nextMatch: 'Coincidencia siguiente',
|
|
456
|
+
matchOf: '{0} de {1}',
|
|
457
|
+
searching: 'Buscando…',
|
|
458
|
+
loadingDocument: 'Cargando documento…',
|
|
459
|
+
documentError: 'No se pudo abrir el documento.',
|
|
460
|
+
protectedDocument: 'Este documento está protegido. Escribe la contraseña para abrirlo.',
|
|
461
|
+
incorrectPassword: 'Contraseña incorrecta. Inténtalo de nuevo.',
|
|
462
|
+
password: 'Contraseña',
|
|
463
|
+
open: 'Abrir',
|
|
464
|
+
scrollableArea: 'Área desplazable',
|
|
465
|
+
scrollTop: 'Volver arriba',
|
|
466
|
+
resizePanels: 'Redimensionar paneles',
|
|
467
|
+
command: 'Comando',
|
|
468
|
+
guidedHelp: 'Ayuda guiada',
|
|
469
|
+
onboarding: 'Introducción',
|
|
470
|
+
animation: 'Animación interactiva',
|
|
471
|
+
illustration: 'Ilustración',
|
|
472
|
+
pictogram: 'Pictograma',
|
|
473
|
+
decorativeStroke: 'Trazo decorativo',
|
|
474
|
+
preparingSession: 'Preparando tu sesión segura…',
|
|
475
|
+
monthly: 'Mensual',
|
|
476
|
+
yearly: 'Anual',
|
|
477
|
+
choose: 'Elegir',
|
|
478
|
+
chooseItem: 'Elegir {0}',
|
|
479
|
+
perMonth: '/mes',
|
|
480
|
+
perYear: '/año',
|
|
481
|
+
textFormatting: 'Formato de texto',
|
|
482
|
+
paragraphStyle: 'Estilo de párrafo',
|
|
483
|
+
normal: 'Normal',
|
|
484
|
+
heading1: 'Título 1',
|
|
485
|
+
heading2: 'Título 2',
|
|
486
|
+
heading3: 'Título 3',
|
|
487
|
+
bold: 'Negrita',
|
|
488
|
+
italic: 'Cursiva',
|
|
489
|
+
underline: 'Subrayado',
|
|
490
|
+
strikethrough: 'Tachado',
|
|
491
|
+
bulletList: 'Lista con viñetas',
|
|
492
|
+
numberedList: 'Lista numerada',
|
|
493
|
+
quote: 'Cita',
|
|
494
|
+
alignLeft: 'Alinear a la izquierda',
|
|
495
|
+
alignCenter: 'Centrar',
|
|
496
|
+
alignRight: 'Alinear a la derecha',
|
|
497
|
+
insertLink: 'Insertar enlace',
|
|
498
|
+
insertImage: 'Insertar imagen',
|
|
499
|
+
clearFormat: 'Limpiar formato',
|
|
500
|
+
undo: 'Deshacer',
|
|
501
|
+
redo: 'Rehacer',
|
|
502
|
+
editorPlaceholder: 'Escribe aquí…',
|
|
503
|
+
textEditor: 'Editor de texto',
|
|
504
|
+
linkUrl: 'URL del enlace:',
|
|
505
|
+
inlineCode: 'Código',
|
|
506
|
+
horizontalLine: 'Línea horizontal',
|
|
507
|
+
sourceCode: 'Ver HTML',
|
|
508
|
+
removeLink: 'Quitar enlace',
|
|
509
|
+
openInNewTab: 'Abrir en una pestaña nueva',
|
|
510
|
+
invalidUrl: 'El enlace debe empezar por http://, https://, mailto: o tel:.',
|
|
511
|
+
characterCount: '{0} de {1} caracteres',
|
|
512
|
+
imageTooLarge: 'La imagen supera el tamaño máximo ({0}).',
|
|
513
|
+
imageUploadError: 'No se pudo subir la imagen.',
|
|
514
|
+
codeBlock: 'Bloque de código',
|
|
515
|
+
insertTable: 'Insertar tabla',
|
|
516
|
+
tableRows: 'Filas',
|
|
517
|
+
tableColumns: 'Columnas',
|
|
518
|
+
tableHeaderRow: 'Fila de encabezado',
|
|
519
|
+
insert: 'Insertar',
|
|
520
|
+
tableTools: 'Tabla',
|
|
521
|
+
insertRowAbove: 'Insertar fila arriba',
|
|
522
|
+
insertRowBelow: 'Insertar fila abajo',
|
|
523
|
+
insertColumnLeft: 'Insertar columna a la izquierda',
|
|
524
|
+
insertColumnRight: 'Insertar columna a la derecha',
|
|
525
|
+
deleteRow: 'Eliminar fila',
|
|
526
|
+
deleteColumn: 'Eliminar columna',
|
|
527
|
+
deleteTable: 'Eliminar tabla',
|
|
528
|
+
imageTools: 'Imagen',
|
|
529
|
+
imageInline: 'En línea con el texto',
|
|
530
|
+
imageAlignLeft: 'Alinear a la izquierda',
|
|
531
|
+
imageAlignCenter: 'Centrar',
|
|
532
|
+
imageAlignRight: 'Alinear a la derecha',
|
|
533
|
+
imageWidth: 'Ancho {0}',
|
|
534
|
+
imageOriginalSize: 'Tamaño original',
|
|
535
|
+
imageResize: 'Redimensionar imagen',
|
|
536
|
+
altText: 'Texto alternativo',
|
|
537
|
+
deleteImage: 'Eliminar imagen',
|
|
538
|
+
tableSize: '{0} filas × {1} columnas',
|
|
539
|
+
tableRow: 'Fila',
|
|
540
|
+
tableColumn: 'Columna',
|
|
541
|
+
above: 'Arriba',
|
|
542
|
+
below: 'Abajo',
|
|
543
|
+
toLeft: 'Izquierda',
|
|
544
|
+
toRight: 'Derecha',
|
|
545
|
+
tableDelete: 'Eliminar',
|
|
546
|
+
tableBorders: 'Bordes',
|
|
547
|
+
bordersAll: 'Todos los bordes',
|
|
548
|
+
bordersHorizontal: 'Solo líneas horizontales',
|
|
549
|
+
bordersNone: 'Sin bordes',
|
|
550
|
+
borderColor: 'Color del borde',
|
|
551
|
+
colorGray: 'Gris',
|
|
552
|
+
colorDark: 'Oscuro',
|
|
553
|
+
colorGreen: 'Verde',
|
|
554
|
+
colorBlue: 'Azul',
|
|
555
|
+
cropImage: 'Recortar',
|
|
556
|
+
cropArea: 'Área de recorte',
|
|
557
|
+
cropFree: 'Libre',
|
|
558
|
+
cropInstructions: 'Arrastra el recuadro o sus esquinas. Con el teclado: flechas para mover, Mayús + flechas para cambiar el tamaño.',
|
|
559
|
+
cropError: 'No se pudo recortar la imagen. Si viene de otro dominio, su servidor debe permitir CORS.',
|
|
560
|
+
exitFullscreen: 'Salir de pantalla completa',
|
|
561
|
+
heading4: 'Título 4',
|
|
562
|
+
fontSize: 'Tamaño de letra',
|
|
563
|
+
fontNormal: 'Normal',
|
|
564
|
+
textColor: 'Color del texto',
|
|
565
|
+
highlight: 'Resaltado',
|
|
566
|
+
automaticColor: 'Automático',
|
|
567
|
+
noHighlight: 'Sin resaltado',
|
|
568
|
+
colorBlack: 'Negro',
|
|
569
|
+
colorRed: 'Rojo',
|
|
570
|
+
colorOrange: 'Naranja',
|
|
571
|
+
colorYellow: 'Amarillo',
|
|
572
|
+
colorTeal: 'Turquesa',
|
|
573
|
+
colorPurple: 'Morado',
|
|
574
|
+
colorPink: 'Rosa',
|
|
575
|
+
subscript: 'Subíndice',
|
|
576
|
+
superscript: 'Superíndice',
|
|
577
|
+
taskList: 'Lista de tareas',
|
|
578
|
+
indent: 'Aumentar sangría',
|
|
579
|
+
outdent: 'Reducir sangría',
|
|
580
|
+
alignJustify: 'Justificar',
|
|
581
|
+
alignment: 'Alineación',
|
|
582
|
+
wordCount: '{0} palabras',
|
|
583
|
+
wordCountOne: '{0} palabra',
|
|
584
|
+
charCount: '{0} caracteres',
|
|
585
|
+
fontFamily: 'Fuente',
|
|
586
|
+
fontDefault: 'Predeterminada',
|
|
587
|
+
fontGroupRecommended: 'Recomendadas',
|
|
588
|
+
fontGroupOffice: 'Clásicas de Office',
|
|
589
|
+
fontGroupSans: 'Sans serif modernas',
|
|
590
|
+
fontGroupSerif: 'Serif',
|
|
591
|
+
fontGroupMono: 'Monoespaciadas para código',
|
|
592
|
+
fontGroupAccessible: 'Accesibilidad',
|
|
593
|
+
fontGroupFun: 'Divertidas',
|
|
594
|
+
specialCharacters: 'Caracteres especiales',
|
|
595
|
+
charsCurrency: 'Monedas',
|
|
596
|
+
charsMath: 'Matemáticas',
|
|
597
|
+
charsPunctuation: 'Puntuación y signos',
|
|
598
|
+
charsArrows: 'Flechas',
|
|
599
|
+
charsEmoji: 'Emoji',
|
|
600
|
+
findReplace: 'Buscar y reemplazar',
|
|
601
|
+
findText: 'Buscar',
|
|
602
|
+
replaceWith: 'Reemplazar con',
|
|
603
|
+
matchCase: 'Mayúsculas y minúsculas',
|
|
604
|
+
wholeWords: 'Palabras completas',
|
|
605
|
+
findPrevious: 'Resultado anterior',
|
|
606
|
+
findNext: 'Resultado siguiente',
|
|
607
|
+
replaceOne: 'Reemplazar',
|
|
608
|
+
replaceAll: 'Reemplazar todo',
|
|
609
|
+
findCount: '{0} de {1}',
|
|
610
|
+
replacedCount: 'Reemplazos hechos: {0}',
|
|
611
|
+
quickFormat: 'Formato rápido',
|
|
612
|
+
insertBlock: 'Insertar bloque',
|
|
613
|
+
paragraph: 'Párrafo',
|
|
614
|
+
};
|
|
615
|
+
/** Inglés. */
|
|
616
|
+
const CB_LOCALE_EN = {
|
|
617
|
+
close: 'Close',
|
|
618
|
+
clear: 'Clear',
|
|
619
|
+
remove: 'Remove',
|
|
620
|
+
removeItem: 'Remove {0}',
|
|
621
|
+
search: 'Search…',
|
|
622
|
+
filterOptions: 'Filter options',
|
|
623
|
+
noResults: 'No results found',
|
|
624
|
+
noData: 'No data',
|
|
625
|
+
select: 'Select',
|
|
626
|
+
selectItem: 'Select {0}',
|
|
627
|
+
selectedCount: '{0} selected',
|
|
628
|
+
selectAll: 'All',
|
|
629
|
+
options: 'Options',
|
|
630
|
+
moreActions: 'More actions',
|
|
631
|
+
add: 'Add',
|
|
632
|
+
onThisPage: 'On this page',
|
|
633
|
+
trendUp: 'up',
|
|
634
|
+
trendDown: 'down',
|
|
635
|
+
itemAdded: '{0} added',
|
|
636
|
+
itemRemoved: '{0} removed',
|
|
637
|
+
minimum: 'Minimum',
|
|
638
|
+
maximum: 'Maximum',
|
|
639
|
+
switchToDark: 'Switch to dark theme',
|
|
640
|
+
switchToLight: 'Switch to light theme',
|
|
641
|
+
loading: 'Loading',
|
|
642
|
+
loadingMessage: 'Loading…',
|
|
643
|
+
previous: 'Previous',
|
|
644
|
+
next: 'Next',
|
|
645
|
+
back: 'Back',
|
|
646
|
+
finish: 'Finish',
|
|
647
|
+
skip: 'Skip',
|
|
648
|
+
start: 'Get started',
|
|
649
|
+
continue: 'Continue',
|
|
650
|
+
stepOf: 'Step {0} of {1}',
|
|
651
|
+
expand: 'Expand',
|
|
652
|
+
collapse: 'Collapse',
|
|
653
|
+
expandItem: 'Expand {0}',
|
|
654
|
+
collapseItem: 'Collapse {0}',
|
|
655
|
+
togglePanel: 'Toggle panel',
|
|
656
|
+
progress: 'Progress',
|
|
657
|
+
stepsProgress: 'Steps progress',
|
|
658
|
+
page: 'Page {0}',
|
|
659
|
+
pageIndicator: 'Page indicator',
|
|
660
|
+
download: 'Download',
|
|
661
|
+
details: 'Details',
|
|
662
|
+
viewDetails: 'View details',
|
|
663
|
+
share: 'Share',
|
|
664
|
+
receipt: 'Receipt',
|
|
665
|
+
action: 'Action',
|
|
666
|
+
actionGroup: 'Action group',
|
|
667
|
+
accept: 'Accept',
|
|
668
|
+
cancel: 'Cancel',
|
|
669
|
+
confirm: 'Confirm',
|
|
670
|
+
confirmMessage: 'Do you want to continue?',
|
|
671
|
+
yes: 'Yes',
|
|
672
|
+
no: 'No',
|
|
673
|
+
dialog: 'Dialog',
|
|
674
|
+
panel: 'Panel',
|
|
675
|
+
sidePanel: 'Side panel',
|
|
676
|
+
opensInNewTab: '(opens in a new tab)',
|
|
677
|
+
showInfo: 'Show information',
|
|
678
|
+
closeEditing: 'Close editing',
|
|
679
|
+
menu: 'Menu',
|
|
680
|
+
mainNavigation: 'Main navigation',
|
|
681
|
+
contextMenu: 'Context menu',
|
|
682
|
+
categories: 'Categories',
|
|
683
|
+
appDock: 'Application dock',
|
|
684
|
+
panelMenu: 'Panel menu',
|
|
685
|
+
steps: 'Steps',
|
|
686
|
+
sectionNavigation: 'Section navigation',
|
|
687
|
+
breadcrumb: 'Breadcrumb',
|
|
688
|
+
toolbar: 'Toolbar',
|
|
689
|
+
quickActions: 'Quick actions menu',
|
|
690
|
+
floatingMenu: 'Floating menu',
|
|
691
|
+
openActions: 'Open actions',
|
|
692
|
+
closeActions: 'Close actions',
|
|
693
|
+
required: 'required',
|
|
694
|
+
optional: 'optional',
|
|
695
|
+
showSuggestions: 'Show suggestions',
|
|
696
|
+
clearSearch: 'Clear search',
|
|
697
|
+
showPassword: 'Show password',
|
|
698
|
+
hidePassword: 'Hide password',
|
|
699
|
+
passwordWeak: 'Strength: Weak',
|
|
700
|
+
passwordMedium: 'Strength: Medium',
|
|
701
|
+
passwordStrong: 'Strength: Strong',
|
|
702
|
+
increment: 'Increment',
|
|
703
|
+
decrement: 'Decrement',
|
|
704
|
+
verificationCode: 'Verification code',
|
|
705
|
+
digit: 'Digit {0}',
|
|
706
|
+
color: 'Color',
|
|
707
|
+
colorPicker: 'Color picker',
|
|
708
|
+
hexColor: 'Hex color',
|
|
709
|
+
switch: 'Switch',
|
|
710
|
+
ratingOf: '{0} of {1}',
|
|
711
|
+
openCalendar: 'Open calendar',
|
|
712
|
+
hours: 'Hours',
|
|
713
|
+
minutes: 'Minutes',
|
|
714
|
+
period: 'AM / PM',
|
|
715
|
+
chooseEndDate: 'Choose the end date',
|
|
716
|
+
previousMonth: 'Previous month',
|
|
717
|
+
nextMonth: 'Next month',
|
|
718
|
+
previousYear: 'Previous year',
|
|
719
|
+
nextYear: 'Next year',
|
|
720
|
+
previousDecade: 'Previous decade',
|
|
721
|
+
nextDecade: 'Next decade',
|
|
722
|
+
chooseMonth: 'Choose month',
|
|
723
|
+
chooseYear: 'Choose year',
|
|
724
|
+
startTime: 'Start time',
|
|
725
|
+
endTime: 'End time',
|
|
726
|
+
invalidDate: 'Invalid date. Use the format {0}.',
|
|
727
|
+
datePresets: 'Shortcuts',
|
|
728
|
+
presetYesterday: 'Yesterday',
|
|
729
|
+
presetLast7Days: 'Last 7 days',
|
|
730
|
+
presetLast30Days: 'Last 30 days',
|
|
731
|
+
presetThisMonth: 'This month',
|
|
732
|
+
presetLastMonth: 'Last month',
|
|
733
|
+
presetThisYear: 'This year',
|
|
734
|
+
presetLastYear: 'Last year',
|
|
735
|
+
today: 'Today',
|
|
736
|
+
weekdaysMin: 'M,T,W,T,F,S,S',
|
|
737
|
+
chooseFile: 'Choose file',
|
|
738
|
+
upload: 'Upload',
|
|
739
|
+
dropFiles: 'Drag files here or click "{0}".',
|
|
740
|
+
fileTooLarge: '{0}: exceeds the maximum size of {1}.',
|
|
741
|
+
fileTypeNotAllowed: '{0}: file type not allowed.',
|
|
742
|
+
selectDocument: 'Select document',
|
|
743
|
+
formats: 'Formats: {0}',
|
|
744
|
+
filesSelected: '{0} file(s) selected',
|
|
745
|
+
files: 'files',
|
|
746
|
+
pagination: 'Pagination',
|
|
747
|
+
firstPage: 'First page',
|
|
748
|
+
previousPage: 'Previous page',
|
|
749
|
+
nextPage: 'Next page',
|
|
750
|
+
lastPage: 'Last page',
|
|
751
|
+
rowsPerPage: 'Rows per page',
|
|
752
|
+
selectRow: 'Select row {0}',
|
|
753
|
+
selectAllRows: 'Select all rows',
|
|
754
|
+
sortBy: 'Sort by {0}',
|
|
755
|
+
filterBy: 'Filter by {0}',
|
|
756
|
+
resizeColumn: 'Resize column {0}',
|
|
757
|
+
expandRow: 'Row {0} details',
|
|
758
|
+
resultsCount: '{0} results',
|
|
759
|
+
noRecords: '0 records',
|
|
760
|
+
moveUp: 'Move up',
|
|
761
|
+
moveDown: 'Move down',
|
|
762
|
+
moveTop: 'Move to top',
|
|
763
|
+
moveBottom: 'Move to bottom',
|
|
764
|
+
moveToTarget: 'Move to selected',
|
|
765
|
+
moveAllToTarget: 'Move all to selected',
|
|
766
|
+
moveToSource: 'Move back to available',
|
|
767
|
+
moveAllToSource: 'Move all back to available',
|
|
768
|
+
available: 'Available',
|
|
769
|
+
selected: 'Selected',
|
|
770
|
+
sortableList: 'Sortable list',
|
|
771
|
+
orgChart: 'Organization chart',
|
|
772
|
+
changeLayout: 'Change layout',
|
|
773
|
+
listView: 'List view',
|
|
774
|
+
gridView: 'Grid view',
|
|
775
|
+
timeline: 'Timeline',
|
|
776
|
+
chart: 'Data chart',
|
|
777
|
+
chartLegend: 'Chart legend',
|
|
778
|
+
chartItem: 'Item {0}',
|
|
779
|
+
chartInstructions: 'Use the arrow keys to explore the data.',
|
|
780
|
+
chartTotal: 'Total',
|
|
781
|
+
chartChange: 'Change',
|
|
782
|
+
chartOpen: 'Open',
|
|
783
|
+
chartHigh: 'High',
|
|
784
|
+
chartLow: 'Low',
|
|
785
|
+
chartClose: 'Close',
|
|
786
|
+
chartResetZoom: 'Reset zoom',
|
|
787
|
+
chartZoomInstructions: 'Press + or − to zoom in or out and 0 to see everything; with the mouse, use the wheel, drag to pan and double-click to reset.',
|
|
788
|
+
carousel: 'Carousel',
|
|
789
|
+
slide: 'Slide {0}',
|
|
790
|
+
slideOf: '{0} of {1}',
|
|
791
|
+
previousImage: 'Previous image',
|
|
792
|
+
nextImage: 'Next image',
|
|
793
|
+
thumbnail: 'Thumbnail {0}',
|
|
794
|
+
enlargeImage: 'Enlarge {0}',
|
|
795
|
+
image: 'image',
|
|
796
|
+
imagePreview: 'Image preview',
|
|
797
|
+
rotateLeft: 'Rotate left',
|
|
798
|
+
rotateRight: 'Rotate right',
|
|
799
|
+
flipHorizontal: 'Flip horizontal',
|
|
800
|
+
flipVertical: 'Flip vertical',
|
|
801
|
+
zoomIn: 'Zoom in',
|
|
802
|
+
zoomOut: 'Zoom out',
|
|
803
|
+
reset: 'Reset',
|
|
804
|
+
fullscreen: 'Full screen',
|
|
805
|
+
// Visor de PDF
|
|
806
|
+
pdfViewer: 'PDF viewer',
|
|
807
|
+
pdfDocument: 'PDF document',
|
|
808
|
+
pageOf: 'Page {0} of {1}',
|
|
809
|
+
pageNumber: 'Page number',
|
|
810
|
+
ofTotal: 'of {0}',
|
|
811
|
+
zoomLevel: 'Zoom level',
|
|
812
|
+
fitWidth: 'Fit to width',
|
|
813
|
+
fitPage: 'Fit page',
|
|
814
|
+
print: 'Print',
|
|
815
|
+
preparingPrint: 'Preparing to print… {0} of {1}',
|
|
816
|
+
thumbnails: 'Thumbnails',
|
|
817
|
+
searchInDocument: 'Search in document',
|
|
818
|
+
previousMatch: 'Previous match',
|
|
819
|
+
nextMatch: 'Next match',
|
|
820
|
+
matchOf: '{0} of {1}',
|
|
821
|
+
searching: 'Searching…',
|
|
822
|
+
loadingDocument: 'Loading document…',
|
|
823
|
+
documentError: 'The document could not be opened.',
|
|
824
|
+
protectedDocument: 'This document is protected. Enter the password to open it.',
|
|
825
|
+
incorrectPassword: 'Incorrect password. Try again.',
|
|
826
|
+
password: 'Password',
|
|
827
|
+
open: 'Open',
|
|
828
|
+
scrollableArea: 'Scrollable area',
|
|
829
|
+
scrollTop: 'Back to top',
|
|
830
|
+
resizePanels: 'Resize panels',
|
|
831
|
+
command: 'Command',
|
|
832
|
+
guidedHelp: 'Guided help',
|
|
833
|
+
onboarding: 'Onboarding',
|
|
834
|
+
animation: 'Interactive animation',
|
|
835
|
+
illustration: 'Illustration',
|
|
836
|
+
pictogram: 'Pictogram',
|
|
837
|
+
decorativeStroke: 'Decorative stroke',
|
|
838
|
+
preparingSession: 'Preparing your secure session…',
|
|
839
|
+
monthly: 'Monthly',
|
|
840
|
+
yearly: 'Yearly',
|
|
841
|
+
choose: 'Choose',
|
|
842
|
+
chooseItem: 'Choose {0}',
|
|
843
|
+
perMonth: '/mo',
|
|
844
|
+
perYear: '/yr',
|
|
845
|
+
textFormatting: 'Text formatting',
|
|
846
|
+
paragraphStyle: 'Paragraph style',
|
|
847
|
+
normal: 'Normal',
|
|
848
|
+
heading1: 'Heading 1',
|
|
849
|
+
heading2: 'Heading 2',
|
|
850
|
+
heading3: 'Heading 3',
|
|
851
|
+
bold: 'Bold',
|
|
852
|
+
italic: 'Italic',
|
|
853
|
+
underline: 'Underline',
|
|
854
|
+
strikethrough: 'Strikethrough',
|
|
855
|
+
bulletList: 'Bulleted list',
|
|
856
|
+
numberedList: 'Numbered list',
|
|
857
|
+
quote: 'Quote',
|
|
858
|
+
alignLeft: 'Align left',
|
|
859
|
+
alignCenter: 'Center',
|
|
860
|
+
alignRight: 'Align right',
|
|
861
|
+
insertLink: 'Insert link',
|
|
862
|
+
insertImage: 'Insert image',
|
|
863
|
+
clearFormat: 'Clear formatting',
|
|
864
|
+
undo: 'Undo',
|
|
865
|
+
redo: 'Redo',
|
|
866
|
+
editorPlaceholder: 'Write here…',
|
|
867
|
+
textEditor: 'Text editor',
|
|
868
|
+
linkUrl: 'Link URL:',
|
|
869
|
+
inlineCode: 'Code',
|
|
870
|
+
horizontalLine: 'Horizontal line',
|
|
871
|
+
sourceCode: 'View HTML',
|
|
872
|
+
removeLink: 'Remove link',
|
|
873
|
+
openInNewTab: 'Open in a new tab',
|
|
874
|
+
invalidUrl: 'The link must start with http://, https://, mailto: or tel:.',
|
|
875
|
+
characterCount: '{0} of {1} characters',
|
|
876
|
+
imageTooLarge: 'The image exceeds the maximum size ({0}).',
|
|
877
|
+
imageUploadError: 'The image could not be uploaded.',
|
|
878
|
+
codeBlock: 'Code block',
|
|
879
|
+
insertTable: 'Insert table',
|
|
880
|
+
tableRows: 'Rows',
|
|
881
|
+
tableColumns: 'Columns',
|
|
882
|
+
tableHeaderRow: 'Header row',
|
|
883
|
+
insert: 'Insert',
|
|
884
|
+
tableTools: 'Table',
|
|
885
|
+
insertRowAbove: 'Insert row above',
|
|
886
|
+
insertRowBelow: 'Insert row below',
|
|
887
|
+
insertColumnLeft: 'Insert column left',
|
|
888
|
+
insertColumnRight: 'Insert column right',
|
|
889
|
+
deleteRow: 'Delete row',
|
|
890
|
+
deleteColumn: 'Delete column',
|
|
891
|
+
deleteTable: 'Delete table',
|
|
892
|
+
imageTools: 'Image',
|
|
893
|
+
imageInline: 'In line with text',
|
|
894
|
+
imageAlignLeft: 'Align left',
|
|
895
|
+
imageAlignCenter: 'Center',
|
|
896
|
+
imageAlignRight: 'Align right',
|
|
897
|
+
imageWidth: 'Width {0}',
|
|
898
|
+
imageOriginalSize: 'Original size',
|
|
899
|
+
imageResize: 'Resize image',
|
|
900
|
+
altText: 'Alternative text',
|
|
901
|
+
deleteImage: 'Delete image',
|
|
902
|
+
tableSize: '{0} rows × {1} columns',
|
|
903
|
+
tableRow: 'Row',
|
|
904
|
+
tableColumn: 'Column',
|
|
905
|
+
above: 'Above',
|
|
906
|
+
below: 'Below',
|
|
907
|
+
toLeft: 'Left',
|
|
908
|
+
toRight: 'Right',
|
|
909
|
+
tableDelete: 'Delete',
|
|
910
|
+
tableBorders: 'Borders',
|
|
911
|
+
bordersAll: 'All borders',
|
|
912
|
+
bordersHorizontal: 'Horizontal lines only',
|
|
913
|
+
bordersNone: 'No borders',
|
|
914
|
+
borderColor: 'Border color',
|
|
915
|
+
colorGray: 'Gray',
|
|
916
|
+
colorDark: 'Dark',
|
|
917
|
+
colorGreen: 'Green',
|
|
918
|
+
colorBlue: 'Blue',
|
|
919
|
+
cropImage: 'Crop',
|
|
920
|
+
cropArea: 'Crop area',
|
|
921
|
+
cropFree: 'Free',
|
|
922
|
+
cropInstructions: 'Drag the box or its corners. With the keyboard: arrows to move, Shift + arrows to resize.',
|
|
923
|
+
cropError: 'The image could not be cropped. If it comes from another domain, its server must allow CORS.',
|
|
924
|
+
exitFullscreen: 'Exit full screen',
|
|
925
|
+
heading4: 'Heading 4',
|
|
926
|
+
fontSize: 'Font size',
|
|
927
|
+
fontNormal: 'Normal',
|
|
928
|
+
textColor: 'Text color',
|
|
929
|
+
highlight: 'Highlight',
|
|
930
|
+
automaticColor: 'Automatic',
|
|
931
|
+
noHighlight: 'No highlight',
|
|
932
|
+
colorBlack: 'Black',
|
|
933
|
+
colorRed: 'Red',
|
|
934
|
+
colorOrange: 'Orange',
|
|
935
|
+
colorYellow: 'Yellow',
|
|
936
|
+
colorTeal: 'Teal',
|
|
937
|
+
colorPurple: 'Purple',
|
|
938
|
+
colorPink: 'Pink',
|
|
939
|
+
subscript: 'Subscript',
|
|
940
|
+
superscript: 'Superscript',
|
|
941
|
+
taskList: 'Task list',
|
|
942
|
+
indent: 'Increase indent',
|
|
943
|
+
outdent: 'Decrease indent',
|
|
944
|
+
alignJustify: 'Justify',
|
|
945
|
+
alignment: 'Alignment',
|
|
946
|
+
wordCount: '{0} words',
|
|
947
|
+
wordCountOne: '{0} word',
|
|
948
|
+
charCount: '{0} characters',
|
|
949
|
+
fontFamily: 'Font',
|
|
950
|
+
fontDefault: 'Default',
|
|
951
|
+
fontGroupRecommended: 'Recommended',
|
|
952
|
+
fontGroupOffice: 'Office classics',
|
|
953
|
+
fontGroupSans: 'Modern sans serif',
|
|
954
|
+
fontGroupSerif: 'Serif',
|
|
955
|
+
fontGroupMono: 'Monospaced for code',
|
|
956
|
+
fontGroupAccessible: 'Accessibility',
|
|
957
|
+
fontGroupFun: 'Fun',
|
|
958
|
+
specialCharacters: 'Special characters',
|
|
959
|
+
charsCurrency: 'Currency',
|
|
960
|
+
charsMath: 'Math',
|
|
961
|
+
charsPunctuation: 'Punctuation and signs',
|
|
962
|
+
charsArrows: 'Arrows',
|
|
963
|
+
charsEmoji: 'Emoji',
|
|
964
|
+
findReplace: 'Find and replace',
|
|
965
|
+
findText: 'Find',
|
|
966
|
+
replaceWith: 'Replace with',
|
|
967
|
+
matchCase: 'Match case',
|
|
968
|
+
wholeWords: 'Whole words',
|
|
969
|
+
findPrevious: 'Previous result',
|
|
970
|
+
findNext: 'Next result',
|
|
971
|
+
replaceOne: 'Replace',
|
|
972
|
+
replaceAll: 'Replace all',
|
|
973
|
+
findCount: '{0} of {1}',
|
|
974
|
+
replacedCount: 'Replacements made: {0}',
|
|
975
|
+
quickFormat: 'Quick formatting',
|
|
976
|
+
insertBlock: 'Insert block',
|
|
977
|
+
paragraph: 'Paragraph',
|
|
978
|
+
};
|
|
979
|
+
/** Idiomas incluidos. */
|
|
980
|
+
const CB_LOCALES = { es: CB_LOCALE_ES, en: CB_LOCALE_EN };
|
|
981
|
+
/** Rellena `{0}`, `{1}`… con los argumentos. */
|
|
982
|
+
function cbFormat(template, ...args) {
|
|
983
|
+
return template.replace(/\{(\d+)\}/g, (m, i) => (args[+i] === undefined ? m : String(args[+i])));
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
/**
|
|
987
|
+
* Idioma de los textos de interfaz de CaribeNG. Se configura con
|
|
988
|
+
* `provideCaribeNG({ locale, translation })` y puede cambiarse en caliente:
|
|
989
|
+
* todos los componentes leen las traducciones como signal.
|
|
990
|
+
*
|
|
991
|
+
* ```ts
|
|
992
|
+
* const locale = inject(CbLocaleService);
|
|
993
|
+
* locale.use('en'); // idioma incluido
|
|
994
|
+
* locale.setTranslation({ close: 'Salir' }); // sobrescribe textos sueltos
|
|
995
|
+
* ```
|
|
996
|
+
*/
|
|
997
|
+
class CbLocaleService {
|
|
998
|
+
constructor() {
|
|
999
|
+
this.config = inject(CB_CONFIG);
|
|
1000
|
+
this.base = signal(resolve(this.config.locale), /* @ts-ignore */
|
|
1001
|
+
...(ngDevMode ? [{ debugName: "base" }] : /* istanbul ignore next */ []));
|
|
1002
|
+
this.overrides = signal(this.config.translation ?? {}, /* @ts-ignore */
|
|
1003
|
+
...(ngDevMode ? [{ debugName: "overrides" }] : /* istanbul ignore next */ []));
|
|
1004
|
+
/** Traducciones activas (idioma base + textos sobrescritos). */
|
|
1005
|
+
this.translation = computed(() => ({ ...this.base(), ...this.overrides() }), /* @ts-ignore */
|
|
1006
|
+
...(ngDevMode ? [{ debugName: "translation" }] : /* istanbul ignore next */ []));
|
|
1007
|
+
}
|
|
1008
|
+
/** Cambia el idioma base (`'es'`, `'en'` o un objeto de traducciones completo). */
|
|
1009
|
+
use(locale) {
|
|
1010
|
+
this.base.set(resolve(locale));
|
|
1011
|
+
}
|
|
1012
|
+
/** Sobrescribe textos sueltos sobre el idioma activo (se acumulan). */
|
|
1013
|
+
setTranslation(translation) {
|
|
1014
|
+
this.overrides.update((current) => ({ ...current, ...translation }));
|
|
1015
|
+
}
|
|
1016
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CbLocaleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1017
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CbLocaleService, providedIn: 'root' }); }
|
|
1018
|
+
}
|
|
1019
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CbLocaleService, decorators: [{
|
|
1020
|
+
type: Injectable,
|
|
1021
|
+
args: [{ providedIn: 'root' }]
|
|
1022
|
+
}] });
|
|
1023
|
+
/** Traducciones activas de CaribeNG como signal (para usar en componentes). */
|
|
1024
|
+
function injectCbTranslation() {
|
|
1025
|
+
return inject(CbLocaleService).translation;
|
|
1026
|
+
}
|
|
1027
|
+
function resolve(locale) {
|
|
1028
|
+
if (!locale)
|
|
1029
|
+
return CB_LOCALES.es;
|
|
1030
|
+
return typeof locale === 'string' ? (CB_LOCALES[locale] ?? CB_LOCALES.es) : locale;
|
|
1031
|
+
}
|
|
1032
|
+
|
|
252
1033
|
/** Control vacío con el que se evalúa si los validadores incluyen `required`. */
|
|
253
1034
|
const EMPTY = new FormControl(null);
|
|
254
1035
|
/**
|
|
@@ -269,6 +1050,7 @@ const EMPTY = new FormControl(null);
|
|
|
269
1050
|
function cbFieldState(manual) {
|
|
270
1051
|
const injector = inject(Injector);
|
|
271
1052
|
const config = inject(CB_CONFIG);
|
|
1053
|
+
const t = injectCbTranslation();
|
|
272
1054
|
// Se incrementa con cada evento del control para recalcular los signals.
|
|
273
1055
|
const version = signal(0, /* @ts-ignore */
|
|
274
1056
|
...(ngDevMode ? [{ debugName: "version" }] : /* istanbul ignore next */ []));
|
|
@@ -300,9 +1082,9 @@ function cbFieldState(manual) {
|
|
|
300
1082
|
if (mode === 'asterisk' && isRequired)
|
|
301
1083
|
return { kind: 'asterisk', text: '*' };
|
|
302
1084
|
if (mode === 'text' && isRequired)
|
|
303
|
-
return { kind: 'required', text: `(${config.requiredText})` };
|
|
1085
|
+
return { kind: 'required', text: `(${config.requiredText ?? t().required})` };
|
|
304
1086
|
if (mode === 'optional' && !isRequired)
|
|
305
|
-
return { kind: 'optional', text: `(${config.optionalText})` };
|
|
1087
|
+
return { kind: 'optional', text: `(${config.optionalText ?? t().optional})` };
|
|
306
1088
|
return null;
|
|
307
1089
|
}),
|
|
308
1090
|
invalid: computed(() => {
|
|
@@ -314,6 +1096,47 @@ function cbFieldState(manual) {
|
|
|
314
1096
|
};
|
|
315
1097
|
}
|
|
316
1098
|
|
|
1099
|
+
/**
|
|
1100
|
+
* Gestión de foco de overlays (diálogos, paneles, popovers), según WAI-ARIA:
|
|
1101
|
+
* al abrirse, recuerda el elemento enfocado y mueve el foco a `initialFocus`;
|
|
1102
|
+
* al cerrarse, devuelve el foco al elemento que lo tenía.
|
|
1103
|
+
*
|
|
1104
|
+
* Debe llamarse en un contexto de inyección (constructor o inicializador de campo).
|
|
1105
|
+
*
|
|
1106
|
+
* @example
|
|
1107
|
+
* ```ts
|
|
1108
|
+
* readonly visible = model(false);
|
|
1109
|
+
* private readonly closeBtn = viewChild<ElementRef<HTMLButtonElement>>('closeBtn');
|
|
1110
|
+
* constructor() {
|
|
1111
|
+
* cbOverlayFocus({ open: this.visible, initialFocus: () => this.closeBtn()?.nativeElement });
|
|
1112
|
+
* }
|
|
1113
|
+
* ```
|
|
1114
|
+
*/
|
|
1115
|
+
function cbOverlayFocus(options) {
|
|
1116
|
+
const injector = inject(Injector);
|
|
1117
|
+
const document = inject(DOCUMENT);
|
|
1118
|
+
let previous = null;
|
|
1119
|
+
let wasOpen = false;
|
|
1120
|
+
effect(() => {
|
|
1121
|
+
const open = options.open();
|
|
1122
|
+
if (open === wasOpen)
|
|
1123
|
+
return;
|
|
1124
|
+
wasOpen = open;
|
|
1125
|
+
untracked(() => {
|
|
1126
|
+
if (open) {
|
|
1127
|
+
previous = document.activeElement;
|
|
1128
|
+
afterNextRender(() => options.initialFocus()?.focus(), { injector });
|
|
1129
|
+
}
|
|
1130
|
+
else {
|
|
1131
|
+
const target = previous;
|
|
1132
|
+
previous = null;
|
|
1133
|
+
if (target?.isConnected)
|
|
1134
|
+
afterNextRender(() => target.focus(), { injector });
|
|
1135
|
+
}
|
|
1136
|
+
});
|
|
1137
|
+
});
|
|
1138
|
+
}
|
|
1139
|
+
|
|
317
1140
|
/*
|
|
318
1141
|
* Public API Surface de @caribeng/ui (entry point primario: núcleo + tema)
|
|
319
1142
|
*/
|
|
@@ -322,4 +1145,4 @@ function cbFieldState(manual) {
|
|
|
322
1145
|
* Generated bundle index. Do not edit.
|
|
323
1146
|
*/
|
|
324
1147
|
|
|
325
|
-
export { CB_COLOR_PRESETS, CB_CONFIG, CB_DEFAULT_CONFIG, CbThemeService, cbFieldState, provideCaribeNG };
|
|
1148
|
+
export { CB_COLOR_PRESETS, CB_CONFIG, CB_DEFAULT_CONFIG, CB_LOCALES, CB_LOCALE_EN, CB_LOCALE_ES, CbLocaleService, CbThemeService, cbFieldState, cbFormat, cbOverlayFocus, injectCbTranslation, provideCaribeNG };
|