@testgorilla/tgo-ui 3.11.4 → 3.11.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/components/button/button.component.d.ts +4 -1
- package/components/datepicker/datepicker.component.d.ts +24 -1
- package/esm2022/components/button/button.component.mjs +10 -3
- package/esm2022/components/datepicker/datepicker.component.mjs +27 -7
- package/esm2022/components/field/field.component.mjs +2 -2
- package/fesm2022/testgorilla-tgo-ui.mjs +37 -10
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/package.json +3 -2
|
@@ -4,7 +4,7 @@ import { ButtonBadgeConfig, ButtonColor, ButtonIconPosition, ButtonSize, ButtonS
|
|
|
4
4
|
import { MatButton } from '@angular/material/button';
|
|
5
5
|
import { ApplicationTheme } from '../../models/application-theme.model';
|
|
6
6
|
import { TooltipPosition } from '@angular/material/tooltip';
|
|
7
|
-
import { FocusOrigin } from
|
|
7
|
+
import { FocusOrigin } from '@angular/cdk/a11y';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class ButtonComponent implements OnInit, AfterViewInit {
|
|
10
10
|
private readonly defaultAppTheme;
|
|
@@ -207,6 +207,8 @@ export declare class ButtonComponent implements OnInit, AfterViewInit {
|
|
|
207
207
|
coloredIcons: string[];
|
|
208
208
|
labelEllipsis: boolean;
|
|
209
209
|
icon: IconName;
|
|
210
|
+
private static nextAriaLabelledId;
|
|
211
|
+
ariaLabelledbyId: string;
|
|
210
212
|
get typeIncluded(): boolean;
|
|
211
213
|
constructor(defaultAppTheme: ApplicationTheme);
|
|
212
214
|
ngOnInit(): void;
|
|
@@ -228,6 +230,7 @@ export declare class ButtonComponent implements OnInit, AfterViewInit {
|
|
|
228
230
|
onKeyup(event: KeyboardEvent): void;
|
|
229
231
|
onLabelEllipsisChange(state: boolean): void;
|
|
230
232
|
getIconName(iconName: string, defaultValue: string): IconName;
|
|
233
|
+
private createAriaLabelledById;
|
|
231
234
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, [{ optional: true; }]>;
|
|
232
235
|
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ui-button", never, { "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "label": { "alias": "label"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "justIcon": { "alias": "justIcon"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "url": { "alias": "url"; "required": false; }; "urlTarget": { "alias": "urlTarget"; "required": false; }; "value": { "alias": "value"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "isPremium": { "alias": "isPremium"; "required": false; }; "type": { "alias": "type"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "buttonBadgeConfig": { "alias": "buttonBadgeConfig"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "disabledScaleOnClick": { "alias": "disabledScaleOnClick"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "preventDefault": { "alias": "preventDefault"; "required": false; }; "hasBackground": { "alias": "hasBackground"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "role": { "alias": "role"; "required": false; }; "iconFilled": { "alias": "iconFilled"; "required": false; }; }, { "buttonClickEvent": "buttonClickEvent"; "buttonHoverEvent": "buttonHoverEvent"; }, never, never, false, never>;
|
|
233
236
|
static ngAcceptInputType_preventDefault: unknown;
|
|
@@ -62,6 +62,27 @@ export declare class DatepickerComponent implements OnChanges, ControlValueAcces
|
|
|
62
62
|
* @memberof DatepickerComponent
|
|
63
63
|
*/
|
|
64
64
|
isRange: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Determines if on blur of calendar and no end date is selected, set the end date as the start date
|
|
67
|
+
*
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @memberof DatepickerComponent
|
|
70
|
+
*/
|
|
71
|
+
setSingleDateRangeOnBlur: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Determines if inner errors should be shown
|
|
74
|
+
*
|
|
75
|
+
* @type {boolean}
|
|
76
|
+
* @memberof DatepickerComponent
|
|
77
|
+
*/
|
|
78
|
+
showInnerErrors: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Determines inner errors message
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof DatepickerComponent
|
|
84
|
+
*/
|
|
85
|
+
innerErrorsMessage: string;
|
|
65
86
|
/**
|
|
66
87
|
* Determines if input is disabled
|
|
67
88
|
*
|
|
@@ -204,11 +225,13 @@ export declare class DatepickerComponent implements OnChanges, ControlValueAcces
|
|
|
204
225
|
registerOnChange(fn: any): void;
|
|
205
226
|
registerOnTouched(fn: any): void;
|
|
206
227
|
setDisabledState(isDisabled: boolean): void;
|
|
228
|
+
handleCloseRangePicker(): void;
|
|
229
|
+
fillSingleDateRange(isStart: boolean): void;
|
|
207
230
|
dateRangeChange(): void;
|
|
208
231
|
setMonthAndYear(normalizedMonthAndYear: any, datepicker: MatDatepicker<Date>): void;
|
|
209
232
|
private setRange;
|
|
210
233
|
onInput(event: Event): void;
|
|
211
234
|
private setStyleVariable;
|
|
212
235
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, [{ optional: true; }, null, null, { optional: true; self: true; }, null]>;
|
|
213
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "ui-datepicker", never, { "label": { "alias": "label"; "required": false; }; "fieldName": { "alias": "fieldName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "isRange": { "alias": "isRange"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "hintMessage": { "alias": "hintMessage"; "required": false; }; "updateOnBlur": { "alias": "updateOnBlur"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "monthPicker": { "alias": "monthPicker"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "preventUserInput": { "alias": "preventUserInput"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "browserTimezone": { "alias": "browserTimezone"; "required": false; }; }, { "changed": "changed"; }, never, never, false, never>;
|
|
236
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "ui-datepicker", never, { "label": { "alias": "label"; "required": false; }; "fieldName": { "alias": "fieldName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "isRange": { "alias": "isRange"; "required": false; }; "setSingleDateRangeOnBlur": { "alias": "setSingleDateRangeOnBlur"; "required": false; }; "showInnerErrors": { "alias": "showInnerErrors"; "required": false; }; "innerErrorsMessage": { "alias": "innerErrorsMessage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "hintMessage": { "alias": "hintMessage"; "required": false; }; "updateOnBlur": { "alias": "updateOnBlur"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "monthPicker": { "alias": "monthPicker"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "preventUserInput": { "alias": "preventUserInput"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "browserTimezone": { "alias": "browserTimezone"; "required": false; }; }, { "changed": "changed"; }, never, never, false, never>;
|
|
214
237
|
}
|