@luizleon/sf.prefeiturasp.vuecomponents 6.0.1 → 6.0.2
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/sf.prefeiturasp.vuecomponents.js +147 -102
- package/dist/sf.prefeiturasp.vuecomponents.js.map +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.umd.cjs +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.umd.cjs.map +1 -1
- package/dist/types/common/utilities.d.ts +17 -1
- package/dist/types/common/utilities.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -35,9 +35,25 @@ declare class Utilities {
|
|
|
35
35
|
* Pausa a execução do código por um determinado tempo, em milissegundos.
|
|
36
36
|
* @example await Utilities.DelayAsync(1000)
|
|
37
37
|
* @param ms
|
|
38
|
+
* @default 400
|
|
38
39
|
* @returns
|
|
39
40
|
*/
|
|
40
|
-
static DelayAsync(ms
|
|
41
|
+
static DelayAsync(ms?: number): Promise<unknown>;
|
|
42
|
+
static FormatNumber(value: number, fractionDigits?: number, locale?: string): string;
|
|
43
|
+
static FormatCurrency(value: number, currency?: string): string;
|
|
44
|
+
/**
|
|
45
|
+
* Verifica se um objeto possui uma chave.
|
|
46
|
+
* @param obj
|
|
47
|
+
* @param key
|
|
48
|
+
* @returns
|
|
49
|
+
*/
|
|
50
|
+
static HasKey<K extends string>(obj: any, key: K): obj is Record<K, unknown>;
|
|
51
|
+
/**
|
|
52
|
+
* Extrai o nome do arquivo do header Content-Disposition.
|
|
53
|
+
* @param value
|
|
54
|
+
* @returns
|
|
55
|
+
*/
|
|
56
|
+
static GetFilenameFromContentDisposition(value: string | null): string | null;
|
|
41
57
|
}
|
|
42
58
|
export { Utilities };
|
|
43
59
|
//# sourceMappingURL=utilities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../../../src/common/utilities.ts"],"names":[],"mappings":"AAAA,cAAM,SAA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