lib-portal-angular 0.0.51 → 0.0.52
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/components/imput/input.component.mjs +5 -20
- package/esm2022/lib/components/select/select.component.mjs +60 -50
- package/esm2022/lib/components/tables/data-table.component.mjs +3 -3
- package/fesm2022/lib-portal-angular.mjs +62 -69
- package/fesm2022/lib-portal-angular.mjs.map +1 -1
- package/lib/components/imput/input.component.d.ts +0 -13
- package/lib/components/select/select.component.d.ts +10 -7
- package/package.json +1 -1
@@ -38,19 +38,6 @@ export declare class InputComponent implements ControlValueAccessor, OnDestroy {
|
|
38
38
|
registerOnTouched(fn: any): void;
|
39
39
|
setDisabledState?(isDisabled: boolean): void;
|
40
40
|
hasPermission(): boolean;
|
41
|
-
getLabelStyles(): {
|
42
|
-
'font-weight': number;
|
43
|
-
width: string;
|
44
|
-
height: string;
|
45
|
-
top: string;
|
46
|
-
left: string;
|
47
|
-
gap: string;
|
48
|
-
opacity: string;
|
49
|
-
'font-family': string;
|
50
|
-
'font-size': string;
|
51
|
-
'line-height': string;
|
52
|
-
'text-align': string;
|
53
|
-
};
|
54
41
|
ngOnDestroy(): void;
|
55
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
56
43
|
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "argenta-custom-input", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "required": { "alias": "required"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "labelFontWeight": { "alias": "labelFontWeight"; "required": false; }; "permissions": { "alias": "permissions"; "required": false; }; }, { "inputEvent": "inputEvent"; "changeEvent": "changeEvent"; "focusEvent": "focusEvent"; "blurEvent": "blurEvent"; "keyupEvent": "keyupEvent"; "keydownEvent": "keydownEvent"; "keypressEvent": "keypressEvent"; }, never, never, false, never>;
|
@@ -1,7 +1,9 @@
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
1
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
3
|
+
import { AuthService } from '../../service/auth-service.service';
|
3
4
|
import * as i0 from "@angular/core";
|
4
|
-
export declare class SelectComponent implements ControlValueAccessor {
|
5
|
+
export declare class SelectComponent implements ControlValueAccessor, OnDestroy {
|
6
|
+
private authService;
|
5
7
|
label: string;
|
6
8
|
id: string;
|
7
9
|
disabled: boolean;
|
@@ -9,19 +11,20 @@ export declare class SelectComponent implements ControlValueAccessor {
|
|
9
11
|
value: any;
|
10
12
|
label: string;
|
11
13
|
}[];
|
12
|
-
|
13
|
-
marginBottom: number;
|
14
|
-
marginLeft: number;
|
15
|
-
marginRight: number;
|
14
|
+
permissions: string[] | undefined;
|
16
15
|
changeEvent: EventEmitter<any>;
|
17
16
|
private onChangeCallback;
|
18
17
|
private onTouchedCallback;
|
19
18
|
value: any;
|
19
|
+
private subscriptions;
|
20
|
+
constructor(authService: AuthService);
|
20
21
|
onSelectChange(event: Event): void;
|
21
22
|
writeValue(value: any): void;
|
22
23
|
registerOnChange(fn: any): void;
|
23
24
|
registerOnTouched(fn: any): void;
|
24
25
|
setDisabledState?(isDisabled: boolean): void;
|
26
|
+
hasPermission(): boolean;
|
27
|
+
ngOnDestroy(): void;
|
25
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "argenta-custom-select", never, { "label": { "alias": "label"; "required": false; }; "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "options": { "alias": "options"; "required": false; }; "permissions": { "alias": "permissions"; "required": false; }; }, { "changeEvent": "changeEvent"; }, never, never, false, never>;
|
27
30
|
}
|