nxt-pick-datetime 22.0.0 → 22.1.0

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
@@ -2,7 +2,7 @@
2
2
  "name": "nxt-pick-datetime",
3
3
  "description": "Date time picker for Angular",
4
4
  "bugs": "https://github.com/Liquid-JS/nxt-components/issues",
5
- "version": "22.0.0",
5
+ "version": "22.1.0",
6
6
  "license": "MIT",
7
7
  "type": "module",
8
8
  "repository": {
@@ -28,7 +28,7 @@
28
28
  "@angular/core": "^22.0.0",
29
29
  "@angular/forms": "^22.0.0",
30
30
  "@angular/localize": "^22.0.0",
31
- "moment": "^2.30.1",
31
+ "moment": "^2.31.0",
32
32
  "rxjs": "^7.8.2"
33
33
  },
34
34
  "exports": {
@@ -1,18 +1,15 @@
1
- import { InjectionToken, Provider } from '@angular/core';
2
-
1
+ import { InjectionToken, Provider } from "@angular/core";
2
+ import "moment";
3
+ import "nxt-pick-datetime";
3
4
  /** Configurable options for {@see MomentDateAdapter} */
4
- interface MomentDateTimeAdapterOptions {
5
- /**
6
- * Turns the use of utc dates on or off.
7
- * Changing this will change how the DateTimePicker output value.
8
- * {@default false}
9
- */
10
- useUtc: boolean;
5
+ export interface MomentDateTimeAdapterOptions {
6
+ /**
7
+ * Turns the use of utc dates on or off.
8
+ * Changing this will change how the DateTimePicker output value.
9
+ * {@default false}
10
+ */
11
+ useUtc: boolean;
11
12
  }
12
13
  /** InjectionToken for moment date adapter to configure options */
13
- declare const NXT_MOMENT_DATE_TIME_ADAPTER_OPTIONS: InjectionToken<MomentDateTimeAdapterOptions>;
14
-
15
- declare function provideMomentDateTimeAdapter(): Provider[];
16
-
17
- export { NXT_MOMENT_DATE_TIME_ADAPTER_OPTIONS, provideMomentDateTimeAdapter };
18
- export type { MomentDateTimeAdapterOptions };
14
+ export declare const NXT_MOMENT_DATE_TIME_ADAPTER_OPTIONS: InjectionToken<MomentDateTimeAdapterOptions>;
15
+ export declare function provideMomentDateTimeAdapter(): Provider[];
@@ -1,5 +1,2 @@
1
- import { Provider } from '@angular/core';
2
-
3
- declare function provideNativeDateTimeAdapter(): Provider[];
4
-
5
- export { provideNativeDateTimeAdapter };
1
+ import { Provider } from "@angular/core";
2
+ export declare function provideNativeDateTimeAdapter(): Provider[];