monkey-style-guide-v2 0.0.31 → 0.0.33
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/assets/scss/input/_styles.scss +2 -3
- package/assets/scss/partials/_helper-classes.scss +8 -0
- package/assets/scss/partials/_index.scss +1 -0
- package/assets/scss/partials/_popover.scss +3 -0
- package/assets/scss/partials/_skeleton-loading.scss +7 -1
- package/assets/scss/theme.scss +1 -1
- package/assets/scss/typography/_styles.scss +0 -189
- package/fesm2022/monkey-style-guide-v2.mjs +279 -11
- package/fesm2022/monkey-style-guide-v2.mjs.map +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/input-date-range/index.d.ts +6 -0
- package/lib/components/input-date-range/input-date-range.component.d.ts +57 -0
- package/monkey-style-guide-v2-0.0.33.tgz +0 -0
- package/package.json +1 -1
- package/monkey-style-guide-v2-0.0.31.tgz +0 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { AfterContentInit, ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { MonkeyFormFieldComponent, MonkeyFormFieldControl } from '../form-field';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class MonkeyInputDateRangeComponent implements MonkeyFormFieldControl, ControlValueAccessor, AfterContentInit, OnDestroy, OnChanges {
|
|
7
|
+
formField: MonkeyFormFieldComponent;
|
|
8
|
+
placeholder: string;
|
|
9
|
+
title: string;
|
|
10
|
+
tabIndex: number;
|
|
11
|
+
minDate: Date | string;
|
|
12
|
+
maxDate: Date | string;
|
|
13
|
+
get disabled(): boolean;
|
|
14
|
+
set disabled(value: boolean);
|
|
15
|
+
_disabled: boolean;
|
|
16
|
+
get required(): boolean;
|
|
17
|
+
set required(value: boolean);
|
|
18
|
+
private _required;
|
|
19
|
+
set value(value: any);
|
|
20
|
+
get value(): any;
|
|
21
|
+
_value: string | null;
|
|
22
|
+
constructor(formField: MonkeyFormFieldComponent);
|
|
23
|
+
ngControl: NgControl | null;
|
|
24
|
+
private readonly idGenerator;
|
|
25
|
+
readonly id: string;
|
|
26
|
+
focused: boolean;
|
|
27
|
+
readonly type: string;
|
|
28
|
+
readonly stateChanges: Subject<void>;
|
|
29
|
+
protected _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>;
|
|
30
|
+
_onChange: any;
|
|
31
|
+
_onTouched: any;
|
|
32
|
+
showPopOver: boolean;
|
|
33
|
+
startDate: string;
|
|
34
|
+
endDate: string;
|
|
35
|
+
handledMinDate: string;
|
|
36
|
+
handledMaxDate: string;
|
|
37
|
+
get elementTarget(): any;
|
|
38
|
+
closePopOver: () => void;
|
|
39
|
+
ngAfterContentInit(): void;
|
|
40
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
41
|
+
ngOnDestroy(): void;
|
|
42
|
+
onContainerClick(event: MouseEvent): void;
|
|
43
|
+
_onFocus(): void;
|
|
44
|
+
_onBlur(): void;
|
|
45
|
+
registerOnChange(fn: any): void;
|
|
46
|
+
registerOnTouched(fn: any): void;
|
|
47
|
+
setDisabledState(isDisabled: boolean): void;
|
|
48
|
+
private handleValue;
|
|
49
|
+
private validateValue;
|
|
50
|
+
writeValue(value: any): void;
|
|
51
|
+
onOpenPopover(): void;
|
|
52
|
+
onHandleDate(event: any): void;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyInputDateRangeComponent, [{ optional: true; }]>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyInputDateRangeComponent, "monkey-input-date-range", never, { "placeholder": { "alias": "placeholder"; "required": true; }; "title": { "alias": "title"; "required": true; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
|
|
55
|
+
static ngAcceptInputType_disabled: unknown;
|
|
56
|
+
static ngAcceptInputType_required: unknown;
|
|
57
|
+
}
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|