@gettrx/core-components-angular 2.0.3 → 2.0.4
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/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IsActiveMatchOptions } from '@angular/router';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { OnInit, AfterViewInit,
|
|
3
|
+
import { ElementRef, OnInit, AfterViewInit, EventEmitter, Renderer2, OnDestroy, ChangeDetectorRef, OnChanges, TemplateRef, ViewContainerRef, SimpleChanges, QueryList, KeyValueDiffers, AfterContentInit, NgZone, PipeTransform, Type, AfterViewChecked, ComponentRef, AfterContentChecked } from '@angular/core';
|
|
4
4
|
import { ControlValueAccessor, NgControl, FormControl, FormGroup, ValidatorFn } from '@angular/forms';
|
|
5
5
|
import * as rxjs from 'rxjs';
|
|
6
6
|
import { Subject, Subscription } from 'rxjs';
|
|
@@ -81,6 +81,24 @@ declare class GtrBadgeComponent {
|
|
|
81
81
|
static ngAcceptInputType_hidden: unknown;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
+
declare class GtrRippleDirective {
|
|
85
|
+
private readonly elementRef;
|
|
86
|
+
/** When false, ripple is disabled for this host. */
|
|
87
|
+
gtrRipple: boolean;
|
|
88
|
+
/** Alias matching MUI naming. */
|
|
89
|
+
disableRipple: boolean;
|
|
90
|
+
get rippleHostClass(): boolean;
|
|
91
|
+
get rippleDisabledClass(): boolean;
|
|
92
|
+
constructor(elementRef: ElementRef<HTMLElement>);
|
|
93
|
+
onMouseDown(event: MouseEvent): void;
|
|
94
|
+
onTouchStart(event: TouchEvent): void;
|
|
95
|
+
private launchRipple;
|
|
96
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GtrRippleDirective, never>;
|
|
97
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GtrRippleDirective, "[gtrRipple]", never, { "gtrRipple": { "alias": "gtrRipple"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; }, {}, never, never, true, never>;
|
|
98
|
+
static ngAcceptInputType_gtrRipple: unknown;
|
|
99
|
+
static ngAcceptInputType_disableRipple: unknown;
|
|
100
|
+
}
|
|
101
|
+
|
|
84
102
|
declare class GtrButtonDirective {
|
|
85
103
|
/**
|
|
86
104
|
* Toggle the active state for the component. [docs]
|
|
@@ -117,15 +135,18 @@ declare class GtrButtonDirective {
|
|
|
117
135
|
* @type {'ghost' | 'outline'}
|
|
118
136
|
*/
|
|
119
137
|
variant?: 'ghost' | 'outline';
|
|
138
|
+
/** When true, suppresses the Material-style click ripple. Default false (ripple on). */
|
|
139
|
+
disableRipple: boolean;
|
|
120
140
|
get hostClasses(): any;
|
|
121
141
|
get ariaDisabled(): string | true | null;
|
|
122
142
|
get isActive(): boolean | null;
|
|
123
143
|
get attrDisabled(): "" | null;
|
|
124
144
|
get tabIndex(): string | null;
|
|
125
145
|
static ɵfac: i0.ɵɵFactoryDeclaration<GtrButtonDirective, never>;
|
|
126
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GtrButtonDirective, "[gtrButton]", ["gtrButton"], { "active": { "alias": "active"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, never, true,
|
|
146
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GtrButtonDirective, "[gtrButton]", ["gtrButton"], { "active": { "alias": "active"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; }, {}, never, never, true, [{ directive: typeof GtrRippleDirective; inputs: { "disableRipple": "disableRipple"; }; outputs: {}; }]>;
|
|
127
147
|
static ngAcceptInputType_active: unknown;
|
|
128
148
|
static ngAcceptInputType_disabled: unknown;
|
|
149
|
+
static ngAcceptInputType_disableRipple: unknown;
|
|
129
150
|
}
|
|
130
151
|
|
|
131
152
|
declare class GtrButtonCloseDirective extends GtrButtonDirective {
|
|
@@ -136,7 +157,7 @@ declare class GtrButtonCloseDirective extends GtrButtonDirective {
|
|
|
136
157
|
white: string | boolean;
|
|
137
158
|
get hostClasses(): any;
|
|
138
159
|
static ɵfac: i0.ɵɵFactoryDeclaration<GtrButtonCloseDirective, never>;
|
|
139
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GtrButtonCloseDirective, "[gtrButtonClose]", never, { "white": { "alias": "white"; "required": false; }; }, {}, never, never, true,
|
|
160
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GtrButtonCloseDirective, "[gtrButtonClose]", never, { "white": { "alias": "white"; "required": false; }; }, {}, never, never, true, [{ directive: typeof GtrRippleDirective; inputs: { "disableRipple": "disableRipple"; }; outputs: {}; }]>;
|
|
140
161
|
static ngAcceptInputType_white: unknown;
|
|
141
162
|
}
|
|
142
163
|
|
|
@@ -174,6 +195,8 @@ declare class GtrButtonComponent implements OnInit {
|
|
|
174
195
|
variant?: ButtonVariant | any;
|
|
175
196
|
/** (optional) If `true`, the button is disabled */
|
|
176
197
|
disabled?: boolean;
|
|
198
|
+
/** When true, suppresses the Material-style click ripple. Default false (ripple on). */
|
|
199
|
+
disableRipple: boolean;
|
|
177
200
|
getCssClassMap(): {
|
|
178
201
|
[x: string]: boolean | undefined;
|
|
179
202
|
"button--loading": boolean | undefined;
|
|
@@ -181,7 +204,7 @@ declare class GtrButtonComponent implements OnInit {
|
|
|
181
204
|
};
|
|
182
205
|
ngOnInit(): void;
|
|
183
206
|
static ɵfac: i0.ɵɵFactoryDeclaration<GtrButtonComponent, never>;
|
|
184
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GtrButtonComponent, "gtr-button", never, { "type": { "alias": "type"; "required": false; }; "btnId": { "alias": "btnId"; "required": false; }; "name": { "alias": "name"; "required": false; }; "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; "color": { "alias": "color"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
207
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GtrButtonComponent, "gtr-button", never, { "type": { "alias": "type"; "required": false; }; "btnId": { "alias": "btnId"; "required": false; }; "name": { "alias": "name"; "required": false; }; "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; "color": { "alias": "color"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
185
208
|
}
|
|
186
209
|
|
|
187
210
|
declare class GtrButtonDropdownComponent implements AfterViewInit {
|
|
@@ -3772,5 +3795,5 @@ declare class ColorHelper {
|
|
|
3772
3795
|
static getContrastColor(hex: string, contrastValue?: number): EContrastColor;
|
|
3773
3796
|
}
|
|
3774
3797
|
|
|
3775
|
-
export { AutosizeDirective, BreakpointInfix, CContrastBorderColorVariable, ColorHelper, DynamicComponentRenderer, EContrastColor, GtrAccordionComponent, GtrAccordionWrapperComponent, GtrBadgeComponent, GtrButtonCloseDirective, GtrButtonComponent, GtrButtonDirective, GtrButtonDropdownComponent, GtrCalendarComponent, GtrCalendarMonthComponent, GtrCalendarNavigationComponent, GtrCheckboxComponent, GtrComponentName, GtrDatePickerComponent, GtrDateRangePickerComponent, GtrDefaultPageIndex, GtrDisplayValueComponent, GtrDropdownCloseDirective, GtrDropdownComponent, GtrDropdownDividerDirective, GtrDropdownHeaderDirective, GtrDropdownItemDirective, GtrDropdownItemPlainDirective, GtrDropdownMenuDirective, GtrDropdownService, GtrDropdownToggleDirective, GtrFileInputComponent, GtrFormCheckComponent, GtrFormCheckInputDirective, GtrFormCheckLabelDirective, GtrFormControlDirective, GtrFormDirective, GtrFormFeedbackComponent, GtrFormFloatingDirective, GtrFormLabelDirective, GtrFormSelectDirective, GtrFormTextDirective, GtrFormatSelectedValuePipe, GtrHtmlAttributesDirective, GtrIconComponent, GtrInputColorComponent, GtrInputComponent, GtrInputGroupComponent, GtrInputGroupTextDirective, GtrModalComponent, GtrNumericCounterComponent, GtrPageSizeOptions, GtrPaginationComponent, GtrPopoverComponent, GtrRadioButtonComponent, GtrSelectComponent, GtrSelectListLoaderVariation, GtrSkeletonComponent, GtrSkeletonDirective, GtrStatCardComponent, GtrSwitchComponent, GtrTabComponent, GtrTableComponent, GtrTableMainComponent, GtrTableResponsiveComponent, GtrTabsWrapperComponent, GtrTagsInputComponent, GtrTemplateIdDirective, GtrTextareaComponent, GtrTimePickerComponent, GtrToasterComponent, GtrToasterService, GtrTooltipComponent, GtrTrimTextPipe, GtrValidatePagePipe, convert12hTo24h, convert24hTo12h, convertTimeToDate, getAmPm, getDayPeriods, getListOfHours, getListOfMinutes, getListOfSeconds, getSelectedHour, getSelectedMinutes, getSelectedSeconds, getSupportedLocale, isAm, isAmPm, isHour12, isPm, isValidTime, isValidTimeZone };
|
|
3798
|
+
export { AutosizeDirective, BreakpointInfix, CContrastBorderColorVariable, ColorHelper, DynamicComponentRenderer, EContrastColor, GtrAccordionComponent, GtrAccordionWrapperComponent, GtrBadgeComponent, GtrButtonCloseDirective, GtrButtonComponent, GtrButtonDirective, GtrButtonDropdownComponent, GtrCalendarComponent, GtrCalendarMonthComponent, GtrCalendarNavigationComponent, GtrCheckboxComponent, GtrComponentName, GtrDatePickerComponent, GtrDateRangePickerComponent, GtrDefaultPageIndex, GtrDisplayValueComponent, GtrDropdownCloseDirective, GtrDropdownComponent, GtrDropdownDividerDirective, GtrDropdownHeaderDirective, GtrDropdownItemDirective, GtrDropdownItemPlainDirective, GtrDropdownMenuDirective, GtrDropdownService, GtrDropdownToggleDirective, GtrFileInputComponent, GtrFormCheckComponent, GtrFormCheckInputDirective, GtrFormCheckLabelDirective, GtrFormControlDirective, GtrFormDirective, GtrFormFeedbackComponent, GtrFormFloatingDirective, GtrFormLabelDirective, GtrFormSelectDirective, GtrFormTextDirective, GtrFormatSelectedValuePipe, GtrHtmlAttributesDirective, GtrIconComponent, GtrInputColorComponent, GtrInputComponent, GtrInputGroupComponent, GtrInputGroupTextDirective, GtrModalComponent, GtrNumericCounterComponent, GtrPageSizeOptions, GtrPaginationComponent, GtrPopoverComponent, GtrRadioButtonComponent, GtrRippleDirective, GtrSelectComponent, GtrSelectListLoaderVariation, GtrSkeletonComponent, GtrSkeletonDirective, GtrStatCardComponent, GtrSwitchComponent, GtrTabComponent, GtrTableComponent, GtrTableMainComponent, GtrTableResponsiveComponent, GtrTabsWrapperComponent, GtrTagsInputComponent, GtrTemplateIdDirective, GtrTextareaComponent, GtrTimePickerComponent, GtrToasterComponent, GtrToasterService, GtrTooltipComponent, GtrTrimTextPipe, GtrValidatePagePipe, convert12hTo24h, convert24hTo12h, convertTimeToDate, getAmPm, getDayPeriods, getListOfHours, getListOfMinutes, getListOfSeconds, getSelectedHour, getSelectedMinutes, getSelectedSeconds, getSupportedLocale, isAm, isAmPm, isHour12, isPm, isValidTime, isValidTimeZone };
|
|
3776
3799
|
export type { Alignment, BackgroundColors, BadgePositions, BreakpointInfixStrings, Breakpoints, ButtonType$1 as ButtonType, Colors, ColorsGradient, DateTimeFormatOptions, DayPeriod, Directions, ExpandComponentConfig, ExpandDetailEvent, ExpandDisplayMode, ExpandEvent, ExpandIconPosition, ExpandMode, ExpandedChangeEvent, GrtPaginationType, GtrCheckboxValueChanged, GtrFileInputList, GtrNumericCounterChangeEvent, GtrPage, GtrPageEvent, GtrPaginationOptions, GtrSelectScroll, IDayPeriods, INavAttributes, INavLinkProps, ITimeValue, InputType, Placements, Positions, Shapes, Sizes, TCOLUMN, THEAD, TROW, TextColors, Triggers };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gettrx/core-components-angular",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "Angular specific wrappers for @gettrx/core-components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"gettrx",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@angular/core": "^20.0.0",
|
|
23
23
|
"@angular/forms": "^20.0.0",
|
|
24
24
|
"@angular/router": "^20.0.0",
|
|
25
|
-
"@gettrx/core-styles": "2.0.
|
|
25
|
+
"@gettrx/core-styles": "2.0.4",
|
|
26
26
|
"ngx-colors": "^3.6.0"
|
|
27
27
|
},
|
|
28
28
|
"module": "fesm2022/gettrx-core-components-angular.mjs",
|