@libs-ui/components-datetime-picker 0.2.219 → 0.2.221
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/esm2022/interfaces/function-control.interface.mjs +1 -1
- package/esm2022/picker.component.mjs +13 -3
- package/fesm2022/libs-ui-components-datetime-picker.mjs +12 -2
- package/fesm2022/libs-ui-components-datetime-picker.mjs.map +1 -1
- package/interfaces/function-control.interface.d.ts +2 -0
- package/package.json +10 -10
- package/picker.component.d.ts +2 -0
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import dayjs from 'dayjs';
|
|
2
2
|
export interface IDateTimePickerFunctionControlEvent {
|
|
3
3
|
checkIsValid: () => Promise<boolean>;
|
|
4
|
+
resetError: () => Promise<void>;
|
|
5
|
+
reset: (checkIsValid?: boolean) => Promise<void>;
|
|
4
6
|
}
|
|
5
7
|
export interface ICalendarFunctionControlEvent {
|
|
6
8
|
buildDefaultRange: (startDate: dayjs.Dayjs, endDate: dayjs.Dayjs) => Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libs-ui/components-datetime-picker",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.221",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/core": "^18.2.0",
|
|
6
|
-
"@libs-ui/components-buttons-button": "^0.2.
|
|
7
|
-
"@libs-ui/components-dropdown": "^0.2.
|
|
8
|
-
"@libs-ui/components-inputs-input": "^0.2.
|
|
9
|
-
"@libs-ui/components-list": "^0.2.
|
|
10
|
-
"@libs-ui/components-popover": "^0.2.
|
|
11
|
-
"@libs-ui/interfaces-types": "^0.2.
|
|
12
|
-
"@libs-ui/services-http-request": "^0.2.
|
|
13
|
-
"@libs-ui/utils": "^0.2.
|
|
6
|
+
"@libs-ui/components-buttons-button": "^0.2.221",
|
|
7
|
+
"@libs-ui/components-dropdown": "^0.2.221",
|
|
8
|
+
"@libs-ui/components-inputs-input": "^0.2.221",
|
|
9
|
+
"@libs-ui/components-list": "^0.2.221",
|
|
10
|
+
"@libs-ui/components-popover": "^0.2.221",
|
|
11
|
+
"@libs-ui/interfaces-types": "^0.2.221",
|
|
12
|
+
"@libs-ui/services-http-request": "^0.2.221",
|
|
13
|
+
"@libs-ui/utils": "^0.2.221",
|
|
14
14
|
"@ngx-translate/core": "^15.0.0",
|
|
15
15
|
"dayjs": "1.11.5",
|
|
16
|
-
"@libs-ui/components-label": "^0.2.
|
|
16
|
+
"@libs-ui/components-label": "^0.2.221"
|
|
17
17
|
},
|
|
18
18
|
"sideEffects": false,
|
|
19
19
|
"module": "fesm2022/libs-ui-components-datetime-picker.mjs",
|
package/picker.component.d.ts
CHANGED
|
@@ -72,10 +72,12 @@ export declare class LibsUiComponentsDatetimePickerComponent implements OnInit,
|
|
|
72
72
|
protected handlerPickerSingleDate(data: IEmitSingleDate): Promise<void>;
|
|
73
73
|
protected handlerPickerDateRange(data: IEmitDateRange): Promise<void>;
|
|
74
74
|
protected handlerReset(event?: Event): Promise<void>;
|
|
75
|
+
private reset;
|
|
75
76
|
protected handlerUpdateWidth(): void;
|
|
76
77
|
protected handlerCancel(): void;
|
|
77
78
|
private checkIsValid;
|
|
78
79
|
private validate;
|
|
80
|
+
private resetError;
|
|
79
81
|
private computedWidth;
|
|
80
82
|
ngOnDestroy(): void;
|
|
81
83
|
static ɵfac: i0.ɵɵFactoryDeclaration<LibsUiComponentsDatetimePickerComponent, never>;
|