@progressio_resources/gravity-design-system 4.0.18 → 4.0.20
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/package.json
CHANGED
|
@@ -1140,6 +1140,8 @@ declare class GravityTablesV2Component {
|
|
|
1140
1140
|
}
|
|
1141
1141
|
|
|
1142
1142
|
declare class GravityTextFieldComponent implements OnInit, OnChanges {
|
|
1143
|
+
onBlur: EventEmitter<FocusEvent>;
|
|
1144
|
+
onFocus: EventEmitter<FocusEvent>;
|
|
1143
1145
|
leftIconResponse: EventEmitter<void>;
|
|
1144
1146
|
rightIconResponse: EventEmitter<void>;
|
|
1145
1147
|
textFieldValueResponse: EventEmitter<string>;
|
|
@@ -1184,6 +1186,8 @@ declare class GravityTextFieldComponent implements OnInit, OnChanges {
|
|
|
1184
1186
|
allPasswordRequirementsValid: boolean;
|
|
1185
1187
|
ngOnInit(): void;
|
|
1186
1188
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1189
|
+
handleFocus(event: FocusEvent): void;
|
|
1190
|
+
handleBlur(event: FocusEvent): void;
|
|
1187
1191
|
focus(): void;
|
|
1188
1192
|
isFocused(): boolean;
|
|
1189
1193
|
getPlaceholder(): string;
|
|
@@ -1197,7 +1201,7 @@ declare class GravityTextFieldComponent implements OnInit, OnChanges {
|
|
|
1197
1201
|
onKeyDownEvent($event: KeyboardEvent): void;
|
|
1198
1202
|
formatDateInput(event: any): void;
|
|
1199
1203
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityTextFieldComponent, never>;
|
|
1200
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GravityTextFieldComponent, "gravity-text-field", never, { "label": { "alias": "label"; "required": false; }; "required": { "alias": "required"; "required": false; }; "cypressTag": { "alias": "cypressTag"; "required": false; }; "supportText": { "alias": "supportText"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "customInputValue": { "alias": "customInputValue"; "required": false; }; "currentLang": { "alias": "currentLang"; "required": false; }; "textFieldType": { "alias": "textFieldType"; "required": false; }; "customState": { "alias": "customState"; "required": false; }; "iconLeft": { "alias": "iconLeft"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "iconRight": { "alias": "iconRight"; "required": false; }; "supportTextIcon": { "alias": "supportTextIcon"; "required": false; }; "clickOnLeftIcon": { "alias": "clickOnLeftIcon"; "required": false; }; "clickOnRightIcon": { "alias": "clickOnRightIcon"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "labelExtraText": { "alias": "labelExtraText"; "required": false; }; "size": { "alias": "size"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "characterCounter": { "alias": "characterCounter"; "required": false; }; "width": { "alias": "width"; "required": false; }; "validations": { "alias": "validations"; "required": false; }; "passwordRequirements": { "alias": "passwordRequirements"; "required": false; }; "inputContentType": { "alias": "inputContentType"; "required": false; }; }, { "leftIconResponse": "clickIconLeft"; "rightIconResponse": "clickIconRight"; "textFieldValueResponse": "response"; }, never, never, true, never>;
|
|
1204
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GravityTextFieldComponent, "gravity-text-field", never, { "label": { "alias": "label"; "required": false; }; "required": { "alias": "required"; "required": false; }; "cypressTag": { "alias": "cypressTag"; "required": false; }; "supportText": { "alias": "supportText"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "customInputValue": { "alias": "customInputValue"; "required": false; }; "currentLang": { "alias": "currentLang"; "required": false; }; "textFieldType": { "alias": "textFieldType"; "required": false; }; "customState": { "alias": "customState"; "required": false; }; "iconLeft": { "alias": "iconLeft"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "iconRight": { "alias": "iconRight"; "required": false; }; "supportTextIcon": { "alias": "supportTextIcon"; "required": false; }; "clickOnLeftIcon": { "alias": "clickOnLeftIcon"; "required": false; }; "clickOnRightIcon": { "alias": "clickOnRightIcon"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "labelExtraText": { "alias": "labelExtraText"; "required": false; }; "size": { "alias": "size"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "characterCounter": { "alias": "characterCounter"; "required": false; }; "width": { "alias": "width"; "required": false; }; "validations": { "alias": "validations"; "required": false; }; "passwordRequirements": { "alias": "passwordRequirements"; "required": false; }; "inputContentType": { "alias": "inputContentType"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "leftIconResponse": "clickIconLeft"; "rightIconResponse": "clickIconRight"; "textFieldValueResponse": "response"; }, never, never, true, never>;
|
|
1201
1205
|
}
|
|
1202
1206
|
|
|
1203
1207
|
interface currency {
|
|
@@ -2682,6 +2686,52 @@ declare class GravityDesignSystemModule {
|
|
|
2682
2686
|
static ɵinj: i0.ɵɵInjectorDeclaration<GravityDesignSystemModule>;
|
|
2683
2687
|
}
|
|
2684
2688
|
|
|
2689
|
+
interface IPasswordFieldRequirement {
|
|
2690
|
+
key: string;
|
|
2691
|
+
label: string;
|
|
2692
|
+
isValid: boolean;
|
|
2693
|
+
}
|
|
2694
|
+
declare class GravityPasswordFieldComponent implements OnInit, OnChanges {
|
|
2695
|
+
cypressTag: string;
|
|
2696
|
+
size: 'sm' | 'md';
|
|
2697
|
+
customState: any;
|
|
2698
|
+
currentLang: 'en' | 'es';
|
|
2699
|
+
width: 'short' | 'medium' | 'full' | 'fit';
|
|
2700
|
+
textFieldValueResponse: EventEmitter<string>;
|
|
2701
|
+
label: string;
|
|
2702
|
+
placeholder: string;
|
|
2703
|
+
supportText: string;
|
|
2704
|
+
labelExtraText: string;
|
|
2705
|
+
supportTextIcon: string;
|
|
2706
|
+
inputValue: string;
|
|
2707
|
+
requirementsTitle: string;
|
|
2708
|
+
focusInput: boolean;
|
|
2709
|
+
showPassword: boolean;
|
|
2710
|
+
hasUserTyped: boolean;
|
|
2711
|
+
isPasswordEmpty: boolean;
|
|
2712
|
+
showStrengthMeter: boolean;
|
|
2713
|
+
allPasswordRequirementsValid: boolean;
|
|
2714
|
+
passwordRequirements: IPasswordFieldRequirement[];
|
|
2715
|
+
private readonly _translations;
|
|
2716
|
+
ngOnInit(): void;
|
|
2717
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2718
|
+
private _initializeDefaultRequirements;
|
|
2719
|
+
private _updateLabels;
|
|
2720
|
+
get shouldShowStrengthMeter(): boolean;
|
|
2721
|
+
togglePasswordVisibility(): void;
|
|
2722
|
+
onValueChange(value: string): void;
|
|
2723
|
+
onFocus(): void;
|
|
2724
|
+
onBlur(): void;
|
|
2725
|
+
validatePassword(password: string): void;
|
|
2726
|
+
private _updateComponentState;
|
|
2727
|
+
get hasInvalidPasswordRequirements(): boolean;
|
|
2728
|
+
get passwordStrength(): 'default' | 'weak' | 'normal' | 'strong';
|
|
2729
|
+
get passwordStrengthLabel(): string;
|
|
2730
|
+
get widthClass(): string;
|
|
2731
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GravityPasswordFieldComponent, never>;
|
|
2732
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GravityPasswordFieldComponent, "gravity-password-field", never, { "cypressTag": { "alias": "cypressTag"; "required": false; }; "size": { "alias": "size"; "required": false; }; "customState": { "alias": "customState"; "required": false; }; "currentLang": { "alias": "currentLang"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, { "textFieldValueResponse": "response"; }, never, never, true, never>;
|
|
2733
|
+
}
|
|
2734
|
+
|
|
2685
2735
|
declare class GravityDialogManagerService {
|
|
2686
2736
|
private readonly ngbModal;
|
|
2687
2737
|
private readonly gravityInstantNotificationsService;
|
|
@@ -2738,5 +2788,5 @@ declare class GravityTooltipComponent implements OnInit {
|
|
|
2738
2788
|
static ɵcmp: i0.ɵɵComponentDeclaration<GravityTooltipComponent, "tooltip", never, { "data": { "alias": "data"; "required": false; }; "show": { "alias": "show"; "required": false; }; }, {}, never, never, true, never>;
|
|
2739
2789
|
}
|
|
2740
2790
|
|
|
2741
|
-
export { BsNavigationDirection, GravityActionCardComponent, GravityAttachFileComponent, GravityAvatarStackComponent, GravityBackdropComponent, GravityBadgeComponent, GravityButtonComponent, GravityCalendarV2Component, GravityCheckboxComponent, GravityChipGroupComponent, GravityCurrencyComponent, GravityCurrencyDisplayV2Component, GravityCurrencyDropdownShortComponent, GravityDataViewsV2Component, GravityDatePickerComponent, GravityDesignSystemModule, GravityDetailContainerComponent, GravityDialogComponent, GravityDialogManagerService, GravityDropdownLabelComponent, GravityDropdownListComponent, GravityDropdownListDisplayComponent, GravityEditableInputComponent, GravityGenericAvatarComponent, GravityGenericAvatarSecondaryComponent, GravityHeaderComponent, GravityIconButtonComponent, GravityIconComponent, GravityLinkComponent, GravityMenuComponent, GravityModalComponent, GravityMultiLanguageComponent, GravityNavigationCardComponent, GravityNetworkPillComponent, GravityNotificationInstantContainerComponent, GravityPaginationComponent, GravityPushNotificationsComponent, GravityRadioButtonComponent, GravityRadioCardComponent, GravitySegmentedButtonComponent, GravityStatusIndicatorComponent, GravityStepperComponent, GravityStepperV2Component, GravityStrengthMeterComponent, GravitySwitchComponent, GravityTabPrimaryComponent, GravityTabSecondaryComponent, GravityTableComponent, GravityTablesV2Component, GravityTextFieldAmountOnlyComponent, GravityTextFieldComponent, GravityTextFieldNumberOnlyComponent, GravityTooltipComponent, GravityTooltipContainerComponent, GravityTooltipDirective, GravityTooltipModule, GravityTreeViewComponent, ICONS, OLD_ICONS };
|
|
2791
|
+
export { BsNavigationDirection, GravityActionCardComponent, GravityAttachFileComponent, GravityAvatarStackComponent, GravityBackdropComponent, GravityBadgeComponent, GravityButtonComponent, GravityCalendarV2Component, GravityCheckboxComponent, GravityChipGroupComponent, GravityCurrencyComponent, GravityCurrencyDisplayV2Component, GravityCurrencyDropdownShortComponent, GravityDataViewsV2Component, GravityDatePickerComponent, GravityDesignSystemModule, GravityDetailContainerComponent, GravityDialogComponent, GravityDialogManagerService, GravityDropdownLabelComponent, GravityDropdownListComponent, GravityDropdownListDisplayComponent, GravityEditableInputComponent, GravityGenericAvatarComponent, GravityGenericAvatarSecondaryComponent, GravityHeaderComponent, GravityIconButtonComponent, GravityIconComponent, GravityLinkComponent, GravityMenuComponent, GravityModalComponent, GravityMultiLanguageComponent, GravityNavigationCardComponent, GravityNetworkPillComponent, GravityNotificationInstantContainerComponent, GravityPaginationComponent, GravityPasswordFieldComponent, GravityPushNotificationsComponent, GravityRadioButtonComponent, GravityRadioCardComponent, GravitySegmentedButtonComponent, GravityStatusIndicatorComponent, GravityStepperComponent, GravityStepperV2Component, GravityStrengthMeterComponent, GravitySwitchComponent, GravityTabPrimaryComponent, GravityTabSecondaryComponent, GravityTableComponent, GravityTablesV2Component, GravityTextFieldAmountOnlyComponent, GravityTextFieldComponent, GravityTextFieldNumberOnlyComponent, GravityTooltipComponent, GravityTooltipContainerComponent, GravityTooltipDirective, GravityTooltipModule, GravityTreeViewComponent, ICONS, OLD_ICONS };
|
|
2742
2792
|
export type { AdComponent, BreadCrumb, BsDatepickerViewMode, BsNavigationEvent, BsViewNavigationEvent, CalendarCellViewModel, CellHoverEvent, DatepickerFormatOptions, DatepickerRenderOptions, DayViewModel, DaysCalendarModel, DaysCalendarViewModel, GravityChipItem, GravityDialogContentInterface, GravityNotificationContent, GravityPageChangedEvent, MonthViewOptions, MonthsCalendarViewModel, NavigationViewModel, NodeItem, NodeState, SegmentedButton, WeekViewModel, YearsCalendarViewModel };
|