@jtandrelevicius/utils-js-library 1.0.7 → 1.0.8
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/index.js +12 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -5,19 +5,26 @@ import { UtilitariosFormatacao } from './lib/format-core.js';
|
|
|
5
5
|
import { UtilitariosOrdenacao } from './lib/order-core.js';
|
|
6
6
|
import { ServicoExportacao } from './lib/export-core.js';
|
|
7
7
|
|
|
8
|
+
// 1. Defina os Aliases como constantes exportáveis
|
|
9
|
+
export const JSK = ServicoDados;
|
|
10
|
+
export const JFSK = UtilitariosFormatacao;
|
|
11
|
+
export const JOSK = UtilitariosOrdenacao;
|
|
12
|
+
export const JEXSK = ServicoExportacao;
|
|
13
|
+
|
|
8
14
|
const lib = {
|
|
9
15
|
ServicoDados,
|
|
10
16
|
UtilitariosFormatacao,
|
|
11
17
|
UtilitariosOrdenacao,
|
|
12
18
|
ServicoExportacao,
|
|
13
19
|
|
|
14
|
-
// Aliases
|
|
15
|
-
JSK
|
|
16
|
-
JFSK
|
|
17
|
-
JOSK
|
|
18
|
-
JEXSK
|
|
20
|
+
// Aliases para o objeto default
|
|
21
|
+
JSK,
|
|
22
|
+
JFSK,
|
|
23
|
+
JOSK,
|
|
24
|
+
JEXSK
|
|
19
25
|
};
|
|
20
26
|
|
|
27
|
+
// 2. Adicione os Aliases na lista de exportação (opcional se usar 'export const' acima, mas bom para garantir)
|
|
21
28
|
export {
|
|
22
29
|
ServicoDados,
|
|
23
30
|
UtilitariosFormatacao,
|