@progress/kendo-angular-intl 24.2.2 → 25.0.0-develop.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.
@@ -1,392 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * Describes the number symbols of the locale, such as decimal and group separators.
7
- */
8
- export interface LocaleNumberSymbols {
9
- /**
10
- * The decimal separator.
11
- */
12
- decimal?: string;
13
- /**
14
- * The group separator.
15
- */
16
- group?: string;
17
- /**
18
- * The percent sign.
19
- */
20
- percentSign?: string;
21
- }
22
- /**
23
- * Describes a currency of a locale, including display name and symbols.
24
- */
25
- export interface LocaleCurrency {
26
- /**
27
- * The display name of the currency.
28
- */
29
- displayName?: string;
30
- /**
31
- * The currency symbol.
32
- */
33
- symbol?: string;
34
- /**
35
- * The narrow currency symbol.
36
- */
37
- "symbol-alt-narrow"?: string;
38
- }
39
- /**
40
- * Describes the currencies of the locale, indexed by currency code.
41
- */
42
- export interface LocaleCurrencies {
43
- /**
44
- * The currency data with the currency code as a key (field name).
45
- */
46
- [propName: string]: LocaleCurrency;
47
- }
48
- /**
49
- * Describes the number data of the locale, including symbols and currencies.
50
- */
51
- export interface LocaleNumbers {
52
- /**
53
- * The number symbols of the locale.
54
- */
55
- symbols?: LocaleNumberSymbols;
56
- /**
57
- * The currencies of the locale.
58
- */
59
- currencies?: LocaleCurrencies;
60
- /**
61
- * The default currency of the locale.
62
- */
63
- localeCurrency: string;
64
- }
65
- /**
66
- * Describes the calendar patterns of the locale, such as date and time formats.
67
- */
68
- export interface LocaleCalendarPatterns {
69
- /**
70
- * The short-date pattern.
71
- */
72
- d?: string;
73
- /**
74
- * The long-date pattern.
75
- */
76
- D?: string;
77
- /**
78
- * The abbreviated month and day pattern.
79
- */
80
- m?: string;
81
- /**
82
- * The wide month and day pattern.
83
- */
84
- M?: string;
85
- /**
86
- * The abbreviated month and year pattern.
87
- */
88
- y?: string;
89
- /**
90
- * The wide month and year pattern.
91
- */
92
- Y?: string;
93
- /**
94
- * The full date and time pattern.
95
- */
96
- F?: string;
97
- /**
98
- * The short general date and time pattern.
99
- */
100
- g?: string;
101
- /**
102
- * The long general date and time pattern.
103
- */
104
- G?: string;
105
- /**
106
- * The short time pattern.
107
- */
108
- t?: string;
109
- /**
110
- * The long time pattern.
111
- */
112
- T?: string;
113
- /**
114
- * The universal sortable local date and time pattern.
115
- */
116
- s?: string;
117
- /**
118
- * The universal sortable UTC date and time pattern.
119
- */
120
- u?: string;
121
- }
122
- /**
123
- * Describes the date and time formats of the locale.
124
- */
125
- export interface LocaleDateTimeFormats {
126
- /**
127
- * The full date-time format.
128
- */
129
- full?: string;
130
- /**
131
- * The long date-time format.
132
- */
133
- long?: string;
134
- /**
135
- * The medium date-time format.
136
- */
137
- medium?: string;
138
- /**
139
- * The short date-time format.
140
- */
141
- short?: string;
142
- /**
143
- * The skeleton formats of the locale.
144
- */
145
- availableFormats?: any;
146
- }
147
- /**
148
- * Describes the time formats of the locale.
149
- */
150
- export interface LocaleTimeFormats {
151
- /**
152
- * The full time format.
153
- */
154
- full?: string;
155
- /**
156
- * The long time format.
157
- */
158
- long?: string;
159
- /**
160
- * The medium time format.
161
- */
162
- medium?: string;
163
- /**
164
- * The short time format.
165
- */
166
- short?: string;
167
- }
168
- /**
169
- * Describes the date formats of the locale.
170
- */
171
- export interface LocaleDateFormats {
172
- /**
173
- * The full date format.
174
- */
175
- full?: string;
176
- /**
177
- * The long date format.
178
- */
179
- long?: string;
180
- /**
181
- * The medium date format.
182
- */
183
- medium?: string;
184
- /**
185
- * The short date format.
186
- */
187
- short?: string;
188
- }
189
- /**
190
- * Describes the name types of the locale date formats (abbreviated, narrow, short, wide).
191
- */
192
- export interface LocaleDateFormatNames {
193
- /**
194
- * An array with the abbreviated names.
195
- */
196
- abbreviated?: string[];
197
- /**
198
- * An array with the narrow names.
199
- */
200
- narrow?: string[];
201
- /**
202
- * An array with the short names.
203
- */
204
- short?: string[];
205
- /**
206
- * An array with the wide names.
207
- */
208
- wide?: string[];
209
- }
210
- /**
211
- * Describes the date-format names of the locale, including format and stand-alone names.
212
- */
213
- export interface LocaleDateFormatNameTypes {
214
- /**
215
- * The default format names.
216
- */
217
- format?: LocaleDateFormatNames;
218
- /**
219
- * The standalone format names.
220
- */
221
- 'stand-alone'?: LocaleDateFormatNames;
222
- }
223
- /**
224
- * Describes the day-period names of the locale (AM/PM).
225
- */
226
- export interface LocaleDayPeriodNames {
227
- /**
228
- * The Ante meridiem name.
229
- */
230
- am?: string;
231
- /**
232
- * The Post meridiem name.
233
- */
234
- pm?: string;
235
- }
236
- /**
237
- * Describes the data for the day-period names of the locale, including format and stand-alone.
238
- */
239
- export interface LocaleDayPeriodNameTypes {
240
- /**
241
- * The default format names.
242
- */
243
- format?: LocaleDayPeriodNames;
244
- /**
245
- * The standalone format names.
246
- */
247
- 'stand-alone'?: LocaleDayPeriodNames;
248
- }
249
- /**
250
- * Describes the date-field names of the locale (wide, short, narrow).
251
- */
252
- export interface LocaleDateFieldNames {
253
- /**
254
- * The wide field name.
255
- */
256
- wide?: string;
257
- /**
258
- * The short field name.
259
- */
260
- short?: string;
261
- /**
262
- * The narrow field name.
263
- */
264
- narrow?: string;
265
- }
266
- /**
267
- * Describes the data for the date-field names of the locale, for each field type.
268
- */
269
- export interface LocaleDateFieldNameTypes {
270
- /**
271
- * The field names for an era.
272
- */
273
- era?: LocaleDateFieldNames;
274
- /**
275
- * The field names for a year.
276
- */
277
- year?: LocaleDateFieldNames;
278
- /**
279
- * The field names for a quarter.
280
- */
281
- quarter?: LocaleDateFieldNames;
282
- /**
283
- * The field names for a month.
284
- */
285
- month?: LocaleDateFieldNames;
286
- /**
287
- * The field names for a week.
288
- */
289
- week?: LocaleDateFieldNames;
290
- /**
291
- * The field names for a day.
292
- */
293
- day?: LocaleDateFieldNames;
294
- /**
295
- * The field names for a weekday.
296
- */
297
- weekday?: LocaleDateFieldNames;
298
- /**
299
- * The field names for a day period.
300
- */
301
- dayperiod?: LocaleDateFieldNames;
302
- /**
303
- * The field names for an hour.
304
- */
305
- hour?: LocaleDateFieldNames;
306
- /**
307
- * The field names for a minute.
308
- */
309
- minute?: LocaleDateFieldNames;
310
- /**
311
- * The field names for a second.
312
- */
313
- second?: LocaleDateFieldNames;
314
- /**
315
- * The field names for a zone.
316
- */
317
- zone?: LocaleDateFieldNames;
318
- }
319
- /**
320
- * Describes the calendar data of the locale, including patterns, formats, and field names.
321
- */
322
- export interface LocaleCalendar {
323
- /**
324
- * The GMT format of the locale.
325
- */
326
- gmtFormat?: string;
327
- /**
328
- * The zero (offset) GMT format of the locale.
329
- */
330
- gmtZeroFormat?: string;
331
- /**
332
- * The predefined patterns of the locale.
333
- */
334
- patterns?: LocaleCalendarPatterns;
335
- /**
336
- * The date and time formats of the locale.
337
- */
338
- dateTimeFormats?: LocaleDateTimeFormats;
339
- /**
340
- * The time formats of the locale.
341
- */
342
- timeFormats?: LocaleTimeFormats;
343
- /**
344
- * The date formats of the locale.
345
- */
346
- dateFormats?: LocaleDateFormats;
347
- /**
348
- * The data for the day names of the locale.
349
- */
350
- days?: LocaleDateFormatNameTypes;
351
- /**
352
- * The data for the day-period names of the locale.
353
- */
354
- dayPeriods?: LocaleDayPeriodNameTypes;
355
- /**
356
- * The data for the month names of the locale.
357
- */
358
- months?: LocaleDateFormatNameTypes;
359
- /**
360
- * The data for the quarter names of the locale.
361
- */
362
- quarters?: LocaleDateFormatNameTypes;
363
- /**
364
- * The data for the era names of the locale.
365
- */
366
- eras?: LocaleDateFormatNameTypes;
367
- /**
368
- * The date-field names of the locale.
369
- */
370
- dateFields: LocaleDateFieldNameTypes;
371
- }
372
- /**
373
- * Describes the data of the locale, including name, territory, numbers, and calendar.
374
- */
375
- export interface Locale {
376
- /**
377
- * The name of the locale.
378
- */
379
- name?: string;
380
- /**
381
- * The territory of the locale.
382
- */
383
- territory?: string;
384
- /**
385
- * The numbers data of the locale.
386
- */
387
- numbers?: LocaleNumbers;
388
- /**
389
- * The calendar data of the locale.
390
- */
391
- calendar?: LocaleCalendar;
392
- }
package/number.pipe.d.ts DELETED
@@ -1,41 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { PipeTransform } from '@angular/core';
6
- import { IntlService } from './intl.service';
7
- import { NumberFormatOptions } from '@progress/kendo-intl';
8
- import * as i0 from "@angular/core";
9
- /**
10
- * Formats a number value to a string based on the requested format.
11
- * This pipe uses the [`IntlService`](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/api/intlservice).
12
- *
13
- * @example
14
- * ```ng-template-no-run
15
- * <ul>
16
- * <li>{{decimal | kendoNumber:'c' }}</li>
17
- * <li>{{stringNumber | kendoNumber:'p' }}</li>
18
- * <li>{{int | kendoNumber:'##.00' }}</li>
19
- * </ul>
20
- * ```
21
- */
22
- export declare class NumberPipe implements PipeTransform {
23
- private intlService;
24
- /**
25
- * @hidden
26
- */
27
- constructor(intlService: IntlService);
28
- /**
29
- * Converts a `Number` object into a string based on the specified format.
30
- * If no format is provided, the value is formatted as decimal number using the
31
- * [`"n"`](https://github.com/telerik/kendo-intl/blob/master/docs/num-formatting/index.md#standard) format.
32
- *
33
- * @param value - The number that will be formatted.
34
- * @param format - The format string or options (optional).
35
- * @param localeId - The locale ID that will be used in place of the default one (optional).
36
- * @returns The formatted number as a string.
37
- */
38
- transform(value: any, format?: string | NumberFormatOptions, localeId?: string): any;
39
- static ɵfac: i0.ɵɵFactoryDeclaration<NumberPipe, never>;
40
- static ɵpipe: i0.ɵɵPipeDeclaration<NumberPipe, "kendoNumber", true>;
41
- }
@@ -1,9 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { type PackageMetadata } from '@progress/kendo-licensing';
6
- /**
7
- * @hidden
8
- */
9
- export declare const packageMetadata: PackageMetadata;