nxt-pick-datetime 19.0.4 → 21.0.0-alpha.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/README.md +11 -14
- package/assets/picker.scss +23 -23
- package/fesm2022/nxt-pick-datetime-moment-adapter.mjs +19 -27
- package/fesm2022/nxt-pick-datetime-moment-adapter.mjs.map +1 -1
- package/fesm2022/nxt-pick-datetime-native-adapter.mjs +19 -22
- package/fesm2022/nxt-pick-datetime-native-adapter.mjs.map +1 -1
- package/fesm2022/nxt-pick-datetime.mjs +1862 -2637
- package/fesm2022/nxt-pick-datetime.mjs.map +1 -1
- package/package.json +16 -13
- package/types/nxt-pick-datetime-moment-adapter.d.ts +25 -0
- package/types/nxt-pick-datetime-native-adapter.d.ts +13 -0
- package/types/nxt-pick-datetime.d.ts +1200 -0
- package/index.d.ts +0 -5
- package/lib/class/date-time-adapter.class.d.ts +0 -176
- package/lib/class/date-time-format.class.d.ts +0 -12
- package/lib/class/date-time.class.d.ts +0 -76
- package/lib/class/dialog-config.class.d.ts +0 -90
- package/lib/class/dialog-ref.class.d.ts +0 -50
- package/lib/date-time/calendar/calendar.component.d.ts +0 -147
- package/lib/date-time/calendar-body/calendar-body.component.d.ts +0 -79
- package/lib/date-time/calendar-month-view/calendar-month-view.component.d.ts +0 -139
- package/lib/date-time/calendar-multi-year-view/calendar-multi-year-view.component.d.ts +0 -115
- package/lib/date-time/calendar-year-view/calendar-year-view.component.d.ts +0 -123
- package/lib/date-time/date-time-inline/date-time-inline.component.d.ts +0 -106
- package/lib/date-time/date-time-picker/date-time-picker.component.d.ts +0 -172
- package/lib/date-time/date-time-picker-container/date-time-picker-container.animations.d.ts +0 -6
- package/lib/date-time/date-time-picker-container/date-time-picker-container.component.d.ts +0 -129
- package/lib/date-time/date-time-picker-input.directive.d.ts +0 -167
- package/lib/date-time/date-time-picker-intl.service.d.ts +0 -51
- package/lib/date-time/date-time-picker-trigger.directive.d.ts +0 -22
- package/lib/date-time/date-time.module.d.ts +0 -23
- package/lib/date-time/number-fixed-len.pipe.d.ts +0 -8
- package/lib/date-time/timer/timer.component.d.ts +0 -131
- package/lib/date-time/timer-box/timer-box.component.d.ts +0 -37
- package/lib/dialog/dialog-container/dialog-container.component.d.ts +0 -69
- package/lib/dialog/dialog.module.d.ts +0 -12
- package/lib/dialog/dialog.service.d.ts +0 -78
- package/lib/utils/object.d.ts +0 -9
- package/moment-adapter/date-time-adapter.class.d.ts +0 -64
- package/moment-adapter/date-time-format.class.d.ts +0 -5
- package/moment-adapter/index.d.ts +0 -5
- package/moment-adapter/moment-adapter.module.d.ts +0 -8
- package/moment-adapter/public-api.d.ts +0 -2
- package/native-adapter/date-time-adapter.class.d.ts +0 -72
- package/native-adapter/date-time-format.class.d.ts +0 -5
- package/native-adapter/index.d.ts +0 -5
- package/native-adapter/native-adapter.module.d.ts +0 -9
- package/native-adapter/public-api.d.ts +0 -1
- package/public-api.d.ts +0 -14
package/package.json
CHANGED
|
@@ -2,10 +2,13 @@
|
|
|
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": "
|
|
5
|
+
"version": "21.0.0-alpha.0",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
8
|
-
"repository":
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/Liquid-JS/nxt-components.git"
|
|
11
|
+
},
|
|
9
12
|
"homepage": "https://github.com/Liquid-JS/nxt-components/tree/master/packages/pick-datetime",
|
|
10
13
|
"keywords": [
|
|
11
14
|
"nxt-pick-datetime",
|
|
@@ -20,14 +23,14 @@
|
|
|
20
23
|
"picker"
|
|
21
24
|
],
|
|
22
25
|
"peerDependencies": {
|
|
23
|
-
"@angular/animations": "^
|
|
24
|
-
"@angular/cdk": "^
|
|
25
|
-
"@angular/common": "^
|
|
26
|
-
"@angular/core": "^
|
|
27
|
-
"@angular/forms": "^
|
|
28
|
-
"@angular/localize": "^
|
|
26
|
+
"@angular/animations": "^21.0.0",
|
|
27
|
+
"@angular/cdk": "^21.0.0",
|
|
28
|
+
"@angular/common": "^21.0.0",
|
|
29
|
+
"@angular/core": "^21.0.0",
|
|
30
|
+
"@angular/forms": "^21.0.0",
|
|
31
|
+
"@angular/localize": "^21.0.0",
|
|
29
32
|
"moment": "^2.30.1",
|
|
30
|
-
"rxjs": "^7.8.
|
|
33
|
+
"rxjs": "^7.8.2"
|
|
31
34
|
},
|
|
32
35
|
"dependencies": {
|
|
33
36
|
"tslib": "^2.8.1"
|
|
@@ -40,19 +43,19 @@
|
|
|
40
43
|
"default": "./package.json"
|
|
41
44
|
},
|
|
42
45
|
".": {
|
|
43
|
-
"types": "./
|
|
46
|
+
"types": "./types/nxt-pick-datetime.d.ts",
|
|
44
47
|
"default": "./fesm2022/nxt-pick-datetime.mjs"
|
|
45
48
|
},
|
|
46
49
|
"./moment-adapter": {
|
|
47
|
-
"types": "./moment-adapter
|
|
50
|
+
"types": "./types/nxt-pick-datetime-moment-adapter.d.ts",
|
|
48
51
|
"default": "./fesm2022/nxt-pick-datetime-moment-adapter.mjs"
|
|
49
52
|
},
|
|
50
53
|
"./native-adapter": {
|
|
51
|
-
"types": "./native-adapter
|
|
54
|
+
"types": "./types/nxt-pick-datetime-native-adapter.d.ts",
|
|
52
55
|
"default": "./fesm2022/nxt-pick-datetime-native-adapter.mjs"
|
|
53
56
|
}
|
|
54
57
|
},
|
|
55
58
|
"module": "fesm2022/nxt-pick-datetime.mjs",
|
|
56
|
-
"typings": "
|
|
59
|
+
"typings": "types/nxt-pick-datetime.d.ts",
|
|
57
60
|
"sideEffects": false
|
|
58
61
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
/** Configurable options for {@see MomentDateAdapter} */
|
|
5
|
+
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;
|
|
12
|
+
}
|
|
13
|
+
/** InjectionToken for moment date adapter to configure options */
|
|
14
|
+
declare const NXT_MOMENT_DATE_TIME_ADAPTER_OPTIONS: InjectionToken<MomentDateTimeAdapterOptions>;
|
|
15
|
+
|
|
16
|
+
declare function provideMomentDateTimeAdapter(): Provider[];
|
|
17
|
+
/** @deprecated use provideMomentDateTimeAdapter */
|
|
18
|
+
declare class MomentDateTimeModule {
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MomentDateTimeModule, never>;
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MomentDateTimeModule, never, never, never>;
|
|
21
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MomentDateTimeModule>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export { MomentDateTimeModule, NXT_MOMENT_DATE_TIME_ADAPTER_OPTIONS, provideMomentDateTimeAdapter };
|
|
25
|
+
export type { MomentDateTimeAdapterOptions };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Provider } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/cdk/platform';
|
|
4
|
+
|
|
5
|
+
declare function provideNativeDateTimeAdapter(): Provider[];
|
|
6
|
+
/** @deprecated use provideNativeDateTimeAdapter */
|
|
7
|
+
declare class NativeDateTimeModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NativeDateTimeModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NativeDateTimeModule, never, [typeof i1.PlatformModule], never>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NativeDateTimeModule>;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { NativeDateTimeModule, provideNativeDateTimeAdapter };
|