@sumaris-net/ngx-components 1.19.13 → 1.19.15-rc1
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/bundles/sumaris-net.ngx-components.umd.js +12 -2
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +2 -2
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/core/table/table.class.js +7 -1
- package/esm2015/src/app/shared/pipes/number-format.pipe.js +6 -3
- package/fesm2015/sumaris-net.ngx-components.js +11 -2
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/pipes/number-format.pipe.d.ts +3 -1
- package/src/assets/i18n/fr.json +2 -2
- package/src/theme/_ngx-components.scss +11 -4
package/package.json
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
export declare class NumberFormatPipe implements PipeTransform {
|
|
3
|
-
transform(val: number,
|
|
3
|
+
transform(val: number, opts?: Intl.NumberFormatOptions & {
|
|
4
|
+
fixedDecimals?: number;
|
|
5
|
+
}): string | Promise<string>;
|
|
4
6
|
}
|
package/src/assets/i18n/fr.json
CHANGED
|
@@ -444,8 +444,8 @@
|
|
|
444
444
|
"FIELD_MIN_COMPACT": "Min {{min}}",
|
|
445
445
|
"FIELD_MAX": "Valeur maximale autorisée: {{max}}",
|
|
446
446
|
"FIELD_MAX_COMPACT": "Max {{max}}",
|
|
447
|
-
"FIELD_MAXIMUM_DECIMALS": "Trop de décimales (max: {{
|
|
448
|
-
"FIELD_MAXIMUM_DECIMALS_COMPACT": "Nb décimale > {{
|
|
447
|
+
"FIELD_MAXIMUM_DECIMALS": "Trop de décimales (max: {{max}})",
|
|
448
|
+
"FIELD_MAXIMUM_DECIMALS_COMPACT": "Nb décimale > {{max}}",
|
|
449
449
|
"FIELD_INVALID": "Valeur non valide",
|
|
450
450
|
"FIELD_NOT_VALID_INTEGER": "Valeur entière attendue",
|
|
451
451
|
"FIELD_NOT_VALID_EMAIL": "Adresse email invalide",
|
|
@@ -1065,16 +1065,23 @@ mat-button-toggle.mat-button-toggle-checked.mat-button-toggle-disabled {
|
|
|
1065
1065
|
color: white;
|
|
1066
1066
|
}
|
|
1067
1067
|
|
|
1068
|
-
//
|
|
1068
|
+
// --------------------------------------------------
|
|
1069
|
+
// Material tab group
|
|
1070
|
+
// --------------------------------------------------
|
|
1071
|
+
|
|
1072
|
+
// --- Allow to hide headers
|
|
1069
1073
|
mat-tab-group.mat-tab-group-header-hidden .mat-tab-header {
|
|
1070
|
-
display: none
|
|
1074
|
+
display: none;
|
|
1071
1075
|
}
|
|
1076
|
+
|
|
1077
|
+
// --- Allow to hide header's pagination
|
|
1072
1078
|
mat-tab-group.mat-tab-group-header-pagination-hidden .mat-tab-header-pagination {
|
|
1073
|
-
display: none
|
|
1079
|
+
display: none;
|
|
1074
1080
|
}
|
|
1075
1081
|
|
|
1082
|
+
// --- Allow to hide disabled headers
|
|
1076
1083
|
mat-tab-group.mat-tab-disabled-hidden .mat-tab-disabled {
|
|
1077
|
-
display: none
|
|
1084
|
+
display: none;
|
|
1078
1085
|
}
|
|
1079
1086
|
|
|
1080
1087
|
// --------------------------------------------------
|