carriera-intern-components 1.1.70 → 1.1.72

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<160 | 18 | 22 | 32 | 74 | 28>;
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}
@@ -1,4 +1,4 @@
1
- import { ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
1
+ import { ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges, AfterViewChecked } 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';
@@ -14,7 +14,7 @@ import * as i0 from "@angular/core";
14
14
  * drag-and-drop or a file input dialog. It displays previews of the
15
15
  * selected files in a carousel.
16
16
  */
17
- export declare class DropZoneComponent implements OnChanges, OnDestroy {
17
+ export declare class DropZoneComponent implements OnChanges, OnDestroy, AfterViewChecked {
18
18
  private sanitizer;
19
19
  zoomValue: import("@angular/core").WritableSignal<number>;
20
20
  smallView: import("@angular/core").WritableSignal<boolean>;
@@ -34,8 +34,13 @@ export declare class DropZoneComponent implements OnChanges, OnDestroy {
34
34
  dragMode: import("@angular/core").WritableSignal<boolean>;
35
35
  onDragover: import("@angular/core").WritableSignal<boolean>;
36
36
  invalidFileSize: import("@angular/core").WritableSignal<boolean>;
37
+ isLoadingSkeleton: import("@angular/core").WritableSignal<boolean>;
38
+ skeletonCount: import("@angular/core").WritableSignal<number>;
37
39
  private lottieAnimation;
38
40
  temporaryImageFile: AppFile | null;
41
+ drawerViewportWidth: import("@angular/core").WritableSignal<number>;
42
+ private drawerRo;
43
+ private drawerEl;
39
44
  crop: import("@angular/core").InputSignal<boolean>;
40
45
  size: import("@angular/core").InputSignal<string | undefined>;
41
46
  rounded: import("@angular/core").InputSignal<boolean>;
@@ -62,6 +67,7 @@ export declare class DropZoneComponent implements OnChanges, OnDestroy {
62
67
  onDocumentDropZoneOpenChange: EventEmitter<boolean>;
63
68
  inputRange: ElementRef<HTMLInputElement>;
64
69
  dropZoneContainer: ElementRef<HTMLElement>;
70
+ docsViewport?: ElementRef<HTMLElement>;
65
71
  coverUrl: string;
66
72
  profileUrl: string;
67
73
  logoUrl: string;
@@ -104,6 +110,10 @@ export declare class DropZoneComponent implements OnChanges, OnDestroy {
104
110
  ngOnChanges(changes: SimpleChanges): void;
105
111
  ngOnInit(): void;
106
112
  ngOnDestroy(): void;
113
+ ngAfterViewChecked(): void;
114
+ private clampDrawerIndex;
115
+ private setDrawerRo;
116
+ private clearDrawerRo;
107
117
  emitDocs(): void;
108
118
  animationCreated(animation: AnimationItem): void;
109
119
  private playDropAnimation;
@@ -163,6 +173,7 @@ export declare class DropZoneComponent implements OnChanges, OnDestroy {
163
173
  * Resets the drag state when drag operation ends.
164
174
  */
165
175
  private resetDragState;
176
+ skeletonItems: import("@angular/core").Signal<unknown[]>;
166
177
  /**
167
178
  * Asynchronously processes a list of files. For each file, it validates
168
179
  * the extension against `supportedFileTypes`. If valid, it generates a
@@ -16,5 +16,5 @@ export declare class KeyboardNavigationHelper {
16
16
  static getInitialKeyboardNavigationState(dropdownType: string, isGroupedDropdown: boolean, dropdownOptions?: DropdownOptions[]): KeyboardNavigationState;
17
17
  static getArrowKeyNavigationState(keyboardNavigationState: KeyboardNavigationState, isGroupedDropdown: boolean, isAdd: boolean, dropdownType: string, dropdownOptions: DropdownOptions[], key: string): KeyboardNavigationState;
18
18
  static getFirstLastNavigationState(keyboardNavigationState: KeyboardNavigationState, isGroupedDropdown: boolean, isAdd: boolean, dropdownType: string, dropdownOptions: DropdownOptions[], key: string): KeyboardNavigationState;
19
- static getOptionFromFocusedIndex(state: KeyboardNavigationState, dropdownOptions: DropdownOptions[], dropdownType: string, isGroupedDropdown: boolean): import("carriera-intern-components").DropdownOption | import("carriera-intern-components").Broker | import("carriera-intern-components").Shipper | import("carriera-intern-components").Dispatch | import("carriera-intern-components").Dispatcher | import("carriera-intern-components").Hazardous | import("carriera-intern-components").State | import("carriera-intern-components").FuelCard | import("carriera-intern-components").PMOption | import("carriera-intern-components").Contact | import("carriera-intern-components").TollTransponderOption | null | undefined;
19
+ static getOptionFromFocusedIndex(state: KeyboardNavigationState, dropdownOptions: DropdownOptions[], dropdownType: string, isGroupedDropdown: boolean): import("carriera-intern-components").DropdownOption | import("carriera-intern-components").Dispatch | import("carriera-intern-components").Broker | import("carriera-intern-components").Contact | import("carriera-intern-components").Shipper | import("carriera-intern-components").Dispatcher | import("carriera-intern-components").Hazardous | import("carriera-intern-components").State | import("carriera-intern-components").FuelCard | import("carriera-intern-components").PMOption | import("carriera-intern-components").TollTransponderOption | null | undefined;
20
20
  }
@@ -9,12 +9,6 @@ export declare class StickyScrollbarComponent implements AfterViewInit {
9
9
  * @default false
10
10
  */
11
11
  hideThumb: boolean;
12
- /**
13
- * Input to set scroll position programmatically (for syncing multiple scrollbars)
14
- */
15
- set scrollPosition(value: number | undefined);
16
- get scrollPosition(): number | undefined;
17
- private _scrollPosition?;
18
12
  /**
19
13
  * Hide the scrollbar track completely
20
14
  */
@@ -35,10 +29,6 @@ export declare class StickyScrollbarComponent implements AfterViewInit {
35
29
  set stickyOffset(value: number);
36
30
  get stickyOffset(): number;
37
31
  private _stickyOffset;
38
- /**
39
- * Output to emit scroll position changes (for syncing multiple scrollbars)
40
- */
41
- scrollPositionChange: EventEmitter<number>;
42
32
  /**
43
33
  * Output to emit scroll state changes (start, scrolling, end)
44
34
  */
@@ -51,21 +41,22 @@ export declare class StickyScrollbarComponent implements AfterViewInit {
51
41
  isContainerInView: import("@angular/core").WritableSignal<boolean>;
52
42
  private dragStartX;
53
43
  private scrollStartLeft;
54
- private isSettingScrollPosition;
55
44
  private currentScrollState?;
56
- private setPositionTimeout?;
57
45
  private intersectionObserver?;
58
46
  private removeMouseMoveListener?;
59
47
  private removeMouseUpListener?;
60
48
  private removeMouseLeaveListener?;
61
49
  private removeScrollListener?;
62
50
  private isInitialized;
51
+ private lastTrackVisible?;
52
+ private lastThumbWidth;
53
+ private lastThumbPosition;
63
54
  ngAfterViewInit(): void;
64
55
  private setupScrollListener;
65
56
  private handleScroll;
66
57
  private setupGlobalMouseListeners;
67
58
  private teardownAlwaysVisibleTracking;
68
- private applyScrollPosition;
59
+ private reconcileAlwaysVisibleTracking;
69
60
  private updateScrollbar;
70
61
  private setupResizeObserver;
71
62
  private setupAlwaysVisibleTracking;
@@ -78,5 +69,5 @@ export declare class StickyScrollbarComponent implements AfterViewInit {
78
69
  refresh(): void;
79
70
  scrollToEnd(): void;
80
71
  static ɵfac: i0.ɵɵFactoryDeclaration<StickyScrollbarComponent, never>;
81
- static ɵcmp: i0.ɵɵComponentDeclaration<StickyScrollbarComponent, "ca-sticky-scrollbar", never, { "hideThumb": { "alias": "hideThumb"; "required": false; }; "scrollPosition": { "alias": "scrollPosition"; "required": false; }; "hideTrack": { "alias": "hideTrack"; "required": false; }; "alwaysVisible": { "alias": "alwaysVisible"; "required": false; }; "stickyOffset": { "alias": "stickyOffset"; "required": false; }; }, { "scrollPositionChange": "scrollPositionChange"; "scrollStateChange": "scrollStateChange"; }, never, ["*"], true, never>;
72
+ static ɵcmp: i0.ɵɵComponentDeclaration<StickyScrollbarComponent, "ca-sticky-scrollbar", never, { "hideThumb": { "alias": "hideThumb"; "required": false; }; "hideTrack": { "alias": "hideTrack"; "required": false; }; "alwaysVisible": { "alias": "alwaysVisible"; "required": false; }; "stickyOffset": { "alias": "stickyOffset"; "required": false; }; }, { "scrollStateChange": "scrollStateChange"; }, never, ["*"], true, never>;
82
73
  }
@@ -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" | "s" | "a" | "b" | "i" | "p" | "q" | "u" | "x" | "y" | "c" | "d" | "e" | "f" | "g" | "h" | "j" | "k" | "l" | "m" | "n" | "o" | "r" | "t" | "v" | "w" | "z")[];
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" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "s" | "." | "a" | "b" | "i" | "p" | "q" | "u" | "x" | "y" | "c" | "d" | "e" | "f" | "g" | "h" | "j" | "k" | "l" | "m" | "n" | "o" | "r" | "t" | "v" | "w" | "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" | "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
  };