carriera-intern-components 1.1.56 → 1.1.58
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/copy/copy.component.d.ts +3 -1
- package/app/components/dispatch-dropdown/dispatch-dropdown.component.d.ts +23 -3
- package/app/components/dispatch-dropdown/helpers/dispatch-dropdown.helper.d.ts +43 -0
- package/app/components/dispatch-dropdown/interfaces/dispatch-dropdown-config.interface.d.ts +6 -0
- package/app/components/dispatch-dropdown/interfaces/dispatch-dropdown-option.interface.d.ts +1 -1
- package/app/components/dispatch-location/dispatch-location.component.d.ts +43 -0
- package/app/components/dispatch-location/interfaces/index.d.ts +1 -0
- package/app/components/dispatch-location/interfaces/last-status-data.interface.d.ts +6 -0
- package/app/components/dispatch-location/pipes/last-status-format.pipe.d.ts +8 -0
- package/app/components/document-preview/document-preview.component.d.ts +2 -1
- package/app/components/drop-zone/drop-zone.component.d.ts +7 -5
- package/app/components/input/input.component.d.ts +1 -0
- package/app/components/input-address/models/address-data.model.d.ts +3 -3
- package/app/utils/constants/input-character-sets.constants.d.ts +5 -5
- package/fesm2022/carriera-intern-components.mjs +548 -62
- package/fesm2022/carriera-intern-components.mjs.map +1 -1
- package/package.json +1 -1
- package/public/assets/icons/load/cai-parking.svg +3 -0
- package/public/assets/json/icons.json +4 -0
- package/public-api.d.ts +1 -0
- package/src/styles/_variables.scss +3 -0
- package/src/styles/popover.scss +24 -22
|
@@ -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<
|
|
17
|
+
size: import("@angular/core").InputSignal<18 | 22 | 32 | 74 | 160 | 28>;
|
|
18
18
|
/**
|
|
19
19
|
* Whether the avatar should be rounded or not.
|
|
20
20
|
* @type {boolean}
|
|
@@ -12,7 +12,9 @@ export declare class CopyComponent {
|
|
|
12
12
|
iconSize: import("@angular/core").InputSignal<number>;
|
|
13
13
|
iconColor: import("@angular/core").InputSignal<string | null>;
|
|
14
14
|
tooltipClass: import("@angular/core").InputSignal<string | null>;
|
|
15
|
+
tooltipPlacement: import("@angular/core").InputSignal<"top" | "bottom">;
|
|
15
16
|
inverse: import("@angular/core").InputSignal<boolean>;
|
|
17
|
+
hasNoIcon: import("@angular/core").InputSignal<boolean>;
|
|
16
18
|
copied: import("@angular/core").WritableSignal<boolean>;
|
|
17
19
|
eGeneralActions: typeof eGeneralActions;
|
|
18
20
|
eAlignment: typeof eAlignment;
|
|
@@ -20,5 +22,5 @@ export declare class CopyComponent {
|
|
|
20
22
|
onCopy(event: MouseEvent): void;
|
|
21
23
|
resetCopied(): void;
|
|
22
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<CopyComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CopyComponent, "cai-copy", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "alignment": { "alias": "alignment"; "required": false; "isSignal": true; }; "copyTooltip": { "alias": "copyTooltip"; "required": false; "isSignal": true; }; "copyArea": { "alias": "copyArea"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconSize": { "alias": "iconSize"; "required": false; "isSignal": true; }; "iconColor": { "alias": "iconColor"; "required": false; "isSignal": true; }; "tooltipClass": { "alias": "tooltipClass"; "required": false; "isSignal": true; }; "inverse": { "alias": "inverse"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CopyComponent, "cai-copy", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "alignment": { "alias": "alignment"; "required": false; "isSignal": true; }; "copyTooltip": { "alias": "copyTooltip"; "required": false; "isSignal": true; }; "copyArea": { "alias": "copyArea"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconSize": { "alias": "iconSize"; "required": false; "isSignal": true; }; "iconColor": { "alias": "iconColor"; "required": false; "isSignal": true; }; "tooltipClass": { "alias": "tooltipClass"; "required": false; "isSignal": true; }; "tooltipPlacement": { "alias": "tooltipPlacement"; "required": false; "isSignal": true; }; "inverse": { "alias": "inverse"; "required": false; "isSignal": true; }; "hasNoIcon": { "alias": "hasNoIcon"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
24
26
|
}
|
|
@@ -8,8 +8,8 @@ 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>;
|
|
12
11
|
config: import("@angular/core").InputSignal<IDispatchDropdownConfig>;
|
|
12
|
+
isEditable: import("@angular/core").InputSignal<boolean>;
|
|
13
13
|
data: import("@angular/core").InputSignal<unknown>;
|
|
14
14
|
isLocked: import("@angular/core").InputSignal<boolean>;
|
|
15
15
|
hasNoRemoveButton: import("@angular/core").InputSignal<boolean>;
|
|
@@ -18,17 +18,34 @@ export declare class DispatchDropdownComponent {
|
|
|
18
18
|
contentTemplate: import("@angular/core").InputSignal<TemplateRef<unknown> | null>;
|
|
19
19
|
optionTemplateLeft: import("@angular/core").InputSignal<TemplateRef<unknown> | null>;
|
|
20
20
|
optionTemplateRight: import("@angular/core").InputSignal<TemplateRef<unknown> | null>;
|
|
21
|
+
noContentTemplate: import("@angular/core").InputSignal<TemplateRef<unknown> | null>;
|
|
22
|
+
hideDropdownMenu: import("@angular/core").InputSignal<boolean>;
|
|
21
23
|
onSelectionChange: import("@angular/core").OutputEmitterRef<IDispatchDropdownOption | null>;
|
|
22
24
|
onRemove: import("@angular/core").OutputEmitterRef<void>;
|
|
23
25
|
onAddNew: import("@angular/core").OutputEmitterRef<void>;
|
|
26
|
+
onSearch: import("@angular/core").OutputEmitterRef<string>;
|
|
27
|
+
onToggleDropdown: import("@angular/core").OutputEmitterRef<boolean>;
|
|
24
28
|
searchValue: import("@angular/core").WritableSignal<string>;
|
|
25
29
|
closing: import("@angular/core").WritableSignal<boolean>;
|
|
26
30
|
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
27
31
|
dropdownOpen: import("@angular/core").WritableSignal<boolean>;
|
|
32
|
+
collapsedGroups: import("@angular/core").WritableSignal<string[]>;
|
|
33
|
+
private closeTimeout;
|
|
34
|
+
groupMaxHeightStyle: import("@angular/core").Signal<string>;
|
|
35
|
+
maxHeightStyle: import("@angular/core").Signal<string>;
|
|
36
|
+
containerHeightStyle: import("@angular/core").Signal<string>;
|
|
28
37
|
filteredOptions: import("@angular/core").Signal<IDispatchDropdownOption[]>;
|
|
38
|
+
filteredGroupedOptions: import("@angular/core").Signal<{
|
|
39
|
+
groupName: any;
|
|
40
|
+
highlightedGroupName: any;
|
|
41
|
+
highlightedOptions: any;
|
|
42
|
+
isCollapsed: boolean;
|
|
43
|
+
isRelevant: any;
|
|
44
|
+
id?: number;
|
|
45
|
+
}[]>;
|
|
29
46
|
highlightedOptions: import("@angular/core").Signal<{
|
|
30
47
|
highlighted: any;
|
|
31
|
-
id
|
|
48
|
+
id?: number;
|
|
32
49
|
}[]>;
|
|
33
50
|
private updateContainerWidth;
|
|
34
51
|
private closeDropdown;
|
|
@@ -36,9 +53,12 @@ export declare class DispatchDropdownComponent {
|
|
|
36
53
|
handleFocus(): void;
|
|
37
54
|
handleClick($event?: MouseEvent): void;
|
|
38
55
|
handleBlur(): void;
|
|
56
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
39
57
|
handleOption(event: MouseEvent, option: IDispatchDropdownOption): void;
|
|
40
58
|
handlePrimaryButtonClick(event: MouseEvent): void;
|
|
59
|
+
handleSearch(event: Event): void;
|
|
41
60
|
handleAddNew(): void;
|
|
61
|
+
toggleGroup(event: MouseEvent, groupName?: string): void;
|
|
42
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<DispatchDropdownComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DispatchDropdownComponent, "cai-dispatch-dropdown", never, { "selectedOption": { "alias": "selectedOption"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "
|
|
63
|
+
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; }; "isEditable": { "alias": "isEditable"; "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; }; "noContentTemplate": { "alias": "noContentTemplate"; "required": false; "isSignal": true; }; "hideDropdownMenu": { "alias": "hideDropdownMenu"; "required": false; "isSignal": true; }; }, { "onSelectionChange": "onSelectionChange"; "onRemove": "onRemove"; "onAddNew": "onAddNew"; "onSearch": "onSearch"; "onToggleDropdown": "onToggleDropdown"; }, never, never, true, never>;
|
|
44
64
|
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { IDispatchDropdownConfig, IDispatchDropdownOption } from '../interfaces';
|
|
2
|
+
export declare class DispatchDropdownHelper {
|
|
3
|
+
/**
|
|
4
|
+
* Calculate the max height for grouped options dropdown menu
|
|
5
|
+
*/
|
|
6
|
+
static calculateGroupMaxHeight(groups: Array<{
|
|
7
|
+
highlightedOptions?: unknown[];
|
|
8
|
+
isCollapsed?: boolean;
|
|
9
|
+
}>, hasNoAddNew?: boolean): string;
|
|
10
|
+
/**
|
|
11
|
+
* Calculate the max height for regular options dropdown menu
|
|
12
|
+
*/
|
|
13
|
+
static calculateMaxHeight(optionsLength: number, hasNoAddNew?: boolean): string;
|
|
14
|
+
/**
|
|
15
|
+
* Filter grouped options based on search value
|
|
16
|
+
* Searches both group labels and option labels
|
|
17
|
+
* Never removes groups - instead sorts by relevancy
|
|
18
|
+
*/
|
|
19
|
+
static filterGroupedOptions(options: IDispatchDropdownOption[], searchValue: string, config: IDispatchDropdownConfig): IDispatchDropdownOption[];
|
|
20
|
+
/**
|
|
21
|
+
* Process filtered options and add highlighting for grouped display
|
|
22
|
+
*/
|
|
23
|
+
static processGroupedOptionsWithHighlighting(options: IDispatchDropdownOption[], searchValue: string, collapsedGroups: string[], config: IDispatchDropdownConfig): {
|
|
24
|
+
groupName: any;
|
|
25
|
+
highlightedGroupName: any;
|
|
26
|
+
highlightedOptions: any;
|
|
27
|
+
isCollapsed: boolean;
|
|
28
|
+
isRelevant: any;
|
|
29
|
+
id?: number;
|
|
30
|
+
}[];
|
|
31
|
+
/**
|
|
32
|
+
* Calculate which groups should be collapsed based on search relevancy
|
|
33
|
+
* Returns the updated collapsedGroups array
|
|
34
|
+
*/
|
|
35
|
+
static calculateCollapsedGroupsForSearch(options: IDispatchDropdownOption[], searchValue: string, config: IDispatchDropdownConfig): string[];
|
|
36
|
+
/**
|
|
37
|
+
* Add highlighting to options based on search value
|
|
38
|
+
*/
|
|
39
|
+
static highlightOptions(options: IDispatchDropdownOption[], searchValue: string, optionLabel: string): {
|
|
40
|
+
highlighted: any;
|
|
41
|
+
id?: number;
|
|
42
|
+
}[];
|
|
43
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { IDispatchDropdownConfig } from '../dispatch-dropdown/interfaces';
|
|
3
|
+
import { ILastStatusData } from './interfaces';
|
|
4
|
+
import { AddressData, AddressEntity } from '../input-address/models/address-data.model';
|
|
5
|
+
import { AddressList } from '../input-address/models/address-list.model';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class DispatchLocationComponent implements OnInit, OnDestroy {
|
|
8
|
+
id: import("@angular/core").InputSignal<string>;
|
|
9
|
+
locationData: import("@angular/core").InputSignal<AddressEntity | null>;
|
|
10
|
+
lastStatusData: import("@angular/core").InputSignal<ILastStatusData | null>;
|
|
11
|
+
isParking: import("@angular/core").InputSignal<boolean>;
|
|
12
|
+
isEditable: import("@angular/core").InputSignal<boolean>;
|
|
13
|
+
set receivedAddressData(value: AddressData | null);
|
|
14
|
+
set receivedAddressList(value: {
|
|
15
|
+
addresses?: string[];
|
|
16
|
+
} | null);
|
|
17
|
+
set parkingList(value: any[]);
|
|
18
|
+
selectedAddress: import("@angular/core").OutputEmitterRef<any>;
|
|
19
|
+
sentAddressData: import("@angular/core").OutputEmitterRef<any>;
|
|
20
|
+
sentAddressValue: import("@angular/core").OutputEmitterRef<any>;
|
|
21
|
+
onClear: import("@angular/core").OutputEmitterRef<void>;
|
|
22
|
+
onToggleDropdown: import("@angular/core").OutputEmitterRef<boolean>;
|
|
23
|
+
config: IDispatchDropdownConfig;
|
|
24
|
+
options: AddressList[];
|
|
25
|
+
addressList: AddressList[];
|
|
26
|
+
currentAddressData: AddressData | null;
|
|
27
|
+
isParkingAddressSelected: boolean;
|
|
28
|
+
isLoading: import("@angular/core").WritableSignal<boolean>;
|
|
29
|
+
hideDropdownMenu: import("@angular/core").WritableSignal<boolean>;
|
|
30
|
+
private _parkingList;
|
|
31
|
+
private searchLayers;
|
|
32
|
+
private destroy$;
|
|
33
|
+
private searchSubject$;
|
|
34
|
+
ngOnInit(): void;
|
|
35
|
+
ngOnDestroy(): void;
|
|
36
|
+
private initSearchListener;
|
|
37
|
+
private filterParkingByCity;
|
|
38
|
+
handleSearch(event: string): void;
|
|
39
|
+
handleAddressSelect(selectedOption: any): void;
|
|
40
|
+
handleToggleDropdown(event: boolean): void;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DispatchLocationComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DispatchLocationComponent, "cai-dispatch-location", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "locationData": { "alias": "locationData"; "required": false; "isSignal": true; }; "lastStatusData": { "alias": "lastStatusData"; "required": false; "isSignal": true; }; "isParking": { "alias": "isParking"; "required": false; "isSignal": true; }; "isEditable": { "alias": "isEditable"; "required": false; "isSignal": true; }; "receivedAddressData": { "alias": "receivedAddressData"; "required": false; }; "receivedAddressList": { "alias": "receivedAddressList"; "required": false; }; "parkingList": { "alias": "parkingList"; "required": false; }; }, { "selectedAddress": "selectedAddress"; "sentAddressData": "sentAddressData"; "sentAddressValue": "sentAddressValue"; "onClear": "onClear"; "onToggleDropdown": "onToggleDropdown"; }, never, never, true, never>;
|
|
43
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './last-status-data.interface';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { ILastStatusData } from '../interfaces';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LastStatusFormatPipe implements PipeTransform {
|
|
5
|
+
transform(value: ILastStatusData | null | undefined): string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LastStatusFormatPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<LastStatusFormatPipe, "lastStatusFormat", true>;
|
|
8
|
+
}
|
|
@@ -12,6 +12,7 @@ export declare class DocumentPreviewComponent implements OnChanges, OnInit {
|
|
|
12
12
|
cdlDetailsMode: boolean;
|
|
13
13
|
noTagOption: boolean;
|
|
14
14
|
drawerMode: boolean;
|
|
15
|
+
isCoverDetails: boolean;
|
|
15
16
|
tags: import("@angular/core").InputSignal<DocumentTag[]>;
|
|
16
17
|
onFileNameChange: EventEmitter<{
|
|
17
18
|
fileName: string;
|
|
@@ -102,5 +103,5 @@ export declare class DocumentPreviewComponent implements OnChanges, OnInit {
|
|
|
102
103
|
handleShare(): void;
|
|
103
104
|
handleClickOnDocumentPreview(): void;
|
|
104
105
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentPreviewComponent, never>;
|
|
105
|
-
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"; "onDocumentPreviewClick": "onDocumentPreviewClick"; "onDelete": "onDelete"; "onDownload": "onDownload"; "onTagChange": "onTagChange"; }, never, never, true, never>;
|
|
106
|
+
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; }; "isCoverDetails": { "alias": "isCoverDetails"; "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"; "onDocumentPreviewClick": "onDocumentPreviewClick"; "onDelete": "onDelete"; "onDownload": "onDownload"; "onTagChange": "onTagChange"; }, never, never, true, never>;
|
|
106
107
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, SimpleChanges } 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';
|
|
@@ -13,13 +13,12 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
* drag-and-drop or a file input dialog. It displays previews of the
|
|
14
14
|
* selected files in a carousel.
|
|
15
15
|
*/
|
|
16
|
-
export declare class DropZoneComponent {
|
|
16
|
+
export declare class DropZoneComponent implements OnChanges {
|
|
17
17
|
private sanitizer;
|
|
18
18
|
zoomValue: import("@angular/core").WritableSignal<number>;
|
|
19
19
|
smallView: import("@angular/core").WritableSignal<boolean>;
|
|
20
20
|
cropHeight: import("@angular/core").WritableSignal<number>;
|
|
21
21
|
cropWidth: import("@angular/core").WritableSignal<number>;
|
|
22
|
-
private initialFilesProcessed;
|
|
23
22
|
driver: import("@angular/core").WritableSignal<Driver>;
|
|
24
23
|
transform: ImageTransform;
|
|
25
24
|
imageChangedEvent: Event | null;
|
|
@@ -35,11 +34,12 @@ export declare class DropZoneComponent {
|
|
|
35
34
|
crop: import("@angular/core").InputSignal<boolean>;
|
|
36
35
|
size: import("@angular/core").InputSignal<string | undefined>;
|
|
37
36
|
rounded: import("@angular/core").InputSignal<boolean>;
|
|
38
|
-
files: import("@angular/core").InputSignal<FileResponse[]>;
|
|
39
37
|
deletedFileIds: import("@angular/core").InputSignal<number[]>;
|
|
40
38
|
maxCountFiles: import("@angular/core").InputSignal<number>;
|
|
41
39
|
isDetailsSlider: import("@angular/core").InputSignal<boolean>;
|
|
42
40
|
isDrawerMode: import("@angular/core").InputSignal<boolean>;
|
|
41
|
+
isCoverDetails: import("@angular/core").InputSignal<boolean>;
|
|
42
|
+
files: FileResponse[];
|
|
43
43
|
dropZoneVariant: typeof DropZoneVariant;
|
|
44
44
|
onDeletedFileIds: EventEmitter<number[]>;
|
|
45
45
|
docsChange: EventEmitter<AppFile[]>;
|
|
@@ -87,6 +87,7 @@ export declare class DropZoneComponent {
|
|
|
87
87
|
*/
|
|
88
88
|
fileTypes: import("@angular/core").InputSignal<("mp4" | "mov" | "avi" | "pdf" | "jpg" | "jpeg" | "png" | "gif")[]>;
|
|
89
89
|
constructor(sanitizer: DomSanitizer);
|
|
90
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
90
91
|
ngOnInit(): void;
|
|
91
92
|
ngAfterViewInit(): void;
|
|
92
93
|
emitDocs(): void;
|
|
@@ -222,6 +223,7 @@ export declare class DropZoneComponent {
|
|
|
222
223
|
handleDocumentPreviewClick(event: {
|
|
223
224
|
fileId: number;
|
|
224
225
|
}): void;
|
|
226
|
+
downloadAllFiles(): void;
|
|
225
227
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropZoneComponent, never>;
|
|
226
|
-
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; }; "
|
|
228
|
+
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; }; "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; }; "isCoverDetails": { "alias": "isCoverDetails"; "required": false; "isSignal": true; }; "files": { "alias": "files"; "required": false; }; "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"; "onDocumentPreviewClick": "onDocumentPreviewClick"; }, never, never, true, never>;
|
|
227
229
|
}
|
|
@@ -330,6 +330,7 @@ export declare class InputComponent implements ControlValueAccessor, AfterViewIn
|
|
|
330
330
|
* Resets the input field's value to an empty string.
|
|
331
331
|
*/
|
|
332
332
|
reset(event?: MouseEvent): void;
|
|
333
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
333
334
|
onClearHover(value: boolean): void;
|
|
334
335
|
closeDropdown(addNew?: boolean): void;
|
|
335
336
|
/**
|
|
@@ -12,8 +12,8 @@ export interface AddressEntity {
|
|
|
12
12
|
addressUnit?: string | null;
|
|
13
13
|
}
|
|
14
14
|
export interface AddressData {
|
|
15
|
-
address
|
|
16
|
-
longLat?: LongLat;
|
|
17
|
-
valid
|
|
15
|
+
address?: AddressEntity;
|
|
16
|
+
longLat?: LongLat | null;
|
|
17
|
+
valid?: boolean;
|
|
18
18
|
isParking?: boolean;
|
|
19
19
|
}
|
|
@@ -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" | "
|
|
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")[];
|
|
12
12
|
readonly ALPHANUMERIC_WITH_SPACES: string[];
|
|
13
13
|
readonly EMAIL_SPECIAL: readonly ["@", ".", "-", "_", "+"];
|
|
14
|
-
readonly EMAIL_CHARACTERS: ("0" | "
|
|
15
|
-
readonly SPECIAL_EXCEPT_NAME_FRIENDLY: ("." | "
|
|
16
|
-
readonly NAME_CHARACTER_EXCLUSIONS: ("0" | "
|
|
17
|
-
readonly SPECIAL: ("." | "
|
|
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: ("." | "," | "!" | "?" | ";" | ":" | "@" | "#" | "$" | "%" | "&" | "*" | "+" | "-" | "=" | "_" | "|" | "~" | "`" | "^" | "<" | ">" | "/" | "\\" | "(" | ")" | "[" | "]" | "{" | "}" | "\"" | "'")[];
|
|
18
18
|
};
|