grav-svelte 0.0.26 → 0.0.28
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.
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
export let Filtros: FiltrosI[];
|
|
22
22
|
export let showAddButton: boolean = true;
|
|
23
23
|
export let showImportButton: boolean = true;
|
|
24
|
+
export let Titulo_Crud: string;
|
|
24
25
|
|
|
25
26
|
// Convert string to number and ensure it's never 0
|
|
26
27
|
$: {
|
|
@@ -87,7 +88,7 @@
|
|
|
87
88
|
<!--------------------------------------------------------------------->
|
|
88
89
|
<div class="filters-core">
|
|
89
90
|
<div class="filters-header">
|
|
90
|
-
<h1 class="filters-title">
|
|
91
|
+
<h1 class="filters-title">{Titulo_Crud}</h1>
|
|
91
92
|
<div class="filters-actions">
|
|
92
93
|
{#if showAddButton}
|
|
93
94
|
<div>
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
export let loading: boolean = false;
|
|
17
17
|
export let showAddButton: boolean = true;
|
|
18
18
|
export let showImportButton: boolean = true;
|
|
19
|
+
export let Titulo_Crud: string;
|
|
19
20
|
|
|
20
21
|
// Event handlers from parent
|
|
21
22
|
export let onFilter: (filters: FiltrosI[]) => void;
|
|
@@ -73,6 +74,7 @@
|
|
|
73
74
|
on:add={handleAdd}
|
|
74
75
|
{showAddButton}
|
|
75
76
|
{showImportButton}
|
|
77
|
+
{Titulo_Crud}
|
|
76
78
|
/>
|
|
77
79
|
<CrudTable
|
|
78
80
|
tableHeaders={tableH}
|