carriera-intern-components 1.1.155 → 1.1.157
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/app/components/avatar/avatar.component.d.ts +1 -1
- package/app/components/input/models/input.model.d.ts +1 -0
- package/app/components/pm/pm.component.d.ts +29 -12
- package/fesm2022/carriera-intern-components.mjs +86 -39
- package/fesm2022/carriera-intern-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/styles.scss +0 -69
|
@@ -14,7 +14,7 @@ export declare class AvatarComponent {
|
|
|
14
14
|
* The size of the avatar in pixels.
|
|
15
15
|
* @type {Size}
|
|
16
16
|
*/
|
|
17
|
-
size: import("@angular/core").InputSignal<18 |
|
|
17
|
+
size: import("@angular/core").InputSignal<18 | 22 | 32 | 74 | 160>;
|
|
18
18
|
/**
|
|
19
19
|
* Whether the avatar should be rounded or not at sizes of 74px and 160px.
|
|
20
20
|
* @type {boolean}
|
|
@@ -1,28 +1,41 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
1
|
import { NgbTooltip } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
-
import {
|
|
2
|
+
import { PmItem } from '../../models/pm.model';
|
|
3
|
+
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class PmComponent {
|
|
5
|
+
export declare class PmComponent implements ControlValueAccessor {
|
|
6
|
+
ngControl: NgControl | null;
|
|
6
7
|
/**
|
|
7
8
|
* List of PM items passed from the parent component.
|
|
8
9
|
* Used to render all available PM options.
|
|
9
10
|
*/
|
|
10
|
-
items: PmItem[]
|
|
11
|
+
items: import("@angular/core").InputSignal<PmItem[]>;
|
|
11
12
|
/**
|
|
12
13
|
* Event emitted when the "Add new" button is clicked.
|
|
13
14
|
* The parent component can listen to this and perform appropriate actions.
|
|
14
15
|
*/
|
|
15
|
-
|
|
16
|
+
onAdd: import("@angular/core").OutputEmitterRef<void>;
|
|
17
|
+
onSelectionChange: import("@angular/core").OutputEmitterRef<PmItem | null>;
|
|
18
|
+
/**
|
|
19
|
+
* The currently selected PM item.
|
|
20
|
+
* Used to track and display the selected item's title and logo.
|
|
21
|
+
*/
|
|
22
|
+
selectedPmItem: import("@angular/core").WritableSignal<PmItem | null>;
|
|
23
|
+
/**
|
|
24
|
+
* Disabled state for forms integration.
|
|
25
|
+
*/
|
|
26
|
+
disabled: import("@angular/core").WritableSignal<boolean>;
|
|
27
|
+
/**
|
|
28
|
+
* Holder for incoming value from writeValue to resolve against items.
|
|
29
|
+
*/
|
|
30
|
+
private _incomingValue;
|
|
31
|
+
onChange: (value: number | null) => void;
|
|
32
|
+
onTouched: () => void;
|
|
33
|
+
constructor(ngControl: NgControl | null);
|
|
16
34
|
/**
|
|
17
35
|
* Boolean signal indicating whether the PM popover is currently visible.
|
|
18
36
|
* Used to apply conditional styling or behavior when the popover is shown or hidden.
|
|
19
37
|
*/
|
|
20
38
|
showPmPopover: import("@angular/core").WritableSignal<boolean>;
|
|
21
|
-
/**
|
|
22
|
-
* The currently selected PM item.
|
|
23
|
-
* Used to track and display the selected item's title and logo.
|
|
24
|
-
*/
|
|
25
|
-
selectedPmItem: PmItem;
|
|
26
39
|
/**
|
|
27
40
|
* Called when the "Add new" button is clicked.
|
|
28
41
|
* Emits the `onAdd` event to notify the parent component.
|
|
@@ -54,6 +67,10 @@ export declare class PmComponent {
|
|
|
54
67
|
* Resets id, title and logoName.
|
|
55
68
|
*/
|
|
56
69
|
onClear(): void;
|
|
57
|
-
|
|
58
|
-
|
|
70
|
+
writeValue(value: number | string | null): void;
|
|
71
|
+
registerOnChange(fn: (value: number | null) => void): void;
|
|
72
|
+
registerOnTouched(fn: () => void): void;
|
|
73
|
+
setDisabledState(isDisabled: boolean): void;
|
|
74
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PmComponent, [{ optional: true; self: true; }]>;
|
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PmComponent, "cai-pm", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; }, { "onAdd": "onAdd"; "onSelectionChange": "onSelectionChange"; }, never, never, true, never>;
|
|
59
76
|
}
|