carriera-intern-components 1.1.160 → 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.
- package/app/components/document-preview/document-preview.component.d.ts +8 -1
- package/app/components/input/input.component.d.ts +3 -2
- package/app/components/input/models/input.model.d.ts +2 -1
- package/fesm2022/carriera-intern-components.mjs +62 -15
- package/fesm2022/carriera-intern-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/styles/popover.scss +3 -0
- package/src/styles/tooltip.scss +34 -0
- package/src/styles.scss +1 -0
|
@@ -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
|
}
|
|
@@ -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
|
-
|
|
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
|
-
|
|
21
|
+
isEdit?: boolean;
|
|
22
|
+
placeholderBehavior?: 'dynamic' | 'fade' | 'static' | 'hidden';
|
|
22
23
|
errorBehavior?: 'dynamic' | 'static' | 'floating';
|
|
23
24
|
label?: string;
|
|
24
25
|
mask?: string;
|