@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.d.mts
CHANGED
|
@@ -407,6 +407,20 @@ export class InputFile extends Input {
|
|
|
407
407
|
maxtotalsizeexceeded: string;
|
|
408
408
|
maxfilesexceeded: string;
|
|
409
409
|
};
|
|
410
|
+
es: {
|
|
411
|
+
dropzonelabel: string;
|
|
412
|
+
unaccepptablefiletype: string;
|
|
413
|
+
maxfilesizeexceeded: string;
|
|
414
|
+
maxtotalsizeexceeded: string;
|
|
415
|
+
maxfilesexceeded: string;
|
|
416
|
+
};
|
|
417
|
+
fr: {
|
|
418
|
+
dropzonelabel: string;
|
|
419
|
+
unaccepptablefiletype: string;
|
|
420
|
+
maxfilesizeexceeded: string;
|
|
421
|
+
maxtotalsizeexceeded: string;
|
|
422
|
+
maxfilesexceeded: string;
|
|
423
|
+
};
|
|
410
424
|
};
|
|
411
425
|
static templates: {
|
|
412
426
|
items: string;
|
|
@@ -515,6 +529,18 @@ export class Pagination extends ParsedElement {
|
|
|
515
529
|
previous: string;
|
|
516
530
|
next: string;
|
|
517
531
|
};
|
|
532
|
+
es: {
|
|
533
|
+
showing: string;
|
|
534
|
+
navigation: string;
|
|
535
|
+
previous: string;
|
|
536
|
+
next: string;
|
|
537
|
+
};
|
|
538
|
+
fr: {
|
|
539
|
+
showing: string;
|
|
540
|
+
navigation: string;
|
|
541
|
+
previous: string;
|
|
542
|
+
next: string;
|
|
543
|
+
};
|
|
518
544
|
};
|
|
519
545
|
static config: {
|
|
520
546
|
prevIcon: string;
|
|
@@ -625,6 +651,16 @@ export class Table extends ParsedElement {
|
|
|
625
651
|
error: string;
|
|
626
652
|
nodata: string;
|
|
627
653
|
};
|
|
654
|
+
es: {
|
|
655
|
+
initial: string;
|
|
656
|
+
error: string;
|
|
657
|
+
nodata: string;
|
|
658
|
+
};
|
|
659
|
+
fr: {
|
|
660
|
+
initial: string;
|
|
661
|
+
error: string;
|
|
662
|
+
nodata: string;
|
|
663
|
+
};
|
|
628
664
|
};
|
|
629
665
|
static config: {
|
|
630
666
|
searchIcon: string;
|
package/dist/ful.iife.js
CHANGED
|
@@ -1706,12 +1706,17 @@ var ful = (function (exports, ftl) {
|
|
|
1706
1706
|
const sign = match[1] === "-" ? -1 : 1;
|
|
1707
1707
|
const offset = +match[2];
|
|
1708
1708
|
const r = new Date();
|
|
1709
|
+
r.setHours(0, 0, 0, 0);
|
|
1709
1710
|
switch (match[3]) {
|
|
1710
1711
|
case 'd':
|
|
1711
1712
|
r.setDate(r.getDate() + offset * sign);
|
|
1712
1713
|
break;
|
|
1713
1714
|
case 'm':
|
|
1715
|
+
const originalDay = r.getDate();
|
|
1714
1716
|
r.setMonth(r.getMonth() + offset * sign);
|
|
1717
|
+
if (r.getDate() !== originalDay) {
|
|
1718
|
+
r.setDate(0);
|
|
1719
|
+
}
|
|
1715
1720
|
break;
|
|
1716
1721
|
case 'y':
|
|
1717
1722
|
r.setFullYear(r.getFullYear() + offset * sign);
|
|
@@ -1785,6 +1790,20 @@ var ful = (function (exports, ftl) {
|
|
|
1785
1790
|
'maxfilesizeexceeded': "La dimensione massima di un file è di {0}",
|
|
1786
1791
|
'maxtotalsizeexceeded': "La dimensione massima complessiva dei file è di {0}",
|
|
1787
1792
|
'maxfilesexceeded': "Numero massimo di file superato",
|
|
1793
|
+
},
|
|
1794
|
+
es: {
|
|
1795
|
+
'dropzonelabel': 'Haz clic o arrastra tus archivos aquí',
|
|
1796
|
+
'unaccepptablefiletype': "Solo se admiten archivos de tipo {0}",
|
|
1797
|
+
'maxfilesizeexceeded': "El tamaño máximo de archivo admitido es {0}",
|
|
1798
|
+
'maxtotalsizeexceeded': "El tamaño total máximo admitido es {0}",
|
|
1799
|
+
'maxfilesexceeded': "Se ha superado el número máximo de archivos"
|
|
1800
|
+
},
|
|
1801
|
+
fr: {
|
|
1802
|
+
'dropzonelabel': 'Cliquez ou déposez vos fichiers ici',
|
|
1803
|
+
'unaccepptablefiletype': "Seuls les fichiers de type {0} sont pris en charge",
|
|
1804
|
+
'maxfilesizeexceeded': "La taille maximale de fichier prise en charge est {0}",
|
|
1805
|
+
'maxtotalsizeexceeded': "La taille totale maximale prise en charge est {0}",
|
|
1806
|
+
'maxfilesexceeded': "Nombre maximal de fichiers dépassé"
|
|
1788
1807
|
}
|
|
1789
1808
|
}
|
|
1790
1809
|
static observed = ['value', 'readonly:presence', 'required:presence', "accept:csv", 'multiple:presence', "itemlist:presence", "dropzone:presence", "maxfiles:number", "maxfilesize:number", "maxtotalsize:number"];
|
|
@@ -2856,6 +2875,18 @@ var ful = (function (exports, ftl) {
|
|
|
2856
2875
|
'navigation': "Navigazione pagine",
|
|
2857
2876
|
'previous': "Precedente",
|
|
2858
2877
|
'next': "Successivo",
|
|
2878
|
+
},
|
|
2879
|
+
es: {
|
|
2880
|
+
'showing': 'Página {0} de {1}',
|
|
2881
|
+
'navigation': "Navegación de páginas",
|
|
2882
|
+
'previous': "Anterior",
|
|
2883
|
+
'next': "Siguiente",
|
|
2884
|
+
},
|
|
2885
|
+
fr: {
|
|
2886
|
+
'showing': 'Page {0} sur {1}',
|
|
2887
|
+
'navigation': "Navigation des pages",
|
|
2888
|
+
'previous': "Précédent",
|
|
2889
|
+
'next': "Suivant",
|
|
2859
2890
|
}
|
|
2860
2891
|
}
|
|
2861
2892
|
static config = {
|
|
@@ -3014,9 +3045,9 @@ var ful = (function (exports, ftl) {
|
|
|
3014
3045
|
this.#data = data;
|
|
3015
3046
|
}
|
|
3016
3047
|
async load(pageRequest, sortRequest, filterRequest) {
|
|
3017
|
-
return {
|
|
3018
|
-
page: this.#data,
|
|
3019
|
-
size: this.#data.length
|
|
3048
|
+
return {
|
|
3049
|
+
page: this.#data,
|
|
3050
|
+
size: this.#data.length
|
|
3020
3051
|
};
|
|
3021
3052
|
}
|
|
3022
3053
|
update(data) {
|
|
@@ -3069,6 +3100,16 @@ var ful = (function (exports, ftl) {
|
|
|
3069
3100
|
'initial': 'Avvia la ricerca per visualizzare i risultati.',
|
|
3070
3101
|
'error': 'Errore nel caricamento dei dati:',
|
|
3071
3102
|
'nodata': 'Nessun elemento trovato.',
|
|
3103
|
+
},
|
|
3104
|
+
es: {
|
|
3105
|
+
'initial': 'Inicia la búsqueda para ver los resultados.',
|
|
3106
|
+
'error': 'Error al cargar los datos:',
|
|
3107
|
+
'nodata': 'No se encontraron elementos.',
|
|
3108
|
+
},
|
|
3109
|
+
fr: {
|
|
3110
|
+
'initial': 'Lancez la recherche pour voir les résultats.',
|
|
3111
|
+
'error': 'Erreur lors du chargement des données :',
|
|
3112
|
+
'nodata': 'Aucun élément trouvé.',
|
|
3072
3113
|
}
|
|
3073
3114
|
}
|
|
3074
3115
|
static config = {
|