monkey-style-guide-v2 0.0.99 → 0.0.102
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/partials/_helper-classes.scss +20 -0
- package/assets/scss/partials/_variables.scss +24 -46
- package/fesm2022/monkey-style-guide-v2.mjs +293 -293
- package/fesm2022/monkey-style-guide-v2.mjs.map +1 -1
- package/index.d.ts +1996 -5
- package/monkey-style-guide-v2-0.0.102.tgz +0 -0
- package/package.json +8 -8
- package/lib/components/accordion/accordion.component.d.ts +0 -19
- package/lib/components/accordion/index.d.ts +0 -6
- package/lib/components/action-bar/action-bar.component.d.ts +0 -9
- package/lib/components/action-bar/index.d.ts +0 -6
- package/lib/components/alert/alert.component.d.ts +0 -23
- package/lib/components/alert/index.d.ts +0 -6
- package/lib/components/autocomplete/autocomplete.component.d.ts +0 -68
- package/lib/components/autocomplete/index.d.ts +0 -6
- package/lib/components/autocomplete-address/autocomplete-address.component.d.ts +0 -68
- package/lib/components/autocomplete-address/index.d.ts +0 -6
- package/lib/components/avatar/avatar.component.d.ts +0 -31
- package/lib/components/avatar/index.d.ts +0 -6
- package/lib/components/badge/badge.component.d.ts +0 -19
- package/lib/components/badge/index.d.ts +0 -6
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +0 -18
- package/lib/components/breadcrumb/index.d.ts +0 -6
- package/lib/components/button/button.component.d.ts +0 -20
- package/lib/components/button/index.d.ts +0 -6
- package/lib/components/checkbox/checkbox.component.d.ts +0 -47
- package/lib/components/checkbox/index.d.ts +0 -6
- package/lib/components/date-range/date-range.component.d.ts +0 -59
- package/lib/components/date-range/index.d.ts +0 -6
- package/lib/components/date-range/month/index.d.ts +0 -6
- package/lib/components/date-range/month/month.component.d.ts +0 -38
- package/lib/components/date-range/quick-actions/index.d.ts +0 -6
- package/lib/components/date-range/quick-actions/quick-actions.component.d.ts +0 -19
- package/lib/components/date-range/utils.d.ts +0 -40
- package/lib/components/divider/divider.component.d.ts +0 -20
- package/lib/components/divider/index.d.ts +0 -6
- package/lib/components/download-button/download-button.component.d.ts +0 -28
- package/lib/components/download-button/index.d.ts +0 -6
- package/lib/components/filter-bar/filter-bar.component.d.ts +0 -15
- package/lib/components/filter-bar/index.d.ts +0 -6
- package/lib/components/form-field/form-field-control.d.ts +0 -19
- package/lib/components/form-field/form-field.component.d.ts +0 -74
- package/lib/components/form-field/form-field.module.d.ts +0 -8
- package/lib/components/form-field/index.d.ts +0 -9
- package/lib/components/form-field/utils.d.ts +0 -6
- package/lib/components/icon/icon.component.d.ts +0 -15
- package/lib/components/icon/index.d.ts +0 -6
- package/lib/components/icon-button/icon-button.component.d.ts +0 -16
- package/lib/components/icon-button/index.d.ts +0 -6
- package/lib/components/index.d.ts +0 -41
- package/lib/components/input/index.d.ts +0 -8
- package/lib/components/input/input-currency.directive.d.ts +0 -57
- package/lib/components/input/input.directive.d.ts +0 -52
- package/lib/components/input/input.module.d.ts +0 -8
- package/lib/components/input/validators.d.ts +0 -1
- package/lib/components/input-code/index.d.ts +0 -6
- package/lib/components/input-code/input-code.component.d.ts +0 -48
- package/lib/components/input-date-range/index.d.ts +0 -6
- package/lib/components/input-date-range/input-date-range.component.d.ts +0 -57
- package/lib/components/input-phone/index.d.ts +0 -6
- package/lib/components/input-phone/input-phone.component.d.ts +0 -67
- package/lib/components/input-upload/index.d.ts +0 -6
- package/lib/components/input-upload/input-upload.component.d.ts +0 -64
- package/lib/components/modal/components/confirmation.component.d.ts +0 -12
- package/lib/components/modal/components/default.d.ts +0 -12
- package/lib/components/modal/directives/actions.d.ts +0 -7
- package/lib/components/modal/directives/content.d.ts +0 -6
- package/lib/components/modal/directives/subtitle.d.ts +0 -6
- package/lib/components/modal/directives/title.d.ts +0 -6
- package/lib/components/modal/index.d.ts +0 -15
- package/lib/components/modal/modal-config.d.ts +0 -38
- package/lib/components/modal/modal-ref.d.ts +0 -28
- package/lib/components/modal/modal.component.d.ts +0 -22
- package/lib/components/modal/modal.module.d.ts +0 -17
- package/lib/components/modal/modal.service.d.ts +0 -28
- package/lib/components/modal/utils.d.ts +0 -18
- package/lib/components/option/index.d.ts +0 -6
- package/lib/components/option/option.component.d.ts +0 -20
- package/lib/components/radio-button/index.d.ts +0 -6
- package/lib/components/radio-button/radio-button.component.d.ts +0 -54
- package/lib/components/security-level/index.d.ts +0 -6
- package/lib/components/security-level/security-level.component.d.ts +0 -14
- package/lib/components/select/index.d.ts +0 -6
- package/lib/components/select/select.component.d.ts +0 -87
- package/lib/components/status/index.d.ts +0 -6
- package/lib/components/status/status.component.d.ts +0 -17
- package/lib/components/stepper/index.d.ts +0 -3
- package/lib/components/stepper/step/step.component.d.ts +0 -23
- package/lib/components/stepper/stepper.component.d.ts +0 -22
- package/lib/components/stepper/stepper.module.d.ts +0 -10
- package/lib/components/table/components/pagination-action/pagination-action.d.ts +0 -17
- package/lib/components/table/components/pagination-label/pagination-label.d.ts +0 -10
- package/lib/components/table/components/pagination-size/pagination-size.d.ts +0 -15
- package/lib/components/table/directives/column-checked.d.ts +0 -32
- package/lib/components/table/directives/column-expansible.d.ts +0 -25
- package/lib/components/table/directives/column-sortable.d.ts +0 -24
- package/lib/components/table/directives/column-stick.d.ts +0 -6
- package/lib/components/table/index.d.ts +0 -14
- package/lib/components/table/table.component.d.ts +0 -32
- package/lib/components/table/table.module.d.ts +0 -16
- package/lib/components/tabs/index.d.ts +0 -4
- package/lib/components/tabs/tab-link.directive.d.ts +0 -22
- package/lib/components/tabs/tab.component.d.ts +0 -17
- package/lib/components/tabs/tabs.component.d.ts +0 -38
- package/lib/components/tabs/tabs.module.d.ts +0 -9
- package/lib/components/toast/index.d.ts +0 -6
- package/lib/components/toast/toast.component.d.ts +0 -31
- package/lib/components/toggle/index.d.ts +0 -6
- package/lib/components/toggle/toggle.component.d.ts +0 -17
- package/lib/components/toggle-line/index.d.ts +0 -7
- package/lib/components/toggle-line/toggle-line-button/index.d.ts +0 -6
- package/lib/components/toggle-line/toggle-line-button/toggle-line-button.component.d.ts +0 -16
- package/lib/components/toggle-line/toggle-line.component.d.ts +0 -24
- package/lib/components/tooltip/index.d.ts +0 -7
- package/lib/components/tooltip/tooltip/index.d.ts +0 -6
- package/lib/components/tooltip/tooltip/tooltip.component.d.ts +0 -19
- package/lib/components/tooltip/tooltip.directive.d.ts +0 -31
- package/lib/components/user-profile-button/index.d.ts +0 -6
- package/lib/components/user-profile-button/user-profile-button.component.d.ts +0 -24
- package/lib/directives/badge.d.ts +0 -24
- package/lib/directives/error.d.ts +0 -5
- package/lib/directives/helper.d.ts +0 -5
- package/lib/directives/index.d.ts +0 -14
- package/lib/directives/info.d.ts +0 -5
- package/lib/directives/label.d.ts +0 -5
- package/lib/directives/module.d.ts +0 -14
- package/lib/directives/popover.d.ts +0 -68
- package/lib/directives/prefix.d.ts +0 -5
- package/lib/directives/suffix.d.ts +0 -9
- package/lib/interfaces/alert.d.ts +0 -6
- package/lib/interfaces/autocomplete-address.d.ts +0 -21
- package/lib/interfaces/autocomplete.d.ts +0 -7
- package/lib/interfaces/breadcrumb.d.ts +0 -10
- package/lib/interfaces/button.d.ts +0 -7
- package/lib/interfaces/index.d.ts +0 -14
- package/lib/interfaces/popover.d.ts +0 -12
- package/lib/interfaces/sizes.d.ts +0 -6
- package/lib/interfaces/table.d.ts +0 -9
- package/lib/interfaces/toast.d.ts +0 -27
- package/lib/services/address.service.d.ts +0 -19
- package/lib/services/dictionary.service.d.ts +0 -11
- package/lib/services/index.d.ts +0 -9
- package/lib/services/stepper.service.d.ts +0 -8
- package/lib/services/toast.service.d.ts +0 -11
- package/lib/tokens/index.d.ts +0 -12
- package/monkey-style-guide-v2-0.0.99.tgz +0 -0
- package/public-api.d.ts +0 -10
- package/utils/icon.d.ts +0 -8
- package/utils/id-generator.d.ts +0 -6
- package/utils/index.d.ts +0 -3
- package/utils/utils.d.ts +0 -6
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/** ************************
|
|
2
|
-
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
|
-
* This style guide was developed by Monkey Exchange Team
|
|
4
|
-
* MIT Licence
|
|
5
|
-
************************* */
|
|
6
|
-
import { InputSignal, InputSignalWithTransform } from '@angular/core';
|
|
7
|
-
import { MonkeySize } from '../../interfaces';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class MonkeyDividerComponent {
|
|
10
|
-
size: InputSignal<MonkeySize>;
|
|
11
|
-
vertical: InputSignalWithTransform<boolean, unknown>;
|
|
12
|
-
get classes(): string;
|
|
13
|
-
protected _uid: string;
|
|
14
|
-
protected _id: string;
|
|
15
|
-
get id(): string;
|
|
16
|
-
set id(value: string);
|
|
17
|
-
constructor();
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyDividerComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyDividerComponent, "monkey-divider", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
|
|
20
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { MonkeyButtonColor, MonkeyButtonType } from '../../interfaces/button';
|
|
3
|
-
import { MonkeySize } from '../../interfaces/sizes';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export type MonkeyDownloadButtonChangeEvent = {
|
|
6
|
-
component: MonkeyDownloadButtonComponent;
|
|
7
|
-
};
|
|
8
|
-
export declare class MonkeyDownloadButtonComponent {
|
|
9
|
-
progress: number;
|
|
10
|
-
disabled: boolean;
|
|
11
|
-
color: MonkeyButtonColor;
|
|
12
|
-
size: MonkeySize;
|
|
13
|
-
type: MonkeyButtonType;
|
|
14
|
-
loading: boolean;
|
|
15
|
-
tabIndex: number;
|
|
16
|
-
onChange: EventEmitter<MonkeyDownloadButtonChangeEvent>;
|
|
17
|
-
protected _uid: string;
|
|
18
|
-
protected _id: string;
|
|
19
|
-
get id(): string;
|
|
20
|
-
set id(value: string);
|
|
21
|
-
get safeProgress(): number;
|
|
22
|
-
get hasProgress(): boolean;
|
|
23
|
-
get enablleMargin(): boolean;
|
|
24
|
-
constructor();
|
|
25
|
-
onDownload(): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyDownloadButtonComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyDownloadButtonComponent, "monkey-download-button", never, { "progress": { "alias": "progress"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "onChange": "onChange"; }, never, ["[first]", "*", "[last]"], true, never>;
|
|
28
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { MonkeyButtonComponent } from '../button';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MonkeyFilterBarComponent implements AfterContentInit, OnDestroy, OnChanges {
|
|
5
|
-
protected _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>;
|
|
6
|
-
showPopOver: boolean;
|
|
7
|
-
elementTarget: HTMLElement | null;
|
|
8
|
-
closePopOver: () => void;
|
|
9
|
-
ngAfterContentInit(): void;
|
|
10
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
11
|
-
ngOnDestroy(): void;
|
|
12
|
-
onShowPopOver(el: MonkeyButtonComponent): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyFilterBarComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyFilterBarComponent, "monkey-filter-bar", never, {}, {}, never, never, true, never>;
|
|
15
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { AbstractControlDirective, NgControl } from '@angular/forms';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare abstract class MonkeyFormFieldControl {
|
|
5
|
-
readonly id: string;
|
|
6
|
-
readonly ngControl: NgControl | AbstractControlDirective | null;
|
|
7
|
-
readonly disabled: boolean;
|
|
8
|
-
readonly focused: boolean;
|
|
9
|
-
readonly stateChanges: Observable<void>;
|
|
10
|
-
readonly type?: string;
|
|
11
|
-
readonly currency?: boolean;
|
|
12
|
-
readonly percent?: boolean;
|
|
13
|
-
abstract onContainerClick(event: MouseEvent): void;
|
|
14
|
-
abstract onClear?(): void;
|
|
15
|
-
loading?: boolean;
|
|
16
|
-
disableToBeDirty?: boolean;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyFormFieldControl, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MonkeyFormFieldControl, never, never, {}, {}, never, never, true, never>;
|
|
19
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/** ************************
|
|
2
|
-
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
|
-
* This style guide was developed by Monkey Exchange Team
|
|
4
|
-
* MIT Licence
|
|
5
|
-
************************* */
|
|
6
|
-
import { AfterContentChecked, AfterContentInit, ElementRef, OnDestroy } from '@angular/core';
|
|
7
|
-
import { MonkeySize } from '../../interfaces';
|
|
8
|
-
import { MonkeyFormFieldControl } from './form-field-control';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class MonkeyFormFieldComponent implements AfterContentInit, AfterContentChecked, OnDestroy {
|
|
11
|
-
get id(): string;
|
|
12
|
-
set id(value: string);
|
|
13
|
-
hideAction: boolean;
|
|
14
|
-
enableClear: boolean;
|
|
15
|
-
size: MonkeySize;
|
|
16
|
-
private _formFieldControl;
|
|
17
|
-
private _labelChildren;
|
|
18
|
-
private _helperChildren;
|
|
19
|
-
private _prefixChildren;
|
|
20
|
-
private _suffixChildren;
|
|
21
|
-
private _infoChildren;
|
|
22
|
-
private _errorChildren;
|
|
23
|
-
elementRef: ElementRef<any>;
|
|
24
|
-
private readonly _changeDetectorRef;
|
|
25
|
-
private readonly _idGenerator;
|
|
26
|
-
private readonly _labelId;
|
|
27
|
-
protected _uid: string;
|
|
28
|
-
protected _id: string;
|
|
29
|
-
private _destroyRef;
|
|
30
|
-
private _isFocused;
|
|
31
|
-
private _previousControl;
|
|
32
|
-
private _stateChanges;
|
|
33
|
-
private _valueChanges;
|
|
34
|
-
readonly currencySymbol: string | undefined;
|
|
35
|
-
readonly percentSymbol = "%";
|
|
36
|
-
hasLabel: boolean;
|
|
37
|
-
hasHelper: boolean;
|
|
38
|
-
hasPrefix: boolean;
|
|
39
|
-
hasSuffix: boolean;
|
|
40
|
-
hasInfo: boolean;
|
|
41
|
-
hasError: boolean;
|
|
42
|
-
get control(): MonkeyFormFieldControl;
|
|
43
|
-
get labelId(): string;
|
|
44
|
-
get hideBorder(): boolean;
|
|
45
|
-
get showHeader(): boolean;
|
|
46
|
-
get showFooter(): boolean;
|
|
47
|
-
get showInvalid(): boolean;
|
|
48
|
-
get showClear(): boolean;
|
|
49
|
-
get showCalendar(): boolean;
|
|
50
|
-
get showCurrency(): boolean;
|
|
51
|
-
get showPercent(): boolean;
|
|
52
|
-
get showLoading(): boolean;
|
|
53
|
-
constructor();
|
|
54
|
-
private updateFocusState;
|
|
55
|
-
private handleFormFieldControl;
|
|
56
|
-
private checkPrefixAndSuffix;
|
|
57
|
-
private initializePrefixAndSuffix;
|
|
58
|
-
private checkInfoError;
|
|
59
|
-
private initializeInfoError;
|
|
60
|
-
private initializeComponents;
|
|
61
|
-
private initializeControl;
|
|
62
|
-
private openDatePicker;
|
|
63
|
-
ngAfterContentInit(): void;
|
|
64
|
-
ngAfterContentChecked(): void;
|
|
65
|
-
ngOnDestroy(): void;
|
|
66
|
-
getFooterMessages(): 'info' | 'error' | '';
|
|
67
|
-
getSymbols(): string;
|
|
68
|
-
onClear(event: MouseEvent): void;
|
|
69
|
-
onOpenCalendar(event: MouseEvent): void;
|
|
70
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyFormFieldComponent, never>;
|
|
71
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyFormFieldComponent, "monkey-form-field", ["monkeyFormField"], { "id": { "alias": "id"; "required": false; }; "hideAction": { "alias": "hideAction"; "required": false; }; "enableClear": { "alias": "enableClear"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, ["_formFieldControl", "_labelChildren", "_helperChildren", "_prefixChildren", "_suffixChildren", "_infoChildren", "_errorChildren"], ["monkey-label", "monkey-helper", "monkey-prefix", "*", "monkey-suffix", "monkey-error", "monkey-info"], false, never>;
|
|
72
|
-
static ngAcceptInputType_hideAction: unknown;
|
|
73
|
-
static ngAcceptInputType_enableClear: unknown;
|
|
74
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./form-field.component";
|
|
3
|
-
import * as i2 from "../../../utils/icon";
|
|
4
|
-
export declare class MonkeyFormFieldModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyFormFieldModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyFormFieldModule, [typeof i1.MonkeyFormFieldComponent], [typeof i2.UtilIconComponent], [typeof i1.MonkeyFormFieldComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MonkeyFormFieldModule>;
|
|
8
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/** ************************
|
|
2
|
-
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
|
-
* This style guide was developed by Monkey Exchange Team
|
|
4
|
-
* MIT Licence
|
|
5
|
-
************************* */
|
|
6
|
-
export * from './form-field-control';
|
|
7
|
-
export * from './form-field.component';
|
|
8
|
-
export * from './form-field.module';
|
|
9
|
-
export * from './utils';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MonkeyIconComponent implements OnInit {
|
|
4
|
-
set icon(val: string);
|
|
5
|
-
size: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
6
|
-
_icon: string;
|
|
7
|
-
protected _uid: string;
|
|
8
|
-
protected _id: string;
|
|
9
|
-
get id(): string;
|
|
10
|
-
set id(value: string);
|
|
11
|
-
constructor();
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyIconComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyIconComponent, "monkey-icon", never, { "icon": { "alias": "icon"; "required": false; }; "size": { "alias": "size"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class MonkeyIconButtonComponent {
|
|
3
|
-
type: 'primary' | 'secondary' | 'tertiary';
|
|
4
|
-
size: 'sm' | 'md' | 'lg';
|
|
5
|
-
disabled: boolean;
|
|
6
|
-
icon: string;
|
|
7
|
-
loading: boolean;
|
|
8
|
-
protected _uid: string;
|
|
9
|
-
protected _id: string;
|
|
10
|
-
get id(): string;
|
|
11
|
-
set id(value: string);
|
|
12
|
-
constructor();
|
|
13
|
-
onClick(event: any): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyIconButtonComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyIconButtonComponent, "monkey-icon-button", never, { "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/** ************************
|
|
2
|
-
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
|
-
* This style guide was developed by Monkey Exchange Team
|
|
4
|
-
* MIT Licence
|
|
5
|
-
************************* */
|
|
6
|
-
export * from './accordion';
|
|
7
|
-
export * from './action-bar';
|
|
8
|
-
export * from './alert';
|
|
9
|
-
export * from './autocomplete';
|
|
10
|
-
export * from './autocomplete-address';
|
|
11
|
-
export * from './avatar';
|
|
12
|
-
export * from './badge';
|
|
13
|
-
export * from './breadcrumb';
|
|
14
|
-
export * from './button';
|
|
15
|
-
export * from './checkbox';
|
|
16
|
-
export * from './date-range';
|
|
17
|
-
export * from './divider';
|
|
18
|
-
export * from './download-button';
|
|
19
|
-
export * from './filter-bar';
|
|
20
|
-
export * from './form-field';
|
|
21
|
-
export * from './icon';
|
|
22
|
-
export * from './icon-button';
|
|
23
|
-
export * from './input';
|
|
24
|
-
export * from './input-code';
|
|
25
|
-
export * from './input-date-range';
|
|
26
|
-
export * from './input-phone';
|
|
27
|
-
export * from './input-upload';
|
|
28
|
-
export * from './modal';
|
|
29
|
-
export * from './option';
|
|
30
|
-
export * from './radio-button';
|
|
31
|
-
export * from './security-level';
|
|
32
|
-
export * from './select';
|
|
33
|
-
export * from './status';
|
|
34
|
-
export * from './stepper';
|
|
35
|
-
export * from './table';
|
|
36
|
-
export * from './tabs';
|
|
37
|
-
export * from './toast';
|
|
38
|
-
export * from './toggle';
|
|
39
|
-
export * from './toggle-line';
|
|
40
|
-
export * from './tooltip';
|
|
41
|
-
export * from './user-profile-button';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/** ************************
|
|
2
|
-
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
|
-
* This style guide was developed by Monkey Exchange Team
|
|
4
|
-
* MIT Licence
|
|
5
|
-
************************* */
|
|
6
|
-
export * from './input-currency.directive';
|
|
7
|
-
export * from './input.directive';
|
|
8
|
-
export * from './input.module';
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/** ************************
|
|
2
|
-
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
|
-
* This style guide was developed by Monkey Exchange Team
|
|
4
|
-
* MIT Licence
|
|
5
|
-
************************* */
|
|
6
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
7
|
-
import { CurrencyPipe } from '@angular/common';
|
|
8
|
-
import { ElementRef, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges } from '@angular/core';
|
|
9
|
-
import { NgControl } from '@angular/forms';
|
|
10
|
-
import { Subject } from 'rxjs';
|
|
11
|
-
import { MonkeyFormFieldControl } from '../form-field';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
export declare class MonkeyInputCurrencyDirective implements MonkeyFormFieldControl, OnChanges, OnInit, OnDestroy {
|
|
14
|
-
private el;
|
|
15
|
-
private renderer;
|
|
16
|
-
private currencyPipe;
|
|
17
|
-
protected _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>;
|
|
18
|
-
protected _uid: string;
|
|
19
|
-
protected _id: string;
|
|
20
|
-
readonly stateChanges: Subject<void>;
|
|
21
|
-
name: string;
|
|
22
|
-
get disabled(): boolean;
|
|
23
|
-
set disabled(value: boolean);
|
|
24
|
-
get id(): string;
|
|
25
|
-
set id(value: string);
|
|
26
|
-
get required(): boolean;
|
|
27
|
-
set required(value: BooleanInput);
|
|
28
|
-
protected _required: boolean | undefined;
|
|
29
|
-
protected _disabled: boolean;
|
|
30
|
-
get type(): string;
|
|
31
|
-
set type(value: string);
|
|
32
|
-
protected _type: string;
|
|
33
|
-
get currency(): boolean;
|
|
34
|
-
get percent(): boolean;
|
|
35
|
-
private readonly _changeDetectorRef;
|
|
36
|
-
private readonly _currencyCode;
|
|
37
|
-
private readonly _localeId;
|
|
38
|
-
private _destroyRef;
|
|
39
|
-
private _valueChanges;
|
|
40
|
-
private _rawValue;
|
|
41
|
-
ngControl: NgControl | null;
|
|
42
|
-
focused: boolean;
|
|
43
|
-
constructor(el: ElementRef, renderer: Renderer2, currencyPipe: CurrencyPipe);
|
|
44
|
-
private markAsUntouched;
|
|
45
|
-
private focus;
|
|
46
|
-
private formatValue;
|
|
47
|
-
private handleControlValue;
|
|
48
|
-
ngOnInit(): void;
|
|
49
|
-
ngOnDestroy(): void;
|
|
50
|
-
ngOnChanges({ disabled }: SimpleChanges): void;
|
|
51
|
-
onContainerClick(): void;
|
|
52
|
-
focusChanged(isFocused: boolean): void;
|
|
53
|
-
focusOutChanged(): void;
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyInputCurrencyDirective, never>;
|
|
55
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MonkeyInputCurrencyDirective, "input[monkey-input-currency]", ["monkeyInput"], { "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "required": { "alias": "required"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, false, never>;
|
|
56
|
-
static ngAcceptInputType_disabled: unknown;
|
|
57
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/** ************************
|
|
2
|
-
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
|
-
* This style guide was developed by Monkey Exchange Team
|
|
4
|
-
* MIT Licence
|
|
5
|
-
************************* */
|
|
6
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
7
|
-
import { ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
8
|
-
import { NgControl } from '@angular/forms';
|
|
9
|
-
import { Subject } from 'rxjs';
|
|
10
|
-
import { MonkeyFormFieldControl } from '../form-field';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class MonkeyInputDirective implements MonkeyFormFieldControl, OnChanges, OnDestroy {
|
|
13
|
-
protected _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>;
|
|
14
|
-
protected _uid: string;
|
|
15
|
-
protected _id: string;
|
|
16
|
-
readonly stateChanges: Subject<void>;
|
|
17
|
-
name: string;
|
|
18
|
-
get disabled(): boolean;
|
|
19
|
-
set disabled(value: boolean);
|
|
20
|
-
get id(): string;
|
|
21
|
-
set id(value: string);
|
|
22
|
-
get required(): boolean;
|
|
23
|
-
set required(value: BooleanInput);
|
|
24
|
-
protected _required: boolean | undefined;
|
|
25
|
-
protected _disabled: boolean;
|
|
26
|
-
get type(): string;
|
|
27
|
-
set type(value: string);
|
|
28
|
-
get min(): string;
|
|
29
|
-
set min(value: string);
|
|
30
|
-
get max(): string;
|
|
31
|
-
set max(value: string);
|
|
32
|
-
protected _type: string;
|
|
33
|
-
protected _min: string;
|
|
34
|
-
protected _max: string;
|
|
35
|
-
get currency(): boolean;
|
|
36
|
-
get percent(): boolean;
|
|
37
|
-
set percent(value: '');
|
|
38
|
-
protected _percent: boolean;
|
|
39
|
-
ngControl: NgControl | null;
|
|
40
|
-
focused: boolean;
|
|
41
|
-
constructor();
|
|
42
|
-
private markAsUntouched;
|
|
43
|
-
private focus;
|
|
44
|
-
ngOnDestroy(): void;
|
|
45
|
-
ngOnChanges({ disabled }: SimpleChanges): void;
|
|
46
|
-
onContainerClick(): void;
|
|
47
|
-
focusChanged(isFocused: boolean): void;
|
|
48
|
-
focusOutChanged(): void;
|
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyInputDirective, never>;
|
|
50
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MonkeyInputDirective, "input[monkey-input],textarea[monkey-input]", ["monkeyInput"], { "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "required": { "alias": "required"; "required": false; }; "type": { "alias": "type"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "percent": { "alias": "percent"; "required": false; }; }, {}, never, never, false, never>;
|
|
51
|
-
static ngAcceptInputType_disabled: unknown;
|
|
52
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./input.directive";
|
|
3
|
-
import * as i2 from "./input-currency.directive";
|
|
4
|
-
export declare class MonkeyInputModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyInputModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyInputModule, [typeof i1.MonkeyInputDirective, typeof i2.MonkeyInputCurrencyDirective], never, [typeof i1.MonkeyInputDirective, typeof i2.MonkeyInputCurrencyDirective]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MonkeyInputModule>;
|
|
8
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function validateType(type: string): void;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, InputSignal, QueryList } 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 MonkeyInputCodeComponent implements ControlValueAccessor, MonkeyFormFieldControl, AfterViewInit {
|
|
7
|
-
private formField;
|
|
8
|
-
readonly stateChanges: Subject<void>;
|
|
9
|
-
readonly type: string;
|
|
10
|
-
readonly currency: boolean;
|
|
11
|
-
readonly percent: boolean;
|
|
12
|
-
readonly id: any;
|
|
13
|
-
private _onChange;
|
|
14
|
-
private _onTouched;
|
|
15
|
-
private _value;
|
|
16
|
-
ngControl: NgControl | null;
|
|
17
|
-
focused: boolean;
|
|
18
|
-
length: InputSignal<number>;
|
|
19
|
-
inputType: InputSignal<string>;
|
|
20
|
-
inputIndices: import("@angular/core").Signal<string[]>;
|
|
21
|
-
get disabled(): boolean;
|
|
22
|
-
set disabled(value: boolean);
|
|
23
|
-
_disabled: boolean;
|
|
24
|
-
set value(value: any);
|
|
25
|
-
get value(): any;
|
|
26
|
-
inputs: QueryList<ElementRef<HTMLInputElement>>;
|
|
27
|
-
constructor(formField: MonkeyFormFieldComponent);
|
|
28
|
-
ngAfterViewInit(): void;
|
|
29
|
-
private _onFocus;
|
|
30
|
-
private propagateCode;
|
|
31
|
-
private focusNextInput;
|
|
32
|
-
private focusPreviousInput;
|
|
33
|
-
private setFullInputValue;
|
|
34
|
-
isInvalid(): boolean;
|
|
35
|
-
onContainerClick(): void;
|
|
36
|
-
onKeyDown(event: KeyboardEvent, index: number): void;
|
|
37
|
-
onInput(event: Event, index: number): void;
|
|
38
|
-
onPaste(event: ClipboardEvent): void;
|
|
39
|
-
onBlur(): void;
|
|
40
|
-
onFocus(event: FocusEvent): void;
|
|
41
|
-
writeValue(value: string): void;
|
|
42
|
-
registerOnChange(fn: any): void;
|
|
43
|
-
registerOnTouched(fn: any): void;
|
|
44
|
-
setDisabledState(isDisabled: boolean): void;
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyInputCodeComponent, [{ optional: true; }]>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyInputCodeComponent, "monkey-input-code", never, { "length": { "alias": "length"; "required": false; "isSignal": true; }; "inputType": { "alias": "inputType"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
|
|
47
|
-
static ngAcceptInputType_disabled: unknown;
|
|
48
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, ElementRef, OnChanges, OnDestroy, QueryList, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import { MonkeyFormFieldControl } from '../form-field';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
interface Country {
|
|
7
|
-
iso: string;
|
|
8
|
-
code: string;
|
|
9
|
-
name: string;
|
|
10
|
-
flag: string;
|
|
11
|
-
}
|
|
12
|
-
export declare class MonkeyInputPhoneComponent implements MonkeyFormFieldControl, ControlValueAccessor, AfterContentInit, OnDestroy, OnChanges {
|
|
13
|
-
placeholder: string;
|
|
14
|
-
tabIndex: number;
|
|
15
|
-
get disabled(): boolean;
|
|
16
|
-
set disabled(value: boolean);
|
|
17
|
-
_disabled: boolean;
|
|
18
|
-
get required(): boolean;
|
|
19
|
-
set required(value: boolean);
|
|
20
|
-
private _required;
|
|
21
|
-
set value(value: any);
|
|
22
|
-
get value(): any;
|
|
23
|
-
_value: string | null;
|
|
24
|
-
constructor();
|
|
25
|
-
ngControl: NgControl | null;
|
|
26
|
-
private readonly idGenerator;
|
|
27
|
-
private readonly countryIsoCode;
|
|
28
|
-
private readonly locale;
|
|
29
|
-
readonly id: string;
|
|
30
|
-
readonly inputId: string;
|
|
31
|
-
focused: boolean;
|
|
32
|
-
readonly type: string;
|
|
33
|
-
readonly stateChanges: Subject<void>;
|
|
34
|
-
countries: Country[];
|
|
35
|
-
selectedCallingCode: string;
|
|
36
|
-
phoneFormatted: string;
|
|
37
|
-
phoneValid: boolean;
|
|
38
|
-
inputs: QueryList<ElementRef<HTMLInputElement>>;
|
|
39
|
-
private getCountryNameFromCode;
|
|
40
|
-
private getCountryByCallingCode;
|
|
41
|
-
private isoToFlagEmoji;
|
|
42
|
-
private getCountryFromPhoneNumber;
|
|
43
|
-
private performValue;
|
|
44
|
-
private validateValue;
|
|
45
|
-
private formatValue;
|
|
46
|
-
disableToBeDirty?: boolean | undefined;
|
|
47
|
-
_onChange: any;
|
|
48
|
-
_onTouched: any;
|
|
49
|
-
ngAfterContentInit(): void;
|
|
50
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
51
|
-
ngOnDestroy(): void;
|
|
52
|
-
onContainerClick(event: MouseEvent): void;
|
|
53
|
-
_onFocus(): void;
|
|
54
|
-
_onBlur(): void;
|
|
55
|
-
registerOnChange(fn: any): void;
|
|
56
|
-
registerOnTouched(fn: any): void;
|
|
57
|
-
setDisabledState(isDisabled: boolean): void;
|
|
58
|
-
writeValue(value: any): void;
|
|
59
|
-
onInputChange(event: Event): void;
|
|
60
|
-
onCountryChange(): void;
|
|
61
|
-
getMaxLength(): number;
|
|
62
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyInputPhoneComponent, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyInputPhoneComponent, "monkey-input-phone", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
|
|
64
|
-
static ngAcceptInputType_disabled: unknown;
|
|
65
|
-
static ngAcceptInputType_required: unknown;
|
|
66
|
-
}
|
|
67
|
-
export {};
|