onshore-forms 1.0.15 → 1.0.17

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.
@@ -7,6 +7,7 @@ export declare class OnshoreFormAutocompleteItemComponent implements ControlValu
7
7
  ngControl: NgControl;
8
8
  formTemplate: OnshoreFormTemplateItem;
9
9
  multiple: boolean;
10
+ showClear: boolean | undefined;
10
11
  searchedData: OnshoreFormAutocompleteItem[];
11
12
  actionButtonDisabled: boolean;
12
13
  optionLabel?: string;
@@ -14,11 +15,10 @@ export declare class OnshoreFormAutocompleteItemComponent implements ControlValu
14
15
  dataKey?: string;
15
16
  onSearch: EventEmitter<string>;
16
17
  onSelect: EventEmitter<OnshoreFormAutocompleteItem>;
17
- onClear: EventEmitter<boolean>;
18
18
  actionButtonClick: EventEmitter<any>;
19
19
  disabled: boolean;
20
- searchClear(): void;
21
20
  searchPrepare(term: any): void;
21
+ unselect(selectedItem?: any): void;
22
22
  search(searchTerm: string): Promise<void>;
23
23
  writeValue(obj: any): void;
24
24
  registerOnChange(fn: any): void;
@@ -30,5 +30,5 @@ export declare class OnshoreFormAutocompleteItemComponent implements ControlValu
30
30
  ngOnChanges(changes: SimpleChanges): void;
31
31
  constructor(cdr: ChangeDetectorRef, ngControl: NgControl);
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<OnshoreFormAutocompleteItemComponent, [null, { optional: true; self: true; }]>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormAutocompleteItemComponent, "onshore-form-autocomplete-item", never, { "formTemplate": { "alias": "formTemplate"; "required": false; }; "multiple": { "alias": "multiple"; "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"; "onClear": "onClear"; "actionButtonClick": "actionButtonClick"; }, never, never, true, never>;
33
+ 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>;
34
34
  }
@@ -14,6 +14,7 @@ export declare class OnshoreFormScannerItemComponent implements OnInit, ControlV
14
14
  scannerDisabled: boolean;
15
15
  editDisabled: boolean;
16
16
  integerOnly: boolean;
17
+ autofocus: boolean;
17
18
  length?: number;
18
19
  actionButtonClick: EventEmitter<any>;
19
20
  webcamClick: EventEmitter<any>;
@@ -31,5 +32,5 @@ export declare class OnshoreFormScannerItemComponent implements OnInit, ControlV
31
32
  constructor(ngControl: NgControl, cdr: ChangeDetectorRef);
32
33
  protected readonly OnshoreFormTemplateType: typeof OnshoreFormTemplateType;
33
34
  static ɵfac: i0.ɵɵFactoryDeclaration<OnshoreFormScannerItemComponent, [{ optional: true; self: true; }, null]>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormScannerItemComponent, "onshore-form-scanner-item", never, { "formTemplate": { "alias": "formTemplate"; "required": false; }; "actionButtonDisabled": { "alias": "actionButtonDisabled"; "required": false; }; "webcamDisabled": { "alias": "webcamDisabled"; "required": false; }; "scannerDisabled": { "alias": "scannerDisabled"; "required": false; }; "editDisabled": { "alias": "editDisabled"; "required": false; }; "integerOnly": { "alias": "integerOnly"; "required": false; }; "length": { "alias": "length"; "required": false; }; }, { "actionButtonClick": "actionButtonClick"; "webcamClick": "webcamClick"; "scannerClick": "scannerClick"; }, never, never, true, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormScannerItemComponent, "onshore-form-scanner-item", never, { "formTemplate": { "alias": "formTemplate"; "required": false; }; "actionButtonDisabled": { "alias": "actionButtonDisabled"; "required": false; }; "webcamDisabled": { "alias": "webcamDisabled"; "required": false; }; "scannerDisabled": { "alias": "scannerDisabled"; "required": false; }; "editDisabled": { "alias": "editDisabled"; "required": false; }; "integerOnly": { "alias": "integerOnly"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "length": { "alias": "length"; "required": false; }; }, { "actionButtonClick": "actionButtonClick"; "webcamClick": "webcamClick"; "scannerClick": "scannerClick"; }, never, never, true, never>;
35
36
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.15",
2
+ "version": "1.0.17",
3
3
  "name": "onshore-forms",
4
4
  "description": "OnShore Angular Form Builder",
5
5
  "author": {