@morozeckiy/dd-lib 0.7.87 → 0.7.88
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/fesm2022/morozeckiy-dd-lib.mjs +7 -114
- package/fesm2022/morozeckiy-dd-lib.mjs.map +1 -1
- package/lib/core/services/date.service.d.ts +2 -1
- package/morozeckiy-dd-lib-0.7.88.tgz +0 -0
- package/package.json +1 -1
- package/public-api.d.ts +0 -1
- package/lib/lib-period/lib-period.component.d.ts +0 -43
- package/morozeckiy-dd-lib-0.7.87.tgz +0 -0
|
@@ -29,7 +29,8 @@ export interface IDaysInMonth {
|
|
|
29
29
|
}
|
|
30
30
|
export declare class DateService {
|
|
31
31
|
private commonDateDataBy;
|
|
32
|
-
|
|
32
|
+
getActiveTitle(name: PeriodName): string;
|
|
33
|
+
getDateBy: GetDateBy;
|
|
33
34
|
getFormattedDate(dateType: keyof GetDateBy, f?: string): string;
|
|
34
35
|
getPeriodMenuDate(dateType: DateTypes, f?: string): TimeDate & CommonDateData;
|
|
35
36
|
getPeriodMenuDateRange(dateTypes: DateTypes[], f?: string): PeriodMenuDate[];
|
|
Binary file
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -13,7 +13,6 @@ export * from './lib/lib-file-upload/lib-file-upload.component';
|
|
|
13
13
|
export * from './lib/lib-filter-button/lib-filter-button.component';
|
|
14
14
|
export * from './lib/lib-image-loader/lib-image-loader.component';
|
|
15
15
|
export * from './lib/lib-input/lib-input.component';
|
|
16
|
-
export * from './lib/lib-period/lib-period.component';
|
|
17
16
|
export * from './lib/lib-radio/lib-radio.component';
|
|
18
17
|
export * from './lib/lib-search-input/lib-search-input.component';
|
|
19
18
|
export * from './lib/lib-select/lib-select.component';
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { DateService, GetDateBy, PeriodMenuDate, PeriodName } from '../core';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class LibPeriodComponent implements OnInit, ControlValueAccessor {
|
|
6
|
-
private dateService;
|
|
7
|
-
private cdr;
|
|
8
|
-
static idCounter: number;
|
|
9
|
-
maxDate: Date | undefined;
|
|
10
|
-
setPeriodDate: EventEmitter<{
|
|
11
|
-
day?: string | undefined;
|
|
12
|
-
week?: string | undefined;
|
|
13
|
-
month?: string | undefined;
|
|
14
|
-
month_3?: string | undefined;
|
|
15
|
-
half_year?: string | undefined;
|
|
16
|
-
year?: string | undefined;
|
|
17
|
-
calendar?: string | undefined;
|
|
18
|
-
} | null>;
|
|
19
|
-
periodMenu: PeriodMenuDate[] | undefined;
|
|
20
|
-
periodIsShown: boolean;
|
|
21
|
-
calendarIsShown: boolean;
|
|
22
|
-
periodIsSelected: boolean;
|
|
23
|
-
calendarIsSelected: boolean;
|
|
24
|
-
selectedPeriod: PeriodName | undefined;
|
|
25
|
-
selectedDate: Date | undefined;
|
|
26
|
-
idPeriod: string;
|
|
27
|
-
idCalendar: string;
|
|
28
|
-
periodName?: string | undefined;
|
|
29
|
-
private onTouchedCallback;
|
|
30
|
-
constructor(dateService: DateService, cdr: ChangeDetectorRef);
|
|
31
|
-
ngOnInit(): void;
|
|
32
|
-
registerOnChange(fn: any): void;
|
|
33
|
-
registerOnTouched(fn: any): void;
|
|
34
|
-
showPeriod(): void;
|
|
35
|
-
clearPeriod(): void;
|
|
36
|
-
selectPeriod(type: keyof GetDateBy): void;
|
|
37
|
-
writeValue(value: any): void;
|
|
38
|
-
selectDate($event: Date | undefined): void;
|
|
39
|
-
clickOutside($event: boolean): void;
|
|
40
|
-
private propagateChange;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LibPeriodComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibPeriodComponent, "dd-lib-period", never, { "maxDate": { "alias": "maxDate"; "required": false; }; }, { "setPeriodDate": "setPeriodDate"; }, never, never, true, never>;
|
|
43
|
-
}
|
|
Binary file
|