carriera-intern-components 1.1.53 → 1.1.55

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.
Files changed (22) hide show
  1. package/app/components/avatar/avatar.component.d.ts +7 -2
  2. package/app/components/avatar/pipes/avatar-classes.pipe.d.ts +2 -1
  3. package/app/components/dispatch-dropdown/dispatch-dropdown.component.d.ts +4 -1
  4. package/app/components/dispatch-dropdown/interfaces/dispatch-dropdown-option.interface.d.ts +1 -1
  5. package/app/components/dispatch-dropdown/pipes/dispatch-search-filter.pipe.d.ts +1 -1
  6. package/app/components/document-preview/document-preview.component.d.ts +2 -1
  7. package/app/components/drop-zone/drop-zone.component.d.ts +8 -1
  8. package/app/components/input-datetime-picker/cai-input-datetime-picker.component.d.ts +3 -0
  9. package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/cai-custom-datetime-pickers.component.d.ts +6 -2
  10. package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/components/cai-custom-datetime-pickers-date-calendars/cai-custom-datetime-pickers-date-calendars.component.d.ts +3 -1
  11. package/app/components/list-contact-dropdown/models/contact.interface.d.ts +1 -0
  12. package/app/components/text-area/interfaces/index.d.ts +1 -0
  13. package/app/components/text-area/interfaces/text-area.interface.d.ts +4 -0
  14. package/app/components/text-area/text-area.component.d.ts +85 -0
  15. package/app/utils/constants/input-character-sets.constants.d.ts +5 -5
  16. package/fesm2022/carriera-intern-components.mjs +415 -52
  17. package/fesm2022/carriera-intern-components.mjs.map +1 -1
  18. package/package.json +1 -1
  19. package/public/assets/invexample.png +0 -0
  20. package/public/assets/invoice.png +0 -0
  21. package/public-api.d.ts +2 -0
  22. package/src/styles/popover.scss +8 -0
@@ -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 | 28>;
17
+ size: import("@angular/core").InputSignal<22 | 18 | 32 | 74 | 160 | 28>;
18
18
  /**
19
19
  * Whether the avatar should be rounded or not.
20
20
  * @type {boolean}
@@ -35,6 +35,11 @@ export declare class AvatarComponent {
35
35
  * @type {number}
36
36
  */
37
37
  customHoverSize: import("@angular/core").InputSignal<number | undefined>;
