@arsedizioni/ars-utils 22.0.83 → 22.0.84

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arsedizioni/ars-utils",
3
- "version": "22.0.83",
3
+ "version": "22.0.84",
4
4
  "author": {
5
5
  "email": "software@arsedizioni.it",
6
6
  "name": "Fabio Buscaroli, Alberto Doria"
@@ -192,6 +192,16 @@ declare class DateFnsAdapter extends DateAdapter<Date, Locale> {
192
192
  static ɵfac: i0.ɵɵFactoryDeclaration<DateFnsAdapter, never>;
193
193
  static ɵprov: i0.ɵɵInjectableDeclaration<DateFnsAdapter>;
194
194
  }
195
+ /** Opzioni di configurazione del supporto date ARS. */
196
+ interface ArsDateFnsOptions {
197
+ /** Timezone IANA usato da adapter e serializzazione (default: `Europe/Rome`). */
198
+ timeZone?: string;
199
+ /**
200
+ * Registra l'interceptor che serializza le Date come wall-clock locale.
201
+ * Richiede `withInterceptorsFromDi()` in `provideHttpClient()`. Default: `true`.
202
+ */
203
+ httpSerialization?: boolean;
204
+ }
195
205
  /**
196
206
  * Standalone providers for the ARS date-fns adapter.
197
207
  *
@@ -204,7 +214,7 @@ declare class DateFnsAdapter extends DateAdapter<Date, Locale> {
204
214
  * providers: [provideArsDateFns()]
205
215
  * });
206
216
  */
207
- declare function provideArsDateFns(): EnvironmentProviders;
217
+ declare function provideArsDateFns(options?: ArsDateFnsOptions): EnvironmentProviders;
208
218
 
209
219
  /**
210
220
  * Directive that moves browser focus to the host element after the first render cycle.
@@ -1775,4 +1785,4 @@ declare class ThemeService implements OnDestroy {
1775
1785
  }
1776
1786
 
1777
1787
  export { AutoFocusDirective, BroadcastChannelManager, BroadcastService, CHANNEL_NAME, CopyClipboardDirective, DateFnsAdapter, DateFormat, DateInterval, DateIntervalChangeDirective, DeleteModel, EmailsValidatorDirective, EnvironmentService, EqualsValidatorDirective, FileInfo, FileSizeValidatorDirective, FormatHtmlPipe, FormatMarkdownPipe, FormatPipe, GroupModel, GuidValidatorDirective, IDModel, ImportModel, MAT_DATE_FNS_FORMATS, MaxTermsValidatorDirective, NotEmptyValidatorDirective, NotEqualValidatorDirective, NotFutureValidatorDirective, PasswordValidatorDirective, QueryModel, RelationModel, RemoveFocusDirective, ReplacePipe, SafeHtmlPipe, SafeUrlPipe, ScreenService, SearchCallbackPipe, SearchFilterPipe, SelectableModel, SplashService, SqlDateValidatorDirective, SystemUtils, ThemeService, TimeValidatorDirective, UpdateRelationsModel, UrlValidatorDirective, UtilsMessages, ValidIfDirective, ValidatorDirective, ValueModel, provideArsDateFns };
1778
- export type { AddModel, AddResultModel, ApiResponse, ApiResult, BroadcastChannelMessageBag, BroadcastChannelSubscriberInfo, BroadcastMessageInfo, BroadcastMessageToastData, Checkable, DeleteResultModel, DoneResult, EnableDisableModel, ErrorInfo, File, Folder, FolderTree, INode, KeyOf, LoginResult, NameValueItem, PasswordStrength, QueryResultModel, SearchBag, SearchFilterMetadata, Searchable, SendToModel, ThemeType, UpdateModel, UpdateResultModel, Validated };
1788
+ export type { AddModel, AddResultModel, ApiResponse, ApiResult, ArsDateFnsOptions, BroadcastChannelMessageBag, BroadcastChannelSubscriberInfo, BroadcastMessageInfo, BroadcastMessageToastData, Checkable, DeleteResultModel, DoneResult, EnableDisableModel, ErrorInfo, File, Folder, FolderTree, INode, KeyOf, LoginResult, NameValueItem, PasswordStrength, QueryResultModel, SearchBag, SearchFilterMetadata, Searchable, SendToModel, ThemeType, UpdateModel, UpdateResultModel, Validated };