@progressio_resources/gravity-design-system 3.6.14 → 3.6.15
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/esm2022/lib/components/gravity-button/gravity-button.component.mjs +3 -3
- package/esm2022/lib/components/gravity-card-button/gravity-card-button.component.mjs +6 -4
- package/esm2022/lib/components/gravity-checkbox/gravity-checkbox.component.mjs +6 -4
- package/esm2022/lib/components/gravity-chip-group/gravity-chip-group.component.mjs +3 -3
- package/esm2022/lib/components/gravity-currency/gravity-currency.component.mjs +3 -3
- package/esm2022/lib/components/gravity-currency-display-v2/gravity-currency-display-v2.component.mjs +6 -4
- package/esm2022/lib/components/gravity-date-picker/components/day-calendar/day-calendar.component.mjs +3 -3
- package/esm2022/lib/components/gravity-date-picker/components/month-calendar/month-calendar.component.mjs +3 -3
- package/esm2022/lib/components/gravity-date-picker/components/year-calendar/year-calendar.component.mjs +3 -3
- package/esm2022/lib/components/gravity-date-picker/gravity-date-picker.component.mjs +3 -3
- package/esm2022/lib/components/gravity-detail-container/gravity-detail-container.component.mjs +6 -4
- package/esm2022/lib/components/gravity-dialog/gravity-dialog.component.mjs +3 -3
- package/esm2022/lib/components/gravity-dropdown-list/gravity-dropdown-list.component.mjs +3 -3
- package/esm2022/lib/components/gravity-dropdown-list-display/gravity-dropdown-list-display.component.mjs +3 -3
- package/esm2022/lib/components/gravity-editable-input/gravity-editable-input.component.mjs +6 -4
- package/esm2022/lib/components/gravity-generic-avatar/gravity-generic-avatar.component.mjs +6 -4
- package/esm2022/lib/components/gravity-generic-avatar-secondary/gravity-generic-avatar-secondary.component.mjs +3 -3
- package/esm2022/lib/components/gravity-icon/gravity-icon.component.mjs +3 -3
- package/esm2022/lib/components/gravity-icon-button/gravity-icon-button.component.mjs +3 -3
- package/esm2022/lib/components/gravity-link/gravity-link.component.mjs +3 -3
- package/esm2022/lib/components/gravity-modal/gravity-modal.component.mjs +3 -3
- package/esm2022/lib/components/gravity-multi-language/gravity-multi-language.component.mjs +3 -3
- package/esm2022/lib/components/gravity-navigation-card/gravity-navigation-card.component.mjs +6 -4
- package/esm2022/lib/components/gravity-network-pill/gravity-network-pill.component.mjs +3 -3
- package/esm2022/lib/components/gravity-notification/gravity-notification.component.mjs +3 -3
- package/esm2022/lib/components/gravity-notification-instant/gravity-notification-instant-container.component.mjs +3 -3
- package/esm2022/lib/components/gravity-radio-button/gravity-radio-button.component.mjs +6 -4
- package/esm2022/lib/components/gravity-segmented-button/gravity-segmented-button.component.mjs +3 -3
- package/esm2022/lib/components/gravity-status-indicator/gravity-status-indicator.component.mjs +3 -3
- package/esm2022/lib/components/gravity-switch/gravity-switch.component.mjs +3 -3
- package/esm2022/lib/components/gravity-tab-primary/gravity-tab-primary.component.mjs +3 -3
- package/esm2022/lib/components/gravity-tab-secondary/gravity-tab-secondary.component.mjs +3 -3
- package/esm2022/lib/components/gravity-text-field/gravity-text-field.component.mjs +3 -3
- package/esm2022/lib/components/gravity-text-field-number-only/gravity-text-field-number-only.component.mjs +3 -3
- package/esm2022/lib/gravity-design-system.module.mjs +1 -26
- package/esm2022/lib/layout/gravity-menu/gravity-menu.component.mjs +1 -1
- package/esm2022/public-api.mjs +1 -6
- package/fesm2022/progressio_resources-gravity-design-system.mjs +107 -366
- package/fesm2022/progressio_resources-gravity-design-system.mjs.map +1 -1
- package/lib/components/gravity-card-button/gravity-card-button.component.d.ts +2 -1
- package/lib/components/gravity-checkbox/gravity-checkbox.component.d.ts +2 -1
- package/lib/components/gravity-currency-display-v2/gravity-currency-display-v2.component.d.ts +2 -1
- package/lib/components/gravity-detail-container/gravity-detail-container.component.d.ts +2 -1
- package/lib/components/gravity-dialog/gravity-dialog.component.d.ts +0 -1
- package/lib/components/gravity-editable-input/gravity-editable-input.component.d.ts +2 -1
- package/lib/components/gravity-generic-avatar/gravity-generic-avatar.component.d.ts +2 -1
- package/lib/components/gravity-navigation-card/gravity-navigation-card.component.d.ts +2 -1
- package/lib/components/gravity-radio-button/gravity-radio-button.component.d.ts +2 -1
- package/lib/components/gravity-segmented-button/gravity-segmented-button.component.d.ts +1 -0
- package/lib/gravity-design-system.module.d.ts +71 -76
- package/package.json +1 -1
- package/public-api.d.ts +0 -5
- package/esm2022/lib/components/gravity-calendar/gravity-calendar.component.mjs +0 -86
- package/esm2022/lib/components/gravity-card-list/gravity-card-list.component.mjs +0 -52
- package/esm2022/lib/components/gravity-chip/gravity-chip.component.mjs +0 -47
- package/esm2022/lib/components/gravity-currency-display/gravity-currency-display.component.mjs +0 -44
- package/esm2022/lib/components/gravity-data-view/gravity-data-view.component.mjs +0 -46
- package/lib/components/gravity-calendar/gravity-calendar.component.d.ts +0 -40
- package/lib/components/gravity-card-list/gravity-card-list.component.d.ts +0 -16
- package/lib/components/gravity-chip/gravity-chip.component.d.ts +0 -16
- package/lib/components/gravity-currency-display/gravity-currency-display.component.d.ts +0 -21
- package/lib/components/gravity-data-view/gravity-data-view.component.d.ts +0 -21
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class GravityCardButtonComponent {
|
|
4
|
+
cypressTag: string;
|
|
4
5
|
label: string;
|
|
5
6
|
iconName: string;
|
|
6
7
|
fullWidth: boolean;
|
|
@@ -10,5 +11,5 @@ export declare class GravityCardButtonComponent {
|
|
|
10
11
|
clicked: EventEmitter<void>;
|
|
11
12
|
onCardButtonClick(): void;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityCardButtonComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GravityCardButtonComponent, "gravity-card-button", never, { "label": { "alias": "label"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "type": { "alias": "type"; "required": false; }; "state": { "alias": "state"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; }, { "clicked": "clicked"; }, never, never, false, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GravityCardButtonComponent, "gravity-card-button", never, { "cypressTag": { "alias": "cypressTag"; "required": false; }; "label": { "alias": "label"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "type": { "alias": "type"; "required": false; }; "state": { "alias": "state"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; }, { "clicked": "clicked"; }, never, never, false, never>;
|
|
14
15
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AfterViewInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class GravityCheckboxComponent implements AfterViewInit, OnChanges {
|
|
4
|
+
cypressTag: string;
|
|
4
5
|
checked: boolean;
|
|
5
6
|
disabled: boolean;
|
|
6
7
|
name: string;
|
|
@@ -16,5 +17,5 @@ export declare class GravityCheckboxComponent implements AfterViewInit, OnChange
|
|
|
16
17
|
ngOnChanges(changes: SimpleChanges): void;
|
|
17
18
|
toggleCheckbox(): void;
|
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityCheckboxComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GravityCheckboxComponent, "gravity-checkbox", never, { "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "isPartial": { "alias": "isPartial"; "required": false; }; }, { "change": "change"; }, never, ["*"], false, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GravityCheckboxComponent, "gravity-checkbox", never, { "cypressTag": { "alias": "cypressTag"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "isPartial": { "alias": "isPartial"; "required": false; }; }, { "change": "change"; }, never, ["*"], false, never>;
|
|
20
21
|
}
|
package/lib/components/gravity-currency-display-v2/gravity-currency-display-v2.component.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class GravityCurrencyDisplayV2Component {
|
|
3
|
+
cypressTag: string;
|
|
3
4
|
disabled: boolean;
|
|
4
5
|
type: 'full' | 'short-hrz' | 'short-vrt' | 'fiat-short';
|
|
5
6
|
currency: {
|
|
@@ -11,5 +12,5 @@ export declare class GravityCurrencyDisplayV2Component {
|
|
|
11
12
|
pill_type?: 'primary' | 'secondary';
|
|
12
13
|
};
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityCurrencyDisplayV2Component, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GravityCurrencyDisplayV2Component, "gravity-currency-display-v2", never, { "disabled": { "alias": "disabled"; "required": false; }; "type": { "alias": "type"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GravityCurrencyDisplayV2Component, "gravity-currency-display-v2", never, { "cypressTag": { "alias": "cypressTag"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "type": { "alias": "type"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
16
|
}
|
|
@@ -3,6 +3,7 @@ import { GravityResponsiveService } from "../../services/gravity-responsive.serv
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class GravityDetailContainerComponent implements AfterViewInit, OnDestroy {
|
|
5
5
|
readonly gravityResponsiveService: GravityResponsiveService;
|
|
6
|
+
cypressTag: string;
|
|
6
7
|
title: string;
|
|
7
8
|
description: string;
|
|
8
9
|
mode: 'modal' | 'standard';
|
|
@@ -23,5 +24,5 @@ export declare class GravityDetailContainerComponent implements AfterViewInit, O
|
|
|
23
24
|
private checkHasScroll;
|
|
24
25
|
ngOnDestroy(): void;
|
|
25
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityDetailContainerComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GravityDetailContainerComponent, "gravity-detail-container", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "type": { "alias": "type"; "required": false; }; "optionalHeight": { "alias": "optionalHeight"; "required": false; }; "language": { "alias": "language"; "required": false; }; }, { "closed": "closed"; "menuEvent": "menuEvent"; }, never, ["[detail-body]", "[detail-actions]"], false, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GravityDetailContainerComponent, "gravity-detail-container", never, { "cypressTag": { "alias": "cypressTag"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "type": { "alias": "type"; "required": false; }; "optionalHeight": { "alias": "optionalHeight"; "required": false; }; "language": { "alias": "language"; "required": false; }; }, { "closed": "closed"; "menuEvent": "menuEvent"; }, never, ["[detail-body]", "[detail-actions]"], false, never>;
|
|
27
28
|
}
|
|
@@ -11,7 +11,6 @@ export declare class GravityDialogComponent {
|
|
|
11
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<GravityDialogComponent, "ng-component", never, { "dialogContent": { "alias": "dialogContent"; "required": false; }; }, {}, never, never, false, never>;
|
|
12
12
|
}
|
|
13
13
|
export interface GravityDialogContentInterface {
|
|
14
|
-
closeIconCypressTag?: string;
|
|
15
14
|
componentInputs?: any;
|
|
16
15
|
contentTemplateRef?: TemplateRef<any>;
|
|
17
16
|
contentTemplateComponent?: any;
|
|
@@ -2,6 +2,7 @@ import { EventEmitter } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class GravityEditableInputComponent {
|
|
4
4
|
isFocused: boolean;
|
|
5
|
+
cypressTag: string;
|
|
5
6
|
label: string;
|
|
6
7
|
value: string;
|
|
7
8
|
placeholder: string;
|
|
@@ -14,5 +15,5 @@ export declare class GravityEditableInputComponent {
|
|
|
14
15
|
onKeyUp(inputField: HTMLInputElement): void;
|
|
15
16
|
focusInput(inputField: HTMLInputElement): void;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityEditableInputComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GravityEditableInputComponent, "gravity-editable-input", never, { "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "size": { "alias": "size"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "haveError": { "alias": "haveError"; "required": false; }; "justNumber": { "alias": "justNumber"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GravityEditableInputComponent, "gravity-editable-input", never, { "cypressTag": { "alias": "cypressTag"; "required": false; }; "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "size": { "alias": "size"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "haveError": { "alias": "haveError"; "required": false; }; "justNumber": { "alias": "justNumber"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
18
19
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class GravityGenericAvatarComponent {
|
|
3
|
+
cypressTag: string;
|
|
3
4
|
label: string;
|
|
4
5
|
initials: string;
|
|
5
6
|
isDisabled: boolean;
|
|
6
7
|
size: 'sm' | 'md';
|
|
7
8
|
getStatus(): string;
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityGenericAvatarComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GravityGenericAvatarComponent, "gravity-generic-avatar", never, { "label": { "alias": "label"; "required": false; }; "initials": { "alias": "initials"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GravityGenericAvatarComponent, "gravity-generic-avatar", never, { "cypressTag": { "alias": "cypressTag"; "required": false; }; "label": { "alias": "label"; "required": false; }; "initials": { "alias": "initials"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
11
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class GravityNavigationCardComponent {
|
|
4
|
+
cypressTag: string;
|
|
4
5
|
size: 'sm' | 'md';
|
|
5
6
|
state: 'active' | 'readonly';
|
|
6
7
|
title: string;
|
|
@@ -19,5 +20,5 @@ export declare class GravityNavigationCardComponent {
|
|
|
19
20
|
onPress(): void;
|
|
20
21
|
onRelease(): void;
|
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityNavigationCardComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GravityNavigationCardComponent, "gravity-navigation-card", never, { "size": { "alias": "size"; "required": false; }; "state": { "alias": "state"; "required": false; }; "title": { "alias": "title"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "actionText": { "alias": "actionText"; "required": false; }; "description": { "alias": "description"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "statusIndicator": { "alias": "statusIndicator"; "required": false; }; }, { "navigatorCardClicked": "navigatorCardClicked"; }, never, never, false, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GravityNavigationCardComponent, "gravity-navigation-card", never, { "cypressTag": { "alias": "cypressTag"; "required": false; }; "size": { "alias": "size"; "required": false; }; "state": { "alias": "state"; "required": false; }; "title": { "alias": "title"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "actionText": { "alias": "actionText"; "required": false; }; "description": { "alias": "description"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "statusIndicator": { "alias": "statusIndicator"; "required": false; }; }, { "navigatorCardClicked": "navigatorCardClicked"; }, never, never, false, never>;
|
|
23
24
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class GravityRadioButtonComponent {
|
|
4
|
+
cypressTag: string;
|
|
4
5
|
checked: boolean;
|
|
5
6
|
disabled: boolean;
|
|
6
7
|
name: string;
|
|
@@ -9,5 +10,5 @@ export declare class GravityRadioButtonComponent {
|
|
|
9
10
|
onChange: EventEmitter<string>;
|
|
10
11
|
onChangeEvent(value: string): void;
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityRadioButtonComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GravityRadioButtonComponent, "gravity-radio-button", never, { "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "onChange": "onChange"; }, never, ["*"], false, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GravityRadioButtonComponent, "gravity-radio-button", never, { "cypressTag": { "alias": "cypressTag"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "onChange": "onChange"; }, never, ["*"], false, never>;
|
|
13
14
|
}
|
|
@@ -3,83 +3,78 @@ import * as i1 from "./components/gravity-attach-file/gravity-attach-file.compon
|
|
|
3
3
|
import * as i2 from "./components/gravity-avatar-stack/gravity-avatar-stack.component";
|
|
4
4
|
import * as i3 from "./components/gravity-generic-avatar/gravity-generic-avatar.component";
|
|
5
5
|
import * as i4 from "./components/gravity-button/gravity-button.component";
|
|
6
|
-
import * as i5 from "./components/gravity-calendar/gravity-calendar.component";
|
|
7
|
-
import * as i6 from "./components/gravity-
|
|
8
|
-
import * as i7 from "./components/gravity-
|
|
9
|
-
import * as i8 from "./components/gravity-
|
|
10
|
-
import * as i9 from "./components/gravity-
|
|
11
|
-
import * as i10 from "./components/gravity-
|
|
12
|
-
import * as i11 from "./components/gravity-
|
|
13
|
-
import * as i12 from "./components/gravity-
|
|
14
|
-
import * as i13 from "./components/gravity-
|
|
15
|
-
import * as i14 from "./components/gravity-
|
|
16
|
-
import * as i15 from "./components/gravity-
|
|
17
|
-
import * as i16 from "./components/gravity-
|
|
18
|
-
import * as i17 from "./components/gravity-
|
|
19
|
-
import * as i18 from "./components/gravity-
|
|
20
|
-
import * as i19 from "./components/gravity-
|
|
21
|
-
import * as i20 from "./components/gravity-
|
|
22
|
-
import * as i21 from "./components/gravity-
|
|
23
|
-
import * as i22 from "./components/gravity-
|
|
24
|
-
import * as i23 from "./components/gravity-
|
|
25
|
-
import * as i24 from "./components/gravity-
|
|
26
|
-
import * as i25 from "./components/gravity-
|
|
27
|
-
import * as i26 from "./components/gravity-
|
|
28
|
-
import * as i27 from "./components/gravity-
|
|
29
|
-
import * as i28 from "./components/gravity-
|
|
30
|
-
import * as i29 from "./components/gravity-
|
|
31
|
-
import * as i30 from "./components/gravity-
|
|
32
|
-
import * as i31 from "./components/gravity-tree-view/
|
|
33
|
-
import * as i32 from "./components/gravity-
|
|
34
|
-
import * as i33 from "./components/gravity-
|
|
35
|
-
import * as i34 from "./components/gravity-
|
|
36
|
-
import * as i35 from "./components/gravity-
|
|
37
|
-
import * as i36 from "./components/gravity-
|
|
38
|
-
import * as i37 from "./components/gravity-calendar-v2/datepicker/
|
|
39
|
-
import * as i38 from "./components/gravity-calendar-v2/datepicker/components/bs-
|
|
40
|
-
import * as i39 from "./components/gravity-calendar-v2/datepicker/components/bs-datepicker-
|
|
41
|
-
import * as i40 from "./components/gravity-calendar-v2/datepicker/
|
|
42
|
-
import * as i41 from "./components/gravity-calendar-v2/datepicker/components/bs-
|
|
43
|
-
import * as i42 from "./components/gravity-calendar-v2/datepicker/
|
|
44
|
-
import * as i43 from "./components/gravity-calendar-v2/datepicker/components/bs-
|
|
45
|
-
import * as i44 from "./components/gravity-calendar-v2/datepicker/bs-
|
|
46
|
-
import * as i45 from "./components/gravity-calendar-v2/datepicker/components/bs-
|
|
47
|
-
import * as i46 from "./components/gravity-calendar-v2/datepicker/bs-
|
|
48
|
-
import * as i47 from "./components/gravity-
|
|
49
|
-
import * as i48 from "./components/gravity-
|
|
50
|
-
import * as i49 from "./components/gravity-
|
|
51
|
-
import * as i50 from "./components/gravity-
|
|
52
|
-
import * as i51 from "./components/gravity-
|
|
53
|
-
import * as i52 from "./components/gravity-
|
|
54
|
-
import * as i53 from "./components/gravity-
|
|
55
|
-
import * as i54 from "./components/gravity-
|
|
56
|
-
import * as i55 from "./components/gravity-
|
|
57
|
-
import * as i56 from "./components/gravity-
|
|
58
|
-
import * as i57 from "./components/gravity-
|
|
59
|
-
import * as i58 from "./components/gravity-
|
|
60
|
-
import * as i59 from "./components/gravity-
|
|
61
|
-
import * as i60 from "./components/gravity-
|
|
62
|
-
import * as i61 from "./components/gravity-
|
|
63
|
-
import * as i62 from "./components/gravity-
|
|
64
|
-
import * as i63 from "./components/gravity-
|
|
65
|
-
import * as i64 from "./
|
|
66
|
-
import * as i65 from "./components/gravity-
|
|
67
|
-
import * as i66 from "./
|
|
68
|
-
import * as i67 from "
|
|
69
|
-
import * as i68 from "
|
|
70
|
-
import * as i69 from "
|
|
71
|
-
import * as i70 from "
|
|
72
|
-
import * as i71 from "
|
|
73
|
-
import * as i72 from "
|
|
74
|
-
import * as i73 from "
|
|
75
|
-
import * as i74 from "
|
|
76
|
-
import * as i75 from "@angular/common";
|
|
77
|
-
import * as i76 from "@angular/forms";
|
|
78
|
-
import * as i77 from "./vendor/gravity-tooltip/gravity-tooltip.module";
|
|
79
|
-
import * as i78 from "@ng-bootstrap/ng-bootstrap";
|
|
80
|
-
import * as i79 from "@angular/router";
|
|
6
|
+
import * as i5 from "./components/gravity-calendar-v2/gravity-calendar-v2.component";
|
|
7
|
+
import * as i6 from "./components/gravity-checkbox/gravity-checkbox.component";
|
|
8
|
+
import * as i7 from "./components/gravity-currency/gravity-currency.component";
|
|
9
|
+
import * as i8 from "./components/gravity-data-views-v2/gravity-data-views-v2.component";
|
|
10
|
+
import * as i9 from "./components/gravity-dialog/gravity-dialog.component";
|
|
11
|
+
import * as i10 from "./components/gravity-detail-container/gravity-detail-container.component";
|
|
12
|
+
import * as i11 from "./components/gravity-dropdown-list/gravity-dropdown-list.component";
|
|
13
|
+
import * as i12 from "./components/gravity-dropdown-list-display/gravity-dropdown-list-display.component";
|
|
14
|
+
import * as i13 from "./components/gravity-icon-button/gravity-icon-button.component";
|
|
15
|
+
import * as i14 from "./components/gravity-icon/gravity-icon.component";
|
|
16
|
+
import * as i15 from "./components/gravity-multi-language/gravity-multi-language.component";
|
|
17
|
+
import * as i16 from "./components/gravity-network-pill/gravity-network-pill.component";
|
|
18
|
+
import * as i17 from "./components/gravity-notification/gravity-notification.component";
|
|
19
|
+
import * as i18 from "./components/gravity-notification-instant/gravity-notification-instant-container.component";
|
|
20
|
+
import * as i19 from "./components/gravity-radio-button/gravity-radio-button.component";
|
|
21
|
+
import * as i20 from "./components/gravity-status-indicator/gravity-status-indicator.component";
|
|
22
|
+
import * as i21 from "./components/gravity-stepper/gravity-stepper.component";
|
|
23
|
+
import * as i22 from "./components/gravity-switch/gravity-switch.component";
|
|
24
|
+
import * as i23 from "./components/gravity-table/gravity-table.component";
|
|
25
|
+
import * as i24 from "./components/gravity-tables-v2/gravity-tables-v2.component";
|
|
26
|
+
import * as i25 from "./components/gravity-text-field/gravity-text-field.component";
|
|
27
|
+
import * as i26 from "./components/gravity-text-field-number-only/gravity-text-field-number-only.component";
|
|
28
|
+
import * as i27 from "./components/gravity-tree-view/gravity-tree-view.component";
|
|
29
|
+
import * as i28 from "./components/gravity-tree-view/node/node.component";
|
|
30
|
+
import * as i29 from "./components/gravity-tree-view/node/node-toggle/node-toggle.component";
|
|
31
|
+
import * as i30 from "./components/gravity-tree-view/node/node-checkbox/node-checkbox.component";
|
|
32
|
+
import * as i31 from "./components/gravity-tree-view/node/node-name/node-name.component";
|
|
33
|
+
import * as i32 from "./components/gravity-dropdown-list/filter-by.pipe";
|
|
34
|
+
import * as i33 from "./components/gravity-calendar-v2/datepicker/utils/date-abbreviation.pipe";
|
|
35
|
+
import * as i34 from "./components/gravity-calendar-v2/datepicker/components/bs-days-calendar-view/bs-datepicker-day-decorator.directive";
|
|
36
|
+
import * as i35 from "./components/gravity-calendar-v2/datepicker/components/bs-datepicker-navigation-view/bs-datepicker-navigation-view.component";
|
|
37
|
+
import * as i36 from "./components/gravity-calendar-v2/datepicker/components/bs-days-calendar-view/bs-days-calendar-view.component";
|
|
38
|
+
import * as i37 from "./components/gravity-calendar-v2/datepicker/components/bs-months-calendar-view/bs-months-calendar-view.component";
|
|
39
|
+
import * as i38 from "./components/gravity-calendar-v2/datepicker/components/bs-years-calendar-view/bs-years-calendar-view.component";
|
|
40
|
+
import * as i39 from "./components/gravity-calendar-v2/datepicker/components/bs-datepicker-container.component";
|
|
41
|
+
import * as i40 from "./components/gravity-calendar-v2/datepicker/bs-datepicker.component";
|
|
42
|
+
import * as i41 from "./components/gravity-calendar-v2/datepicker/components/bs-datepicker-inline-container.component";
|
|
43
|
+
import * as i42 from "./components/gravity-calendar-v2/datepicker/bs-datepicker-inline.component";
|
|
44
|
+
import * as i43 from "./components/gravity-calendar-v2/datepicker/components/bs-daterangepicker-container.component";
|
|
45
|
+
import * as i44 from "./components/gravity-calendar-v2/datepicker/bs-daterangepicker.component";
|
|
46
|
+
import * as i45 from "./components/gravity-calendar-v2/datepicker/components/bs-daterangepicker-inline-container.component";
|
|
47
|
+
import * as i46 from "./components/gravity-calendar-v2/datepicker/bs-daterangepicker-inline.component";
|
|
48
|
+
import * as i47 from "./components/gravity-modal/gravity-modal.component";
|
|
49
|
+
import * as i48 from "./components/gravity-link/gravity-link.component";
|
|
50
|
+
import * as i49 from "./components/gravity-tab-primary/gravity-tab-primary.component";
|
|
51
|
+
import * as i50 from "./components/gravity-tab-secondary/gravity-tab-secondary.component";
|
|
52
|
+
import * as i51 from "./components/gravity-chip-group/gravity-chip-group.component";
|
|
53
|
+
import * as i52 from "./components/gravity-editable-input/gravity-editable-input.component";
|
|
54
|
+
import * as i53 from "./components/gravity-card-button/gravity-card-button.component";
|
|
55
|
+
import * as i54 from "./components/gravity-dropdown-label/gravity-dropdown-label.component";
|
|
56
|
+
import * as i55 from "./components/gravity-navigation-card/gravity-navigation-card.component";
|
|
57
|
+
import * as i56 from "./components/gravity-generic-avatar-secondary/gravity-generic-avatar-secondary.component";
|
|
58
|
+
import * as i57 from "./components/gravity-backdrop/gravity-backdrop.component";
|
|
59
|
+
import * as i58 from "./components/gravity-date-picker/gravity-date-picker.component";
|
|
60
|
+
import * as i59 from "./components/gravity-date-picker/components/day-calendar/day-calendar.component";
|
|
61
|
+
import * as i60 from "./components/gravity-date-picker/components/month-calendar/month-calendar.component";
|
|
62
|
+
import * as i61 from "./components/gravity-date-picker/components/year-calendar/year-calendar.component";
|
|
63
|
+
import * as i62 from "./components/gravity-segmented-button/gravity-segmented-button.component";
|
|
64
|
+
import * as i63 from "./components/gravity-currency-display-v2/gravity-currency-display-v2.component";
|
|
65
|
+
import * as i64 from "./layout/gravity-header/gravity-header.component";
|
|
66
|
+
import * as i65 from "./components/gravity-push-notifications/gravity-push-notifications.component";
|
|
67
|
+
import * as i66 from "./layout/gravity-menu/gravity-menu.component";
|
|
68
|
+
import * as i67 from "angular-svg-icon";
|
|
69
|
+
import * as i68 from "angular-svg-icon-preloader";
|
|
70
|
+
import * as i69 from "ngx-bootstrap/datepicker";
|
|
71
|
+
import * as i70 from "@angular/common";
|
|
72
|
+
import * as i71 from "@angular/forms";
|
|
73
|
+
import * as i72 from "./vendor/gravity-tooltip/gravity-tooltip.module";
|
|
74
|
+
import * as i73 from "@ng-bootstrap/ng-bootstrap";
|
|
75
|
+
import * as i74 from "@angular/router";
|
|
81
76
|
export declare class GravityDesignSystemModule {
|
|
82
77
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityDesignSystemModule, never>;
|
|
83
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GravityDesignSystemModule, [typeof i1.GravityAttachFileComponent, typeof i2.GravityAvatarStackComponent, typeof i3.GravityGenericAvatarComponent, typeof i4.GravityButtonComponent, typeof i5.
|
|
78
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GravityDesignSystemModule, [typeof i1.GravityAttachFileComponent, typeof i2.GravityAvatarStackComponent, typeof i3.GravityGenericAvatarComponent, typeof i4.GravityButtonComponent, typeof i5.GravityCalendarV2Component, typeof i6.GravityCheckboxComponent, typeof i7.GravityCurrencyComponent, typeof i8.GravityDataViewsV2Component, typeof i9.GravityDialogComponent, typeof i10.GravityDetailContainerComponent, typeof i11.GravityDropdownListComponent, typeof i12.GravityDropdownListDisplayComponent, typeof i13.GravityIconButtonComponent, typeof i14.GravityIconComponent, typeof i15.GravityMultiLanguageComponent, typeof i16.GravityNetworkPillComponent, typeof i17.GravityNotificationComponent, typeof i18.GravityNotificationInstantContainerComponent, typeof i19.GravityRadioButtonComponent, typeof i20.GravityStatusIndicatorComponent, typeof i21.GravityStepperComponent, typeof i22.GravitySwitchComponent, typeof i23.GravityTableComponent, typeof i24.GravityTablesV2Component, typeof i25.GravityTextFieldComponent, typeof i26.GravityTextFieldNumberOnlyComponent, typeof i27.GravityTreeViewComponent, typeof i28.NodeComponent, typeof i29.NodeToggleComponent, typeof i30.NodeCheckboxComponent, typeof i31.NodeNameComponent, typeof i32.FilterByPipe, typeof i33.DateAbbreviationPipe, typeof i34.BsDatepickerDayDecoratorComponent, typeof i35.BsDatepickerNavigationViewComponent, typeof i36.BsDaysCalendarViewComponent, typeof i37.BsMonthCalendarViewComponent, typeof i38.BsYearsCalendarViewComponent, typeof i39.BsDatepickerContainerComponent, typeof i40.BsDatepickerDirective, typeof i41.BsDatepickerInlineContainerComponent, typeof i42.BsDatepickerInlineDirective, typeof i43.BsDaterangepickerContainerComponent, typeof i44.BsDaterangepickerDirective, typeof i45.BsDaterangepickerInlineContainerComponent, typeof i46.BsDaterangepickerInlineDirective, typeof i47.GravityModalComponent, typeof i48.GravityLinkComponent, typeof i49.GravityTabPrimaryComponent, typeof i50.GravityTabSecondaryComponent, typeof i51.GravityChipGroupComponent, typeof i52.GravityEditableInputComponent, typeof i53.GravityCardButtonComponent, typeof i54.GravityDropdownLabelComponent, typeof i55.GravityNavigationCardComponent, typeof i56.GravityGenericAvatarSecondaryComponent, typeof i57.GravityBackdropComponent, typeof i58.GravityDatePickerComponent, typeof i59.DayCalendarComponent, typeof i60.MonthCalendarComponent, typeof i61.YearCalendarComponent, typeof i62.GravitySegmentedButtonComponent, typeof i63.GravityCurrencyDisplayV2Component, typeof i64.GravityHeaderComponent, typeof i65.GravityPushNotificationsComponent, typeof i66.GravityMenuComponent], [typeof i67.AngularSvgIconModule, typeof i68.AngularSvgIconPreloaderModule, typeof i69.BsDatepickerModule, typeof i70.CommonModule, typeof i71.FormsModule, typeof i72.GravityTooltipModule, typeof i73.NgbDatepickerModule, typeof i73.NgbOffcanvasModule, typeof i73.NgbProgressbarModule, typeof i73.NgbToastModule, typeof i71.ReactiveFormsModule, typeof i74.RouterLink], [typeof i1.GravityAttachFileComponent, typeof i2.GravityAvatarStackComponent, typeof i3.GravityGenericAvatarComponent, typeof i4.GravityButtonComponent, typeof i5.GravityCalendarV2Component, typeof i6.GravityCheckboxComponent, typeof i7.GravityCurrencyComponent, typeof i63.GravityCurrencyDisplayV2Component, typeof i8.GravityDataViewsV2Component, typeof i9.GravityDialogComponent, typeof i10.GravityDetailContainerComponent, typeof i11.GravityDropdownListComponent, typeof i12.GravityDropdownListDisplayComponent, typeof i13.GravityIconButtonComponent, typeof i14.GravityIconComponent, typeof i15.GravityMultiLanguageComponent, typeof i16.GravityNetworkPillComponent, typeof i18.GravityNotificationInstantContainerComponent, typeof i19.GravityRadioButtonComponent, typeof i20.GravityStatusIndicatorComponent, typeof i21.GravityStepperComponent, typeof i22.GravitySwitchComponent, typeof i23.GravityTableComponent, typeof i24.GravityTablesV2Component, typeof i25.GravityTextFieldComponent, typeof i26.GravityTextFieldNumberOnlyComponent, typeof i72.GravityTooltipModule, typeof i27.GravityTreeViewComponent, typeof i47.GravityModalComponent, typeof i48.GravityLinkComponent, typeof i49.GravityTabPrimaryComponent, typeof i50.GravityTabSecondaryComponent, typeof i51.GravityChipGroupComponent, typeof i52.GravityEditableInputComponent, typeof i53.GravityCardButtonComponent, typeof i55.GravityNavigationCardComponent, typeof i56.GravityGenericAvatarSecondaryComponent, typeof i57.GravityBackdropComponent, typeof i58.GravityDatePickerComponent, typeof i62.GravitySegmentedButtonComponent, typeof i64.GravityHeaderComponent, typeof i65.GravityPushNotificationsComponent, typeof i66.GravityMenuComponent]>;
|
|
84
79
|
static ɵinj: i0.ɵɵInjectorDeclaration<GravityDesignSystemModule>;
|
|
85
80
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -2,15 +2,11 @@ export * from './lib/gravity-design-system.module';
|
|
|
2
2
|
export * from './lib/components/gravity-attach-file/gravity-attach-file.component';
|
|
3
3
|
export * from './lib/components/gravity-avatar-stack/gravity-avatar-stack.component';
|
|
4
4
|
export * from './lib/components/gravity-button/gravity-button.component';
|
|
5
|
-
export * from './lib/components/gravity-calendar/gravity-calendar.component';
|
|
6
5
|
export * from './lib/components/gravity-calendar-v2/gravity-calendar-v2.component';
|
|
7
6
|
export * from './lib/components/gravity-date-picker/gravity-date-picker.component';
|
|
8
|
-
export * from './lib/components/gravity-card-list/gravity-card-list.component';
|
|
9
7
|
export * from './lib/components/gravity-checkbox/gravity-checkbox.component';
|
|
10
8
|
export * from './lib/components/gravity-currency/gravity-currency.component';
|
|
11
|
-
export * from './lib/components/gravity-currency-display/gravity-currency-display.component';
|
|
12
9
|
export * from './lib/components/gravity-currency-display-v2/gravity-currency-display-v2.component';
|
|
13
|
-
export * from './lib/components/gravity-data-view/gravity-data-view.component';
|
|
14
10
|
export * from './lib/components/gravity-data-views-v2/gravity-data-views-v2.component';
|
|
15
11
|
export * from './lib/components/gravity-detail-container/gravity-detail-container.component';
|
|
16
12
|
export * from './lib/components/gravity-dialog/gravity-dialog.component';
|
|
@@ -35,7 +31,6 @@ export * from './lib/components/gravity-modal/gravity-modal.component';
|
|
|
35
31
|
export * from './lib/components/gravity-link/gravity-link.component';
|
|
36
32
|
export * from './lib/components/gravity-tab-primary/gravity-tab-primary.component';
|
|
37
33
|
export * from './lib/components/gravity-tab-secondary/gravity-tab-secondary.component';
|
|
38
|
-
export * from './lib/components/gravity-chip/gravity-chip.component';
|
|
39
34
|
export * from './lib/components/gravity-chip-group/gravity-chip-group.component';
|
|
40
35
|
export * from './lib/components/gravity-editable-input/gravity-editable-input.component';
|
|
41
36
|
export * from './lib/components/gravity-card-button/gravity-card-button.component';
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "../gravity-calendar-v2/datepicker/services/header-type.service";
|
|
4
|
-
import * as i2 from "ngx-bootstrap/datepicker";
|
|
5
|
-
import * as i3 from "@angular/common";
|
|
6
|
-
import * as i4 from "../gravity-icon/gravity-icon.component";
|
|
7
|
-
export class GravityCalendarComponent {
|
|
8
|
-
constructor(headerTypeService) {
|
|
9
|
-
this.headerTypeService = headerTypeService;
|
|
10
|
-
this.calendarResponse = new EventEmitter();
|
|
11
|
-
this.calendarType = 'day';
|
|
12
|
-
this.currentLang = 'en';
|
|
13
|
-
this.state = "enabled";
|
|
14
|
-
this.supportTextType = "neutro";
|
|
15
|
-
this.bsDatepickerConfig = {
|
|
16
|
-
containerClass: 'gravity-datepicker-dialog',
|
|
17
|
-
isAnimated: true,
|
|
18
|
-
selectFromOtherMonth: true,
|
|
19
|
-
showWeekNumbers: false
|
|
20
|
-
};
|
|
21
|
-
this.focusInput = false;
|
|
22
|
-
let milliseconds = new Date().getTime();
|
|
23
|
-
let randomNumber = Math.random() * 10;
|
|
24
|
-
this.elementId = '' + (milliseconds * randomNumber / 2);
|
|
25
|
-
}
|
|
26
|
-
ngOnChanges(changes) {
|
|
27
|
-
if (changes['datesConfig']) {
|
|
28
|
-
if (changes['datesConfig'].currentValue.defaultDays) {
|
|
29
|
-
this.selectedDate = new Date(new Date().setDate(new Date().getDate() - changes['datesConfig'].currentValue.defaultDays));
|
|
30
|
-
}
|
|
31
|
-
if (changes['datesConfig'].currentValue.customDate) {
|
|
32
|
-
this.selectedDate = changes['datesConfig'].currentValue.customDate == 'today' ? new Date() : changes['datesConfig'].currentValue.customDate;
|
|
33
|
-
}
|
|
34
|
-
if (changes['datesConfig'].currentValue.minDate) {
|
|
35
|
-
this.minDate = changes['datesConfig'].currentValue.minDate;
|
|
36
|
-
}
|
|
37
|
-
if (changes['datesConfig'].currentValue.maxDate) {
|
|
38
|
-
this.maxDate = changes['datesConfig'].currentValue.maxDate == 'today' ? new Date() : changes['datesConfig'].currentValue.maxDate;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
updateSelectedDate($event) {
|
|
43
|
-
this.selectedDate = $event;
|
|
44
|
-
this.calendarResponse.emit(this.selectedDate);
|
|
45
|
-
}
|
|
46
|
-
resetCalendar(newDate) {
|
|
47
|
-
this.selectedDate = newDate;
|
|
48
|
-
this.calendarResponse.emit(this.selectedDate);
|
|
49
|
-
}
|
|
50
|
-
getBsDatepickerContainer() {
|
|
51
|
-
return '.gravity-calendar-field[elementId="' + this.elementId + '"]';
|
|
52
|
-
}
|
|
53
|
-
restartCalendarType() {
|
|
54
|
-
this.headerTypeService.setIsMobile(false);
|
|
55
|
-
this.headerTypeService.setHeaderType('self');
|
|
56
|
-
this.headerTypeService.setCalendarType('days');
|
|
57
|
-
}
|
|
58
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GravityCalendarComponent, deps: [{ token: i1.HeaderTypeService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
59
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: GravityCalendarComponent, selector: "gravity-calendar", inputs: { calendarType: "calendarType", currentLang: "currentLang", cypressTag: "cypressTag", datesConfig: "datesConfig", label: "label", required: "required", state: "state", supportTextContent: "supportTextContent", supportTextType: "supportTextType" }, outputs: { calendarResponse: "response" }, usesOnChanges: true, ngImport: i0, template: "<label class=\"hr-body sm-regular {{state}}\" [class.empty]=\"!selectedDate && !focusInput\"\n [class.focused]=\"focusInput\" [class.full-input]=\"selectedDate && !focusInput\">\n {{label}}\n <ng-container *ngIf=\"required\">\n <ng-container *ngIf=\"currentLang == 'es'\">- Requerido <span class=\"text-negative\">*</span></ng-container>\n <ng-container *ngIf=\"currentLang == 'en'\">- Required <span class=\"text-negative\">*</span></ng-container>\n </ng-container>\n <ng-container *ngIf=\"state == 'readonly'\">\n <ng-container *ngIf=\"currentLang == 'es'\">- S\u00F3lo lectura</ng-container>\n <ng-container *ngIf=\"currentLang == 'en'\">- Readonly</ng-container>\n </ng-container>\n <ng-container *ngIf=\"state == 'disabled'\">\n <ng-container *ngIf=\"currentLang == 'es'\">- Deshabilitado</ng-container>\n <ng-container *ngIf=\"currentLang == 'en'\">- Disabled</ng-container>\n </ng-container>\n</label>\n<div class=\"gravity-calendar-field {{state}}\" [class.empty]=\"!selectedDate && !focusInput\"\n [class.focused]=\"focusInput\" [class.full-input]=\"selectedDate && !focusInput\" [attr.elementId]=\"elementId\">\n <gravity-icon class=\"placement-left\" [hoverIcon]=\"false\" [iconName]=\"'calendar'\" [iconSize]=\"'md-16'\"></gravity-icon>\n <input [attr.data-cy]=\"cypressTag\"\n [disabled]=\"state != 'enabled' ? true : null\"\n\n [style.cursor]=\"state == 'enabled' ? 'pointer' : 'text'\"\n\n (blur)=\"focusInput = false\"\n (bsValueChange)=\"updateSelectedDate($event)\"\n (focus)=\"focusInput = true\"\n (onHidden)=\"focusInput = false; restartCalendarType()\"\n (onShown)=\"restartCalendarType()\"\n\n class=\"hr-label md-regular\"\n bsDatepicker\n placeholder=\"Select a {{calendarType == 'day' ? 'date' : 'month'}}\"\n\n [bsConfig]=\"bsDatepickerConfig\"\n [container]=\"getBsDatepickerContainer()\"\n [maxDate]=\"maxDate ? maxDate : null\"\n [minDate]=\"minDate ? minDate : null\"\n [minMode]=\"calendarType\"\n\n [(bsValue)]=\"selectedDate\">\n</div>\n<p class=\"hr-body sm-regular support-text text-{{supportTextType}}\" *ngIf=\"supportTextContent\">\n {{supportTextContent}}\n</p>\n", styles: [".border-radius-none{border-radius:0}.border-radius-xs{border-radius:.0625rem}.border-radius-sm{border-radius:.3125rem}.border-radius-md{border-radius:.625rem}.border-radius-lg{border-radius:.9375rem}.border-radius-xl{border-radius:1.25rem}.border-radius-xxl{border-radius:2rem}.border-radius-rounded{border-radius:6.25rem}.text-negative{color:var(--negative-primary)}.text-neutro{color:var(--text-primary)}.text-positive{color:var(--positive-primary)}.support-text{margin-left:0;margin-top:.3125rem;padding-inline:1rem}:host{display:block}label{color:var(--text-field-label-color);margin-inline:1rem}label.empty.enabled{--text-field-label-color: var(--label-text-empty-enabled-primary)}label.empty.disabled{--text-field-label-color: var(--label-text-empty-disabled-primary)}label.full-input.enabled{--text-field-label-color: var(--label-text-full-enabled-primary)}label.full-input.disabled{--text-field-label-color: var(--label-text-full-disabled-primary)}label.full-input.readonly{--text-field-label-color: var(--label-text-full-read-only-primary)}label.focused{--text-field-label-color: var(--label-text-full-enabled-pressed-primary)}.gravity-calendar-field{align-items:center;background-color:var(--text-field-input-field-background-color);border:1px solid var(--text-field-input-field-border-color);border-radius:.625rem;display:flex;padding:.5rem 1rem;position:relative}.gravity-calendar-field gravity-icon.placement-left{margin-right:5px}.gravity-calendar-field input{background-color:transparent;border:none;box-shadow:none;color:var(--text-field-input-field-input-color);line-height:0;outline:none;padding:0;width:100%}.gravity-calendar-field input::placeholder{color:var(--text-field-input-field-placeholder-color)}.gravity-calendar-field span{cursor:pointer;height:100%;left:0;position:absolute;width:100%}.gravity-calendar-field.empty.enabled{--text-field-input-field-background-color: var(--bg-field-empty-enabled-primary);--text-field-input-field-border-color: var(--outline-field-empty-enabled-primary);--text-field-input-field-input-color: var(--placeholder-empty-enabled-primary);--text-field-input-field-placeholder-color: var(--placeholder-empty-enabled-primary)}.gravity-calendar-field.empty.enabled:hover{--text-field-input-field-background-color: var(--bg-field-empty-enabled-hover-primary)}.gravity-calendar-field.empty.disabled{--text-field-input-field-background-color: var(--bg-field-empty-disabled-primary);--text-field-input-field-border-color: var(--bg-field-empty-disabled-primary);--text-field-input-field-input-color: var(--placeholder-empty-disabled-primary);--text-field-input-field-placeholder-color: var(--placeholder-empty-disabled-primary)}.gravity-calendar-field.empty.disabled gravity-icon{--icon-color: var(--placeholder-empty-disabled-primary)}.gravity-calendar-field.full-input.enabled{--text-field-input-field-background-color: var(--bg-field-full-enabled-primary);--text-field-input-field-border-color: var(--outline-field-full-enabled-primary);--text-field-input-field-input-color: var(--input-text-full-enabled-primary)}.gravity-calendar-field.full-input.enabled:hover{--text-field-input-field-background-color: var(--bg-field-full-enabled-hover-primary)}.gravity-calendar-field.full-input.disabled{--text-field-input-field-background-color: var(--bg-field-full-disabled-primary);--text-field-input-field-border-color: var(--bg-field-full-disabled-primary);--text-field-input-field-input-color: var(--input-text-full-disabled-primary)}.gravity-calendar-field.full-input.disabled gravity-icon{--icon-color: var(--input-text-full-disabled-primary)}.gravity-calendar-field.readonly{--text-field-input-field-background-color: var(--bg-field-full-read-only-primary);--text-field-input-field-border-color: var(--bg-field-full-read-only-primary);--text-field-input-field-input-color: var(--input-text-full-read-only-primary)}.gravity-calendar-field.readonly gravity-icon{--icon-color: var(--input-text-full-read-only-primary)}.gravity-calendar-field.focused:not(.readonly){--text-field-input-field-background-color: var(--bg-field-full-enabled-pressed-primary);--text-field-input-field-border-color: var(--outline-field-full-enabled-pressed-primary);--text-field-input-field-input-color: var(--placeholder-full-enabled-pressed-primary)}\n"], dependencies: [{ kind: "directive", type: i2.BsDatepickerDirective, selector: "[bsDatepicker]", inputs: ["placement", "triggers", "outsideClick", "container", "outsideEsc", "isDisabled", "minDate", "maxDate", "minMode", "daysDisabled", "datesDisabled", "datesEnabled", "dateCustomClasses", "dateTooltipTexts", "isOpen", "bsValue", "bsConfig"], outputs: ["onShown", "onHidden", "bsValueChange"], exportAs: ["bsDatepicker"] }, { kind: "directive", type: i2.BsDatepickerInputDirective, selector: "input[bsDatepicker]" }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.GravityIconComponent, selector: "gravity-icon", inputs: ["customIconColorVariable", "iconName", "iconSize", "hoverIcon", "size", "isCoin"] }] }); }
|
|
60
|
-
}
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GravityCalendarComponent, decorators: [{
|
|
62
|
-
type: Component,
|
|
63
|
-
args: [{ selector: 'gravity-calendar', template: "<label class=\"hr-body sm-regular {{state}}\" [class.empty]=\"!selectedDate && !focusInput\"\n [class.focused]=\"focusInput\" [class.full-input]=\"selectedDate && !focusInput\">\n {{label}}\n <ng-container *ngIf=\"required\">\n <ng-container *ngIf=\"currentLang == 'es'\">- Requerido <span class=\"text-negative\">*</span></ng-container>\n <ng-container *ngIf=\"currentLang == 'en'\">- Required <span class=\"text-negative\">*</span></ng-container>\n </ng-container>\n <ng-container *ngIf=\"state == 'readonly'\">\n <ng-container *ngIf=\"currentLang == 'es'\">- S\u00F3lo lectura</ng-container>\n <ng-container *ngIf=\"currentLang == 'en'\">- Readonly</ng-container>\n </ng-container>\n <ng-container *ngIf=\"state == 'disabled'\">\n <ng-container *ngIf=\"currentLang == 'es'\">- Deshabilitado</ng-container>\n <ng-container *ngIf=\"currentLang == 'en'\">- Disabled</ng-container>\n </ng-container>\n</label>\n<div class=\"gravity-calendar-field {{state}}\" [class.empty]=\"!selectedDate && !focusInput\"\n [class.focused]=\"focusInput\" [class.full-input]=\"selectedDate && !focusInput\" [attr.elementId]=\"elementId\">\n <gravity-icon class=\"placement-left\" [hoverIcon]=\"false\" [iconName]=\"'calendar'\" [iconSize]=\"'md-16'\"></gravity-icon>\n <input [attr.data-cy]=\"cypressTag\"\n [disabled]=\"state != 'enabled' ? true : null\"\n\n [style.cursor]=\"state == 'enabled' ? 'pointer' : 'text'\"\n\n (blur)=\"focusInput = false\"\n (bsValueChange)=\"updateSelectedDate($event)\"\n (focus)=\"focusInput = true\"\n (onHidden)=\"focusInput = false; restartCalendarType()\"\n (onShown)=\"restartCalendarType()\"\n\n class=\"hr-label md-regular\"\n bsDatepicker\n placeholder=\"Select a {{calendarType == 'day' ? 'date' : 'month'}}\"\n\n [bsConfig]=\"bsDatepickerConfig\"\n [container]=\"getBsDatepickerContainer()\"\n [maxDate]=\"maxDate ? maxDate : null\"\n [minDate]=\"minDate ? minDate : null\"\n [minMode]=\"calendarType\"\n\n [(bsValue)]=\"selectedDate\">\n</div>\n<p class=\"hr-body sm-regular support-text text-{{supportTextType}}\" *ngIf=\"supportTextContent\">\n {{supportTextContent}}\n</p>\n", styles: [".border-radius-none{border-radius:0}.border-radius-xs{border-radius:.0625rem}.border-radius-sm{border-radius:.3125rem}.border-radius-md{border-radius:.625rem}.border-radius-lg{border-radius:.9375rem}.border-radius-xl{border-radius:1.25rem}.border-radius-xxl{border-radius:2rem}.border-radius-rounded{border-radius:6.25rem}.text-negative{color:var(--negative-primary)}.text-neutro{color:var(--text-primary)}.text-positive{color:var(--positive-primary)}.support-text{margin-left:0;margin-top:.3125rem;padding-inline:1rem}:host{display:block}label{color:var(--text-field-label-color);margin-inline:1rem}label.empty.enabled{--text-field-label-color: var(--label-text-empty-enabled-primary)}label.empty.disabled{--text-field-label-color: var(--label-text-empty-disabled-primary)}label.full-input.enabled{--text-field-label-color: var(--label-text-full-enabled-primary)}label.full-input.disabled{--text-field-label-color: var(--label-text-full-disabled-primary)}label.full-input.readonly{--text-field-label-color: var(--label-text-full-read-only-primary)}label.focused{--text-field-label-color: var(--label-text-full-enabled-pressed-primary)}.gravity-calendar-field{align-items:center;background-color:var(--text-field-input-field-background-color);border:1px solid var(--text-field-input-field-border-color);border-radius:.625rem;display:flex;padding:.5rem 1rem;position:relative}.gravity-calendar-field gravity-icon.placement-left{margin-right:5px}.gravity-calendar-field input{background-color:transparent;border:none;box-shadow:none;color:var(--text-field-input-field-input-color);line-height:0;outline:none;padding:0;width:100%}.gravity-calendar-field input::placeholder{color:var(--text-field-input-field-placeholder-color)}.gravity-calendar-field span{cursor:pointer;height:100%;left:0;position:absolute;width:100%}.gravity-calendar-field.empty.enabled{--text-field-input-field-background-color: var(--bg-field-empty-enabled-primary);--text-field-input-field-border-color: var(--outline-field-empty-enabled-primary);--text-field-input-field-input-color: var(--placeholder-empty-enabled-primary);--text-field-input-field-placeholder-color: var(--placeholder-empty-enabled-primary)}.gravity-calendar-field.empty.enabled:hover{--text-field-input-field-background-color: var(--bg-field-empty-enabled-hover-primary)}.gravity-calendar-field.empty.disabled{--text-field-input-field-background-color: var(--bg-field-empty-disabled-primary);--text-field-input-field-border-color: var(--bg-field-empty-disabled-primary);--text-field-input-field-input-color: var(--placeholder-empty-disabled-primary);--text-field-input-field-placeholder-color: var(--placeholder-empty-disabled-primary)}.gravity-calendar-field.empty.disabled gravity-icon{--icon-color: var(--placeholder-empty-disabled-primary)}.gravity-calendar-field.full-input.enabled{--text-field-input-field-background-color: var(--bg-field-full-enabled-primary);--text-field-input-field-border-color: var(--outline-field-full-enabled-primary);--text-field-input-field-input-color: var(--input-text-full-enabled-primary)}.gravity-calendar-field.full-input.enabled:hover{--text-field-input-field-background-color: var(--bg-field-full-enabled-hover-primary)}.gravity-calendar-field.full-input.disabled{--text-field-input-field-background-color: var(--bg-field-full-disabled-primary);--text-field-input-field-border-color: var(--bg-field-full-disabled-primary);--text-field-input-field-input-color: var(--input-text-full-disabled-primary)}.gravity-calendar-field.full-input.disabled gravity-icon{--icon-color: var(--input-text-full-disabled-primary)}.gravity-calendar-field.readonly{--text-field-input-field-background-color: var(--bg-field-full-read-only-primary);--text-field-input-field-border-color: var(--bg-field-full-read-only-primary);--text-field-input-field-input-color: var(--input-text-full-read-only-primary)}.gravity-calendar-field.readonly gravity-icon{--icon-color: var(--input-text-full-read-only-primary)}.gravity-calendar-field.focused:not(.readonly){--text-field-input-field-background-color: var(--bg-field-full-enabled-pressed-primary);--text-field-input-field-border-color: var(--outline-field-full-enabled-pressed-primary);--text-field-input-field-input-color: var(--placeholder-full-enabled-pressed-primary)}\n"] }]
|
|
64
|
-
}], ctorParameters: function () { return [{ type: i1.HeaderTypeService }]; }, propDecorators: { calendarResponse: [{
|
|
65
|
-
type: Output,
|
|
66
|
-
args: ['response']
|
|
67
|
-
}], calendarType: [{
|
|
68
|
-
type: Input
|
|
69
|
-
}], currentLang: [{
|
|
70
|
-
type: Input
|
|
71
|
-
}], cypressTag: [{
|
|
72
|
-
type: Input
|
|
73
|
-
}], datesConfig: [{
|
|
74
|
-
type: Input
|
|
75
|
-
}], label: [{
|
|
76
|
-
type: Input
|
|
77
|
-
}], required: [{
|
|
78
|
-
type: Input
|
|
79
|
-
}], state: [{
|
|
80
|
-
type: Input
|
|
81
|
-
}], supportTextContent: [{
|
|
82
|
-
type: Input
|
|
83
|
-
}], supportTextType: [{
|
|
84
|
-
type: Input
|
|
85
|
-
}] } });
|
|
86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