myrta-ui 14.0.0-beta.1 → 14.0.0-beta.3
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/README.md +1 -0
- package/esm2020/lib/components/badges/components/badge/badge.component.mjs +2 -2
- package/esm2020/lib/components/button/button.component.mjs +3 -3
- package/esm2020/lib/components/cdk-tooltip/cdk-tooltip.directive.mjs +1 -1
- package/esm2020/lib/components/chars-left/chars-left.component.mjs +6 -3
- package/esm2020/lib/components/dropdown/dropdown.component.mjs +2 -2
- package/esm2020/lib/components/error-message/error-message.component.mjs +7 -4
- package/esm2020/lib/components/form/checkbox/checkbox.component.mjs +5 -12
- package/esm2020/lib/components/form/checkbox/checkbox.enum.mjs +2 -5
- package/esm2020/lib/components/form/checkbox-group/checkbox-group.component.mjs +10 -4
- package/esm2020/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.mjs +1 -1
- package/esm2020/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.mjs +24 -15
- package/esm2020/lib/components/form/document-editor/document-editor.component.mjs +1 -1
- package/esm2020/lib/components/form/editor/config/default-inline-style.mjs +6 -0
- package/esm2020/lib/components/form/editor/editor.component.mjs +45 -13
- package/esm2020/lib/components/form/editor/editor.enum.mjs +2 -0
- package/esm2020/lib/components/form/input-date-time/input-date-time.component.mjs +50 -18
- package/esm2020/lib/components/form/input-date-time/input-date-time.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-datepicker/input-datepicker.component.mjs +13 -8
- package/esm2020/lib/components/form/input-file/input-file.component.mjs +4 -3
- package/esm2020/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.mjs +3 -3
- package/esm2020/lib/components/form/input-file-image/input-file-image.component.mjs +23 -12
- package/esm2020/lib/components/form/input-file-image/input-file-image.enum.mjs +3 -3
- package/esm2020/lib/components/form/input-number/input-number.component.mjs +54 -27
- package/esm2020/lib/components/form/input-number/input-number.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-opt/components/input-opt/input-opt.component.mjs +2 -4
- package/esm2020/lib/components/form/input-password/input-password.component.mjs +37 -23
- package/esm2020/lib/components/form/input-password/input-password.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-password/input-password.module.mjs +12 -4
- package/esm2020/lib/components/form/input-phone/input-phone.component.mjs +2 -2
- package/esm2020/lib/components/form/input-search/input-search.component.mjs +44 -36
- package/esm2020/lib/components/form/input-search/input-search.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-search/input-search.module.mjs +7 -4
- package/esm2020/lib/components/form/input-select/input-select.component.mjs +10 -4
- package/esm2020/lib/components/form/input-tel/assets/base64.mjs +4 -0
- package/esm2020/lib/components/form/input-tel/data/all-countries.mjs +1323 -0
- package/esm2020/lib/components/form/input-tel/data/country-iso.enum.mjs +247 -0
- package/esm2020/lib/components/form/input-tel/data/phone-number-format.enum.mjs +6 -0
- package/esm2020/lib/components/form/input-tel/data/search-country-field.enum.mjs +8 -0
- package/esm2020/lib/components/form/input-tel/directives/input-tel.directive.mjs +62 -0
- package/esm2020/lib/components/form/input-tel/enums/input-phone.enum.mjs +7 -0
- package/esm2020/lib/components/form/input-tel/input-tel.component.mjs +389 -0
- package/esm2020/lib/components/form/input-tel/input-tel.module.mjs +47 -0
- package/esm2020/lib/components/form/input-tel/models/country.model.mjs +2 -0
- package/esm2020/lib/components/form/input-text/input-text.component.mjs +35 -29
- package/esm2020/lib/components/form/input-textarea/input-textarea.component.mjs +47 -42
- package/esm2020/lib/components/form/input-timepicker/input-timepicker.component.mjs +3 -3
- package/esm2020/lib/components/form/radio/radio.component.mjs +3 -3
- package/esm2020/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.mjs +49 -0
- package/esm2020/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.mjs +69 -0
- package/esm2020/lib/components/form/radio-group/helpers/filter-search-group.mjs +27 -0
- package/esm2020/lib/components/form/radio-group/helpers/get-item-by-id.mjs +11 -0
- package/esm2020/lib/components/form/radio-group/helpers/move-selected-to-first.mjs +27 -0
- package/esm2020/lib/components/form/radio-group/models/radio-group.model.mjs +2 -0
- package/esm2020/lib/components/form/radio-group/radio-group.component.mjs +185 -0
- package/esm2020/lib/components/form/radio-group/radio-group.module.mjs +47 -0
- package/esm2020/lib/components/form/rating/rating.component.mjs +4 -4
- package/esm2020/lib/components/form/switch/switch.component.mjs +2 -2
- package/esm2020/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.mjs +3 -3
- package/esm2020/lib/components/gallery/components/gallery-item/gallery-item.component.mjs +4 -4
- package/esm2020/lib/components/hint-error-message/hint-error-message.component.mjs +6 -6
- package/esm2020/lib/components/label/label.component.mjs +3 -3
- package/esm2020/lib/components/modal/modal.component.mjs +13 -3
- package/esm2020/lib/components/paginator/paginator.component.mjs +16 -6
- package/esm2020/lib/components/paginator/paginator.module.mjs +8 -8
- package/esm2020/lib/components/progress/progress.component.mjs +2 -2
- package/esm2020/lib/components/save-state/components/save-state-editor/save-state-editor.component.mjs +2 -2
- package/esm2020/lib/components/save-state/save-state.component.mjs +3 -3
- package/esm2020/lib/components/save-state/save-state.enum.mjs +1 -1
- package/esm2020/lib/components/table/table.component.mjs +3 -3
- package/esm2020/lib/components/tabs/tabs-group/tabs-group.component.mjs +2 -2
- package/esm2020/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.mjs +4 -14
- package/esm2020/lib/components/wrappers/content-wrapper/content-wrapper.component.mjs +2 -2
- package/esm2020/lib/enums/typed.input.state.mjs +1 -1
- package/esm2020/lib/services/index.mjs +2 -1
- package/esm2020/lib/services/mrx-autosave/mrx-autosave.service.mjs +1 -1
- package/esm2020/lib/services/mrx-form-validator/constants/invalid-messages.mjs +10 -0
- package/esm2020/lib/services/mrx-form-validator/helpers/get-error-message.helper.mjs +10 -0
- package/esm2020/lib/services/mrx-form-validator/helpers/get-sorting-validations.helper.mjs +28 -0
- package/esm2020/lib/services/mrx-form-validator/models/index.mjs +4 -0
- package/esm2020/lib/services/mrx-form-validator/models/validations-options.model.mjs +2 -0
- package/esm2020/lib/services/mrx-form-validator/models/validations-settings.model.mjs +2 -0
- package/esm2020/lib/services/mrx-form-validator/models/validations-types.model.mjs +22 -0
- package/esm2020/lib/services/mrx-form-validator/mrx-form-validator.mjs +84 -183
- package/esm2020/lib/services/mrx-form-validator/validations/callback.validation.mjs +15 -0
- package/esm2020/lib/services/mrx-form-validator/validations/email.validation.mjs +11 -0
- package/esm2020/lib/services/mrx-form-validator/validations/max-length.validation.mjs +10 -0
- package/esm2020/lib/services/mrx-form-validator/validations/max-value.validation.mjs +10 -0
- package/esm2020/lib/services/mrx-form-validator/validations/min-length.validation.mjs +11 -0
- package/esm2020/lib/services/mrx-form-validator/validations/min-value.validation.mjs +10 -0
- package/esm2020/lib/services/mrx-form-validator/validations/pattern.validation.mjs +11 -0
- package/esm2020/lib/services/mrx-form-validator/validations/required.validation.mjs +22 -0
- package/esm2020/public-api.mjs +7 -1
- package/fesm2015/myrta-ui.mjs +4004 -1339
- package/fesm2015/myrta-ui.mjs.map +1 -1
- package/fesm2020/myrta-ui.mjs +3999 -1341
- package/fesm2020/myrta-ui.mjs.map +1 -1
- package/lib/components/chars-left/chars-left.component.d.ts +1 -0
- package/lib/components/error-message/error-message.component.d.ts +2 -1
- package/lib/components/form/checkbox/checkbox.component.d.ts +2 -4
- package/lib/components/form/checkbox/checkbox.enum.d.ts +0 -4
- package/lib/components/form/checkbox-group/checkbox-group.component.d.ts +3 -1
- package/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.d.ts +4 -1
- package/lib/components/form/editor/config/default-inline-style.d.ts +11 -0
- package/lib/components/form/editor/editor.component.d.ts +13 -4
- package/lib/components/form/editor/editor.enum.d.ts +5 -0
- package/lib/components/form/input-date-time/input-date-time.component.d.ts +6 -2
- package/lib/components/form/input-date-time/input-date-time.enum.d.ts +1 -1
- package/lib/components/form/input-datepicker/input-datepicker.component.d.ts +2 -1
- package/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.d.ts +6 -0
- package/lib/components/form/input-file-image/input-file-image.component.d.ts +4 -2
- package/lib/components/form/input-file-image/input-file-image.enum.d.ts +2 -2
- package/lib/components/form/input-number/input-number.component.d.ts +11 -3
- package/lib/components/form/input-number/input-number.enum.d.ts +2 -2
- package/lib/components/form/input-opt/components/input-opt/input-opt.component.d.ts +2 -2
- package/lib/components/form/input-password/input-password.component.d.ts +14 -9
- package/lib/components/form/input-password/input-password.enum.d.ts +4 -0
- package/lib/components/form/input-password/input-password.module.d.ts +3 -1
- package/lib/components/form/input-search/input-search.component.d.ts +15 -11
- package/lib/components/form/input-search/input-search.enum.d.ts +5 -0
- package/lib/components/form/input-search/input-search.module.d.ts +2 -1
- package/lib/components/form/input-select/input-select.component.d.ts +3 -1
- package/lib/components/form/input-tel/assets/base64.d.ts +3 -0
- package/lib/components/form/input-tel/data/all-countries.d.ts +1 -0
- package/lib/components/form/input-tel/data/country-iso.enum.d.ts +245 -0
- package/lib/components/form/input-tel/data/phone-number-format.enum.d.ts +5 -0
- package/lib/components/form/input-tel/data/search-country-field.enum.d.ts +6 -0
- package/lib/components/form/input-tel/directives/input-tel.directive.d.ts +21 -0
- package/lib/components/form/input-tel/enums/input-phone.enum.d.ts +11 -0
- package/lib/components/form/input-tel/input-tel.component.d.ts +89 -0
- package/lib/components/form/input-tel/input-tel.module.d.ts +14 -0
- package/lib/components/form/input-tel/models/country.model.d.ts +18 -0
- package/lib/components/form/input-text/input-text.component.d.ts +12 -9
- package/lib/components/form/input-textarea/input-textarea.component.d.ts +12 -15
- package/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.d.ts +20 -0
- package/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.d.ts +28 -0
- package/lib/components/form/radio-group/helpers/filter-search-group.d.ts +2 -0
- package/lib/components/form/radio-group/helpers/get-item-by-id.d.ts +2 -0
- package/lib/components/form/radio-group/helpers/move-selected-to-first.d.ts +2 -0
- package/lib/components/form/radio-group/models/radio-group.model.d.ts +12 -0
- package/lib/components/form/radio-group/radio-group.component.d.ts +60 -0
- package/lib/components/form/radio-group/radio-group.module.d.ts +16 -0
- package/lib/components/modal/modal.component.d.ts +1 -0
- package/lib/components/paginator/paginator.component.d.ts +3 -1
- package/lib/components/paginator/paginator.module.d.ts +3 -3
- package/lib/components/save-state/save-state.enum.d.ts +1 -1
- package/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.d.ts +0 -1
- package/lib/helpers/formatting-iso-to-string.d.ts +1 -1
- package/lib/services/index.d.ts +1 -0
- package/lib/services/mrx-autosave/mrx-autosave.service.d.ts +1 -1
- package/lib/services/mrx-form-validator/constants/invalid-messages.d.ts +9 -0
- package/lib/services/mrx-form-validator/helpers/get-error-message.helper.d.ts +3 -0
- package/lib/services/mrx-form-validator/helpers/get-sorting-validations.helper.d.ts +2 -0
- package/lib/services/mrx-form-validator/models/index.d.ts +3 -0
- package/lib/services/mrx-form-validator/models/validations-options.model.d.ts +28 -0
- package/lib/services/mrx-form-validator/models/validations-settings.model.d.ts +7 -0
- package/lib/services/mrx-form-validator/models/validations-types.model.d.ts +19 -0
- package/lib/services/mrx-form-validator/mrx-form-validator.d.ts +4 -32
- package/lib/services/mrx-form-validator/validations/callback.validation.d.ts +6 -0
- package/lib/services/mrx-form-validator/validations/email.validation.d.ts +6 -0
- package/lib/services/mrx-form-validator/validations/max-length.validation.d.ts +6 -0
- package/lib/services/mrx-form-validator/validations/max-value.validation.d.ts +6 -0
- package/lib/services/mrx-form-validator/validations/min-length.validation.d.ts +6 -0
- package/lib/services/mrx-form-validator/validations/min-value.validation.d.ts +6 -0
- package/lib/services/mrx-form-validator/validations/pattern.validation.d.ts +6 -0
- package/lib/services/mrx-form-validator/validations/required.validation.d.ts +6 -0
- package/package.json +3 -1
- package/public-api.d.ts +5 -0
|
@@ -4,6 +4,7 @@ export declare class CharsLeftComponent {
|
|
|
4
4
|
valueLength: number;
|
|
5
5
|
value: string;
|
|
6
6
|
get getValueLength(): number;
|
|
7
|
+
get isInvalidValueLength(): boolean;
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<CharsLeftComponent, never>;
|
|
8
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<CharsLeftComponent, "mrx-chars-left", never, { "maxlength": "maxlength"; "valueLength": "valueLength"; "value": "value"; }, {}, never, never, false>;
|
|
9
10
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class ErrorMessageComponent {
|
|
3
|
+
invalid: boolean;
|
|
3
4
|
invalidMessage: string | string[];
|
|
4
5
|
customClasses: string;
|
|
5
6
|
get getClasses(): string;
|
|
6
7
|
get invalidMessageArray(): string[];
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorMessageComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorMessageComponent, "mrx-error-message", never, { "invalidMessage": "invalidMessage"; "customClasses": "customClasses"; }, {}, never, ["*"], false>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorMessageComponent, "mrx-error-message", never, { "invalid": "invalid"; "invalidMessage": "invalidMessage"; "customClasses": "customClasses"; }, {}, never, ["*"], false>;
|
|
9
10
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import {
|
|
3
|
+
import { CheckboxValueTypes, CheckboxValueWithId } from './checkbox.enum';
|
|
4
4
|
import { TooltipService } from '../../tooltip/services/tooltip.service';
|
|
5
5
|
import { Field } from '../../../services/mrx-autosave/mrx-autosave.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -13,12 +13,10 @@ export declare class CheckboxComponent implements ControlValueAccessor, OnInit {
|
|
|
13
13
|
uuid: string;
|
|
14
14
|
fields: Field[];
|
|
15
15
|
required: boolean;
|
|
16
|
-
type: CheckboxTypes;
|
|
17
16
|
boldLabel: boolean;
|
|
18
17
|
indeterminate: boolean;
|
|
19
18
|
disabled: boolean;
|
|
20
19
|
readonly: boolean;
|
|
21
|
-
placeholder: string;
|
|
22
20
|
label: string;
|
|
23
21
|
customClasses: string;
|
|
24
22
|
customWrapperClasses: string;
|
|
@@ -44,5 +42,5 @@ export declare class CheckboxComponent implements ControlValueAccessor, OnInit {
|
|
|
44
42
|
updateValue(insideValue: CheckboxValueTypes): void;
|
|
45
43
|
ngOnInit(): void;
|
|
46
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "mrx-checkbox", never, { "fields": "fields"; "required": "required"; "
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "mrx-checkbox", never, { "fields": "fields"; "required": "required"; "boldLabel": "boldLabel"; "indeterminate": "indeterminate"; "disabled": "disabled"; "readonly": "readonly"; "label": "label"; "customClasses": "customClasses"; "customWrapperClasses": "customWrapperClasses"; "invalid": "invalid"; "checkInvalid": "checkInvalid"; "tooltip": "tooltip"; "tooltipInitialVisible": "tooltipInitialVisible"; "isSaveToStorage": "isSaveToStorage"; }, { "changed": "changed"; "modelChange": "modelChange"; }, never, ["*"], false>;
|
|
48
46
|
}
|
|
@@ -17,6 +17,8 @@ export declare class CheckboxGroupComponent implements ControlValueAccessor {
|
|
|
17
17
|
searchable: boolean;
|
|
18
18
|
scrollable: boolean;
|
|
19
19
|
sortable: boolean;
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
readonly: boolean;
|
|
20
22
|
enableMessage: string;
|
|
21
23
|
searchPlaceholder: string;
|
|
22
24
|
customClasses: string;
|
|
@@ -49,6 +51,6 @@ export declare class CheckboxGroupComponent implements ControlValueAccessor {
|
|
|
49
51
|
}): void;
|
|
50
52
|
clearFilters(): void;
|
|
51
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxGroupComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxGroupComponent, "mrx-checkbox-group", never, { "fields": "fields"; "items": "items"; "scrollMaxHeight": "scrollMaxHeight"; "searchable": "searchable"; "scrollable": "scrollable"; "sortable": "sortable"; "enableMessage": "enableMessage"; "searchPlaceholder": "searchPlaceholder"; "customClasses": "customClasses"; "tooltip": "tooltip"; "labelText": "labelText"; "linkText": "linkText"; }, { "changed": "changed"; "changeChecked": "changeChecked"; "modelChange": "modelChange"; "modelCheckedChange": "modelCheckedChange"; "modelItemChange": "modelItemChange"; }, never, never, false>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxGroupComponent, "mrx-checkbox-group", never, { "fields": "fields"; "items": "items"; "scrollMaxHeight": "scrollMaxHeight"; "searchable": "searchable"; "scrollable": "scrollable"; "sortable": "sortable"; "disabled": "disabled"; "readonly": "readonly"; "enableMessage": "enableMessage"; "searchPlaceholder": "searchPlaceholder"; "customClasses": "customClasses"; "tooltip": "tooltip"; "labelText": "labelText"; "linkText": "linkText"; }, { "changed": "changed"; "changeChecked": "changeChecked"; "modelChange": "modelChange"; "modelCheckedChange": "modelCheckedChange"; "modelItemChange": "modelItemChange"; }, never, never, false>;
|
|
53
55
|
static ɵprov: i0.ɵɵInjectableDeclaration<CheckboxGroupComponent>;
|
|
54
56
|
}
|
|
@@ -9,6 +9,8 @@ export declare class CheckboxGroupItemComponent implements OnChanges {
|
|
|
9
9
|
level: number;
|
|
10
10
|
animationTrigger: boolean | null;
|
|
11
11
|
isLast: boolean;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
readonly: boolean;
|
|
12
14
|
animationEnd: EventEmitter<null>;
|
|
13
15
|
checkboxChanged: EventEmitter<{
|
|
14
16
|
value: CheckboxIndeterminateState;
|
|
@@ -16,11 +18,12 @@ export declare class CheckboxGroupItemComponent implements OnChanges {
|
|
|
16
18
|
}>;
|
|
17
19
|
constructor(detector: ChangeDetectorRef);
|
|
18
20
|
get isIndeterminate(): boolean;
|
|
21
|
+
get translateChevron(): string;
|
|
19
22
|
trackByFn(index: number, item: CheckboxGroupItem): string | number;
|
|
20
23
|
toggleList(item: CheckboxGroupItem): void;
|
|
21
24
|
checkboxChangeModel(value: CheckboxIndeterminateState, item: CheckboxGroupItem): void;
|
|
22
25
|
ngOnChanges(changes: SimpleChanges): void;
|
|
23
26
|
onAnimationEvent(): void;
|
|
24
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxGroupItemComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxGroupItemComponent, "mrx-checkbox-group-item", never, { "item": "item"; "displaced": "displaced"; "level": "level"; "animationTrigger": "animationTrigger"; "isLast": "isLast"; }, { "animationEnd": "animationEnd"; "checkboxChanged": "checkboxChanged"; }, never, never, false>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxGroupItemComponent, "mrx-checkbox-group-item", never, { "item": "item"; "displaced": "displaced"; "level": "level"; "animationTrigger": "animationTrigger"; "isLast": "isLast"; "disabled": "disabled"; "readonly": "readonly"; }, { "animationEnd": "animationEnd"; "checkboxChanged": "checkboxChanged"; }, never, never, false>;
|
|
26
29
|
}
|
|
@@ -2,6 +2,7 @@ import { ChangeDetectorRef, EventEmitter, OnChanges, SimpleChanges } from '@angu
|
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { ToolbarConfig } from './models/toolbar.model';
|
|
4
4
|
import { Field } from '../../../services/mrx-autosave/mrx-autosave.service';
|
|
5
|
+
import { InputEditorValueWithId } from './editor.enum';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class EditorComponent implements ControlValueAccessor, OnChanges {
|
|
7
8
|
private changeDetection;
|
|
@@ -21,16 +22,23 @@ export declare class EditorComponent implements ControlValueAccessor, OnChanges
|
|
|
21
22
|
readonly: boolean;
|
|
22
23
|
iframe: boolean;
|
|
23
24
|
config: any;
|
|
25
|
+
defaultInlineStyle: boolean;
|
|
26
|
+
defaultActionOnPaste: string;
|
|
27
|
+
askBeforePasteHTML: boolean;
|
|
24
28
|
editHTMLDocumentMode: boolean;
|
|
29
|
+
askBeforePasteFromWord: boolean;
|
|
25
30
|
invalid: boolean;
|
|
26
31
|
invalidMessage: string | string[];
|
|
27
32
|
checkInvalid: true | false | null;
|
|
28
33
|
editorElementRef: any;
|
|
29
34
|
changed: EventEmitter<string>;
|
|
35
|
+
modelChange: EventEmitter<InputEditorValueWithId>;
|
|
36
|
+
blurred: EventEmitter<InputEditorValueWithId>;
|
|
30
37
|
constructor(changeDetection: ChangeDetectorRef);
|
|
31
38
|
ngOnChanges(changes: SimpleChanges): void;
|
|
32
|
-
get
|
|
33
|
-
get
|
|
39
|
+
private get _isInvalidValueLength();
|
|
40
|
+
get getInvalid(): boolean;
|
|
41
|
+
get getInvalidMessage(): string | string[];
|
|
34
42
|
get checkValidClasses(): string;
|
|
35
43
|
get getClasses(): string;
|
|
36
44
|
insertPositionText(text: string): void;
|
|
@@ -40,9 +48,10 @@ export declare class EditorComponent implements ControlValueAccessor, OnChanges
|
|
|
40
48
|
registerOnChange(fn: any): void;
|
|
41
49
|
registerOnTouched(fn: () => {}): void;
|
|
42
50
|
writeValue(outsideValue: any): void;
|
|
43
|
-
updateValue(insideValue: string): void;
|
|
44
51
|
private _sanitizeValue;
|
|
45
52
|
private _calculateChartsCount;
|
|
53
|
+
updateValue(insideValue: string): void;
|
|
54
|
+
onBlur(value: boolean): void;
|
|
46
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditorComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "mrx-editor", never, { "fields": "fields"; "toolbar": "toolbar"; "maxLength": "maxLength"; "minHeight": "minHeight"; "customClasses": "customClasses"; "placeholder": "placeholder"; "disabled": "disabled"; "readonly": "readonly"; "iframe": "iframe"; "config": "config"; "editHTMLDocumentMode": "editHTMLDocumentMode"; "invalid": "invalid"; "invalidMessage": "invalidMessage"; "checkInvalid": "checkInvalid"; }, { "changed": "changed"; }, never, never, false>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "mrx-editor", never, { "fields": "fields"; "toolbar": "toolbar"; "maxLength": "maxLength"; "minHeight": "minHeight"; "customClasses": "customClasses"; "placeholder": "placeholder"; "disabled": "disabled"; "readonly": "readonly"; "iframe": "iframe"; "config": "config"; "defaultInlineStyle": "defaultInlineStyle"; "defaultActionOnPaste": "defaultActionOnPaste"; "askBeforePasteHTML": "askBeforePasteHTML"; "editHTMLDocumentMode": "editHTMLDocumentMode"; "askBeforePasteFromWord": "askBeforePasteFromWord"; "invalid": "invalid"; "invalidMessage": "invalidMessage"; "checkInvalid": "checkInvalid"; }, { "changed": "changed"; "modelChange": "modelChange"; "blurred": "blurred"; }, never, never, false>;
|
|
48
57
|
}
|
|
@@ -24,6 +24,7 @@ export declare class InputDateTimeComponent implements ControlValueAccessor, OnC
|
|
|
24
24
|
readonly: boolean;
|
|
25
25
|
required: boolean;
|
|
26
26
|
timepicker: boolean;
|
|
27
|
+
range: boolean;
|
|
27
28
|
minDate: string;
|
|
28
29
|
maxDate: string;
|
|
29
30
|
timezone: TimezoneType;
|
|
@@ -40,8 +41,9 @@ export declare class InputDateTimeComponent implements ControlValueAccessor, OnC
|
|
|
40
41
|
checkInvalid: true | false | null;
|
|
41
42
|
dateInput: ElementRef;
|
|
42
43
|
timeInput: ElementRef;
|
|
43
|
-
changed: EventEmitter<
|
|
44
|
+
changed: EventEmitter<InputDateTimeValueTypes>;
|
|
44
45
|
modelChange: EventEmitter<InputDateTimeValueWithId>;
|
|
46
|
+
blurred: EventEmitter<InputDateTimeValueWithId>;
|
|
45
47
|
constructor();
|
|
46
48
|
ngAfterViewInit(): void;
|
|
47
49
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -54,6 +56,7 @@ export declare class InputDateTimeComponent implements ControlValueAccessor, OnC
|
|
|
54
56
|
clickToIconCalendar(): void;
|
|
55
57
|
clickToIconClear(): void;
|
|
56
58
|
private updateValueModel;
|
|
59
|
+
private updateValuesArray;
|
|
57
60
|
private dateFormattingOutput;
|
|
58
61
|
private invalidMessageOn;
|
|
59
62
|
private invalidMessageOff;
|
|
@@ -67,6 +70,7 @@ export declare class InputDateTimeComponent implements ControlValueAccessor, OnC
|
|
|
67
70
|
registerOnTouched(fn: () => {}): void;
|
|
68
71
|
setDisabledState(isDisabled: boolean): void;
|
|
69
72
|
updateValue(insideValue: InputDateTimeValueTypes): void;
|
|
73
|
+
onBlur(event: Event): void;
|
|
70
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputDateTimeComponent, never>;
|
|
71
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputDateTimeComponent, "mrx-input-date-time", never, { "fields": "fields"; "size": "size"; "customClasses": "customClasses"; "dateLabel": "dateLabel"; "timeLabel": "timeLabel"; "datePlaceholder": "datePlaceholder"; "timePlaceholder": "timePlaceholder"; "disabled": "disabled"; "readonly": "readonly"; "required": "required"; "timepicker": "timepicker"; "minDate": "minDate"; "maxDate": "maxDate"; "timezone": "timezone"; "inline": "inline"; "isManualInput": "isManualInput"; "addMinTime": "addMinTime"; "addMaxTime": "addMaxTime"; "addMinTimeObj": "addMinTimeObj"; "addMaxTimeObj": "addMaxTimeObj"; "disableValidate": "disableValidate"; "container": "container"; "invalid": "invalid"; "invalidMessage": "invalidMessage"; "checkInvalid": "checkInvalid"; }, { "changed": "changed"; "modelChange": "modelChange"; }, never, never, false>;
|
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputDateTimeComponent, "mrx-input-date-time", never, { "fields": "fields"; "size": "size"; "customClasses": "customClasses"; "dateLabel": "dateLabel"; "timeLabel": "timeLabel"; "datePlaceholder": "datePlaceholder"; "timePlaceholder": "timePlaceholder"; "disabled": "disabled"; "readonly": "readonly"; "required": "required"; "timepicker": "timepicker"; "range": "range"; "minDate": "minDate"; "maxDate": "maxDate"; "timezone": "timezone"; "inline": "inline"; "isManualInput": "isManualInput"; "addMinTime": "addMinTime"; "addMaxTime": "addMaxTime"; "addMinTimeObj": "addMinTimeObj"; "addMaxTimeObj": "addMaxTimeObj"; "disableValidate": "disableValidate"; "container": "container"; "invalid": "invalid"; "invalidMessage": "invalidMessage"; "checkInvalid": "checkInvalid"; }, { "changed": "changed"; "modelChange": "modelChange"; "blurred": "blurred"; }, never, never, false>;
|
|
72
76
|
}
|
|
@@ -4,7 +4,7 @@ export declare enum InputDateSizesEnum {
|
|
|
4
4
|
'large' = "mrx-input-date-lg"
|
|
5
5
|
}
|
|
6
6
|
export declare type InputDateSizesTypes = 'small' | 'medium' | 'large';
|
|
7
|
-
export declare type InputDateTimeValueTypes = string;
|
|
7
|
+
export declare type InputDateTimeValueTypes = string | string[];
|
|
8
8
|
export interface InputDateTimeValueWithId {
|
|
9
9
|
value: InputDateTimeValueTypes;
|
|
10
10
|
id: string;
|
|
@@ -33,6 +33,7 @@ export declare class InputDatepickerComponent implements ControlValueAccessor, O
|
|
|
33
33
|
mask: string;
|
|
34
34
|
container: string;
|
|
35
35
|
validationType: InputDateTimeValidation;
|
|
36
|
+
disableValidation: boolean;
|
|
36
37
|
invalid: boolean;
|
|
37
38
|
invalidMessage: string | string[];
|
|
38
39
|
checkInvalid: true | false | null;
|
|
@@ -65,5 +66,5 @@ export declare class InputDatepickerComponent implements ControlValueAccessor, O
|
|
|
65
66
|
setDisabledState(isDisabled: boolean): void;
|
|
66
67
|
updateValue(insideValue: InputDateTimeValueTypes): void;
|
|
67
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputDatepickerComponent, never>;
|
|
68
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputDatepickerComponent, "mrx-input-datepicker", never, { "fields": "fields"; "size": "size"; "format": "format"; "locale": "locale"; "customClasses": "customClasses"; "dateLabel": "dateLabel"; "timeLabel": "timeLabel"; "datePlaceholder": "datePlaceholder"; "placeholder": "placeholder"; "disabled": "disabled"; "readonly": "readonly"; "required": "required"; "timepicker": "timepicker"; "minDate": "minDate"; "maxDate": "maxDate"; "inline": "inline"; "closable": "closable"; "leadZeroDateTime": "leadZeroDateTime"; "mask": "mask"; "container": "container"; "validationType": "validationType"; "invalid": "invalid"; "invalidMessage": "invalidMessage"; "checkInvalid": "checkInvalid"; "isShowMessages": "isShowMessages"; }, { "changed": "changed"; "modelChange": "modelChange"; }, never, never, false>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputDatepickerComponent, "mrx-input-datepicker", never, { "fields": "fields"; "size": "size"; "format": "format"; "locale": "locale"; "customClasses": "customClasses"; "dateLabel": "dateLabel"; "timeLabel": "timeLabel"; "datePlaceholder": "datePlaceholder"; "placeholder": "placeholder"; "disabled": "disabled"; "readonly": "readonly"; "required": "required"; "timepicker": "timepicker"; "minDate": "minDate"; "maxDate": "maxDate"; "inline": "inline"; "closable": "closable"; "leadZeroDateTime": "leadZeroDateTime"; "mask": "mask"; "container": "container"; "validationType": "validationType"; "disableValidation": "disableValidation"; "invalid": "invalid"; "invalidMessage": "invalidMessage"; "checkInvalid": "checkInvalid"; "isShowMessages": "isShowMessages"; }, { "changed": "changed"; "modelChange": "modelChange"; }, never, never, false>;
|
|
69
70
|
}
|
|
@@ -4,6 +4,9 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export interface ImageEditSelect {
|
|
5
5
|
title: string;
|
|
6
6
|
fileImage?: any;
|
|
7
|
+
cropperMaxWidth: number;
|
|
8
|
+
cropperMaxHeight: number;
|
|
9
|
+
aspectRatio: number;
|
|
7
10
|
}
|
|
8
11
|
export interface ImageEditResult {
|
|
9
12
|
result: boolean;
|
|
@@ -13,6 +16,9 @@ export interface ImageEditResult {
|
|
|
13
16
|
export declare class FileImageEditModalComponent extends SimpleModalComponent<ImageEditSelect, ImageEditResult> {
|
|
14
17
|
title: string;
|
|
15
18
|
fileImage?: any;
|
|
19
|
+
cropperMaxWidth: number;
|
|
20
|
+
cropperMaxHeight: number;
|
|
21
|
+
aspectRatio: number;
|
|
16
22
|
imageChangedEvent: any;
|
|
17
23
|
croppedImage: string;
|
|
18
24
|
canvasRotation: number;
|
|
@@ -15,7 +15,6 @@ export declare class InputFileImageComponent {
|
|
|
15
15
|
allowedExtensions: string[];
|
|
16
16
|
files: InputFileModel[];
|
|
17
17
|
notFoundImage: PreviewEnum;
|
|
18
|
-
hostClass: string;
|
|
19
18
|
type: InputFileImageTypeTypes;
|
|
20
19
|
preview: string;
|
|
21
20
|
customClasses: string;
|
|
@@ -25,6 +24,9 @@ export declare class InputFileImageComponent {
|
|
|
25
24
|
maxSize: number;
|
|
26
25
|
maxFiles: number;
|
|
27
26
|
minFiles: number;
|
|
27
|
+
cropperMaxWidth: number;
|
|
28
|
+
cropperMaxHeight: number;
|
|
29
|
+
aspectRatio: number;
|
|
28
30
|
formData: any;
|
|
29
31
|
placeholder?: string;
|
|
30
32
|
uploadEndPoint: string;
|
|
@@ -55,5 +57,5 @@ export declare class InputFileImageComponent {
|
|
|
55
57
|
private uploadFile;
|
|
56
58
|
private checkForUpload;
|
|
57
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputFileImageComponent, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputFileImageComponent, "mrx-input-file-image", never, { "type": "type"; "preview": "preview"; "customClasses": "customClasses"; "required": "required"; "disabled": "disabled"; "lightDisabled": "lightDisabled"; "maxSize": "maxSize"; "maxFiles": "maxFiles"; "minFiles": "minFiles"; "formData": "formData"; "placeholder": "placeholder"; "uploadEndPoint": "uploadEndPoint"; "deleteEndPoint": "deleteEndPoint"; "downloadEndPoint": "downloadEndPoint"; "fileNamePlaceholder": "fileNamePlaceholder"; "deleteConfirm": "deleteConfirm"; "innerTemplate": "innerTemplate"; "initFiles": "files"; "initAllowedExtensions": "allowedExtensions"; }, { "filesChanged": "filesChanged"; }, never, never, false>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputFileImageComponent, "mrx-input-file-image", never, { "type": "type"; "preview": "preview"; "customClasses": "customClasses"; "required": "required"; "disabled": "disabled"; "lightDisabled": "lightDisabled"; "maxSize": "maxSize"; "maxFiles": "maxFiles"; "minFiles": "minFiles"; "cropperMaxWidth": "cropperMaxWidth"; "cropperMaxHeight": "cropperMaxHeight"; "aspectRatio": "aspectRatio"; "formData": "formData"; "placeholder": "placeholder"; "uploadEndPoint": "uploadEndPoint"; "deleteEndPoint": "deleteEndPoint"; "downloadEndPoint": "downloadEndPoint"; "fileNamePlaceholder": "fileNamePlaceholder"; "deleteConfirm": "deleteConfirm"; "innerTemplate": "innerTemplate"; "initFiles": "files"; "initAllowedExtensions": "allowedExtensions"; }, { "filesChanged": "filesChanged"; }, never, never, false>;
|
|
59
61
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare enum InputFileImageTypeEnum {
|
|
2
|
-
'default' = "mrx-input-file-
|
|
3
|
-
'avatar' = "mrx-input-file-
|
|
2
|
+
'default' = "mrx-input-file-image-type-default",
|
|
3
|
+
'avatar' = "mrx-input-file-image-type-avatar"
|
|
4
4
|
}
|
|
5
5
|
export declare type InputFileImageTypeTypes = 'default' | 'avatar';
|
|
6
6
|
export declare enum PreviewEnum {
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, FormBuilder, FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { InputNumberSizesTypes, InputNumberType, InputNumberValueWithId } from './input-number.enum';
|
|
4
|
-
import { Field } from '../../../services
|
|
3
|
+
import { InputNumberSizesTypes, InputNumberType, InputNumberValueTypes, InputNumberValueWithId } from './input-number.enum';
|
|
4
|
+
import { Field } from '../../../services';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare type DecimalMarkerType = '.' | ',' | ['.', ','];
|
|
7
7
|
export declare class InputNumberComponent implements ControlValueAccessor, OnInit {
|
|
8
8
|
static decimalMarker?: DecimalMarkerType;
|
|
9
9
|
private static _delimitersInitialised;
|
|
10
10
|
static thousandsSeparator: string;
|
|
11
|
+
value: InputNumberValueTypes;
|
|
11
12
|
disabled: boolean;
|
|
12
13
|
readonly: boolean;
|
|
13
14
|
numberForm: FormGroup;
|
|
@@ -31,6 +32,7 @@ export declare class InputNumberComponent implements ControlValueAccessor, OnIni
|
|
|
31
32
|
separator?: string;
|
|
32
33
|
decimalSeparator?: DecimalMarkerType;
|
|
33
34
|
isNullableValue: boolean;
|
|
35
|
+
isAutoCorrectingValue: boolean;
|
|
34
36
|
invalid: boolean;
|
|
35
37
|
checkInvalid: true | false | null;
|
|
36
38
|
inputElement: ElementRef;
|
|
@@ -40,7 +42,9 @@ export declare class InputNumberComponent implements ControlValueAccessor, OnIni
|
|
|
40
42
|
set setReadonly(value: boolean);
|
|
41
43
|
set setMin(val: number);
|
|
42
44
|
set setMax(val: number);
|
|
45
|
+
changed: EventEmitter<InputNumberValueTypes>;
|
|
43
46
|
modelChange: EventEmitter<InputNumberValueWithId>;
|
|
47
|
+
blurred: EventEmitter<InputNumberValueWithId>;
|
|
44
48
|
constructor(fb: FormBuilder);
|
|
45
49
|
get getClasses(): string;
|
|
46
50
|
get decimalMarker(): '.' | ',' | ['.', ','];
|
|
@@ -50,12 +54,16 @@ export declare class InputNumberComponent implements ControlValueAccessor, OnIni
|
|
|
50
54
|
get isVerified(): boolean;
|
|
51
55
|
static initNumberFormat(): void;
|
|
52
56
|
ngOnInit(): void;
|
|
57
|
+
private _formattingValue;
|
|
53
58
|
resetToMax(event: any): void;
|
|
54
59
|
checkIsValid(): void;
|
|
60
|
+
onPhoneInputBlur(): void;
|
|
55
61
|
writeValue(value: any): void;
|
|
56
62
|
getControl(name: string): FormControl<any>;
|
|
57
63
|
registerOnChange(fn: any): void;
|
|
58
64
|
registerOnTouched(fn: any): void;
|
|
65
|
+
updateValue(insideValue: InputNumberValueTypes): void;
|
|
66
|
+
onBlur(event: FocusEvent): void;
|
|
59
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputNumberComponent, never>;
|
|
60
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputNumberComponent, "mrx-input-number", never, { "fields": "fields"; "placeholder": "placeholder"; "innerClass": "innerClass"; "customClasses": "customClasses"; "required": "required"; "allowNegative": "allowNegative"; "size": "size"; "separator": "separator"; "decimalSeparator": "decimalSeparator"; "isNullableValue": "isNullableValue"; "invalid": "invalid"; "checkInvalid": "checkInvalid"; "setNumberType": "numberType"; "setInvalidMessage": "invalidMessage"; "setDisabled": "disabled"; "setReadonly": "readonly"; "setMin": "minValue"; "setMax": "maxValue"; }, { "modelChange": "modelChange"; }, never, never, false>;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputNumberComponent, "mrx-input-number", never, { "fields": "fields"; "placeholder": "placeholder"; "innerClass": "innerClass"; "customClasses": "customClasses"; "required": "required"; "allowNegative": "allowNegative"; "size": "size"; "separator": "separator"; "decimalSeparator": "decimalSeparator"; "isNullableValue": "isNullableValue"; "isAutoCorrectingValue": "isAutoCorrectingValue"; "invalid": "invalid"; "checkInvalid": "checkInvalid"; "setNumberType": "numberType"; "setInvalidMessage": "invalidMessage"; "setDisabled": "disabled"; "setReadonly": "readonly"; "setMin": "minValue"; "setMax": "maxValue"; }, { "changed": "changed"; "modelChange": "modelChange"; "blurred": "blurred"; }, never, never, false>;
|
|
61
69
|
}
|
|
@@ -5,8 +5,8 @@ export declare enum InputNumberSizesEnum {
|
|
|
5
5
|
'large' = "mrx-input-number-lg"
|
|
6
6
|
}
|
|
7
7
|
export declare type InputNumberSizesTypes = 'small' | 'medium' | 'large';
|
|
8
|
-
export declare type InputNumberValueTypes = number;
|
|
8
|
+
export declare type InputNumberValueTypes = number | null;
|
|
9
9
|
export interface InputNumberValueWithId {
|
|
10
|
-
value: InputNumberValueTypes
|
|
10
|
+
value: InputNumberValueTypes;
|
|
11
11
|
id: string;
|
|
12
12
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
2
|
-
import { AbstractControl,
|
|
2
|
+
import { AbstractControl, FormControl } from '@angular/forms';
|
|
3
3
|
import { NgxOtpInputConfig, NgxOtpStatus } from '../../models/input-opt.model';
|
|
4
4
|
import { InputOptService } from '../../services/input-opt.service';
|
|
5
5
|
import { InputOptSizesTypes } from './input-opt.enum';
|
|
@@ -16,7 +16,7 @@ export declare class InputOptComponent implements OnInit, AfterViewInit, OnDestr
|
|
|
16
16
|
private ngxOtpArray$;
|
|
17
17
|
private focusedInputHasValue;
|
|
18
18
|
private isInit;
|
|
19
|
-
ngxOtpArray:
|
|
19
|
+
ngxOtpArray: any;
|
|
20
20
|
ariaLabels: string[];
|
|
21
21
|
pattern: RegExp;
|
|
22
22
|
styles: string[][];
|
|
@@ -1,30 +1,34 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { InputPasswordSizesTypes, InputPasswordValueTypes } from './input-password.enum';
|
|
3
|
+
import { InputPasswordSizesTypes, InputPasswordValueTypes, InputPasswordValueWithId } from './input-password.enum';
|
|
4
|
+
import { Field } from '../../../services';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class InputPasswordComponent implements ControlValueAccessor {
|
|
6
7
|
value: InputPasswordValueTypes;
|
|
7
8
|
isShowPassword: boolean;
|
|
9
|
+
uuid: string;
|
|
10
|
+
fields: Field[];
|
|
8
11
|
disabled: boolean;
|
|
9
12
|
required: boolean;
|
|
10
13
|
readonly: boolean;
|
|
11
14
|
maxlength: number;
|
|
12
15
|
minlength: number;
|
|
13
16
|
placeholder: string;
|
|
17
|
+
customClasses: string;
|
|
18
|
+
size: InputPasswordSizesTypes;
|
|
14
19
|
invalid: boolean;
|
|
15
20
|
invalidMessage: string | string[];
|
|
16
21
|
checkInvalid: true | false | null;
|
|
17
|
-
|
|
18
|
-
size: InputPasswordSizesTypes;
|
|
22
|
+
restrictInput: boolean;
|
|
19
23
|
changed: EventEmitter<InputPasswordValueTypes>;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
get
|
|
23
|
-
get
|
|
24
|
+
modelChange: EventEmitter<InputPasswordValueWithId>;
|
|
25
|
+
blurred: EventEmitter<InputPasswordValueWithId>;
|
|
26
|
+
private get _isInvalidValueLength();
|
|
27
|
+
get getInvalid(): boolean;
|
|
28
|
+
get getInvalidMessage(): string | string[];
|
|
24
29
|
get readonlyClass(): string;
|
|
25
30
|
get checkValidClasses(): string;
|
|
26
31
|
get getClasses(): string;
|
|
27
|
-
protected baseValidate(): boolean;
|
|
28
32
|
toggleShow(): void;
|
|
29
33
|
private onChange;
|
|
30
34
|
private onTouched;
|
|
@@ -33,6 +37,7 @@ export declare class InputPasswordComponent implements ControlValueAccessor {
|
|
|
33
37
|
writeValue(outsideValue: InputPasswordValueTypes): void;
|
|
34
38
|
setDisabledState(isDisabled: boolean): void;
|
|
35
39
|
updateValue(insideValue: InputPasswordValueTypes): void;
|
|
40
|
+
onBlur(event: Event): void;
|
|
36
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputPasswordComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputPasswordComponent, "mrx-input-password", never, { "disabled": "disabled"; "required": "required"; "readonly": "readonly"; "maxlength": "maxlength"; "minlength": "minlength"; "placeholder": "placeholder"; "invalid": "invalid"; "invalidMessage": "invalidMessage"; "checkInvalid": "checkInvalid"; "
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputPasswordComponent, "mrx-input-password", never, { "fields": "fields"; "disabled": "disabled"; "required": "required"; "readonly": "readonly"; "maxlength": "maxlength"; "minlength": "minlength"; "placeholder": "placeholder"; "customClasses": "customClasses"; "size": "size"; "invalid": "invalid"; "invalidMessage": "invalidMessage"; "checkInvalid": "checkInvalid"; "restrictInput": "restrictInput"; }, { "changed": "changed"; "modelChange": "modelChange"; "blurred": "blurred"; }, never, never, false>;
|
|
38
43
|
}
|
|
@@ -5,3 +5,7 @@ export declare enum InputPasswordSizesEnum {
|
|
|
5
5
|
}
|
|
6
6
|
export declare type InputPasswordSizesTypes = 'small' | 'medium' | 'large';
|
|
7
7
|
export declare type InputPasswordValueTypes = string;
|
|
8
|
+
export interface InputPasswordValueWithId {
|
|
9
|
+
value: InputPasswordValueTypes;
|
|
10
|
+
id: string;
|
|
11
|
+
}
|
|
@@ -4,8 +4,10 @@ import * as i2 from "@angular/forms";
|
|
|
4
4
|
import * as i3 from "../../chars-left/chars-left.module";
|
|
5
5
|
import * as i4 from "../../error-message/error-message.module";
|
|
6
6
|
import * as i5 from "@angular/common";
|
|
7
|
+
import * as i6 from "ngx-mask";
|
|
8
|
+
import * as i7 from "../../save-state/save-state.module";
|
|
7
9
|
export declare class InputPasswordModule {
|
|
8
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputPasswordModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<InputPasswordModule, [typeof i1.InputPasswordComponent], [typeof i2.FormsModule, typeof i3.CharsLeftModule, typeof i4.ErrorMessageModule, typeof i5.CommonModule], [typeof i1.InputPasswordComponent]>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InputPasswordModule, [typeof i1.InputPasswordComponent], [typeof i2.FormsModule, typeof i3.CharsLeftModule, typeof i4.ErrorMessageModule, typeof i5.CommonModule, typeof i6.NgxMaskModule, typeof i7.SaveStateModule], [typeof i1.InputPasswordComponent]>;
|
|
10
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<InputPasswordModule>;
|
|
11
13
|
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { InputSearchSizesTypes } from './input-search.enum';
|
|
3
|
+
import { InputSearchSizesTypes, InputSearchValueTypes, InputSearchValueWithId } from './input-search.enum';
|
|
4
|
+
import { Field } from '../../../services';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare type InputSearchValueTypes = string;
|
|
6
6
|
export declare class InputSearchComponent implements ControlValueAccessor {
|
|
7
7
|
value: InputSearchValueTypes;
|
|
8
8
|
selectionStart: number | undefined;
|
|
9
9
|
selectionEnd: number | undefined;
|
|
10
|
+
uuid: string;
|
|
11
|
+
fields: Field[];
|
|
10
12
|
inputElement: ElementRef;
|
|
11
13
|
disabled: boolean;
|
|
12
14
|
required: boolean;
|
|
@@ -14,19 +16,21 @@ export declare class InputSearchComponent implements ControlValueAccessor {
|
|
|
14
16
|
maxlength: number;
|
|
15
17
|
minlength: number;
|
|
16
18
|
placeholder: string;
|
|
17
|
-
invalid: boolean;
|
|
18
|
-
invalidMessage: string | string[];
|
|
19
|
-
checkInvalid: true | false | null;
|
|
20
19
|
customClasses: string;
|
|
21
20
|
mask: string;
|
|
22
21
|
size: InputSearchSizesTypes;
|
|
22
|
+
invalid: boolean;
|
|
23
|
+
invalidMessage: string | string[];
|
|
24
|
+
checkInvalid: true | false | null;
|
|
25
|
+
restrictInput: boolean;
|
|
23
26
|
changed: EventEmitter<InputSearchValueTypes>;
|
|
27
|
+
modelChange: EventEmitter<InputSearchValueWithId>;
|
|
28
|
+
blurred: EventEmitter<InputSearchValueWithId>;
|
|
24
29
|
cleared: EventEmitter<null>;
|
|
25
30
|
searched: EventEmitter<null>;
|
|
26
|
-
get
|
|
27
|
-
get
|
|
28
|
-
get
|
|
29
|
-
get isVerified(): boolean;
|
|
31
|
+
private get _isInvalidValueLength();
|
|
32
|
+
get getInvalid(): boolean;
|
|
33
|
+
get getInvalidMessage(): string | string[];
|
|
30
34
|
get readonlyClass(): string;
|
|
31
35
|
get checkValidClasses(): string;
|
|
32
36
|
get getClasses(): string;
|
|
@@ -34,7 +38,6 @@ export declare class InputSearchComponent implements ControlValueAccessor {
|
|
|
34
38
|
onClear(): void;
|
|
35
39
|
onSearch(): void;
|
|
36
40
|
insertPositionText(tagText: string): void;
|
|
37
|
-
protected baseValidate(): boolean;
|
|
38
41
|
updateSelection(event: any): void;
|
|
39
42
|
private onChange;
|
|
40
43
|
private onTouched;
|
|
@@ -43,6 +46,7 @@ export declare class InputSearchComponent implements ControlValueAccessor {
|
|
|
43
46
|
writeValue(outsideValue: InputSearchValueTypes): void;
|
|
44
47
|
setDisabledState(isDisabled: boolean): void;
|
|
45
48
|
updateValue(insideValue: InputSearchValueTypes): void;
|
|
49
|
+
onBlur(event: Event): void;
|
|
46
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputSearchComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputSearchComponent, "mrx-input-search", never, { "disabled": "disabled"; "required": "required"; "readonly": "readonly"; "maxlength": "maxlength"; "minlength": "minlength"; "placeholder": "placeholder"; "
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputSearchComponent, "mrx-input-search", never, { "fields": "fields"; "disabled": "disabled"; "required": "required"; "readonly": "readonly"; "maxlength": "maxlength"; "minlength": "minlength"; "placeholder": "placeholder"; "customClasses": "customClasses"; "mask": "mask"; "size": "size"; "invalid": "invalid"; "invalidMessage": "invalidMessage"; "checkInvalid": "checkInvalid"; "restrictInput": "restrictInput"; }, { "changed": "changed"; "modelChange": "modelChange"; "blurred": "blurred"; "cleared": "cleared"; "searched": "searched"; }, never, never, false>;
|
|
48
52
|
}
|
|
@@ -4,3 +4,8 @@ export declare enum InputSearchSizesEnum {
|
|
|
4
4
|
'large' = "mrx-input-search-lg"
|
|
5
5
|
}
|
|
6
6
|
export declare type InputSearchSizesTypes = 'small' | 'medium' | 'large';
|
|
7
|
+
export declare type InputSearchValueTypes = string;
|
|
8
|
+
export interface InputSearchValueWithId {
|
|
9
|
+
value: InputSearchValueTypes;
|
|
10
|
+
id: string;
|
|
11
|
+
}
|
|
@@ -5,8 +5,9 @@ import * as i3 from "@angular/forms";
|
|
|
5
5
|
import * as i4 from "../../chars-left/chars-left.module";
|
|
6
6
|
import * as i5 from "../../error-message/error-message.module";
|
|
7
7
|
import * as i6 from "ngx-mask";
|
|
8
|
+
import * as i7 from "../../save-state/save-state.module";
|
|
8
9
|
export declare class InputSearchModule {
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputSearchModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<InputSearchModule, [typeof i1.InputSearchComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.CharsLeftModule, typeof i5.ErrorMessageModule, typeof i6.NgxMaskModule], [typeof i1.InputSearchComponent]>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InputSearchModule, [typeof i1.InputSearchComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.CharsLeftModule, typeof i5.ErrorMessageModule, typeof i6.NgxMaskModule, typeof i7.SaveStateModule], [typeof i1.InputSearchComponent]>;
|
|
11
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<InputSearchModule>;
|
|
12
13
|
}
|
|
@@ -26,6 +26,7 @@ export declare class InputSelectComponent implements ControlValueAccessor {
|
|
|
26
26
|
trackByFn: any;
|
|
27
27
|
displayValue: string | string[];
|
|
28
28
|
disabledFromDisplay: boolean;
|
|
29
|
+
hideSelected: boolean;
|
|
29
30
|
maxLength: number;
|
|
30
31
|
customSearchFn?: (term: string, item: any) => boolean;
|
|
31
32
|
isBottomLabel: boolean;
|
|
@@ -50,6 +51,7 @@ export declare class InputSelectComponent implements ControlValueAccessor {
|
|
|
50
51
|
tooltipHidden: boolean;
|
|
51
52
|
tooltipVisible: boolean;
|
|
52
53
|
selectOptionsTemplate: TemplateRef<ElementRef>;
|
|
54
|
+
selectOptionsGroupTemplate: TemplateRef<ElementRef>;
|
|
53
55
|
labelTemplate: TemplateRef<ElementRef>;
|
|
54
56
|
tagTemplate: TemplateRef<ElementRef>;
|
|
55
57
|
multiLabelTemplate: TemplateRef<ElementRef>;
|
|
@@ -80,5 +82,5 @@ export declare class InputSelectComponent implements ControlValueAccessor {
|
|
|
80
82
|
items: any[];
|
|
81
83
|
}): void;
|
|
82
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputSelectComponent, never>;
|
|
83
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputSelectComponent, "mrx-input-select", never, { "fields": "fields"; "size": "size"; "selected": "selected"; "bindValue": "bindValue"; "bindLabel": "bindLabel"; "customClasses": "customClasses"; "wrapperCustomClasses": "wrapperCustomClasses"; "multiple": "multiple"; "loading": "loading"; "addTag": "addTag"; "clearable": "clearable"; "items": "items"; "groupBy": "groupBy"; "emptyValue": "emptyValue"; "virtualScroll": "virtualScroll"; "trackByFn": "trackByFn"; "displayValue": "displayValue"; "disabledFromDisplay": "disabledFromDisplay"; "maxLength": "maxLength"; "customSearchFn": "customSearchFn"; "isBottomLabel": "isBottomLabel"; "search": "search"; "required": "required"; "disabled": "disabled"; "readonly": "readonly"; "showEmptyFields": "showEmptyFields"; "placeholder": "placeholder"; "searchable": "searchable"; "loadLabel": "loadLabel"; "notFoundText": "notFoundText"; "closeOnSelect": "closeOnSelect"; "multiCollapseCount": "multiCollapseCount"; "invalid": "invalid"; "invalidMessage": "invalidMessage"; "checkInvalid": "checkInvalid"; "label": "label"; "labelRequiredHidden": "labelRequiredHidden"; "labelExtraClass": "labelExtraClass"; "tooltip": "tooltip"; "tooltipHidden": "tooltipHidden"; "tooltipVisible": "tooltipVisible"; "setMaxSelectedItems": "maxSelectedItems"; }, { "changed": "changed"; "modelChange": "modelChange"; "searched": "searched"; }, ["selectOptionsTemplate", "labelTemplate", "tagTemplate", "multiLabelTemplate"], never, false>;
|
|
85
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputSelectComponent, "mrx-input-select", never, { "fields": "fields"; "size": "size"; "selected": "selected"; "bindValue": "bindValue"; "bindLabel": "bindLabel"; "customClasses": "customClasses"; "wrapperCustomClasses": "wrapperCustomClasses"; "multiple": "multiple"; "loading": "loading"; "addTag": "addTag"; "clearable": "clearable"; "items": "items"; "groupBy": "groupBy"; "emptyValue": "emptyValue"; "virtualScroll": "virtualScroll"; "trackByFn": "trackByFn"; "displayValue": "displayValue"; "disabledFromDisplay": "disabledFromDisplay"; "hideSelected": "hideSelected"; "maxLength": "maxLength"; "customSearchFn": "customSearchFn"; "isBottomLabel": "isBottomLabel"; "search": "search"; "required": "required"; "disabled": "disabled"; "readonly": "readonly"; "showEmptyFields": "showEmptyFields"; "placeholder": "placeholder"; "searchable": "searchable"; "loadLabel": "loadLabel"; "notFoundText": "notFoundText"; "closeOnSelect": "closeOnSelect"; "multiCollapseCount": "multiCollapseCount"; "invalid": "invalid"; "invalidMessage": "invalidMessage"; "checkInvalid": "checkInvalid"; "label": "label"; "labelRequiredHidden": "labelRequiredHidden"; "labelExtraClass": "labelExtraClass"; "tooltip": "tooltip"; "tooltipHidden": "tooltipHidden"; "tooltipVisible": "tooltipVisible"; "setMaxSelectedItems": "maxSelectedItems"; }, { "changed": "changed"; "modelChange": "modelChange"; "searched": "searched"; }, ["selectOptionsTemplate", "selectOptionsGroupTemplate", "labelTemplate", "tagTemplate", "multiLabelTemplate"], never, false>;
|
|
84
86
|
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const dropdownOpen = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAABDklEQVRIie3PK0uEQRQG4EfdIoIgiIJtg8VgMa6woEEMBpvFZNhmM2k1icVkM5j0D1hNFoPFsMGyYBAEEUS8X8qMLB/frHsTDPvCSec9zzD08p9SRg2lDoxSMMrZxSwe8IV7zLSBT+MuGI+Yy8Pj3GKqBXwSNxnj55FaZhHnGsUm8GLo5hk1mMdTonCFiQb4GKqJ2xcsxuICnhPFKsZz8FFcJm5esZQ9WMZb4uACI3XdYZwnuu9YSX15FR+JwzMMYRCnic4n1lJ4TCUU84CTMCm88hses55AGs1Gs3jMVgv4Zqt4zHYT+G67eMxOA3yvUxz6sJ+DH4RdV9KPwzr8GAPdwmMKOApT6Dbey9/lG8m7mtO59/lwAAAAAElFTkSuQmCC";
|
|
2
|
+
export declare const dropdownClose = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAABEklEQVRIie3Pr0uDQRwG8I+6IoIgiIJtwWKwGCeoGMRgMVlMhtlsJjGaxGIyWUz6B1hNFoPFYLAoBkEQQcTf0+AdjPHe3LutCHvgSff9fu6OTv5TCjgMLbQb78YBvkOP0NMuvAt7VXjsfri45Wxn4LG7reJbdfDYnWbxzQbw2I28+FoOPHa9UXwVlQRyHJp1VkH5L3wZXwngFH3oxUmdS1ZS+CI+EovnGKia7cdZYvYTS7X4HF4TC5cYznjQIC4SO+9YiIOzeEkMXmEk9WUMhQdk7b5hHm4SA7co1sFjimE2y7iGSTzVHNxjrAE8ZhR3NcYzZuJA9SWPmMiBx4zjIQuPmfb7pVITeEwpGFMtGJ20OT8JFprkRrg+uAAAAABJRU5ErkJggg==";
|
|
3
|
+
export declare const flagPlaceholder = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QA/wD/AP+gvaeTAAABHElEQVR4nO3aIU5DQQCE4R+CA1fTC3ADDAoEcIAmSBQHIMFyEyySExQUaDgFFRgUHADxLN1NyNudNu//kqpJk+kkb5umC5IkSZIkTc5OITsFHoD9Tl1a+QGugJe/wr3CG8+BL+C2Qame7oAL/jEAwCfwOHajzq5L4W6vFpvKAdIF0hwgXSDNAdIF0hwgXSDNAdIF0hwgXSBt8gPUfg4fA289ijR0CLyvC2sDrID7Uev0d1MKawN8sP0DLErh5M8AB0gXSJv8ALVDcAac9SjS0KwU1gY4Ap7H6xLztC6oPQJLhn+Ptvm1LH3AyZ8BDpAukOYA6QJpta/BOXDZo0hD81JYuiBxwnBB4mDUOv19M1yQeE0XkSRJkiRpQ/wCRYIVXPol4dwAAAAASUVORK5CYII=";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const countryData: ((string | number | string[])[] | (string | number | number[])[])[];
|