monkey-style-guide 2.0.182 → 2.0.183

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.
@@ -0,0 +1,73 @@
1
+ import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { ControlValueAccessor, FormBuilder, FormGroup } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MonkeyDateRangePickerV2Component implements ControlValueAccessor, OnInit, OnDestroy {
5
+ private fb;
6
+ private cdr;
7
+ label: string;
8
+ helperMessage: string;
9
+ i18n: {
10
+ months: {
11
+ [s: string]: string;
12
+ };
13
+ days: {
14
+ [s: string]: string;
15
+ };
16
+ actions: {
17
+ [s: string]: string;
18
+ };
19
+ from: string;
20
+ to: string;
21
+ of: string;
22
+ today: string;
23
+ select: string;
24
+ };
25
+ infoMessage: string;
26
+ errorMessage: string;
27
+ moveDaysForward: boolean;
28
+ set minDate(value: any);
29
+ showActions: boolean;
30
+ onChange: EventEmitter<any>;
31
+ onSubmit: EventEmitter<any>;
32
+ onClose: EventEmitter<any>;
33
+ private today;
34
+ private onModelChange;
35
+ private onModelTouched;
36
+ private unsubscribeAll;
37
+ _dateFirst: any;
38
+ _dateSecond: any;
39
+ _id: string;
40
+ _daysArrFirst: any[];
41
+ _daysArrSecond: any[];
42
+ _dateForm: FormGroup;
43
+ _disabled: boolean;
44
+ _minDate: any;
45
+ _startDate: any;
46
+ _endDate: any;
47
+ constructor(fb: FormBuilder, cdr: ChangeDetectorRef);
48
+ private initDateRange;
49
+ private createCalendar;
50
+ private build;
51
+ private clearDates;
52
+ navigateToToday(): void;
53
+ ngOnInit(): void;
54
+ registerOnChange(fn: any): void;
55
+ registerOnTouched(fn: any): void;
56
+ setDisabledState?(isDisabled: boolean): void;
57
+ set value(value: any);
58
+ get value(): any;
59
+ writeValue(value: any): void;
60
+ validateOnSubmit(): void;
61
+ nextMonth(): void;
62
+ previousMonth(): void;
63
+ todayCheck(day: any): boolean;
64
+ isSelected(day: any): any;
65
+ isDisabled(day: any): any;
66
+ isFirstSelected(day: any): any;
67
+ isLastSelected(day: any): any;
68
+ selectedDate(day: any): void;
69
+ selectRangeOfDays(days: number): void;
70
+ ngOnDestroy(): void;
71
+ static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyDateRangePickerV2Component, never>;
72
+ static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyDateRangePickerV2Component, "monkey-date-range-picker-v2", never, { "label": "label"; "helperMessage": "helperMessage"; "i18n": "i18n"; "infoMessage": "infoMessage"; "errorMessage": "errorMessage"; "moveDaysForward": "moveDaysForward"; "minDate": "minDate"; "showActions": "showActions"; "value": "value"; }, { "onChange": "onChange"; "onSubmit": "onSubmit"; "onClose": "onClose"; }, never, never>;
73
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./date-range-picker.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "../button/button.module";
6
+ import * as i5 from "../icon/icon.module";
7
+ export declare class MonkeyDateRangePickerV2Module {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyDateRangePickerV2Module, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyDateRangePickerV2Module, [typeof i1.MonkeyDateRangePickerV2Component], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.MonkeyButtonModule, typeof i5.MonkeyIconModule], [typeof i1.MonkeyDateRangePickerV2Component]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<MonkeyDateRangePickerV2Module>;
11
+ }
@@ -0,0 +1,2 @@
1
+ export * from './date-range-picker.component';
2
+ export * from './date-range-picker.module';
@@ -1,19 +1,20 @@
1
1
  export * from './badge';
2
2
  export * from './button';
3
- export * from './date-range-picker';
4
- export * from './input';
5
- export * from './input-phone';
6
- export * from './select';
7
- export * from './icon';
8
3
  export * from './checkbox';
9
- export * from './radiobutton';
10
- export * from './option';
11
- export * from './wizard';
4
+ export * from './date-range-picker';
5
+ export * from './date-range-picker-v2';
6
+ export * from './expansion';
12
7
  export * from './file-upload';
8
+ export * from './icon';
13
9
  export * from './image-crop';
10
+ export * from './input';
11
+ export * from './input-phone';
14
12
  export * from './modal';
15
- export * from './expansion';
13
+ export * from './option';
14
+ export * from './radiobutton';
15
+ export * from './select';
16
+ export * from './stepper';
17
+ export * from './tab';
16
18
  export * from './table';
17
19
  export * from './toggle';
18
- export * from './tab';
19
- export * from './stepper';
20
+ export * from './wizard';
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monkey-style-guide",
3
- "version": "2.0.182",
3
+ "version": "2.0.183",
4
4
  "author": "Monkey Exchange",
5
5
  "license": "MIT",
6
6
  "peerDependencies": {
Binary file