monkey-style-guide-v2 0.0.17 → 0.0.18
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/directives/_badge.scss +49 -0
- package/assets/scss/directives/_index.scss +1 -0
- package/assets/scss/table/_styles.scss +0 -33
- package/esm2022/lib/components/accordion/accordion.component.mjs +102 -0
- package/esm2022/lib/components/accordion/index.mjs +7 -0
- package/esm2022/lib/components/action-bar/action-bar.component.mjs +46 -0
- package/esm2022/lib/components/action-bar/index.mjs +7 -0
- package/esm2022/lib/components/alert/alert.component.mjs +50 -0
- package/esm2022/lib/components/alert/index.mjs +7 -0
- package/esm2022/lib/components/avatar/avatar.component.mjs +55 -0
- package/esm2022/lib/components/avatar/index.mjs +7 -0
- package/esm2022/lib/components/badge/badge.component.mjs +74 -0
- package/esm2022/lib/components/badge/index.mjs +7 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +56 -0
- package/esm2022/lib/components/breadcrumb/index.mjs +7 -0
- package/esm2022/lib/components/{monkey-button/monkey-button.component.mjs → button/button.component.mjs} +1 -1
- package/esm2022/lib/components/button/index.mjs +7 -0
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +219 -0
- package/esm2022/lib/components/checkbox/index.mjs +7 -0
- package/esm2022/lib/components/date-range/date-range.component.mjs +239 -0
- package/esm2022/lib/components/date-range/index.mjs +7 -0
- package/esm2022/lib/components/date-range/month/index.mjs +7 -0
- package/esm2022/lib/components/date-range/month/month.component.mjs +148 -0
- package/esm2022/lib/components/date-range/quick-actions/index.mjs +7 -0
- package/esm2022/lib/components/date-range/quick-actions/quick-actions.component.mjs +48 -0
- package/esm2022/lib/components/date-range/utils.mjs +102 -0
- package/esm2022/lib/components/divider/divider.component.mjs +44 -0
- package/esm2022/lib/components/divider/index.mjs +7 -0
- package/esm2022/lib/components/form-field/form-field-control.mjs +15 -0
- package/esm2022/lib/components/form-field/form-field.component.mjs +268 -0
- package/esm2022/lib/components/form-field/form-field.module.mjs +21 -0
- package/esm2022/lib/components/form-field/index.mjs +10 -0
- package/esm2022/lib/components/form-field/utils.mjs +16 -0
- package/esm2022/lib/components/icon/icon.component.mjs +51 -0
- package/esm2022/lib/components/icon/index.mjs +7 -0
- package/esm2022/lib/components/{monkey-icon-button/monkey-icon-button.component.mjs → icon-button/icon-button.component.mjs} +2 -2
- package/esm2022/lib/components/icon-button/index.mjs +7 -0
- package/esm2022/lib/components/index.mjs +27 -21
- package/esm2022/lib/components/input/index.mjs +9 -0
- package/esm2022/lib/components/input/input-currency.directive.mjs +185 -0
- package/esm2022/lib/components/input/input.directive.mjs +185 -0
- package/esm2022/lib/components/input/input.module.mjs +24 -0
- package/esm2022/lib/components/input/validators.mjs +22 -0
- package/esm2022/lib/components/input-code/index.mjs +7 -0
- package/esm2022/lib/components/input-code/input-code.component.mjs +232 -0
- package/esm2022/lib/components/input-upload/index.mjs +7 -0
- package/esm2022/lib/components/input-upload/input-upload.component.mjs +238 -0
- package/esm2022/lib/components/{monkey-modal → modal}/components/default.mjs +8 -6
- package/esm2022/lib/components/{monkey-modal → modal}/directives/actions.mjs +1 -1
- package/esm2022/lib/components/{monkey-modal → modal}/directives/content.mjs +1 -1
- package/esm2022/lib/components/{monkey-modal → modal}/directives/subtitle.mjs +1 -1
- package/esm2022/lib/components/{monkey-modal → modal}/directives/title.mjs +1 -1
- package/esm2022/lib/components/modal/index.mjs +16 -0
- package/esm2022/lib/components/modal/modal-config.mjs +20 -0
- package/esm2022/lib/components/modal/modal-ref.mjs +49 -0
- package/esm2022/lib/components/modal/modal.component.mjs +117 -0
- package/esm2022/lib/components/modal/modal.module.mjs +53 -0
- package/esm2022/lib/components/modal/modal.service.mjs +137 -0
- package/esm2022/lib/components/modal/utils.mjs +23 -0
- package/esm2022/lib/components/option/index.mjs +7 -0
- package/esm2022/lib/components/{monkey-option/monkey-option.component.mjs → option/option.component.mjs} +1 -1
- package/esm2022/lib/components/security-level/index.mjs +7 -0
- package/esm2022/lib/components/{monkey-security-level/monkey-security-level.component.mjs → security-level/security-level.component.mjs} +1 -1
- package/esm2022/lib/components/select/index.mjs +7 -0
- package/esm2022/lib/components/select/select.component.mjs +448 -0
- package/esm2022/lib/components/status/index.mjs +7 -0
- package/esm2022/lib/components/{monkey-status/monkey-status.component.mjs → status/status.component.mjs} +1 -1
- package/esm2022/lib/components/{monkey-table → table}/components/pagination-action/pagination-action.mjs +2 -2
- package/esm2022/lib/components/table/components/pagination-label/pagination-label.mjs +34 -0
- package/esm2022/lib/components/table/components/pagination-size/pagination-size.mjs +57 -0
- package/esm2022/lib/components/table/directives/column-checked.mjs +109 -0
- package/esm2022/lib/components/table/directives/column-expansible.mjs +134 -0
- package/esm2022/lib/components/table/directives/column-sortable.mjs +97 -0
- package/esm2022/lib/components/{monkey-table → table}/directives/column-stick.mjs +1 -1
- package/esm2022/lib/components/table/index.mjs +15 -0
- package/esm2022/lib/components/{monkey-table/table.mjs → table/table.component.mjs} +3 -2
- package/esm2022/lib/components/table/table.module.mjs +64 -0
- package/esm2022/lib/components/toast/index.mjs +7 -0
- package/esm2022/lib/components/toast/toast.component.mjs +79 -0
- package/esm2022/lib/components/toggle/index.mjs +7 -0
- package/esm2022/lib/components/{monkey-toggle/monkey-toggle.component.mjs → toggle/toggle.component.mjs} +6 -1
- package/esm2022/lib/components/toggle-line/index.mjs +8 -0
- package/esm2022/lib/components/toggle-line/toggle-line-button/index.mjs +7 -0
- package/esm2022/lib/components/{monkey-toggle-line/monkey-toggle-line-button/monkey-toggle-line-button.component.mjs → toggle-line/toggle-line-button/toggle-line-button.component.mjs} +3 -3
- package/esm2022/lib/components/toggle-line/toggle-line.component.mjs +85 -0
- package/esm2022/lib/components/tooltip/index.mjs +8 -0
- package/esm2022/lib/components/tooltip/tooltip/index.mjs +7 -0
- package/esm2022/lib/components/tooltip/tooltip/tooltip.component.mjs +58 -0
- package/esm2022/lib/components/tooltip/tooltip.directive.mjs +180 -0
- package/esm2022/lib/directives/badge.mjs +74 -0
- package/esm2022/lib/directives/index.mjs +2 -1
- package/esm2022/lib/directives/module.mjs +33 -4
- package/esm2022/lib/interfaces/sizes.mjs +1 -1
- package/esm2022/lib/services/dictionary.service.mjs +224 -0
- package/esm2022/lib/services/icons.service.mjs +56 -0
- package/esm2022/lib/services/index.mjs +8 -4
- package/esm2022/lib/services/toast.service.mjs +72 -0
- package/esm2022/lib/tokens/index.mjs +3 -0
- package/esm2022/utils/utils.mjs +32 -1
- package/fesm2022/monkey-style-guide-v2.mjs +2254 -391
- package/fesm2022/monkey-style-guide-v2.mjs.map +1 -1
- package/lib/components/accordion/index.d.ts +6 -0
- package/lib/components/action-bar/action-bar.component.d.ts +9 -0
- package/lib/components/action-bar/index.d.ts +6 -0
- package/lib/components/alert/index.d.ts +6 -0
- package/lib/components/avatar/avatar.component.d.ts +30 -0
- package/lib/components/avatar/index.d.ts +6 -0
- package/lib/components/badge/badge.component.d.ts +19 -0
- package/lib/components/badge/index.d.ts +6 -0
- package/lib/components/breadcrumb/index.d.ts +6 -0
- package/lib/components/button/index.d.ts +6 -0
- package/lib/components/{monkey-checkbox/monkey-checkbox.component.d.ts → checkbox/checkbox.component.d.ts} +1 -1
- package/lib/components/checkbox/index.d.ts +6 -0
- package/lib/components/date-range/date-range.component.d.ts +59 -0
- package/lib/components/date-range/index.d.ts +6 -0
- package/lib/components/date-range/month/index.d.ts +6 -0
- package/lib/components/date-range/month/month.component.d.ts +38 -0
- package/lib/components/date-range/quick-actions/index.d.ts +6 -0
- package/lib/components/date-range/quick-actions/quick-actions.component.d.ts +19 -0
- package/lib/components/date-range/utils.d.ts +40 -0
- package/lib/components/divider/index.d.ts +6 -0
- package/lib/components/{monkey-form-field/form-field.d.ts → form-field/form-field.component.d.ts} +9 -4
- package/lib/components/{monkey-form-field/module.d.ts → form-field/form-field.module.d.ts} +1 -1
- package/lib/components/form-field/index.d.ts +9 -0
- package/lib/components/icon/index.d.ts +6 -0
- package/lib/components/icon-button/index.d.ts +6 -0
- package/lib/components/index.d.ts +26 -20
- package/lib/components/input/index.d.ts +8 -0
- package/lib/components/{monkey-input/monkey-input-currency.directive.d.ts → input/input-currency.directive.d.ts} +2 -2
- package/lib/components/{monkey-input/monkey-input.directive.d.ts → input/input.directive.d.ts} +8 -2
- package/lib/components/{monkey-input/monkey-input.module.d.ts → input/input.module.d.ts} +2 -2
- package/lib/components/input-code/index.d.ts +6 -0
- package/lib/components/input-code/input-code.component.d.ts +48 -0
- package/lib/components/input-upload/index.d.ts +6 -0
- package/lib/components/input-upload/input-upload.component.d.ts +64 -0
- package/lib/components/{monkey-modal → modal}/components/default.d.ts +0 -1
- package/lib/components/modal/index.d.ts +15 -0
- package/lib/components/{monkey-modal → modal}/modal-config.d.ts +3 -2
- package/lib/components/{monkey-modal → modal}/modal-ref.d.ts +1 -0
- package/lib/components/{monkey-modal/modal.d.ts → modal/modal.component.d.ts} +3 -4
- package/lib/components/{monkey-modal → modal}/modal.module.d.ts +4 -4
- package/lib/components/option/index.d.ts +6 -0
- package/lib/components/security-level/index.d.ts +6 -0
- package/lib/components/select/index.d.ts +6 -0
- package/lib/components/{monkey-select/monkey-select.component.d.ts → select/select.component.d.ts} +31 -13
- package/lib/components/status/index.d.ts +6 -0
- package/lib/components/{monkey-table → table}/directives/column-checked.d.ts +2 -2
- package/lib/components/{monkey-table → table}/directives/column-expansible.d.ts +1 -1
- package/lib/components/{monkey-table → table}/directives/column-sortable.d.ts +1 -1
- package/lib/components/{monkey-table → table}/index.d.ts +6 -1
- package/lib/components/table/table.module.d.ts +16 -0
- package/lib/components/toast/index.d.ts +6 -0
- package/lib/components/{monkey-toast/monkey-toast.component.d.ts → toast/toast.component.d.ts} +5 -0
- package/lib/components/toggle/index.d.ts +6 -0
- package/lib/components/toggle-line/index.d.ts +7 -0
- package/lib/components/toggle-line/toggle-line-button/index.d.ts +6 -0
- package/lib/components/{monkey-toggle-line/monkey-toggle-line.component.d.ts → toggle-line/toggle-line.component.d.ts} +1 -1
- package/lib/components/tooltip/index.d.ts +7 -0
- package/lib/components/tooltip/tooltip/index.d.ts +6 -0
- package/lib/directives/badge.d.ts +24 -0
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/module.d.ts +2 -1
- package/lib/interfaces/sizes.d.ts +1 -1
- package/lib/services/dictionary.service.d.ts +11 -0
- package/lib/services/{monkey-icons.service.d.ts → icons.service.d.ts} +2 -0
- package/lib/services/index.d.ts +7 -3
- package/lib/services/{monkey-toast.service.d.ts → toast.service.d.ts} +5 -0
- package/lib/tokens/index.d.ts +3 -0
- package/monkey-style-guide-v2-0.0.18.tgz +0 -0
- package/package.json +2 -1
- package/utils/utils.d.ts +5 -0
- package/esm2022/lib/components/monkey-accordion/index.mjs +0 -2
- package/esm2022/lib/components/monkey-accordion/monkey-accordion.component.mjs +0 -102
- package/esm2022/lib/components/monkey-alert/index.mjs +0 -2
- package/esm2022/lib/components/monkey-alert/monkey-alert.component.mjs +0 -50
- package/esm2022/lib/components/monkey-breadcrumb/index.mjs +0 -2
- package/esm2022/lib/components/monkey-breadcrumb/monkey-breadcrumb.component.mjs +0 -56
- package/esm2022/lib/components/monkey-button/index.mjs +0 -2
- package/esm2022/lib/components/monkey-checkbox/index.mjs +0 -2
- package/esm2022/lib/components/monkey-checkbox/monkey-checkbox.component.mjs +0 -216
- package/esm2022/lib/components/monkey-divider/index.mjs +0 -2
- package/esm2022/lib/components/monkey-divider/monkey-divider.component.mjs +0 -44
- package/esm2022/lib/components/monkey-form-field/form-field-control.mjs +0 -15
- package/esm2022/lib/components/monkey-form-field/form-field.mjs +0 -250
- package/esm2022/lib/components/monkey-form-field/index.mjs +0 -5
- package/esm2022/lib/components/monkey-form-field/module.mjs +0 -21
- package/esm2022/lib/components/monkey-form-field/utils.mjs +0 -16
- package/esm2022/lib/components/monkey-icon/index.mjs +0 -2
- package/esm2022/lib/components/monkey-icon/monkey-icon.component.mjs +0 -51
- package/esm2022/lib/components/monkey-icon-button/index.mjs +0 -2
- package/esm2022/lib/components/monkey-input/index.mjs +0 -5
- package/esm2022/lib/components/monkey-input/monkey-input-currency.directive.mjs +0 -187
- package/esm2022/lib/components/monkey-input/monkey-input.directive.mjs +0 -166
- package/esm2022/lib/components/monkey-input/monkey-input.module.mjs +0 -24
- package/esm2022/lib/components/monkey-input/validators.mjs +0 -17
- package/esm2022/lib/components/monkey-modal/index.mjs +0 -12
- package/esm2022/lib/components/monkey-modal/modal-config.mjs +0 -18
- package/esm2022/lib/components/monkey-modal/modal-ref.mjs +0 -46
- package/esm2022/lib/components/monkey-modal/modal.mjs +0 -119
- package/esm2022/lib/components/monkey-modal/modal.module.mjs +0 -53
- package/esm2022/lib/components/monkey-modal/service.mjs +0 -92
- package/esm2022/lib/components/monkey-modal/utils.mjs +0 -23
- package/esm2022/lib/components/monkey-option/index.mjs +0 -2
- package/esm2022/lib/components/monkey-security-level/index.mjs +0 -2
- package/esm2022/lib/components/monkey-select/index.mjs +0 -2
- package/esm2022/lib/components/monkey-select/monkey-select.component.mjs +0 -352
- package/esm2022/lib/components/monkey-status/index.mjs +0 -2
- package/esm2022/lib/components/monkey-table/components/pagination-label/pagination-label.mjs +0 -34
- package/esm2022/lib/components/monkey-table/components/pagination-size/pagination-size.mjs +0 -57
- package/esm2022/lib/components/monkey-table/directives/column-checked.mjs +0 -109
- package/esm2022/lib/components/monkey-table/directives/column-expansible.mjs +0 -134
- package/esm2022/lib/components/monkey-table/directives/column-sortable.mjs +0 -97
- package/esm2022/lib/components/monkey-table/index.mjs +0 -10
- package/esm2022/lib/components/monkey-table/table.module.mjs +0 -60
- package/esm2022/lib/components/monkey-toast/index.mjs +0 -2
- package/esm2022/lib/components/monkey-toast/monkey-toast.component.mjs +0 -74
- package/esm2022/lib/components/monkey-toggle/index.mjs +0 -2
- package/esm2022/lib/components/monkey-toggle-line/index.mjs +0 -3
- package/esm2022/lib/components/monkey-toggle-line/monkey-toggle-line-button/index.mjs +0 -2
- package/esm2022/lib/components/monkey-toggle-line/monkey-toggle-line.component.mjs +0 -85
- package/esm2022/lib/components/monkey-tooltip/index.mjs +0 -3
- package/esm2022/lib/components/monkey-tooltip/monkey-tooltip.directive.mjs +0 -175
- package/esm2022/lib/components/monkey-tooltip/tooltip/index.mjs +0 -2
- package/esm2022/lib/components/monkey-tooltip/tooltip/tooltip.component.mjs +0 -53
- package/esm2022/lib/services/monkey-destroy.service.mjs +0 -15
- package/esm2022/lib/services/monkey-icons.service.mjs +0 -45
- package/esm2022/lib/services/monkey-toast.service.mjs +0 -72
- package/lib/components/monkey-accordion/index.d.ts +0 -1
- package/lib/components/monkey-alert/index.d.ts +0 -1
- package/lib/components/monkey-breadcrumb/index.d.ts +0 -1
- package/lib/components/monkey-button/index.d.ts +0 -1
- package/lib/components/monkey-checkbox/index.d.ts +0 -1
- package/lib/components/monkey-divider/index.d.ts +0 -1
- package/lib/components/monkey-form-field/index.d.ts +0 -4
- package/lib/components/monkey-icon/index.d.ts +0 -1
- package/lib/components/monkey-icon-button/index.d.ts +0 -1
- package/lib/components/monkey-input/index.d.ts +0 -4
- package/lib/components/monkey-modal/index.d.ts +0 -11
- package/lib/components/monkey-option/index.d.ts +0 -1
- package/lib/components/monkey-security-level/index.d.ts +0 -1
- package/lib/components/monkey-select/index.d.ts +0 -1
- package/lib/components/monkey-status/index.d.ts +0 -1
- package/lib/components/monkey-table/table.module.d.ts +0 -15
- package/lib/components/monkey-toast/index.d.ts +0 -1
- package/lib/components/monkey-toggle/index.d.ts +0 -1
- package/lib/components/monkey-toggle-line/index.d.ts +0 -2
- package/lib/components/monkey-toggle-line/monkey-toggle-line-button/index.d.ts +0 -1
- package/lib/components/monkey-tooltip/index.d.ts +0 -2
- package/lib/components/monkey-tooltip/tooltip/index.d.ts +0 -1
- package/lib/services/monkey-destroy.service.d.ts +0 -8
- package/monkey-style-guide-v2-0.0.17.tgz +0 -0
- /package/lib/components/{monkey-accordion/monkey-accordion.component.d.ts → accordion/accordion.component.d.ts} +0 -0
- /package/lib/components/{monkey-alert/monkey-alert.component.d.ts → alert/alert.component.d.ts} +0 -0
- /package/lib/components/{monkey-breadcrumb/monkey-breadcrumb.component.d.ts → breadcrumb/breadcrumb.component.d.ts} +0 -0
- /package/lib/components/{monkey-button/monkey-button.component.d.ts → button/button.component.d.ts} +0 -0
- /package/lib/components/{monkey-divider/monkey-divider.component.d.ts → divider/divider.component.d.ts} +0 -0
- /package/lib/components/{monkey-form-field → form-field}/form-field-control.d.ts +0 -0
- /package/lib/components/{monkey-form-field → form-field}/utils.d.ts +0 -0
- /package/lib/components/{monkey-icon/monkey-icon.component.d.ts → icon/icon.component.d.ts} +0 -0
- /package/lib/components/{monkey-icon-button/monkey-icon-button.component.d.ts → icon-button/icon-button.component.d.ts} +0 -0
- /package/lib/components/{monkey-input → input}/validators.d.ts +0 -0
- /package/lib/components/{monkey-modal → modal}/directives/actions.d.ts +0 -0
- /package/lib/components/{monkey-modal → modal}/directives/content.d.ts +0 -0
- /package/lib/components/{monkey-modal → modal}/directives/subtitle.d.ts +0 -0
- /package/lib/components/{monkey-modal → modal}/directives/title.d.ts +0 -0
- /package/lib/components/{monkey-modal/service.d.ts → modal/modal.service.d.ts} +0 -0
- /package/lib/components/{monkey-modal → modal}/utils.d.ts +0 -0
- /package/lib/components/{monkey-option/monkey-option.component.d.ts → option/option.component.d.ts} +0 -0
- /package/lib/components/{monkey-security-level/monkey-security-level.component.d.ts → security-level/security-level.component.d.ts} +0 -0
- /package/lib/components/{monkey-status/monkey-status.component.d.ts → status/status.component.d.ts} +0 -0
- /package/lib/components/{monkey-table → table}/components/pagination-action/pagination-action.d.ts +0 -0
- /package/lib/components/{monkey-table → table}/components/pagination-label/pagination-label.d.ts +0 -0
- /package/lib/components/{monkey-table → table}/components/pagination-size/pagination-size.d.ts +0 -0
- /package/lib/components/{monkey-table → table}/directives/column-stick.d.ts +0 -0
- /package/lib/components/{monkey-table/table.d.ts → table/table.component.d.ts} +0 -0
- /package/lib/components/{monkey-toggle/monkey-toggle.component.d.ts → toggle/toggle.component.d.ts} +0 -0
- /package/lib/components/{monkey-toggle-line/monkey-toggle-line-button/monkey-toggle-line-button.component.d.ts → toggle-line/toggle-line-button/toggle-line-button.component.d.ts} +0 -0
- /package/lib/components/{monkey-tooltip → tooltip}/tooltip/tooltip.component.d.ts +0 -0
- /package/lib/components/{monkey-tooltip/monkey-tooltip.directive.d.ts → tooltip/tooltip.directive.d.ts} +0 -0
|
@@ -0,0 +1,64 @@
|
|
|
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
|
+
}
|
|
@@ -10,7 +10,6 @@ export declare class MonkeyModalDefaultComponent {
|
|
|
10
10
|
cancelLabel: string;
|
|
11
11
|
okLabel: string;
|
|
12
12
|
constructor(config: MonkeyModalDefaultConfig, modalRef: MonkeyModalRef);
|
|
13
|
-
ngAfterViewInit(): void;
|
|
14
13
|
onSubmit(): void;
|
|
15
14
|
onClose(): void;
|
|
16
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyModalDefaultComponent, never>;
|
|
@@ -0,0 +1,15 @@
|
|
|
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';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* This style guide was developed by Monkey Exchange Team
|
|
4
4
|
* MIT Licence
|
|
5
5
|
************************* */
|
|
6
|
-
import {
|
|
6
|
+
import { ScrollStrategy } from '@angular/cdk/overlay';
|
|
7
7
|
import { StaticProvider } from '@angular/core';
|
|
8
8
|
export declare class MonkeyModalConfig {
|
|
9
9
|
id?: string;
|
|
@@ -12,13 +12,14 @@ export declare class MonkeyModalConfig {
|
|
|
12
12
|
hasBackdrop?: boolean;
|
|
13
13
|
backdropClass?: string | string[];
|
|
14
14
|
disableClose?: boolean;
|
|
15
|
+
disableBackdropClose?: boolean;
|
|
15
16
|
width?: string;
|
|
16
17
|
height?: string;
|
|
17
18
|
minWidth?: number | string;
|
|
18
19
|
minHeight?: number | string;
|
|
19
20
|
maxWidth?: number | string;
|
|
20
21
|
maxHeight?: number | string;
|
|
21
|
-
|
|
22
|
+
position?: 'left-top' | 'center-top' | 'right-top' | 'left-center' | 'center-center' | 'right-center' | 'left-bottom' | 'center-bottom' | 'right-bottom';
|
|
22
23
|
data?: any | null;
|
|
23
24
|
scrollStrategy?: ScrollStrategy;
|
|
24
25
|
closeOnNavigation?: boolean;
|
|
@@ -15,6 +15,7 @@ export declare class MonkeyModalRef {
|
|
|
15
15
|
readonly componentRef: ComponentRef<any> | null;
|
|
16
16
|
readonly icon?: string;
|
|
17
17
|
disableClose: boolean | undefined;
|
|
18
|
+
disableBackdropClose: boolean | undefined;
|
|
18
19
|
closeOnNavigation: boolean | undefined;
|
|
19
20
|
readonly closed: Observable<any>;
|
|
20
21
|
readonly backdropClick: Observable<MouseEvent>;
|
|
@@ -4,20 +4,19 @@
|
|
|
4
4
|
* MIT Licence
|
|
5
5
|
************************* */
|
|
6
6
|
import { OverlayRef } from '@angular/cdk/overlay';
|
|
7
|
-
import { AfterViewInit, ElementRef, OnDestroy
|
|
7
|
+
import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
|
|
8
8
|
import { MonkeyModalRef } from './modal-ref';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class MonkeyModalComponent implements AfterViewInit, OnDestroy {
|
|
11
11
|
private _elementRef;
|
|
12
|
-
viewContainerRef: ViewContainerRef;
|
|
13
12
|
overlayRef?: OverlayRef | undefined;
|
|
14
13
|
modalRef?: MonkeyModalRef | undefined;
|
|
15
14
|
private _navigationSubscription;
|
|
16
15
|
private _router;
|
|
17
|
-
constructor(_elementRef: ElementRef,
|
|
16
|
+
constructor(_elementRef: ElementRef, overlayRef?: OverlayRef | undefined, modalRef?: MonkeyModalRef | undefined);
|
|
18
17
|
ngAfterViewInit(): void;
|
|
19
18
|
ngOnDestroy(): void;
|
|
20
19
|
close(): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyModalComponent, [null,
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyModalComponent, [null, { optional: true; }, { optional: true; }]>;
|
|
22
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>;
|
|
23
22
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./modal";
|
|
2
|
+
import * as i1 from "./modal.component";
|
|
3
3
|
import * as i2 from "./components/default";
|
|
4
4
|
import * as i3 from "./directives/title";
|
|
5
5
|
import * as i4 from "./directives/subtitle";
|
|
6
6
|
import * as i5 from "./directives/content";
|
|
7
7
|
import * as i6 from "./directives/actions";
|
|
8
8
|
import * as i7 from "@angular/common";
|
|
9
|
-
import * as i8 from "../
|
|
10
|
-
import * as i9 from "../
|
|
11
|
-
import * as i10 from "../
|
|
9
|
+
import * as i8 from "../button/button.component";
|
|
10
|
+
import * as i9 from "../icon-button/icon-button.component";
|
|
11
|
+
import * as i10 from "../icon/icon.component";
|
|
12
12
|
export declare class MonkeyModalModule {
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyModalModule, never>;
|
|
14
14
|
static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyModalModule, [typeof i1.MonkeyModalComponent, typeof i2.MonkeyModalDefaultComponent, typeof i3.MonkeyModalTitleDirective, typeof i4.MonkeyModalSubtitleDirective, typeof i5.MonkeyModalContentDirective, typeof i6.MonkeyModalActionsDirective], [typeof i7.CommonModule, typeof i8.MonkeyButtonComponent, typeof i9.MonkeyIconButtonComponent, typeof i10.MonkeyIconComponent], [typeof i1.MonkeyModalComponent, typeof i3.MonkeyModalTitleDirective, typeof i4.MonkeyModalSubtitleDirective, typeof i5.MonkeyModalContentDirective, typeof i6.MonkeyModalActionsDirective]>;
|
package/lib/components/{monkey-select/monkey-select.component.d.ts → select/select.component.d.ts}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
-
import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, QueryList, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
4
4
|
import { Subject } from 'rxjs';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { MonkeyOptionComponent } from '../
|
|
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
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class MonkeySelectComponent implements MonkeyFormFieldControl, ControlValueAccessor, AfterContentInit, OnDestroy, OnChanges {
|
|
9
|
+
export declare class MonkeySelectComponent implements MonkeyFormFieldControl, ControlValueAccessor, AfterContentInit, OnInit, OnDestroy, OnChanges {
|
|
10
10
|
private overlay;
|
|
11
11
|
private changeDetectorRef;
|
|
12
12
|
private viewContainerRef;
|
|
@@ -17,8 +17,12 @@ export declare class MonkeySelectComponent implements MonkeyFormFieldControl, Co
|
|
|
17
17
|
options: QueryList<MonkeyOptionComponent>;
|
|
18
18
|
tabIndex: number;
|
|
19
19
|
onChange: EventEmitter<any>;
|
|
20
|
+
onSearch: EventEmitter<any>;
|
|
20
21
|
placeholder: string;
|
|
21
22
|
loading: boolean;
|
|
23
|
+
showSearch: boolean;
|
|
24
|
+
searchPlaceholder: string;
|
|
25
|
+
callbackSearch: boolean;
|
|
22
26
|
get disabled(): boolean;
|
|
23
27
|
set disabled(value: boolean);
|
|
24
28
|
get required(): boolean;
|
|
@@ -29,8 +33,7 @@ export declare class MonkeySelectComponent implements MonkeyFormFieldControl, Co
|
|
|
29
33
|
_value: null;
|
|
30
34
|
labelSelected: string;
|
|
31
35
|
private overlayRef;
|
|
32
|
-
|
|
33
|
-
private _destroyed;
|
|
36
|
+
private _destroyRef;
|
|
34
37
|
readonly iconArrowDown: import("@angular/platform-browser").SafeHtml | null;
|
|
35
38
|
private readonly idGenerator;
|
|
36
39
|
ngControl: NgControl | null;
|
|
@@ -42,20 +45,32 @@ export declare class MonkeySelectComponent implements MonkeyFormFieldControl, Co
|
|
|
42
45
|
readonly percent: boolean;
|
|
43
46
|
readonly stateChanges: Subject<void>;
|
|
44
47
|
readonly type: string;
|
|
48
|
+
readonly searchHandle: EventEmitter<string>;
|
|
49
|
+
readonly searchDictionary: import("rxjs").Observable<any>;
|
|
50
|
+
readonly loadingDictionary: import("rxjs").Observable<any>;
|
|
51
|
+
readonly imgSearchNoData: import("@angular/platform-browser").SafeHtml | null;
|
|
52
|
+
readonly imgSearch: import("@angular/platform-browser").SafeHtml | null;
|
|
53
|
+
showSearchNoData: boolean;
|
|
54
|
+
isOpen: boolean;
|
|
55
|
+
searchData: string;
|
|
45
56
|
constructor(overlay: Overlay, changeDetectorRef: ChangeDetectorRef, viewContainerRef: ViewContainerRef, formField: MonkeyFormFieldComponent);
|
|
46
57
|
private changeControl;
|
|
47
58
|
private changeSelected;
|
|
48
59
|
private initializeOptions;
|
|
49
|
-
ngAfterContentInit(): void;
|
|
50
|
-
ngOnDestroy(): void;
|
|
51
|
-
toggleDropdown(): void;
|
|
52
60
|
private openDropdown;
|
|
53
61
|
private closeDropdown;
|
|
54
62
|
private closeOverlay;
|
|
55
|
-
|
|
63
|
+
private initializeWithOverlay;
|
|
56
64
|
private createOverlay;
|
|
57
|
-
selectOption(option: MonkeyOptionComponent): void;
|
|
58
65
|
private updateSelectedLabel;
|
|
66
|
+
private executeSearch;
|
|
67
|
+
private repositionScroll;
|
|
68
|
+
ngOnInit(): void;
|
|
69
|
+
ngAfterContentInit(): void;
|
|
70
|
+
ngOnDestroy(): void;
|
|
71
|
+
toggleDropdown(): void;
|
|
72
|
+
onAnimationEnd: (event: any) => void;
|
|
73
|
+
selectOption(option: MonkeyOptionComponent): void;
|
|
59
74
|
writeValue(value: any): void;
|
|
60
75
|
onContainerClick(event: MouseEvent): void;
|
|
61
76
|
_onFocus(): void;
|
|
@@ -66,9 +81,12 @@ export declare class MonkeySelectComponent implements MonkeyFormFieldControl, Co
|
|
|
66
81
|
registerOnTouched(fn: any): void;
|
|
67
82
|
setDisabledState(isDisabled: boolean): void;
|
|
68
83
|
ngOnChanges(changes: SimpleChanges): void;
|
|
84
|
+
onHandleSearch(event: Event): void;
|
|
69
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeySelectComponent, [null, null, null, { optional: true; }]>;
|
|
70
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeySelectComponent, "monkey-select", never, { "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": true; }; "loading": { "alias": "loading"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "onChange": "onChange"; }, ["options"], ["*"], true, never>;
|
|
86
|
+
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; }; "callbackSearch": { "alias": "callbackSearch"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "onChange": "onChange"; "onSearch": "onSearch"; }, ["options"], ["*"], true, never>;
|
|
71
87
|
static ngAcceptInputType_loading: unknown;
|
|
88
|
+
static ngAcceptInputType_showSearch: unknown;
|
|
89
|
+
static ngAcceptInputType_callbackSearch: unknown;
|
|
72
90
|
static ngAcceptInputType_disabled: unknown;
|
|
73
91
|
static ngAcceptInputType_required: unknown;
|
|
74
92
|
}
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* MIT Licence
|
|
5
5
|
************************* */
|
|
6
6
|
import { AfterViewInit, ComponentRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges, ViewContainerRef } from '@angular/core';
|
|
7
|
-
import { MonkeyCheckboxComponent } from '../../
|
|
8
|
-
import { MonkeyTableComponent } from '../table';
|
|
7
|
+
import { MonkeyCheckboxComponent } from '../../checkbox';
|
|
8
|
+
import { MonkeyTableComponent } from '../table.component';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class MonkeyColumnChecked implements OnInit, AfterViewInit, OnChanges, OnDestroy {
|
|
11
11
|
private el;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* MIT Licence
|
|
5
5
|
************************* */
|
|
6
6
|
import { ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
7
|
-
import { MonkeyTableComponent } from '../table';
|
|
7
|
+
import { MonkeyTableComponent } from '../table.component';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class MonkeyColumnExpansible implements OnInit, OnDestroy {
|
|
10
10
|
private el;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* MIT Licence
|
|
5
5
|
************************* */
|
|
6
6
|
import { ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
7
|
-
import { MonkeyTableComponent } from '../table';
|
|
7
|
+
import { MonkeyTableComponent } from '../table.component';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class MonkeyColumnSortable implements OnInit, OnDestroy {
|
|
10
10
|
private el;
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/** ************************
|
|
2
|
+
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
|
+
* This style guide was developed by Monkey Exchange Team
|
|
4
|
+
* MIT Licence
|
|
5
|
+
************************* */
|
|
1
6
|
export * from './components/pagination-action/pagination-action';
|
|
2
7
|
export * from './components/pagination-label/pagination-label';
|
|
3
8
|
export * from './components/pagination-size/pagination-size';
|
|
@@ -5,5 +10,5 @@ export * from './directives/column-checked';
|
|
|
5
10
|
export * from './directives/column-expansible';
|
|
6
11
|
export * from './directives/column-sortable';
|
|
7
12
|
export * from './directives/column-stick';
|
|
8
|
-
export * from './table';
|
|
13
|
+
export * from './table.component';
|
|
9
14
|
export * from './table.module';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./table.component";
|
|
3
|
+
import * as i2 from "./directives/column-stick";
|
|
4
|
+
import * as i3 from "./directives/column-checked";
|
|
5
|
+
import * as i4 from "./directives/column-sortable";
|
|
6
|
+
import * as i5 from "./directives/column-expansible";
|
|
7
|
+
import * as i6 from "@angular/common";
|
|
8
|
+
import * as i7 from "../button/button.component";
|
|
9
|
+
import * as i8 from "./components/pagination-size/pagination-size";
|
|
10
|
+
import * as i9 from "./components/pagination-label/pagination-label";
|
|
11
|
+
import * as i10 from "./components/pagination-action/pagination-action";
|
|
12
|
+
export declare class MonkeyTableModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyTableModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyTableModule, [typeof i1.MonkeyTableComponent, typeof i2.MonkeyColumnStick, typeof i3.MonkeyColumnChecked, typeof i4.MonkeyColumnSortable, typeof i5.MonkeyColumnExpansible], [typeof i6.CommonModule, typeof i7.MonkeyButtonComponent, typeof i8.MonkeyPaginationSizeComponent, typeof i9.MonkeyPaginationLabelComponent, typeof i10.MonkeyPaginationActionComponent], [typeof i1.MonkeyTableComponent, typeof i2.MonkeyColumnStick, typeof i3.MonkeyColumnChecked, typeof i4.MonkeyColumnSortable, typeof i5.MonkeyColumnExpansible]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MonkeyTableModule>;
|
|
16
|
+
}
|
package/lib/components/{monkey-toast/monkey-toast.component.d.ts → toast/toast.component.d.ts}
RENAMED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/** ************************
|
|
2
|
+
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
|
+
* This style guide was developed by Monkey Exchange Team
|
|
4
|
+
* MIT Licence
|
|
5
|
+
************************* */
|
|
1
6
|
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
7
|
import { type ToastType } from '../../interfaces';
|
|
3
8
|
import * as i0 from "@angular/core";
|
|
@@ -0,0 +1,7 @@
|
|
|
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 './toggle-line-button';
|
|
7
|
+
export * from './toggle-line.component';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AfterContentInit, EventEmitter, OnChanges, OnDestroy, QueryList } from '@angular/core';
|
|
2
|
-
import { MonkeyToggleLineButtonComponent } from './
|
|
2
|
+
import { MonkeyToggleLineButtonComponent } from './toggle-line-button';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class MonkeyToggleLineComponent implements AfterContentInit, OnDestroy, OnChanges {
|
|
5
5
|
value: boolean | undefined;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/** ************************
|
|
2
|
+
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
|
+
* This style guide was developed by Monkey Exchange Team
|
|
4
|
+
* MIT Licence
|
|
5
|
+
************************* */
|
|
6
|
+
import { ElementRef, OnChanges, Renderer2 } from '@angular/core';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class MonkeyBadgeDirective implements OnChanges {
|
|
9
|
+
private el;
|
|
10
|
+
private renderer;
|
|
11
|
+
badgePosition: 'left' | 'right';
|
|
12
|
+
badgeSize: 'sm' | 'md' | 'lg';
|
|
13
|
+
badgeHidden: boolean;
|
|
14
|
+
monkeyBadge: string;
|
|
15
|
+
badgeBackground: string | null;
|
|
16
|
+
badgeColor: string | null;
|
|
17
|
+
private badgeEl;
|
|
18
|
+
constructor(el: ElementRef, renderer: Renderer2);
|
|
19
|
+
ngOnChanges(): void;
|
|
20
|
+
private updateBadge;
|
|
21
|
+
private removeBadge;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyBadgeDirective, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MonkeyBadgeDirective, "[monkeyBadge]", never, { "badgePosition": { "alias": "badgePosition"; "required": false; }; "badgeSize": { "alias": "badgeSize"; "required": false; }; "badgeHidden": { "alias": "badgeHidden"; "required": false; }; "monkeyBadge": { "alias": "monkeyBadge"; "required": false; }; "badgeBackground": { "alias": "badgeBackground"; "required": false; }; "badgeColor": { "alias": "badgeColor"; "required": false; }; }, {}, never, never, false, never>;
|
|
24
|
+
}
|
|
@@ -5,8 +5,9 @@ import * as i3 from "./info";
|
|
|
5
5
|
import * as i4 from "./label";
|
|
6
6
|
import * as i5 from "./prefix";
|
|
7
7
|
import * as i6 from "./suffix";
|
|
8
|
+
import * as i7 from "./badge";
|
|
8
9
|
export declare class MonkeyDirectivesModule {
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyDirectivesModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyDirectivesModule, [typeof i1.MonkeyError, typeof i2.MonkeyHelper, typeof i3.MonkeyInfo, typeof i4.MonkeyLabel, typeof i5.MonkeyPrefix, typeof i6.MonkeySuffix], never, [typeof i1.MonkeyError, typeof i2.MonkeyHelper, typeof i3.MonkeyInfo, typeof i4.MonkeyLabel, typeof i5.MonkeyPrefix, typeof i6.MonkeySuffix]>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyDirectivesModule, [typeof i1.MonkeyError, typeof i2.MonkeyHelper, typeof i3.MonkeyInfo, typeof i4.MonkeyLabel, typeof i5.MonkeyPrefix, typeof i6.MonkeySuffix, typeof i7.MonkeyBadgeDirective], never, [typeof i1.MonkeyError, typeof i2.MonkeyHelper, typeof i3.MonkeyInfo, typeof i4.MonkeyLabel, typeof i5.MonkeyPrefix, typeof i6.MonkeySuffix, typeof i7.MonkeyBadgeDirective]>;
|
|
11
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<MonkeyDirectivesModule>;
|
|
12
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type MonkeySize = 'sm' | 'md' | 'lg';
|
|
1
|
+
export type MonkeySize = 'xs' | 'sm' | 'md' | 'lg';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class MonkeyDictionaryService {
|
|
3
|
+
private _localeId;
|
|
4
|
+
private _destroyRef;
|
|
5
|
+
private _data$;
|
|
6
|
+
constructor();
|
|
7
|
+
private handleWrapperValues;
|
|
8
|
+
get(key: string): import("rxjs").Observable<any>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyDictionaryService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyDictionaryService>;
|
|
11
|
+
}
|
|
@@ -9,6 +9,8 @@ export declare class MonkeyIconsService {
|
|
|
9
9
|
get check(): SafeHtml | null;
|
|
10
10
|
get minus(): SafeHtml | null;
|
|
11
11
|
get loading(): SafeHtml | null;
|
|
12
|
+
get searchFail(): SafeHtml | null;
|
|
13
|
+
get search(): SafeHtml | null;
|
|
12
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyIconsService, never>;
|
|
13
15
|
static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyIconsService>;
|
|
14
16
|
}
|
package/lib/services/index.d.ts
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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 './icons.service';
|
|
7
|
+
export * from './toast.service';
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/** ************************
|
|
2
|
+
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
|
+
* This style guide was developed by Monkey Exchange Team
|
|
4
|
+
* MIT Licence
|
|
5
|
+
************************* */
|
|
1
6
|
import { Overlay } from '@angular/cdk/overlay';
|
|
2
7
|
import { MonkeyToastComponent } from '../components';
|
|
3
8
|
import { type ToastConfig } from '../interfaces';
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monkey-style-guide-v2",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.18",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^18.1.2",
|
|
6
6
|
"@angular/core": "^18.1.2",
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"ngx-mask": "^19.0.6"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
+
"date-fns": "^4.1.0",
|
|
16
17
|
"tslib": "^2.3.0"
|
|
17
18
|
},
|
|
18
19
|
"sideEffects": false,
|
package/utils/utils.d.ts
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
1
|
export declare function getRandomString(len: number, charSet?: string): string;
|
|
2
|
+
export declare const objHaveProperty: (obj: object, property: string) => boolean;
|
|
3
|
+
export declare function formatFileSize(bytes: number): string;
|
|
4
|
+
export declare function getFileExtension(filename: string): string;
|
|
5
|
+
export declare function sanitizeString(input: string): string;
|
|
6
|
+
export declare function normalizeStringToSearch(text: string): string;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './monkey-accordion.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tb25rZXktc3R5bGUtZ3VpZGUtdjIvc3JjL2xpYi9jb21wb25lbnRzL21vbmtleS1hY2NvcmRpb24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw4QkFBOEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbW9ua2V5LWFjY29yZGlvbi5jb21wb25lbnQnO1xuIl19
|