ecabs-components 2.0.0-alpha.3 → 2.0.0-alpha.6
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 +136 -83
- package/fesm2022/ecabs-components.mjs +3076 -1091
- package/fesm2022/ecabs-components.mjs.map +1 -1
- package/lib/base/consts/buttons.consts.d.ts +2 -0
- package/lib/base/consts/input.consts.d.ts +1 -0
- package/lib/base/directives/date-mask.directive.d.ts +6 -7
- package/lib/base/directives/digits-only.directive.d.ts +13 -2
- package/lib/base/directives/time-mask.directive.d.ts +2 -3
- package/lib/base/directives/time-range.directive.d.ts +1 -2
- package/lib/base/models/element.models.d.ts +0 -5
- package/lib/base/models/phone.models.d.ts +8 -1
- package/lib/base/models/select.models.d.ts +6 -2
- package/lib/base/models/sidebar.models.d.ts +10 -5
- package/lib/base/models/waypoint.models.d.ts +30 -0
- package/lib/base/pipes/phone-number-country-code.pipe.d.ts +8 -0
- package/lib/base/pipes/separator-append.pipe.d.ts +7 -0
- package/lib/base/utils/object-utils.d.ts +1 -0
- package/lib/base/utils/phone-number.utils.d.ts +7 -0
- package/lib/base/utils/select.utils.d.ts +2 -0
- package/lib/base/utils/time-mask.util.d.ts +3 -0
- package/lib/ecabs-button-toggle/ecabs-button-toggle.component.d.ts +25 -0
- package/lib/ecabs-button-toggle/ecabs-button-toggle.module.d.ts +9 -0
- package/lib/ecabs-buttons-v2/ecabs-buttons-v2.component.d.ts +23 -0
- package/lib/ecabs-buttons-v2/ecabs-buttons-v2.module.d.ts +11 -0
- package/lib/ecabs-checkbox-v2/ecabs-checkbox-v2.component.d.ts +30 -0
- package/lib/ecabs-checkbox-v2/ecabs-checkbox-v2.module.d.ts +12 -0
- package/lib/ecabs-chip-autocomplete/ecabs-chip-autocomplete.component.d.ts +56 -0
- package/lib/ecabs-chip-group/ecabs-chip-group.component.d.ts +24 -0
- package/lib/ecabs-chip-group/ecabs-chip-group.module.d.ts +12 -0
- package/lib/ecabs-date-range-picker-v2/components/ecabs-date-range-picker-header/ecabs-date-range-picker-header-v2.component.d.ts +9 -0
- package/lib/ecabs-date-range-picker-v2/ecabs-date-range-picker-v2.component.d.ts +69 -0
- package/lib/ecabs-date-range-picker-v2/ecabs-date-range-picker-v2.module.d.ts +21 -0
- package/lib/ecabs-date-time-picker/ecabs-date-time-picker.component.d.ts +4 -2
- package/lib/ecabs-dialog-confirm/ecabs-dialog-confirm.component.d.ts +1 -0
- package/lib/ecabs-empty-placeholder/ecabs-empty-placeholder.component.d.ts +2 -1
- package/lib/ecabs-input/ecabs-input.component.d.ts +12 -4
- package/lib/ecabs-input-range/ecabs-input-range.component.d.ts +44 -0
- package/lib/ecabs-input-range/ecabs-input-range.module.d.ts +13 -0
- package/lib/ecabs-phone/ecabs-phone.module.d.ts +5 -4
- package/lib/ecabs-place-autocomplete-v2/ecabs-place-autocomplete-v2.component.d.ts +64 -0
- package/lib/ecabs-place-autocomplete-v2/ecabs-place-autocomplete-v2.module.d.ts +13 -0
- package/lib/ecabs-segment/ecabs-segment.component.d.ts +8 -0
- package/lib/ecabs-select/ecabs-select.component.d.ts +7 -13
- package/lib/ecabs-select/ecabs-select.module.d.ts +5 -4
- package/lib/ecabs-select-icon/ecabs-select-icon.component.d.ts +8 -0
- package/lib/ecabs-select-icon/ecabs-select-icon.module.d.ts +9 -0
- package/lib/ecabs-select-v2/ecabs-select-v2.component.d.ts +25 -25
- package/lib/ecabs-select-v2/ecabs-select-v2.module.d.ts +2 -1
- package/lib/ecabs-table/ecabs-table.component.d.ts +4 -1
- package/lib/ecabs-time-range-input-v2/config.model.d.ts +5 -0
- package/lib/ecabs-time-range-input-v2/ecabs-time-range-input-v2.component.d.ts +52 -0
- package/lib/ecabs-time-range-input-v2/ecabs-time-range-input-v2.module.d.ts +11 -0
- package/lib/ecabs-time-range-input-v2/ecabs-time-range-input-v2.service.d.ts +12 -0
- package/lib/ecabs-timepicker/ecabs-timepicker.component.d.ts +0 -5
- package/package.json +20 -19
- package/public-api.d.ts +25 -0
- package/src/assets/styles/material/_theme.scss +17 -12
- package/src/assets/styles/material/overrides/_autocomplete.scss +27 -0
- package/src/assets/styles/material/overrides/_button.scss +95 -10
- package/src/assets/styles/material/overrides/_card.scss +43 -2
- package/src/assets/styles/material/overrides/_chip.scss +118 -1
- package/src/assets/styles/material/overrides/_datepicker.scss +33 -7
- package/src/assets/styles/material/overrides/_dialog.scss +4 -1
- package/src/assets/styles/material/overrides/_divider.scss +5 -2
- package/src/assets/styles/material/overrides/_expansion.scss +11 -6
- package/src/assets/styles/material/overrides/_form.scss +15 -2
- package/src/assets/styles/material/overrides/_icon.scss +6 -0
- package/src/assets/styles/material/overrides/_menu.scss +7 -1
- package/src/assets/styles/material/overrides/_paginator.scss +16 -12
- package/src/assets/styles/material/overrides/_phone.scss +18 -12
- package/src/assets/styles/material/overrides/_progress.scss +1 -1
- package/src/assets/styles/material/overrides/_select.scss +73 -47
- package/src/assets/styles/material/overrides/_sidebar.scss +3 -1
- package/src/assets/styles/material/overrides/_tab.scss +27 -1
- package/src/assets/styles/material/overrides/_table.scss +5 -1
- package/src/assets/styles/material/overrides/_toaster.scss +1 -0
- package/src/assets/styles/material/overrides/_toggle.scss +11 -2
- package/src/assets/styles/material/overrides/_tooltip.scss +1 -0
- package/src/assets/styles/material/overrides/index.scss +22 -22
- package/src/assets/styles/scss/base/_heading.scss +11 -8
- package/src/assets/styles/scss/base/_normalize.scss +19 -24
- package/src/assets/styles/scss/base/index.scss +2 -2
- package/src/assets/styles/scss/modules/_autocomplete.scss +26 -8
- package/src/assets/styles/scss/modules/_button.scss +105 -49
- package/src/assets/styles/scss/modules/_card.scss +39 -11
- package/src/assets/styles/scss/modules/_chip.scss +36 -20
- package/src/assets/styles/scss/modules/_datepicker.scss +7 -4
- package/src/assets/styles/scss/modules/_dialog.scss +10 -6
- package/src/assets/styles/scss/modules/_divider.scss +2 -1
- package/src/assets/styles/scss/modules/_form.scss +209 -56
- package/src/assets/styles/scss/modules/_icon.scss +6 -2
- package/src/assets/styles/scss/modules/_legend.scss +21 -15
- package/src/assets/styles/scss/modules/_list.scss +9 -6
- package/src/assets/styles/scss/modules/_map.scss +27 -22
- package/src/assets/styles/scss/modules/_phone.scss +11 -13
- package/src/assets/styles/scss/modules/_select.scss +9 -5
- package/src/assets/styles/scss/modules/_statuses.scss +13 -8
- package/src/assets/styles/scss/modules/_tab.scss +3 -1
- package/src/assets/styles/scss/modules/_table.scss +26 -20
- package/src/assets/styles/scss/modules/_timepicker.scss +11 -7
- package/src/assets/styles/scss/modules/_tooltip.scss +7 -3
- package/src/assets/styles/scss/modules/drag-drop.scss +13 -9
- package/src/assets/styles/scss/modules/index.scss +23 -23
- package/src/assets/styles/scss/utilities/_colors.scss +20 -16
- package/src/assets/styles/scss/utilities/_fonts.scss +6 -1
- package/src/assets/styles/scss/utilities/_functions.scss +4 -3
- package/src/assets/styles/scss/utilities/_mixins.scss +43 -6
- package/src/assets/styles/scss/utilities/_variables.scss +14 -0
- package/src/assets/styles/scss/utilities/index.scss +6 -6
- package/src/assets/styles/styles.scss +5 -26
- package/src/assets/styles/tailwind/index.scss +2 -2
- package/lib/base/consts/date-mask.consts.d.ts +0 -7
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const AUTO_RESIZE_SYMBOL_BUFFER_PX = 2;
|
|
@@ -4,16 +4,15 @@ export declare class EcabsMaskDateDirective implements OnInit, OnDestroy {
|
|
|
4
4
|
private readonly element;
|
|
5
5
|
isDateTimeMask: boolean;
|
|
6
6
|
considerSeconds: boolean;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
maskDateTime: (string | RegExp)[];
|
|
10
|
-
maskDateTimeWithSeconds: (string | RegExp)[];
|
|
11
|
-
config: any;
|
|
7
|
+
private maskedInput;
|
|
8
|
+
private readonly timeMaskOptions;
|
|
12
9
|
constructor(element: ElementRef);
|
|
13
|
-
onNgModelChange(value: any): void;
|
|
14
10
|
ngOnInit(): void;
|
|
15
11
|
ngOnDestroy(): void;
|
|
16
|
-
private
|
|
12
|
+
private buildDynamicMask;
|
|
13
|
+
private getDaySegment;
|
|
14
|
+
private getMonthSegment;
|
|
15
|
+
private extractTimeValue;
|
|
17
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<EcabsMaskDateDirective, never>;
|
|
18
17
|
static ɵdir: i0.ɵɵDirectiveDeclaration<EcabsMaskDateDirective, "[ecabsMaskDate]", never, { "isDateTimeMask": { "alias": "isDateTimeMask"; "required": false; }; "considerSeconds": { "alias": "considerSeconds"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
18
|
}
|
|
@@ -4,6 +4,7 @@ export declare class EcabsDigitsOnlyDirective implements OnInit {
|
|
|
4
4
|
el: ElementRef;
|
|
5
5
|
digitsOnly: boolean;
|
|
6
6
|
allowHyphen: boolean;
|
|
7
|
+
allowRange: boolean;
|
|
7
8
|
decimal?: boolean;
|
|
8
9
|
decimalSeparator?: string;
|
|
9
10
|
unit?: number;
|
|
@@ -11,6 +12,7 @@ export declare class EcabsDigitsOnlyDirective implements OnInit {
|
|
|
11
12
|
minus: string;
|
|
12
13
|
minusCounter: number;
|
|
13
14
|
regex: RegExp;
|
|
15
|
+
rangeRegex?: RegExp;
|
|
14
16
|
private decimalCounter;
|
|
15
17
|
private readonly navigationKeys;
|
|
16
18
|
constructor(el: ElementRef);
|
|
@@ -21,7 +23,16 @@ export declare class EcabsDigitsOnlyDirective implements OnInit {
|
|
|
21
23
|
ngOnInit(): void;
|
|
22
24
|
private pasteData;
|
|
23
25
|
private sanitizeInput;
|
|
24
|
-
private
|
|
26
|
+
private sanitizeRange;
|
|
27
|
+
private keepFirstSeparator;
|
|
28
|
+
private applyMaxLength;
|
|
29
|
+
private escapeRegExp;
|
|
30
|
+
private isMinusAllowed;
|
|
31
|
+
private hasRangeSeparator;
|
|
32
|
+
private isCaretAtStart;
|
|
33
|
+
private hasDigitBeforeCaret;
|
|
34
|
+
private isPartialRange;
|
|
35
|
+
private isPartialNegative;
|
|
25
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<EcabsDigitsOnlyDirective, never>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<EcabsDigitsOnlyDirective, "[ecabsDigitsOnly]", never, { "digitsOnly": { "alias": "digitsOnly"; "required": false; }; "allowHyphen": { "alias": "allowHyphen"; "required": false; }; "decimal": { "alias": "decimal"; "required": false; }; "decimalSeparator": { "alias": "decimalSeparator"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; }, {}, never, never, false, never>;
|
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EcabsDigitsOnlyDirective, "[ecabsDigitsOnly]", never, { "digitsOnly": { "alias": "digitsOnly"; "required": false; }; "allowHyphen": { "alias": "allowHyphen"; "required": false; }; "allowRange": { "alias": "allowRange"; "required": false; }; "decimal": { "alias": "decimal"; "required": false; }; "decimalSeparator": { "alias": "decimalSeparator"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; }, {}, never, never, false, never>;
|
|
27
38
|
}
|
|
@@ -4,12 +4,11 @@ export declare class EcabsMaskTimeDirective implements OnInit, OnDestroy {
|
|
|
4
4
|
private readonly element;
|
|
5
5
|
timeRange?: boolean;
|
|
6
6
|
all: string;
|
|
7
|
-
|
|
8
|
-
maskTimeRange: (string | RegExp)[];
|
|
9
|
-
maskTime: (string | RegExp)[];
|
|
7
|
+
private maskedInput;
|
|
10
8
|
constructor(element: ElementRef);
|
|
11
9
|
ngOnInit(): void;
|
|
12
10
|
ngOnDestroy(): void;
|
|
11
|
+
private getMaskOptions;
|
|
13
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<EcabsMaskTimeDirective, never>;
|
|
14
13
|
static ɵdir: i0.ɵɵDirectiveDeclaration<EcabsMaskTimeDirective, "[ecabsTime]", never, { "timeRange": { "alias": "timeRange"; "required": false; }; "all": { "alias": "all"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
14
|
}
|
|
@@ -5,8 +5,7 @@ export declare class EcabsTimeRangeDirective implements OnInit, OnDestroy {
|
|
|
5
5
|
isDateTimeMask: boolean;
|
|
6
6
|
considerSeconds: boolean;
|
|
7
7
|
all: string;
|
|
8
|
-
|
|
9
|
-
maskDateTime: (string | RegExp)[];
|
|
8
|
+
private maskedInput;
|
|
10
9
|
constructor(element: ElementRef);
|
|
11
10
|
ngOnInit(): void;
|
|
12
11
|
ngOnDestroy(): void;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface CountryPrefix {
|
|
2
|
+
dialing_code: string;
|
|
3
|
+
iso: string;
|
|
4
|
+
name: string;
|
|
5
|
+
phone_number?: string;
|
|
6
|
+
}
|
|
2
7
|
export type Country = {
|
|
3
8
|
name: string;
|
|
4
9
|
iso2: string;
|
|
@@ -8,3 +13,5 @@ export type Country = {
|
|
|
8
13
|
flagClass: string;
|
|
9
14
|
placeHolder?: string;
|
|
10
15
|
};
|
|
16
|
+
export type PhoneNumberCodeType = 'iso' | 'calling';
|
|
17
|
+
export type PhoneNumberFormat = 'default' | 'national' | 'international';
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type PhosphorIconWeight = 'regular' | 'bold' | 'fill' | 'light' | 'thin' | 'duotone';
|
|
2
|
+
export interface SelectOption<T = unknown> {
|
|
2
3
|
label: string;
|
|
3
|
-
value:
|
|
4
|
+
value: T;
|
|
4
5
|
disabled?: boolean;
|
|
6
|
+
selectAllIdentifier?: string | number;
|
|
7
|
+
phosphorIcon?: string;
|
|
8
|
+
phosphorWeight?: PhosphorIconWeight;
|
|
5
9
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface SidebarMenuItem {
|
|
1
|
+
export interface SidebarMenuItem<TEnv = unknown, TRole = unknown> {
|
|
2
2
|
title: string;
|
|
3
3
|
icon?: string;
|
|
4
4
|
url?: string;
|
|
@@ -6,13 +6,18 @@ export interface SidebarMenuItem {
|
|
|
6
6
|
subItems?: SidebarMenuItem[];
|
|
7
7
|
permissions?: PermissionValueEnum<string>[];
|
|
8
8
|
iconResource?: SidebarIconResource;
|
|
9
|
-
|
|
9
|
+
badge?: string;
|
|
10
|
+
isVisible?: (context: MenuItemVisibilityContext<TEnv, TRole>) => boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface MenuItemVisibilityContext<TEnv, TRole> {
|
|
13
|
+
environment: TEnv;
|
|
14
|
+
role: TRole;
|
|
10
15
|
}
|
|
11
|
-
type PermissionValueEnum<T extends string> = {
|
|
12
|
-
values: Record<T, string>;
|
|
13
|
-
};
|
|
14
16
|
export interface SidebarIconResource {
|
|
15
17
|
path: string;
|
|
16
18
|
name: string;
|
|
17
19
|
}
|
|
20
|
+
interface PermissionValueEnum<T extends string> {
|
|
21
|
+
values: Record<T, string>;
|
|
22
|
+
}
|
|
18
23
|
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import PlaceResult = google.maps.places.PlaceResult;
|
|
2
|
+
import PredictionTerm = google.maps.places.PredictionTerm;
|
|
3
|
+
import { WaypointTypeEnum } from '../consts/waypoint.consts';
|
|
4
|
+
export interface WaypointSuggestion {
|
|
5
|
+
suggestion_id?: string;
|
|
6
|
+
additional_info?: string;
|
|
7
|
+
location?: GeoPoint;
|
|
8
|
+
locality?: string;
|
|
9
|
+
place_id?: string | null;
|
|
10
|
+
frequency?: number;
|
|
11
|
+
last_visit?: string | Date;
|
|
12
|
+
geo_key?: string;
|
|
13
|
+
prediction_term?: PredictionTerm[];
|
|
14
|
+
}
|
|
15
|
+
export interface GeoPoint {
|
|
16
|
+
lat?: number;
|
|
17
|
+
lng?: number;
|
|
18
|
+
latitude?: number;
|
|
19
|
+
longitude?: number;
|
|
20
|
+
}
|
|
21
|
+
export interface GooglePlaceResult {
|
|
22
|
+
place: PlaceResult;
|
|
23
|
+
text: string;
|
|
24
|
+
}
|
|
25
|
+
export interface WaypointQueryChange {
|
|
26
|
+
waypoint_type: WaypointTypeEnum;
|
|
27
|
+
place_name: string;
|
|
28
|
+
}
|
|
29
|
+
export declare const WAYPOINT_SUGGESTIONS: WaypointSuggestion[];
|
|
30
|
+
export declare const WAYPOINT_SUGGESTIONS2: WaypointSuggestion[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { PhoneNumberCodeType } from '../models/phone.models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class NumberToCountryCodePipe implements PipeTransform {
|
|
5
|
+
transform(phoneNumber: string | null, type?: PhoneNumberCodeType, withFlagClass?: boolean): string | null;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberToCountryCodePipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NumberToCountryCodePipe, "numberToCountryCode", true>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SeparatorAppendPipe implements PipeTransform {
|
|
4
|
+
transform(value: string, nextSibling?: string, separator?: string): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeparatorAppendPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SeparatorAppendPipe, "separatorAppend", true>;
|
|
7
|
+
}
|
|
@@ -6,3 +6,4 @@ export interface Sorter<T> {
|
|
|
6
6
|
export declare const sortGeneric: <T>(objX: T, objY: T, sortParams: Sorter<T>) => number;
|
|
7
7
|
export declare const removeNullUndefineds: <T>(obj: any, exceptProperties?: string[]) => T;
|
|
8
8
|
export declare const removeEmpty: <T>(o: any, exceptProperties?: string[]) => T;
|
|
9
|
+
export declare function getRandomItems<U>(items: U[], count: number): U[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CountryPrefix, PhoneNumberCodeType } from '../models/phone.models';
|
|
2
|
+
export declare function extractPhoneNumberCode(phoneNumber: string | null, type?: PhoneNumberCodeType, withFlagClass?: boolean): string | null;
|
|
3
|
+
export declare function extractDialingCode(phoneNumber: string | null): string | null;
|
|
4
|
+
export declare function extractCountryFromIso(isoCode: string | null, region?: string[]): string | null;
|
|
5
|
+
export declare function extractCallingCodeFromIso(isoCode: string | null): string | null;
|
|
6
|
+
export declare function getSupportedCountryIsoCodes(): string[];
|
|
7
|
+
export declare function extractCountryPrefixFromNumber(phone_number: string, regions: string[]): CountryPrefix | null;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { MatButtonToggleChange } from '@angular/material/button-toggle';
|
|
4
|
+
import { SelectOption } from '../base/models/select.models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export type ButtonToggleSize = 'small' | 'medium' | 'large';
|
|
7
|
+
export declare class EcabsButtonToggleComponent<T = unknown> implements ControlValueAccessor {
|
|
8
|
+
options: SelectOption<T>[];
|
|
9
|
+
multiple: boolean;
|
|
10
|
+
size: ButtonToggleSize;
|
|
11
|
+
value: T | T[];
|
|
12
|
+
valueChange: EventEmitter<T | T[]>;
|
|
13
|
+
isDisabled: boolean;
|
|
14
|
+
private onChange;
|
|
15
|
+
private onTouched;
|
|
16
|
+
private readonly cdr;
|
|
17
|
+
onGroupChange(event: MatButtonToggleChange): void;
|
|
18
|
+
trackByOptionValue(index: number, option: SelectOption<T>): T | number;
|
|
19
|
+
writeValue(value: T | T[]): void;
|
|
20
|
+
registerOnChange(fn: (value: T | T[]) => void): void;
|
|
21
|
+
registerOnTouched(fn: () => void): void;
|
|
22
|
+
setDisabledState(isDisabled: boolean): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EcabsButtonToggleComponent<any>, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EcabsButtonToggleComponent<any>, "ecabs-button-toggle", never, { "options": { "alias": "options"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./ecabs-button-toggle.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/button-toggle";
|
|
5
|
+
export declare class EcabsButtonToggleModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EcabsButtonToggleModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsButtonToggleModule, [typeof i1.EcabsButtonToggleComponent], [typeof i2.CommonModule, typeof i3.MatButtonToggleModule], [typeof i1.EcabsButtonToggleComponent, typeof i3.MatButtonToggleModule]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<EcabsButtonToggleModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ThemePalette } from '@angular/material/core';
|
|
2
|
+
import { ButtonLoadingStyle, ButtonSize, ButtonStyle } from '../base/consts/buttons.consts';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ButtonsV2Component {
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
loading: boolean;
|
|
7
|
+
loadingStyle: ButtonLoadingStyle;
|
|
8
|
+
size: ButtonSize;
|
|
9
|
+
type: 'button' | 'submit';
|
|
10
|
+
style: ButtonStyle;
|
|
11
|
+
color: ThemePalette | 'success' | null;
|
|
12
|
+
fullWidth: boolean;
|
|
13
|
+
get isDisabled(): boolean;
|
|
14
|
+
get hostWidth(): string;
|
|
15
|
+
get sizeClass(): string;
|
|
16
|
+
get matColor(): ThemePalette;
|
|
17
|
+
get showLabel(): boolean;
|
|
18
|
+
get buttonClasses(): {
|
|
19
|
+
[key: string]: boolean;
|
|
20
|
+
};
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonsV2Component, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonsV2Component, "ecabs-buttons-v2", never, { "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingStyle": { "alias": "loadingStyle"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "style": { "alias": "style"; "required": false; }; "color": { "alias": "color"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; }, {}, never, ["mat-icon", "*"], false, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./ecabs-buttons-v2.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/button";
|
|
5
|
+
import * as i4 from "../ecabs-loading/ecabs-loading.module";
|
|
6
|
+
import * as i5 from "@angular/material/icon";
|
|
7
|
+
export declare class EcabsButtonsV2Module {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EcabsButtonsV2Module, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsButtonsV2Module, [typeof i1.ButtonsV2Component], [typeof i2.CommonModule, typeof i3.MatButtonModule, typeof i4.EcabsLoadingModule, typeof i5.MatIconModule], [typeof i1.ButtonsV2Component]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<EcabsButtonsV2Module>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AfterViewInit, DestroyRef, EventEmitter, Injector } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
4
|
+
import EcabsElementBaseComponent from '../base/element-base';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class EcabsCheckboxV2Component extends EcabsElementBaseComponent implements ControlValueAccessor, AfterViewInit {
|
|
7
|
+
private readonly injector;
|
|
8
|
+
private readonly destroyRef;
|
|
9
|
+
label: string;
|
|
10
|
+
showLabel: boolean;
|
|
11
|
+
set checked(value: boolean);
|
|
12
|
+
readonly checkboxChanged: EventEmitter<boolean>;
|
|
13
|
+
val: boolean;
|
|
14
|
+
get value(): boolean;
|
|
15
|
+
get hasError(): boolean;
|
|
16
|
+
set value(value: boolean);
|
|
17
|
+
constructor(injector: Injector, destroyRef: DestroyRef);
|
|
18
|
+
onChange: (value: boolean) => void;
|
|
19
|
+
onTouched: () => void;
|
|
20
|
+
ngAfterViewInit(): void;
|
|
21
|
+
toggle(event: MatCheckboxChange): void;
|
|
22
|
+
onRowClick(): void;
|
|
23
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
24
|
+
onBlur(): void;
|
|
25
|
+
writeValue(value: boolean | null | undefined): void;
|
|
26
|
+
registerOnChange(fn: (value: boolean) => void): void;
|
|
27
|
+
registerOnTouched(fn: () => void): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EcabsCheckboxV2Component, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EcabsCheckboxV2Component, "ecabs-checkbox-v2", never, { "label": { "alias": "label"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "checkboxChanged": "checkboxChanged"; }, never, never, false, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./ecabs-checkbox-v2.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../base/element-wrapper/element-wrapper.module";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "@angular/material/icon";
|
|
7
|
+
import * as i6 from "@angular/material/checkbox";
|
|
8
|
+
export declare class EcabsCheckboxV2Module {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EcabsCheckboxV2Module, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsCheckboxV2Module, [typeof i1.EcabsCheckboxV2Component], [typeof i2.CommonModule, typeof i3.ElementWrapperModule, typeof i4.FormsModule, typeof i5.MatIconModule, typeof i6.MatCheckboxModule], [typeof i1.EcabsCheckboxV2Component]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<EcabsCheckboxV2Module>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
3
|
+
import { SelectOption } from '../base/models/select.models';
|
|
4
|
+
import EcabsElementBaseComponent from '../base/element-base';
|
|
5
|
+
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class EcabsChipAutocompleteComponent<T = unknown> extends EcabsElementBaseComponent implements ControlValueAccessor, OnChanges {
|
|
8
|
+
private readonly document;
|
|
9
|
+
private readonly inputRef?;
|
|
10
|
+
visibleOptions: number;
|
|
11
|
+
autoActiveFirstOption: boolean;
|
|
12
|
+
noResultsText: string;
|
|
13
|
+
loadingText: string;
|
|
14
|
+
compareFn: (a: T, b: T) => boolean;
|
|
15
|
+
avatarTemplate: TemplateRef<{
|
|
16
|
+
$implicit: SelectOption<T>;
|
|
17
|
+
}> | null;
|
|
18
|
+
truncateAt: number;
|
|
19
|
+
suppressNextTermOnRefocus: boolean;
|
|
20
|
+
useExternalFilter: boolean;
|
|
21
|
+
set options(value: SelectOption<T>[] | null);
|
|
22
|
+
readonly selectionChange: EventEmitter<T[]>;
|
|
23
|
+
readonly termChange: EventEmitter<string>;
|
|
24
|
+
protected readonly inputControl: FormControl<string>;
|
|
25
|
+
private readonly normalizedTerm$;
|
|
26
|
+
private readonly _loading;
|
|
27
|
+
private readonly _options;
|
|
28
|
+
private readonly _values;
|
|
29
|
+
private readonly _suppressNextTermOnRefocus;
|
|
30
|
+
private readonly _term;
|
|
31
|
+
private readonly destroyRef;
|
|
32
|
+
protected readonly overlayPanelClass = "ecabs-chip-autocomplete-overlay-panel";
|
|
33
|
+
protected readonly selectedOptions: import("@angular/core").Signal<SelectOption<T>[]>;
|
|
34
|
+
protected readonly filteredOptions: import("@angular/core").Signal<SelectOption<T>[]>;
|
|
35
|
+
protected readonly noMatchResult: import("@angular/core").Signal<boolean>;
|
|
36
|
+
get options(): SelectOption<T>[] | null;
|
|
37
|
+
constructor(document: Document);
|
|
38
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
39
|
+
setOverlayHeight(): void;
|
|
40
|
+
setSelection(event: MatAutocompleteSelectedEvent): void;
|
|
41
|
+
removeSelection(option: SelectOption<T>): void;
|
|
42
|
+
trackByFn(_index: number, option: SelectOption<T>): T | number;
|
|
43
|
+
writeValue(value: T[] | null): void;
|
|
44
|
+
registerOnChange(fn: typeof this.onChange): void;
|
|
45
|
+
registerOnTouched(fn: () => void): void;
|
|
46
|
+
setDisabledState(isDisabled: boolean): void;
|
|
47
|
+
blur(): void;
|
|
48
|
+
private onChange;
|
|
49
|
+
private onTouched;
|
|
50
|
+
private updateValues;
|
|
51
|
+
private clearAndRefocusInput;
|
|
52
|
+
private setValidSelectedOptions;
|
|
53
|
+
private setFilteredOptions;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EcabsChipAutocompleteComponent<any>, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EcabsChipAutocompleteComponent<any>, "ecabs-chip-autocomplete", never, { "visibleOptions": { "alias": "visibleOptions"; "required": false; }; "autoActiveFirstOption": { "alias": "autoActiveFirstOption"; "required": false; }; "noResultsText": { "alias": "noResultsText"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "compareFn": { "alias": "compareFn"; "required": false; }; "avatarTemplate": { "alias": "avatarTemplate"; "required": false; }; "truncateAt": { "alias": "truncateAt"; "required": false; }; "suppressNextTermOnRefocus": { "alias": "suppressNextTermOnRefocus"; "required": false; }; "useExternalFilter": { "alias": "useExternalFilter"; "required": false; }; "options": { "alias": "options"; "required": true; }; }, { "selectionChange": "selectionChange"; "termChange": "termChange"; }, never, never, true, never>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { SelectOption } from '../base/models/select.models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class EcabsChipGroupComponent<T = unknown> implements ControlValueAccessor {
|
|
6
|
+
options: SelectOption<T>[];
|
|
7
|
+
multiple: boolean;
|
|
8
|
+
disableRipple: boolean;
|
|
9
|
+
truncateAt: number;
|
|
10
|
+
compareFn: (a: T, b: T) => boolean;
|
|
11
|
+
trackByFn: (index: number, option: SelectOption<T>) => unknown;
|
|
12
|
+
selectedChange: EventEmitter<T | T[]>;
|
|
13
|
+
protected readonly _value: import("@angular/core").WritableSignal<T | T[]>;
|
|
14
|
+
protected readonly isDisabled: import("@angular/core").WritableSignal<boolean>;
|
|
15
|
+
chipValueChange(value: T | T[]): void;
|
|
16
|
+
writeValue(value: T | T[] | null): void;
|
|
17
|
+
registerOnChange(fn: typeof this.onChange): void;
|
|
18
|
+
registerOnTouched(fn: () => void): void;
|
|
19
|
+
setDisabledState(isDisabled: boolean): void;
|
|
20
|
+
private onChange;
|
|
21
|
+
private onTouched;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EcabsChipGroupComponent<any>, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EcabsChipGroupComponent<any>, "ecabs-chip-group", never, { "options": { "alias": "options"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "truncateAt": { "alias": "truncateAt"; "required": false; }; "compareFn": { "alias": "compareFn"; "required": false; }; "trackByFn": { "alias": "trackByFn"; "required": false; }; }, { "selectedChange": "selectedChange"; }, never, never, false, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./ecabs-chip-group.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/chips";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "@angular/material/tooltip";
|
|
7
|
+
import * as i6 from "../base/pipes/pipes.module";
|
|
8
|
+
export declare class EcabsChipGroupModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EcabsChipGroupModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsChipGroupModule, [typeof i1.EcabsChipGroupComponent], [typeof i2.CommonModule, typeof i3.MatChipsModule, typeof i4.FormsModule, typeof i5.MatTooltipModule, typeof i6.EcabsPipesModule], [typeof i1.EcabsChipGroupComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<EcabsChipGroupModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EcabsDatePickerHeaderService } from '../../../base/services/ecabs-date-picker-translations.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class EcabsDateRangePickerHeaderComponentV2 {
|
|
4
|
+
readonly ecabsDatePickerHeaderService: EcabsDatePickerHeaderService;
|
|
5
|
+
selectDateLabel: string;
|
|
6
|
+
constructor(ecabsDatePickerHeaderService: EcabsDatePickerHeaderService);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EcabsDateRangePickerHeaderComponentV2, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EcabsDateRangePickerHeaderComponentV2, "ecabs-date-range-picker-header-v2", never, { "selectDateLabel": { "alias": "selectDateLabel"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { AfterViewInit, DestroyRef, EventEmitter, Injector, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, UntypedFormControl } from '@angular/forms';
|
|
3
|
+
import { MatDateRangePicker } from '@angular/material/datepicker';
|
|
4
|
+
import EcabsElementBaseComponent from '../base/element-base';
|
|
5
|
+
import { EcabsDatePickerHolidayOptions, EcabsDatePickerTranslations } from '../base/models/ecabs-date-picker-translations.models';
|
|
6
|
+
import { EcabsDatePickerHeaderService } from '../base/services/ecabs-date-picker-translations.service';
|
|
7
|
+
import { EcabsDateRangePickerHeaderComponentV2 } from './components/ecabs-date-range-picker-header/ecabs-date-range-picker-header-v2.component';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class EcabsDateRangePickerComponentV2 extends EcabsElementBaseComponent implements ControlValueAccessor, AfterViewInit, OnInit, OnChanges {
|
|
10
|
+
private readonly injector;
|
|
11
|
+
private readonly ecabsDatePickerHeaderService;
|
|
12
|
+
private readonly destroyRef;
|
|
13
|
+
minDate: Date;
|
|
14
|
+
maxDate: Date;
|
|
15
|
+
touchUi: boolean;
|
|
16
|
+
cancelLabel: string;
|
|
17
|
+
applyLabel: string;
|
|
18
|
+
startDatePlaceholder: string;
|
|
19
|
+
endDatePlaceholder: string;
|
|
20
|
+
separatorLabel: string;
|
|
21
|
+
excludeHolidays: boolean;
|
|
22
|
+
excludeWeekends: boolean;
|
|
23
|
+
specificDates: Date[];
|
|
24
|
+
holidayOptions: EcabsDatePickerHolidayOptions;
|
|
25
|
+
onblur: EventEmitter<any>;
|
|
26
|
+
val: {
|
|
27
|
+
dateFrom: string;
|
|
28
|
+
dateTo: string;
|
|
29
|
+
};
|
|
30
|
+
pickerTo: MatDateRangePicker<any> | undefined;
|
|
31
|
+
header: typeof EcabsDateRangePickerHeaderComponentV2;
|
|
32
|
+
_dateFrom: string;
|
|
33
|
+
_dateTo: string;
|
|
34
|
+
translationConfig: EcabsDatePickerTranslations;
|
|
35
|
+
minDateFrom?: Date;
|
|
36
|
+
maxDateFrom?: Date;
|
|
37
|
+
minDateTo?: Date;
|
|
38
|
+
maxDateTo?: Date;
|
|
39
|
+
protected readonly panelClass = "ecabs-date-range-picker-v2";
|
|
40
|
+
private holidayInstance;
|
|
41
|
+
get value(): {
|
|
42
|
+
dateFrom: string;
|
|
43
|
+
dateTo: string;
|
|
44
|
+
};
|
|
45
|
+
get dateFrom(): string;
|
|
46
|
+
get dateTo(): string;
|
|
47
|
+
set value(val: {
|
|
48
|
+
dateFrom: string;
|
|
49
|
+
dateTo: string;
|
|
50
|
+
});
|
|
51
|
+
set dateFrom(val: string);
|
|
52
|
+
set dateTo(val: string);
|
|
53
|
+
constructor(injector: Injector, ecabsDatePickerHeaderService: EcabsDatePickerHeaderService, destroyRef: DestroyRef);
|
|
54
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
55
|
+
ngOnInit(): void;
|
|
56
|
+
ngAfterViewInit(): void;
|
|
57
|
+
onChange: any;
|
|
58
|
+
onTouch: any;
|
|
59
|
+
writeValue(value: any): void;
|
|
60
|
+
registerOnChange(fn: any): void;
|
|
61
|
+
registerOnTouched(fn: any): void;
|
|
62
|
+
blurChange(e: any): void;
|
|
63
|
+
onApply(): void;
|
|
64
|
+
filterDateRange: (date: Date) => boolean;
|
|
65
|
+
isDateNotHoliday(date: Date): boolean;
|
|
66
|
+
dateRangeValidator(control: UntypedFormControl): void;
|
|
67
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EcabsDateRangePickerComponentV2, never>;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EcabsDateRangePickerComponentV2, "ecabs-date-range-picker-v2", never, { "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "touchUi": { "alias": "touchUi"; "required": false; }; "cancelLabel": { "alias": "cancelLabel"; "required": false; }; "applyLabel": { "alias": "applyLabel"; "required": false; }; "startDatePlaceholder": { "alias": "startDatePlaceholder"; "required": false; }; "endDatePlaceholder": { "alias": "endDatePlaceholder"; "required": false; }; "separatorLabel": { "alias": "separatorLabel"; "required": false; }; "excludeHolidays": { "alias": "excludeHolidays"; "required": false; }; "excludeWeekends": { "alias": "excludeWeekends"; "required": false; }; "specificDates": { "alias": "specificDates"; "required": false; }; "holidayOptions": { "alias": "holidayOptions"; "required": false; }; }, { "onblur": "onblur"; }, never, never, false, never>;
|
|
69
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./ecabs-date-range-picker-v2.component";
|
|
3
|
+
import * as i2 from "./components/ecabs-date-range-picker-header/ecabs-date-range-picker-header-v2.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../base/element-wrapper/element-wrapper.module";
|
|
6
|
+
import * as i5 from "@angular/material/icon";
|
|
7
|
+
import * as i6 from "@angular/material/datepicker";
|
|
8
|
+
import * as i7 from "@angular/material/button";
|
|
9
|
+
import * as i8 from "@angular/forms";
|
|
10
|
+
import * as i9 from "../ecabs-picker-header/ecabs-picker-header.module";
|
|
11
|
+
import * as i10 from "../ecabs-buttons/ecabs-buttons.module";
|
|
12
|
+
import * as i11 from "../base/directives/digits-only.directive.module";
|
|
13
|
+
import * as i12 from "../base/directives/number-border.directive.module";
|
|
14
|
+
import * as i13 from "../base/directives/date-mask.directive.module";
|
|
15
|
+
import * as i14 from "@angular/material/input";
|
|
16
|
+
import * as i15 from "../ecabs-date-picker-actions/ecabs-date-picker-actions.module";
|
|
17
|
+
export declare class EcabsDateRangeModuleV2 {
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EcabsDateRangeModuleV2, never>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsDateRangeModuleV2, [typeof i1.EcabsDateRangePickerComponentV2, typeof i2.EcabsDateRangePickerHeaderComponentV2], [typeof i3.CommonModule, typeof i4.ElementWrapperModule, typeof i5.MatIconModule, typeof i6.MatDatepickerModule, typeof i7.MatButtonModule, typeof i8.FormsModule, typeof i8.ReactiveFormsModule, typeof i9.EcabsPickerHeaderModule, typeof i10.EcabsButtonsModule, typeof i11.EcabsDigitsOnlyDirectivesModule, typeof i12.EcabsNumberBorderDirectiveModule, typeof i13.EcabsMaskDateDirectiveModule, typeof i14.MatInputModule, typeof i15.EcabsDatePickerActionsModule], [typeof i1.EcabsDateRangePickerComponentV2, typeof i2.EcabsDateRangePickerHeaderComponentV2]>;
|
|
20
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<EcabsDateRangeModuleV2>;
|
|
21
|
+
}
|
|
@@ -39,7 +39,7 @@ export declare class EcabsDateTimePickerComponent extends EcabsElementBaseCompon
|
|
|
39
39
|
preventCallSetterPickerValue: boolean;
|
|
40
40
|
runTimeout: boolean;
|
|
41
41
|
translationConfig: EcabsDatePickerTranslations;
|
|
42
|
-
isEmptyFormat:
|
|
42
|
+
isEmptyFormat: any;
|
|
43
43
|
get value(): Date;
|
|
44
44
|
get pickerValue(): string;
|
|
45
45
|
get hours(): string;
|
|
@@ -61,7 +61,9 @@ export declare class EcabsDateTimePickerComponent extends EcabsElementBaseCompon
|
|
|
61
61
|
onApply(): void;
|
|
62
62
|
refreshPickerValue(date: Date): void;
|
|
63
63
|
private formatDateTime;
|
|
64
|
-
private
|
|
64
|
+
private normalizeWithAutoPad;
|
|
65
|
+
private toDigits;
|
|
66
|
+
private formatTwoDigits;
|
|
65
67
|
private setValues;
|
|
66
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<EcabsDateTimePickerComponent, never>;
|
|
67
69
|
static ɵcmp: i0.ɵɵComponentDeclaration<EcabsDateTimePickerComponent, "ecabs-date-time-picker", never, { "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "touchUi": { "alias": "touchUi"; "required": false; }; "hideSeconds": { "alias": "hideSeconds"; "required": false; }; "cancelLabel": { "alias": "cancelLabel"; "required": false; }; "applyLabel": { "alias": "applyLabel"; "required": false; }; "applyMinDateAuto": { "alias": "applyMinDateAuto"; "required": false; }; "preserveOriginalValue": { "alias": "preserveOriginalValue"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -5,11 +5,12 @@ export interface PlaceholderRedirectPath {
|
|
|
5
5
|
path: string;
|
|
6
6
|
}
|
|
7
7
|
export declare class EcabsEmptyPlaceholderComponent implements OnChanges {
|
|
8
|
+
title?: string;
|
|
8
9
|
isEmptyMessage: string;
|
|
9
10
|
redirectPath: PlaceholderRedirectPath;
|
|
10
11
|
srcImage: string;
|
|
11
12
|
image: string;
|
|
12
13
|
ngOnChanges(changes: SimpleChanges): void;
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<EcabsEmptyPlaceholderComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EcabsEmptyPlaceholderComponent, "ecabs-empty-placeholder", never, { "isEmptyMessage": { "alias": "isEmptyMessage"; "required": false; }; "redirectPath": { "alias": "redirectPath"; "required": false; }; "srcImage": { "alias": "srcImage"; "required": false; }; }, {}, never,
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EcabsEmptyPlaceholderComponent, "ecabs-empty-placeholder", never, { "title": { "alias": "title"; "required": false; }; "isEmptyMessage": { "alias": "isEmptyMessage"; "required": false; }; "redirectPath": { "alias": "redirectPath"; "required": false; }; "srcImage": { "alias": "srcImage"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
15
16
|
}
|