@massimo-cassandro/minimo 1.0.0 → 1.0.1
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
|
@@ -724,37 +724,23 @@ class SimpleDatatableAdapter extends HTMLElement {
|
|
|
724
724
|
pageTitle: 'Pagina {page}',
|
|
725
725
|
perPage: 'Righe per pagina',
|
|
726
726
|
noRows: 'Nessun record trovato',
|
|
727
|
-
info: 'Stai visualizzando le righe da {start} a {end}, su un totale di {rows}',
|
|
727
|
+
info: 'Stai visualizzando le righe da {start} a {end}, su un totale di {rows} record trovati',
|
|
728
728
|
noResults: 'Nessun risultato per la ricerca',
|
|
729
729
|
},
|
|
730
730
|
|
|
731
|
-
template: (options, dom) => `<div class='${options.classes.top}'
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
</div
|
|
739
|
-
""
|
|
740
|
-
}
|
|
741
|
-
${
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
<input class='${options.classes.input}' placeholder='${options.labels.placeholder}' type='search' title='${options.labels.searchTitle}'${dom.id ? ` aria-controls="${dom.id}"` : ""}>
|
|
745
|
-
</div>` :
|
|
746
|
-
""
|
|
747
|
-
}
|
|
748
|
-
</div>
|
|
749
|
-
<div class='${options.classes.container}'${options.scrollY.length ? ` style='height: ${options.scrollY}; overflow-Y: auto;'` : ""}></div>
|
|
750
|
-
<div class='${options.classes.bottom}'>
|
|
751
|
-
${
|
|
752
|
-
options.paging ?
|
|
753
|
-
`<div class='${options.classes.info}'></div>` :
|
|
754
|
-
""
|
|
755
|
-
}
|
|
756
|
-
<nav class='${options.classes.pagination}'></nav>
|
|
757
|
-
</div>`,
|
|
731
|
+
template: (options, dom) => `<div class='${options.classes.top}'>`+
|
|
732
|
+
`<div class='${options.classes.info}'></div>` +
|
|
733
|
+
(options.searchable
|
|
734
|
+
? `<div class='${options.classes.search}'>` +
|
|
735
|
+
`<input class='${options.classes.input}' placeholder='${options.labels.placeholder}' type='search' title='${options.labels.searchTitle}'${dom.id ? ` aria-controls="${dom.id}"` : ''}>` +
|
|
736
|
+
'</div>'
|
|
737
|
+
: '') +
|
|
738
|
+
'</div>' +
|
|
739
|
+
`<div class='${options.classes.container}'${options.scrollY.length ? ` style='height: ${options.scrollY}; overflow-Y: auto;'` : ""}></div>`+
|
|
740
|
+
`<div class='${options.classes.bottom}'>`+
|
|
741
|
+
`<nav class='${options.classes.pagination}'></nav>` +
|
|
742
|
+
'</div>'
|
|
743
|
+
,
|
|
758
744
|
|
|
759
745
|
classes: {
|
|
760
746
|
wrapper : styles.datatableWrapper,
|