forked from angular/angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommon.ts
More file actions
113 lines (112 loc) · 2.69 KB
/
common.ts
File metadata and controls
113 lines (112 loc) · 2.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
/**
* @module
* @description
* Entry point for all public APIs of the common package.
*/
export * from './private_export';
export * from './location/index';
export {formatDate} from './i18n/format_date';
export {formatCurrency, formatNumber, formatPercent} from './i18n/format_number';
export {NgLocaleLocalization, NgLocalization} from './i18n/localization';
export {registerLocaleData} from './i18n/locale_data';
export {
Plural,
NumberFormatStyle,
FormStyle,
Time,
TranslationWidth,
FormatWidth,
NumberSymbol,
WeekDay,
getNumberOfCurrencyDigits,
getCurrencySymbol,
getLocaleDayPeriods,
getLocaleDayNames,
getLocaleMonthNames,
getLocaleId,
getLocaleEraNames,
getLocaleWeekEndRange,
getLocaleFirstDayOfWeek,
getLocaleDateFormat,
getLocaleDateTimeFormat,
getLocaleExtraDayPeriodRules,
getLocaleExtraDayPeriods,
getLocalePluralCase,
getLocaleTimeFormat,
getLocaleNumberSymbol,
getLocaleNumberFormat,
getLocaleCurrencyCode,
getLocaleCurrencyName,
getLocaleCurrencySymbol,
getLocaleDirection,
} from './i18n/locale_data_api';
export {parseCookieValue as ɵparseCookieValue} from './cookie';
export {CommonModule} from './common_module';
export {
NgClass,
NgFor,
NgForOf,
NgForOfContext,
NgIf,
NgIfContext,
NgPlural,
NgPluralCase,
NgStyle,
NgSwitch,
NgSwitchCase,
NgSwitchDefault,
NgTemplateOutlet,
NgComponentOutlet,
} from './directives/index';
export {DOCUMENT} from './dom_tokens';
export {
AsyncPipe,
DatePipe,
DatePipeConfig,
DATE_PIPE_DEFAULT_TIMEZONE,
DATE_PIPE_DEFAULT_OPTIONS,
I18nPluralPipe,
I18nSelectPipe,
JsonPipe,
LowerCasePipe,
CurrencyPipe,
DecimalPipe,
PercentPipe,
SlicePipe,
UpperCasePipe,
TitleCasePipe,
KeyValuePipe,
KeyValue,
} from './pipes/index';
export {
PLATFORM_BROWSER_ID as ɵPLATFORM_BROWSER_ID,
PLATFORM_SERVER_ID as ɵPLATFORM_SERVER_ID,
isPlatformBrowser,
isPlatformServer,
} from './platform_id';
export {VERSION} from './version';
export {ViewportScroller, NullViewportScroller as ɵNullViewportScroller} from './viewport_scroller';
export {XhrFactory} from './xhr';
export {
IMAGE_CONFIG,
ImageConfig,
IMAGE_LOADER,
ImageLoader,
ImageLoaderConfig,
NgOptimizedImage,
ImagePlaceholderConfig,
PRECONNECT_CHECK_BLOCKLIST,
provideCloudflareLoader,
provideCloudinaryLoader,
provideImageKitLoader,
provideImgixLoader,
provideNetlifyLoader,
} from './directives/ng_optimized_image';
export {normalizeQueryParams as ɵnormalizeQueryParams} from './location/util';