snap-records 1.1.11 → 1.1.12

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,32 @@
1
+ {
2
+ "loading": "Loading...",
3
+ "totalRecords": "Total records: {total}",
4
+ "filteredRecords": "Filtered records: {filtered}",
5
+ "previous": "Previous",
6
+ "next": "Next",
7
+ "errorTitle": "Error",
8
+ "errorMessage": "An error occurred.",
9
+ "noDataAvailable": "No data available.",
10
+ "columnResizeHandle": "Resize column",
11
+ "sortAscending": "Sort ascending",
12
+ "sortDescending": "Sort descending",
13
+ "removeSort": "Remove sort",
14
+ "rowSelected": "Row selected",
15
+ "rowDeselected": "Row deselected",
16
+ "currentPage": "Current page: {page}",
17
+ "pageNavigation": "Page navigation",
18
+ "loadMore": "Load More",
19
+ "jumpToPage": "Jump to page",
20
+ "retry": "Retry",
21
+ "dragColumn": "Drag column {col}",
22
+ "errors": {
23
+ "containerNotFound": "Container not found.",
24
+ "invalidConfig": "Invalid configuration.",
25
+ "dataLoadingFailed": "Failed to load data: {error}",
26
+ "renderFailed": "Failed to render: {error}",
27
+ "generic": "An error occurred."
28
+ },
29
+ "pagination": {
30
+ "showingRecords": "Showing {start} to {end} of {total} records"
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "loading": "Cargando...",
3
+ "totalRecords": "Total de registros: {total}",
4
+ "filteredRecords": "Registros filtrados: {filtered}",
5
+ "previous": "Anterior",
6
+ "next": "Siguiente",
7
+ "errorTitle": "Error",
8
+ "errorMessage": "Ocurrió un error.",
9
+ "noDataAvailable": "No hay datos disponibles.",
10
+ "columnResizeHandle": "Redimensionar columna",
11
+ "sortAscending": "Ordenar ascendente",
12
+ "sortDescending": "Ordenar descendente",
13
+ "removeSort": "Quitar orden",
14
+ "rowSelected": "Fila seleccionada",
15
+ "rowDeselected": "Fila deseleccionada",
16
+ "currentPage": "Página actual: {page}",
17
+ "pageNavigation": "Navegación de página",
18
+ "loadMore": "Cargar Más",
19
+ "jumpToPage": "Ir a la página",
20
+ "retry": "Reintentar",
21
+ "dragColumn": "Arrastrar columna {col}",
22
+ "errors": {
23
+ "containerNotFound": "Contenedor no encontrado.",
24
+ "invalidConfig": "Configuración inválida.",
25
+ "dataLoadingFailed": "Error al cargar datos: {error}",
26
+ "renderFailed": "Error al renderizar: {error}",
27
+ "generic": "Ocurrió un error."
28
+ },
29
+ "pagination": {
30
+ "showingRecords": "Mostrando {start} a {end} de {total} registros"
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "loading": "A carregar...",
3
+ "totalRecords": "Total de registos: {total}",
4
+ "filteredRecords": "Registos filtrados: {filtered}",
5
+ "previous": "Anterior",
6
+ "next": "Próximo",
7
+ "errorTitle": "Erro",
8
+ "errorMessage": "Ocorreu um erro.",
9
+ "noDataAvailable": "Nenhum dado disponível.",
10
+ "columnResizeHandle": "Redimensionar coluna",
11
+ "sortAscending": "Ordenar ascendente",
12
+ "sortDescending": "Ordenar descendente",
13
+ "removeSort": "Remover ordenação",
14
+ "rowSelected": "Linha selecionada",
15
+ "rowDeselected": "Linha desmarcada",
16
+ "currentPage": "Página atual: {page}",
17
+ "pageNavigation": "Navegação de página",
18
+ "loadMore": "Carregar Mais",
19
+ "jumpToPage": "Ir para a página",
20
+ "retry": "Tentar novamente",
21
+ "dragColumn": "Arrastar coluna {col}",
22
+ "errors": {
23
+ "containerNotFound": "Container não encontrado.",
24
+ "invalidConfig": "Configuração inválida.",
25
+ "dataLoadingFailed": "Falha ao carregar dados: {error}",
26
+ "renderFailed": "Falha ao renderizar: {error}",
27
+ "generic": "Ocorreu um erro."
28
+ },
29
+ "pagination": {
30
+ "showingRecords": "A mostrar {start} de {end} de um total {total} de registos"
31
+ }
32
+ }
package/package.json CHANGED
@@ -1,4 +1,5 @@
1
1
  {
2
+ "license": "MIT",
2
3
  "keywords": [
3
4
  "datatable",
4
5
  "data-grid",
@@ -17,7 +18,7 @@
17
18
  "jquery-dynatable"
18
19
  ],
19
20
  "type": "module",
20
- "version": "1.1.11",
21
+ "version": "1.1.12",
21
22
  "name": "snap-records",
22
23
  "dependencies": {
23
24
  "dexie": "^4.0.11",
@@ -29,10 +30,23 @@
29
30
  "module": "./dist/snap-records.es.js",
30
31
  "exports": {
31
32
  ".": {
33
+ "types": "./dist/index.d.ts",
32
34
  "import": "./dist/snap-records.es.js",
33
35
  "require": "./dist/snap-records.umd.js"
34
- }
36
+ },
37
+ "./dist/*": "./dist/*",
38
+ "./lang/*": "./dist/lang/*",
39
+ "./package.json": "./package.json",
40
+ "./style.css": "./dist/snap-records.css"
41
+ },
42
+ "repository": {
43
+ "type": "git",
44
+ "url": "git+https://github.com/lbassuncao/SnapRecords.git"
45
+ },
46
+ "bugs": {
47
+ "url": "https://github.com/lbassuncao/SnapRecords/issues"
35
48
  },
49
+ "homepage": "https://github.com/lbassuncao/SnapRecords#readme",
36
50
  "devDependencies": {
37
51
  "@testing-library/dom": "^10.4.0",
38
52
  "@types/jest": "^30.0.0",
@@ -63,20 +77,11 @@
63
77
  "preview": "vite preview",
64
78
  "lint": "eslint \"src/**/*.{js,ts}\"",
65
79
  "lint:fix": "eslint \"src/**/*.{js,ts}\" --fix",
66
- "build": "npm run build:js && npm run build:css",
80
+ "build": "npm run build:js && npm run build:css && mkdir -p dist/lang && cp src/lang/*.json dist/lang/",
67
81
  "demo:dev": "vite demo --config vite.config.demo.ts",
68
82
  "demo:build": "vite build demo --config vite.config.demo.ts",
69
83
  "format": "prettier --write \"src/**/*.{js,ts,json,scss,md}\"",
70
84
  "build:css": "sass src/scss/SnapRecords.scss dist/snap-records.css --style=compressed --source-map"
71
85
  },
72
- "description": "A powerful and flexible TypeScript data grid component for modern web applications. Features server-side data handling, multiple rendering modes, extensive customization, and full accessibility support.",
73
- "license": "MIT",
74
- "repository": {
75
- "type": "git",
76
- "url": "git+https://github.com/lbassuncao/SnapRecords.git"
77
- },
78
- "bugs": {
79
- "url": "https://github.com/lbassuncao/SnapRecords/issues"
80
- },
81
- "homepage": "https://github.com/lbassuncao/SnapRecords#readme"
86
+ "description": "A powerful and flexible TypeScript data grid component for modern web applications. Features server-side data handling, multiple rendering modes, extensive customization, and full accessibility support."
82
87
  }