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
@@ -1,64 +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 { AfterContentInit, ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
7
- import { ControlValueAccessor, NgControl } from '@angular/forms';
8
- import { Subject } from 'rxjs';
9
- import { MonkeyFormFieldControl } from '../form-field';
10
- import * as i0 from "@angular/core";
11
- export type MonkeyInputUploadChangeEvent = {
12
- component: MonkeyInputUploadComponent;
13
- file: File;
14
- };
15
- export declare class MonkeyInputUploadComponent implements MonkeyFormFieldControl, ControlValueAccessor, AfterContentInit, OnDestroy, OnChanges {
16
- fileInput: ElementRef<HTMLInputElement>;
17
- progress: number;
18
- placeholder: string;
19
- maxSizeBytes: number;
20
- allowedExtensions: string[];
21
- loading: boolean;
22
- tabIndex: number;
23
- get disabled(): boolean;
24
- set disabled(value: boolean);
25
- _disabled: boolean;
26
- get required(): boolean;
27
- set required(value: boolean);
28
- private _required;
29
- set value(value: any);
30
- get value(): any;
31
- _value: null;
32
- constructor();
33
- onChange: EventEmitter<MonkeyInputUploadChangeEvent>;
34
- ngControl: NgControl | null;
35
- private readonly idGenerator;
36
- readonly id: string;
37
- focused: boolean;
38
- readonly type: string;
39
- currency: boolean;
40
- readonly percent: boolean;
41
- readonly stateChanges: Subject<void>;
42
- private validateFileSize;
43
- private validateFileExtension;
44
- onContainerClick(event: MouseEvent): void;
45
- _onFocus(): void;
46
- _onBlur(): void;
47
- disableToBeDirty?: boolean | undefined;
48
- _onChange: any;
49
- _onTouched: any;
50
- ngAfterContentInit(): void;
51
- ngOnChanges(changes: SimpleChanges): void;
52
- ngOnDestroy(): void;
53
- registerOnChange(fn: any): void;
54
- registerOnTouched(fn: any): void;
55
- setDisabledState(isDisabled: boolean): void;
56
- writeValue(value: any): void;
57
- reset(): void;
58
- onFileSelected(event: Event): void;
59
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyInputUploadComponent, never>;
60
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyInputUploadComponent, "monkey-input-upload", never, { "progress": { "alias": "progress"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxSizeBytes": { "alias": "maxSizeBytes"; "required": false; }; "allowedExtensions": { "alias": "allowedExtensions"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "onChange": "onChange"; }, never, never, true, never>;
61
- static ngAcceptInputType_loading: unknown;
62
- static ngAcceptInputType_disabled: unknown;
63
- static ngAcceptInputType_required: unknown;
64
- }
@@ -1,12 +0,0 @@
1
- import { MonkeyModalConfirmationConfig } from '../modal-config';
2
- import { MonkeyModalRef } from '../modal-ref';
3
- import * as i0 from "@angular/core";
4
- export declare class MonkeyModalConfirmationComponent {
5
- config: MonkeyModalConfirmationConfig;
6
- private modalRef;
7
- constructor(config: MonkeyModalConfirmationConfig, modalRef: MonkeyModalRef);
8
- onSubmit(): void;
9
- onClose(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyModalConfirmationComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyModalConfirmationComponent, "monkey-modal-confirmation", never, {}, {}, never, never, false, never>;
12
- }
@@ -1,12 +0,0 @@
1
- import { MonkeyModalDefaultConfig } from '../modal-config';
2
- import { MonkeyModalRef } from '../modal-ref';
3
- import * as i0 from "@angular/core";
4
- export declare class MonkeyModalDefaultComponent {
5
- config: MonkeyModalDefaultConfig;
6
- private modalRef;
7
- constructor(config: MonkeyModalDefaultConfig, modalRef: MonkeyModalRef);
8
- onSubmit(): void;
9
- onClose(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyModalDefaultComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyModalDefaultComponent, "monkey-modal-default", never, {}, {}, never, never, false, never>;
12
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class MonkeyModalActionsDirective {
3
- mkAlign: 'start' | 'center' | 'end';
4
- id: string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyModalActionsDirective, never>;
6
- static ɵdir: i0.ɵɵDirectiveDeclaration<MonkeyModalActionsDirective, "monkey-modal-actions, [monkey-modal-actions]", never, { "mkAlign": { "alias": "mkAlign"; "required": false; }; }, {}, never, never, false, never>;
7
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class MonkeyModalContentDirective {
3
- id: string;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyModalContentDirective, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<MonkeyModalContentDirective, "monkey-modal-content, [monkey-modal-content]", never, {}, {}, never, never, false, never>;
6
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class MonkeyModalSubtitleDirective {
3
- id: string;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyModalSubtitleDirective, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<MonkeyModalSubtitleDirective, "monkey-modal-subtitle, [monkey-modal-subtitle]", never, {}, {}, never, never, false, never>;
6
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class MonkeyModalTitleDirective {
3
- id: string;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyModalTitleDirective, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<MonkeyModalTitleDirective, "monkey-modal-title, [monkey-modal-title]", never, {}, {}, never, never, false, never>;
6
- }
@@ -1,15 +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 './directives/actions';
7
- export * from './directives/content';
8
- export * from './directives/subtitle';
9
- export * from './directives/title';
10
- export * from './modal-config';
11
- export * from './modal-ref';
12
- export * from './modal.component';
13
- export * from './modal.module';
14
- export * from './modal.service';
15
- export { MECX_MODAL_DATA, MECX_MODAL_DEFAULT_CONFIG } from './utils';
@@ -1,38 +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 { StaticProvider } from '@angular/core';
7
- export declare class MonkeyModalConfig {
8
- id?: string;
9
- icon?: string;
10
- panelClass?: string | string[];
11
- hasBackdrop?: boolean;
12
- backdropClass?: string | string[];
13
- disableClose?: boolean;
14
- disableBackdropClose?: boolean;
15
- maxWidth?: number | string;
16
- maxHeight?: number | string;
17
- fullscreen?: boolean;
18
- position?: 'left-top' | 'center-top' | 'right-top' | 'left-center' | 'center-center' | 'right-center' | 'left-bottom' | 'center-bottom' | 'right-bottom';
19
- data?: any | null;
20
- closeOnNavigation?: boolean;
21
- providers?: StaticProvider[];
22
- }
23
- export interface MonkeyModalDefaultConfig {
24
- title: string;
25
- subtitle?: string;
26
- content: string;
27
- cancelLabel: string;
28
- okLabel: string;
29
- }
30
- export interface MonkeyModalConfirmationConfig {
31
- title: string;
32
- content: string;
33
- cancelLabel: string;
34
- okLabel: string;
35
- type?: 'error' | 'success' | 'warning';
36
- confirmColor?: 'error' | 'success' | 'theme';
37
- icon?: string;
38
- }
@@ -1,28 +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 { OverlayRef } from '@angular/cdk/overlay';
7
- import { ComponentRef } from '@angular/core';
8
- import { Observable } from 'rxjs';
9
- import { MonkeyModalConfig } from './modal-config';
10
- export declare class MonkeyModalRef {
11
- readonly overlayRef: OverlayRef;
12
- readonly config: MonkeyModalConfig;
13
- readonly id?: string;
14
- readonly componentInstance: any;
15
- readonly componentRef: ComponentRef<any> | null;
16
- readonly icon?: string;
17
- disableClose: boolean | undefined;
18
- disableBackdropClose: boolean | undefined;
19
- closeOnNavigation: boolean | undefined;
20
- componentElement: HTMLElement;
21
- readonly closed: Observable<any>;
22
- readonly backdropClick: Observable<MouseEvent>;
23
- readonly keydownEvents: Observable<KeyboardEvent>;
24
- readonly outsidePointerEvents: Observable<MouseEvent>;
25
- constructor(overlayRef: OverlayRef, config: MonkeyModalConfig);
26
- close(result?: any): void;
27
- afterClosed(): Observable<any>;
28
- }
@@ -1,22 +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 { OverlayRef } from '@angular/cdk/overlay';
7
- import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
8
- import { MonkeyModalRef } from './modal-ref';
9
- import * as i0 from "@angular/core";
10
- export declare class MonkeyModalComponent implements AfterViewInit, OnDestroy {
11
- private _elementRef;
12
- overlayRef?: OverlayRef | undefined;
13
- modalRef?: MonkeyModalRef | undefined;
14
- private _navigationSubscription;
15
- private _router;
16
- constructor(_elementRef: ElementRef, overlayRef?: OverlayRef | undefined, modalRef?: MonkeyModalRef | undefined);
17
- ngAfterViewInit(): void;
18
- ngOnDestroy(): void;
19
- close(): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyModalComponent, [null, { optional: true; }, { optional: true; }]>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyModalComponent, "monkey-modal", never, {}, {}, never, ["monkey-modal-title", "[monkey-modal-title]", "monkey-modal-subtitle", "[monkey-modal-subtitle]", "monkey-modal-content", "[monkey-modal-content]", "monkey-modal-actions", "[monkey-modal-actions]"], false, never>;
22
- }
@@ -1,17 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./modal.component";
3
- import * as i2 from "./components/default";
4
- import * as i3 from "./components/confirmation.component";
5
- import * as i4 from "./directives/title";
6
- import * as i5 from "./directives/subtitle";
7
- import * as i6 from "./directives/content";
8
- import * as i7 from "./directives/actions";
9
- import * as i8 from "@angular/common";
10
- import * as i9 from "../button/button.component";
11
- import * as i10 from "../icon-button/icon-button.component";
12
- import * as i11 from "../icon/icon.component";
13
- export declare class MonkeyModalModule {
14
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyModalModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyModalModule, [typeof i1.MonkeyModalComponent, typeof i2.MonkeyModalDefaultComponent, typeof i3.MonkeyModalConfirmationComponent, typeof i4.MonkeyModalTitleDirective, typeof i5.MonkeyModalSubtitleDirective, typeof i6.MonkeyModalContentDirective, typeof i7.MonkeyModalActionsDirective], [typeof i8.CommonModule, typeof i9.MonkeyButtonComponent, typeof i10.MonkeyIconButtonComponent, typeof i11.MonkeyIconComponent], [typeof i1.MonkeyModalComponent, typeof i4.MonkeyModalTitleDirective, typeof i5.MonkeyModalSubtitleDirective, typeof i6.MonkeyModalContentDirective, typeof i7.MonkeyModalActionsDirective]>;
16
- static ɵinj: i0.ɵɵInjectorDeclaration<MonkeyModalModule>;
17
- }
@@ -1,28 +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 { Overlay } from '@angular/cdk/overlay';
7
- import { ComponentType } from '@angular/cdk/portal';
8
- import { Injector } from '@angular/core';
9
- import { IdGenerator } from '../../../utils';
10
- import { MonkeyModalConfig, MonkeyModalConfirmationConfig, MonkeyModalDefaultConfig } from './modal-config';
11
- import { MonkeyModalRef } from './modal-ref';
12
- import * as i0 from "@angular/core";
13
- export declare class MonkeyModalService {
14
- protected _idGenerator: IdGenerator;
15
- protected _injector: Injector;
16
- protected _overlay: Overlay;
17
- protected _openDialogsAtThisLevel: MonkeyModalRef[];
18
- protected _parentDialog: MonkeyModalService | null;
19
- protected get openDialogs(): readonly MonkeyModalRef[];
20
- private getOverlayConfig;
21
- private createInjector;
22
- open<T>(component: ComponentType<T>, config: MonkeyModalConfig): MonkeyModalRef;
23
- openDefault(params: MonkeyModalDefaultConfig, config: MonkeyModalConfig): MonkeyModalRef;
24
- openConfirmation(params: MonkeyModalConfirmationConfig, config: MonkeyModalConfig): MonkeyModalRef;
25
- closeAll(): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyModalService, never>;
27
- static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyModalService>;
28
- }
@@ -1,18 +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 { InjectionToken } from '@angular/core';
7
- import { MonkeyModalConfirmationConfig, MonkeyModalDefaultConfig } from './modal-config';
8
- export declare const MECX_MODAL_DATA: InjectionToken<any>;
9
- export declare const MECX_MODAL_DEFAULT_CONFIG: InjectionToken<MonkeyModalDefaultConfig>;
10
- export declare const MECX_MODAL_CONFIRMATION_CONFIG: InjectionToken<MonkeyModalConfirmationConfig>;
11
- /**
12
- * @license
13
- * Copyright Google LLC All Rights Reserved.
14
- *
15
- * Use of this source code is governed by an MIT-style license that can be
16
- * found in the LICENSE file at https://angular.dev/license
17
- */
18
- export declare function reverseForEach<T>(items: T[] | readonly T[], callback: (current: T) => void): void;
@@ -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 './option.component';
@@ -1,20 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class MonkeyOptionComponent {
4
- private readonly idGenerator;
5
- _content: ElementRef<HTMLElement> | undefined;
6
- readonly value: import("@angular/core").InputSignal<any>;
7
- disabled: boolean;
8
- type: string;
9
- get displayContent(): string;
10
- selected: boolean;
11
- tabIndex: number;
12
- action: Function;
13
- readonly id: string;
14
- private handleAction;
15
- onClick(event: MouseEvent): void;
16
- handleKeyDown(event: KeyboardEvent): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyOptionComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyOptionComponent, "monkey-option", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], true, never>;
19
- static ngAcceptInputType_disabled: unknown;
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 './radio-button.component';
@@ -1,54 +0,0 @@
1
- import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, QueryList } from '@angular/core';
2
- import { ControlValueAccessor, NgControl } from '@angular/forms';
3
- import { Subject } from 'rxjs';
4
- import { MonkeySize } from '../../interfaces';
5
- import { MonkeyFormFieldControl } from '../form-field/form-field-control';
6
- import { MonkeyFormFieldComponent } from '../form-field/form-field.component';
7
- import { MonkeyOptionComponent } from '../option/option.component';
8
- import * as i0 from "@angular/core";
9
- export declare class MonkeyRadioButtonComponent implements MonkeyFormFieldControl, ControlValueAccessor, AfterContentInit {
10
- private changeDetectorRef;
11
- private formField;
12
- options: QueryList<MonkeyOptionComponent>;
13
- tabIndex: number;
14
- onChange: EventEmitter<any>;
15
- onSearch: EventEmitter<any>;
16
- position: string;
17
- size: MonkeySize;
18
- get classes(): string;
19
- get disabled(): boolean;
20
- set disabled(value: boolean);
21
- get required(): boolean;
22
- set required(value: boolean);
23
- private _required;
24
- set value(value: any);
25
- get value(): any;
26
- _value: null;
27
- private _destroyRef;
28
- private readonly idGenerator;
29
- ngControl: NgControl | null;
30
- protected _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>;
31
- focused: boolean;
32
- _disabled: boolean;
33
- readonly id: string;
34
- readonly stateChanges: Subject<void>;
35
- readonly type: string;
36
- constructor(changeDetectorRef: ChangeDetectorRef, formField: MonkeyFormFieldComponent);
37
- private changeSelected;
38
- private initializeOptions;
39
- ngAfterContentInit(): void;
40
- selectOption(option: MonkeyOptionComponent): void;
41
- writeValue(value: any): void;
42
- onContainerClick(event: MouseEvent): void;
43
- _onFocus(): void;
44
- _onBlur(): void;
45
- _onChange: any;
46
- _onTouched: any;
47
- registerOnChange(fn: any): void;
48
- registerOnTouched(fn: any): void;
49
- setDisabledState(isDisabled: boolean): void;
50
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyRadioButtonComponent, [null, { optional: true; }]>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyRadioButtonComponent, "monkey-radiobutton", never, { "tabIndex": { "alias": "tabIndex"; "required": false; }; "position": { "alias": "position"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "onChange": "onChange"; "onSearch": "onSearch"; }, ["options"], ["*"], true, never>;
52
- static ngAcceptInputType_disabled: unknown;
53
- static ngAcceptInputType_required: unknown;
54
- }
@@ -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 './security-level.component';
@@ -1,14 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class MonkeySecurityLevelComponent {
3
- label: import("@angular/core").InputSignal<string | undefined>;
4
- score: import("@angular/core").InputSignal<number>;
5
- strengthLabel: import("@angular/core").InputSignal<string | undefined>;
6
- get class(): string;
7
- protected _uid: string;
8
- protected _id: string;
9
- get id(): string;
10
- set id(value: string);
11
- constructor();
12
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeySecurityLevelComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeySecurityLevelComponent, "monkey-security-level", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "score": { "alias": "score"; "required": true; "isSignal": true; }; "strengthLabel": { "alias": "strengthLabel"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
14
- }
@@ -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 './select.component';
@@ -1,87 +0,0 @@
1
- import { Overlay } from '@angular/cdk/overlay';
2
- import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
3
- import { ControlValueAccessor, NgControl } from '@angular/forms';
4
- import { Subject } from 'rxjs';
5
- import { MonkeyFormFieldControl } from '../form-field/form-field-control';
6
- import { MonkeyFormFieldComponent } from '../form-field/form-field.component';
7
- import { MonkeyOptionComponent } from '../option/option.component';
8
- import * as i0 from "@angular/core";
9
- export declare class MonkeySelectComponent implements MonkeyFormFieldControl, ControlValueAccessor, AfterContentInit, OnInit, OnDestroy, OnChanges {
10
- private overlay;
11
- private changeDetectorRef;
12
- private viewContainerRef;
13
- private formField;
14
- overlayTemplate: TemplateRef<any>;
15
- overlayEl: ElementRef;
16
- trigger: ElementRef;
17
- options: QueryList<MonkeyOptionComponent>;
18
- tabIndex: number;
19
- onChange: EventEmitter<any>;
20
- placeholder: string;
21
- loading: boolean;
22
- showSearch: boolean;
23
- searchPlaceholder: string;
24
- type: string;
25
- get disabled(): boolean;
26
- set disabled(value: boolean);
27
- get required(): boolean;
28
- set required(value: boolean);
29
- private _required;
30
- set value(value: any);
31
- get value(): any;
32
- _value: null;
33
- labelSelected: string;
34
- private overlayRef;
35
- private _destroyRef;
36
- private readonly idGenerator;
37
- ngControl: NgControl | null;
38
- protected _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>;
39
- readonly currency: boolean;
40
- focused: boolean;
41
- _disabled: boolean;
42
- readonly id: string;
43
- readonly percent: boolean;
44
- readonly stateChanges: Subject<void>;
45
- readonly searchHandle: EventEmitter<string>;
46
- readonly searchDictionary: import("rxjs").Observable<any>;
47
- readonly loadingDictionary: import("rxjs").Observable<any>;
48
- showSearchNoData: boolean;
49
- isOpen: boolean;
50
- searchData: string;
51
- constructor(overlay: Overlay, changeDetectorRef: ChangeDetectorRef, viewContainerRef: ViewContainerRef, formField: MonkeyFormFieldComponent);
52
- private changeControl;
53
- private changeSelected;
54
- private initializeOptions;
55
- private openDropdown;
56
- private closeDropdown;
57
- private closeOverlay;
58
- private initializeWithOverlay;
59
- private createOverlay;
60
- private updateSelectedLabel;
61
- private executeSearch;
62
- private repositionScroll;
63
- private getComparationValue;
64
- ngOnInit(): void;
65
- ngAfterContentInit(): void;
66
- ngOnDestroy(): void;
67
- toggleDropdown(): void;
68
- onAnimationEnd: (event: any) => void;
69
- selectOption(option: MonkeyOptionComponent): void;
70
- writeValue(value: any): void;
71
- onContainerClick(event: MouseEvent): void;
72
- _onFocus(): void;
73
- _onBlur(): void;
74
- _onChange: any;
75
- _onTouched: any;
76
- registerOnChange(fn: any): void;
77
- registerOnTouched(fn: any): void;
78
- setDisabledState(isDisabled: boolean): void;
79
- ngOnChanges(changes: SimpleChanges): void;
80
- onHandleSearch(event: Event): void;
81
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeySelectComponent, [null, null, null, { optional: true; }]>;
82
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeySelectComponent, "monkey-select", never, { "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": true; }; "loading": { "alias": "loading"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "onChange": "onChange"; }, ["options"], ["*"], true, never>;
83
- static ngAcceptInputType_loading: unknown;
84
- static ngAcceptInputType_showSearch: unknown;
85
- static ngAcceptInputType_disabled: unknown;
86
- static ngAcceptInputType_required: unknown;
87
- }
@@ -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 './status.component';
@@ -1,17 +0,0 @@
1
- import { MonkeySize } from '../../interfaces';
2
- import * as i0 from "@angular/core";
3
- type Status = 'default' | 'success' | 'warning' | 'error' | 'question' | 'info';
4
- export declare class MonkeyStatusComponent {
5
- type: import("@angular/core").InputSignal<Status>;
6
- size: import("@angular/core").InputSignal<MonkeySize>;
7
- label: import("@angular/core").InputSignal<string | undefined>;
8
- get class(): string;
9
- protected _uid: string;
10
- protected _id: string;
11
- get id(): string;
12
- set id(value: string);
13
- constructor();
14
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyStatusComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyStatusComponent, "monkey-status", never, { "type": { "alias": "type"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
16
- }
17
- export {};
@@ -1,3 +0,0 @@
1
- export * from './stepper.module';
2
- export * from './stepper.component';
3
- export * from './step/step.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 { AfterContentInit, QueryList } from '@angular/core';
7
- import * as i0 from "@angular/core";
8
- export declare class MonkeyStepComponent implements AfterContentInit {
9
- protected id: string;
10
- subSteps: QueryList<MonkeyStepComponent>;
11
- label: string;
12
- step: string;
13
- icon: string;
14
- number?: number;
15
- hasSubSteps: boolean;
16
- isSubStep: boolean;
17
- isCurrent: boolean;
18
- isComplete: boolean;
19
- isActive: boolean;
20
- ngAfterContentInit(): void;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyStepComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyStepComponent, "monkey-step", never, { "label": { "alias": "label"; "required": false; }; "step": { "alias": "step"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, ["subSteps"], ["*"], false, never>;
23
- }
@@ -1,22 +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 { AfterContentInit, OnChanges, QueryList } from '@angular/core';
7
- import { MonkeyStepComponent } from './step/step.component';
8
- import * as i0 from "@angular/core";
9
- export declare class MonkeyStepperComponent implements AfterContentInit, OnChanges {
10
- protected monkeyId: string;
11
- steps: QueryList<MonkeyStepComponent>;
12
- direction: 'horizontal' | 'vertical';
13
- private _id;
14
- set id(value: string);
15
- get id(): string;
16
- currentStep?: string | undefined;
17
- ngAfterContentInit(): void;
18
- ngOnChanges(): void;
19
- render(): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyStepperComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyStepperComponent, "monkey-stepper", never, { "direction": { "alias": "direction"; "required": false; }; "id": { "alias": "id"; "required": false; }; "currentStep": { "alias": "currentStep"; "required": false; }; }, {}, ["steps"], ["*"], false, never>;
22
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./stepper.component";
3
- import * as i2 from "./step/step.component";
4
- import * as i3 from "../../../utils/icon";
5
- import * as i4 from "../icon/icon.component";
6
- export declare class MonkeyStepperModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyStepperModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyStepperModule, [typeof i1.MonkeyStepperComponent, typeof i2.MonkeyStepComponent], [typeof i3.UtilIconComponent, typeof i4.MonkeyIconComponent], [typeof i1.MonkeyStepperComponent, typeof i2.MonkeyStepComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<MonkeyStepperModule>;
10
- }
@@ -1,17 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class MonkeyPaginationActionComponent {
4
- disabled: boolean;
5
- first: boolean;
6
- last: boolean;
7
- next: boolean;
8
- prev: boolean;
9
- onAction: EventEmitter<any>;
10
- protected _uid: string;
11
- protected _id: string;
12
- get id(): string;
13
- set id(value: string);
14
- constructor();
15
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyPaginationActionComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyPaginationActionComponent, "monkey-pagination-action", ["monkeyPaginationAction"], { "disabled": { "alias": "disabled"; "required": false; }; "first": { "alias": "first"; "required": false; }; "last": { "alias": "last"; "required": false; }; "next": { "alias": "next"; "required": true; }; "prev": { "alias": "prev"; "required": true; }; "id": { "alias": "id"; "required": false; }; }, { "onAction": "onAction"; }, never, never, true, never>;
17
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class MonkeyPaginationLabelComponent {
3
- protected _uid: string;
4
- protected _id: string;
5
- get id(): string;
6
- set id(value: string);
7
- constructor();
8
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyPaginationLabelComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyPaginationLabelComponent, "monkey-pagination-label", ["monkeyPaginationLabel"], { "id": { "alias": "id"; "required": false; }; }, {}, never, ["*"], true, never>;
10
- }