onshore-forms 1.1.1 → 1.1.2
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/package.json
CHANGED
package/types/onshore-forms.d.ts
CHANGED
|
@@ -88,10 +88,9 @@ interface OnshoreFormArrayDefault {
|
|
|
88
88
|
value: any;
|
|
89
89
|
}
|
|
90
90
|
interface OnshoreFormAutocompleteItem {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
data: any;
|
|
91
|
+
_id: string;
|
|
92
|
+
email?: string;
|
|
93
|
+
subfield?: OnshoreFormAutocompleteItem;
|
|
95
94
|
}
|
|
96
95
|
interface OnshoreFormImageSettings {
|
|
97
96
|
imageWidth?: number;
|
|
@@ -169,12 +168,15 @@ declare class OnshoreFormAutocompleteItemComponent implements ControlValueAccess
|
|
|
169
168
|
optionLabel?: string;
|
|
170
169
|
optionValue?: string;
|
|
171
170
|
dataKey?: string;
|
|
171
|
+
secondOptionLabel?: string;
|
|
172
|
+
thirdOptionLabel?: string;
|
|
173
|
+
optionLabelDivider?: string;
|
|
172
174
|
onSearch: EventEmitter<string>;
|
|
173
175
|
onSelect: EventEmitter<OnshoreFormAutocompleteItem>;
|
|
174
176
|
actionButtonClick: EventEmitter<any>;
|
|
175
177
|
disabled: boolean;
|
|
176
178
|
searchPrepare(term: any): void;
|
|
177
|
-
unselect(
|
|
179
|
+
unselect(event: PointerEvent): void;
|
|
178
180
|
findValue(item: any, key: string): any;
|
|
179
181
|
search(searchTerm: string): Promise<void>;
|
|
180
182
|
writeValue(obj: any): void;
|
|
@@ -187,7 +189,7 @@ declare class OnshoreFormAutocompleteItemComponent implements ControlValueAccess
|
|
|
187
189
|
ngOnChanges(changes: SimpleChanges): void;
|
|
188
190
|
constructor(cdr: ChangeDetectorRef, ngControl: NgControl);
|
|
189
191
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnshoreFormAutocompleteItemComponent, [null, { optional: true; self: true; }]>;
|
|
190
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormAutocompleteItemComponent, "onshore-form-autocomplete-item", never, { "formTemplate": { "alias": "formTemplate"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "searchedData": { "alias": "searchedData"; "required": false; }; "actionButtonDisabled": { "alias": "actionButtonDisabled"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "dataKey": { "alias": "dataKey"; "required": false; }; }, { "onSearch": "onSearch"; "onSelect": "onSelect"; "actionButtonClick": "actionButtonClick"; }, never, never, true, never>;
|
|
192
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormAutocompleteItemComponent, "onshore-form-autocomplete-item", never, { "formTemplate": { "alias": "formTemplate"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "searchedData": { "alias": "searchedData"; "required": false; }; "actionButtonDisabled": { "alias": "actionButtonDisabled"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "dataKey": { "alias": "dataKey"; "required": false; }; "secondOptionLabel": { "alias": "secondOptionLabel"; "required": false; }; "thirdOptionLabel": { "alias": "thirdOptionLabel"; "required": false; }; "optionLabelDivider": { "alias": "optionLabelDivider"; "required": false; }; }, { "onSearch": "onSearch"; "onSelect": "onSelect"; "actionButtonClick": "actionButtonClick"; }, never, never, true, never>;
|
|
191
193
|
}
|
|
192
194
|
|
|
193
195
|
declare class OnshoreFormCheckboxItemComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy {
|