@opfr/utils-lang 0.0.7 → 0.0.9
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/locales/fr.d.ts +56 -0
- package/dist/string.d.ts +2 -2
- package/dist/utils-lang.js +878 -795
- package/dist/utils-lang.umd.cjs +5 -5
- package/package.json +2 -4
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
declare const fr: {
|
|
2
|
+
months: string[];
|
|
3
|
+
monthsShort: string[];
|
|
4
|
+
monthsRegex: RegExp;
|
|
5
|
+
monthsShortRegex: RegExp;
|
|
6
|
+
monthsStrictRegex: RegExp;
|
|
7
|
+
monthsShortStrictRegex: RegExp;
|
|
8
|
+
monthsParse: RegExp[];
|
|
9
|
+
longMonthsParse: RegExp[];
|
|
10
|
+
shortMonthsParse: RegExp[];
|
|
11
|
+
weekdays: string[];
|
|
12
|
+
weekdaysShort: string[];
|
|
13
|
+
weekdaysMin: string[];
|
|
14
|
+
weekdaysParseExact: boolean;
|
|
15
|
+
longDateFormat: {
|
|
16
|
+
LT: string;
|
|
17
|
+
LTS: string;
|
|
18
|
+
L: string;
|
|
19
|
+
LL: string;
|
|
20
|
+
LLL: string;
|
|
21
|
+
LLLL: string;
|
|
22
|
+
};
|
|
23
|
+
calendar: {
|
|
24
|
+
sameDay: string;
|
|
25
|
+
nextDay: string;
|
|
26
|
+
nextWeek: string;
|
|
27
|
+
lastDay: string;
|
|
28
|
+
lastWeek: string;
|
|
29
|
+
sameElse: string;
|
|
30
|
+
};
|
|
31
|
+
relativeTime: {
|
|
32
|
+
future: string;
|
|
33
|
+
past: string;
|
|
34
|
+
s: string;
|
|
35
|
+
ss: string;
|
|
36
|
+
m: string;
|
|
37
|
+
mm: string;
|
|
38
|
+
h: string;
|
|
39
|
+
hh: string;
|
|
40
|
+
d: string;
|
|
41
|
+
dd: string;
|
|
42
|
+
w: string;
|
|
43
|
+
ww: string;
|
|
44
|
+
M: string;
|
|
45
|
+
MM: string;
|
|
46
|
+
y: string;
|
|
47
|
+
yy: string;
|
|
48
|
+
};
|
|
49
|
+
dayOfMonthOrdinalParse: RegExp;
|
|
50
|
+
ordinal: (n: number) => string;
|
|
51
|
+
week: {
|
|
52
|
+
dow: number;
|
|
53
|
+
doy: number;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
export default fr;
|
package/dist/string.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const TIGHT_SPACE: string;
|
|
2
2
|
export declare const WIDE_SPACE: string;
|
|
3
|
-
export declare const fillWithTightSpaces: (str: string) => string;
|
|
4
|
-
export declare const fillWithWideSpaces: (str: string) => string;
|
|
3
|
+
export declare const fillWithTightSpaces: (str: string, separator?: string) => string;
|
|
4
|
+
export declare const fillWithWideSpaces: (str: string, separator?: string) => string;
|
|
5
5
|
export declare const ellipsis: (str: string, limit: number) => string;
|
|
6
6
|
export declare const capitalize: (str: string) => string;
|
|
7
7
|
export declare const capitalizeAllWords: (str: string) => string;
|