@omnicar/sam-format
Advanced tools
Comparing version 0.0.32 to 0.0.34
@@ -0,0 +0,0 @@ import { IsoLocale } from '@omnicar/sam-types'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ import { IFormatNumberOptions as ISamFormatNumberOptions } from './IFormatNumberOptions'; |
@@ -0,0 +0,0 @@ "use strict"; |
import { IFormatNumberOptions } from '../IFormatNumberOptions'; | ||
export declare function formatCurrency(price: number, { showDecimals, symbolDisplayType, }?: IFormatNumberOptions): string; |
@@ -0,0 +0,0 @@ "use strict"; |
import { IFormatNumberOptions } from '../IFormatNumberOptions'; | ||
export declare function formatMileage(mileage: number | string, opts?: IFormatNumberOptions): string; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { NumberType, SymbolDisplayType } from './NumberTypes'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
export declare type NumberType = 'MILEAGE' | 'CURRENCY'; | ||
export declare type SymbolDisplayType = 'APPEND' | 'PREPEND' | 'NONE'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ import { IsoLocale } from '@omnicar/sam-types'; |
@@ -64,3 +64,11 @@ "use strict"; | ||
var formats = phoneMap.get('da-DK'); | ||
// if (!isoLocale) { | ||
// // formats = phoneMap.get(defaults.isoName) // Use the "global" locale that is set. | ||
// formats = phoneMap.get('da-DK') | ||
// } else { | ||
formats = phoneMap.get(useIsoLocale); | ||
// } | ||
// if (!formats) { | ||
// formats = phoneMap.get('da-DK') | ||
// } | ||
if (!formats) { | ||
@@ -67,0 +75,0 @@ throw Error("You requested locale \"" + (!isoLocale ? init_1.defaults.isoName : isoLocale) + "\", but there are no phone formats for that locale"); |
@@ -0,0 +0,0 @@ /** |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ export { formatDate, formatLocalizedDate } from './formatDate/formatDate'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { ISamFormatOptions } from './ISamFormatOptions'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { IsoLocale } from '@omnicar/sam-types'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export interface ILocaleConfiguration { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -50,3 +50,3 @@ { | ||
}, | ||
"version": "0.0.32" | ||
"version": "0.0.34" | ||
} |
@@ -0,0 +0,0 @@ # SAM-format |
24738
638