@unipin/angular-applet 18.7.9 → 18.8.1
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/approval/form/approval-form.component.mjs +2 -2
- package/esm2022/lib/components/audit/detail/audit-detail.component.mjs +2 -2
- package/esm2022/lib/components/filter/filter.component.mjs +3 -3
- package/esm2022/lib/components/filter/interfaces/filter-field.interface.mjs +1 -1
- package/esm2022/lib/components/forms/input/form-input.component.mjs +8 -4
- package/esm2022/lib/interceptors/refresh-token/refresh-token.interceptor.mjs +15 -9
- package/fesm2022/unipin-angular-applet.mjs +22 -14
- package/fesm2022/unipin-angular-applet.mjs.map +1 -1
- package/lib/components/filter/interfaces/filter-field.interface.d.ts +3 -1
- package/lib/components/forms/input/form-input.component.d.ts +3 -1
- package/lib/interceptors/refresh-token/refresh-token.interceptor.d.ts +3 -1
- package/package.json +1 -1
|
@@ -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,11 +1,13 @@
|
|
|
1
1
|
import { HttpEvent, HttpHandler, HttpInterceptor, HttpInterceptorFn, HttpRequest } from '@angular/common/http';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
2
3
|
import { Observable } from 'rxjs';
|
|
3
4
|
import { AuthService } from '../../services';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare const refreshTokenInterceptor: HttpInterceptorFn;
|
|
6
7
|
export declare class RefreshTokenInterceptor implements HttpInterceptor {
|
|
8
|
+
protected readonly router: Router;
|
|
7
9
|
protected readonly authService: AuthService;
|
|
8
|
-
constructor(authService: AuthService);
|
|
10
|
+
constructor(router: Router, authService: AuthService);
|
|
9
11
|
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
10
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<RefreshTokenInterceptor, never>;
|
|
11
13
|
static ɵprov: i0.ɵɵInjectableDeclaration<RefreshTokenInterceptor>;
|