@servicetitan/culture 17.0.1 → 17.2.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/index.d.ts +12 -12
- package/dist/index.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/index.tsx +12 -12
package/dist/index.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
export interface Culture {
|
|
3
3
|
Name: string;
|
|
4
|
-
DateTimeFormat
|
|
5
|
-
MomentShortDatePattern
|
|
6
|
-
MomentShortYearDatePattern
|
|
7
|
-
MomentShortYearDateTimePattern
|
|
4
|
+
DateTimeFormat?: {
|
|
5
|
+
MomentShortDatePattern?: string;
|
|
6
|
+
MomentShortYearDatePattern?: string;
|
|
7
|
+
MomentShortYearDateTimePattern?: string;
|
|
8
8
|
};
|
|
9
|
-
NumberFormat
|
|
10
|
-
NumberDecimalSeparator
|
|
11
|
-
NumberGroupSeparator
|
|
9
|
+
NumberFormat?: {
|
|
10
|
+
NumberDecimalSeparator?: string;
|
|
11
|
+
NumberGroupSeparator?: string;
|
|
12
12
|
};
|
|
13
|
-
PhoneFormat
|
|
14
|
-
PhoneFormatInfo
|
|
13
|
+
PhoneFormat?: {
|
|
14
|
+
PhoneFormatInfo?: {
|
|
15
15
|
Pattern: RegExp;
|
|
16
16
|
Format: string;
|
|
17
17
|
};
|
|
18
|
-
PhoneWithExtNumberFormatInfo
|
|
18
|
+
PhoneWithExtNumberFormatInfo?: {
|
|
19
19
|
Pattern: RegExp;
|
|
20
20
|
Format: string;
|
|
21
21
|
};
|
|
22
|
-
PhoneMask
|
|
23
|
-
SimplePhoneMask
|
|
22
|
+
PhoneMask?: string;
|
|
23
|
+
SimplePhoneMask?: string;
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
26
|
export declare const CULTURE_TOKEN: import("@servicetitan/react-ioc").SymbolToken<Culture>;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAI3B,MAAM,WAAW,OAAO;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAI3B,MAAM,WAAW,OAAO;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,CAAC,EAAE;QACb,sBAAsB,CAAC,EAAE,MAAM,CAAC;QAChC,0BAA0B,CAAC,EAAE,MAAM,CAAC;QACpC,8BAA8B,CAAC,EAAE,MAAM,CAAC;KAC3C,CAAC;IACF,YAAY,CAAC,EAAE;QACX,sBAAsB,CAAC,EAAE,MAAM,CAAC;QAChC,oBAAoB,CAAC,EAAE,MAAM,CAAC;KACjC,CAAC;IACF,WAAW,CAAC,EAAE;QACV,eAAe,CAAC,EAAE;YACd,OAAO,EAAE,MAAM,CAAC;YAChB,MAAM,EAAE,MAAM,CAAC;SAClB,CAAC;QACF,4BAA4B,CAAC,EAAE;YAC3B,OAAO,EAAE,MAAM,CAAC;YAChB,MAAM,EAAE,MAAM,CAAC;SAClB,CAAC;QACF,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,eAAe,CAAC,EAAE,MAAM,CAAC;KAC5B,CAAC;CACL;AAED,eAAO,MAAM,aAAa,wDAAwC,CAAC;AAEnE,UAAU,oBAAoB;IAC1B,KAAK,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAEpD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@servicetitan/culture",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.2.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"homepage": "https://docs.st.dev/docs/frontend/culture",
|
|
6
6
|
"repository": {
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"src"
|
|
16
16
|
],
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@servicetitan/react-ioc": "^17.
|
|
19
|
-
"@types/react": "~17.0.
|
|
18
|
+
"@servicetitan/react-ioc": "^17.2.1",
|
|
19
|
+
"@types/react": "~17.0.33",
|
|
20
20
|
"react": "~17.0.2"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"cli": {
|
|
30
30
|
"webpack": false
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "d68b581cd1bc979b26a56e465f1b0a5fbca02df9"
|
|
33
33
|
}
|
package/src/index.tsx
CHANGED
|
@@ -4,26 +4,26 @@ import { Provider, symbolToken } from '@servicetitan/react-ioc';
|
|
|
4
4
|
|
|
5
5
|
export interface Culture {
|
|
6
6
|
Name: string;
|
|
7
|
-
DateTimeFormat
|
|
8
|
-
MomentShortDatePattern
|
|
9
|
-
MomentShortYearDatePattern
|
|
10
|
-
MomentShortYearDateTimePattern
|
|
7
|
+
DateTimeFormat?: {
|
|
8
|
+
MomentShortDatePattern?: string;
|
|
9
|
+
MomentShortYearDatePattern?: string;
|
|
10
|
+
MomentShortYearDateTimePattern?: string;
|
|
11
11
|
};
|
|
12
|
-
NumberFormat
|
|
13
|
-
NumberDecimalSeparator
|
|
14
|
-
NumberGroupSeparator
|
|
12
|
+
NumberFormat?: {
|
|
13
|
+
NumberDecimalSeparator?: string;
|
|
14
|
+
NumberGroupSeparator?: string;
|
|
15
15
|
};
|
|
16
|
-
PhoneFormat
|
|
17
|
-
PhoneFormatInfo
|
|
16
|
+
PhoneFormat?: {
|
|
17
|
+
PhoneFormatInfo?: {
|
|
18
18
|
Pattern: RegExp;
|
|
19
19
|
Format: string;
|
|
20
20
|
};
|
|
21
|
-
PhoneWithExtNumberFormatInfo
|
|
21
|
+
PhoneWithExtNumberFormatInfo?: {
|
|
22
22
|
Pattern: RegExp;
|
|
23
23
|
Format: string;
|
|
24
24
|
};
|
|
25
|
-
PhoneMask
|
|
26
|
-
SimplePhoneMask
|
|
25
|
+
PhoneMask?: string;
|
|
26
|
+
SimplePhoneMask?: string;
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
|