@gettrx/core-components-angular 1.1.27 → 2.0.0-beta.0
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/fesm2022/gettrx-core-components-angular.mjs +294 -286
- package/fesm2022/gettrx-core-components-angular.mjs.map +1 -1
- package/index.d.ts +3525 -1
- package/package.json +6 -3
- package/helpers/color.helper.d.ts +0 -4
- package/lib/atoms/badge/gtr-badge.component.d.ts +0 -28
- package/lib/atoms/badge/index.d.ts +0 -1
- package/lib/atoms/badge/public_api.d.ts +0 -1
- package/lib/atoms/button/gtr-button.component.d.ts +0 -42
- package/lib/atoms/button/gtr-button.types.d.ts +0 -3
- package/lib/atoms/button/index.d.ts +0 -1
- package/lib/atoms/button-directive/gtr-button-close.directive.d.ts +0 -13
- package/lib/atoms/button-directive/gtr-button.directive.d.ts +0 -48
- package/lib/atoms/button-directive/index.d.ts +0 -1
- package/lib/atoms/button-directive/public_api.d.ts +0 -2
- package/lib/atoms/button-dropdown/gtr-button-dropdown.component.d.ts +0 -33
- package/lib/atoms/button-dropdown/index.d.ts +0 -1
- package/lib/atoms/button-dropdown/public_api.d.ts +0 -1
- package/lib/atoms/display-value/gtr-display-value.component.d.ts +0 -28
- package/lib/atoms/display-value/index.d.ts +0 -1
- package/lib/atoms/display-value/public-api.d.ts +0 -1
- package/lib/atoms/icon/gtr-icon.component.d.ts +0 -29
- package/lib/atoms/icon/index.d.ts +0 -1
- package/lib/atoms/icon/public_api.d.ts +0 -1
- package/lib/atoms/input/gtr-input.component.d.ts +0 -172
- package/lib/atoms/input/index.d.ts +0 -1
- package/lib/atoms/input/public_api.d.ts +0 -1
- package/lib/atoms/input/utils/gtr-input-utils.d.ts +0 -30
- package/lib/atoms/popover/gtr-popover.component.d.ts +0 -49
- package/lib/atoms/popover/index.d.ts +0 -1
- package/lib/atoms/popover/public_api.d.ts +0 -1
- package/lib/atoms/radio-button/gtr-radio-button.component.d.ts +0 -92
- package/lib/atoms/radio-button/index.d.ts +0 -1
- package/lib/atoms/radio-button/public_api.d.ts +0 -1
- package/lib/atoms/skeleton/gtr-skeleton.component.d.ts +0 -12
- package/lib/atoms/skeleton/index.d.ts +0 -1
- package/lib/atoms/skeleton/public_api.d.ts +0 -2
- package/lib/atoms/skeleton/utils/gtr-skeleton.directive.d.ts +0 -15
- package/lib/atoms/switch/gtr-switch.component.d.ts +0 -58
- package/lib/atoms/switch/index.d.ts +0 -1
- package/lib/atoms/switch/public_api.d.ts +0 -1
- package/lib/atoms/textarea/gtr-textarea.component.d.ts +0 -113
- package/lib/atoms/textarea/index.d.ts +0 -1
- package/lib/atoms/textarea/public_api.d.ts +0 -1
- package/lib/atoms/textarea/utils/gtr-textarea.types.d.ts +0 -12
- package/lib/atoms/toaster/gtr-toaster.component.d.ts +0 -28
- package/lib/atoms/toaster/index.d.ts +0 -1
- package/lib/atoms/toaster/public_api.d.ts +0 -2
- package/lib/atoms/toaster/services/gtr-toaster.service.d.ts +0 -14
- package/lib/atoms/toaster/util/gtr-toaster.util.d.ts +0 -13
- package/lib/atoms/tooltip/gtr-tooltip.component.d.ts +0 -50
- package/lib/atoms/tooltip/index.d.ts +0 -1
- package/lib/atoms/tooltip/public_api.d.ts +0 -1
- package/lib/atoms/tooltip/utils/utils.d.ts +0 -1
- package/lib/core-components.types.d.ts +0 -46
- package/lib/directives/autosize/autosize.directive.d.ts +0 -32
- package/lib/directives/autosize/index.d.ts +0 -1
- package/lib/directives/autosize/public-api.d.ts +0 -1
- package/lib/molecules/accordion/accordion/gtr-accordion.component.d.ts +0 -60
- package/lib/molecules/accordion/accordion-wrapper/gtr-accordion-wrapper.component.d.ts +0 -40
- package/lib/molecules/accordion/index.d.ts +0 -1
- package/lib/molecules/accordion/public_api.d.ts +0 -2
- package/lib/molecules/calendar/calendar/gtr-calendar-class-view.pipe.d.ts +0 -7
- package/lib/molecules/calendar/calendar/gtr-calendar.component.d.ts +0 -178
- package/lib/molecules/calendar/calendar-month/gtr-calendar-class-day.pipe.d.ts +0 -15
- package/lib/molecules/calendar/calendar-month/gtr-calendar-class-month.pipe.d.ts +0 -7
- package/lib/molecules/calendar/calendar-month/gtr-calendar-class-year.pipe.d.ts +0 -7
- package/lib/molecules/calendar/calendar-month/gtr-calendar-day-title.pipe.d.ts +0 -7
- package/lib/molecules/calendar/calendar-month/gtr-calendar-day.directive.d.ts +0 -33
- package/lib/molecules/calendar/calendar-month/gtr-calendar-day.pipe.d.ts +0 -8
- package/lib/molecules/calendar/calendar-month/gtr-calendar-month-title.pipe.d.ts +0 -7
- package/lib/molecules/calendar/calendar-month/gtr-calendar-month.component.d.ts +0 -136
- package/lib/molecules/calendar/calendar-month/gtr-calendar-month.pipe.d.ts +0 -7
- package/lib/molecules/calendar/calendar-month/gtr-calendar-weekday.pipe.d.ts +0 -8
- package/lib/molecules/calendar/calendar-navigation/gtr-calendar-navigation.component.d.ts +0 -32
- package/lib/molecules/calendar/gtr-calendar.service.d.ts +0 -36
- package/lib/molecules/calendar/gtr-calendar.utils.d.ts +0 -28
- package/lib/molecules/calendar/index.d.ts +0 -1
- package/lib/molecules/calendar/public_api.d.ts +0 -3
- package/lib/molecules/checkbox/checkbox/gtr-checkbox.component.d.ts +0 -56
- package/lib/molecules/checkbox/checkbox/gtr-checkbox.utils.d.ts +0 -4
- package/lib/molecules/checkbox/index.d.ts +0 -1
- package/lib/molecules/checkbox/public_api.d.ts +0 -2
- package/lib/molecules/date-picker/gtr-date-picker.component.d.ts +0 -19
- package/lib/molecules/date-picker/index.d.ts +0 -1
- package/lib/molecules/date-picker/public_api.d.ts +0 -1
- package/lib/molecules/date-range-picker/date-range-picker/gtr-custom-range-key.pipe.d.ts +0 -8
- package/lib/molecules/date-range-picker/date-range-picker/gtr-date-range-picker.component.d.ts +0 -286
- package/lib/molecules/date-range-picker/date-range-picker/gtr-date-range-picker.types.d.ts +0 -7
- package/lib/molecules/date-range-picker/index.d.ts +0 -1
- package/lib/molecules/date-range-picker/public_api.d.ts +0 -1
- package/lib/molecules/dropdown/dropdown/gtr-dropdown.component.d.ts +0 -136
- package/lib/molecules/dropdown/dropdown-close/gtr-dropdown-close.directive.d.ts +0 -26
- package/lib/molecules/dropdown/dropdown-divider/gtr-dropdown-divider.directive.d.ts +0 -6
- package/lib/molecules/dropdown/dropdown-header/gtr-dropdown-header.directive.d.ts +0 -6
- package/lib/molecules/dropdown/dropdown-item/gtr-dropdown-item-plain.directive.d.ts +0 -6
- package/lib/molecules/dropdown/dropdown-item/gtr-dropdown-item.directive.d.ts +0 -36
- package/lib/molecules/dropdown/dropdown-menu/gtr-dropdown-menu.directive.d.ts +0 -34
- package/lib/molecules/dropdown/gtr-dropdown.service.d.ts +0 -13
- package/lib/molecules/dropdown/index.d.ts +0 -1
- package/lib/molecules/dropdown/public_api.d.ts +0 -8
- package/lib/molecules/file-input/file-input/gtr-file-input.component.d.ts +0 -74
- package/lib/molecules/file-input/file-input/gtr-file-input.model.d.ts +0 -3
- package/lib/molecules/file-input/index.d.ts +0 -1
- package/lib/molecules/file-input/public_api.d.ts +0 -2
- package/lib/molecules/form/form/gtr-form.directive.d.ts +0 -13
- package/lib/molecules/form/form-check/gtr-form-check-input.directive.d.ts +0 -31
- package/lib/molecules/form/form-check/gtr-form-check-label.directive.d.ts +0 -6
- package/lib/molecules/form/form-check/gtr-form-check.component.d.ts +0 -39
- package/lib/molecules/form/form-control/gtr-form-control.directive.d.ts +0 -31
- package/lib/molecules/form/form-feedback/gtr-form-feedback.component.d.ts +0 -17
- package/lib/molecules/form/form-floating/gtr-form-floating.directive.d.ts +0 -12
- package/lib/molecules/form/form-label/gtr-form-label.directive.d.ts +0 -16
- package/lib/molecules/form/form-select/gtr-form-select.directive.d.ts +0 -16
- package/lib/molecules/form/form-text/gtr-form-text.directive.d.ts +0 -6
- package/lib/molecules/form/index.d.ts +0 -1
- package/lib/molecules/form/input-group/gtr-input-group.component.d.ts +0 -12
- package/lib/molecules/form/input-group-text/gtr-input-group-text.directive.d.ts +0 -7
- package/lib/molecules/form/public_api.d.ts +0 -12
- package/lib/molecules/input-color/gtr-input-color.component.d.ts +0 -39
- package/lib/molecules/input-color/index.d.ts +0 -1
- package/lib/molecules/input-color/public_api.d.ts +0 -1
- package/lib/molecules/modal/gtr-modal.component.d.ts +0 -78
- package/lib/molecules/modal/index.d.ts +0 -1
- package/lib/molecules/modal/public_api.d.ts +0 -1
- package/lib/molecules/numeric-counter/index.d.ts +0 -1
- package/lib/molecules/numeric-counter/numeric-counter/gtr-numeric-counter.component.d.ts +0 -28
- package/lib/molecules/numeric-counter/numeric-counter/gtr-numeric-counter.const.d.ts +0 -1
- package/lib/molecules/numeric-counter/numeric-counter/gtr-numeric-counter.type.d.ts +0 -4
- package/lib/molecules/numeric-counter/public_api.d.ts +0 -3
- package/lib/molecules/pagination/helpers/index.d.ts +0 -2
- package/lib/molecules/pagination/helpers/models/gtr-pagination.interface.d.ts +0 -15
- package/lib/molecules/pagination/helpers/models/gtr-pagination.model.d.ts +0 -2
- package/lib/molecules/pagination/helpers/models/index.d.ts +0 -2
- package/lib/molecules/pagination/helpers/pipes/index.d.ts +0 -1
- package/lib/molecules/pagination/helpers/pipes/validate-page/gtr-validate-page.pipe.d.ts +0 -8
- package/lib/molecules/pagination/index.d.ts +0 -1
- package/lib/molecules/pagination/pagination/gtr-pagination.component.d.ts +0 -75
- package/lib/molecules/pagination/pagination/gtr-pagination.utils.d.ts +0 -21
- package/lib/molecules/pagination/public_api.d.ts +0 -2
- package/lib/molecules/select/helpers/enums/gtr-select.enums.d.ts +0 -4
- package/lib/molecules/select/helpers/enums/index.d.ts +0 -1
- package/lib/molecules/select/helpers/index.d.ts +0 -3
- package/lib/molecules/select/helpers/pipes/format-selected-value/gtr-format-selected-value.pipe.d.ts +0 -8
- package/lib/molecules/select/helpers/pipes/index.d.ts +0 -2
- package/lib/molecules/select/helpers/pipes/trim-text/gtr-trim-text.pipe.d.ts +0 -7
- package/lib/molecules/select/helpers/types/gtr-select.type.d.ts +0 -7
- package/lib/molecules/select/helpers/types/index.d.ts +0 -1
- package/lib/molecules/select/index.d.ts +0 -1
- package/lib/molecules/select/public_api.d.ts +0 -2
- package/lib/molecules/select/select/gtr-select.component.d.ts +0 -233
- package/lib/molecules/shared/gtr-html-attr.directive.d.ts +0 -16
- package/lib/molecules/shared/gtr-template-id.directive.d.ts +0 -9
- package/lib/molecules/shared/index.d.ts +0 -1
- package/lib/molecules/shared/public_api.d.ts +0 -2
- package/lib/molecules/stat-card/gtr-stat-card.component.d.ts +0 -58
- package/lib/molecules/stat-card/index.d.ts +0 -1
- package/lib/molecules/stat-card/public_api.d.ts +0 -1
- package/lib/molecules/table/dynamic-component.directive.d.ts +0 -24
- package/lib/molecules/table/dynamic-host.directive.d.ts +0 -13
- package/lib/molecules/table/gtr-fetch-attribute.pipe.d.ts +0 -9
- package/lib/molecules/table/gtr-table.component.d.ts +0 -89
- package/lib/molecules/table/gtr-table.interface.d.ts +0 -87
- package/lib/molecules/table/index.d.ts +0 -1
- package/lib/molecules/table/public_api.d.ts +0 -4
- package/lib/molecules/table/table-main/gtr-table-main.component.d.ts +0 -62
- package/lib/molecules/table/table-responsive/gtr-table-responsive.component.d.ts +0 -84
- package/lib/molecules/tabs/index.d.ts +0 -1
- package/lib/molecules/tabs/public_api.d.ts +0 -2
- package/lib/molecules/tabs/tab/gtr-tab.component.d.ts +0 -17
- package/lib/molecules/tabs/tabs-wrapper/gtr-tabs-wrapper.component.d.ts +0 -24
- package/lib/molecules/tags-input/helpers/functions.d.ts +0 -2
- package/lib/molecules/tags-input/index.d.ts +0 -1
- package/lib/molecules/tags-input/public_api.d.ts +0 -1
- package/lib/molecules/tags-input/tag-input/gtr-tags-input.component.d.ts +0 -57
- package/lib/molecules/time-picker/gtr-time-picker.component.d.ts +0 -196
- package/lib/molecules/time-picker/gtr-time.utils.d.ts +0 -57
- package/lib/molecules/time-picker/index.d.ts +0 -1
- package/lib/molecules/time-picker/public_api.d.ts +0 -2
- package/lib/molecules/time-picker/time-picker-roll-col/gtr-time-picker-roll-am-pm.component.d.ts +0 -38
- package/lib/molecules/time-picker/time-picker-roll-col/gtr-time-picker-roll-col.component.d.ts +0 -38
- package/parameters/colors.parameter.d.ts +0 -8
- package/parameters/variables.parameters.d.ts +0 -7
- package/public-api.d.ts +0 -37
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { GtrFileInputList } from './gtr-file-input.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class GtrFileInputComponent {
|
|
5
|
-
fileInputElement: ElementRef<HTMLInputElement>;
|
|
6
|
-
name: string;
|
|
7
|
-
dataTransactionName: string;
|
|
8
|
-
/**
|
|
9
|
-
* accept for file input
|
|
10
|
-
* i.e. CSV, png, image/*
|
|
11
|
-
*/
|
|
12
|
-
accept: string;
|
|
13
|
-
/**
|
|
14
|
-
* heading text for file input
|
|
15
|
-
*/
|
|
16
|
-
heading: string;
|
|
17
|
-
/**
|
|
18
|
-
* description/info text for file input
|
|
19
|
-
*/
|
|
20
|
-
description: string;
|
|
21
|
-
/**
|
|
22
|
-
* aria label attribute
|
|
23
|
-
*/
|
|
24
|
-
ariaLabel: string | null;
|
|
25
|
-
/**
|
|
26
|
-
* identifier attribute
|
|
27
|
-
*/
|
|
28
|
-
identifier: string;
|
|
29
|
-
/**
|
|
30
|
-
* File upload event
|
|
31
|
-
* @returns list of files selected
|
|
32
|
-
*/
|
|
33
|
-
readonly gtrFileSelected: EventEmitter<GtrFileInputList | null>;
|
|
34
|
-
/**
|
|
35
|
-
* File upload event
|
|
36
|
-
* @returns list of files selected
|
|
37
|
-
*/
|
|
38
|
-
readonly gtrFileError: EventEmitter<string[]>;
|
|
39
|
-
/**
|
|
40
|
-
* Show name of current selected file at 0 index
|
|
41
|
-
*/
|
|
42
|
-
currentSelectedFileName: string;
|
|
43
|
-
/**
|
|
44
|
-
* TO get file input
|
|
45
|
-
* @returns
|
|
46
|
-
*/
|
|
47
|
-
getFileInputElement(): HTMLInputElement;
|
|
48
|
-
/**
|
|
49
|
-
* Local function to validate file type
|
|
50
|
-
* @param file
|
|
51
|
-
* @returns boolean
|
|
52
|
-
*/
|
|
53
|
-
validateFileType(file: File): boolean;
|
|
54
|
-
/**
|
|
55
|
-
* validate file type
|
|
56
|
-
*/
|
|
57
|
-
filterValidFiles(files: FileList): GtrFileInputList | null;
|
|
58
|
-
/**
|
|
59
|
-
* local method to handle file change events
|
|
60
|
-
* @param event
|
|
61
|
-
*/
|
|
62
|
-
handleFileChange(event: Event): void;
|
|
63
|
-
/**
|
|
64
|
-
* local method to handle file drop event
|
|
65
|
-
* @param event
|
|
66
|
-
*/
|
|
67
|
-
handleDrop(event: DragEvent): void;
|
|
68
|
-
/**
|
|
69
|
-
* local function to set text limit
|
|
70
|
-
*/
|
|
71
|
-
fileTextLimit(fileName: string): string;
|
|
72
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GtrFileInputComponent, never>;
|
|
73
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GtrFileInputComponent, "gtr-file-input", never, { "name": { "alias": "name"; "required": false; }; "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "description": { "alias": "description"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "identifier": { "alias": "identifier"; "required": false; }; }, { "gtrFileSelected": "gtrFileSelected"; "gtrFileError": "gtrFileError"; }, never, never, true, never>;
|
|
74
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './public_api';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class GtrFormDirective {
|
|
3
|
-
/**
|
|
4
|
-
* Mark a form as validated. If you set it `true`, all validation styles will be applied to the form. [docs]
|
|
5
|
-
* @type boolean
|
|
6
|
-
* @default false
|
|
7
|
-
*/
|
|
8
|
-
validated: string | boolean;
|
|
9
|
-
get hostClasses(): any;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GtrFormDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GtrFormDirective, "form[gtrForm]", never, { "validated": { "alias": "validated"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
-
static ngAcceptInputType_validated: unknown;
|
|
13
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class GtrFormCheckInputDirective {
|
|
5
|
-
private renderer;
|
|
6
|
-
private hostElement;
|
|
7
|
-
static ngAcceptInputType_indeterminate: BooleanInput;
|
|
8
|
-
/**
|
|
9
|
-
* Specifies the type of component.
|
|
10
|
-
* @type {'checkbox' | 'radio'}
|
|
11
|
-
* @default 'checkbox'
|
|
12
|
-
*/
|
|
13
|
-
type: 'checkbox' | 'radio';
|
|
14
|
-
/**
|
|
15
|
-
* Set component indeterminate state.
|
|
16
|
-
* @type boolean
|
|
17
|
-
*/
|
|
18
|
-
set indeterminate(value: boolean);
|
|
19
|
-
get indeterminate(): boolean;
|
|
20
|
-
private _indeterminate;
|
|
21
|
-
/**
|
|
22
|
-
* Set component validation state to valid.
|
|
23
|
-
* @type boolean
|
|
24
|
-
*/
|
|
25
|
-
valid?: boolean;
|
|
26
|
-
get hostClasses(): any;
|
|
27
|
-
get checked(): boolean;
|
|
28
|
-
constructor(renderer: Renderer2, hostElement: ElementRef);
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GtrFormCheckInputDirective, never>;
|
|
30
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GtrFormCheckInputDirective, "input[gtrFormCheckInput]", never, { "type": { "alias": "type"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "valid": { "alias": "valid"; "required": false; }; }, {}, never, never, true, never>;
|
|
31
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class GtrFormCheckLabelDirective {
|
|
3
|
-
get hostClasses(): any;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GtrFormCheckLabelDirective, never>;
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GtrFormCheckLabelDirective, "label[gtrFormCheckLabel]", never, {}, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit } from '@angular/core';
|
|
2
|
-
import { GtrFormCheckLabelDirective } from './gtr-form-check-label.directive';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class GtrFormCheckComponent implements AfterContentInit {
|
|
5
|
-
#private;
|
|
6
|
-
/**
|
|
7
|
-
* Group checkboxes or radios on the same horizontal row.
|
|
8
|
-
* @type boolean
|
|
9
|
-
* @default false
|
|
10
|
-
*/
|
|
11
|
-
inline: string | boolean;
|
|
12
|
-
/**
|
|
13
|
-
* Put checkboxes or radios on the opposite side.
|
|
14
|
-
* @type boolean
|
|
15
|
-
* @default false
|
|
16
|
-
* @since 4.4.7
|
|
17
|
-
*/
|
|
18
|
-
reverse: string | boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Size the component large or extra large. Works only with `[switch]="true"` [docs]
|
|
21
|
-
* @type {'lg' | 'xl' | ''}
|
|
22
|
-
*/
|
|
23
|
-
sizing?: 'lg' | 'xl' | '';
|
|
24
|
-
/**
|
|
25
|
-
* Render a toggle switch on for checkbox.
|
|
26
|
-
* @type boolean
|
|
27
|
-
* @default false
|
|
28
|
-
*/
|
|
29
|
-
switch: string | boolean;
|
|
30
|
-
get hostClasses(): any;
|
|
31
|
-
formCheckLabel: GtrFormCheckLabelDirective;
|
|
32
|
-
get formCheckClass(): boolean;
|
|
33
|
-
ngAfterContentInit(): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GtrFormCheckComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GtrFormCheckComponent, "gtr-form-check", ["gtrFormCheck"], { "inline": { "alias": "inline"; "required": false; }; "reverse": { "alias": "reverse"; "required": false; }; "sizing": { "alias": "sizing"; "required": false; }; "switch": { "alias": "switch"; "required": false; }; }, {}, ["formCheckLabel"], ["*"], true, never>;
|
|
36
|
-
static ngAcceptInputType_inline: unknown;
|
|
37
|
-
static ngAcceptInputType_reverse: unknown;
|
|
38
|
-
static ngAcceptInputType_switch: unknown;
|
|
39
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import { InputType } from '../../../core-components.types';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class GtrFormControlDirective implements OnInit {
|
|
5
|
-
private hostElement;
|
|
6
|
-
constructor(hostElement: ElementRef);
|
|
7
|
-
/**
|
|
8
|
-
* Size the component small or large.
|
|
9
|
-
* @type {'sm' | 'lg'}
|
|
10
|
-
*/
|
|
11
|
-
sizing?: '' | 'sm' | 'lg' | string;
|
|
12
|
-
/**
|
|
13
|
-
* Set component validation state to valid.
|
|
14
|
-
* @type boolean
|
|
15
|
-
*/
|
|
16
|
-
valid?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Specifies the type of input element.
|
|
19
|
-
*/
|
|
20
|
-
type: Omit<InputType, 'checkbox' | 'radio'>;
|
|
21
|
-
/**
|
|
22
|
-
* Render the component styled as plain text. Removes the default form field styling and preserve the correct margin and padding. Recommend to use alongside `readonly` [docs]
|
|
23
|
-
*/
|
|
24
|
-
plaintext: string | boolean;
|
|
25
|
-
get hostClasses(): any;
|
|
26
|
-
get hostTag(): string;
|
|
27
|
-
ngOnInit(): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GtrFormControlDirective, never>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GtrFormControlDirective, "input[gtrFormControl], textarea[gtrFormControl]", never, { "sizing": { "alias": "sizing"; "required": false; }; "valid": { "alias": "valid"; "required": false; }; "type": { "alias": "type"; "required": false; }; "plaintext": { "alias": "plaintext"; "required": false; }; }, {}, never, never, true, never>;
|
|
30
|
-
static ngAcceptInputType_plaintext: unknown;
|
|
31
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class GtrFormFeedbackComponent {
|
|
3
|
-
/**
|
|
4
|
-
* If your form layout allows it, you can display validation feedback in a styled tooltip.
|
|
5
|
-
* @type boolean
|
|
6
|
-
*/
|
|
7
|
-
tooltip: string | boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Set component validation state to valid.
|
|
10
|
-
* @type boolean
|
|
11
|
-
*/
|
|
12
|
-
valid?: boolean;
|
|
13
|
-
get hostClasses(): any;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GtrFormFeedbackComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GtrFormFeedbackComponent, "gtr-form-feedback", never, { "tooltip": { "alias": "tooltip"; "required": false; }; "valid": { "alias": "valid"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
16
|
-
static ngAcceptInputType_tooltip: unknown;
|
|
17
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class GtrFormFloatingDirective {
|
|
3
|
-
/**
|
|
4
|
-
* Enable floating labels
|
|
5
|
-
* @type boolean
|
|
6
|
-
*/
|
|
7
|
-
floating: string | boolean;
|
|
8
|
-
get hostClasses(): any;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GtrFormFloatingDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GtrFormFloatingDirective, "[gtrFormFloating]", never, { "floating": { "alias": "gtrFormFloating"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
-
static ngAcceptInputType_floating: unknown;
|
|
12
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class GtrFormLabelDirective {
|
|
3
|
-
/**
|
|
4
|
-
* For horizontal forms set labels to 'col' and make them vertically centered with their associated form controls.
|
|
5
|
-
* @type 'col'
|
|
6
|
-
*/
|
|
7
|
-
col: 'col' | '';
|
|
8
|
-
/**
|
|
9
|
-
* Size the label small or large.
|
|
10
|
-
*/
|
|
11
|
-
sizing: '' | 'sm' | 'lg' | string;
|
|
12
|
-
get hostClasses(): any;
|
|
13
|
-
constructor();
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GtrFormLabelDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GtrFormLabelDirective, "[gtrLabel]", never, { "col": { "alias": "gtrLabel"; "required": false; }; "sizing": { "alias": "sizing"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class GtrFormSelectDirective {
|
|
3
|
-
/**
|
|
4
|
-
* Size the component small or large.
|
|
5
|
-
*/
|
|
6
|
-
sizing?: '' | 'sm' | 'lg' | string;
|
|
7
|
-
/**
|
|
8
|
-
* Set component validation state to valid.
|
|
9
|
-
* @type {boolean | undefined}
|
|
10
|
-
*/
|
|
11
|
-
valid?: boolean;
|
|
12
|
-
get hostClasses(): any;
|
|
13
|
-
constructor();
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GtrFormSelectDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GtrFormSelectDirective, "select[gtrSelect]", never, { "sizing": { "alias": "sizing"; "required": false; }; "valid": { "alias": "valid"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class GtrFormTextDirective {
|
|
3
|
-
get hostClasses(): any;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GtrFormTextDirective, never>;
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GtrFormTextDirective, "[gtrFormText]", never, {}, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './public_api';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class GtrInputGroupComponent {
|
|
3
|
-
/**
|
|
4
|
-
* Size the component small or large.
|
|
5
|
-
*/
|
|
6
|
-
sizing: string | 'sm' | 'lg' | '';
|
|
7
|
-
invalid: boolean | undefined;
|
|
8
|
-
get hostClasses(): any;
|
|
9
|
-
constructor();
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GtrInputGroupComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GtrInputGroupComponent, "gtr-input-group", never, { "sizing": { "alias": "sizing"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
12
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class GtrInputGroupTextDirective {
|
|
3
|
-
get hostClasses(): any;
|
|
4
|
-
constructor();
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GtrInputGroupTextDirective, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GtrInputGroupTextDirective, "[gtrInputGroupText]", never, {}, {}, never, never, true, never>;
|
|
7
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export { GtrFormDirective } from './form/gtr-form.directive';
|
|
2
|
-
export { GtrFormFeedbackComponent } from './form-feedback/gtr-form-feedback.component';
|
|
3
|
-
export { GtrInputGroupComponent } from './input-group/gtr-input-group.component';
|
|
4
|
-
export { GtrFormSelectDirective } from './form-select/gtr-form-select.directive';
|
|
5
|
-
export { GtrFormLabelDirective } from './form-label/gtr-form-label.directive';
|
|
6
|
-
export { GtrFormCheckComponent } from './form-check/gtr-form-check.component';
|
|
7
|
-
export { GtrFormCheckInputDirective } from './form-check/gtr-form-check-input.directive';
|
|
8
|
-
export { GtrFormCheckLabelDirective } from './form-check/gtr-form-check-label.directive';
|
|
9
|
-
export { GtrFormControlDirective } from './form-control/gtr-form-control.directive';
|
|
10
|
-
export { GtrFormTextDirective } from './form-text/gtr-form-text.directive';
|
|
11
|
-
export { GtrFormFloatingDirective } from './form-floating/gtr-form-floating.directive';
|
|
12
|
-
export { GtrInputGroupTextDirective } from './input-group-text/gtr-input-group-text.directive';
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class GtrInputColorComponent implements ControlValueAccessor, OnInit {
|
|
5
|
-
private readonly destroyRef;
|
|
6
|
-
touched: boolean;
|
|
7
|
-
inputControl: FormControl<string | null>;
|
|
8
|
-
colorControl: FormControl<string | null>;
|
|
9
|
-
hasBorder: boolean;
|
|
10
|
-
inputInvalid: boolean;
|
|
11
|
-
inputLabel: string;
|
|
12
|
-
invalid: boolean;
|
|
13
|
-
placeholder: string;
|
|
14
|
-
colorPickerControls: 'default' | 'only-alpha' | 'no-alpha';
|
|
15
|
-
hideColorPicker: boolean;
|
|
16
|
-
hidePickerTextInput: boolean;
|
|
17
|
-
hideErrorMessage: boolean;
|
|
18
|
-
name: string;
|
|
19
|
-
dataTransactionName: string;
|
|
20
|
-
set disabled(value: boolean);
|
|
21
|
-
get disabled(): boolean;
|
|
22
|
-
private _disabled;
|
|
23
|
-
set value(value: string);
|
|
24
|
-
set inputValue(value: string);
|
|
25
|
-
set colorValue(value: string);
|
|
26
|
-
valueChange: EventEmitter<string>;
|
|
27
|
-
constructor();
|
|
28
|
-
ngOnInit(): void;
|
|
29
|
-
private onChange;
|
|
30
|
-
private onTouched;
|
|
31
|
-
handleValue(color: string | null): void;
|
|
32
|
-
registerOnChange(fn: any): void;
|
|
33
|
-
registerOnTouched(fn: any): void;
|
|
34
|
-
setDisabledState(isDisabled: boolean): void;
|
|
35
|
-
writeValue(obj: any): void;
|
|
36
|
-
handleTouch(): void;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GtrInputColorComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GtrInputColorComponent, "gtr-input-color", never, { "inputLabel": { "alias": "inputLabel"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "colorPickerControls": { "alias": "colorPickerControls"; "required": false; }; "hideColorPicker": { "alias": "hideColorPicker"; "required": false; }; "hidePickerTextInput": { "alias": "hidePickerTextInput"; "required": false; }; "hideErrorMessage": { "alias": "hideErrorMessage"; "required": false; }; "name": { "alias": "name"; "required": false; }; "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; "inputValue": { "alias": "inputValue"; "required": false; }; "colorValue": { "alias": "colorValue"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
39
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './public_api';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { GtrInputColorComponent } from './gtr-input-color.component';
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class GtrModalComponent implements AfterViewInit, ControlValueAccessor {
|
|
5
|
-
ngControl: NgControl;
|
|
6
|
-
/**
|
|
7
|
-
* The modal element
|
|
8
|
-
*/
|
|
9
|
-
modalElement?: ElementRef;
|
|
10
|
-
/**
|
|
11
|
-
* The listen decorator used to close modal via keyboard
|
|
12
|
-
*/
|
|
13
|
-
handleKeyDown(event: KeyboardEvent): void;
|
|
14
|
-
constructor(ngControl: NgControl);
|
|
15
|
-
ngAfterViewInit(): void;
|
|
16
|
-
writeValue(obj: any): void;
|
|
17
|
-
registerOnChange(fn: any): void;
|
|
18
|
-
registerOnTouched(fn: any): void;
|
|
19
|
-
setDisabledState?(isDisabled: boolean): void;
|
|
20
|
-
/**
|
|
21
|
-
* The modal open state
|
|
22
|
-
*/
|
|
23
|
-
isOpen: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* The modal position
|
|
26
|
-
*/
|
|
27
|
-
modalPosition: 'top' | 'bottom' | 'center';
|
|
28
|
-
/**
|
|
29
|
-
* The modal position
|
|
30
|
-
*/
|
|
31
|
-
modalId: string;
|
|
32
|
-
/**
|
|
33
|
-
* The modal size
|
|
34
|
-
*/
|
|
35
|
-
modalSize: 'small' | 'medium' | 'large';
|
|
36
|
-
/**
|
|
37
|
-
* The modal scroll
|
|
38
|
-
*/
|
|
39
|
-
scrollType: 'scroll-body' | 'scroll-content';
|
|
40
|
-
/**
|
|
41
|
-
* The modal header
|
|
42
|
-
*/
|
|
43
|
-
header: string;
|
|
44
|
-
/**
|
|
45
|
-
* The modal header
|
|
46
|
-
*/
|
|
47
|
-
hasHeading: boolean;
|
|
48
|
-
dataTransactionName: string;
|
|
49
|
-
/**
|
|
50
|
-
* The modal action eventemitter
|
|
51
|
-
*/
|
|
52
|
-
closeModal: EventEmitter<void>;
|
|
53
|
-
/**
|
|
54
|
-
* The connectedCallback hook
|
|
55
|
-
*/
|
|
56
|
-
/**
|
|
57
|
-
* The disconnectedCallback hook
|
|
58
|
-
*/
|
|
59
|
-
/**
|
|
60
|
-
* The component funtion used to handle click on modal overlay
|
|
61
|
-
*/
|
|
62
|
-
handleOverlayClick(event: MouseEvent): void;
|
|
63
|
-
/**
|
|
64
|
-
* The componentDidUpdate hook
|
|
65
|
-
*/
|
|
66
|
-
/**
|
|
67
|
-
* The component funtion used to set focus on modal
|
|
68
|
-
*/
|
|
69
|
-
setFocusToModal(): void;
|
|
70
|
-
/**
|
|
71
|
-
* The component funtion used to set close modal
|
|
72
|
-
*/
|
|
73
|
-
handleCloseModal(): void;
|
|
74
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GtrModalComponent, [{ optional: true; self: true; }]>;
|
|
75
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GtrModalComponent, "gtr-modal", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "modalPosition": { "alias": "modalPosition"; "required": false; }; "modalId": { "alias": "modalId"; "required": false; }; "modalSize": { "alias": "modalSize"; "required": false; }; "scrollType": { "alias": "scrollType"; "required": false; }; "header": { "alias": "header"; "required": false; }; "hasHeading": { "alias": "hasHeading"; "required": false; }; "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; }, { "closeModal": "closeModal"; }, never, ["[slot='modal-body']", "[slot='modal-actions']"], true, never>;
|
|
76
|
-
static ngAcceptInputType_isOpen: unknown;
|
|
77
|
-
static ngAcceptInputType_hasHeading: unknown;
|
|
78
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './public_api';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { GtrModalComponent } from './gtr-modal.component';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './public_api';
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { GtrNumericCounterChangeEvent } from './gtr-numeric-counter.type';
|
|
3
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class GtrNumericCounterComponent implements ControlValueAccessor {
|
|
6
|
-
value: number;
|
|
7
|
-
step: number;
|
|
8
|
-
min: number;
|
|
9
|
-
max: number;
|
|
10
|
-
name: string;
|
|
11
|
-
identifier: string;
|
|
12
|
-
disabled: boolean;
|
|
13
|
-
readonly: boolean;
|
|
14
|
-
dataTransactionName: string;
|
|
15
|
-
readonly gtrChange: EventEmitter<GtrNumericCounterChangeEvent>;
|
|
16
|
-
private onChange;
|
|
17
|
-
private onTouch;
|
|
18
|
-
writeValue(value: any): void;
|
|
19
|
-
registerOnChange(fn: any): void;
|
|
20
|
-
registerOnTouched(fn: any): void;
|
|
21
|
-
setDisabledState?(isDisabled: boolean): void;
|
|
22
|
-
handleKeyDown(event: KeyboardEvent): void;
|
|
23
|
-
incrementCounter: () => void;
|
|
24
|
-
decrementCounter: () => void;
|
|
25
|
-
handleOnChange: (event?: Event) => void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GtrNumericCounterComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GtrNumericCounterComponent, "gtr-numeric-counter", never, { "value": { "alias": "value"; "required": false; }; "step": { "alias": "step"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "name": { "alias": "name"; "required": false; }; "identifier": { "alias": "identifier"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; }, { "gtrChange": "gtrChange"; }, never, never, true, never>;
|
|
28
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const GtrComponentName = "gtr-numeric-counter";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export interface GtrPageEvent {
|
|
2
|
-
previousPageIndex: number;
|
|
3
|
-
pageIndex: number;
|
|
4
|
-
pageSize: number;
|
|
5
|
-
totalCount: number;
|
|
6
|
-
nextPageToken?: string | null;
|
|
7
|
-
prevPageToken?: string | null;
|
|
8
|
-
currentPageToken?: string | null;
|
|
9
|
-
}
|
|
10
|
-
export type GtrPage = string | number;
|
|
11
|
-
export type GtrPaginationOptions = {
|
|
12
|
-
type: GrtPaginationType;
|
|
13
|
-
hideLast: boolean;
|
|
14
|
-
};
|
|
15
|
-
export type GrtPaginationType = 'default' | 'flat' | 'token';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './validate-page/gtr-validate-page.pipe';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { GtrPage } from '../../models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class GtrValidatePagePipe implements PipeTransform {
|
|
5
|
-
transform(value: GtrPage | undefined, returnValue?: string): number | string;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GtrValidatePagePipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<GtrValidatePagePipe, "gtrValidatePage", true>;
|
|
8
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './public_api';
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { GtrPage, GtrPageEvent, GtrPaginationOptions } from '../helpers';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class GtrPaginationComponent implements OnInit, OnChanges {
|
|
5
|
-
/** [aria-label] have string type and its used to set the aria attribute for pagination component */
|
|
6
|
-
options: GtrPaginationOptions;
|
|
7
|
-
/** identifier] for dom reference */
|
|
8
|
-
identifier: string;
|
|
9
|
-
/** [disabled] is type of boolean which is used to disable the pagination navigation */
|
|
10
|
-
disabled: boolean;
|
|
11
|
-
/** [limit] is used for the count of total items */
|
|
12
|
-
limit: number;
|
|
13
|
-
/** [pageSize] is used to set the limit of total items per page */
|
|
14
|
-
pageSize: number;
|
|
15
|
-
/** [pageSizeOptions] have number array type it is used to set the page size options */
|
|
16
|
-
pageSizeOptions: number[];
|
|
17
|
-
/** [hidePageSize] have boolean type and its used to hide/show the pagesize options default value is true */
|
|
18
|
-
hidePageSize: boolean;
|
|
19
|
-
dataTransactionName: string;
|
|
20
|
-
/**
|
|
21
|
-
* [showFirstLastButtons] have boolean type and its used to hide/show the
|
|
22
|
-
* first and last navigation buttons for pagination and its default value is true
|
|
23
|
-
*/
|
|
24
|
-
showFirstLastButtons: boolean;
|
|
25
|
-
/** [pageIndex] have number type and its used to set the current page default value is 1 */
|
|
26
|
-
pageIndex: number;
|
|
27
|
-
/** [aria-label] have string type and its used to set the aria attribute for pagination component */
|
|
28
|
-
ariaLabel: string;
|
|
29
|
-
/** Next result token used for token pagination */
|
|
30
|
-
nextPageToken: string | null;
|
|
31
|
-
/** Previous page token used for token pagination */
|
|
32
|
-
prevPageToken: string | null;
|
|
33
|
-
/** Current page token used for token pagination */
|
|
34
|
-
currentPageToken: string | null;
|
|
35
|
-
/**
|
|
36
|
-
* (pageEvent) When the user interacts with the paginator, a pageEvent will be fired that can be used to update any associated data view.
|
|
37
|
-
*/
|
|
38
|
-
readonly pageEvent: EventEmitter<GtrPageEvent>;
|
|
39
|
-
/**
|
|
40
|
-
* (getNumberOfPages) When the user interacts with the paginator, a pageEvent will be fired that can be used to get the total number of pages.
|
|
41
|
-
*/
|
|
42
|
-
readonly getNumberOfPages: EventEmitter<number>;
|
|
43
|
-
/** [totalPages] have number type and used to store the count of total pages */
|
|
44
|
-
totalPages: number;
|
|
45
|
-
/**
|
|
46
|
-
* state to manage page array
|
|
47
|
-
*/
|
|
48
|
-
pagesArray: GtrPage[];
|
|
49
|
-
/**
|
|
50
|
-
* state to manage responsive view for mobile and desktop
|
|
51
|
-
*/
|
|
52
|
-
private _isMobile;
|
|
53
|
-
defaultPage: number;
|
|
54
|
-
hasBothDots: any;
|
|
55
|
-
/**
|
|
56
|
-
* Component Initialization
|
|
57
|
-
*/
|
|
58
|
-
ngOnInit(): void;
|
|
59
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
60
|
-
/**
|
|
61
|
-
* To set total pages
|
|
62
|
-
*/
|
|
63
|
-
private _setTotalPages;
|
|
64
|
-
/** changePage method which is used to send page event to the consuming component */
|
|
65
|
-
changeTokenPagination(token: string | null): void;
|
|
66
|
-
changePage(currentPage: GtrPage): void;
|
|
67
|
-
/** Change page size option */
|
|
68
|
-
onPageSizeChange(value: number): void;
|
|
69
|
-
/** Listen to screen change events */
|
|
70
|
-
onScreenResize(): void;
|
|
71
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GtrPaginationComponent, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GtrPaginationComponent, "gtr-pagination", never, { "options": { "alias": "options"; "required": false; }; "identifier": { "alias": "identifier"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "limit": { "alias": "limit"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "hidePageSize": { "alias": "hidePageSize"; "required": false; }; "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; "showFirstLastButtons": { "alias": "showFirstLastButtons"; "required": false; }; "pageIndex": { "alias": "pageIndex"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "nextPageToken": { "alias": "nextPageToken"; "required": false; }; "prevPageToken": { "alias": "prevPageToken"; "required": false; }; "currentPageToken": { "alias": "currentPageToken"; "required": false; }; }, { "pageEvent": "pageEvent"; "getNumberOfPages": "getNumberOfPages"; }, never, never, true, never>;
|
|
73
|
-
static ngAcceptInputType_disabled: unknown;
|
|
74
|
-
static ngAcceptInputType_showFirstLastButtons: unknown;
|
|
75
|
-
}
|