@unipin/angular-applet 18.7.8 → 18.8.0

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.
@@ -15,7 +15,9 @@ export interface FilterField {
15
15
  label: string;
16
16
  value: string;
17
17
  }[];
18
- type: 'text' | 'number' | 'date-range' | 'select' | 'searchable-select' | 'checkbox';
18
+ type: 'text' | 'number' | 'date-range' | 'select' | 'searchable-select' | 'checkbox' | 'number-range';
19
19
  multiple?: boolean;
20
20
  isIrresolute?: boolean;
21
+ min?: string;
22
+ max?: string;
21
23
  }
@@ -10,6 +10,8 @@ export declare class FormInputComponent implements ControlValueAccessor, Validat
10
10
  value?: string | null;
11
11
  required: boolean;
12
12
  disabled: boolean;
13
+ min?: string;
14
+ max?: string;
13
15
  onInput: EventEmitter<any>;
14
16
  isTouched: boolean;
15
17
  errorMsg: string;
@@ -25,5 +27,5 @@ export declare class FormInputComponent implements ControlValueAccessor, Validat
25
27
  validate(control: AbstractControl): ValidationErrors | null;
26
28
  change({ value }: any): void;
27
29
  static ɵfac: i0.ɵɵFactoryDeclaration<FormInputComponent, [{ attribute: "placeholder"; }, { attribute: "type"; }, { attribute: "autocomplete"; }, null]>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<FormInputComponent, "up-input", never, { "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "onInput": "onInput"; }, never, ["[icon]"], true, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormInputComponent, "up-input", never, { "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; }, { "onInput": "onInput"; }, never, ["[icon]"], true, never>;
29
31
  }
@@ -1,6 +1,7 @@
1
1
  import { ChangeDetectorRef, OnChanges, SimpleChanges, EventEmitter } from '@angular/core';
2
2
  import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
3
3
  import { Observable, Subject } from 'rxjs';
4
+ import { NgSelectComponent } from '@ng-select/ng-select';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class FormSearchableSelectComponent implements ControlValueAccessor, Validator, OnChanges {
6
7
  placeholder: string;
@@ -17,6 +18,7 @@ export declare class FormSearchableSelectComponent implements ControlValueAccess
17
18
  bindValue: string;
18
19
  appendTo: string;
19
20
  onChange: EventEmitter<any>;
21
+ readonly ngSelect: NgSelectComponent;
20
22
  readonly typeahead: Subject<string>;
21
23
  protected readonly query$: Observable<any[]>;
22
24
  items$: Observable<any[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unipin/angular-applet",
3
- "version": "18.7.8",
3
+ "version": "18.8.0",
4
4
  "sideEffects": false,
5
5
  "homepage": "https://backoffice.unipin.com/",
6
6
  "description": "Angular specific wrappers for UniPin applet",