siam-ui-utils 1.0.21 → 1.0.22
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_browser/src/commons/defaultValues.js +22 -0
- package/dist_browser/src/constants/{defaultValues.ts → defaultValues.js} +2 -2
- package/package.json +1 -1
- package/src/commons/defaultValues.js +22 -0
- package/src/constants/{defaultValues.ts → defaultValues.js} +2 -2
- package/dist_browser/src/commons/defaultValues.ts +0 -29
- package/src/commons/defaultValues.ts +0 -29
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const idMutualToCodMutual = {
|
|
2
|
+
"01": "AMPF",
|
|
3
|
+
"02": "AMPC",
|
|
4
|
+
};
|
|
5
|
+
|
|
6
|
+
const numberLocalConf = {
|
|
7
|
+
locales: "es-AR",
|
|
8
|
+
minimumFractionDigits: 2,
|
|
9
|
+
maximumFractionDigits: 2,
|
|
10
|
+
style: "currency",
|
|
11
|
+
currency: "ARS",
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const fieldTypes = {
|
|
15
|
+
string: "string",
|
|
16
|
+
number: "number",
|
|
17
|
+
date: "date",
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
const defaultDirection = "ltr";
|
|
21
|
+
|
|
22
|
+
export { idMutualToCodMutual, numberLocalConf, fieldTypes, defaultDirection };
|
package/package.json
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const idMutualToCodMutual = {
|
|
2
|
+
"01": "AMPF",
|
|
3
|
+
"02": "AMPC",
|
|
4
|
+
};
|
|
5
|
+
|
|
6
|
+
const numberLocalConf = {
|
|
7
|
+
locales: "es-AR",
|
|
8
|
+
minimumFractionDigits: 2,
|
|
9
|
+
maximumFractionDigits: 2,
|
|
10
|
+
style: "currency",
|
|
11
|
+
currency: "ARS",
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const fieldTypes = {
|
|
15
|
+
string: "string",
|
|
16
|
+
number: "number",
|
|
17
|
+
date: "date",
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
const defaultDirection = "ltr";
|
|
21
|
+
|
|
22
|
+
export { idMutualToCodMutual, numberLocalConf, fieldTypes, defaultDirection };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
const idMutualToCodMutual: { [x: string]: string } = {
|
|
2
|
-
"01": "AMPF",
|
|
3
|
-
"02": "AMPC",
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
const numberLocalConf: {
|
|
7
|
-
locales: string;
|
|
8
|
-
minimumFractionDigits: number;
|
|
9
|
-
maximumFractionDigits: number;
|
|
10
|
-
style: string;
|
|
11
|
-
currency: string;
|
|
12
|
-
} = {
|
|
13
|
-
locales: "es-AR",
|
|
14
|
-
minimumFractionDigits: 2,
|
|
15
|
-
maximumFractionDigits: 2,
|
|
16
|
-
style: "currency",
|
|
17
|
-
currency: "ARS",
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
const fieldTypes = {
|
|
21
|
-
string: 'string',
|
|
22
|
-
number: 'number',
|
|
23
|
-
date: 'date',
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const defaultDirection = 'ltr';
|
|
28
|
-
|
|
29
|
-
export { idMutualToCodMutual, numberLocalConf, fieldTypes, defaultDirection };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
const idMutualToCodMutual: { [x: string]: string } = {
|
|
2
|
-
"01": "AMPF",
|
|
3
|
-
"02": "AMPC",
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
const numberLocalConf: {
|
|
7
|
-
locales: string;
|
|
8
|
-
minimumFractionDigits: number;
|
|
9
|
-
maximumFractionDigits: number;
|
|
10
|
-
style: string;
|
|
11
|
-
currency: string;
|
|
12
|
-
} = {
|
|
13
|
-
locales: "es-AR",
|
|
14
|
-
minimumFractionDigits: 2,
|
|
15
|
-
maximumFractionDigits: 2,
|
|
16
|
-
style: "currency",
|
|
17
|
-
currency: "ARS",
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
const fieldTypes = {
|
|
21
|
-
string: 'string',
|
|
22
|
-
number: 'number',
|
|
23
|
-
date: 'date',
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const defaultDirection = 'ltr';
|
|
28
|
-
|
|
29
|
-
export { idMutualToCodMutual, numberLocalConf, fieldTypes, defaultDirection };
|