@nocopypaste/vue-grid 0.10.0 → 0.11.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.
@@ -0,0 +1,151 @@
1
+ import { packHelpers as e } from "./plural.js";
2
+ // src/locales/es.ts
3
+ var { num: t, plural: n } = e("es"), r = (e, t) => n(e, {
4
+ one: "# fila",
5
+ other: "# filas"
6
+ }, t), i = {
7
+ loading: "Cargando…",
8
+ empty: "No hay datos para mostrar.",
9
+ noMatch: "Ninguna fila coincide con los filtros actuales.",
10
+ clearFilters: "Borrar filtros",
11
+ loadError: "No se pudieron cargar las filas.",
12
+ staleRows: "Estos datos no están actualizados.",
13
+ retry: "Reintentar",
14
+ subRowsError: "No se pudieron cargar las filas.",
15
+ total: "Total",
16
+ blank: "(vacío)",
17
+ groupRowCount: (e) => r(e),
18
+ selectAllRows: "Seleccionar todas las filas",
19
+ selectRow: "Seleccionar fila",
20
+ selectGroup: "Seleccionar grupo",
21
+ pageSelected: (e) => n(e, {
22
+ one: "La fila de esta página está seleccionada.",
23
+ other: "Las # filas de esta página están seleccionadas."
24
+ }),
25
+ selectAllMatching: (e) => `Seleccionar las ${t(e)} filas`,
26
+ allSelected: (e) => n(e, {
27
+ one: "La fila está seleccionada.",
28
+ other: "Las # filas están seleccionadas."
29
+ }),
30
+ clearSelection: "Borrar selección",
31
+ expandRow: "Expandir fila",
32
+ collapseRow: "Contraer fila",
33
+ expandGroup: "Expandir grupo",
34
+ collapseGroup: "Contraer grupo",
35
+ columnMenu: (e) => `Columna ${e}`,
36
+ rowActions: "Acciones de la fila",
37
+ sortAscending: "Orden ascendente",
38
+ sortDescending: "Orden descendente",
39
+ clearSort: "Quitar orden",
40
+ thenSortAscending: "Después, orden ascendente",
41
+ thenSortDescending: "Después, orden descendente",
42
+ sortPosition: (e, t, n) => `, orden ${e} de ${n}, ${t === "asc" ? "ascendente" : "descendente"}`,
43
+ filterMenu: "Filtrar…",
44
+ clearFilter: "Quitar filtro",
45
+ clearAllFilters: "Quitar todos los filtros",
46
+ groupBy: (e) => `Agrupar por ${e}`,
47
+ ungroup: "Desagrupar",
48
+ ungroupAll: "Desagrupar todo",
49
+ pinLeft: "Fijar a la izquierda",
50
+ pinRight: "Fijar a la derecha",
51
+ unpin: "Desfijar",
52
+ moveLeft: "Mover a la izquierda",
53
+ moveRight: "Mover a la derecha",
54
+ fitWidth: "Ajustar ancho",
55
+ resetWidth: "Restablecer ancho",
56
+ hideColumn: "Ocultar columna",
57
+ resetColumns: "Restablecer columnas",
58
+ resizeColumn: (e) => `Cambiar el ancho de ${e}`,
59
+ columns: "Columnas",
60
+ filterColumns: "Filtrar columnas…",
61
+ noMatchingColumns: "Ninguna columna coincide",
62
+ menu: "Menú",
63
+ filterColumn: (e) => `Filtrar ${e}`,
64
+ filterColumnActive: (e) => `Filtrar ${e} (activo)`,
65
+ filterPlaceholder: "Filtrar…",
66
+ filterSummary: (e, t) => `Filtro ${e}: ${t}`,
67
+ customFilter: "Personalizado",
68
+ valuesSelected: (e) => n(e, {
69
+ one: "# seleccionado",
70
+ other: "# seleccionados"
71
+ }),
72
+ filterCondition: (e) => `${e}: condición`,
73
+ filterValue: "Valor",
74
+ filterFrom: (e) => `${e}: desde`,
75
+ filterTo: (e) => `${e}: hasta`,
76
+ opContains: "Contiene",
77
+ opNotContains: "No contiene",
78
+ opEquals: "Es igual a",
79
+ opNotEquals: "No es igual a",
80
+ opStartsWith: "Empieza por",
81
+ opEndsWith: "Termina en",
82
+ opEmpty: "Está vacío",
83
+ opNotEmpty: "No está vacío",
84
+ opBetween: "Entre",
85
+ opOn: "El",
86
+ opBefore: "Antes de",
87
+ opAfter: "Después de",
88
+ any: "Cualquiera",
89
+ yes: "Sí",
90
+ no: "No",
91
+ emptyValue: "Vacío",
92
+ blanks: "(Vacíos)",
93
+ searchValues: "Buscar valores",
94
+ all: "Todo",
95
+ allShown: "Todo lo mostrado",
96
+ moreValues: (e) => n(e, {
97
+ one: "# más: busque para acotar la lista",
98
+ other: "# más: busque para acotar la lista"
99
+ }),
100
+ noMatchingValues: "Ningún valor coincide",
101
+ searchPlaceholder: "Buscar…",
102
+ searchLabel: "Buscar filas",
103
+ pagination: "Paginación",
104
+ rowsPerPage: "Filas por página",
105
+ pageSize: (e) => `${e} / página`,
106
+ pageSummary: (e, t, n) => `${e}–${t} de ${n}`,
107
+ firstPage: "Primera página",
108
+ previousPage: "Página anterior",
109
+ nextPage: "Página siguiente",
110
+ lastPage: "Última página",
111
+ page: (e) => `Página ${e}`,
112
+ statusBar: "Estado de la tabla",
113
+ rowCount: (e, t, n, i) => t === void 0 ? r(n, e) : `${e} de ${r(i ?? n, t)}`,
114
+ selectedCount: (e, t, r) => t ? n(r, {
115
+ one: "# seleccionada",
116
+ other: "Todas seleccionadas (#)"
117
+ }, e) : n(r, {
118
+ one: "# seleccionada",
119
+ other: "# seleccionadas"
120
+ }, e),
121
+ filterCount: (e) => n(e, {
122
+ one: "# filtro",
123
+ other: "# filtros"
124
+ }),
125
+ clear: "Borrar",
126
+ sum: "Suma",
127
+ average: "Promedio",
128
+ min: "Mín.",
129
+ max: "Máx.",
130
+ editCell: (e) => `Editar ${e}`,
131
+ editNotANumber: "Introduzca un número.",
132
+ editOutOfRange: (e, n) => e !== void 0 && n !== void 0 ? `Introduzca un número entre ${t(e)} y ${t(n)}.` : e === void 0 ? `Introduzca un número menor o igual que ${t(n ?? 0)}.` : `Introduzca un número mayor o igual que ${t(e)}.`,
133
+ editSaveFailed: "No se pudo guardar el cambio.",
134
+ editSaving: "Guardando…",
135
+ view: "Ver",
136
+ close: "Cerrar",
137
+ copy: "Copiar",
138
+ copied: "Copiado",
139
+ actions: "Acciones",
140
+ details: "Detalles",
141
+ moreInfo: "Más información",
142
+ moreItems: (e) => `+${t(e)} más`,
143
+ showLess: "Mostrar menos",
144
+ increased: "Aumentó",
145
+ decreased: "Disminuyó",
146
+ toggle: "Alternar",
147
+ edit: "Editar"
148
+ };
149
+ export { i as default, i as es };
150
+
151
+ //# sourceMappingURL=es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"es.js","names":["packHelpers","rows","plural","n","shown","es","count","num","total","column","position","dir","summary","size","from","to","page","totalCount","all","amount","min","max"],"sources":["../../src/locales/es.ts"],"sourcesContent":["import type { GridMessages } from '../types'\nimport { packHelpers } from './plural'\n\nconst { num, plural } = packHelpers('es')\nconst rows = (n: number, shown?: string) => plural(n, { one: '# fila', other: '# filas' }, shown)\n\n/** Español. `messages: es` (per grid) or `createVueGrid({ messages: es })`. */\nexport const es = {\n loading: 'Cargando…',\n empty: 'No hay datos para mostrar.',\n noMatch: 'Ninguna fila coincide con los filtros actuales.',\n clearFilters: 'Borrar filtros',\n loadError: 'No se pudieron cargar las filas.',\n staleRows: 'Estos datos no están actualizados.',\n retry: 'Reintentar',\n subRowsError: 'No se pudieron cargar las filas.',\n total: 'Total',\n blank: '(vacío)',\n groupRowCount: (count) => rows(count),\n\n selectAllRows: 'Seleccionar todas las filas',\n selectRow: 'Seleccionar fila',\n selectGroup: 'Seleccionar grupo',\n pageSelected: (count) =>\n plural(count, {\n one: 'La fila de esta página está seleccionada.',\n other: 'Las # filas de esta página están seleccionadas.',\n }),\n selectAllMatching: (total) => `Seleccionar las ${num(total)} filas`,\n allSelected: (total) =>\n plural(total, {\n one: 'La fila está seleccionada.',\n other: 'Las # filas están seleccionadas.',\n }),\n clearSelection: 'Borrar selección',\n expandRow: 'Expandir fila',\n collapseRow: 'Contraer fila',\n expandGroup: 'Expandir grupo',\n collapseGroup: 'Contraer grupo',\n\n columnMenu: (column) => `Columna ${column}`,\n rowActions: 'Acciones de la fila',\n sortAscending: 'Orden ascendente',\n sortDescending: 'Orden descendente',\n clearSort: 'Quitar orden',\n thenSortAscending: 'Después, orden ascendente',\n thenSortDescending: 'Después, orden descendente',\n sortPosition: (position, dir, count) =>\n `, orden ${position} de ${count}, ${dir === 'asc' ? 'ascendente' : 'descendente'}`,\n filterMenu: 'Filtrar…',\n clearFilter: 'Quitar filtro',\n clearAllFilters: 'Quitar todos los filtros',\n groupBy: (column) => `Agrupar por ${column}`,\n ungroup: 'Desagrupar',\n ungroupAll: 'Desagrupar todo',\n pinLeft: 'Fijar a la izquierda',\n pinRight: 'Fijar a la derecha',\n unpin: 'Desfijar',\n moveLeft: 'Mover a la izquierda',\n moveRight: 'Mover a la derecha',\n fitWidth: 'Ajustar ancho',\n resetWidth: 'Restablecer ancho',\n hideColumn: 'Ocultar columna',\n resetColumns: 'Restablecer columnas',\n resizeColumn: (column) => `Cambiar el ancho de ${column}`,\n columns: 'Columnas',\n filterColumns: 'Filtrar columnas…',\n noMatchingColumns: 'Ninguna columna coincide',\n menu: 'Menú',\n\n filterColumn: (column) => `Filtrar ${column}`,\n filterColumnActive: (column) => `Filtrar ${column} (activo)`,\n filterPlaceholder: 'Filtrar…',\n filterSummary: (column, summary) => `Filtro ${column}: ${summary}`,\n customFilter: 'Personalizado',\n valuesSelected: (count) => plural(count, { one: '# seleccionado', other: '# seleccionados' }),\n filterCondition: (column) => `${column}: condición`,\n filterValue: 'Valor',\n filterFrom: (column) => `${column}: desde`,\n filterTo: (column) => `${column}: hasta`,\n opContains: 'Contiene',\n opNotContains: 'No contiene',\n opEquals: 'Es igual a',\n opNotEquals: 'No es igual a',\n opStartsWith: 'Empieza por',\n opEndsWith: 'Termina en',\n opEmpty: 'Está vacío',\n opNotEmpty: 'No está vacío',\n opBetween: 'Entre',\n opOn: 'El',\n opBefore: 'Antes de',\n opAfter: 'Después de',\n any: 'Cualquiera',\n yes: 'Sí',\n no: 'No',\n emptyValue: 'Vacío',\n blanks: '(Vacíos)',\n searchValues: 'Buscar valores',\n all: 'Todo',\n allShown: 'Todo lo mostrado',\n moreValues: (count) =>\n plural(count, {\n one: '# más: busque para acotar la lista',\n other: '# más: busque para acotar la lista',\n }),\n noMatchingValues: 'Ningún valor coincide',\n searchPlaceholder: 'Buscar…',\n searchLabel: 'Buscar filas',\n\n pagination: 'Paginación',\n rowsPerPage: 'Filas por página',\n pageSize: (size) => `${size} / página`,\n pageSummary: (from, to, total) => `${from}–${to} de ${total}`,\n firstPage: 'Primera página',\n previousPage: 'Página anterior',\n nextPage: 'Página siguiente',\n lastPage: 'Última página',\n page: (page) => `Página ${page}`,\n\n statusBar: 'Estado de la tabla',\n rowCount: (shown, total, count, totalCount) =>\n total === undefined ? rows(count, shown) : `${shown} de ${rows(totalCount ?? count, total)}`,\n selectedCount: (count, all, amount) =>\n all\n ? plural(amount, { one: '# seleccionada', other: 'Todas seleccionadas (#)' }, count)\n : plural(amount, { one: '# seleccionada', other: '# seleccionadas' }, count),\n filterCount: (count) => plural(count, { one: '# filtro', other: '# filtros' }),\n clear: 'Borrar',\n sum: 'Suma',\n average: 'Promedio',\n min: 'Mín.',\n max: 'Máx.',\n\n editCell: (column) => `Editar ${column}`,\n editNotANumber: 'Introduzca un número.',\n editOutOfRange: (min, max) =>\n min !== undefined && max !== undefined\n ? `Introduzca un número entre ${num(min)} y ${num(max)}.`\n : min !== undefined\n ? `Introduzca un número mayor o igual que ${num(min)}.`\n : `Introduzca un número menor o igual que ${num(max ?? 0)}.`,\n editSaveFailed: 'No se pudo guardar el cambio.',\n editSaving: 'Guardando…',\n\n view: 'Ver',\n close: 'Cerrar',\n copy: 'Copiar',\n copied: 'Copiado',\n actions: 'Acciones',\n details: 'Detalles',\n moreInfo: 'Más información',\n moreItems: (count) => `+${num(count)} más`,\n showLess: 'Mostrar menos',\n increased: 'Aumentó',\n decreased: 'Disminuyó',\n toggle: 'Alternar',\n edit: 'Editar',\n} satisfies Required<GridMessages>\n\nexport default es\n"],"mappings":";;AAGA,IAAM,EAAE,QAAK,cAAWA,EAAY,IAAI,GAClCC,KAAQ,GAAW,MAAmBC,EAAOC,GAAG;CAAE,KAAK;CAAU,OAAO;AAAU,GAAGC,CAAK,GAGnFC,IAAK;CAChB,SAAS;CACT,OAAO;CACP,SAAS;CACT,cAAc;CACd,WAAW;CACX,WAAW;CACX,OAAO;CACP,cAAc;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AAE;CACrC,UAAU;CACV,WAAW;CACX,WAAW;CACX,QAAQ;CACR,MAAM;AACR"}
@@ -0,0 +1,151 @@
1
+ import { packHelpers as e } from "./plural.js";
2
+ // src/locales/fr.ts
3
+ var { num: t, plural: n } = e("fr"), r = (e, t) => n(e, {
4
+ one: "# ligne",
5
+ other: "# lignes"
6
+ }, t), i = {
7
+ loading: "Chargement…",
8
+ empty: "Aucune donnée à afficher.",
9
+ noMatch: "Aucune ligne ne correspond aux filtres actuels.",
10
+ clearFilters: "Effacer les filtres",
11
+ loadError: "Impossible de charger les lignes.",
12
+ staleRows: "Ces données ne sont pas à jour.",
13
+ retry: "Réessayer",
14
+ subRowsError: "Impossible de charger les lignes.",
15
+ total: "Total",
16
+ blank: "(vide)",
17
+ groupRowCount: (e) => r(e),
18
+ selectAllRows: "Sélectionner toutes les lignes",
19
+ selectRow: "Sélectionner la ligne",
20
+ selectGroup: "Sélectionner le groupe",
21
+ pageSelected: (e) => n(e, {
22
+ one: "La ligne de cette page est sélectionnée.",
23
+ other: "Les # lignes de cette page sont sélectionnées."
24
+ }),
25
+ selectAllMatching: (e) => `Sélectionner les ${t(e)} lignes`,
26
+ allSelected: (e) => n(e, {
27
+ one: "La ligne est sélectionnée.",
28
+ other: "Les # lignes sont sélectionnées."
29
+ }),
30
+ clearSelection: "Effacer la sélection",
31
+ expandRow: "Développer la ligne",
32
+ collapseRow: "Réduire la ligne",
33
+ expandGroup: "Développer le groupe",
34
+ collapseGroup: "Réduire le groupe",
35
+ columnMenu: (e) => `Colonne ${e}`,
36
+ rowActions: "Actions sur la ligne",
37
+ sortAscending: "Trier par ordre croissant",
38
+ sortDescending: "Trier par ordre décroissant",
39
+ clearSort: "Annuler le tri",
40
+ thenSortAscending: "Puis trier par ordre croissant",
41
+ thenSortDescending: "Puis trier par ordre décroissant",
42
+ sortPosition: (e, t, n) => `, tri ${e} sur ${n}, ${t === "asc" ? "croissant" : "décroissant"}`,
43
+ filterMenu: "Filtrer…",
44
+ clearFilter: "Effacer le filtre",
45
+ clearAllFilters: "Effacer tous les filtres",
46
+ groupBy: (e) => `Grouper par ${e}`,
47
+ ungroup: "Dégrouper",
48
+ ungroupAll: "Tout dégrouper",
49
+ pinLeft: "Épingler à gauche",
50
+ pinRight: "Épingler à droite",
51
+ unpin: "Désépingler",
52
+ moveLeft: "Déplacer vers la gauche",
53
+ moveRight: "Déplacer vers la droite",
54
+ fitWidth: "Ajuster la largeur",
55
+ resetWidth: "Rétablir la largeur",
56
+ hideColumn: "Masquer la colonne",
57
+ resetColumns: "Rétablir les colonnes",
58
+ resizeColumn: (e) => `Redimensionner ${e}`,
59
+ columns: "Colonnes",
60
+ filterColumns: "Filtrer les colonnes…",
61
+ noMatchingColumns: "Aucune colonne correspondante",
62
+ menu: "Menu",
63
+ filterColumn: (e) => `Filtrer ${e}`,
64
+ filterColumnActive: (e) => `Filtrer ${e} (actif)`,
65
+ filterPlaceholder: "Filtrer…",
66
+ filterSummary: (e, t) => `Filtre ${e} : ${t}`,
67
+ customFilter: "Personnalisé",
68
+ valuesSelected: (e) => n(e, {
69
+ one: "# sélectionnée",
70
+ other: "# sélectionnées"
71
+ }),
72
+ filterCondition: (e) => `${e} : condition`,
73
+ filterValue: "Valeur",
74
+ filterFrom: (e) => `${e} : de`,
75
+ filterTo: (e) => `${e} : à`,
76
+ opContains: "Contient",
77
+ opNotContains: "Ne contient pas",
78
+ opEquals: "Égal à",
79
+ opNotEquals: "Différent de",
80
+ opStartsWith: "Commence par",
81
+ opEndsWith: "Se termine par",
82
+ opEmpty: "Est vide",
83
+ opNotEmpty: "N'est pas vide",
84
+ opBetween: "Entre",
85
+ opOn: "Le",
86
+ opBefore: "Avant",
87
+ opAfter: "Après",
88
+ any: "Tous",
89
+ yes: "Oui",
90
+ no: "Non",
91
+ emptyValue: "Vide",
92
+ blanks: "(Vides)",
93
+ searchValues: "Rechercher des valeurs",
94
+ all: "Tout",
95
+ allShown: "Tout ce qui est affiché",
96
+ moreValues: (e) => n(e, {
97
+ one: "# autre – recherchez pour réduire la liste",
98
+ other: "# autres – recherchez pour réduire la liste"
99
+ }),
100
+ noMatchingValues: "Aucune valeur correspondante",
101
+ searchPlaceholder: "Rechercher…",
102
+ searchLabel: "Rechercher des lignes",
103
+ pagination: "Pagination",
104
+ rowsPerPage: "Lignes par page",
105
+ pageSize: (e) => `${e} / page`,
106
+ pageSummary: (e, t, n) => `${e}–${t} sur ${n}`,
107
+ firstPage: "Première page",
108
+ previousPage: "Page précédente",
109
+ nextPage: "Page suivante",
110
+ lastPage: "Dernière page",
111
+ page: (e) => `Page ${e}`,
112
+ statusBar: "État de la grille",
113
+ rowCount: (e, t, n, i) => t === void 0 ? r(n, e) : `${e} sur ${r(i ?? n, t)}`,
114
+ selectedCount: (e, t, r) => t ? n(r, {
115
+ one: "# sélectionnée",
116
+ other: "Toutes sélectionnées (#)"
117
+ }, e) : n(r, {
118
+ one: "# sélectionnée",
119
+ other: "# sélectionnées"
120
+ }, e),
121
+ filterCount: (e) => n(e, {
122
+ one: "# filtre",
123
+ other: "# filtres"
124
+ }),
125
+ clear: "Effacer",
126
+ sum: "Somme",
127
+ average: "Moyenne",
128
+ min: "Min.",
129
+ max: "Max.",
130
+ editCell: (e) => `Modifier ${e}`,
131
+ editNotANumber: "Saisissez un nombre.",
132
+ editOutOfRange: (e, n) => e !== void 0 && n !== void 0 ? `Saisissez un nombre entre ${t(e)} et ${t(n)}.` : e === void 0 ? `Saisissez un nombre inférieur ou égal à ${t(n ?? 0)}.` : `Saisissez un nombre supérieur ou égal à ${t(e)}.`,
133
+ editSaveFailed: "Impossible d'enregistrer la modification.",
134
+ editSaving: "Enregistrement…",
135
+ view: "Voir",
136
+ close: "Fermer",
137
+ copy: "Copier",
138
+ copied: "Copié",
139
+ actions: "Actions",
140
+ details: "Détails",
141
+ moreInfo: "Plus d'informations",
142
+ moreItems: (e) => `+${t(e)} de plus`,
143
+ showLess: "Afficher moins",
144
+ increased: "En hausse",
145
+ decreased: "En baisse",
146
+ toggle: "Basculer",
147
+ edit: "Modifier"
148
+ };
149
+ export { i as default, i as fr };
150
+
151
+ //# sourceMappingURL=fr.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fr.js","names":["packHelpers","rows","plural","n","shown","fr","count","num","total","column","position","dir","summary","size","from","to","page","totalCount","all","amount","min","max"],"sources":["../../src/locales/fr.ts"],"sourcesContent":["import type { GridMessages } from '../types'\nimport { packHelpers } from './plural'\n\nconst { num, plural } = packHelpers('fr')\nconst rows = (n: number, shown?: string) => plural(n, { one: '# ligne', other: '# lignes' }, shown)\n\n/** Français. `messages: fr` (per grid) or `createVueGrid({ messages: fr })`. */\nexport const fr = {\n loading: 'Chargement…',\n empty: 'Aucune donnée à afficher.',\n noMatch: 'Aucune ligne ne correspond aux filtres actuels.',\n clearFilters: 'Effacer les filtres',\n loadError: 'Impossible de charger les lignes.',\n staleRows: 'Ces données ne sont pas à jour.',\n retry: 'Réessayer',\n subRowsError: 'Impossible de charger les lignes.',\n total: 'Total',\n blank: '(vide)',\n groupRowCount: (count) => rows(count),\n\n selectAllRows: 'Sélectionner toutes les lignes',\n selectRow: 'Sélectionner la ligne',\n selectGroup: 'Sélectionner le groupe',\n pageSelected: (count) =>\n plural(count, {\n one: 'La ligne de cette page est sélectionnée.',\n other: 'Les # lignes de cette page sont sélectionnées.',\n }),\n selectAllMatching: (total) => `Sélectionner les ${num(total)} lignes`,\n allSelected: (total) =>\n plural(total, {\n one: 'La ligne est sélectionnée.',\n other: 'Les # lignes sont sélectionnées.',\n }),\n clearSelection: 'Effacer la sélection',\n expandRow: 'Développer la ligne',\n collapseRow: 'Réduire la ligne',\n expandGroup: 'Développer le groupe',\n collapseGroup: 'Réduire le groupe',\n\n columnMenu: (column) => `Colonne ${column}`,\n rowActions: 'Actions sur la ligne',\n sortAscending: 'Trier par ordre croissant',\n sortDescending: 'Trier par ordre décroissant',\n clearSort: 'Annuler le tri',\n thenSortAscending: 'Puis trier par ordre croissant',\n thenSortDescending: 'Puis trier par ordre décroissant',\n sortPosition: (position, dir, count) =>\n `, tri ${position} sur ${count}, ${dir === 'asc' ? 'croissant' : 'décroissant'}`,\n filterMenu: 'Filtrer…',\n clearFilter: 'Effacer le filtre',\n clearAllFilters: 'Effacer tous les filtres',\n groupBy: (column) => `Grouper par ${column}`,\n ungroup: 'Dégrouper',\n ungroupAll: 'Tout dégrouper',\n pinLeft: 'Épingler à gauche',\n pinRight: 'Épingler à droite',\n unpin: 'Désépingler',\n moveLeft: 'Déplacer vers la gauche',\n moveRight: 'Déplacer vers la droite',\n fitWidth: 'Ajuster la largeur',\n resetWidth: 'Rétablir la largeur',\n hideColumn: 'Masquer la colonne',\n resetColumns: 'Rétablir les colonnes',\n resizeColumn: (column) => `Redimensionner ${column}`,\n columns: 'Colonnes',\n filterColumns: 'Filtrer les colonnes…',\n noMatchingColumns: 'Aucune colonne correspondante',\n menu: 'Menu',\n\n filterColumn: (column) => `Filtrer ${column}`,\n filterColumnActive: (column) => `Filtrer ${column} (actif)`,\n filterPlaceholder: 'Filtrer…',\n filterSummary: (column, summary) => `Filtre ${column} : ${summary}`,\n customFilter: 'Personnalisé',\n valuesSelected: (count) => plural(count, { one: '# sélectionnée', other: '# sélectionnées' }),\n filterCondition: (column) => `${column} : condition`,\n filterValue: 'Valeur',\n filterFrom: (column) => `${column} : de`,\n filterTo: (column) => `${column} : à`,\n opContains: 'Contient',\n opNotContains: 'Ne contient pas',\n opEquals: 'Égal à',\n opNotEquals: 'Différent de',\n opStartsWith: 'Commence par',\n opEndsWith: 'Se termine par',\n opEmpty: 'Est vide',\n opNotEmpty: \"N'est pas vide\",\n opBetween: 'Entre',\n opOn: 'Le',\n opBefore: 'Avant',\n opAfter: 'Après',\n any: 'Tous',\n yes: 'Oui',\n no: 'Non',\n emptyValue: 'Vide',\n blanks: '(Vides)',\n searchValues: 'Rechercher des valeurs',\n all: 'Tout',\n allShown: 'Tout ce qui est affiché',\n moreValues: (count) =>\n plural(count, {\n one: '# autre – recherchez pour réduire la liste',\n other: '# autres – recherchez pour réduire la liste',\n }),\n noMatchingValues: 'Aucune valeur correspondante',\n searchPlaceholder: 'Rechercher…',\n searchLabel: 'Rechercher des lignes',\n\n pagination: 'Pagination',\n rowsPerPage: 'Lignes par page',\n pageSize: (size) => `${size} / page`,\n pageSummary: (from, to, total) => `${from}–${to} sur ${total}`,\n firstPage: 'Première page',\n previousPage: 'Page précédente',\n nextPage: 'Page suivante',\n lastPage: 'Dernière page',\n page: (page) => `Page ${page}`,\n\n statusBar: 'État de la grille',\n rowCount: (shown, total, count, totalCount) =>\n total === undefined ? rows(count, shown) : `${shown} sur ${rows(totalCount ?? count, total)}`,\n selectedCount: (count, all, amount) =>\n all\n ? plural(amount, { one: '# sélectionnée', other: 'Toutes sélectionnées (#)' }, count)\n : plural(amount, { one: '# sélectionnée', other: '# sélectionnées' }, count),\n filterCount: (count) => plural(count, { one: '# filtre', other: '# filtres' }),\n clear: 'Effacer',\n sum: 'Somme',\n average: 'Moyenne',\n min: 'Min.',\n max: 'Max.',\n\n editCell: (column) => `Modifier ${column}`,\n editNotANumber: 'Saisissez un nombre.',\n editOutOfRange: (min, max) =>\n min !== undefined && max !== undefined\n ? `Saisissez un nombre entre ${num(min)} et ${num(max)}.`\n : min !== undefined\n ? `Saisissez un nombre supérieur ou égal à ${num(min)}.`\n : `Saisissez un nombre inférieur ou égal à ${num(max ?? 0)}.`,\n editSaveFailed: \"Impossible d'enregistrer la modification.\",\n editSaving: 'Enregistrement…',\n\n view: 'Voir',\n close: 'Fermer',\n copy: 'Copier',\n copied: 'Copié',\n actions: 'Actions',\n details: 'Détails',\n moreInfo: \"Plus d'informations\",\n moreItems: (count) => `+${num(count)} de plus`,\n showLess: 'Afficher moins',\n increased: 'En hausse',\n decreased: 'En baisse',\n toggle: 'Basculer',\n edit: 'Modifier',\n} satisfies Required<GridMessages>\n\nexport default fr\n"],"mappings":";;AAGA,IAAM,EAAE,QAAK,cAAWA,EAAY,IAAI,GAClCC,KAAQ,G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AA2Cd,EAAIa,CAAG,EAAE;CAE5D,gBAAgB;CAChB,YAAY;CAEZ,MAAM;CACN,OAAO;CACP,MAAM;CACN,QAAQ;CACR,SAAS;CACT,SAAS;CACT,UAAU;CACV,YAAY,MAAU,IAAIb,EAAID,CAAK,EAAE;CACrC,UAAU;CACV,WAAW;CACX,WAAW;CACX,QAAQ;CACR,MAAM;AACR"}
@@ -0,0 +1,11 @@
1
+ // src/locales/plural.ts
2
+ function e(e) {
3
+ let t = new Intl.PluralRules(e), n = new Intl.NumberFormat(e), r = (e) => n.format(e);
4
+ return {
5
+ num: r,
6
+ plural: (e, n, i = r(e)) => (n[t.select(e)] ?? n.other).replaceAll("#", i)
7
+ };
8
+ }
9
+ export { e as packHelpers };
10
+
11
+ //# sourceMappingURL=plural.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plural.js","names":["packHelpers","rules","lang","numbers","num","n","count","forms","shown"],"sources":["../../src/locales/plural.ts"],"sourcesContent":["/**\n * Helpers shared by the language packs: a number in the pack's language, and the plural form a\n * count takes there (`Intl.PluralRules`: `one`, `few`, `many`, `other`…).\n */\nexport type PluralForms = Partial<Record<Intl.LDMLPluralRule, string>> & { other: string }\n\nexport function packHelpers(lang: string) {\n const rules = new Intl.PluralRules(lang)\n const numbers = new Intl.NumberFormat(lang)\n /** `n` in the language's digits and separators. */\n const num = (n: number) => numbers.format(n)\n /** The form for `count`, with `#` replaced by the count (or by `shown` when given). */\n const plural = (count: number, forms: PluralForms, shown: string = num(count)) =>\n (forms[rules.select(count)] ?? forms.other).replaceAll('#', shown)\n return { num, plural }\n}\n"],"mappings":";AAMA,SAAgBA,EAAY,GAAc;CACxC,IAAMC,IAAQ,IAAI,KAAK,YAAYC,CAAI,GACjCC,IAAU,IAAI,KAAK,aAAaD,CAAI,GAEpCE,KAAO,MAAcD,EAAQ,OAAOE,CAAC;CAI3C,OAAO;EAAE;EAAK,SAFE,GAAe,GAAoB,IAAgBD,EAAIE,CAAK,OACzEC,EAAMN,EAAM,OAAOK,CAAK,MAAMC,EAAM,MAAA,CAAO,WAAW,KAAKC,CAAK;CAC9C;AACvB"}
@@ -0,0 +1,135 @@
1
+ import { packHelpers as e } from "./plural.js";
2
+ // src/locales/sr-Latn.ts
3
+ var { num: t, plural: n } = e("sr-Latn"), r = (e, t) => n(e, {
4
+ one: "# red",
5
+ few: "# reda",
6
+ other: "# redova"
7
+ }, t), i = {
8
+ loading: "Učitavanje…",
9
+ empty: "Nema podataka za prikaz.",
10
+ noMatch: "Nijedan red ne odgovara trenutnim filterima.",
11
+ clearFilters: "Obriši filtere",
12
+ loadError: "Redovi nisu mogli da se učitaju.",
13
+ staleRows: "Ovi podaci nisu ažurni.",
14
+ retry: "Pokušaj ponovo",
15
+ subRowsError: "Redovi nisu mogli da se učitaju.",
16
+ total: "Ukupno",
17
+ blank: "(prazno)",
18
+ groupRowCount: (e) => r(e),
19
+ selectAllRows: "Izaberi sve redove",
20
+ selectRow: "Izaberi red",
21
+ selectGroup: "Izaberi grupu",
22
+ pageSelected: (e) => `Izabrani su svi redovi na ovoj strani (${t(e)}).`,
23
+ selectAllMatching: (e) => `Izaberi sve redove (${t(e)})`,
24
+ allSelected: (e) => `Izabrani su svi redovi (${t(e)}).`,
25
+ clearSelection: "Poništi izbor",
26
+ expandRow: "Proširi red",
27
+ collapseRow: "Skupi red",
28
+ expandGroup: "Proširi grupu",
29
+ collapseGroup: "Skupi grupu",
30
+ columnMenu: (e) => `Kolona ${e}`,
31
+ rowActions: "Radnje za red",
32
+ sortAscending: "Sortiraj rastuće",
33
+ sortDescending: "Sortiraj opadajuće",
34
+ clearSort: "Ukloni sortiranje",
35
+ thenSortAscending: "Zatim sortiraj rastuće",
36
+ thenSortDescending: "Zatim sortiraj opadajuće",
37
+ sortPosition: (e, t, n) => `, sortiranje ${e} od ${n}, ${t === "asc" ? "rastuće" : "opadajuće"}`,
38
+ filterMenu: "Filtriraj…",
39
+ clearFilter: "Ukloni filter",
40
+ clearAllFilters: "Ukloni sve filtere",
41
+ groupBy: (e) => `Grupiši po: ${e}`,
42
+ ungroup: "Razgrupiši",
43
+ ungroupAll: "Razgrupiši sve",
44
+ pinLeft: "Zakači levo",
45
+ pinRight: "Zakači desno",
46
+ unpin: "Otkači",
47
+ moveLeft: "Pomeri levo",
48
+ moveRight: "Pomeri desno",
49
+ fitWidth: "Prilagodi širinu",
50
+ resetWidth: "Vrati širinu",
51
+ hideColumn: "Sakrij kolonu",
52
+ resetColumns: "Vrati kolone",
53
+ resizeColumn: (e) => `Promeni širinu: ${e}`,
54
+ columns: "Kolone",
55
+ filterColumns: "Filtriraj kolone…",
56
+ noMatchingColumns: "Nema odgovarajućih kolona",
57
+ menu: "Meni",
58
+ filterColumn: (e) => `Filtriraj: ${e}`,
59
+ filterColumnActive: (e) => `Filtriraj: ${e} (aktivno)`,
60
+ filterPlaceholder: "Filtriraj…",
61
+ filterSummary: (e, t) => `Filter ${e}: ${t}`,
62
+ customFilter: "Prilagođeno",
63
+ valuesSelected: (e) => `Izabrano: ${t(e)}`,
64
+ filterCondition: (e) => `${e}: uslov`,
65
+ filterValue: "Vrednost",
66
+ filterFrom: (e) => `${e}: od`,
67
+ filterTo: (e) => `${e}: do`,
68
+ opContains: "Sadrži",
69
+ opNotContains: "Ne sadrži",
70
+ opEquals: "Jednako",
71
+ opNotEquals: "Nije jednako",
72
+ opStartsWith: "Počinje sa",
73
+ opEndsWith: "Završava se sa",
74
+ opEmpty: "Prazno",
75
+ opNotEmpty: "Nije prazno",
76
+ opBetween: "Između",
77
+ opOn: "Na dan",
78
+ opBefore: "Pre",
79
+ opAfter: "Posle",
80
+ any: "Bilo koje",
81
+ yes: "Da",
82
+ no: "Ne",
83
+ emptyValue: "Prazno",
84
+ blanks: "(Prazno)",
85
+ searchValues: "Pretraži vrednosti",
86
+ all: "Sve",
87
+ allShown: "Sve prikazano",
88
+ moreValues: (e) => `Još ${t(e)} – pretražite da suzite listu`,
89
+ noMatchingValues: "Nema odgovarajućih vrednosti",
90
+ searchPlaceholder: "Pretraga…",
91
+ searchLabel: "Pretraži redove",
92
+ pagination: "Stranice",
93
+ rowsPerPage: "Redova po strani",
94
+ pageSize: (e) => `${e} / strana`,
95
+ pageSummary: (e, t, n) => `${e}–${t} od ${n}`,
96
+ firstPage: "Prva strana",
97
+ previousPage: "Prethodna strana",
98
+ nextPage: "Sledeća strana",
99
+ lastPage: "Poslednja strana",
100
+ page: (e) => `Strana ${e}`,
101
+ statusBar: "Status tabele",
102
+ rowCount: (e, t, n, i) => t === void 0 ? r(n, e) : `${e} od ${r(i ?? n, t)}`,
103
+ selectedCount: (e, t) => t ? `Izabrano sve: ${e}` : `Izabrano: ${e}`,
104
+ filterCount: (e) => n(e, {
105
+ one: "# filter",
106
+ few: "# filtera",
107
+ other: "# filtera"
108
+ }),
109
+ clear: "Obriši",
110
+ sum: "Zbir",
111
+ average: "Prosek",
112
+ min: "Min.",
113
+ max: "Maks.",
114
+ editCell: (e) => `Izmeni: ${e}`,
115
+ editNotANumber: "Unesite broj.",
116
+ editOutOfRange: (e, n) => e !== void 0 && n !== void 0 ? `Unesite broj od ${t(e)} do ${t(n)}.` : e === void 0 ? `Unesite broj od najviše ${t(n ?? 0)}.` : `Unesite broj od najmanje ${t(e)}.`,
117
+ editSaveFailed: "Izmena nije mogla da se sačuva.",
118
+ editSaving: "Čuvanje…",
119
+ view: "Prikaži",
120
+ close: "Zatvori",
121
+ copy: "Kopiraj",
122
+ copied: "Kopirano",
123
+ actions: "Radnje",
124
+ details: "Detalji",
125
+ moreInfo: "Više informacija",
126
+ moreItems: (e) => `+${t(e)} još`,
127
+ showLess: "Prikaži manje",
128
+ increased: "Povećano",
129
+ decreased: "Smanjeno",
130
+ toggle: "Uključi/isključi",
131
+ edit: "Izmeni"
132
+ };
133
+ export { i as default, i as srLatn };
134
+
135
+ //# sourceMappingURL=sr-Latn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sr-Latn.js","names":["packHelpers","rows","plural","n","shown","srLatn","count","num","total","column","position","dir","summary","size","from","to","page","totalCount","all","min","max"],"sources":["../../src/locales/sr-Latn.ts"],"sourcesContent":["import type { GridMessages } from '../types'\nimport { packHelpers } from './plural'\n\nconst { num, plural } = packHelpers('sr-Latn')\nconst rows = (n: number, shown?: string) =>\n plural(n, { one: '# red', few: '# reda', other: '# redova' }, shown)\n\n/** Srpski (latinica). `messages: srLatn` (per grid) or `createVueGrid({ messages: srLatn })`. */\nexport const srLatn = {\n loading: 'Učitavanje…',\n empty: 'Nema podataka za prikaz.',\n noMatch: 'Nijedan red ne odgovara trenutnim filterima.',\n clearFilters: 'Obriši filtere',\n loadError: 'Redovi nisu mogli da se učitaju.',\n staleRows: 'Ovi podaci nisu ažurni.',\n retry: 'Pokušaj ponovo',\n subRowsError: 'Redovi nisu mogli da se učitaju.',\n total: 'Ukupno',\n blank: '(prazno)',\n groupRowCount: (count) => rows(count),\n\n selectAllRows: 'Izaberi sve redove',\n selectRow: 'Izaberi red',\n selectGroup: 'Izaberi grupu',\n pageSelected: (count) => `Izabrani su svi redovi na ovoj strani (${num(count)}).`,\n selectAllMatching: (total) => `Izaberi sve redove (${num(total)})`,\n allSelected: (total) => `Izabrani su svi redovi (${num(total)}).`,\n clearSelection: 'Poništi izbor',\n expandRow: 'Proširi red',\n collapseRow: 'Skupi red',\n expandGroup: 'Proširi grupu',\n collapseGroup: 'Skupi grupu',\n\n columnMenu: (column) => `Kolona ${column}`,\n rowActions: 'Radnje za red',\n sortAscending: 'Sortiraj rastuće',\n sortDescending: 'Sortiraj opadajuće',\n clearSort: 'Ukloni sortiranje',\n thenSortAscending: 'Zatim sortiraj rastuće',\n thenSortDescending: 'Zatim sortiraj opadajuće',\n sortPosition: (position, dir, count) =>\n `, sortiranje ${position} od ${count}, ${dir === 'asc' ? 'rastuće' : 'opadajuće'}`,\n filterMenu: 'Filtriraj…',\n clearFilter: 'Ukloni filter',\n clearAllFilters: 'Ukloni sve filtere',\n groupBy: (column) => `Grupiši po: ${column}`,\n ungroup: 'Razgrupiši',\n ungroupAll: 'Razgrupiši sve',\n pinLeft: 'Zakači levo',\n pinRight: 'Zakači desno',\n unpin: 'Otkači',\n moveLeft: 'Pomeri levo',\n moveRight: 'Pomeri desno',\n fitWidth: 'Prilagodi širinu',\n resetWidth: 'Vrati širinu',\n hideColumn: 'Sakrij kolonu',\n resetColumns: 'Vrati kolone',\n resizeColumn: (column) => `Promeni širinu: ${column}`,\n columns: 'Kolone',\n filterColumns: 'Filtriraj kolone…',\n noMatchingColumns: 'Nema odgovarajućih kolona',\n menu: 'Meni',\n\n filterColumn: (column) => `Filtriraj: ${column}`,\n filterColumnActive: (column) => `Filtriraj: ${column} (aktivno)`,\n filterPlaceholder: 'Filtriraj…',\n filterSummary: (column, summary) => `Filter ${column}: ${summary}`,\n customFilter: 'Prilagođeno',\n valuesSelected: (count) => `Izabrano: ${num(count)}`,\n filterCondition: (column) => `${column}: uslov`,\n filterValue: 'Vrednost',\n filterFrom: (column) => `${column}: od`,\n filterTo: (column) => `${column}: do`,\n opContains: 'Sadrži',\n opNotContains: 'Ne sadrži',\n opEquals: 'Jednako',\n opNotEquals: 'Nije jednako',\n opStartsWith: 'Počinje sa',\n opEndsWith: 'Završava se sa',\n opEmpty: 'Prazno',\n opNotEmpty: 'Nije prazno',\n opBetween: 'Između',\n opOn: 'Na dan',\n opBefore: 'Pre',\n opAfter: 'Posle',\n any: 'Bilo koje',\n yes: 'Da',\n no: 'Ne',\n emptyValue: 'Prazno',\n blanks: '(Prazno)',\n searchValues: 'Pretraži vrednosti',\n all: 'Sve',\n allShown: 'Sve prikazano',\n moreValues: (count) => `Još ${num(count)} – pretražite da suzite listu`,\n noMatchingValues: 'Nema odgovarajućih vrednosti',\n searchPlaceholder: 'Pretraga…',\n searchLabel: 'Pretraži redove',\n\n pagination: 'Stranice',\n rowsPerPage: 'Redova po strani',\n pageSize: (size) => `${size} / strana`,\n pageSummary: (from, to, total) => `${from}–${to} od ${total}`,\n firstPage: 'Prva strana',\n previousPage: 'Prethodna strana',\n nextPage: 'Sledeća strana',\n lastPage: 'Poslednja strana',\n page: (page) => `Strana ${page}`,\n\n statusBar: 'Status tabele',\n rowCount: (shown, total, count, totalCount) =>\n total === undefined ? rows(count, shown) : `${shown} od ${rows(totalCount ?? count, total)}`,\n selectedCount: (count, all) => (all ? `Izabrano sve: ${count}` : `Izabrano: ${count}`),\n filterCount: (count) => plural(count, { one: '# filter', few: '# filtera', other: '# filtera' }),\n clear: 'Obriši',\n sum: 'Zbir',\n average: 'Prosek',\n min: 'Min.',\n max: 'Maks.',\n\n editCell: (column) => `Izmeni: ${column}`,\n editNotANumber: 'Unesite broj.',\n editOutOfRange: (min, max) =>\n min !== undefined && max !== undefined\n ? `Unesite broj od ${num(min)} do ${num(max)}.`\n : min !== undefined\n ? `Unesite broj od najmanje ${num(min)}.`\n : `Unesite broj od najviše ${num(max ?? 0)}.`,\n editSaveFailed: 'Izmena nije mogla da se sačuva.',\n editSaving: 'Čuvanje…',\n\n view: 'Prikaži',\n close: 'Zatvori',\n copy: 'Kopiraj',\n copied: 'Kopirano',\n actions: 'Radnje',\n details: 'Detalji',\n moreInfo: 'Više informacija',\n moreItems: (count) => `+${num(count)} još`,\n showLess: 'Prikaži manje',\n increased: 'Povećano',\n decreased: 'Smanjeno',\n toggle: 'Uključi/isključi',\n edit: 'Izmeni',\n} satisfies Required<GridMessages>\n\nexport default srLatn\n"],"mappings":";;AAGA,IAAM,EAAE,QAAK,cAAWA,EAAY,SAAS,GACvCC,KAAQ,GAAW,MACvBC,EAAOC,GAAG;CAAE,KAAK;CAAS,KAAK;CAAU,OAAO;AAAW,GAAGC,CAAK,GAGxDC,IAAS;CACpB,SAAS;CACT,OAAO;CACP,SAAS;CACT,cAAc;CACd,WAAW;CACX,WAAW;CACX,OAAO;CACP,cAAc;CACd,OAAO;CACP,OAAO;CACP,gBAAgB,MAAUJ,EAAKK,CAAK;CAEpC,eAAe;CACf,WAAW;CACX,aAAa;CACb,eAAe,MAAU,0CAA0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CACZ,aAAa;CACb,WAAW,MAAS,GAAGO,EAAK;CAC5B,cAAc,GAAM,GAAI,MAAU,GAAGC,EAAK,GAAGC,EAAG,MAAMP;CACtD,WAAW;CACX,cAAc;CACd,UAAU;CACV,UAAU;CACV,OAAO,MAAS,UAAUQ;CAE1B,WAAW;CACX,WAAW,GAAO,GAAO,GAAO,MAC9BR,MAAU,KAAA,IAAYP,EAAKK,GAAOF,CAAK,IAAI,GAAGA,EAAM,MAAMH,EAAKgB,KAAcX,GAAOE,CAAK;CAC3F,gBAAgB,GAAO,MAASU,IAAM,iBAAiBZ,MAAU,aAAaA;CAC9E,cAAc,MAAUJ,EAAOI,GAAO;EAAE,KAAK;EAAY,KAAK;EAAa,OAAO;CAAY,CAAC;CAC/F,OAAO;CACP,KAAK;CACL,SAAS;CACT,KAAK;CACL,KAAK;CAEL,WAAW,MAAW,WAAWG;CACjC,gBAAgB;CAChB,iBAAiB,GAAK,MACpBU,MAAQ,KAAA,KAAaC,MAAQ,KAAA,IACzB,mBAAmBb,EAAIY,CAAG,EAAE,MAAMZ,EAAIa,CAAG,EAAE,KAC3CD,MAAQ,KAAA,IAEN,2BAA2BZ,EAAIa,KAAO,CAAC,EAAE,KADzC,4BAA4Bb,EAAIY,CAAG,EAAE;CAE7C,gBAAgB;CAChB,YAAY;CAEZ,MAAM;CACN,OAAO;CACP,MAAM;CACN,QAAQ;CACR,SAAS;CACT,SAAS;CACT,UAAU;CACV,YAAY,MAAU,IAAIZ,EAAID,CAAK,EAAE;CACrC,UAAU;CACV,WAAW;CACX,WAAW;CACX,QAAQ;CACR,MAAM;AACR"}
@@ -0,0 +1,135 @@
1
+ import { packHelpers as e } from "./plural.js";
2
+ // src/locales/sr.ts
3
+ var { num: t, plural: n } = e("sr"), r = (e, t) => n(e, {
4
+ one: "# ред",
5
+ few: "# реда",
6
+ other: "# редова"
7
+ }, t), i = {
8
+ loading: "Учитавање…",
9
+ empty: "Нема података за приказ.",
10
+ noMatch: "Ниједан ред не одговара тренутним филтерима.",
11
+ clearFilters: "Обриши филтере",
12
+ loadError: "Редови нису могли да се учитају.",
13
+ staleRows: "Ови подаци нису ажурни.",
14
+ retry: "Покушај поново",
15
+ subRowsError: "Редови нису могли да се учитају.",
16
+ total: "Укупно",
17
+ blank: "(празно)",
18
+ groupRowCount: (e) => r(e),
19
+ selectAllRows: "Изабери све редове",
20
+ selectRow: "Изабери ред",
21
+ selectGroup: "Изабери групу",
22
+ pageSelected: (e) => `Изабрани су сви редови на овој страни (${t(e)}).`,
23
+ selectAllMatching: (e) => `Изабери све редове (${t(e)})`,
24
+ allSelected: (e) => `Изабрани су сви редови (${t(e)}).`,
25
+ clearSelection: "Поништи избор",
26
+ expandRow: "Прошири ред",
27
+ collapseRow: "Скупи ред",
28
+ expandGroup: "Прошири групу",
29
+ collapseGroup: "Скупи групу",
30
+ columnMenu: (e) => `Колона ${e}`,
31
+ rowActions: "Радње за ред",
32
+ sortAscending: "Сортирај растуће",
33
+ sortDescending: "Сортирај опадајуће",
34
+ clearSort: "Уклони сортирање",
35
+ thenSortAscending: "Затим сортирај растуће",
36
+ thenSortDescending: "Затим сортирај опадајуће",
37
+ sortPosition: (e, t, n) => `, сортирање ${e} од ${n}, ${t === "asc" ? "растуће" : "опадајуће"}`,
38
+ filterMenu: "Филтрирај…",
39
+ clearFilter: "Уклони филтер",
40
+ clearAllFilters: "Уклони све филтере",
41
+ groupBy: (e) => `Групиши по: ${e}`,
42
+ ungroup: "Разгрупиши",
43
+ ungroupAll: "Разгрупиши све",
44
+ pinLeft: "Закачи лево",
45
+ pinRight: "Закачи десно",
46
+ unpin: "Откачи",
47
+ moveLeft: "Помери лево",
48
+ moveRight: "Помери десно",
49
+ fitWidth: "Прилагоди ширину",
50
+ resetWidth: "Врати ширину",
51
+ hideColumn: "Сакриј колону",
52
+ resetColumns: "Врати колоне",
53
+ resizeColumn: (e) => `Промени ширину: ${e}`,
54
+ columns: "Колоне",
55
+ filterColumns: "Филтрирај колоне…",
56
+ noMatchingColumns: "Нема одговарајућих колона",
57
+ menu: "Мени",
58
+ filterColumn: (e) => `Филтрирај: ${e}`,
59
+ filterColumnActive: (e) => `Филтрирај: ${e} (активно)`,
60
+ filterPlaceholder: "Филтрирај…",
61
+ filterSummary: (e, t) => `Филтер ${e}: ${t}`,
62
+ customFilter: "Прилагођено",
63
+ valuesSelected: (e) => `Изабрано: ${t(e)}`,
64
+ filterCondition: (e) => `${e}: услов`,
65
+ filterValue: "Вредност",
66
+ filterFrom: (e) => `${e}: од`,
67
+ filterTo: (e) => `${e}: до`,
68
+ opContains: "Садржи",
69
+ opNotContains: "Не садржи",
70
+ opEquals: "Једнако",
71
+ opNotEquals: "Није једнако",
72
+ opStartsWith: "Почиње са",
73
+ opEndsWith: "Завршава се са",
74
+ opEmpty: "Празно",
75
+ opNotEmpty: "Није празно",
76
+ opBetween: "Између",
77
+ opOn: "На дан",
78
+ opBefore: "Пре",
79
+ opAfter: "После",
80
+ any: "Било које",
81
+ yes: "Да",
82
+ no: "Не",
83
+ emptyValue: "Празно",
84
+ blanks: "(Празно)",
85
+ searchValues: "Претражи вредности",
86
+ all: "Све",
87
+ allShown: "Све приказано",
88
+ moreValues: (e) => `Још ${t(e)} – претражите да сузите листу`,
89
+ noMatchingValues: "Нема одговарајућих вредности",
90
+ searchPlaceholder: "Претрага…",
91
+ searchLabel: "Претражи редове",
92
+ pagination: "Странице",
93
+ rowsPerPage: "Редова по страни",
94
+ pageSize: (e) => `${e} / страна`,
95
+ pageSummary: (e, t, n) => `${e}–${t} од ${n}`,
96
+ firstPage: "Прва страна",
97
+ previousPage: "Претходна страна",
98
+ nextPage: "Следећа страна",
99
+ lastPage: "Последња страна",
100
+ page: (e) => `Страна ${e}`,
101
+ statusBar: "Статус табеле",
102
+ rowCount: (e, t, n, i) => t === void 0 ? r(n, e) : `${e} од ${r(i ?? n, t)}`,
103
+ selectedCount: (e, t) => t ? `Изабрано све: ${e}` : `Изабрано: ${e}`,
104
+ filterCount: (e) => n(e, {
105
+ one: "# филтер",
106
+ few: "# филтера",
107
+ other: "# филтера"
108
+ }),
109
+ clear: "Обриши",
110
+ sum: "Збир",
111
+ average: "Просек",
112
+ min: "Мин.",
113
+ max: "Макс.",
114
+ editCell: (e) => `Измени: ${e}`,
115
+ editNotANumber: "Унесите број.",
116
+ editOutOfRange: (e, n) => e !== void 0 && n !== void 0 ? `Унесите број од ${t(e)} до ${t(n)}.` : e === void 0 ? `Унесите број од највише ${t(n ?? 0)}.` : `Унесите број од најмање ${t(e)}.`,
117
+ editSaveFailed: "Измена није могла да се сачува.",
118
+ editSaving: "Чување…",
119
+ view: "Прикажи",
120
+ close: "Затвори",
121
+ copy: "Копирај",
122
+ copied: "Копирано",
123
+ actions: "Радње",
124
+ details: "Детаљи",
125
+ moreInfo: "Више информација",
126
+ moreItems: (e) => `+${t(e)} још`,
127
+ showLess: "Прикажи мање",
128
+ increased: "Повећано",
129
+ decreased: "Смањено",
130
+ toggle: "Укључи/искључи",
131
+ edit: "Измени"
132
+ };
133
+ export { i as default, i as sr };
134
+
135
+ //# sourceMappingURL=sr.js.map