@optionfactory/ful 7.0.1 → 7.0.3
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/dist/ful.d.mts +36 -0
- package/dist/ful.iife.js +44 -3
- package/dist/ful.iife.js.map +1 -1
- package/dist/ful.iife.min.js +1 -1
- package/dist/ful.iife.min.js.map +1 -1
- package/dist/ful.min.mjs +1 -1
- package/dist/ful.min.mjs.map +1 -1
- package/dist/ful.mjs +44 -3
- package/dist/ful.mjs.map +1 -1
- package/package.json +6 -6
package/dist/ful.mjs
CHANGED
|
@@ -1705,12 +1705,17 @@ class InputLocalDate extends Input {
|
|
|
1705
1705
|
const sign = match[1] === "-" ? -1 : 1;
|
|
1706
1706
|
const offset = +match[2];
|
|
1707
1707
|
const r = new Date();
|
|
1708
|
+
r.setHours(0, 0, 0, 0);
|
|
1708
1709
|
switch (match[3]) {
|
|
1709
1710
|
case 'd':
|
|
1710
1711
|
r.setDate(r.getDate() + offset * sign);
|
|
1711
1712
|
break;
|
|
1712
1713
|
case 'm':
|
|
1714
|
+
const originalDay = r.getDate();
|
|
1713
1715
|
r.setMonth(r.getMonth() + offset * sign);
|
|
1716
|
+
if (r.getDate() !== originalDay) {
|
|
1717
|
+
r.setDate(0);
|
|
1718
|
+
}
|
|
1714
1719
|
break;
|
|
1715
1720
|
case 'y':
|
|
1716
1721
|
r.setFullYear(r.getFullYear() + offset * sign);
|
|
@@ -1784,6 +1789,20 @@ class InputFile extends Input {
|
|
|
1784
1789
|
'maxfilesizeexceeded': "La dimensione massima di un file è di {0}",
|
|
1785
1790
|
'maxtotalsizeexceeded': "La dimensione massima complessiva dei file è di {0}",
|
|
1786
1791
|
'maxfilesexceeded': "Numero massimo di file superato",
|
|
1792
|
+
},
|
|
1793
|
+
es: {
|
|
1794
|
+
'dropzonelabel': 'Haz clic o arrastra tus archivos aquí',
|
|
1795
|
+
'unaccepptablefiletype': "Solo se admiten archivos de tipo {0}",
|
|
1796
|
+
'maxfilesizeexceeded': "El tamaño máximo de archivo admitido es {0}",
|
|
1797
|
+
'maxtotalsizeexceeded': "El tamaño total máximo admitido es {0}",
|
|
1798
|
+
'maxfilesexceeded': "Se ha superado el número máximo de archivos"
|
|
1799
|
+
},
|
|
1800
|
+
fr: {
|
|
1801
|
+
'dropzonelabel': 'Cliquez ou déposez vos fichiers ici',
|
|
1802
|
+
'unaccepptablefiletype': "Seuls les fichiers de type {0} sont pris en charge",
|
|
1803
|
+
'maxfilesizeexceeded': "La taille maximale de fichier prise en charge est {0}",
|
|
1804
|
+
'maxtotalsizeexceeded': "La taille totale maximale prise en charge est {0}",
|
|
1805
|
+
'maxfilesexceeded': "Nombre maximal de fichiers dépassé"
|
|
1787
1806
|
}
|
|
1788
1807
|
}
|
|
1789
1808
|
static observed = ['value', 'readonly:presence', 'required:presence', "accept:csv", 'multiple:presence', "itemlist:presence", "dropzone:presence", "maxfiles:number", "maxfilesize:number", "maxtotalsize:number"];
|
|
@@ -2855,6 +2874,18 @@ class Pagination extends ParsedElement {
|
|
|
2855
2874
|
'navigation': "Navigazione pagine",
|
|
2856
2875
|
'previous': "Precedente",
|
|
2857
2876
|
'next': "Successivo",
|
|
2877
|
+
},
|
|
2878
|
+
es: {
|
|
2879
|
+
'showing': 'Página {0} de {1}',
|
|
2880
|
+
'navigation': "Navegación de páginas",
|
|
2881
|
+
'previous': "Anterior",
|
|
2882
|
+
'next': "Siguiente",
|
|
2883
|
+
},
|
|
2884
|
+
fr: {
|
|
2885
|
+
'showing': 'Page {0} sur {1}',
|
|
2886
|
+
'navigation': "Navigation des pages",
|
|
2887
|
+
'previous': "Précédent",
|
|
2888
|
+
'next': "Suivant",
|
|
2858
2889
|
}
|
|
2859
2890
|
}
|
|
2860
2891
|
static config = {
|
|
@@ -3013,9 +3044,9 @@ class InMemoryTableLoader {
|
|
|
3013
3044
|
this.#data = data;
|
|
3014
3045
|
}
|
|
3015
3046
|
async load(pageRequest, sortRequest, filterRequest) {
|
|
3016
|
-
return {
|
|
3017
|
-
page: this.#data,
|
|
3018
|
-
size: this.#data.length
|
|
3047
|
+
return {
|
|
3048
|
+
page: this.#data,
|
|
3049
|
+
size: this.#data.length
|
|
3019
3050
|
};
|
|
3020
3051
|
}
|
|
3021
3052
|
update(data) {
|
|
@@ -3068,6 +3099,16 @@ class Table extends ParsedElement {
|
|
|
3068
3099
|
'initial': 'Avvia la ricerca per visualizzare i risultati.',
|
|
3069
3100
|
'error': 'Errore nel caricamento dei dati:',
|
|
3070
3101
|
'nodata': 'Nessun elemento trovato.',
|
|
3102
|
+
},
|
|
3103
|
+
es: {
|
|
3104
|
+
'initial': 'Inicia la búsqueda para ver los resultados.',
|
|
3105
|
+
'error': 'Error al cargar los datos:',
|
|
3106
|
+
'nodata': 'No se encontraron elementos.',
|
|
3107
|
+
},
|
|
3108
|
+
fr: {
|
|
3109
|
+
'initial': 'Lancez la recherche pour voir les résultats.',
|
|
3110
|
+
'error': 'Erreur lors du chargement des données :',
|
|
3111
|
+
'nodata': 'Aucun élément trouvé.',
|
|
3071
3112
|
}
|
|
3072
3113
|
}
|
|
3073
3114
|
static config = {
|