carriera-intern-components 1.1.50 → 1.1.52
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/sticky-scrollbar/sticky-scrollbar.component.d.ts +13 -42
- package/app/utils/constants/input-character-sets.constants.d.ts +3 -3
- package/fesm2022/carriera-intern-components.mjs +118 -106
- package/fesm2022/carriera-intern-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/styles/tooltip.scss +15 -5
|
@@ -12,6 +12,11 @@ export declare class StickyScrollbarComponent implements AfterViewInit, OnChange
|
|
|
12
12
|
* Hide the scrollbar track completely
|
|
13
13
|
*/
|
|
14
14
|
hideTrack: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Keep scrollbar fixed at bottom of viewport even when table scrolls out of view
|
|
17
|
+
* @default false
|
|
18
|
+
*/
|
|
19
|
+
alwaysVisible: boolean;
|
|
15
20
|
/**
|
|
16
21
|
* Offset for the sticky position from the bottom (in pixels)
|
|
17
22
|
* @default 0
|
|
@@ -28,65 +33,31 @@ export declare class StickyScrollbarComponent implements AfterViewInit, OnChange
|
|
|
28
33
|
private readonly renderer;
|
|
29
34
|
private readonly destroyRef;
|
|
30
35
|
isDragging: boolean;
|
|
36
|
+
isContainerInView: import("@angular/core").WritableSignal<boolean>;
|
|
31
37
|
private dragStartX;
|
|
32
38
|
private scrollStartLeft;
|
|
33
39
|
private isSettingScrollPosition;
|
|
34
40
|
private currentScrollState?;
|
|
35
41
|
private setPositionTimeout?;
|
|
36
|
-
private
|
|
37
|
-
private dragEnd$;
|
|
42
|
+
private intersectionObserver?;
|
|
38
43
|
ngOnChanges(changes: SimpleChanges): void;
|
|
39
44
|
ngAfterViewInit(): void;
|
|
40
|
-
/**
|
|
41
|
-
* Applies the scroll position from input (programmatically)
|
|
42
|
-
*/
|
|
43
45
|
private applyScrollPosition;
|
|
44
|
-
/**
|
|
45
|
-
* Updates scrollbar thumb size and position based on content
|
|
46
|
-
*/
|
|
47
46
|
private updateScrollbar;
|
|
48
|
-
/**
|
|
49
|
-
* Observes container resize to update scrollbar
|
|
50
|
-
*/
|
|
51
47
|
private setupResizeObserver;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
*/
|
|
48
|
+
private setupAlwaysVisibleTracking;
|
|
49
|
+
private updateFixedTrackPosition;
|
|
55
50
|
private updateScrollState;
|
|
56
|
-
/**
|
|
57
|
-
* Calculates the scroll state based on current scroll position
|
|
58
|
-
*/
|
|
59
51
|
private calculateScrollState;
|
|
60
|
-
/**
|
|
61
|
-
* Handles scroll event on the container
|
|
62
|
-
*/
|
|
63
52
|
onScroll(): void;
|
|
64
|
-
/**
|
|
65
|
-
* Handles mouse down on scrollbar thumb
|
|
66
|
-
*/
|
|
67
53
|
onThumbMouseDown(event: MouseEvent): void;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
private setupDragListeners;
|
|
72
|
-
/**
|
|
73
|
-
* Handles thumb dragging
|
|
74
|
-
*/
|
|
54
|
+
onWindowMouseMove(event: MouseEvent): void;
|
|
55
|
+
onWindowMouseUp(): void;
|
|
56
|
+
onWindowMouseLeave(): void;
|
|
75
57
|
private onThumbDrag;
|
|
76
|
-
/**
|
|
77
|
-
* Handles mouse up to end dragging
|
|
78
|
-
*/
|
|
79
58
|
onThumbMouseUp(): void;
|
|
80
|
-
/**
|
|
81
|
-
* Public method to manually refresh the scrollbar
|
|
82
|
-
* Useful when content or container dimensions change programmatically
|
|
83
|
-
*/
|
|
84
59
|
refresh(): void;
|
|
85
|
-
/**
|
|
86
|
-
* Public method to scroll to the end of the container
|
|
87
|
-
* Useful when resizing the last element or when you want to ensure the end is visible
|
|
88
|
-
*/
|
|
89
60
|
scrollToEnd(): void;
|
|
90
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<StickyScrollbarComponent, never>;
|
|
91
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StickyScrollbarComponent, "ca-sticky-scrollbar", never, { "scrollPosition": { "alias": "scrollPosition"; "required": false; }; "hideTrack": { "alias": "hideTrack"; "required": false; }; "stickyOffset": { "alias": "stickyOffset"; "required": false; }; }, { "scrollPositionChange": "scrollPositionChange"; "scrollStateChange": "scrollStateChange"; }, never, ["*"], true, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StickyScrollbarComponent, "ca-sticky-scrollbar", never, { "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>;
|
|
92
63
|
}
|
|
@@ -12,7 +12,7 @@ export declare const INPUT_CHARACTER_SETS: {
|
|
|
12
12
|
readonly ALPHANUMERIC_WITH_SPACES: string[];
|
|
13
13
|
readonly EMAIL_SPECIAL: readonly ["@", ".", "-", "_", "+"];
|
|
14
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" | "
|
|
17
|
-
readonly SPECIAL: ("
|
|
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
|
};
|