@trustme24/flext 1.3.3 → 1.3.4
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/index.cjs +283 -283
- package/dist/index.d.ts +2 -0
- package/dist/index.js +15 -15
- package/dist/modules/date/index.d.ts +3 -2
- package/package.json +1 -1
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { DateTime } from 'luxon';
|
|
1
2
|
import { SafeString } from 'handlebars';
|
|
2
3
|
export declare const DEFAULT_LANG = "en-US";
|
|
3
|
-
export declare function op(state: any):
|
|
4
|
+
export declare function op(state: any): DateTime | string | number;
|
|
4
5
|
export declare function opWithColor(state: any): SafeString;
|
|
6
|
+
export declare function now(state: any): DateTime;
|
|
5
7
|
export declare function seconds(state: any): SafeString;
|
|
6
8
|
export declare function minutes(state: any): SafeString;
|
|
7
9
|
export declare function hours(state: any): SafeString;
|
|
@@ -10,7 +12,6 @@ export declare function month(state: any): SafeString;
|
|
|
10
12
|
export declare function monthText(state: any): SafeString;
|
|
11
13
|
export declare function year(state: any): SafeString;
|
|
12
14
|
export declare function text(state: any): SafeString;
|
|
13
|
-
export declare function now(): Date;
|
|
14
15
|
export declare function unix(state: any): number;
|
|
15
16
|
export declare function iso(state: any): string;
|
|
16
17
|
declare const _default: any;
|