@praxisui/crud 9.0.4-rc.35 → 9.0.4-rc.36
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.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-08-
|
|
3
|
+
"generatedAt": "2026-08-08T10:35:56.871Z",
|
|
4
4
|
"packageName": "@praxisui/crud",
|
|
5
|
-
"packageVersion": "9.0.4-rc.
|
|
5
|
+
"packageVersion": "9.0.4-rc.36",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 2,
|
|
@@ -986,7 +986,7 @@ const PRAXIS_CRUD_RUNTIME_I18N_CONFIG = {
|
|
|
986
986
|
'crud.emptyState.primaryAction': 'Configurar metadados',
|
|
987
987
|
'crud.table.emptyState.initial.title': 'Sem registros em {label}',
|
|
988
988
|
'crud.table.emptyState.initial.titleFallback': 'Nenhum registro disponível.',
|
|
989
|
-
'crud.table.emptyState.initial.
|
|
989
|
+
'crud.table.emptyState.initial.descriptionWithToolbarAction': 'Use "{action}" na barra da tabela para adicionar o primeiro registro quando houver informações para cadastrar.',
|
|
990
990
|
'crud.table.emptyState.filtered.title': 'Nenhum resultado encontrado.',
|
|
991
991
|
'crud.table.emptyState.filtered.description': 'Revise os filtros ou ajuste o termo de busca.',
|
|
992
992
|
'crud.preferences.resetSuccess': 'Overrides de CRUD redefinidos',
|
|
@@ -1009,7 +1009,7 @@ const PRAXIS_CRUD_RUNTIME_I18N_CONFIG = {
|
|
|
1009
1009
|
'crud.emptyState.primaryAction': 'Configure metadata',
|
|
1010
1010
|
'crud.table.emptyState.initial.title': 'No records in {label}',
|
|
1011
1011
|
'crud.table.emptyState.initial.titleFallback': 'No records available.',
|
|
1012
|
-
'crud.table.emptyState.initial.
|
|
1012
|
+
'crud.table.emptyState.initial.descriptionWithToolbarAction': 'Use "{action}" in the table toolbar to add the first record when there is information to register.',
|
|
1013
1013
|
'crud.table.emptyState.filtered.title': 'No results found.',
|
|
1014
1014
|
'crud.table.emptyState.filtered.description': 'Review the filters or adjust the search term.',
|
|
1015
1015
|
'crud.preferences.resetSuccess': 'CRUD overrides reset',
|
|
@@ -5340,9 +5340,7 @@ class PraxisCrudComponent {
|
|
|
5340
5340
|
const title = resourceLabel
|
|
5341
5341
|
? this.txWithParams('crud.table.emptyState.initial.title', 'Sem registros em {label}', { label: resourceLabel })
|
|
5342
5342
|
: this.tx('crud.table.emptyState.initial.titleFallback', 'Nenhum registro disponível.');
|
|
5343
|
-
const actionId = String(createAction.action || createAction.id || 'create').trim() || 'create';
|
|
5344
5343
|
const actionLabel = String(createAction.label || this.getCrudActionLabel('create')).trim();
|
|
5345
|
-
const actionIcon = String(createAction.icon || 'add').trim();
|
|
5346
5344
|
config.behavior = {
|
|
5347
5345
|
...behavior,
|
|
5348
5346
|
emptyState: {
|
|
@@ -5350,15 +5348,10 @@ class PraxisCrudComponent {
|
|
|
5350
5348
|
contexts: {
|
|
5351
5349
|
initial: {
|
|
5352
5350
|
title,
|
|
5353
|
-
description: this.
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
action: actionId,
|
|
5358
|
-
icon: actionIcon,
|
|
5359
|
-
primary: true,
|
|
5360
|
-
},
|
|
5361
|
-
],
|
|
5351
|
+
description: this.txWithParams('crud.table.emptyState.initial.descriptionWithToolbarAction', 'Use "{action}" na barra da tabela para adicionar o primeiro registro quando houver informações para cadastrar.', { action: actionLabel }),
|
|
5352
|
+
// The create action is always materialized in the visible collection toolbar.
|
|
5353
|
+
// Keep the generated empty state instructional so it does not duplicate that CTA.
|
|
5354
|
+
actions: [],
|
|
5362
5355
|
},
|
|
5363
5356
|
filtered: {
|
|
5364
5357
|
title: this.tx('crud.table.emptyState.filtered.title', 'Nenhum resultado encontrado.'),
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/crud",
|
|
3
|
-
"version": "9.0.4-rc.
|
|
3
|
+
"version": "9.0.4-rc.36",
|
|
4
4
|
"description": "CRUD building blocks for Praxis UI: integrates dynamic forms and tables with unified configuration and services.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
7
7
|
"@angular/core": "^21.0.0",
|
|
8
|
-
"@praxisui/dynamic-form": "^9.0.4-rc.
|
|
9
|
-
"@praxisui/table": "^9.0.4-rc.
|
|
10
|
-
"@praxisui/core": "^9.0.4-rc.
|
|
11
|
-
"@praxisui/dynamic-fields": "^9.0.4-rc.
|
|
12
|
-
"@praxisui/settings-panel": "^9.0.4-rc.
|
|
8
|
+
"@praxisui/dynamic-form": "^9.0.4-rc.36",
|
|
9
|
+
"@praxisui/table": "^9.0.4-rc.36",
|
|
10
|
+
"@praxisui/core": "^9.0.4-rc.36",
|
|
11
|
+
"@praxisui/dynamic-fields": "^9.0.4-rc.36",
|
|
12
|
+
"@praxisui/settings-panel": "^9.0.4-rc.36",
|
|
13
13
|
"@angular/cdk": "^21.0.0",
|
|
14
14
|
"@angular/forms": "^21.0.0",
|
|
15
15
|
"@angular/material": "^21.0.0",
|
|
16
16
|
"@angular/router": "^21.0.0",
|
|
17
|
-
"@praxisui/ai": "^9.0.4-rc.
|
|
17
|
+
"@praxisui/ai": "^9.0.4-rc.36",
|
|
18
18
|
"rxjs": "~7.8.0"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|