@gettrx/core-components-angular 1.1.28 → 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.
Files changed (184) hide show
  1. package/fesm2022/gettrx-core-components-angular.mjs +294 -285
  2. package/fesm2022/gettrx-core-components-angular.mjs.map +1 -1
  3. package/index.d.ts +3525 -1
  4. package/package.json +6 -3
  5. package/helpers/color.helper.d.ts +0 -4
  6. package/lib/atoms/badge/gtr-badge.component.d.ts +0 -28
  7. package/lib/atoms/badge/index.d.ts +0 -1
  8. package/lib/atoms/badge/public_api.d.ts +0 -1
  9. package/lib/atoms/button/gtr-button.component.d.ts +0 -42
  10. package/lib/atoms/button/gtr-button.types.d.ts +0 -3
  11. package/lib/atoms/button/index.d.ts +0 -1
  12. package/lib/atoms/button-directive/gtr-button-close.directive.d.ts +0 -13
  13. package/lib/atoms/button-directive/gtr-button.directive.d.ts +0 -48
  14. package/lib/atoms/button-directive/index.d.ts +0 -1
  15. package/lib/atoms/button-directive/public_api.d.ts +0 -2
  16. package/lib/atoms/button-dropdown/gtr-button-dropdown.component.d.ts +0 -33
  17. package/lib/atoms/button-dropdown/index.d.ts +0 -1
  18. package/lib/atoms/button-dropdown/public_api.d.ts +0 -1
  19. package/lib/atoms/display-value/gtr-display-value.component.d.ts +0 -28
  20. package/lib/atoms/display-value/index.d.ts +0 -1
  21. package/lib/atoms/display-value/public-api.d.ts +0 -1
  22. package/lib/atoms/icon/gtr-icon.component.d.ts +0 -29
  23. package/lib/atoms/icon/index.d.ts +0 -1
  24. package/lib/atoms/icon/public_api.d.ts +0 -1
  25. package/lib/atoms/input/gtr-input.component.d.ts +0 -172
  26. package/lib/atoms/input/index.d.ts +0 -1
  27. package/lib/atoms/input/public_api.d.ts +0 -1
  28. package/lib/atoms/input/utils/gtr-input-utils.d.ts +0 -30
  29. package/lib/atoms/popover/gtr-popover.component.d.ts +0 -49
  30. package/lib/atoms/popover/index.d.ts +0 -1
  31. package/lib/atoms/popover/public_api.d.ts +0 -1
  32. package/lib/atoms/radio-button/gtr-radio-button.component.d.ts +0 -92
  33. package/lib/atoms/radio-button/index.d.ts +0 -1
  34. package/lib/atoms/radio-button/public_api.d.ts +0 -1
  35. package/lib/atoms/skeleton/gtr-skeleton.component.d.ts +0 -12
  36. package/lib/atoms/skeleton/index.d.ts +0 -1
  37. package/lib/atoms/skeleton/public_api.d.ts +0 -2
  38. package/lib/atoms/skeleton/utils/gtr-skeleton.directive.d.ts +0 -15
  39. package/lib/atoms/switch/gtr-switch.component.d.ts +0 -58
  40. package/lib/atoms/switch/index.d.ts +0 -1
  41. package/lib/atoms/switch/public_api.d.ts +0 -1
  42. package/lib/atoms/textarea/gtr-textarea.component.d.ts +0 -113
  43. package/lib/atoms/textarea/index.d.ts +0 -1
  44. package/lib/atoms/textarea/public_api.d.ts +0 -1
  45. package/lib/atoms/textarea/utils/gtr-textarea.types.d.ts +0 -12
  46. package/lib/atoms/toaster/gtr-toaster.component.d.ts +0 -28
  47. package/lib/atoms/toaster/index.d.ts +0 -1
  48. package/lib/atoms/toaster/public_api.d.ts +0 -2
  49. package/lib/atoms/toaster/services/gtr-toaster.service.d.ts +0 -14
  50. package/lib/atoms/toaster/util/gtr-toaster.util.d.ts +0 -13
  51. package/lib/atoms/tooltip/gtr-tooltip.component.d.ts +0 -50
  52. package/lib/atoms/tooltip/index.d.ts +0 -1
  53. package/lib/atoms/tooltip/public_api.d.ts +0 -1
  54. package/lib/atoms/tooltip/utils/utils.d.ts +0 -1
  55. package/lib/core-components.types.d.ts +0 -46
  56. package/lib/directives/autosize/autosize.directive.d.ts +0 -32
  57. package/lib/directives/autosize/index.d.ts +0 -1
  58. package/lib/directives/autosize/public-api.d.ts +0 -1
  59. package/lib/molecules/accordion/accordion/gtr-accordion.component.d.ts +0 -60
  60. package/lib/molecules/accordion/accordion-wrapper/gtr-accordion-wrapper.component.d.ts +0 -40
  61. package/lib/molecules/accordion/index.d.ts +0 -1
  62. package/lib/molecules/accordion/public_api.d.ts +0 -2
  63. package/lib/molecules/calendar/calendar/gtr-calendar-class-view.pipe.d.ts +0 -7
  64. package/lib/molecules/calendar/calendar/gtr-calendar.component.d.ts +0 -178
  65. package/lib/molecules/calendar/calendar-month/gtr-calendar-class-day.pipe.d.ts +0 -15
  66. package/lib/molecules/calendar/calendar-month/gtr-calendar-class-month.pipe.d.ts +0 -7
  67. package/lib/molecules/calendar/calendar-month/gtr-calendar-class-year.pipe.d.ts +0 -7
  68. package/lib/molecules/calendar/calendar-month/gtr-calendar-day-title.pipe.d.ts +0 -7
  69. package/lib/molecules/calendar/calendar-month/gtr-calendar-day.directive.d.ts +0 -33
  70. package/lib/molecules/calendar/calendar-month/gtr-calendar-day.pipe.d.ts +0 -8
  71. package/lib/molecules/calendar/calendar-month/gtr-calendar-month-title.pipe.d.ts +0 -7
  72. package/lib/molecules/calendar/calendar-month/gtr-calendar-month.component.d.ts +0 -136
  73. package/lib/molecules/calendar/calendar-month/gtr-calendar-month.pipe.d.ts +0 -7
  74. package/lib/molecules/calendar/calendar-month/gtr-calendar-weekday.pipe.d.ts +0 -8
  75. package/lib/molecules/calendar/calendar-navigation/gtr-calendar-navigation.component.d.ts +0 -32
  76. package/lib/molecules/calendar/gtr-calendar.service.d.ts +0 -36
  77. package/lib/molecules/calendar/gtr-calendar.utils.d.ts +0 -28
  78. package/lib/molecules/calendar/index.d.ts +0 -1
  79. package/lib/molecules/calendar/public_api.d.ts +0 -3
  80. package/lib/molecules/checkbox/checkbox/gtr-checkbox.component.d.ts +0 -56
  81. package/lib/molecules/checkbox/checkbox/gtr-checkbox.utils.d.ts +0 -4
  82. package/lib/molecules/checkbox/index.d.ts +0 -1
  83. package/lib/molecules/checkbox/public_api.d.ts +0 -2
  84. package/lib/molecules/date-picker/gtr-date-picker.component.d.ts +0 -19
  85. package/lib/molecules/date-picker/index.d.ts +0 -1
  86. package/lib/molecules/date-picker/public_api.d.ts +0 -1
  87. package/lib/molecules/date-range-picker/date-range-picker/gtr-custom-range-key.pipe.d.ts +0 -8
  88. package/lib/molecules/date-range-picker/date-range-picker/gtr-date-range-picker.component.d.ts +0 -286
  89. package/lib/molecules/date-range-picker/date-range-picker/gtr-date-range-picker.types.d.ts +0 -7
  90. package/lib/molecules/date-range-picker/index.d.ts +0 -1
  91. package/lib/molecules/date-range-picker/public_api.d.ts +0 -1
  92. package/lib/molecules/dropdown/dropdown/gtr-dropdown.component.d.ts +0 -136
  93. package/lib/molecules/dropdown/dropdown-close/gtr-dropdown-close.directive.d.ts +0 -26
  94. package/lib/molecules/dropdown/dropdown-divider/gtr-dropdown-divider.directive.d.ts +0 -6
  95. package/lib/molecules/dropdown/dropdown-header/gtr-dropdown-header.directive.d.ts +0 -6
  96. package/lib/molecules/dropdown/dropdown-item/gtr-dropdown-item-plain.directive.d.ts +0 -6
  97. package/lib/molecules/dropdown/dropdown-item/gtr-dropdown-item.directive.d.ts +0 -36
  98. package/lib/molecules/dropdown/dropdown-menu/gtr-dropdown-menu.directive.d.ts +0 -34
  99. package/lib/molecules/dropdown/gtr-dropdown.service.d.ts +0 -13
  100. package/lib/molecules/dropdown/index.d.ts +0 -1
  101. package/lib/molecules/dropdown/public_api.d.ts +0 -8
  102. package/lib/molecules/file-input/file-input/gtr-file-input.component.d.ts +0 -74
  103. package/lib/molecules/file-input/file-input/gtr-file-input.model.d.ts +0 -3
  104. package/lib/molecules/file-input/index.d.ts +0 -1
  105. package/lib/molecules/file-input/public_api.d.ts +0 -2
  106. package/lib/molecules/form/form/gtr-form.directive.d.ts +0 -13
  107. package/lib/molecules/form/form-check/gtr-form-check-input.directive.d.ts +0 -31
  108. package/lib/molecules/form/form-check/gtr-form-check-label.directive.d.ts +0 -6
  109. package/lib/molecules/form/form-check/gtr-form-check.component.d.ts +0 -39
  110. package/lib/molecules/form/form-control/gtr-form-control.directive.d.ts +0 -31
  111. package/lib/molecules/form/form-feedback/gtr-form-feedback.component.d.ts +0 -17
  112. package/lib/molecules/form/form-floating/gtr-form-floating.directive.d.ts +0 -12
  113. package/lib/molecules/form/form-label/gtr-form-label.directive.d.ts +0 -16
  114. package/lib/molecules/form/form-select/gtr-form-select.directive.d.ts +0 -16
  115. package/lib/molecules/form/form-text/gtr-form-text.directive.d.ts +0 -6
  116. package/lib/molecules/form/index.d.ts +0 -1
  117. package/lib/molecules/form/input-group/gtr-input-group.component.d.ts +0 -12
  118. package/lib/molecules/form/input-group-text/gtr-input-group-text.directive.d.ts +0 -7
  119. package/lib/molecules/form/public_api.d.ts +0 -12
  120. package/lib/molecules/input-color/gtr-input-color.component.d.ts +0 -39
  121. package/lib/molecules/input-color/index.d.ts +0 -1
  122. package/lib/molecules/input-color/public_api.d.ts +0 -1
  123. package/lib/molecules/modal/gtr-modal.component.d.ts +0 -78
  124. package/lib/molecules/modal/index.d.ts +0 -1
  125. package/lib/molecules/modal/public_api.d.ts +0 -1
  126. package/lib/molecules/numeric-counter/index.d.ts +0 -1
  127. package/lib/molecules/numeric-counter/numeric-counter/gtr-numeric-counter.component.d.ts +0 -28
  128. package/lib/molecules/numeric-counter/numeric-counter/gtr-numeric-counter.const.d.ts +0 -1
  129. package/lib/molecules/numeric-counter/numeric-counter/gtr-numeric-counter.type.d.ts +0 -4
  130. package/lib/molecules/numeric-counter/public_api.d.ts +0 -3
  131. package/lib/molecules/pagination/helpers/index.d.ts +0 -2
  132. package/lib/molecules/pagination/helpers/models/gtr-pagination.interface.d.ts +0 -15
  133. package/lib/molecules/pagination/helpers/models/gtr-pagination.model.d.ts +0 -2
  134. package/lib/molecules/pagination/helpers/models/index.d.ts +0 -2
  135. package/lib/molecules/pagination/helpers/pipes/index.d.ts +0 -1
  136. package/lib/molecules/pagination/helpers/pipes/validate-page/gtr-validate-page.pipe.d.ts +0 -8
  137. package/lib/molecules/pagination/index.d.ts +0 -1
  138. package/lib/molecules/pagination/pagination/gtr-pagination.component.d.ts +0 -75
  139. package/lib/molecules/pagination/pagination/gtr-pagination.utils.d.ts +0 -21
  140. package/lib/molecules/pagination/public_api.d.ts +0 -2
  141. package/lib/molecules/select/helpers/enums/gtr-select.enums.d.ts +0 -4
  142. package/lib/molecules/select/helpers/enums/index.d.ts +0 -1
  143. package/lib/molecules/select/helpers/index.d.ts +0 -3
  144. package/lib/molecules/select/helpers/pipes/format-selected-value/gtr-format-selected-value.pipe.d.ts +0 -8
  145. package/lib/molecules/select/helpers/pipes/index.d.ts +0 -2
  146. package/lib/molecules/select/helpers/pipes/trim-text/gtr-trim-text.pipe.d.ts +0 -7
  147. package/lib/molecules/select/helpers/types/gtr-select.type.d.ts +0 -7
  148. package/lib/molecules/select/helpers/types/index.d.ts +0 -1
  149. package/lib/molecules/select/index.d.ts +0 -1
  150. package/lib/molecules/select/public_api.d.ts +0 -2
  151. package/lib/molecules/select/select/gtr-select.component.d.ts +0 -233
  152. package/lib/molecules/shared/gtr-html-attr.directive.d.ts +0 -16
  153. package/lib/molecules/shared/gtr-template-id.directive.d.ts +0 -9
  154. package/lib/molecules/shared/index.d.ts +0 -1
  155. package/lib/molecules/shared/public_api.d.ts +0 -2
  156. package/lib/molecules/stat-card/gtr-stat-card.component.d.ts +0 -58
  157. package/lib/molecules/stat-card/index.d.ts +0 -1
  158. package/lib/molecules/stat-card/public_api.d.ts +0 -1
  159. package/lib/molecules/table/dynamic-component.directive.d.ts +0 -24
  160. package/lib/molecules/table/dynamic-host.directive.d.ts +0 -13
  161. package/lib/molecules/table/gtr-fetch-attribute.pipe.d.ts +0 -9
  162. package/lib/molecules/table/gtr-table.component.d.ts +0 -89
  163. package/lib/molecules/table/gtr-table.interface.d.ts +0 -87
  164. package/lib/molecules/table/index.d.ts +0 -1
  165. package/lib/molecules/table/public_api.d.ts +0 -4
  166. package/lib/molecules/table/table-main/gtr-table-main.component.d.ts +0 -62
  167. package/lib/molecules/table/table-responsive/gtr-table-responsive.component.d.ts +0 -84
  168. package/lib/molecules/tabs/index.d.ts +0 -1
  169. package/lib/molecules/tabs/public_api.d.ts +0 -2
  170. package/lib/molecules/tabs/tab/gtr-tab.component.d.ts +0 -17
  171. package/lib/molecules/tabs/tabs-wrapper/gtr-tabs-wrapper.component.d.ts +0 -24
  172. package/lib/molecules/tags-input/helpers/functions.d.ts +0 -2
  173. package/lib/molecules/tags-input/index.d.ts +0 -1
  174. package/lib/molecules/tags-input/public_api.d.ts +0 -1
  175. package/lib/molecules/tags-input/tag-input/gtr-tags-input.component.d.ts +0 -57
  176. package/lib/molecules/time-picker/gtr-time-picker.component.d.ts +0 -196
  177. package/lib/molecules/time-picker/gtr-time.utils.d.ts +0 -57
  178. package/lib/molecules/time-picker/index.d.ts +0 -1
  179. package/lib/molecules/time-picker/public_api.d.ts +0 -2
  180. package/lib/molecules/time-picker/time-picker-roll-col/gtr-time-picker-roll-am-pm.component.d.ts +0 -38
  181. package/lib/molecules/time-picker/time-picker-roll-col/gtr-time-picker-roll-col.component.d.ts +0 -38
  182. package/parameters/colors.parameter.d.ts +0 -8
  183. package/parameters/variables.parameters.d.ts +0 -7
  184. package/public-api.d.ts +0 -37
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gettrx/core-components-angular",
3
- "version": "1.1.28",
3
+ "version": "2.0.0-beta.0",
4
4
  "description": "Angular specific wrappers for @gettrx/core-components",
