@netwin/angular-datetime-picker 18.0.0 → 18.1.0-rc.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.
- package/README.md +0 -0
- package/assets/style/picker.min.css +1 -1
- package/esm2022/lib/date-time/adapter/date-time-adapter.class.mjs +5 -6
- package/esm2022/lib/date-time/adapter/date-time-format.class.mjs +1 -1
- package/esm2022/lib/date-time/adapter/native-date-time-adapter.class.mjs +14 -22
- package/esm2022/lib/date-time/adapter/native-date-time-format.class.mjs +9 -3
- package/esm2022/lib/date-time/adapter/native-date-time.module.mjs +23 -17
- package/esm2022/lib/date-time/adapter/unix-timestamp-adapter/unix-timestamp-date-time-adapter.class.mjs +13 -20
- package/esm2022/lib/date-time/adapter/unix-timestamp-adapter/unix-timestamp-date-time-format.class.mjs +9 -3
- package/esm2022/lib/date-time/calendar-body.component.mjs +11 -12
- package/esm2022/lib/date-time/calendar-month-view.component.mjs +34 -49
- package/esm2022/lib/date-time/calendar-multi-year-view.component.mjs +25 -20
- package/esm2022/lib/date-time/calendar-year-view.component.mjs +19 -28
- package/esm2022/lib/date-time/calendar.component.mjs +42 -57
- package/esm2022/lib/date-time/date-time-inline.component.mjs +18 -21
- package/esm2022/lib/date-time/date-time-picker-container.component.mjs +14 -29
- package/esm2022/lib/date-time/date-time-picker-input.directive.mjs +52 -92
- package/esm2022/lib/date-time/date-time-picker-intl.service.mjs +4 -4
- package/esm2022/lib/date-time/date-time-picker-trigger.directive.mjs +8 -13
- package/esm2022/lib/date-time/date-time-picker.animations.mjs +2 -2
- package/esm2022/lib/date-time/date-time-picker.component.mjs +37 -53
- package/esm2022/lib/date-time/date-time.class.mjs +15 -19
- package/esm2022/lib/date-time/date-time.module.mjs +21 -29
- package/esm2022/lib/date-time/numberedFixLen.pipe.mjs +5 -5
- package/esm2022/lib/date-time/options-provider.mjs +4 -4
- package/esm2022/lib/date-time/timer-box.component.mjs +24 -19
- package/esm2022/lib/date-time/timer.component.mjs +14 -27
- package/esm2022/lib/dialog/dialog-config.class.mjs +4 -1
- package/esm2022/lib/dialog/dialog-container.component.mjs +15 -13
- package/esm2022/lib/dialog/dialog-ref.class.mjs +16 -5
- package/esm2022/lib/dialog/dialog.module.mjs +10 -18
- package/esm2022/lib/dialog/dialog.service.mjs +23 -40
- package/esm2022/lib/utils/array.utils.mjs +1 -1
- package/esm2022/lib/utils/constants.mjs +4 -25
- package/esm2022/lib/utils/date.utils.mjs +1 -1
- package/esm2022/lib/utils/object.utils.mjs +2 -2
- package/esm2022/public_api.mjs +2 -2
- package/fesm2022/netwin-angular-datetime-picker.mjs +3540 -3702
- package/fesm2022/netwin-angular-datetime-picker.mjs.map +1 -1
- package/lib/date-time/adapter/date-time-adapter.class.d.ts +6 -6
- package/lib/date-time/adapter/native-date-time-adapter.class.d.ts +6 -3
- package/lib/date-time/adapter/unix-timestamp-adapter/unix-timestamp-date-time-adapter.class.d.ts +7 -4
- package/lib/date-time/calendar-body.component.d.ts +4 -5
- package/lib/date-time/calendar-month-view.component.d.ts +4 -7
- package/lib/date-time/calendar-multi-year-view.component.d.ts +8 -12
- package/lib/date-time/calendar-year-view.component.d.ts +4 -7
- package/lib/date-time/calendar.component.d.ts +5 -6
- package/lib/date-time/date-time-inline.component.d.ts +6 -9
- package/lib/date-time/date-time-picker-container.component.d.ts +5 -5
- package/lib/date-time/date-time-picker-input.directive.d.ts +6 -9
- package/lib/date-time/date-time-picker-trigger.directive.d.ts +2 -3
- package/lib/date-time/date-time-picker.component.d.ts +9 -13
- package/lib/date-time/date-time.class.d.ts +2 -5
- package/lib/date-time/options-provider.d.ts +1 -1
- package/lib/date-time/timer-box.component.d.ts +0 -4
- package/lib/date-time/timer.component.d.ts +3 -4
- package/lib/dialog/dialog-config.class.d.ts +5 -5
- package/lib/dialog/dialog-container.component.d.ts +2 -3
- package/lib/dialog/dialog.service.d.ts +7 -7
- package/lib/utils/array.utils.d.ts +1 -1
- package/lib/utils/object.utils.d.ts +1 -1
- package/package.json +2 -2
- package/public_api.d.ts +2 -2
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* dialog.service
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
4
|
+
import { Overlay, OverlayContainer, ScrollStrategy } from '@angular/cdk/overlay';
|
|
5
|
+
import { ComponentType } from '@angular/cdk/portal';
|
|
5
6
|
import { Location } from '@angular/common';
|
|
7
|
+
import { InjectionToken, Injector, TemplateRef } from '@angular/core';
|
|
8
|
+
import { Observable, Subject } from 'rxjs';
|
|
6
9
|
import { OwlDialogConfig, OwlDialogConfigInterface } from './dialog-config.class';
|
|
7
10
|
import { OwlDialogRef } from './dialog-ref.class';
|
|
8
|
-
import { Observable, Subject } from 'rxjs';
|
|
9
|
-
import { Overlay, OverlayContainer, ScrollStrategy } from '@angular/cdk/overlay';
|
|
10
|
-
import { ComponentType } from '@angular/cdk/portal';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export declare const OWL_DIALOG_DATA: InjectionToken<any>;
|
|
13
13
|
/**
|
|
@@ -26,6 +26,7 @@ export declare const OWL_DIALOG_SCROLL_STRATEGY_PROVIDER: {
|
|
|
26
26
|
* */
|
|
27
27
|
export declare const OWL_DIALOG_DEFAULT_OPTIONS: InjectionToken<OwlDialogConfig>;
|
|
28
28
|
export declare class OwlDialogService {
|
|
29
|
+
#private;
|
|
29
30
|
private overlay;
|
|
30
31
|
private injector;
|
|
31
32
|
private location;
|
|
@@ -38,17 +39,16 @@ export declare class OwlDialogService {
|
|
|
38
39
|
private _afterOpenAtThisLevel;
|
|
39
40
|
private _afterAllClosedAtThisLevel;
|
|
40
41
|
/** Keeps track of the currently-open dialogs. */
|
|
41
|
-
get openDialogs(): OwlDialogRef<any
|
|
42
|
+
get openDialogs(): Array<OwlDialogRef<any>>;
|
|
42
43
|
/** Stream that emits when a dialog has been opened. */
|
|
43
44
|
get beforeOpen(): Subject<OwlDialogRef<any>>;
|
|
44
45
|
/** Stream that emits when a dialog has been opened. */
|
|
45
46
|
get afterOpen(): Subject<OwlDialogRef<any>>;
|
|
46
|
-
get _afterAllClosed(): any;
|
|
47
47
|
/**
|
|
48
48
|
* Stream that emits when all open dialog have finished closing.
|
|
49
49
|
* Will emit on subscribe if there are no open dialogs to begin with.
|
|
50
50
|
*/
|
|
51
|
-
afterAllClosed: Observable<
|
|
51
|
+
afterAllClosed: Observable<void>;
|
|
52
52
|
private readonly scrollStrategy;
|
|
53
53
|
constructor(overlay: Overlay, injector: Injector, location: Location, scrollStrategy: any, defaultOptions: OwlDialogConfigInterface, parentDialog: OwlDialogService, overlayContainer: OverlayContainer);
|
|
54
54
|
open<T>(componentOrTemplateRef: ComponentType<T> | TemplateRef<T>, config?: OwlDialogConfigInterface): OwlDialogRef<any>;
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
* @param dest The object which will have properties copied to it.
|
|
9
9
|
* @param sources The source objects from which properties will be copied.
|
|
10
10
|
*/
|
|
11
|
-
export declare function extendObject(dest:
|
|
11
|
+
export declare function extendObject<T extends object>(dest: T, ...sources: Array<object>): T;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netwin/angular-datetime-picker",
|
|
3
|
-
"version": "18.0.
|
|
3
|
+
"version": "18.1.0-rc.1",
|
|
4
4
|
"description": "Angular Date Time Picker",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Angular",
|
|
@@ -48,4 +48,4 @@
|
|
|
48
48
|
"module": "fesm2022/netwin-angular-datetime-picker.mjs",
|
|
49
49
|
"typings": "index.d.ts",
|
|
50
50
|
"sideEffects": false
|
|
51
|
-
}
|
|
51
|
+
}
|
package/public_api.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
export { OwlDateTimeModule } from './lib/date-time/date-time.module';
|
|
5
5
|
export { OwlDateTimeIntl } from './lib/date-time/date-time-picker-intl.service';
|
|
6
6
|
export { OwlNativeDateTimeModule } from './lib/date-time/adapter/native-date-time.module';
|
|
7
|
-
export {
|
|
7
|
+
export { DateTimeAdapter, OWL_DATE_TIME_LOCALE, OWL_DATE_TIME_LOCALE_PROVIDER } from './lib/date-time/adapter/date-time-adapter.class';
|
|
8
8
|
export { OWL_DATE_TIME_FORMATS, OwlDateTimeFormats } from './lib/date-time/adapter/date-time-format.class';
|
|
9
9
|
export { UnixTimestampDateTimeAdapter } from './lib/date-time/adapter/unix-timestamp-adapter/unix-timestamp-date-time-adapter.class';
|
|
10
10
|
export { OWL_UNIX_TIMESTAMP_DATE_TIME_FORMATS } from './lib/date-time/adapter/unix-timestamp-adapter/unix-timestamp-date-time-format.class';
|
|
@@ -21,4 +21,4 @@ export * from './lib/date-time/calendar.component';
|
|
|
21
21
|
export * from './lib/date-time/timer.component';
|
|
22
22
|
export { NativeDateTimeAdapter } from './lib/date-time/adapter/native-date-time-adapter.class';
|
|
23
23
|
export * from './lib/date-time/options-provider';
|
|
24
|
-
export {
|
|
24
|
+
export { DateView, DateViewType, PickerMode, PickerType, SelectMode } from './lib/date-time/date-time.class';
|