@gettrx/core-components-angular 2.0.2 → 2.0.3
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
|
@@ -2884,6 +2884,18 @@ interface ExpandedChangeEvent {
|
|
|
2884
2884
|
expanded: boolean;
|
|
2885
2885
|
expandedIds: any[];
|
|
2886
2886
|
}
|
|
2887
|
+
/**
|
|
2888
|
+
* Payload for the `onExpand` output.
|
|
2889
|
+
* Includes the toggled row plus every row that is currently open.
|
|
2890
|
+
*/
|
|
2891
|
+
interface ExpandEvent {
|
|
2892
|
+
isExpanded: boolean;
|
|
2893
|
+
row: TROW;
|
|
2894
|
+
/** Full row objects currently expanded (order follows `data`). */
|
|
2895
|
+
expandedRows: TROW[];
|
|
2896
|
+
/** Ids of currently expanded rows. */
|
|
2897
|
+
expandedIds: any[];
|
|
2898
|
+
}
|
|
2887
2899
|
/**
|
|
2888
2900
|
* Per-row expand panel configuration.
|
|
2889
2901
|
* Return `null` / `undefined` from `expandConfig` for non-expandable rows.
|
|
@@ -2976,6 +2988,8 @@ declare class GtrTableResponsiveComponent implements OnDestroy, AfterViewChecked
|
|
|
2976
2988
|
dynamicHosts: QueryList<DynamicHostDirective>;
|
|
2977
2989
|
isLoading: boolean;
|
|
2978
2990
|
appDynamicHost: any;
|
|
2991
|
+
onExpand: EventEmitter<ExpandEvent>;
|
|
2992
|
+
onExpandDone(ev: ExpandEvent): void;
|
|
2979
2993
|
/** Row whose expand detail is currently shown in the shared modal (modal displayMode only). */
|
|
2980
2994
|
modalRow: TROW | null;
|
|
2981
2995
|
constructor(cdRef: ChangeDetectorRef, attributesPipe: GtrFetchAttributePipe);
|
|
@@ -3106,10 +3120,12 @@ declare class GtrTableResponsiveComponent implements OnDestroy, AfterViewChecked
|
|
|
3106
3120
|
isExpandToggleOpen(row: TROW): boolean;
|
|
3107
3121
|
onExpandToggle(row: TROW, event: Event): void;
|
|
3108
3122
|
toggleExpand(row: TROW): void;
|
|
3123
|
+
/** Rows currently open, in table data order. */
|
|
3124
|
+
getExpandedRows(): TROW[];
|
|
3109
3125
|
onExpandDetailEvent(event: ExpandDetailEvent): void;
|
|
3110
3126
|
ngOnDestroy(): void;
|
|
3111
3127
|
static ɵfac: i0.ɵɵFactoryDeclaration<GtrTableResponsiveComponent, never>;
|
|
3112
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GtrTableResponsiveComponent, "gtr-table-responsive", ["gtrTableResponsive"], { "isLoading": { "alias": "isLoading"; "required": false; }; "enableSelection": { "alias": "enableSelection"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "expandMode": { "alias": "expandMode"; "required": false; }; "expandIconPosition": { "alias": "expandIconPosition"; "required": false; }; "expandConfig": { "alias": "expandConfig"; "required": false; }; "rowExpandable": { "alias": "rowExpandable"; "required": false; }; "tableResponsiveId": { "alias": "tableResponsiveId"; "required": false; }; "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; }, { "onSelection": "onSelection"; "onAction": "onAction"; "handleEvent": "handleEvent"; "onSort": "onSort"; "expandedChange": "expandedChange"; "expandDetailEvent": "expandDetailEvent"; }, never, never, true, never>;
|
|
3128
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GtrTableResponsiveComponent, "gtr-table-responsive", ["gtrTableResponsive"], { "isLoading": { "alias": "isLoading"; "required": false; }; "enableSelection": { "alias": "enableSelection"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "expandMode": { "alias": "expandMode"; "required": false; }; "expandIconPosition": { "alias": "expandIconPosition"; "required": false; }; "expandConfig": { "alias": "expandConfig"; "required": false; }; "rowExpandable": { "alias": "rowExpandable"; "required": false; }; "tableResponsiveId": { "alias": "tableResponsiveId"; "required": false; }; "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; }, { "onExpand": "onExpand"; "onSelection": "onSelection"; "onAction": "onAction"; "handleEvent": "handleEvent"; "onSort": "onSort"; "expandedChange": "expandedChange"; "expandDetailEvent": "expandDetailEvent"; }, never, never, true, never>;
|
|
3113
3129
|
}
|
|
3114
3130
|
|
|
3115
3131
|
declare class GtrTableMainComponent implements AfterViewChecked {
|
|
@@ -3188,6 +3204,10 @@ declare class GtrTableMainComponent implements AfterViewChecked {
|
|
|
3188
3204
|
* Typed events from expanded detail component outputs.
|
|
3189
3205
|
*/
|
|
3190
3206
|
expandDetailEvent: EventEmitter<ExpandDetailEvent>;
|
|
3207
|
+
/**
|
|
3208
|
+
* Typed events from expanded detail component outputs.
|
|
3209
|
+
*/
|
|
3210
|
+
onExpand: EventEmitter<ExpandEvent>;
|
|
3191
3211
|
private expandedIds;
|
|
3192
3212
|
ngAfterViewChecked(): void;
|
|
3193
3213
|
get detailColSpan(): number;
|
|
@@ -3210,6 +3230,8 @@ declare class GtrTableMainComponent implements AfterViewChecked {
|
|
|
3210
3230
|
onRowClick(row: TROW, event: MouseEvent): void;
|
|
3211
3231
|
onRowKeydown(row: TROW, event: KeyboardEvent): void;
|
|
3212
3232
|
toggleExpand(row: TROW): void;
|
|
3233
|
+
/** Rows currently open, in table data order. */
|
|
3234
|
+
getExpandedRows(): TROW[];
|
|
3213
3235
|
onExpandDetailEvent(event: ExpandDetailEvent): void;
|
|
3214
3236
|
shouldIgnoreRowExpandClick(event: Event): boolean;
|
|
3215
3237
|
onSorting(sortType: number, column: any): void;
|
|
@@ -3220,7 +3242,7 @@ declare class GtrTableMainComponent implements AfterViewChecked {
|
|
|
3220
3242
|
fectchSelection(): boolean;
|
|
3221
3243
|
selectionDone(event: any, item: any): void;
|
|
3222
3244
|
static ɵfac: i0.ɵɵFactoryDeclaration<GtrTableMainComponent, never>;
|
|
3223
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GtrTableMainComponent, "gtr-table-main", ["gtrTableMain"], { "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; "enableSelection": { "alias": "enableSelection"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "tableMainId": { "alias": "tableMainId"; "required": false; }; "data": { "alias": "data"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "expandMode": { "alias": "expandMode"; "required": false; }; "expandIconPosition": { "alias": "expandIconPosition"; "required": false; }; "expandConfig": { "alias": "expandConfig"; "required": false; }; "rowExpandable": { "alias": "rowExpandable"; "required": false; }; }, { "onSelection": "onSelection"; "onAction": "onAction"; "handleEvent": "handleEvent"; "onSort": "onSort"; "expandedChange": "expandedChange"; "expandDetailEvent": "expandDetailEvent"; }, never, never, true, never>;
|
|
3245
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GtrTableMainComponent, "gtr-table-main", ["gtrTableMain"], { "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; "enableSelection": { "alias": "enableSelection"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "tableMainId": { "alias": "tableMainId"; "required": false; }; "data": { "alias": "data"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "expandMode": { "alias": "expandMode"; "required": false; }; "expandIconPosition": { "alias": "expandIconPosition"; "required": false; }; "expandConfig": { "alias": "expandConfig"; "required": false; }; "rowExpandable": { "alias": "rowExpandable"; "required": false; }; }, { "onSelection": "onSelection"; "onAction": "onAction"; "handleEvent": "handleEvent"; "onSort": "onSort"; "expandedChange": "expandedChange"; "expandDetailEvent": "expandDetailEvent"; "onExpand": "onExpand"; }, never, never, true, never>;
|
|
3224
3246
|
}
|
|
3225
3247
|
|
|
3226
3248
|
declare class GtrTableComponent implements OnDestroy {
|
|
@@ -3315,6 +3337,11 @@ declare class GtrTableComponent implements OnDestroy {
|
|
|
3315
3337
|
* Typed events from expanded detail component outputs.
|
|
3316
3338
|
*/
|
|
3317
3339
|
expandDetailEvent: EventEmitter<ExpandDetailEvent>;
|
|
3340
|
+
/**
|
|
3341
|
+
* Emitted when a row is expanded or collapsed.
|
|
3342
|
+
* Includes the toggled row and all currently open rows.
|
|
3343
|
+
*/
|
|
3344
|
+
onExpand: EventEmitter<ExpandEvent>;
|
|
3318
3345
|
/**
|
|
3319
3346
|
* To check screen size
|
|
3320
3347
|
*/
|
|
@@ -3325,6 +3352,7 @@ declare class GtrTableComponent implements OnDestroy {
|
|
|
3325
3352
|
value: boolean;
|
|
3326
3353
|
id: number;
|
|
3327
3354
|
}): void;
|
|
3355
|
+
onExpandDone(ev: ExpandEvent): void;
|
|
3328
3356
|
fetchEvent(ev: any): void;
|
|
3329
3357
|
sorting(ev: {
|
|
3330
3358
|
value: boolean;
|
|
@@ -3334,7 +3362,7 @@ declare class GtrTableComponent implements OnDestroy {
|
|
|
3334
3362
|
onExpandDetailEvent(ev: ExpandDetailEvent): void;
|
|
3335
3363
|
ngOnDestroy(): void;
|
|
3336
3364
|
static ɵfac: i0.ɵɵFactoryDeclaration<GtrTableComponent, never>;
|
|
3337
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GtrTableComponent, "gtr-table", ["gtrTable"], { "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; "isResponsive": { "alias": "isResponsive"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "enableSelection": { "alias": "enableSelection"; "required": false; }; "tableMainId": { "alias": "tableMainId"; "required": false; }; "tableResponsiveId": { "alias": "tableResponsiveId"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "expandMode": { "alias": "expandMode"; "required": false; }; "expandIconPosition": { "alias": "expandIconPosition"; "required": false; }; "expandConfig": { "alias": "expandConfig"; "required": false; }; "rowExpandable": { "alias": "rowExpandable"; "required": false; }; }, { "onSelection": "onSelection"; "onAction": "onAction"; "handleEvent": "handleEvent"; "onSort": "onSort"; "expandedChange": "expandedChange"; "expandDetailEvent": "expandDetailEvent"; }, never, never, true, never>;
|
|
3365
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GtrTableComponent, "gtr-table", ["gtrTable"], { "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; "isResponsive": { "alias": "isResponsive"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "enableSelection": { "alias": "enableSelection"; "required": false; }; "tableMainId": { "alias": "tableMainId"; "required": false; }; "tableResponsiveId": { "alias": "tableResponsiveId"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "expandMode": { "alias": "expandMode"; "required": false; }; "expandIconPosition": { "alias": "expandIconPosition"; "required": false; }; "expandConfig": { "alias": "expandConfig"; "required": false; }; "rowExpandable": { "alias": "rowExpandable"; "required": false; }; }, { "onSelection": "onSelection"; "onAction": "onAction"; "handleEvent": "handleEvent"; "onSort": "onSort"; "expandedChange": "expandedChange"; "expandDetailEvent": "expandDetailEvent"; "onExpand": "onExpand"; }, never, never, true, never>;
|
|
3338
3366
|
}
|
|
3339
3367
|
|
|
3340
3368
|
interface DynamicRenderOptions<T = any> {
|
|
@@ -3745,4 +3773,4 @@ declare class ColorHelper {
|
|
|
3745
3773
|
}
|
|
3746
3774
|
|
|
3747
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 };
|
|
3748
|
-
export type { Alignment, BackgroundColors, BadgePositions, BreakpointInfixStrings, Breakpoints, ButtonType$1 as ButtonType, Colors, ColorsGradient, DateTimeFormatOptions, DayPeriod, Directions, ExpandComponentConfig, ExpandDetailEvent, ExpandDisplayMode, 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 };
|
|
3776
|
+
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.3",
|
|
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.3",
|
|
26
26
|
"ngx-colors": "^3.6.0"
|
|
27
27
|
},
|
|
28
28
|
"module": "fesm2022/gettrx-core-components-angular.mjs",
|