carriera-intern-components 1.1.0 → 1.1.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.
@@ -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 | 22 | 32 | 74 | 160>;
17
+ size: import("@angular/core").InputSignal<160 | 18 | 22 | 32 | 74>;
18
18
  /**
19
19
  * Whether the avatar should be rounded or not at sizes of 74px and 160px.
20
20
  * @type {boolean}
@@ -1,14 +1,15 @@
1
- import { OnChanges, SimpleChanges } from '@angular/core';
1
+ import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { AppFile } from '../../models/appFile.model';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
5
5
  * This component displays a preview of a document, including its name, size,
6
6
  * and provides actions to delete, download, and tag the document.
7
7
  */
8
- export declare class DocumentPreviewComponent implements OnChanges {
9
- coverMinimalMod: import("@angular/core").InputSignal<boolean>;
8
+ export declare class DocumentPreviewComponent implements OnChanges, OnInit {
9
+ coverMinimalMode: boolean;
10
10
  isCrop: import("@angular/core").WritableSignal<boolean>;
11
11
  constructor();
12
+ ngOnInit(): void;
12
13
  ngOnChanges(changes: SimpleChanges): void;
13
14
  /**
14
15
  * Signal that controls whether the delete modal is visible.Used to confirm the file deletion.
@@ -94,5 +95,5 @@ export declare class DocumentPreviewComponent implements OnChanges {
94
95
  */
95
96
  handleShare(): void;
96
97
  static ɵfac: i0.ɵɵFactoryDeclaration<DocumentPreviewComponent, never>;
97
- static ɵcmp: i0.ɵɵComponentDeclaration<DocumentPreviewComponent, "cai-document-preview", never, { "coverMinimalMod": { "alias": "coverMinimalMod"; "required": false; "isSignal": true; }; "file": { "alias": "file"; "required": true; "isSignal": true; }; "viewMode": { "alias": "viewMode"; "required": true; "isSignal": true; }; }, { "onDelete": "onDelete"; "onDownload": "onDownload"; "onTagChange": "onTagChange"; }, never, never, true, never>;
98
+ static ɵcmp: i0.ɵɵComponentDeclaration<DocumentPreviewComponent, "cai-document-preview", never, { "coverMinimalMode": { "alias": "coverMinimalMode"; "required": false; }; "file": { "alias": "file"; "required": true; "isSignal": true; }; "viewMode": { "alias": "viewMode"; "required": true; "isSignal": true; }; }, { "onDelete": "onDelete"; "onDownload": "onDownload"; "onTagChange": "onTagChange"; }, never, never, true, never>;
98
99
  }
@@ -19,6 +19,7 @@ export declare class InputComponent implements ControlValueAccessor, AfterViewIn
19
19
  PasswordDirective: PasswordDirective;
20
20
  NumberFormatDirective: NumberFormatDirective;
21
21
  MaskDirective: MaskDirective;
22
+ multipleRef: any;
22
23
  hazardousRef: any;
23
24
  dropdownOptionsRef: any;
24
25
  dispatchesRef: any;
@@ -125,6 +126,18 @@ export declare class InputComponent implements ControlValueAccessor, AfterViewIn
125
126
  * A signal that holds the currently selected option from the dropdown.
126
127
  */
127
128
  selectedOption: import("@angular/core").WritableSignal<DropdownOptions | null>;
129
+ /**
130
+ * A signal that holds the currently selected options from the dropdown.
131
+ */
132
+ multipleSelectedOptions: import("@angular/core").WritableSignal<DropdownOptions[]>;
133
+ /**
134
+ * A signal that indicates whether the input is focused.
135
+ */
136
+ focused: import("@angular/core").WritableSignal<boolean>;
137
+ /**
138
+ * A signal that indicates whether the input is hovered.
139
+ */
140
+ hovered: import("@angular/core").WritableSignal<boolean>;
128
141
  /**
129
142
  * A signal that indicates whether a new option is being added.
130
143
  */
@@ -222,7 +235,7 @@ export declare class InputComponent implements ControlValueAccessor, AfterViewIn
222
235
  /**
223
236
  * Writes a new value to the element. (ControlValueAccessor)
224
237
  */
225
- writeValue(value: string): void;
238
+ writeValue(value: any): void;
226
239
  /**
227
240
  * Increments the value of a number input by the current step.
228
241
  */
@@ -256,6 +269,7 @@ export declare class InputComponent implements ControlValueAccessor, AfterViewIn
256
269
  * Called when the input element loses focus (blur event).
257
270
  */
258
271
  onBlur(): void;
272
+ toggleHovered(value: boolean): void;
259
273
  /**
260
274
  * Resets the input field's value to an empty string.
261
275
  */
@@ -281,6 +295,7 @@ export declare class InputComponent implements ControlValueAccessor, AfterViewIn
281
295
  * @param event - The MouseEvent that initiated the selection action.
282
296
  */
283
297
  handleOption(option: DropdownOptions, event?: MouseEvent): void;
298
+ isSelectedOption(option: DropdownOptions): boolean;
284
299
  /**
285
300
  * Adds a new option to the dropdown.
286
301
  * @param option - The option to add.
@@ -40,7 +40,7 @@ export type CustomError = {
40
40
  name: string;
41
41
  message: string | null;
42
42
  };
43
- export declare const DropdownTypes: readonly ["dispatch", "ftl-dispatch", "label", "broker", "contact", "shipper", "bank", "dispatcher", "truck", "trailer", "subcontent", "hazardous", "state", "owner", "fuelcard"];
43
+ export declare const DropdownTypes: readonly ["multiple", "dispatch", "ftl-dispatch", "label", "broker", "contact", "shipper", "bank", "dispatcher", "truck", "trailer", "subcontent", "hazardous", "state", "owner", "fuelcard"];
44
44
  export type DropdownType = (typeof DropdownTypes)[number];
45
45
  export type DropdownArrays = DropdownOption[] | LabelOption[] | Broker[] | DispatchBoard[] | DepartmentContactsPair[] | Shipper[] | Dispatch[] | Bank[] | Dispatcher[] | TruckOption[] | TrailerOption[] | Hazardous[] | State[] | Owner[] | FuelCard[];
46
46
  export type DropdownOptions = DropdownOption | LabelOption | Broker | Contact | Shipper | Dispatch | Bank | Dispatcher | TruckOption | TrailerOption | Hazardous | State | Owner | FuelCard;