@acorex/core 20.7.39 → 20.7.40
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/date-time/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as i1 from '@acorex/core/format';
|
|
|
3
3
|
import { AXFormatOptions, AXFormatter } from '@acorex/core/format';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
5
|
import { InjectionToken, PipeTransform } from '@angular/core';
|
|
6
|
-
import { AXTranslationService } from '@acorex/core/translation';
|
|
6
|
+
import { AXMultiLanguageString, AXTranslationService } from '@acorex/core/translation';
|
|
7
7
|
|
|
8
8
|
type TimeUnit = 'ms' | 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year' | 'week';
|
|
9
9
|
interface AXDateValue {
|
|
@@ -265,9 +265,11 @@ declare class AXDateTimeFormatter implements AXFormatter {
|
|
|
265
265
|
|
|
266
266
|
interface AXHolidayDate {
|
|
267
267
|
date: Date;
|
|
268
|
-
title:
|
|
268
|
+
title: AXMultiLanguageString;
|
|
269
|
+
/** Hex color used to render the holiday in scheduler views (e.g. `#ef4444`). */
|
|
270
|
+
color?: string;
|
|
269
271
|
cssClass?: string;
|
|
270
|
-
description?:
|
|
272
|
+
description?: AXMultiLanguageString;
|
|
271
273
|
[key: string]: unknown;
|
|
272
274
|
}
|
|
273
275
|
interface AXHolidaysLoaderOptions {
|