38
+ /**
39
+ * Whether the avatar should be hovered or not.
40
+ * @type {boolean}
41
+ */
42
+ hover: import("@angular/core").InputSignal<boolean>;
38
43
  static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "cai-avatar", never, { "driver": { "alias": "driver"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "inverse": { "alias": "inverse"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "customHoverSize": { "alias": "customHoverSize"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "cai-avatar", never, { "driver": { "alias": "driver"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "inverse": { "alias": "inverse"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "customHoverSize": { "alias": "customHoverSize"; "required": false; "isSignal": true; }; "hover": { "alias": "hover"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
40
45
  }
@@ -8,11 +8,12 @@ interface AvatarClassesInput {
8
8
  inverse: boolean;
9
9
  rounded: boolean;
10
10
  customHoverSize?: number;
11
+ hover: boolean;
11
12
  }
12
13
  export declare class AvatarClassesPipe implements PipeTransform {
13
14
  private readonly colorMap;
14
15
  private readonly sizeMap;
15
- transform({ size, color, isOwner, inverse, rounded, customHoverSize, }: AvatarClassesInput): string;
16
+ transform({ size, color, isOwner, inverse, rounded, customHoverSize, hover, }: AvatarClassesInput): string;
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<AvatarClassesPipe, never>;
17
18
  static ɵpipe: i0.ɵɵPipeDeclaration<AvatarClassesPipe, "avatarClasses", true>;
18
19
  }
@@ -8,6 +8,7 @@ export declare class DispatchDropdownComponent {
8
8
  inputRef: ElementRef<HTMLInputElement>;
9
9
  selectedOption: import("@angular/core").InputSignal<IDispatchDropdownOption | null>;
10
10
  options: import("@angular/core").InputSignal<IDispatchDropdownOption[]>;
11
+ optionLabel: import("@angular/core").InputSignal<string>;
11
12
  config: import("@angular/core").InputSignal<IDispatchDropdownConfig>;
12
13
  data: import("@angular/core").InputSignal<unknown>;
13
14
  isLocked: import("@angular/core").InputSignal<boolean>;
@@ -15,6 +16,8 @@ export declare class DispatchDropdownComponent {
15
16
  isDisabled: import("@angular/core").InputSignal<boolean>;
16
17
  disabledTooltip: import("@angular/core").InputSignal<string>;
17
18
  contentTemplate: import("@angular/core").InputSignal<TemplateRef<unknown> | null>;
19
+ optionTemplateLeft: import("@angular/core").InputSignal<TemplateRef<unknown> | null>;
20
+ optionTemplateRight: import("@angular/core").InputSignal<TemplateRef<unknown> | null>;
18
21
  onSelectionChange: import("@angular/core").OutputEmitterRef<IDispatchDropdownOption | null>;
19
22
  onRemove: import("@angular/core").OutputEmitterRef<void>;
20
23
  onAddNew: import("@angular/core").OutputEmitterRef<void>;
@@ -32,5 +35,5 @@ export declare class DispatchDropdownComponent {
32
35
  handlePrimaryButtonClick(event: MouseEvent): void;
33
36
  handleAddNew(): void;
34
37
  static ɵfac: i0.ɵɵFactoryDeclaration<DispatchDropdownComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<DispatchDropdownComponent, "cai-dispatch-dropdown", never, { "selectedOption": { "alias": "selectedOption"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "isLocked": { "alias": "isLocked"; "required": false; "isSignal": true; }; "hasNoRemoveButton": { "alias": "hasNoRemoveButton"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "disabledTooltip": { "alias": "disabledTooltip"; "required": false; "isSignal": true; }; "contentTemplate": { "alias": "contentTemplate"; "required": false; "isSignal": true; }; }, { "onSelectionChange": "onSelectionChange"; "onRemove": "onRemove"; "onAddNew": "onAddNew"; }, never, never, true, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<DispatchDropdownComponent, "cai-dispatch-dropdown", never, { "selectedOption": { "alias": "selectedOption"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "optionLabel": { "alias": "optionLabel"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "isLocked": { "alias": "isLocked"; "required": false; "isSignal": true; }; "hasNoRemoveButton": { "alias": "hasNoRemoveButton"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "disabledTooltip": { "alias": "disabledTooltip"; "required": false; "isSignal": true; }; "contentTemplate": { "alias": "contentTemplate"; "required": false; "isSignal": true; }; "optionTemplateLeft": { "alias": "optionTemplateLeft"; "required": false; "isSignal": true; }; "optionTemplateRight": { "alias": "optionTemplateRight"; "required": false; "isSignal": true; }; }, { "onSelectionChange": "onSelectionChange"; "onRemove": "onRemove"; "onAddNew": "onAddNew"; }, never, never, true, never>;
36
39
  }
@@ -1,4 +1,4 @@
1
1
  export interface IDispatchDropdownOption {
2
2
  id: number;
3
- name: string;
3
+ [key: string]: any;
4
4
  }
@@ -2,7 +2,7 @@ import { PipeTransform } from '@angular/core';
2
2
  import { IDispatchDropdownOption } from '../interfaces';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class DispatchSearchFilterPipe implements PipeTransform {
5
- transform(options: IDispatchDropdownOption[] | null | undefined, searchValue?: string, hasPagination?: boolean): IDispatchDropdownOption[];
5
+ transform(options: IDispatchDropdownOption[] | null | undefined, searchValue?: string, hasPagination?: boolean, optionLabel?: string): IDispatchDropdownOption[];
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<DispatchSearchFilterPipe, never>;
7
7
  static ɵpipe: i0.ɵɵPipeDeclaration<DispatchSearchFilterPipe, "dispatchSearchFilter", true>;
8
8
  }
@@ -11,6 +11,7 @@ export declare class DocumentPreviewComponent implements OnChanges, OnInit {
11
11
  coverMinimalMode: boolean;
12
12
  cdlDetailsMode: boolean;
13
13
  noTagOption: boolean;
14
+ drawerMode: boolean;
14
15
  tags: import("@angular/core").InputSignal<DocumentTag[]>;
15
16
  onFileNameChange: EventEmitter<{
16
17
  fileName: string;
@@ -97,5 +98,5 @@ export declare class DocumentPreviewComponent implements OnChanges, OnInit {
97
98
  */
98
99
  handleShare(): void;
99
100
  static ɵfac: i0.ɵɵFactoryDeclaration<DocumentPreviewComponent, never>;
100
- static ɵcmp: i0.ɵɵComponentDeclaration<DocumentPreviewComponent, "cai-document-preview", never, { "coverMinimalMode": { "alias": "coverMinimalMode"; "required": false; }; "cdlDetailsMode": { "alias": "cdlDetailsMode"; "required": false; }; "noTagOption": { "alias": "noTagOption"; "required": false; }; "tags": { "alias": "tags"; "required": false; "isSignal": true; }; "file": { "alias": "file"; "required": true; "isSignal": true; }; "viewMode": { "alias": "viewMode"; "required": true; "isSignal": true; }; }, { "onFileNameChange": "onFileNameChange"; "onDelete": "onDelete"; "onDownload": "onDownload"; "onTagChange": "onTagChange"; }, never, never, true, never>;
101
+ static ɵcmp: i0.ɵɵComponentDeclaration<DocumentPreviewComponent, "cai-document-preview", never, { "coverMinimalMode": { "alias": "coverMinimalMode"; "required": false; }; "cdlDetailsMode": { "alias": "cdlDetailsMode"; "required": false; }; "noTagOption": { "alias": "noTagOption"; "required": false; }; "drawerMode": { "alias": "drawerMode"; "required": false; }; "tags": { "alias": "tags"; "required": false; "isSignal": true; }; "file": { "alias": "file"; "required": true; "isSignal": true; }; "viewMode": { "alias": "viewMode"; "required": true; "isSignal": true; }; }, { "onFileNameChange": "onFileNameChange"; "onDelete": "onDelete"; "onDownload": "onDownload"; "onTagChange": "onTagChange"; }, never, never, true, never>;
101
102
  }
@@ -39,6 +39,7 @@ export declare class DropZoneComponent {
39
39
  deletedFileIds: import("@angular/core").InputSignal<number[]>;
40
40
  maxCountFiles: import("@angular/core").InputSignal<number>;
41
41
  isDetailsSlider: import("@angular/core").InputSignal<boolean>;
42
+ isDrawerMode: import("@angular/core").InputSignal<boolean>;
42
43
  dropZoneVariant: typeof DropZoneVariant;
43
44
  /**
44
45
  * A input that holds an FormGroup object that is used to update the form validity when the crop mode is closed.
@@ -130,6 +131,12 @@ export declare class DropZoneComponent {
130
131
  * @param event The `DragEvent` object containing the dropped files.
131
132
  */
132
133
  onDrop(event: DragEvent): void;
134
+ /**
135
+ * Checks if the drag event contains files (not text or other selectable content).
136
+ * @param event The DragEvent to check
137
+ * @returns true if files are being dragged, false otherwise
138
+ */
139
+ private isFileDrag;
133
140
  onDragOver(event: DragEvent): void;
134
141
  onDragLeave(event: DragEvent): void;
135
142
  onDragEnter(event: DragEvent): void;
@@ -210,5 +217,5 @@ export declare class DropZoneComponent {
210
217
  setInvalid(): void;
211
218
  clearInvalid(): void;
212
219
  static ɵfac: i0.ɵɵFactoryDeclaration<DropZoneComponent, never>;
213
- static ɵcmp: i0.ɵɵComponentDeclaration<DropZoneComponent, "cai-drop-zone", never, { "crop": { "alias": "crop"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "files": { "alias": "files"; "required": false; "isSignal": true; }; "deletedFileIds": { "alias": "deletedFileIds"; "required": false; "isSignal": true; }; "maxCountFiles": { "alias": "maxCountFiles"; "required": false; "isSignal": true; }; "isDetailsSlider": { "alias": "isDetailsSlider"; "required": false; "isSignal": true; }; "parentForm": { "alias": "parentForm"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "documentTags": { "alias": "documentTags"; "required": false; "isSignal": true; }; "excludedFileTypes": { "alias": "excludedFileTypes"; "required": false; "isSignal": true; }; "fileTypes": { "alias": "fileTypes"; "required": false; "isSignal": true; }; }, { "onDeletedFileIds": "onDeletedFileIds"; "docsChange": "docsChange"; }, never, never, true, never>;
220
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropZoneComponent, "cai-drop-zone", never, { "crop": { "alias": "crop"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "files": { "alias": "files"; "required": false; "isSignal": true; }; "deletedFileIds": { "alias": "deletedFileIds"; "required": false; "isSignal": true; }; "maxCountFiles": { "alias": "maxCountFiles"; "required": false; "isSignal": true; }; "isDetailsSlider": { "alias": "isDetailsSlider"; "required": false; "isSignal": true; }; "isDrawerMode": { "alias": "isDrawerMode"; "required": false; "isSignal": true; }; "parentForm": { "alias": "parentForm"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "documentTags": { "alias": "documentTags"; "required": false; "isSignal": true; }; "excludedFileTypes": { "alias": "excludedFileTypes"; "required": false; "isSignal": true; }; "fileTypes": { "alias": "fileTypes"; "required": false; "isSignal": true; }; }, { "onDeletedFileIds": "onDeletedFileIds"; "docsChange": "docsChange"; }, never, never, true, never>;
214
221
  }
@@ -56,10 +56,12 @@ export declare class CaiInputDatetimePickerComponent implements AfterViewInit, C
56
56
  writeValue(obj: InputChangeValue): void;
57
57
  registerOnTouched(fn: () => void): void;
58
58
  blurInput(): void;
59
+ preventInput(event: Event): void;
59
60
  ngAfterViewInit(): void;
60
61
  get getSuperControl(): import("@angular/forms").AbstractControl<any, any> | null;
61
62
  get isRequired(): boolean | undefined;
62
63
  onDatePaste(event: ClipboardEvent): void;
64
+ private processPastedDate;
63
65
  changeSelection(e: any, noPreventDefault?: boolean): void;
64
66
  changeSelectionTwo(event: KeyboardEvent, noPreventDefault?: boolean): void;
65
67
  private isNumber;
@@ -102,6 +104,7 @@ export declare class CaiInputDatetimePickerComponent implements AfterViewInit, C
102
104
  resetDateTimeInputs(): void;
103
105
  setTimePickerTime(): void;
104
106
  handleCloseTooltip(): void;
107
+ onRefocusInput(): void;
105
108
  ngOnDestroy(): void;
106
109
  static ɵfac: i0.ɵɵFactoryDeclaration<CaiInputDatetimePickerComponent, [{ self: true; }, null]>;
107
110
  static ɵcmp: i0.ɵɵComponentDeclaration<CaiInputDatetimePickerComponent, "cai-input-datetime-picker", never, { "id": { "alias": "id"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "formFormat": { "alias": "formFormat"; "required": false; }; }, { "clearInputEvent": "clear"; "blurInputEvent": "blurInput"; "selectLastOneForSelectionEmitter": "selectLastOneForSelectionEmitter"; "selectLastOneAfterMouseUpEmitter": "selectLastOneAfterMouseUpEmitter"; "onDatePasteEmitter": "onDatePasteEmitter"; "onFocusEmitter": "onFocusEmitter"; "changeSelectionEmmiter": "changeSelectionEmmiter"; "setSelectionEmmiter": "setSelectionEmmiter"; }, never, never, true, never>;
@@ -6,7 +6,9 @@ import { ICaInput } from './config';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class CaCustomDatetimePickersComponent implements OnInit, OnDestroy, AfterViewInit {
8
8
  private calendarService;
9
- dateTime: Date;
9
+ private _dateTime;
10
+ set dateTime(value: Date);
11
+ get dateTime(): Date;
10
12
  ref: ViewContainerRef;
11
13
  _inputConfig: ICaInput;
12
14
  set inputConfig(config: ICaInput);
@@ -38,6 +40,7 @@ export declare class CaCustomDatetimePickersComponent implements OnInit, OnDestr
38
40
  constructor(calendarService: CalendarDateTimePickerService);
39
41
  set calendarType(calendarType: string);
40
42
  set placeholder(placeholder: string);
43
+ onRefocusInput: EventEmitter<Event>;
41
44
  ngOnInit(): void;
42
45
  ngAfterViewInit(): void;
43
46
  initDateChangedListener(): void;
@@ -45,6 +48,7 @@ export declare class CaCustomDatetimePickersComponent implements OnInit, OnDestr
45
48
  setListPreview(value: string): void;
46
49
  inputInFocus(): void;
47
50
  inputBlur(): void;
51
+ refocusInput(event: Event): void;
48
52
  changeOpened(): void;
49
53
  setTime(event: Event): void;
50
54
  setDefaultTime(event: Event): void;
@@ -54,5 +58,5 @@ export declare class CaCustomDatetimePickersComponent implements OnInit, OnDestr
54
58
  checkForScrolledType(type: string): void;
55
59
  ngOnDestroy(): void;
56
60
  static ɵfac: i0.ɵɵFactoryDeclaration<CaCustomDatetimePickersComponent, never>;
57
- static ɵcmp: i0.ɵɵComponentDeclaration<CaCustomDatetimePickersComponent, "cai-custom-datetime-pickers", never, { "dateTime": { "alias": "dateTime"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "calendarType": { "alias": "calendarType"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "closePopover": "closePopover"; }, never, never, true, never>;
61
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaCustomDatetimePickersComponent, "cai-custom-datetime-pickers", never, { "dateTime": { "alias": "dateTime"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "calendarType": { "alias": "calendarType"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "closePopover": "closePopover"; "onRefocusInput": "onRefocusInput"; }, never, never, true, never>;
58
62
  }
@@ -7,6 +7,7 @@ export declare class CaCustomDateTimePickersDateCalendarsComponent implements On
7
7
  dateTime: Date;
8
8
  isMonthAndYearOnly: boolean;
9
9
  setListPreviewValue: EventEmitter<any>;
10
+ onRefocusInput: EventEmitter<any>;
10
11
  private currentYear;
11
12
  private currentMonth;
12
13
  private activeMonth;
@@ -32,7 +33,8 @@ export declare class CaCustomDateTimePickersDateCalendarsComponent implements On
32
33
  setListPreviewToFull(num: number): void;
33
34
  setAutoIndex(num: number): void;
34
35
  selectCurrentDay(event: Event): void;
36
+ refocusInput(event: Event): void;
35
37
  ngOnDestroy(): void;
36
38
  static ɵfac: i0.ɵɵFactoryDeclaration<CaCustomDateTimePickersDateCalendarsComponent, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<CaCustomDateTimePickersDateCalendarsComponent, "cai-custom-datetime-pickers-date-calendars", never, { "listPreview": { "alias": "listPreview"; "required": false; }; "dateTime": { "alias": "dateTime"; "required": false; }; "isMonthAndYearOnly": { "alias": "isMonthAndYearOnly"; "required": false; }; }, { "setListPreviewValue": "setListPreviewValue"; }, never, never, true, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaCustomDateTimePickersDateCalendarsComponent, "cai-custom-datetime-pickers-date-calendars", never, { "listPreview": { "alias": "listPreview"; "required": false; }; "dateTime": { "alias": "dateTime"; "required": false; }; "isMonthAndYearOnly": { "alias": "isMonthAndYearOnly"; "required": false; }; }, { "setListPreviewValue": "setListPreviewValue"; "onRefocusInput": "onRefocusInput"; }, never, never, true, never>;
38
40
  }
@@ -5,6 +5,7 @@ export interface Contact {
5
5
  email?: string | null;
6
6
  phone?: string | null;
7
7
  contactName?: string | null;
8
+ fullName?: string | null;
8
9
  extensionPhone?: string | null;
9
10
  department?: Department | null;
10
11
  }
@@ -0,0 +1 @@
1
+ export * from './text-area.interface';
@@ -0,0 +1,4 @@
1
+ export interface ITextAreaConfig {
2
+ name?: string;
3
+ max?: number;
4
+ }
@@ -0,0 +1,85 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { ControlValueAccessor, NgControl } from '@angular/forms';
3
+ import { NgbTooltip } from '@ng-bootstrap/ng-bootstrap';
4
+ import { ITextAreaConfig } from './interfaces';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * This component is a text area component that integrates with Angular forms.
8
+ */
9
+ export declare class TextAreaComponent implements ControlValueAccessor {
10
+ ngControl: NgControl | null;
11
+ cancelTooltip: NgbTooltip;
12
+ textArea: ElementRef<HTMLTextAreaElement>;
13
+ /**
14
+ * Configuration object for the text area's behavior and appearance.
15
+ */
16
+ config: import("@angular/core").InputSignal<ITextAreaConfig>;
17
+ /**
18
+ * Holds the internal value of the text area.
19
+ */
20
+ value: import("@angular/core").WritableSignal<string>;
21
+ /**
22
+ * Internal signal to track the disabled state of the text area.
23
+ */
24
+ disabled: import("@angular/core").WritableSignal<boolean>;
25
+ /**
26
+ * A signal that indicates whether the text area is focused.
27
+ */
28
+ focused: import("@angular/core").WritableSignal<boolean>;
29
+ onBlur: import("@angular/core").OutputEmitterRef<void>;
30
+ onFocused: import("@angular/core").OutputEmitterRef<void>;
31
+ onValueChange: import("@angular/core").OutputEmitterRef<string | null>;
32
+ onClearEvent: import("@angular/core").OutputEmitterRef<void>;
33
+ /**
34
+ * Constructor for the TextAreaComponent.
35
+ * It injects NgControl to integrate with Angular's forms API.
36
+ * @param ngControl - Optional NgControl instance for form integration.
37
+ */
38
+ constructor(ngControl: NgControl | null);
39
+ onChange: (_: any) => void;
40
+ onTouched: () => void;
41
+ /**
42
+ * Writes a new value to the element. (ControlValueAccessor)
43
+ */
44
+ writeValue(value: any): void;
45
+ registerOnChange(fn: any): void;
46
+ registerOnTouched(fn: any): void;
47
+ setDisabledState(isDisabled: boolean): void;
48
+ /**
49
+ * Handles the native 'input' event from the HTMLTextAreaElement.
50
+ * Updates the component's internal value and notifies Angular forms.
51
+ * @param event - The input event object.
52
+ */
53
+ onInput(event: Event): void;
54
+ /**
55
+ * Dispatches the onChange event with the provided value.
56
+ * @param value - The value to pass to onChange
57
+ */
58
+ dispatchOnChange(value: any): void;
59
+ /**
60
+ * Sets the value in the actual HTML text area element.
61
+ */
62
+ setValue(): void;
63
+ /**
64
+ * Focuses the text area element.
65
+ */
66
+ focus(event?: MouseEvent): void;
67
+ /**
68
+ * Called when the text area receives focus.
69
+ */
70
+ onFocus(): void;
71
+ /**
72
+ * Called when the text area loses focus.
73
+ */
74
+ dispatchOnBlur(): void;
75
+ /**
76
+ * Resets the text area value to an empty string.
77
+ */
78
+ reset(event?: MouseEvent): void;
79
+ /**
80
+ * Handles the clear button click.
81
+ */
82
+ onClear(event: MouseEvent): void;
83
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaComponent, [{ optional: true; self: true; }]>;
84
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaComponent, "cai-text-area", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; }, { "onBlur": "onBlur"; "onFocused": "onFocused"; "onValueChange": "onValueChange"; "onClearEvent": "onClearEvent"; }, never, never, true, never>;
85
+ }
@@ -8,11 +8,11 @@ export declare const INPUT_CHARACTER_SETS: {
8
8
  readonly QUOTES: readonly ["\"", "'", "`"];
9
9
  readonly WHITESPACE: readonly [" ", "\t"];
10
10
  readonly DBA_SPECIAL: readonly ["!", "#", "'", "$", "&", "%", "(", ")", "*", "+", ",", "-", ".", "/", ":", ";", "=", ">", "?", "[", "]", "\\", "^"];
11
- readonly ALPHANUMERIC: ("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z")[];
11
+ readonly ALPHANUMERIC: ("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "v" | "a" | "b" | "i" | "p" | "q" | "s" | "u" | "g" | "c" | "d" | "e" | "f" | "h" | "j" | "k" | "l" | "m" | "n" | "o" | "r" | "t" | "w" | "x" | "y" | "z")[];
12
12
  readonly ALPHANUMERIC_WITH_SPACES: string[];
13
13
  readonly EMAIL_SPECIAL: readonly ["@", ".", "-", "_", "+"];
14
- readonly EMAIL_CHARACTERS: ("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "." | "@" | "+" | "-" | "_")[];
15
- readonly SPECIAL_EXCEPT_NAME_FRIENDLY: ("." | "," | "!" | "?" | ";" | ":" | "@" | "#" | "$" | "%" | "&" | "*" | "+" | "-" | "=" | "_" | "|" | "~" | "`" | "^" | "<" | ">" | "/" | "\\" | "(" | ")" | "[" | "]" | "{" | "}" | "\"" | "'")[];
16
- readonly NAME_CHARACTER_EXCLUSIONS: ("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "." | "," | "!" | "?" | ";" | ":" | "@" | "#" | "$" | "%" | "&" | "*" | "+" | "-" | "=" | "_" | "|" | "~" | "`" | "^" | "<" | ">" | "/" | "\\" | "(" | ")" | "[" | "]" | "{" | "}" | "\"" | "'")[];
17
- readonly SPECIAL: ("." | "," | "!" | "?" | ";" | ":" | "@" | "#" | "$" | "%" | "&" | "*" | "+" | "-" | "=" | "_" | "|" | "~" | "`" | "^" | "<" | ">" | "/" | "\\" | "(" | ")" | "[" | "]" | "{" | "}" | "\"" | "'")[];
14
+ readonly EMAIL_CHARACTERS: ("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "_" | "v" | "a" | "b" | "i" | "p" | "q" | "s" | "u" | "g" | "." | "c" | "d" | "e" | "f" | "h" | "j" | "k" | "l" | "m" | "n" | "o" | "r" | "t" | "w" | "x" | "y" | "z" | "@" | "+" | "-")[];
15
+ readonly SPECIAL_EXCEPT_NAME_FRIENDLY: ("*" | ":" | "/" | "_" | "." | "," | "!" | "?" | ";" | "@" | "#" | "$" | "%" | "&" | "+" | "-" | "=" | "|" | "~" | "`" | "^" | "<" | ">" | "\\" | "(" | ")" | "[" | "]" | "{" | "}" | "\"" | "'")[];
16
+ readonly NAME_CHARACTER_EXCLUSIONS: ("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "*" | ":" | "/" | "_" | "." | "," | "!" | "?" | ";" | "@" | "#" | "$" | "%" | "&" | "+" | "-" | "=" | "|" | "~" | "`" | "^" | "<" | ">" | "\\" | "(" | ")" | "[" | "]" | "{" | "}" | "\"" | "'")[];
17
+ readonly SPECIAL: ("*" | ":" | "/" | "_" | "." | "," | "!" | "?" | ";" | "@" | "#" | "$" | "%" | "&" | "+" | "-" | "=" | "|" | "~" | "`" | "^" | "<" | ">" | "\\" | "(" | ")" | "[" | "]" | "{" | "}" | "\"" | "'")[];
18
18
  };