@dracul/audit-frontend 1.44.0 → 1.44.4
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dracul/audit-frontend",
|
|
3
|
-
"version": "1.44.
|
|
3
|
+
"version": "1.44.4",
|
|
4
4
|
"description": "Audit frontend",
|
|
5
5
|
"author": "Cristian Incarnato <cristian.cdi@gmail.com>",
|
|
6
6
|
"publishConfig": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"main": "./src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@dracul/common-frontend": "^1.44.0",
|
|
16
|
-
"@dracul/dayjs-frontend": "^1.44.
|
|
16
|
+
"@dracul/dayjs-frontend": "^1.44.4"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"jest": "^29.7.0",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"type": "git",
|
|
39
39
|
"url": "git+https://github.com/draculjs/modular-framework.git"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "1aa4bc5d1270037382ff52fe5361f92b9b875e3c"
|
|
42
42
|
}
|
|
@@ -33,12 +33,16 @@ const i18nMessages = {
|
|
|
33
33
|
update: 'Modify',
|
|
34
34
|
delete: 'Delete',
|
|
35
35
|
restart: 'Reiniciar',
|
|
36
|
+
file_deleted: 'Delete file',
|
|
37
|
+
file_deleted_by_expiration: 'Delete file by expiration',
|
|
36
38
|
detailMessages: {
|
|
37
|
-
create: 'The resource
|
|
38
|
-
read: 'The resource
|
|
39
|
-
update: 'The resource
|
|
40
|
-
delete: 'The resource
|
|
41
|
-
restart: 'The resource
|
|
39
|
+
create: 'The resource "{resourceID}" has been created',
|
|
40
|
+
read: 'The resource "{resourceID}" has been readed',
|
|
41
|
+
update: 'The resource "{resourceID}" has been updated',
|
|
42
|
+
delete: 'The resource "{resourceID}" has been deleted',
|
|
43
|
+
restart: 'The resource "{resourceID}" has been restarted',
|
|
44
|
+
file_deleted: 'The file "{resourceID}" has been deleted',
|
|
45
|
+
file_deleted_by_expiration: 'The file "{resourceID}" was automatically deleted due to expiration',
|
|
42
46
|
},
|
|
43
47
|
|
|
44
48
|
changes: {
|
|
@@ -100,12 +104,16 @@ const i18nMessages = {
|
|
|
100
104
|
update: 'Modificar',
|
|
101
105
|
delete: 'Eliminar',
|
|
102
106
|
restart: 'Reiniciar',
|
|
107
|
+
file_deleted: 'Eliminar archivo',
|
|
108
|
+
file_deleted_by_expiration: 'Eliminar archivo por expiración',
|
|
103
109
|
detailMessages: {
|
|
104
110
|
create: 'Se ha creado el recurso "{resourceID}"',
|
|
105
111
|
read: 'Se ha visualizado el recurso "{resourceID}"',
|
|
106
112
|
update: 'Se ha modificado el recurso "{resourceID}"',
|
|
107
113
|
delete: 'Se ha eliminado el recurso "{resourceID}"',
|
|
108
114
|
restart: 'Se ha reiniciado el recurso "{resourceID}"',
|
|
115
|
+
file_deleted: 'El archivo "{resourceID}" ha sido eliminado',
|
|
116
|
+
file_deleted_by_expiration: 'El archivo "{resourceID}" fue eliminado automáticamente por expiración',
|
|
109
117
|
},
|
|
110
118
|
|
|
111
119
|
changes: {
|
|
@@ -163,16 +171,20 @@ const i18nMessages = {
|
|
|
163
171
|
|
|
164
172
|
ações: {
|
|
165
173
|
create: 'Criar',
|
|
166
|
-
read: '
|
|
174
|
+
read: 'Exibir',
|
|
167
175
|
update: 'Modificar',
|
|
168
176
|
delete: 'Excluir',
|
|
169
177
|
restart: 'Reiniciar',
|
|
178
|
+
file_deleted: 'Excluir arquivo',
|
|
179
|
+
file_deleted_by_expiration: 'Excluir arquivo por expiração',
|
|
170
180
|
detailMessages: {
|
|
171
|
-
create: 'O recurso
|
|
172
|
-
read: 'O recurso
|
|
173
|
-
update: 'O recurso
|
|
174
|
-
delete: 'O recurso
|
|
175
|
-
restart: 'O recurso
|
|
181
|
+
create: 'O recurso "{resourceID}" foi criado',
|
|
182
|
+
read: 'O recurso "{resourceID}" foi exibido',
|
|
183
|
+
update: 'O recurso "{resourceID}" foi modificado',
|
|
184
|
+
delete: 'O recurso "{resourceID}" foi excluído',
|
|
185
|
+
restart: 'O recurso "{resourceID}" foi reiniciado',
|
|
186
|
+
file_deleted: 'O arquivo "{resourceID}" foi excluído',
|
|
187
|
+
file_deleted_by_expiration: 'O arquivo "{resourceID}" foi excluído automaticamente por expiração',
|
|
176
188
|
},
|
|
177
189
|
|
|
178
190
|
changes: {
|
|
@@ -280,10 +280,6 @@ export default {
|
|
|
280
280
|
return actionColors[action]
|
|
281
281
|
},
|
|
282
282
|
getDetailsText(audit){
|
|
283
|
-
|
|
284
|
-
console.log(`audit: ${JSON.stringify(audit, null, 2)}`)
|
|
285
|
-
console.log(`typeof resource data: ${typeof audit.resourceData}`)
|
|
286
|
-
|
|
287
283
|
if (audit && audit.resourceData && audit.resourceData !== '' && typeof audit.resourceData === 'string' && audit.resourceData !== null && audit.resourceData !== undefined) {
|
|
288
284
|
try {
|
|
289
285
|
audit.resourceData = JSON.parse(audit.resourceData)
|