5
5
  "keywords": [
6
6
  "gettrx",
@@ -18,8 +18,11 @@
18
18
  },
19
19
  "license": "MIT",
20
20
  "peerDependencies": {
21
- "@angular/common": "19.2.14",
22
- "@gettrx/core-styles": "1.1.28",
21
+ "@angular/common": "^20.0.0",
22
+ "@angular/core": "^20.0.0",
23
+ "@angular/forms": "^20.0.0",
24
+ "@angular/router": "^20.0.0",
25
+ "@gettrx/core-styles": "2.0.0-beta.0",
23
26
  "ngx-colors": "^3.6.0"
24
27
  },
25
28
  "module": "fesm2022/gettrx-core-components-angular.mjs",
@@ -1,4 +0,0 @@
1
- import { EContrastColor } from '../parameters/colors.parameter';
2
- export declare class ColorHelper {
3
- static getContrastColor(hex: string, contrastValue?: number): EContrastColor;
4
- }
@@ -1,28 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- type BadgeColor = 'danger' | 'info' | 'brown' | 'pink' | 'purple' | 'blue' | 'warning' | 'success' | 'dark' | 'gray' | 'dark-green' | 'indigo' | 'default';
3
- export declare class GtrBadgeComponent {
4
- name: string;
5
- dataTransactionName: string;
6
- shape: 'default' | 'round';
7
- type: 'pill' | 'icon' | 'dot';
8
- color: BadgeColor;
9
- ariaLabel: string | undefined;
10
- hidden: boolean;
11
- position: 'default' | 'overlap';
12
- id: string;
13
- testid: string;
14
- positionProperty: {
15
- top?: string;
16
- bottom?: string;
17
- left?: string;
18
- right?: string;
19
- align?: string;
20
- };
21
- backgroundColor?: string;
22
- iconName?: string;
23
- constructor();
24
- static ɵfac: i0.ɵɵFactoryDeclaration<GtrBadgeComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<GtrBadgeComponent, "gtr-badge", never, { "name": { "alias": "name"; "required": false; }; "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "type": { "alias": "type"; "required": false; }; "color": { "alias": "color"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; "position": { "alias": "position"; "required": false; }; "id": { "alias": "id"; "required": false; }; "testid": { "alias": "testid"; "required": false; }; "positionProperty": { "alias": "positionProperty"; "required": false; }; "backgroundColor": { "alias": "background-color"; "required": false; }; "iconName": { "alias": "icon-name"; "required": false; }; }, {}, never, ["*"], true, never>;
26
- static ngAcceptInputType_hidden: unknown;
27
- }
28
- export {};
@@ -1 +0,0 @@
1
- export * from './public_api';
@@ -1 +0,0 @@
1
- export { GtrBadgeComponent } from './gtr-badge.component';
@@ -1,42 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { ButtonColor, ButtonVariant, ButtonType } from './gtr-button.types';
3
- import * as i0 from "@angular/core";
4
- export declare class GtrButtonComponent implements OnInit {
5
- classMap: any;
6
- /** (optional) Button type */
7
- type?: ButtonType | any;
8
- /** (optional) Button type */
9
- btnId: string;
10
- /** (optional) Button type */
11
- name: string;
12
- dataTransactionName: string;
13
- /**
14
- * (optional) color.
15
- * @default primary
16
- */
17
- color?: ButtonColor | any;
18
- /**
19
- * (optional) loading.
20
- * @default isLoading
21
- */
22
- isLoading?: boolean;
23
- /**
24
- * Optional variant. <br />
25
- * `raised` : Rectangular contained button w/ elevation <br />
26
- * `flat` : Rectangular contained button w/ no elevation <br />
27
- * `outline` : Rectangular outlined button w/ no elevation <br />
28
- * `link` : Rectangular text button w/ no elevation <br />
29
- * `icon` : Circular button with a transparent background, meant to contain an icon
30
- */
31
- variant?: ButtonVariant | any;
32
- /** (optional) If `true`, the button is disabled */
33
- disabled?: boolean;
34
- getCssClassMap(): {
35
- [x: string]: boolean | undefined;
36
- "button--loading": boolean | undefined;
37
- disabled: boolean | undefined;
38
- };
39
- ngOnInit(): void;
40
- static ɵfac: i0.ɵɵFactoryDeclaration<GtrButtonComponent, never>;
41
- 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>;
42
- }
@@ -1,3 +0,0 @@
1
- export type ButtonType = 'button' | 'reset' | 'submit';
2
- export type ButtonColor = 'primary' | 'secondary' | 'success' | 'danger' | 'gray';
3
- export type ButtonVariant = 'raised' | 'flat' | 'outline' | 'link' | 'icon';
@@ -1 +0,0 @@
1
- export { GtrButtonComponent } from './gtr-button.component';
@@ -1,13 +0,0 @@
1
- import { GtrButtonDirective } from './gtr-button.directive';
2
- import * as i0 from "@angular/core";
3
- export declare class GtrButtonCloseDirective extends GtrButtonDirective {
4
- /**
5
- * Change the default color to white.
6
- * @type boolean
7
- */
8
- white: string | boolean;
9
- get hostClasses(): any;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<GtrButtonCloseDirective, never>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<GtrButtonCloseDirective, "[gtrButtonClose]", never, { "white": { "alias": "white"; "required": false; }; }, {}, never, never, true, never>;
12
- static ngAcceptInputType_white: unknown;
13
- }
@@ -1,48 +0,0 @@
1
- import { ButtonType, Colors, Shapes } from '../../core-components.types';
2
- import * as i0 from "@angular/core";
3
- export declare class GtrButtonDirective {
4
- /**
5
- * Toggle the active state for the component. [docs]
6
- * @type boolean
7
- */
8
- active: string | boolean;
9
- /**
10
- * Sets the color context of the component to one of Gettrx’s themed colors. [docs]
11
- * @type Colors
12
- */
13
- color?: Colors;
14
- /**
15
- * Toggle the disabled state for the component.
16
- * @type boolean
17
- */
18
- disabled: string | boolean;
19
- /**
20
- * Select the shape of the component.
21
- * @type { 'rounded' | 'rounded-top' | 'rounded-end' | 'rounded-bottom' | 'rounded-start' | 'rounded-circle' | 'rounded-pill' | 'rounded-0' | 'rounded-1' | 'rounded-2' | 'rounded-3' | string }
22
- */
23
- shape?: Shapes;
24
- /**
25
- * Size the component small or large.
26
- * @type {'sm' | 'lg'}
27
- */
28
- size?: 'sm' | 'lg' | '';
29
- /**
30
- * Specifies the type of button. Always specify the type attribute for the `<button>` element.
31
- * Different browsers may use different default types for the `<button>` element.
32
- */
33
- type: ButtonType;
34
- /**
35
- * Set the button variant to an outlined button or a ghost button.
36
- * @type {'ghost' | 'outline'}
37
- */
38
- variant?: 'ghost' | 'outline';
39
- get hostClasses(): any;
40
- get ariaDisabled(): string | true | null;
41
- get isActive(): boolean | null;
42
- get attrDisabled(): "" | null;
43
- get tabIndex(): string | null;
44
- static ɵfac: i0.ɵɵFactoryDeclaration<GtrButtonDirective, never>;
45
- 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, never>;
46
- static ngAcceptInputType_active: unknown;
47
- static ngAcceptInputType_disabled: unknown;
48
- }
@@ -1 +0,0 @@
1
- export * from './public_api';
@@ -1,2 +0,0 @@
1
- export { GtrButtonDirective } from './gtr-button.directive';
2
- export { GtrButtonCloseDirective } from './gtr-button-close.directive';
@@ -1,33 +0,0 @@
1
- import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class GtrButtonDropdownComponent implements AfterViewInit {
4
- private elementRef;
5
- csvLoader: boolean;
6
- isOpened: boolean;
7
- constructor(elementRef: ElementRef);
8
- isDropdownOpen: boolean;
9
- dropdownPosition: {
10
- top: string;
11
- left: string;
12
- };
13
- options: any;
14
- color: string;
15
- backgroundColor: string;
16
- /** (optional) Button type */
17
- type?: any;
18
- /** (optional) Button type */
19
- btnId: string;
20
- /** (optional) Button type */
21
- name: string;
22
- dataTransactionName: string;
23
- dropdownMenu: ElementRef;
24
- onSelect: EventEmitter<any>;
25
- toggleDropdown(event: Event): void;
26
- closeDropdown(event: Event): void;
27
- ngAfterViewInit(): void;
28
- onScroll: (event: Event) => void;
29
- updateDropdownPosition(): void;
30
- onSelectOption(option: string | number): void;
31
- static ɵfac: i0.ɵɵFactoryDeclaration<GtrButtonDropdownComponent, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<GtrButtonDropdownComponent, "gtr-button-dropdown", never, { "options": { "alias": "options"; "required": false; }; "color": { "alias": "color"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "type": { "alias": "type"; "required": false; }; "btnId": { "alias": "btnId"; "required": false; }; "name": { "alias": "name"; "required": false; }; "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; }, { "onSelect": "onSelect"; }, never, never, true, never>;
33
- }
@@ -1 +0,0 @@
1
- export * from './public_api';
@@ -1 +0,0 @@
1
- export { GtrButtonDropdownComponent } from './gtr-button-dropdown.component';
@@ -1,28 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class GtrDisplayValueComponent {
3
- /** To manage skeleton loading state of component */
4
- loading: boolean;
5
- /** Label value of component */
6
- label: string;
7
- /** Value of component */
8
- value: any;
9
- /**
10
- * 'html' Content type is used to show value as an html/text
11
- * 'projected' Content type is used to show content in ng-content with the help of slot='custom-content' passed as an attribute to its parent container
12
- */
13
- contentType: 'html' | 'projected';
14
- /** id attribute of component */
15
- id: string;
16
- /** dataTestId attribute of component */
17
- dataTestId: string;
18
- /** Skeleton configurations */
19
- skeletonConfigs: {
20
- repeat: number;
21
- className: string;
22
- height: string;
23
- width: string;
24
- };
25
- dataTransactionName: string;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<GtrDisplayValueComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<GtrDisplayValueComponent, "gtr-display-value", never, { "loading": { "alias": "loading"; "required": false; }; "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "contentType": { "alias": "contentType"; "required": false; }; "id": { "alias": "id"; "required": false; }; "dataTestId": { "alias": "dataTestId"; "required": false; }; "skeletonConfigs": { "alias": "skeletonConfigs"; "required": false; }; "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; }, {}, never, ["[slot='custom-content']"], true, never>;
28
- }
@@ -1 +0,0 @@
1
- export * from './public-api';
@@ -1 +0,0 @@
1
- export { GtrDisplayValueComponent } from './gtr-display-value.component';
@@ -1,29 +0,0 @@
1
- import { OnDestroy } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class GtrIconComponent implements OnDestroy {
4
- dataTransactionName: string;
5
- /**
6
- * The font icon
7
- */
8
- name: string;
9
- /**
10
- * The icon width
11
- */
12
- weight: string;
13
- /**
14
- * The icon color
15
- */
16
- color: string;
17
- /**
18
- * The icon size
19
- */
20
- set size(value: number);
21
- /**
22
- * The element id
23
- */
24
- iconId: string;
25
- height: string;
26
- ngOnDestroy(): void;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<GtrIconComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<GtrIconComponent, "gtr-icon", never, { "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; "name": { "alias": "name"; "required": false; }; "weight": { "alias": "weight"; "required": false; }; "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "iconId": { "alias": "iconId"; "required": false; }; }, {}, never, never, true, never>;
29
- }
@@ -1 +0,0 @@
1
- export * from './public_api';
@@ -1 +0,0 @@
1
- export { GtrIconComponent } from './gtr-icon.component';
@@ -1,172 +0,0 @@
1
- import { AfterViewInit, EventEmitter, Renderer2 } from '@angular/core';
2
- import { GtrInputDataResponse } from './utils/gtr-input-utils';
3
- import { ControlValueAccessor, NgControl } from '@angular/forms';
4
- import * as i0 from "@angular/core";
5
- export declare class GtrInputComponent implements ControlValueAccessor, AfterViewInit {
6
- ngControl: NgControl;
7
- private renderer;
8
- constructor(ngControl: NgControl, renderer: Renderer2);
9
- onChanged: any;
10
- onTouched: any;
11
- registerOnChange(fn: (value: any) => void): void;
12
- writeValue(obj: any): void;
13
- registerOnTouched(fn: () => void): void;
14
- setDisabledState(isDisabled: boolean): void;
15
- ngAfterViewInit(): void;
16
- /**
17
- * The Skeleton loading
18
- */
19
- inputWrapperId: string;
20
- /**
21
- * The Skeleton loading
22
- */
23
- loading: boolean;
24
- inputType: string;
25
- /**
26
- * The input type
27
- */
28
- set type(value: string);
29
- name: string;
30
- dataTransactionName: string;
31
- /**
32
- * The input value
33
- */
34
- value: string | number;
35
- /**
36
- * The input pleaceholder
37
- */
38
- placeholder: string;
39
- /**
40
- * The input icon
41
- */
42
- inputIcon: string;
43
- /**
44
- * The input icon size
45
- */
46
- iconSize: number;
47
- /**
48
- * The input icon color
49
- */
50
- iconColor: string;
51
- /**
52
- * The required
53
- */
54
- iconPosition: 'start' | 'end';
55
- /**
56
- * The input icon font weight
57
- */
58
- iconFontWeight: string;
59
- /**
60
- * The input label
61
- */
62
- inputLabel: string;
63
- /**
64
- * The disabled input
65
- */
66
- disabled: boolean;
67
- /**
68
- * The check label
69
- */
70
- validateLabel: boolean;
71
- /**
72
- * The disabled input
73
- */
74
- isNumber: boolean;
75
- /**
76
- * The readonly input
77
- */
78
- readonly: boolean;
79
- /**
80
- * The readonly input
81
- */
82
- isOnlyView: boolean;
83
- /**
84
- * The default validation
85
- */
86
- defaultValidation: boolean;
87
- /**
88
- * The required
89
- */
90
- required: boolean;
91
- /**
92
- * The input valid boolean
93
- */
94
- isValid: boolean;
95
- /**
96
- * The input valid boolean
97
- */
98
- crop: boolean;
99
- /**
100
- * The error state
101
- */
102
- hasError: boolean;
103
- /**
104
- * The icon input field
105
- */
106
- isIcon: boolean;
107
- /**
108
- * The
109
- */
110
- isTouched: boolean;
111
- /**
112
- * The error message to be shown
113
- */
114
- errorMsg: string;
115
- /**
116
- * The input change eventemitter
117
- */
118
- inputChanged: EventEmitter<GtrInputDataResponse>;
119
- /**
120
- * The error eventemitter
121
- */
122
- handleError: EventEmitter<Error>;
123
- /**
124
- * The input type validator
125
- */
126
- private inputFields;
127
- /**
128
- * The input data to be send when input value changes
129
- */
130
- private data;
131
- /**
132
- * The input unique id
133
- */
134
- inputId?: string;
135
- /**
136
- * The input unique id
137
- */
138
- setFocus: boolean;
139
- /**
140
- * The component function to handle input change
141
- */
142
- handledKeyPressed(event: Event): void;
143
- /**
144
- * The component function to handle input change
145
- */
146
- handleInput(event: Event): void;
147
- /**
148
- * The component function to handle input on focus event
149
- */
150
- handleOnfocus(): void;
151
- /**
152
- * The component function to handle input on blur event
153
- */
154
- handleOnBlur(): void;
155
- /**
156
- * The component function to verify error input messages
157
- */
158
- hasErrorValidate: () => void;
159
- /**
160
- * The component function to verify input type
161
- */
162
- isDesiredInput(): boolean;
163
- /**
164
- * The decorator used to detect every change accurred for input and call function on change
165
- */
166
- validateInput(): string | null;
167
- get isShowCustomError(): boolean;
168
- get isShowDefaultError(): boolean;
169
- get isInputInvalid(): boolean;
170
- static ɵfac: i0.ɵɵFactoryDeclaration<GtrInputComponent, [{ optional: true; self: true; }, null]>;
171
- static ɵcmp: i0.ɵɵComponentDeclaration<GtrInputComponent, "gtr-input", never, { "inputWrapperId": { "alias": "inputWrapperId"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "type": { "alias": "type"; "required": false; }; "name": { "alias": "name"; "required": false; }; "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "inputIcon": { "alias": "inputIcon"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "iconFontWeight": { "alias": "iconFontWeight"; "required": false; }; "inputLabel": { "alias": "inputLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "validateLabel": { "alias": "validateLabel"; "required": false; }; "isNumber": { "alias": "isNumber"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "isOnlyView": { "alias": "isOnlyView"; "required": false; }; "defaultValidation": { "alias": "defaultValidation"; "required": false; }; "required": { "alias": "required"; "required": false; }; "isValid": { "alias": "isValid"; "required": false; }; "crop": { "alias": "crop"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "setFocus": { "alias": "setFocus"; "required": false; }; }, { "inputChanged": "inputChanged"; "handleError": "handleError"; }, never, ["[slot='custom-error']"], true, never>;
172
- }
@@ -1 +0,0 @@
1
- export * from './public_api';
@@ -1 +0,0 @@
1
- export { GtrInputComponent } from './gtr-input.component';
@@ -1,30 +0,0 @@
1
- export declare const GTR_INPUT_CONSTANTS: {
2
- email_regex: RegExp;
3
- password_regex: RegExp;
4
- number_regex: RegExp;
5
- };
6
- export declare const GTR_INPUT_ERROR_MESSAGES: {
7
- invalid_number: string;
8
- invalid_input_type: string;
9
- invalid_email: string;
10
- empty_field: string;
11
- password_pattern: string;
12
- input_not_allowed: string;
13
- };
14
- export type input = 'text' | 'number' | 'password' | 'email';
15
- export declare enum GtrInputType {
16
- TEXT = "text",
17
- NUMBER = "number",
18
- PASSWORD = "password",
19
- EMAIL = "email"
20
- }
21
- export declare enum GtrInputState {
22
- VALID = "valid",
23
- INVALID = "invalid"
24
- }
25
- export interface GtrInputDataResponse {
26
- event: Event | KeyboardEvent;
27
- value: string | number;
28
- inputstate: string;
29
- invalid: boolean;
30
- }
@@ -1,49 +0,0 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class GtrPopoverComponent implements OnInit, OnDestroy {
4
- private cdr;
5
- position: 'top' | 'bottom' | 'left' | 'right';
6
- isOpened: boolean;
7
- showPositionIndicator: boolean;
8
- moveX?: number | null;
9
- moveY?: number | null;
10
- padding?: number | null;
11
- marginTop?: number | null;
12
- marginBottom?: number | null;
13
- marginLeft?: number | null;
14
- marginRight?: number | null;
15
- scrollToBody?: boolean | null;
16
- closeOnClickOutside: boolean;
17
- dataTransactionName: string;
18
- id: string;
19
- testId: string;
20
- stateChanged: EventEmitter<any>;
21
- popoverEl: ElementRef | undefined;
22
- contentEl: ElementRef | undefined;
23
- isVisible: boolean;
24
- adjustedPosition: string;
25
- positionMargin: string;
26
- private appendedToBody;
27
- private originalParent;
28
- private scrollParent;
29
- onResize(event: Event): void;
30
- constructor(cdr: ChangeDetectorRef);
31
- ngOnInit(): void;
32
- ngOnDestroy(): void;
33
- handleBodyScroll: () => void;
34
- ngAfterViewInit(): void;
35
- findScrollParent(element: HTMLElement): HTMLElement | null;
36
- handleScroll: () => void;
37
- togglePopover(): void;
38
- moveToBody(): void;
39
- restoreContent(): void;
40
- handleClickOutside(event: Event): void;
41
- handleKeyUp(event: KeyboardEvent): void;
42
- popoverContentClicked(event: Event): void;
43
- adjustPopoverPosition(): void;
44
- static ɵfac: i0.ɵɵFactoryDeclaration<GtrPopoverComponent, never>;
45
- static ɵcmp: i0.ɵɵComponentDeclaration<GtrPopoverComponent, "gtr-popover", never, { "position": { "alias": "position"; "required": false; }; "isOpened": { "alias": "isOpened"; "required": false; }; "showPositionIndicator": { "alias": "showPositionIndicator"; "required": false; }; "moveX": { "alias": "moveX"; "required": false; }; "moveY": { "alias": "moveY"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "marginTop": { "alias": "marginTop"; "required": false; }; "marginBottom": { "alias": "marginBottom"; "required": false; }; "marginLeft": { "alias": "marginLeft"; "required": false; }; "marginRight": { "alias": "marginRight"; "required": false; }; "scrollToBody": { "alias": "scrollToBody"; "required": false; }; "closeOnClickOutside": { "alias": "closeOnClickOutside"; "required": false; }; "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; "id": { "alias": "id"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, { "stateChanged": "stateChanged"; }, never, ["[slot='gtr-popover-trigger']", "[slot='gtr-popover-content']"], true, never>;
46
- static ngAcceptInputType_isOpened: unknown;
47
- static ngAcceptInputType_showPositionIndicator: unknown;
48
- static ngAcceptInputType_closeOnClickOutside: unknown;
49
- }
@@ -1 +0,0 @@
1
- export * from './public_api';
@@ -1 +0,0 @@
1
- export { GtrPopoverComponent } from './gtr-popover.component';