carriera-intern-components 1.1.159 → 1.1.161

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 | 32 | 22 | 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,5 +1,6 @@
1
1
  import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { AppFile } from '../../models/appFile.model';
3
+ import { FormControl } from '@angular/forms';
3
4
  import * as i0 from "@angular/core";
4
5
  /**
5
6
  * This component displays a preview of a document, including its name, size,
@@ -11,6 +12,12 @@ export declare class DocumentPreviewComponent implements OnChanges, OnInit {
11
12
  constructor();
12
13
  ngOnInit(): void;
13
14
  ngOnChanges(changes: SimpleChanges): void;
15
+ noTagOption: boolean;
16
+ showInput: import("@angular/core").WritableSignal<boolean>;
17
+ inputFormControl: FormControl<any>;
18
+ showFileNameInput(): void;
19
+ hideFileNameInput(): void;
20
+ handleEdit(event: any): void;
14
21
  /**
15
22
  * Signal that controls whether the delete modal is visible.Used to confirm the file deletion.
16
23
  */
@@ -95,5 +102,5 @@ export declare class DocumentPreviewComponent implements OnChanges, OnInit {
95
102
  */
96
103
  handleShare(): void;
97
104
  static ɵfac: i0.ɵɵFactoryDeclaration<DocumentPreviewComponent, 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>;
105
+ static ɵcmp: i0.ɵɵComponentDeclaration<DocumentPreviewComponent, "cai-document-preview", never, { "coverMinimalMode": { "alias": "coverMinimalMode"; "required": false; }; "noTagOption": { "alias": "noTagOption"; "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>;
99
106
  }
@@ -1,4 +1,4 @@
1
- import { ElementRef } from '@angular/core';
1
+ import { ElementRef, EventEmitter } from '@angular/core';
2
2
  import { AppFile } from '../../models/appFile.model';
3
3
  import { ImageCroppedEvent, LoadedImage, ImageTransform } from 'ngx-image-cropper';
4
4
  import { DomSanitizer, SafeUrl } from '@angular/platform-browser';
@@ -29,10 +29,12 @@ export declare class DropZoneComponent {
29
29
  cropHeight: import("@angular/core").WritableSignal<number>;
30
30
  cropWidth: import("@angular/core").WritableSignal<number>;
31
31
  driver: import("@angular/core").WritableSignal<Driver>;
32
+ docsChange: EventEmitter<AppFile[]>;
32
33
  inputRange: ElementRef<HTMLInputElement>;
33
34
  constructor(sanitizer: DomSanitizer);
34
35
  ngOnInit(): void;
35
36
  ngAfterViewInit(): void;
37
+ emitDocs(): void;
36
38
  updateRangeBackground(input: HTMLInputElement): void;
37
39
  cropDimensions(): void;
38
40
  ratioHelper(): number;
@@ -164,5 +166,5 @@ export declare class DropZoneComponent {
164
166
  tag: string;
165
167
  }): void;
166
168
  static ɵfac: i0.ɵɵFactoryDeclaration<DropZoneComponent, never>;
167
- static ɵcmp: i0.ɵɵComponentDeclaration<DropZoneComponent, "app-drop-zone", never, { "crop": { "alias": "crop"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "excludedFileTypes": { "alias": "excludedFileTypes"; "required": false; "isSignal": true; }; "fileTypes": { "alias": "fileTypes"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
169
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropZoneComponent, "app-drop-zone", never, { "crop": { "alias": "crop"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "excludedFileTypes": { "alias": "excludedFileTypes"; "required": false; "isSignal": true; }; "fileTypes": { "alias": "fileTypes"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, { "docsChange": "docsChange"; }, never, never, true, never>;
168
170
  }
@@ -173,6 +173,7 @@ export declare class InputComponent implements ControlValueAccessor, AfterViewIn
173
173
  step: import("@angular/core").Signal<number>;
174
174
  combinedOptions: import("@angular/core").Signal<DropdownArrays>;
175
175
  dispatchCount: import("@angular/core").Signal<number>;
176
+ onBlur: import("@angular/core").OutputEmitterRef<void>;
176
177
  onValueChange: import("@angular/core").OutputEmitterRef<string | number | null>;
177
178
  /**
178
179
  * An output signal that emits the value of the added option.
@@ -281,7 +282,7 @@ export declare class InputComponent implements ControlValueAccessor, AfterViewIn
281
282
  /**
282
283
  * Called when the input element loses focus (blur event).
283
284
  */
284
- onBlur(): void;
285
+ dispatchOnBlur(): void;
285
286
  toggleHovered(value: boolean): void;
286
287
  /**
287
288
  * Resets the input field's value to an empty string.
@@ -346,5 +347,5 @@ export declare class InputComponent implements ControlValueAccessor, AfterViewIn
346
347
  castAsTollOption(value: unknown): TollOption | null;
347
348
  castAsTollTransponderOption(value: unknown): TollTransponderOption | null;
348
349
  static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, [{ optional: true; self: true; }, null]>;
349
- static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "cai-input", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "labelColors": { "alias": "labelColors"; "required": false; "isSignal": true; }; "preselectedUnit": { "alias": "preselectedUnit"; "required": false; "isSignal": true; }; }, { "onValueChange": "onValueChange"; "onOptionAdded": "onOptionAdded"; "onAdd": "onAdd"; "onSelectionChange": "onSelectionChange"; "onClear": "onClear"; "onAutofill": "onAutofill"; }, never, never, true, never>;
350
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "cai-input", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "labelColors": { "alias": "labelColors"; "required": false; "isSignal": true; }; "preselectedUnit": { "alias": "preselectedUnit"; "required": false; "isSignal": true; }; }, { "onBlur": "onBlur"; "onValueChange": "onValueChange"; "onOptionAdded": "onOptionAdded"; "onAdd": "onAdd"; "onSelectionChange": "onSelectionChange"; "onClear": "onClear"; "onAutofill": "onAutofill"; }, never, never, true, never>;
350
351
  }
@@ -18,7 +18,8 @@ export interface CaiInputConfig {
18
18
  textTransformExceptions?: string[];
19
19
  isNumberFormattingDisabled?: boolean;
20
20
  textColor?: 'positive';
21
- placeholderBehavior?: 'dynamic' | 'fade' | 'static';
21
+ isEdit?: boolean;
22
+ placeholderBehavior?: 'dynamic' | 'fade' | 'static' | 'hidden';
22
23
  errorBehavior?: 'dynamic' | 'static' | 'floating';
23
24
  label?: string;
24
25
  mask?: string;