ca-components 1.0.72 → 1.0.73
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/README.md +1 -1
- package/esm2022/lib/components/ca-custom-scrollbar/ca-custom-scrollbar.component.mjs +205 -0
- package/esm2022/lib/components/ca-modal/ca-modal.component.mjs +9 -3
- package/esm2022/lib/components/ca-modal-button/ca-modal-button.component.mjs +5 -5
- package/esm2022/lib/components/ca-modal-button/enums/modal-button-size.enum.mjs +1 -1
- package/esm2022/lib/components/ca-modal-button/enums/modal-button-type.enum.mjs +1 -4
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/ca-components.mjs +210 -10
- package/fesm2022/ca-components.mjs.map +1 -1
- package/lib/components/ca-custom-scrollbar/ca-custom-scrollbar.component.d.ts +44 -0
- package/lib/components/ca-filters/ca-filter.component.d.ts +2 -2
- package/lib/components/ca-modal-button/ca-modal-button.component.d.ts +2 -2
- package/lib/components/ca-modal-button/enums/modal-button-type.enum.d.ts +0 -3
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { AfterViewInit, OnChanges } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CaCustomScrollbarComponent implements OnInit, OnChanges, AfterViewInit, OnDestroy {
|
|
5
|
+
private ngZone;
|
|
6
|
+
private elRef;
|
|
7
|
+
private chng;
|
|
8
|
+
private bar;
|
|
9
|
+
scrollEvent: EventEmitter<any>;
|
|
10
|
+
scrollBarOptions: any;
|
|
11
|
+
horizontalScrollHeight: number;
|
|
12
|
+
scrollTop: number;
|
|
13
|
+
showScrollbar: boolean;
|
|
14
|
+
scrollHeight: number;
|
|
15
|
+
scrollRatio: number;
|
|
16
|
+
scrollRatioFull: number;
|
|
17
|
+
isMouseDown: boolean;
|
|
18
|
+
barClickPosition: number;
|
|
19
|
+
barClickRestHeight: number;
|
|
20
|
+
private destroy$;
|
|
21
|
+
calculateSizeHeightTimer: any;
|
|
22
|
+
tableNotPinedContainer: any;
|
|
23
|
+
tableNotPinedBoundingRect: any;
|
|
24
|
+
tableBarClickPosition: number;
|
|
25
|
+
tableBarClickRestWidth: number;
|
|
26
|
+
tableScrollRatio: number;
|
|
27
|
+
tableScrollRatioFull: number;
|
|
28
|
+
tableScrollWidth: number;
|
|
29
|
+
constructor(ngZone: NgZone, elRef: ElementRef, chng: ChangeDetectorRef);
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
32
|
+
ngAfterViewInit(): void;
|
|
33
|
+
setScrollEvent: (e: any) => void;
|
|
34
|
+
setDraggingStart(e: MouseEvent): void;
|
|
35
|
+
calculateBarSizeAndPosition(elem: any, pageHeight?: number): void;
|
|
36
|
+
onMouseUpHandler: () => void;
|
|
37
|
+
resizeHandlerCount: any;
|
|
38
|
+
onResizeHandler: () => void;
|
|
39
|
+
onMouseMoveHandler: (e: any) => void;
|
|
40
|
+
ngOnDestroy(): void;
|
|
41
|
+
projectContentChanged(e: any): void;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaCustomScrollbarComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaCustomScrollbarComponent, "app-ca-custom-scrollbar", never, { "scrollBarOptions": { "alias": "scrollBarOptions"; "required": false; }; "horizontalScrollHeight": { "alias": "horizontalScrollHeight"; "required": false; }; }, { "scrollEvent": "scrollEvent"; }, never, ["*"], true, never>;
|
|
44
|
+
}
|
|
@@ -60,8 +60,8 @@ export declare class CaFilterComponent implements OnDestroy {
|
|
|
60
60
|
addressList: AddressList[];
|
|
61
61
|
usaStates: ArrayStatus[];
|
|
62
62
|
canadaStates: ArrayStatus[];
|
|
63
|
-
setFilter: EventEmitter<
|
|
64
|
-
clearAll: EventEmitter<
|
|
63
|
+
setFilter: EventEmitter<filterOutputWithParams | filterOutput>;
|
|
64
|
+
clearAll: EventEmitter<filterOutputWithParams | filterOutput>;
|
|
65
65
|
private destroy$;
|
|
66
66
|
isSearchExpanded: boolean;
|
|
67
67
|
isFilterActive: boolean;
|
|
@@ -5,9 +5,9 @@ export declare class CaModalButtonComponent {
|
|
|
5
5
|
size: ModalButtonSize;
|
|
6
6
|
text: string;
|
|
7
7
|
isValid: boolean;
|
|
8
|
-
|
|
8
|
+
isSpinnerShown: boolean;
|
|
9
9
|
ModalButtonType: typeof ModalButtonType;
|
|
10
10
|
ModalButtonSize: typeof ModalButtonSize;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaModalButtonComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CaModalButtonComponent, "app-ca-modal-button", never, { "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "text": { "alias": "text"; "required": false; }; "isValid": { "alias": "isValid"; "required": false; }; "
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaModalButtonComponent, "app-ca-modal-button", never, { "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "text": { "alias": "text"; "required": false; }; "isValid": { "alias": "isValid"; "required": false; }; "isSpinnerShown": { "alias": "isSpinnerShown"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
13
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -50,3 +50,4 @@ export * from './lib/components/ca-sort-dropdown/enums';
|
|
|
50
50
|
export * from './lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component';
|
|
51
51
|
export * from './lib/components/ca-modal-button/ca-modal-button.component';
|
|
52
52
|
export * from './lib/components/ca-chart-manager/ca-chart-manager.component';
|
|
53
|
+
export * from './lib/components/ca-custom-scrollbar/ca-custom-scrollbar.component';
|