myrta-ui 17.0.84 → 17.0.86
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/esm2022/lib/components/form/input-file/input-file.component.mjs +2 -2
- package/esm2022/lib/components/form/json-editor/json-editor.component.mjs +2 -2
- package/esm2022/lib/components/form/select/select.component.mjs +9 -13
- package/esm2022/lib/components/form/select/select.enum.mjs +2 -0
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/myrta-ui.mjs +12 -15
- package/fesm2022/myrta-ui.mjs.map +1 -1
- package/lib/components/form/select/select.component.d.ts +6 -6
- package/lib/components/form/select/select.enum.d.ts +5 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -7,7 +7,8 @@ import { AddOptionFn, SelectItemModel } from './models/select-item.model';
|
|
|
7
7
|
import { Field } from '../../../services';
|
|
8
8
|
import { TemplateOutputModel } from './models/template-output.model';
|
|
9
9
|
import { PositionType } from '../../../enums/overlay';
|
|
10
|
-
import { MrxFormValidator } from
|
|
10
|
+
import { MrxFormValidator } from '../../../services';
|
|
11
|
+
import { SelectValueTypes, SelectValueWithId } from './select.enum';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
export declare class SelectComponent implements ControlValueAccessor, OnInit {
|
|
13
14
|
searchValue: string;
|
|
@@ -61,8 +62,8 @@ export declare class SelectComponent implements ControlValueAccessor, OnInit {
|
|
|
61
62
|
popupHeaderTemplate: TemplateRef<TemplateOutputModel>;
|
|
62
63
|
popupFooterTemplate: TemplateRef<TemplateOutputModel>;
|
|
63
64
|
contentTemplate: TemplateRef<any>;
|
|
64
|
-
changed: EventEmitter<
|
|
65
|
-
modelChange: EventEmitter<
|
|
65
|
+
changed: EventEmitter<SelectValueTypes>;
|
|
66
|
+
modelChange: EventEmitter<SelectValueWithId>;
|
|
66
67
|
ngOnInit(): void;
|
|
67
68
|
get readonlyClass(): string;
|
|
68
69
|
get checkValidClasses(): string;
|
|
@@ -77,14 +78,13 @@ export declare class SelectComponent implements ControlValueAccessor, OnInit {
|
|
|
77
78
|
onUnselect(item: SelectInnerItemModel): void;
|
|
78
79
|
onClear(event: MouseEvent): void;
|
|
79
80
|
togglePopup(isOpen: boolean): void;
|
|
80
|
-
getCleanSelectItem(item: SelectInnerItemModel): any;
|
|
81
81
|
asOption(option: SelectInnerItemModel): SelectInnerItemModel;
|
|
82
82
|
asLabel(label: SelectInnerItemModel): SelectInnerItemModel;
|
|
83
83
|
writeValue(selected?: any | any[]): void;
|
|
84
84
|
changeTextValueEmpty(): void;
|
|
85
85
|
onAddNewCustomOption(): void;
|
|
86
|
-
private
|
|
87
|
-
private
|
|
86
|
+
private _updateSelected;
|
|
87
|
+
private _updateValue;
|
|
88
88
|
private onChange;
|
|
89
89
|
private onTouched;
|
|
90
90
|
registerOnChange(fn: any): void;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -103,6 +103,7 @@ export * from './lib/components/form/input-timepicker/input-timepicker.component
|
|
|
103
103
|
export * from './lib/components/form/editor/editor.module';
|
|
104
104
|
export * from './lib/components/form/editor/editor.component';
|
|
105
105
|
export * from './lib/components/form/editor/models/toolbar.model';
|
|
106
|
+
export * from './lib/components/form/editor/editor.enum';
|
|
106
107
|
export * from './lib/components/form/json-editor/json-editor.module';
|
|
107
108
|
export * from './lib/components/form/json-editor/json-editor.component';
|
|
108
109
|
export * from './lib/components/form/json-editor/json-editor.enum';
|