monkey-style-guide-v2 0.0.98 → 0.0.100

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.
Files changed (149) hide show
  1. package/fesm2022/monkey-style-guide-v2.mjs +292 -292
  2. package/fesm2022/monkey-style-guide-v2.mjs.map +1 -1
  3. package/index.d.ts +1996 -5
  4. package/monkey-style-guide-v2-0.0.100.tgz +0 -0
  5. package/package.json +8 -8
  6. package/lib/components/accordion/accordion.component.d.ts +0 -19
  7. package/lib/components/accordion/index.d.ts +0 -6
  8. package/lib/components/action-bar/action-bar.component.d.ts +0 -9
  9. package/lib/components/action-bar/index.d.ts +0 -6
  10. package/lib/components/alert/alert.component.d.ts +0 -23
  11. package/lib/components/alert/index.d.ts +0 -6
  12. package/lib/components/autocomplete/autocomplete.component.d.ts +0 -68
  13. package/lib/components/autocomplete/index.d.ts +0 -6
  14. package/lib/components/autocomplete-address/autocomplete-address.component.d.ts +0 -68
  15. package/lib/components/autocomplete-address/index.d.ts +0 -6
  16. package/lib/components/avatar/avatar.component.d.ts +0 -31
  17. package/lib/components/avatar/index.d.ts +0 -6
  18. package/lib/components/badge/badge.component.d.ts +0 -19
  19. package/lib/components/badge/index.d.ts +0 -6
  20. package/lib/components/breadcrumb/breadcrumb.component.d.ts +0 -18
  21. package/lib/components/breadcrumb/index.d.ts +0 -6
  22. package/lib/components/button/button.component.d.ts +0 -20
  23. package/lib/components/button/index.d.ts +0 -6
  24. package/lib/components/checkbox/checkbox.component.d.ts +0 -47
  25. package/lib/components/checkbox/index.d.ts +0 -6
  26. package/lib/components/date-range/date-range.component.d.ts +0 -59
  27. package/lib/components/date-range/index.d.ts +0 -6
  28. package/lib/components/date-range/month/index.d.ts +0 -6
  29. package/lib/components/date-range/month/month.component.d.ts +0 -38
  30. package/lib/components/date-range/quick-actions/index.d.ts +0 -6
  31. package/lib/components/date-range/quick-actions/quick-actions.component.d.ts +0 -19
  32. package/lib/components/date-range/utils.d.ts +0 -40
  33. package/lib/components/divider/divider.component.d.ts +0 -20
  34. package/lib/components/divider/index.d.ts +0 -6
  35. package/lib/components/download-button/download-button.component.d.ts +0 -28
  36. package/lib/components/download-button/index.d.ts +0 -6
  37. package/lib/components/filter-bar/filter-bar.component.d.ts +0 -15
  38. package/lib/components/filter-bar/index.d.ts +0 -6
  39. package/lib/components/form-field/form-field-control.d.ts +0 -19
  40. package/lib/components/form-field/form-field.component.d.ts +0 -74
  41. package/lib/components/form-field/form-field.module.d.ts +0 -8
  42. package/lib/components/form-field/index.d.ts +0 -9
  43. package/lib/components/form-field/utils.d.ts +0 -6
  44. package/lib/components/icon/icon.component.d.ts +0 -15
  45. package/lib/components/icon/index.d.ts +0 -6
  46. package/lib/components/icon-button/icon-button.component.d.ts +0 -16
  47. package/lib/components/icon-button/index.d.ts +0 -6
  48. package/lib/components/index.d.ts +0 -41
  49. package/lib/components/input/index.d.ts +0 -8
  50. package/lib/components/input/input-currency.directive.d.ts +0 -57
  51. package/lib/components/input/input.directive.d.ts +0 -52
  52. package/lib/components/input/input.module.d.ts +0 -8
  53. package/lib/components/input/validators.d.ts +0 -1
  54. package/lib/components/input-code/index.d.ts +0 -6
  55. package/lib/components/input-code/input-code.component.d.ts +0 -48
  56. package/lib/components/input-date-range/index.d.ts +0 -6
  57. package/lib/components/input-date-range/input-date-range.component.d.ts +0 -57
  58. package/lib/components/input-phone/index.d.ts +0 -6
  59. package/lib/components/input-phone/input-phone.component.d.ts +0 -67
  60. package/lib/components/input-upload/index.d.ts +0 -6
  61. package/lib/components/input-upload/input-upload.component.d.ts +0 -64
  62. package/lib/components/modal/components/confirmation.component.d.ts +0 -12
  63. package/lib/components/modal/components/default.d.ts +0 -12
  64. package/lib/components/modal/directives/actions.d.ts +0 -7
  65. package/lib/components/modal/directives/content.d.ts +0 -6
  66. package/lib/components/modal/directives/subtitle.d.ts +0 -6
  67. package/lib/components/modal/directives/title.d.ts +0 -6
  68. package/lib/components/modal/index.d.ts +0 -15
  69. package/lib/components/modal/modal-config.d.ts +0 -38
  70. package/lib/components/modal/modal-ref.d.ts +0 -28
  71. package/lib/components/modal/modal.component.d.ts +0 -22
  72. package/lib/components/modal/modal.module.d.ts +0 -17
  73. package/lib/components/modal/modal.service.d.ts +0 -28
  74. package/lib/components/modal/utils.d.ts +0 -18
  75. package/lib/components/option/index.d.ts +0 -6
  76. package/lib/components/option/option.component.d.ts +0 -20
  77. package/lib/components/radio-button/index.d.ts +0 -6
  78. package/lib/components/radio-button/radio-button.component.d.ts +0 -54
  79. package/lib/components/security-level/index.d.ts +0 -6
  80. package/lib/components/security-level/security-level.component.d.ts +0 -14
  81. package/lib/components/select/index.d.ts +0 -6
  82. package/lib/components/select/select.component.d.ts +0 -87
  83. package/lib/components/status/index.d.ts +0 -6
  84. package/lib/components/status/status.component.d.ts +0 -17
  85. package/lib/components/stepper/index.d.ts +0 -3
  86. package/lib/components/stepper/step/step.component.d.ts +0 -23
  87. package/lib/components/stepper/stepper.component.d.ts +0 -22
  88. package/lib/components/stepper/stepper.module.d.ts +0 -10
  89. package/lib/components/table/components/pagination-action/pagination-action.d.ts +0 -17
  90. package/lib/components/table/components/pagination-label/pagination-label.d.ts +0 -10
  91. package/lib/components/table/components/pagination-size/pagination-size.d.ts +0 -15
  92. package/lib/components/table/directives/column-checked.d.ts +0 -32
  93. package/lib/components/table/directives/column-expansible.d.ts +0 -25
  94. package/lib/components/table/directives/column-sortable.d.ts +0 -24
  95. package/lib/components/table/directives/column-stick.d.ts +0 -6
  96. package/lib/components/table/index.d.ts +0 -14
  97. package/lib/components/table/table.component.d.ts +0 -32
  98. package/lib/components/table/table.module.d.ts +0 -16
  99. package/lib/components/tabs/index.d.ts +0 -4
  100. package/lib/components/tabs/tab-link.directive.d.ts +0 -22
  101. package/lib/components/tabs/tab.component.d.ts +0 -17
  102. package/lib/components/tabs/tabs.component.d.ts +0 -38
  103. package/lib/components/tabs/tabs.module.d.ts +0 -9
  104. package/lib/components/toast/index.d.ts +0 -6
  105. package/lib/components/toast/toast.component.d.ts +0 -31
  106. package/lib/components/toggle/index.d.ts +0 -6
  107. package/lib/components/toggle/toggle.component.d.ts +0 -17
  108. package/lib/components/toggle-line/index.d.ts +0 -7
  109. package/lib/components/toggle-line/toggle-line-button/index.d.ts +0 -6
  110. package/lib/components/toggle-line/toggle-line-button/toggle-line-button.component.d.ts +0 -16
  111. package/lib/components/toggle-line/toggle-line.component.d.ts +0 -24
  112. package/lib/components/tooltip/index.d.ts +0 -7
  113. package/lib/components/tooltip/tooltip/index.d.ts +0 -6
  114. package/lib/components/tooltip/tooltip/tooltip.component.d.ts +0 -19
  115. package/lib/components/tooltip/tooltip.directive.d.ts +0 -31
  116. package/lib/components/user-profile-button/index.d.ts +0 -6
  117. package/lib/components/user-profile-button/user-profile-button.component.d.ts +0 -24
  118. package/lib/directives/badge.d.ts +0 -24
  119. package/lib/directives/error.d.ts +0 -5
  120. package/lib/directives/helper.d.ts +0 -5
  121. package/lib/directives/index.d.ts +0 -14
  122. package/lib/directives/info.d.ts +0 -5
  123. package/lib/directives/label.d.ts +0 -5
  124. package/lib/directives/module.d.ts +0 -14
  125. package/lib/directives/popover.d.ts +0 -68
  126. package/lib/directives/prefix.d.ts +0 -5
  127. package/lib/directives/suffix.d.ts +0 -9
  128. package/lib/interfaces/alert.d.ts +0 -6
  129. package/lib/interfaces/autocomplete-address.d.ts +0 -21
  130. package/lib/interfaces/autocomplete.d.ts +0 -7
  131. package/lib/interfaces/breadcrumb.d.ts +0 -10
  132. package/lib/interfaces/button.d.ts +0 -7
  133. package/lib/interfaces/index.d.ts +0 -14
  134. package/lib/interfaces/popover.d.ts +0 -12
  135. package/lib/interfaces/sizes.d.ts +0 -6
  136. package/lib/interfaces/table.d.ts +0 -9
  137. package/lib/interfaces/toast.d.ts +0 -27
  138. package/lib/services/address.service.d.ts +0 -19
  139. package/lib/services/dictionary.service.d.ts +0 -11
  140. package/lib/services/index.d.ts +0 -9
  141. package/lib/services/stepper.service.d.ts +0 -8
  142. package/lib/services/toast.service.d.ts +0 -11
  143. package/lib/tokens/index.d.ts +0 -12
  144. package/monkey-style-guide-v2-0.0.98.tgz +0 -0
  145. package/public-api.d.ts +0 -10
  146. package/utils/icon.d.ts +0 -8
  147. package/utils/id-generator.d.ts +0 -6
  148. package/utils/index.d.ts +0 -3
  149. package/utils/utils.d.ts +0 -6
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "monkey-style-guide-v2",
3
- "version": "0.0.98",
3
+ "version": "0.0.100",
4
4
  "peerDependencies": {
5
- "@angular/common": "^19.2.14",
6
- "@angular/core": "^19.2.14",
7
- "@angular/cdk": "^19.2.19",
8
- "@angular/animations": "^19.2.14",
9
- "@angular/platform-browser": "^19.2.14",
10
- "@angular/router": "^19.2.14",
11
- "@angular/forms": "^19.2.14",
5
+ "@angular/animations": "^20.3.14",
6
+ "@angular/cdk": "^20.2.14",
7
+ "@angular/common": "^20.3.14",
8
+ "@angular/core": "^20.3.14",
9
+ "@angular/forms": "^20.3.14",
10
+ "@angular/platform-browser": "^20.3.14",
11
+ "@angular/router": "^20.3.14",
12
12
  "rxjs": "~7.8.0",
13
13
  "ngx-mask": "^19.0.6",
14
14
  "libphonenumber-js": "^1.12.9"
@@ -1,19 +0,0 @@
1
- import { TemplateRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class MonkeyAccordionComponent {
4
- open: boolean;
5
- disabled: boolean;
6
- set title(data: string | TemplateRef<any>);
7
- titleStr: string | undefined;
8
- titleRef: TemplateRef<any> | undefined;
9
- protected _uid: string;
10
- protected _id: string;
11
- get id(): string;
12
- set id(value: string);
13
- constructor();
14
- onClick(): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyAccordionComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyAccordionComponent, "monkey-accordion", never, { "open": { "alias": "open"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "title": { "alias": "title"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, never, ["*"], true, never>;
17
- static ngAcceptInputType_open: unknown;
18
- static ngAcceptInputType_disabled: unknown;
19
- }
@@ -1,6 +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.component';
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class MonkeyActionBarComponent {
3
- get classes(): string | undefined;
4
- label: import("@angular/core").InputSignal<string | undefined>;
5
- position: import("@angular/core").InputSignal<string | undefined>;
6
- open: import("@angular/core").InputSignal<boolean | undefined>;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyActionBarComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyActionBarComponent, "monkey-action-bar", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
9
- }
@@ -1,6 +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 './action-bar.component';
@@ -1,23 +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, OutputEmitterRef } from '@angular/core';
7
- import { type MonkeyAlertType } from '../../interfaces';
8
- import * as i0 from "@angular/core";
9
- export declare class MonkeyAlertComponent {
10
- buttonLabel: InputSignal<string>;
11
- message: InputSignal<string>;
12
- title: InputSignal<string>;
13
- type: InputSignal<MonkeyAlertType>;
14
- onButtonClicked: OutputEmitterRef<void>;
15
- protected _uid: string;
16
- protected _id: string;
17
- get id(): string;
18
- set id(value: string);
19
- constructor();
20
- icon(type: MonkeyAlertType): string;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyAlertComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyAlertComponent, "monkey-alert", never, { "buttonLabel": { "alias": "buttonLabel"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": true; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; "type": { "alias": "type"; "required": true; "isSignal": true; }; "id": { "alias": "id"; "required": false; }; }, { "onButtonClicked": "onButtonClicked"; }, never, never, true, never>;
23
- }
@@ -1,6 +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 './alert.component';
@@ -1,68 +0,0 @@
1
- import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, TemplateRef } from '@angular/core';
2
- import { ControlValueAccessor, NgControl } from '@angular/forms';
3
- import { Observable, Subject } from 'rxjs';
4
- import { MonkeyAutocompleteData, MonkeyAutocompleteResponse } from '../../interfaces';
5
- import { MonkeyFormFieldComponent, MonkeyFormFieldControl } from '../form-field';
6
- import * as i0 from "@angular/core";
7
- export declare class MonkeyAutocompleteComponent implements MonkeyFormFieldControl, ControlValueAccessor, AfterContentInit, OnDestroy {
8
- formField: MonkeyFormFieldComponent;
9
- private changeDetectorRef;
10
- placeholder: string;
11
- debounce: number;
12
- tabIndex: number;
13
- fetchOptions: (queryOrLink: string | any) => Observable<MonkeyAutocompleteResponse>;
14
- onChange: EventEmitter<any>;
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(formField: MonkeyFormFieldComponent, changeDetectorRef: ChangeDetectorRef);
25
- ngControl: NgControl | null;
26
- private readonly idGenerator;
27
- readonly id: string;
28
- readonly inputId: string;
29
- focused: boolean;
30
- readonly type: string;
31
- readonly stateChanges: Subject<void>;
32
- protected _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>;
33
- _onChange: any;
34
- _onTouched: any;
35
- get elementTarget(): any;
36
- private _searchEvent;
37
- private _destroyRef;
38
- private _resizeObserver?;
39
- initialDisplayWidth: number;
40
- showPopOver: boolean;
41
- options: MonkeyAutocompleteData[];
42
- readonly loadingDictionary: Observable<any>;
43
- readonly noDataDictionary: Observable<any>;
44
- loading: boolean;
45
- searchData: string;
46
- optionTemplate?: TemplateRef<any>;
47
- containerWrapper: ElementRef;
48
- private updateWidth;
49
- closePopOver: () => void;
50
- ngAfterContentInit(): void;
51
- ngOnDestroy(): void;
52
- onContainerClick(event: MouseEvent): void;
53
- onClear(): void;
54
- _onFocus(): void;
55
- _onBlur(event: FocusEvent): void;
56
- registerOnChange(fn: any): void;
57
- registerOnTouched(fn: any): void;
58
- setDisabledState(isDisabled: boolean): void;
59
- writeValue(value: any): void;
60
- openPopOver(): void;
61
- onInputChange(event: Event): void;
62
- onSelect(option: MonkeyAutocompleteData): void;
63
- isSelected(option: MonkeyAutocompleteData): boolean;
64
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyAutocompleteComponent, [{ optional: true; }, null]>;
65
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyAutocompleteComponent, "monkey-autocomplete", never, { "placeholder": { "alias": "placeholder"; "required": true; }; "debounce": { "alias": "debounce"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "fetchOptions": { "alias": "fetchOptions"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "onChange": "onChange"; }, ["optionTemplate"], never, true, never>;
66
- static ngAcceptInputType_disabled: unknown;
67
- static ngAcceptInputType_required: unknown;
68
- }
@@ -1,6 +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 './autocomplete.component';
@@ -1,68 +0,0 @@
1
- import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, TemplateRef } from '@angular/core';
2
- import { ControlValueAccessor, NgControl } from '@angular/forms';
3
- import { Subject } from 'rxjs';
4
- import { GoogleApiPlaces } from '../../interfaces';
5
- import { MonkeyFormFieldComponent, MonkeyFormFieldControl } from '../form-field';
6
- import * as i0 from "@angular/core";
7
- export declare class MonkeyAutocompleteAddressComponent implements MonkeyFormFieldControl, ControlValueAccessor, AfterContentInit, OnDestroy {
8
- formField: MonkeyFormFieldComponent;
9
- private changeDetectorRef;
10
- placeholder: string;
11
- debounce: number;
12
- tabIndex: number;
13
- onChange: EventEmitter<any>;
14
- get disabled(): boolean;
15
- set disabled(value: boolean);
16
- _disabled: boolean;
17
- get required(): boolean;
18
- set required(value: boolean);
19
- private _required;
20
- set value(value: any);
21
- get value(): any;
22
- _value: string | null;
23
- constructor(formField: MonkeyFormFieldComponent, changeDetectorRef: ChangeDetectorRef);
24
- ngControl: NgControl | null;
25
- private readonly idGenerator;
26
- readonly id: string;
27
- readonly inputId: string;
28
- focused: boolean;
29
- readonly type: string;
30
- readonly stateChanges: Subject<void>;
31
- protected _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>;
32
- _onChange: any;
33
- _onTouched: any;
34
- private readonly _addressService;
35
- private _searchEvent;
36
- private _destroyRef;
37
- private _resizeObserver?;
38
- initialDisplayWidth: number;
39
- showPopOver: boolean;
40
- options: GoogleApiPlaces[];
41
- readonly loadingDictionary: import("rxjs").Observable<any>;
42
- readonly noDataDictionary: import("rxjs").Observable<any>;
43
- loading: boolean;
44
- searchData: string;
45
- get elementTarget(): any;
46
- optionTemplate?: TemplateRef<any>;
47
- containerWrapper: ElementRef;
48
- private updateWidth;
49
- closePopOver: () => void;
50
- ngAfterContentInit(): void;
51
- ngOnDestroy(): void;
52
- onContainerClick(event: MouseEvent): void;
53
- onClear(): void;
54
- _onFocus(): void;
55
- _onBlur(event: FocusEvent): void;
56
- registerOnChange(fn: any): void;
57
- registerOnTouched(fn: any): void;
58
- setDisabledState(isDisabled: boolean): void;
59
- writeValue(value: any): void;
60
- openPopOver(): void;
61
- onInputChange(event: Event): void;
62
- onSelect(option: GoogleApiPlaces): void;
63
- isSelected(option: GoogleApiPlaces): boolean;
64
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyAutocompleteAddressComponent, [{ optional: true; }, null]>;
65
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyAutocompleteAddressComponent, "monkey-autocomplete-address", never, { "placeholder": { "alias": "placeholder"; "required": true; }; "debounce": { "alias": "debounce"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "onChange": "onChange"; }, ["optionTemplate"], never, true, never>;
66
- static ngAcceptInputType_disabled: unknown;
67
- static ngAcceptInputType_required: unknown;
68
- }
@@ -1,6 +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 './autocomplete-address.component';
@@ -1,31 +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 } from '@angular/core';
7
- import { MonkeySize } from '../../interfaces';
8
- import * as i0 from "@angular/core";
9
- type MonkeyAvatarSrc = {
10
- iconName: string;
11
- } | {
12
- imageUrl: string;
13
- } | {
14
- name: string;
15
- };
16
- type MonkeyAvatarType = 'icon' | 'image' | 'name';
17
- export declare class MonkeyAvatarComponent {
18
- protected _id: any;
19
- readonly size: InputSignal<MonkeySize>;
20
- readonly src: InputSignal<MonkeyAvatarSrc>;
21
- readonly id: InputSignal<string | undefined>;
22
- avatar: string;
23
- avatarType: MonkeyAvatarType;
24
- get classes(): string;
25
- constructor();
26
- private getInitial;
27
- private handleAvatarType;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyAvatarComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyAvatarComponent, "monkey-avatar", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "src": { "alias": "src"; "required": true; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
30
- }
31
- export {};
@@ -1,6 +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 './avatar.component';
@@ -1,19 +0,0 @@
1
- import { MonkeySize } from '../../interfaces';
2
- import * as i0 from "@angular/core";
3
- export declare class MonkeyBadgeComponent {
4
- private readonly idGenerator;
5
- readonly id: string;
6
- hostVariables: {};
7
- set type(value: 'success' | 'alert' | 'error' | 'info' | 'default');
8
- set typeColors(value: {
9
- background: string;
10
- color: string;
11
- });
12
- size: MonkeySize;
13
- largePadding: boolean;
14
- icon: string;
15
- text: string;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyBadgeComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyBadgeComponent, "monkey-badge", never, { "type": { "alias": "type"; "required": false; }; "typeColors": { "alias": "typeColors"; "required": false; }; "size": { "alias": "size"; "required": false; }; "largePadding": { "alias": "largePadding"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, {}, never, ["*"], true, never>;
18
- static ngAcceptInputType_largePadding: unknown;
19
- }
@@ -1,6 +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 './badge.component';
@@ -1,18 +0,0 @@
1
- import { Router } from '@angular/router';
2
- import { MonkeyBreadcrumb } from '../../interfaces';
3
- import * as i0 from "@angular/core";
4
- export declare class MonkeyBreadcrumbComponent {
5
- first: MonkeyBreadcrumb;
6
- last: MonkeyBreadcrumb;
7
- colapsed: boolean;
8
- protected _router: Router;
9
- protected _uid: string;
10
- protected _id: string;
11
- get id(): string;
12
- set id(value: string);
13
- constructor();
14
- handleNavigate(item: MonkeyBreadcrumb): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyBreadcrumbComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyBreadcrumbComponent, "monkey-breadcrumb", never, { "first": { "alias": "first"; "required": true; }; "last": { "alias": "last"; "required": true; }; "colapsed": { "alias": "colapsed"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
17
- static ngAcceptInputType_colapsed: unknown;
18
- }
@@ -1,6 +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 './breadcrumb.component';
@@ -1,20 +0,0 @@
1
- import { MonkeyButtonColor, MonkeyButtonType } from '../../interfaces/button';
2
- import { MonkeySize } from '../../interfaces/sizes';
3
- import * as i0 from "@angular/core";
4
- export declare class MonkeyButtonComponent {
5
- disabled: boolean;
6
- color: MonkeyButtonColor;
7
- size: MonkeySize;
8
- type: MonkeyButtonType;
9
- loading: boolean;
10
- private readonly elementRef;
11
- protected _uid: string;
12
- protected _id: string;
13
- get id(): string;
14
- set id(value: string);
15
- constructor();
16
- onClick(event: MouseEvent): void;
17
- get element(): HTMLElement;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyButtonComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyButtonComponent, "monkey-button", never, { "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; }; "id": { "alias": "id"; "required": false; }; }, {}, never, ["[first]", "*", "[last]"], true, never>;
20
- }
@@ -1,6 +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 './button.component';
@@ -1,47 +0,0 @@
1
- import { EventEmitter, OnChanges, OnInit } from '@angular/core';
2
- import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class MonkeyCheckboxComponent implements ControlValueAccessor, OnChanges, OnInit, Validator {
5
- private infoChildren;
6
- private labelChildren;
7
- private helperChildren;
8
- disabled: boolean;
9
- indeterminate: boolean;
10
- required: boolean;
11
- showFooter: boolean;
12
- size: 'sm' | 'md' | 'lg';
13
- onChange: EventEmitter<boolean>;
14
- private _destroyRef;
15
- private readonly idGenerator;
16
- private injector;
17
- private cdr;
18
- control: AbstractControl<any, any> | null | undefined;
19
- readonly inputId: string;
20
- value: boolean;
21
- isFocused: boolean;
22
- get showInvalid(): boolean;
23
- get hasHeader(): boolean;
24
- get isTouched(): boolean;
25
- get isInvalid(): boolean;
26
- ngOnInit(): void;
27
- _onChange: any;
28
- _onTouched: any;
29
- _onValidatorChange: any;
30
- ngOnChanges(changes: any): void;
31
- onBlur: () => void;
32
- onFocus: (event: any) => void;
33
- validate(control: AbstractControl): ValidationErrors | null;
34
- writeValue(value: boolean): void;
35
- registerOnChange(fn: any): void;
36
- registerOnTouched(fn: any): void;
37
- registerOnValidatorChange(fn: () => void): void;
38
- setDisabledState(isDisabled: boolean): void;
39
- onChangeEvent(event: Event): void;
40
- getFooterMessages(): 'info' | 'error' | '';
41
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyCheckboxComponent, never>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyCheckboxComponent, "monkey-checkbox", never, { "disabled": { "alias": "disabled"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "required": { "alias": "required"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "onChange": "onChange"; }, ["infoChildren", "labelChildren", "helperChildren"], ["monkey-label", "monkey-helper", "*", "monkey-error", "monkey-info"], true, never>;
43
- static ngAcceptInputType_disabled: unknown;
44
- static ngAcceptInputType_indeterminate: unknown;
45
- static ngAcceptInputType_required: unknown;
46
- static ngAcceptInputType_showFooter: unknown;
47
- }
@@ -1,6 +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 './checkbox.component';
@@ -1,59 +0,0 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- interface Calendar {
4
- month: number;
5
- year: number;
6
- }
7
- export declare class MonkeyDateRangeComponent implements OnInit {
8
- set startDate(val: string);
9
- set endDate(val: string);
10
- hideQuickAction: boolean;
11
- hideHeader: boolean;
12
- hideActions: boolean;
13
- hideSecondCalendar: boolean;
14
- allowFastActionOnHeader: boolean;
15
- set minDate(val: Date | string);
16
- set maxDate(val: Date | string);
17
- onCancel: EventEmitter<any>;
18
- onDate: EventEmitter<any>;
19
- protected _uid: string;
20
- protected _id: string;
21
- get id(): string;
22
- set id(value: string);
23
- private _screenWidth;
24
- private _allowChangeFastAction;
25
- private _allowChangeSecondCalendar;
26
- private readonly _today;
27
- readonly i18nDictionary: import("rxjs").Observable<any>;
28
- handledStartDate: string;
29
- handledEndDate: string;
30
- firstCalendar: Calendar;
31
- secondCalendar: Calendar;
32
- isInvalidInterval: boolean;
33
- handledMinDate: string;
34
- handledMaxDate: string;
35
- constructor();
36
- private handleInitialValues;
37
- private handleProperties;
38
- private handleInputChange;
39
- onResize(event: any): void;
40
- ngOnInit(): void;
41
- onHandleDate({ startDate, endDate }: {
42
- startDate: string;
43
- endDate: string;
44
- }): void;
45
- onSubmit(): void;
46
- onHandleQuickAction(event: number): void;
47
- onChangeInputStartDate(event: Event): void;
48
- onChangeInputEndDate(event: Event): void;
49
- onDataChange(event: string, isStart: boolean): void;
50
- onHandleNavigate(action: 'previous' | 'next'): void;
51
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyDateRangeComponent, never>;
52
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyDateRangeComponent, "monkey-date-range", never, { "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; "hideQuickAction": { "alias": "hideQuickAction"; "required": false; }; "hideHeader": { "alias": "hideHeader"; "required": false; }; "hideActions": { "alias": "hideActions"; "required": false; }; "hideSecondCalendar": { "alias": "hideSecondCalendar"; "required": false; }; "allowFastActionOnHeader": { "alias": "allowFastActionOnHeader"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "onCancel": "onCancel"; "onDate": "onDate"; }, never, never, true, never>;
53
- static ngAcceptInputType_hideQuickAction: unknown;
54
- static ngAcceptInputType_hideHeader: unknown;
55
- static ngAcceptInputType_hideActions: unknown;
56
- static ngAcceptInputType_hideSecondCalendar: unknown;
57
- static ngAcceptInputType_allowFastActionOnHeader: unknown;
58
- }
59
- export {};
@@ -1,6 +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 './date-range.component';
@@ -1,6 +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 './month.component';
@@ -1,38 +0,0 @@
1
- import { EventEmitter, OnChanges } from '@angular/core';
2
- import * as Utils from '../utils';
3
- import * as i0 from "@angular/core";
4
- export declare class MonkeyDateRangeMonthComponent implements OnChanges {
5
- month: number;
6
- year: number;
7
- set startDate(val: string);
8
- set endDate(val: string);
9
- hidePrevious: boolean;
10
- hideNext: boolean;
11
- minDate: string;
12
- maxDate: string;
13
- onNavigate: EventEmitter<any>;
14
- onDate: EventEmitter<any>;
15
- protected _uid: string;
16
- protected _id: string;
17
- private readonly _today;
18
- private _handledStartDate;
19
- private _handledEndDate;
20
- readonly i18nDictionary: import("rxjs").Observable<any>;
21
- daysInMonth: Utils.CalendarWeekDay;
22
- temporaryEndDate: Utils.WeekDay | null;
23
- get id(): string;
24
- set id(value: string);
25
- constructor();
26
- ngOnChanges(): void;
27
- isFirst(param: Utils.WeekDay): boolean;
28
- isLast(param: Utils.WeekDay): boolean;
29
- isSelected(param: Utils.WeekDay): boolean;
30
- isInRange(param: Utils.WeekDay): boolean;
31
- isInRangeTemporary(param: Utils.WeekDay): boolean;
32
- isInLastTemporary(param: Utils.WeekDay): boolean;
33
- onSelectDate(event: Event, param: Utils.WeekDay): void;
34
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyDateRangeMonthComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyDateRangeMonthComponent, "monkey-date-range-month", never, { "month": { "alias": "month"; "required": true; }; "year": { "alias": "year"; "required": true; }; "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; "hidePrevious": { "alias": "hidePrevious"; "required": false; }; "hideNext": { "alias": "hideNext"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "onNavigate": "onNavigate"; "onDate": "onDate"; }, never, never, true, never>;
36
- static ngAcceptInputType_hidePrevious: unknown;
37
- static ngAcceptInputType_hideNext: unknown;
38
- }
@@ -1,6 +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 './quick-actions.component';
@@ -1,19 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class MonkeyDateRangeQuickActionsComponent {
4
- onChange: EventEmitter<any>;
5
- protected _uid: string;
6
- protected _id: string;
7
- get id(): string;
8
- set id(value: string);
9
- selectedAction: string;
10
- readonly actions: any[];
11
- readonly i18nDictionary: import("rxjs").Observable<any>;
12
- constructor();
13
- onHandleAction({ key, value }: {
14
- key: string;
15
- value: number;
16
- }): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyDateRangeQuickActionsComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyDateRangeQuickActionsComponent, "monkey-date-range-quick-actions", never, { "id": { "alias": "id"; "required": false; }; }, { "onChange": "onChange"; }, never, never, true, never>;
19
- }
@@ -1,40 +0,0 @@
1
- export interface DefaultDates {
2
- minDate: string;
3
- maxDate: string;
4
- }
5
- export interface WeekDay {
6
- date: Date | null;
7
- isDisabled: boolean;
8
- isToday: boolean;
9
- }
10
- export interface CalendarWeekDay {
11
- blockNext: boolean;
12
- blockPrev: boolean;
13
- days: (WeekDay | null)[];
14
- }
15
- export declare enum QuickActionsEnum {
16
- LAST_30_DAYS = -30,
17
- LAST_60_DAYS = -60,
18
- LAST_90_DAYS = -90,
19
- LAST_6_MONTHS = -180,
20
- LAST_12_MONTHS = -365,
21
- NEXT_30_DAYS = 30,
22
- NEXT_60_DAYS = 60,
23
- NEXT_90_DAYS = 90,
24
- NEXT_6_MONTHS = 180,
25
- NEXT_12_MONTHS = 365
26
- }
27
- export declare function parseStringDate(val: Date | string): string;
28
- export declare function getDefaultdates(): DefaultDates;
29
- export declare function buildCalendars(date: Date | string, action?: 'previous' | 'next'): {
30
- firstCalendar: {
31
- month: number;
32
- year: number;
33
- };
34
- secondCalendar: {
35
- month: number;
36
- year: number;
37
- };
38
- };
39
- export declare function buildMonthByDays(year: number, month: number, minDate: Date | string, maxDate: Date | string): CalendarWeekDay;
40
- export declare function getEnumKeys(enumObj: any): any[];