myrta-ui 1.1.28 → 1.1.29
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/esm2020/lib/components/form/formula-editor/enums/formula-editor-size.enum.mjs +7 -0
- package/esm2020/lib/components/form/formula-editor/formula-editor.component.mjs +30 -17
- package/esm2020/lib/components/form/formula-editor/helpers/create-tags.helper.mjs +5 -5
- package/fesm2015/myrta-ui.mjs +39 -20
- package/fesm2015/myrta-ui.mjs.map +1 -1
- package/fesm2020/myrta-ui.mjs +39 -20
- package/fesm2020/myrta-ui.mjs.map +1 -1
- package/lib/components/form/formula-editor/enums/formula-editor-size.enum.d.ts +6 -0
- package/lib/components/form/formula-editor/formula-editor.component.d.ts +8 -2
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ import { ControlValueAccessor } from '@angular/forms';
|
|
|
3
3
|
import { Field } from '../../../services';
|
|
4
4
|
import { WhiteListItemModel, CheckErrorResultModel } from './models';
|
|
5
5
|
import { FormulaEditorValueTypes, FormulaEditorValueWithId } from './models';
|
|
6
|
+
import { FormulaEditorSizesTypes } from './enums/formula-editor-size.enum';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class FormulaEditorComponent implements ControlValueAccessor {
|
|
8
9
|
private document;
|
|
@@ -26,6 +27,7 @@ export declare class FormulaEditorComponent implements ControlValueAccessor {
|
|
|
26
27
|
readonly: boolean;
|
|
27
28
|
placeholder: string;
|
|
28
29
|
customClasses: string;
|
|
30
|
+
size: FormulaEditorSizesTypes;
|
|
29
31
|
invalid: boolean;
|
|
30
32
|
invalidMessage: string | string[];
|
|
31
33
|
checkInvalid: true | false | null;
|
|
@@ -41,11 +43,15 @@ export declare class FormulaEditorComponent implements ControlValueAccessor {
|
|
|
41
43
|
get readonlyClass(): string;
|
|
42
44
|
get checkValidClasses(): string;
|
|
43
45
|
get getClasses(): string;
|
|
46
|
+
get getIconClass(): string;
|
|
47
|
+
get canClean(): boolean;
|
|
44
48
|
private get _inputValue();
|
|
45
49
|
writeValue(outsideValue: FormulaEditorValueTypes): void;
|
|
46
50
|
onInput(event: Event): void;
|
|
47
|
-
onBlur(event: Event): void;
|
|
48
51
|
onFocus(event: Event): void;
|
|
52
|
+
onClear(): void;
|
|
53
|
+
onBlur(event: Event): void;
|
|
54
|
+
onKeyup(event: any): void;
|
|
49
55
|
insertTag(whiteListItem: WhiteListItemModel): void;
|
|
50
56
|
updateVisibleValue(insideValue: string): void;
|
|
51
57
|
updateValue(insideValue: string): void;
|
|
@@ -64,5 +70,5 @@ export declare class FormulaEditorComponent implements ControlValueAccessor {
|
|
|
64
70
|
private onChange;
|
|
65
71
|
private onTouched;
|
|
66
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormulaEditorComponent, never>;
|
|
67
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormulaEditorComponent, "mrx-formula-editor", never, { "fields": "fields"; "disabled": "disabled"; "readonly": "readonly"; "placeholder": "placeholder"; "customClasses": "customClasses"; "invalid": "invalid"; "invalidMessage": "invalidMessage"; "checkInvalid": "checkInvalid"; "items": "items"; }, { "changed": "changed"; "blurred": "blurred"; "modelChange": "modelChange"; }, never, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormulaEditorComponent, "mrx-formula-editor", never, { "fields": "fields"; "disabled": "disabled"; "readonly": "readonly"; "placeholder": "placeholder"; "customClasses": "customClasses"; "size": "size"; "invalid": "invalid"; "invalidMessage": "invalidMessage"; "checkInvalid": "checkInvalid"; "items": "items"; }, { "changed": "changed"; "blurred": "blurred"; "modelChange": "modelChange"; }, never, never>;
|
|
68
74
|
}
|