@signal24/vue-foundation 4.23.0 → 4.24.1
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/src/filters/index.d.ts +13 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/vue-foundation.es.js +843 -677
- package/package.json +7 -6
- package/src/filters/index.ts +41 -1
- package/src/helpers/string.ts +2 -7
|
@@ -9,9 +9,16 @@ declare function startCase(value: null): null;
|
|
|
9
9
|
declare function startCase(value: string): string;
|
|
10
10
|
declare function upperCase(value: null): null;
|
|
11
11
|
declare function upperCase(value: string): string;
|
|
12
|
+
declare function upperWords(value: null): null;
|
|
13
|
+
declare function upperWords(value: string): string;
|
|
12
14
|
declare function desnake(value: null): null;
|
|
13
15
|
declare function desnake(value: string): string;
|
|
14
16
|
declare function usCurrency(value: string | number, divisor?: number): string;
|
|
17
|
+
declare function divide(value: number, divisor: number): number;
|
|
18
|
+
declare function date(value: string | null, formatStr?: string): string | null;
|
|
19
|
+
declare function time(value: string | null, formatStr?: string): string | null;
|
|
20
|
+
declare function dateTime(value: string | null, formatStr?: string): string | null;
|
|
21
|
+
declare function oneDayForward(date?: string | null): string | null | undefined;
|
|
15
22
|
declare const FilterFns: {
|
|
16
23
|
bytes: typeof bytes;
|
|
17
24
|
dash: typeof dash;
|
|
@@ -21,8 +28,14 @@ declare const FilterFns: {
|
|
|
21
28
|
upperFirst: typeof upperFirst;
|
|
22
29
|
startCase: typeof startCase;
|
|
23
30
|
upperCase: typeof upperCase;
|
|
31
|
+
upperWords: typeof upperWords;
|
|
24
32
|
desnake: typeof desnake;
|
|
25
33
|
usCurrency: typeof usCurrency;
|
|
34
|
+
divide: typeof divide;
|
|
35
|
+
date: typeof date;
|
|
36
|
+
time: typeof time;
|
|
37
|
+
dateTime: typeof dateTime;
|
|
38
|
+
oneDayForward: typeof oneDayForward;
|
|
26
39
|
};
|
|
27
40
|
export declare const createFilters: <T>(factory: (baseFilters: typeof FilterFns) => T) => typeof FilterFns & T;
|
|
28
41
|
export {};
|