carriera-intern-components 1.1.11 → 1.1.13
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/input/input.component.d.ts +7 -4
- package/app/components/input/models/dropdown.model.d.ts +6 -0
- package/app/components/input/models/input.model.d.ts +6 -5
- package/app/components/input/pipes/remap-pm-icons.pipe.d.ts +7 -0
- package/app/components/input-datetime-picker/cai-input-datetime-picker.component.d.ts +103 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/cai-custom-datetime-pickers.component.d.ts +58 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/components/cai-custom-datetime-pickers-calendar-dates-main/cai-custom-datetime-pickers-calendar-dates-main.component.d.ts +41 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/components/cai-custom-datetime-pickers-calendar-days/cai-custom-datetime-pickers-calendar-days.component.d.ts +26 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/components/cai-custom-datetime-pickers-calendar-left/cai-custom-datetime-pickers-calendar-left.component.d.ts +30 -0
- 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 +38 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/config/cai-input.config.d.ts +168 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/config/index.d.ts +1 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/enums/calendar-left-string.enum.d.ts +5 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/enums/calendar-list-preview-string.enum.d.ts +4 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/enums/calendar-main-string.enum.d.ts +5 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/enums/calendar-scroll-type-string.enum.d.ts +4 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/enums/calendar-string.enum.d.ts +6 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/enums/calendar-type-string.enum.d.ts +3 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/enums/config.enum.d.ts +7 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/models/scroll-change.model.d.ts +6 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/models/scroll-type.model.d.ts +8 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/pipes/calendar-months.pipe.d.ts +9 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/services/calendar-datetime-picker.service.d.ts +19 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/strategy/calendar-strategy.d.ts +30 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/utils/constants/custom-datetime-pickers.constants.d.ts +19 -0
- package/app/components/input-datetime-picker/enums/input-config-name-string.enum.d.ts +7 -0
- package/app/components/input-datetime-picker/pipes/input-clear-class.pipe.d.ts +14 -0
- package/app/components/input-datetime-picker/pipes/input-date-time-container-class.pipe.d.ts +11 -0
- package/app/components/input-datetime-picker/pipes/input-dropdown-arrow-class.pipe.d.ts +11 -0
- package/app/components/input-datetime-picker/pipes/input-placeholder-icon.class.pipe.d.ts +11 -0
- package/app/components/input-datetime-picker/pipes/show-clear.pipe.d.ts +8 -0
- package/app/directives/hover-svg-directives.d.ts +15 -0
- package/app/directives/index.d.ts +1 -0
- package/app/enums/general-actions.enum.d.ts +58 -0
- package/fesm2022/carriera-intern-components.mjs +2509 -24
- package/fesm2022/carriera-intern-components.mjs.map +1 -1
- package/package.json +1 -1
- package/public/assets/icons/general/cai-fax.svg +5 -0
- package/public/assets/icons/general/cai-website.svg +3 -0
- package/public/assets/icons/interaction/cai_time.svg +3 -0
- package/public/assets/icons/interaction/cai_x.svg +4 -0
- package/public/assets/json/icons.json +19 -3
- package/public-api.d.ts +1 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CalendarMonthsPipe implements PipeTransform {
|
|
4
|
+
private MONTHS;
|
|
5
|
+
constructor();
|
|
6
|
+
transform(index: Date, listPreview: string): string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarMonthsPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CalendarMonthsPipe, "calendarmonths", true>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Subject } from "rxjs";
|
|
2
|
+
import { ScrollChange } from "../models/scroll-change.model";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CalendarDateTimePickerService {
|
|
5
|
+
index$: Subject<ScrollChange>;
|
|
6
|
+
indexAuto$: Subject<number>;
|
|
7
|
+
scrollToDate: Subject<string>;
|
|
8
|
+
dateChanged: Subject<any>;
|
|
9
|
+
selectedIndex: number;
|
|
10
|
+
scrolledIndexChange: import("rxjs").Observable<ScrollChange>;
|
|
11
|
+
scrollToAutoIndex: import("rxjs").Observable<number>;
|
|
12
|
+
private scrolledScroll;
|
|
13
|
+
constructor();
|
|
14
|
+
set setAutoIndex(number: number);
|
|
15
|
+
set scrolledScrollItem(name: string);
|
|
16
|
+
get selectedScroll(): string;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarDateTimePickerService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CalendarDateTimePickerService>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CdkVirtualScrollViewport, VirtualScrollStrategy } from '@angular/cdk/scrolling';
|
|
2
|
+
import { CalendarDateTimePickerService } from '../services/calendar-datetime-picker.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare const STARTING_YEAR: number;
|
|
5
|
+
export declare const RANGE: number;
|
|
6
|
+
export declare class CalendarStrategy implements VirtualScrollStrategy {
|
|
7
|
+
private calendarService;
|
|
8
|
+
private startedHeight;
|
|
9
|
+
private FULL_SIZE;
|
|
10
|
+
private SCROLL_TYPE;
|
|
11
|
+
constructor(calendarService: CalendarDateTimePickerService, startedHeight: number, FULL_SIZE: number, SCROLL_TYPE: string);
|
|
12
|
+
private index$;
|
|
13
|
+
scrolledIndexChange: import("rxjs").Observable<any>;
|
|
14
|
+
private viewport?;
|
|
15
|
+
attach(viewport: CdkVirtualScrollViewport): void;
|
|
16
|
+
updateScrollHeights(height: number): void;
|
|
17
|
+
detach(): void;
|
|
18
|
+
onContentScrolled(): void;
|
|
19
|
+
/** These do not matter for this case */
|
|
20
|
+
onDataLengthChanged(): void;
|
|
21
|
+
onContentRendered(): void;
|
|
22
|
+
onRenderedOffsetChanged(): void;
|
|
23
|
+
scrollToIndex(index: number, behavior: ScrollBehavior): void;
|
|
24
|
+
scrollToOffset(offset: number, behavior: ScrollBehavior): void;
|
|
25
|
+
getOffsetForIndex(index: number): number;
|
|
26
|
+
private getIndexForOffset;
|
|
27
|
+
private updateRenderedRange;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarStrategy, never>;
|
|
29
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CalendarStrategy>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare class CustomDatetimePickersConstants {
|
|
2
|
+
static readonly timeMinutes: string[];
|
|
3
|
+
static readonly timeMinutesGapFive: string[];
|
|
4
|
+
static readonly monthNames: string[];
|
|
5
|
+
static readonly hourTimes: number[];
|
|
6
|
+
static readonly defaultScrollTypes: {
|
|
7
|
+
pmAmScroll: number;
|
|
8
|
+
minutesScroll: number;
|
|
9
|
+
hourScroll: number;
|
|
10
|
+
monthScroll: number;
|
|
11
|
+
dayScroll: number;
|
|
12
|
+
yearScroll: number;
|
|
13
|
+
};
|
|
14
|
+
static readonly timeOfDay: string[];
|
|
15
|
+
static readonly defaultSelectedTime = "12:00 AM";
|
|
16
|
+
static readonly defaultOutputTypeTime: string[];
|
|
17
|
+
static readonly defaultOutputTypeDate: string[];
|
|
18
|
+
static readonly dayOfWeekLetters: string[];
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { ICaInput } from '../components/cai-custom-datetime-pickers/config';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare enum DropdownTemplateTypeEnum {
|
|
6
|
+
PAYROLL_TRUCKS = "payroll-trucks"
|
|
7
|
+
}
|
|
8
|
+
export declare class InputClearClassPipe implements PipeTransform {
|
|
9
|
+
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, inputConfig: ICaInput, incorrectValue: boolean, selectedDropdownLabelColor: boolean, template: string, value: string): {
|
|
10
|
+
[key: string]: boolean | undefined;
|
|
11
|
+
};
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputClearClassPipe, never>;
|
|
13
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<InputClearClassPipe, "inputClearClass", true>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { ICaInput } from '../components/cai-custom-datetime-pickers/config';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class InputDateTimeContainerClassPipe implements PipeTransform {
|
|
6
|
+
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, inputConfig: ICaInput, value: string, isDisabledInput?: boolean, invalid?: boolean, isTouchedInput?: boolean): {
|
|
7
|
+
[key: string]: boolean | undefined | null | string;
|
|
8
|
+
};
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputDateTimeContainerClassPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<InputDateTimeContainerClassPipe, "inputDateTimeContainerClass", true>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { ICaInput } from '../components/cai-custom-datetime-pickers/config';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class InputDropdownArrowClassPipe implements PipeTransform {
|
|
6
|
+
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, inputConfig: ICaInput, isTouchedInput: boolean, value: string): {
|
|
7
|
+
[key: string]: boolean | undefined;
|
|
8
|
+
};
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputDropdownArrowClassPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<InputDropdownArrowClassPipe, "inputDropdownArrowClass", true>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { AbstractControl } from "@angular/forms";
|
|
3
|
+
import { ICaInput } from "../components/cai-custom-datetime-pickers/config";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class InputPlaceholderIconClassPipe implements PipeTransform {
|
|
6
|
+
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, inputConfig: ICaInput, selectedDropdownLabelColor: any | null, isTouchedInput: boolean, isEditInput: boolean, value: string): {
|
|
7
|
+
[key: string]: boolean | undefined;
|
|
8
|
+
};
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputPlaceholderIconClassPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<InputPlaceholderIconClassPipe, "inputPlaceholderIconClass", true>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { ICaInput } from "../components/cai-custom-datetime-pickers/config";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ShowClearPipe implements PipeTransform {
|
|
5
|
+
transform(inputConfig: ICaInput, disabled?: boolean): boolean | undefined;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowClearPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ShowClearPipe, "showClear", true>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ElementRef, Renderer2 } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class HoverSvgDirective {
|
|
4
|
+
private elRef;
|
|
5
|
+
private renderer2;
|
|
6
|
+
set fill(value: string | null | undefined);
|
|
7
|
+
set fillHover(value: string | null | undefined);
|
|
8
|
+
_fill: string;
|
|
9
|
+
_fillHover: string;
|
|
10
|
+
constructor(elRef: ElementRef, renderer2: Renderer2);
|
|
11
|
+
onMouseOver(): void;
|
|
12
|
+
onMouseLeave(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HoverSvgDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HoverSvgDirective, "[appHoverSvg]", never, { "fill": { "alias": "fill"; "required": false; }; "fillHover": { "alias": "fillHover"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './hover-svg-directives';
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export declare enum eGeneralActions {
|
|
2
|
+
ADD = "Add",
|
|
3
|
+
ADD_LOWERCASE = "add",
|
|
4
|
+
ADD_NEW_ITEM = "Add New Item",
|
|
5
|
+
UPDATE = "Update",
|
|
6
|
+
UPDATE_LOWERCASE = "update",
|
|
7
|
+
DELETE = "Delete",
|
|
8
|
+
DELETE_LOWERCASE = "delete",
|
|
9
|
+
EDIT = "Edit",
|
|
10
|
+
EDIT_LOWERCASE = "edit",
|
|
11
|
+
EDIT_UPPERCASE = "EDIT",
|
|
12
|
+
SAVE = "Save",
|
|
13
|
+
SAVE_LOWERCASE = "save",
|
|
14
|
+
CANCEL = "Cancel",
|
|
15
|
+
CANCEL_LOWERCASE = "cancel",
|
|
16
|
+
ENTER = "Enter",
|
|
17
|
+
ESCAPE = "Escape",
|
|
18
|
+
CONFIRM = "Confirm",
|
|
19
|
+
CONFIRM_LOWERCASE = "confirm",
|
|
20
|
+
SET = "Set",
|
|
21
|
+
SET_LOWERCASE = "set",
|
|
22
|
+
REMOVE = "Remove",
|
|
23
|
+
REMOVE_LOWERCASE = "remove",
|
|
24
|
+
SELECT = "Select",
|
|
25
|
+
SELECT_LOWERCASE = "select",
|
|
26
|
+
SEARCH = "Search",
|
|
27
|
+
SEARCH_LOWERCASE = "search",
|
|
28
|
+
SELECT_ALL = "Select All",
|
|
29
|
+
SELECT_REMAINING = "Select Remaining",
|
|
30
|
+
CLEAR_SELECTED = "Clear Selected",
|
|
31
|
+
ACTIVATE = "Activate",
|
|
32
|
+
ACTIVATE_LOWERCASE = "activate",
|
|
33
|
+
DEACTIVATE = "deactivate",
|
|
34
|
+
DEACTIVATE_LOWERCASE = "deactivate",
|
|
35
|
+
CLOSE = "Close",
|
|
36
|
+
CLOSE_LOWERCASE = "close",
|
|
37
|
+
CLOSE_UPPERCASE = "CLOSE",
|
|
38
|
+
OPEN = "Open",
|
|
39
|
+
OPEN_LOWERCASE = "open",
|
|
40
|
+
NEXT = "Next",
|
|
41
|
+
NEXT_LOWERCASE = "next",
|
|
42
|
+
PREVIOUS = "Previous",
|
|
43
|
+
PREVIOUS_LOWERCASE = "previous",
|
|
44
|
+
CLEAR = "Clear",
|
|
45
|
+
CLEAR_LOWERCASE = "clear",
|
|
46
|
+
CLEAR_ALL = "Clear All",
|
|
47
|
+
SHOW_MORE = "show more",
|
|
48
|
+
OPEN_MODAL = "open-modal",
|
|
49
|
+
EXPAND = "Expand",
|
|
50
|
+
EXPAND_LOWERCASE = "expand",
|
|
51
|
+
EXPAND_UPPERCASE = "EXPAND",
|
|
52
|
+
COLLAPSE = "Collapse",
|
|
53
|
+
COLLAPSE_LOWERCASE = "collapse",
|
|
54
|
+
COLLAPSE_UPPERCASE = "COLLAPSE",
|
|
55
|
+
SORT_BY = "Sort By",
|
|
56
|
+
COPY = "Copy",
|
|
57
|
+
COPIED = "Copied"
|
|
58
|
+
}
|