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.
@@ -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
- marginTop: number;
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, "sim-app-select", never, { "label": { "alias": "label"; "required": false; }; "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "options": { "alias": "options"; "required": false; }; "marginTop": { "alias": "marginTop"; "required": false; }; "marginBottom": { "alias": "marginBottom"; "required": false; }; "marginLeft": { "alias": "marginLeft"; "required": false; }; "marginRight": { "alias": "marginRight"; "required": false; }; }, { "changeEvent": "changeEvent"; }, never, never, false, never>;
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lib-portal-angular",
3
- "version": "0.0.51",
3
+ "version": "0.0.52",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.2.0",
6
6
  "@angular/core": "^16.2.0"