@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
@@ -1,2 +0,0 @@
1
- export { GtrAccordionWrapperComponent } from './accordion-wrapper/gtr-accordion-wrapper.component';
2
- export { GtrAccordionComponent } from './accordion/gtr-accordion.component';
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class GtrCalendarClassViewPipe implements PipeTransform {
4
- transform(view: string): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<GtrCalendarClassViewPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<GtrCalendarClassViewPipe, "gtrCalendarClassView", true>;
7
- }
@@ -1,178 +0,0 @@
1
- import { EventEmitter, OnDestroy, OnInit, QueryList } from '@angular/core';
2
- import { BooleanInput } from '@angular/cdk/coercion';
3
- import { GtrCalendarService, DateFilterType, DayFormatType, WeekdayFormatType } from '../gtr-calendar.service';
4
- import { GtrCalendarMonthComponent } from '../calendar-month/gtr-calendar-month.component';
5
- import * as i0 from "@angular/core";
6
- export declare class GtrCalendarComponent implements OnInit, OnDestroy {
7
- private calendarService;
8
- static ngAcceptInputType_navigation: BooleanInput;
9
- static ngAcceptInputType_navYearFirst: BooleanInput;
10
- static ngAcceptInputType_range: BooleanInput;
11
- static ngAcceptInputType_selectAdjacentDays: BooleanInput;
12
- constructor(calendarService: GtrCalendarService);
13
- /**
14
- * Default date of the component
15
- * @type (Date | string)
16
- */
17
- set calendarDate(value: Date | string | number);
18
- get calendarDate(): Date;
19
- private _calendarDate;
20
- /**
21
- * The number of calendars that render on desktop devices.
22
- * @type number
23
- * default 1
24
- */
25
- set calendars(value: number);
26
- get calendars(): number;
27
- private _calendars;
28
- get calendarsArray(): unknown[];
29
- /**
30
- * Set the format of day name.
31
- * @default 'numeric'
32
- * @type DayFormatType
33
- */
34
- set dayFormat(value: DayFormatType);
35
- get dayFormat(): DayFormatType;
36
- private _dayFormat;
37
- /**
38
- * Specify the list of dates that cannot be selected.
39
- * @type (Date[] | Date[][])
40
- */
41
- set disabledDates(value: Date[] | Date[][]);
42
- get disabledDates(): Date[] | Date[][];
43
- private _disabledDates;
44
- /**
45
- * Initial selected date.
46
- * @type (Date | null)
47
- */
48
- set startDate(value: Date | number | string | null | undefined);
49
- get startDate(): Date | number | string | null | undefined;
50
- _startDate: Date | null;
51
- /**
52
- * Initial selected to date (range).
53
- * @type (Date | null)
54
- */
55
- set endDate(value: Date | number | string | null | undefined);
56
- get endDate(): Date | number | string | null | undefined;
57
- _endDate: Date | null;
58
- /**
59
- * Sets the day of start week.
60
- * - 0 - Sunday,
61
- * - 1 - Monday,
62
- * - 2 - Tuesday,
63
- * - 3 - Wednesday,
64
- * - 4 - Thursday,
65
- * - 5 - Friday,
66
- * - 6 - Saturday,
67
- *
68
- * @type number
69
- * @default 1
70
- */
71
- set firstDayOfWeek(value: number);
72
- get firstDayOfWeek(): number;
73
- private _firstDayOfWeek;
74
- /**
75
- * Sets the default locale for components. If not set, it is inherited from the browser.
76
- * @default 'default'
77
- */
78
- set locale(value: string);
79
- get locale(): string;
80
- private _locale;
81
- /**
82
- * Max selectable date.
83
- */
84
- set maxDate(value: Date | string | null | undefined);
85
- get maxDate(): Date | string | null | undefined;
86
- private _maxDate;
87
- /**
88
- * Min selectable date.
89
- */
90
- set minDate(value: Date | string | null | undefined);
91
- get minDate(): Date | string | null | undefined;
92
- private _minDate;
93
- /**
94
- * Show navigation.
95
- * @type boolean
96
- */
97
- set navigation(value: boolean);
98
- get navigation(): boolean;
99
- private _navigation;
100
- /**
101
- * Reorder year-month navigation, and render year first.
102
- * @type boolean
103
- * @default false
104
- */
105
- set navYearFirst(value: boolean);
106
- get navYearFirst(): boolean;
107
- private _navYearFirst;
108
- /**
109
- * Allow range selection.
110
- * @type boolean
111
- * @default false
112
- */
113
- set range(value: boolean);
114
- get range(): boolean;
115
- private _range;
116
- /**
117
- * Set calendar view.
118
- * @type 'days' | 'months' | 'years'
119
- * @default 'days'
120
- */
121
- set view(value: "days" | "months" | "years");
122
- get view(): "days" | "months" | "years";
123
- private _view;
124
- /**
125
- * Set calendar type.
126
- * @type 'days' | 'months' | 'years'
127
- * @default 'days'
128
- */
129
- set type(value: 'days' | 'months' | 'years');
130
- get type(): "days" | "months" | "years";
131
- private _type;
132
- /**
133
- * Set length or format of day name.
134
- * @type number | 'long' | 'narrow' | 'short'
135
- * @default 'short'
136
- */
137
- set weekdayFormat(value: WeekdayFormatType);
138
- get weekdayFormat(): WeekdayFormatType;
139
- private _weekdayFormat;
140
- set dateFilter(value: DateFilterType | undefined);
141
- /**
142
- * Set whether days in adjacent months shown before or after the current month are selectable. This only applies if the `showAdjacentDays` option is set to true.
143
- * @type boolean
144
- * @default false
145
- * @since 4.4.10
146
- */
147
- selectAdjacentDays: boolean;
148
- /**
149
- * Set whether to display dates in adjacent months (non-selectable) at the start and end of the current month.
150
- * @type boolean
151
- * @default true
152
- */
153
- showAdjacentDays: boolean;
154
- dataTransactionName: string;
155
- calendarCellHover: EventEmitter<Date | null>;
156
- calendarDateChange: EventEmitter<Date>;
157
- endDateChange: EventEmitter<Date | null>;
158
- startDateChange: EventEmitter<Date | null>;
159
- viewChange: EventEmitter<string>;
160
- set hoverDate(value: Date | null);
161
- get hoverDate(): Date | null;
162
- private _hoverDate;
163
- private calendarStateSubscription;
164
- get hostClasses(): any;
165
- calendarMonths: QueryList<GtrCalendarMonthComponent>;
166
- ngOnDestroy(): void;
167
- ngOnInit(): void;
168
- calendarStateSubscribe(subscribe?: boolean): void;
169
- setCalendarPage(years: number, months?: number, setMonth?: number): void;
170
- handleNavigationClick(direction: 'prev' | 'next', years?: boolean): void;
171
- /**
172
- * Clear startDate and endDate
173
- * @type void
174
- */
175
- clearDates(): void;
176
- static ɵfac: i0.ɵɵFactoryDeclaration<GtrCalendarComponent, never>;
177
- static ɵcmp: i0.ɵɵComponentDeclaration<GtrCalendarComponent, "gtr-calendar", ["gtrCalendar"], { "calendarDate": { "alias": "calendarDate"; "required": false; }; "calendars": { "alias": "calendars"; "required": false; }; "dayFormat": { "alias": "dayFormat"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "navYearFirst": { "alias": "navYearFirst"; "required": false; }; "range": { "alias": "range"; "required": false; }; "view": { "alias": "view"; "required": false; }; "type": { "alias": "type"; "required": false; }; "weekdayFormat": { "alias": "weekdayFormat"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "selectAdjacentDays": { "alias": "selectAdjacentDays"; "required": false; }; "showAdjacentDays": { "alias": "showAdjacentDays"; "required": false; }; "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; }, { "calendarCellHover": "calendarCellHover"; "calendarDateChange": "calendarDateChange"; "endDateChange": "endDateChange"; "startDateChange": "startDateChange"; "viewChange": "viewChange"; }, never, never, true, never>;
178
- }
@@ -1,15 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class GtrCalendarClassDayPipe implements PipeTransform {
4
- transform(dateObj: {
5
- date: Date;
6
- month: string;
7
- }, datesConfig?: {
8
- minDate: any;
9
- maxDate: any;
10
- disabledDates: any;
11
- dateFilter: any;
12
- }): any;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<GtrCalendarClassDayPipe, never>;
14
- static ɵpipe: i0.ɵɵPipeDeclaration<GtrCalendarClassDayPipe, "gtrCalendarClassDay", true>;
15
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class GtrCalendarClassMonthPipe implements PipeTransform {
4
- transform(calendarDate: string | number | Date, monthIndex: number): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<GtrCalendarClassMonthPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<GtrCalendarClassMonthPipe, "gtrCalendarClassMonth", true>;
7
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class GtrCalendarClassYearPipe implements PipeTransform {
4
- transform(year: number, args?: any): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<GtrCalendarClassYearPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<GtrCalendarClassYearPipe, "gtrCalendarClassYear", true>;
7
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class GtrCalendarDayTitlePipe implements PipeTransform {
4
- transform(date: Date, locale?: string): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<GtrCalendarDayTitlePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<GtrCalendarDayTitlePipe, "gtrCalendarDayTitle", true>;
7
- }
@@ -1,33 +0,0 @@
1
- import { OnDestroy } from '@angular/core';
2
- import { GtrCalendarService } from '../gtr-calendar.service';
3
- import * as i0 from "@angular/core";
4
- export declare class GtrCalendarDayDirective implements OnDestroy {
5
- private calendarService;
6
- constructor(calendarService: GtrCalendarService);
7
- private date;
8
- private month?;
9
- private startDate;
10
- private endDate;
11
- private hoverDate;
12
- private maxDate;
13
- private minDate;
14
- private range;
15
- private disabledDates;
16
- private calendarStateSubscription;
17
- private dateFilter;
18
- private selectAdjacentDays;
19
- private type;
20
- private _dateObj?;
21
- set dateObj(value: {
22
- date: Date;
23
- month: string;
24
- } | string);
25
- set dateMonth(date: Date);
26
- set dateYear(year: number);
27
- get selectEndDate(): boolean;
28
- get hostClasses(): any;
29
- ngOnDestroy(): void;
30
- calendarStateSubscribe(subscribe?: boolean): void;
31
- static ɵfac: i0.ɵɵFactoryDeclaration<GtrCalendarDayDirective, never>;
32
- static ɵdir: i0.ɵɵDirectiveDeclaration<GtrCalendarDayDirective, "[gtrCalendarDay]", never, { "dateObj": { "alias": "gtrCalendarDay"; "required": false; }; "dateMonth": { "alias": "gtrCalendarMonth"; "required": false; }; "dateYear": { "alias": "gtrCalendarYear"; "required": false; }; }, {}, never, never, true, never>;
33
- }
@@ -1,8 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { DayFormatType } from '../gtr-calendar.service';
3
- import * as i0 from "@angular/core";
4
- export declare class GtrCalendarDayPipe implements PipeTransform {
5
- transform(date: Date, dayFormat?: DayFormatType, locale?: string): string | number;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<GtrCalendarDayPipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<GtrCalendarDayPipe, "gtrCalendarDay", true>;
8
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class GtrCalendarMonthTitlePipe implements PipeTransform {
4
- transform(date: Date, monthIndex: number, locale?: string): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<GtrCalendarMonthTitlePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<GtrCalendarMonthTitlePipe, "gtrCalendarMonthTitle", true>;
7
- }
@@ -1,136 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { GtrCalendarService, DateFilterType, DayFormatType, WeekdayFormatType } from '../gtr-calendar.service';
3
- import * as i0 from "@angular/core";
4
- export declare class GtrCalendarMonthComponent implements OnInit, OnDestroy {
5
- private calendarService;
6
- constructor(calendarService: GtrCalendarService);
7
- dataTransactionName: string;
8
- addMonths: number;
9
- /**
10
- * Initial selected date.
11
- * @type (Date | null)
12
- */
13
- set startDate(value: Date | number | string | null | undefined);
14
- get startDate(): Date | number | string | null | undefined;
15
- _startDate: Date | null;
16
- /**
17
- * Initial selected to date (range).
18
- * @type (Date | null)
19
- */
20
- set endDate(value: Date | number | string | null | undefined);
21
- get endDate(): Date | number | string | null | undefined;
22
- _endDate: Date | null;
23
- /**
24
- * Specify the list of dates that cannot be selected.
25
- * @type (Date[] | Date[][])
26
- */
27
- set disabledDates(value: Date[] | Date[][]);
28
- get disabledDates(): Date[] | Date[][];
29
- private _disabledDates;
30
- /**
31
- * Sets the day of start week.
32
- * - 0 - Sunday,
33
- * - 1 - Monday,
34
- * - 2 - Tuesday,
35
- * - 3 - Wednesday,
36
- * - 4 - Thursday,
37
- * - 5 - Friday,
38
- * - 6 - Saturday,
39
- */
40
- set firstDayOfWeek(value: number);
41
- get firstDayOfWeek(): number;
42
- private _firstDayOfWeek;
43
- /**
44
- * Sets the default locale for components. If not set, it is inherited from the browser.
45
- * @default 'default'
46
- */
47
- set locale(value: string);
48
- get locale(): string;
49
- private _locale;
50
- /**
51
- * Allow range selection.
52
- */
53
- set range(value: boolean);
54
- get range(): boolean;
55
- private _range;
56
- /**
57
- * Set length or format of day name.
58
- * @type number | 'long' | 'narrow' | 'short'
59
- * @default 'short'
60
- */
61
- weekdayFormat: WeekdayFormatType;
62
- /**
63
- * Set calendar view.
64
- * @type 'days' | 'months' | 'years'
65
- * @default 'days'
66
- */
67
- set view(value: "days" | "months" | "years");
68
- get view(): "days" | "months" | "years";
69
- private _view;
70
- /**
71
- * Set calendar type.
72
- * @type 'days' | 'months' | 'years'
73
- * @default 'days'
74
- */
75
- set type(value: "days" | "months" | "years");
76
- get type(): "days" | "months" | "years";
77
- private _type;
78
- /**
79
- * Max selectable date.
80
- */
81
- set maxDate(value: Date | null);
82
- get maxDate(): Date | null;
83
- private _maxDate;
84
- /**
85
- * Min selectable date.
86
- */
87
- set minDate(value: Date | null);
88
- get minDate(): Date | null;
89
- private _minDate;
90
- listOfMonths: any[][];
91
- listOfYears: any[][];
92
- private calendarStateSubscription;
93
- /**
94
- * Default date of the component
95
- * @type Date
96
- */
97
- set calendarDate(value: Date | string | number);
98
- get calendarDate(): Date;
99
- private _calendarDate;
100
- dateFilter: DateFilterType;
101
- get date(): Date;
102
- dayFormat: DayFormatType;
103
- selectAdjacentDays: boolean;
104
- showAdjacentDays: boolean;
105
- touchDevice: boolean;
106
- private _monthDetails;
107
- get monthDetails(): {
108
- date: Date;
109
- month: string;
110
- }[][];
111
- get weekDays(): {
112
- date: Date;
113
- month: string;
114
- }[];
115
- ngOnInit(): void;
116
- setListOfYears(date: Date): void;
117
- setMonthDetails(date?: Date): void;
118
- yearNumber(year: any): string;
119
- isDateDisabled(date: Date): any;
120
- calendarCellTitle(date: Date): string;
121
- handleYearCellMouseEnter(year: number): void;
122
- handleMonthCellMouseEnter(date: Date, i: number, idx: number): void;
123
- handleCellMouseEnter(hoverDate: Date): void;
124
- handleYearCellClick(year: any): void;
125
- handleYearCellKeyUp($event: KeyboardEvent, year: any): void;
126
- handleMonthCellKeyUp($event: KeyboardEvent, i: number, idx: number): void;
127
- handleMonthCellClick(i: number, idx: number): void;
128
- setCalendarPage(years: number, months?: number, setMonth?: number): void;
129
- handleCellMouseLeave(): void;
130
- handleDayCellKeyUp($event: KeyboardEvent, date: Date): void;
131
- handleDayCellClick(date: Date): void;
132
- calendarStateSubscribe(subscribe?: boolean): void;
133
- ngOnDestroy(): void;
134
- static ɵfac: i0.ɵɵFactoryDeclaration<GtrCalendarMonthComponent, never>;
135
- static ɵcmp: i0.ɵɵComponentDeclaration<GtrCalendarMonthComponent, "gtr-calendar-month", ["gtrCalendarMonth"], { "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; "addMonths": { "alias": "addMonths"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "range": { "alias": "range"; "required": false; }; "weekdayFormat": { "alias": "weekdayFormat"; "required": false; }; "view": { "alias": "view"; "required": false; }; "type": { "alias": "type"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "calendarDate": { "alias": "calendarDate"; "required": false; }; }, {}, never, never, true, never>;
136
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class GtrCalendarMonthPipe implements PipeTransform {
4
- transform(date: Date, monthIndex: number): Date;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<GtrCalendarMonthPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<GtrCalendarMonthPipe, "gtrCalendarMonth", true>;
7
- }
@@ -1,8 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { WeekdayFormatType } from '../gtr-calendar.service';
3
- import * as i0 from "@angular/core";
4
- export declare class GtrCalendarWeekdayPipe implements PipeTransform {
5
- transform(date: Date, weekdayFormat?: WeekdayFormatType, locale?: string): string | number;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<GtrCalendarWeekdayPipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<GtrCalendarWeekdayPipe, "gtrCalendarWeekday", true>;
8
- }
@@ -1,32 +0,0 @@
1
- import { EventEmitter, OnDestroy } from '@angular/core';
2
- import { GtrCalendarService } from '../gtr-calendar.service';
3
- import * as i0 from "@angular/core";
4
- interface INavigationClick {
5
- direction: 'prev' | 'next';
6
- years: boolean;
7
- }
8
- export declare class GtrCalendarNavigationComponent implements OnDestroy {
9
- private calendarService;
10
- constructor(calendarService: GtrCalendarService);
11
- dataTransactionName: string;
12
- addMonths: number;
13
- set calendarDate(value: Date);
14
- get calendarDate(): Date;
15
- private _calendarDate;
16
- navigation: boolean;
17
- navYearFirst: boolean;
18
- locale: string;
19
- view: 'days' | 'months' | 'years';
20
- type: 'days' | 'months' | 'years';
21
- navigationClick: EventEmitter<INavigationClick>;
22
- private calendarStateSubscription;
23
- get date(): Date;
24
- get hostClasses(): any;
25
- ngOnDestroy(): void;
26
- calendarStateSubscribe(subscribe?: boolean): void;
27
- setView(view: 'days' | 'months' | 'years'): void;
28
- handleNavigationClick(direction: 'prev' | 'next', years?: boolean): void;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<GtrCalendarNavigationComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<GtrCalendarNavigationComponent, "gtr-calendar-navigation", never, { "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; "addMonths": { "alias": "addMonths"; "required": false; }; "calendarDate": { "alias": "calendarDate"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "navYearFirst": { "alias": "navYearFirst"; "required": false; }; }, { "navigationClick": "navigationClick"; }, never, never, true, never>;
31
- }
32
- export {};
@@ -1,36 +0,0 @@
1
- import { KeyValueDiffers } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export type DateFilterType = (date: Date) => boolean;
4
- export type DayFormatType = 'numeric' | '2-digit' | ((date: Date) => string | number);
5
- export type WeekdayFormatType = number | 'long' | 'narrow' | 'short' | ((date: Date) => string | number);
6
- export interface ICalendarState {
7
- [key: string]: any;
8
- calendarDate?: Date | null;
9
- hoverDate?: Date | null;
10
- startDate?: Date | null;
11
- endDate?: Date | null;
12
- maxDate?: Date | null;
13
- minDate?: Date | null;
14
- disabledDates?: (Date | Date[])[];
15
- range?: boolean;
16
- view?: string;
17
- type?: string;
18
- locale?: string;
19
- dateFilter?: DateFilterType;
20
- dayFormat?: DayFormatType;
21
- weekdayFormat?: WeekdayFormatType;
22
- navYearFirst?: boolean;
23
- showAdjacentDays?: boolean;
24
- selectAdjacentDays?: boolean;
25
- }
26
- export declare class GtrCalendarService {
27
- private keyValueDiffers;
28
- constructor(keyValueDiffers: KeyValueDiffers);
29
- private readonly differ;
30
- calendarStateObject: ICalendarState;
31
- private calendarState;
32
- calendarState$: import("rxjs").Observable<ICalendarState>;
33
- update(state: ICalendarState): void;
34
- static ɵfac: i0.ɵɵFactoryDeclaration<GtrCalendarService, never>;
35
- static ɵprov: i0.ɵɵInjectableDeclaration<GtrCalendarService>;
36
- }
@@ -1,28 +0,0 @@
1
- export declare const convertToLocalDate: (d: Date, locale: string, options?: {}) => string;
2
- export declare const convertToLocalTime: (d: Date, locale: string, options?: {}) => string;
3
- export declare const createGroupsInArray: (arr: any[], numberOfGroups: number) => any[][];
4
- export declare const getCurrentYear: () => number;
5
- export declare const getCurrentMonth: () => number;
6
- export declare const getLocalDateFromString: (string: string, locale: string, time?: boolean) => Date | undefined;
7
- export declare const getMonthName: (month: number, locale: string) => string;
8
- export declare const getMonthsNames: (locale: string) => any[];
9
- export declare const getYears: (year: number, variation?: number) => any[];
10
- export declare const getMonthDetails: (year: number, month: number, firstDayOfWeek: number) => {
11
- date: Date;
12
- month: string;
13
- }[][];
14
- export declare const isDateDisabled: (date: Date | null, min?: Date | null, max?: Date | null, dates?: (Date | Date[])[]) => any;
15
- export declare const isDateInRange: (date: Date | null, start: Date | null, end: Date | null) => boolean | null;
16
- export declare const isDateSelected: (date: Date | null, start: Date | null, end: Date | null) => boolean | null;
17
- export declare const isEndDate: (date: Date | null, start: Date | null, end: Date | null) => boolean | null;
18
- export declare const isLastDayOfMonth: (date: Date) => boolean;
19
- export declare const isSameDateAs: (date: Date, date2: Date) => boolean;
20
- export declare const isStartDate: (date: Date | null, start: Date | null, end: Date | null) => boolean | null;
21
- export declare const isToday: (date: Date) => boolean;
22
- export declare const isThisMonth: (date: Date, index: number) => boolean;
23
- export declare const isThisYear: (year: number) => boolean;
24
- export declare const isValidDate: (date: number | string | Date) => boolean;
25
- export declare const tryDate: (value: string | number | Date, propName?: string) => any;
26
- export declare const isDateInRangeDisabled: (startDate?: Date | null, endDate?: Date | null, dates?: (Date | Date[])[]) => boolean;
27
- export declare const getDateFormatString: (locale?: string) => string;
28
- export declare const validFormat: (value: string, locale: string) => boolean;
@@ -1 +0,0 @@
1
- export * from './public_api';
@@ -1,3 +0,0 @@
1
- export { GtrCalendarNavigationComponent } from './calendar-navigation/gtr-calendar-navigation.component';
2
- export { GtrCalendarMonthComponent } from './calendar-month/gtr-calendar-month.component';
3
- export { GtrCalendarComponent } from './calendar/gtr-calendar.component';
@@ -1,56 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import { GtrCheckboxValueChanged } from './gtr-checkbox.utils';
4
- import * as i0 from "@angular/core";
5
- export declare class GtrCheckboxComponent implements ControlValueAccessor {
6
- name: string;
7
- dataTransactionName: string;
8
- /**
9
- * To pass identifier to checkbox
10
- */
11
- identifier: string;
12
- /**
13
- * To pass additional value to checkbox
14
- */
15
- value: any;
16
- /**
17
- * Option to add checkbox label
18
- * */
19
- label: string;
20
- /**
21
- * Option to mark checkbox checked
22
- * @default false
23
- */
24
- checked: boolean;
25
- /**
26
- * Option to mark checkbox disabled
27
- * @default false
28
- */
29
- disabled: boolean;
30
- /**
31
- * Option to mark checkbox readonly
32
- * @default false
33
- */
34
- readonly: boolean;
35
- /**
36
- * Option to send event when checkbox value changed
37
- */
38
- readonly selectionChanged: EventEmitter<GtrCheckboxValueChanged>;
39
- private onChange;
40
- private onTouch;
41
- writeValue(value: any): void;
42
- registerOnChange(fn: any): void;
43
- registerOnTouched(fn: any): void;
44
- setDisabledState(isDisabled: boolean): void;
45
- /**
46
- * Method to handle click on checkbox input
47
- */
48
- handleClick(): void;
49
- /**
50
- * Method to handle keydown events for checkbox input
51
- * @param event
52
- */
53
- handleKeydown(event: KeyboardEvent): void;
54
- static ɵfac: i0.ɵɵFactoryDeclaration<GtrCheckboxComponent, never>;
55
- static ɵcmp: i0.ɵɵComponentDeclaration<GtrCheckboxComponent, "gtr-checkbox", never, { "name": { "alias": "name"; "required": false; }; "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; "identifier": { "alias": "identifier"; "required": false; }; "value": { "alias": "value"; "required": false; }; "label": { "alias": "label"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; }, { "selectionChanged": "selectionChanged"; }, never, never, true, never>;
56
- }
@@ -1,4 +0,0 @@
1
- export interface GtrCheckboxValueChanged {
2
- value: any;
3
- checked: boolean;
4
- }
@@ -1 +0,0 @@
1
- export * from './public_api';
@@ -1,2 +0,0 @@
1
- export { GtrCheckboxComponent } from './checkbox/gtr-checkbox.component';
2
- export * from './checkbox/gtr-checkbox.utils';
@@ -1,19 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { BreakpointObserver } from '@angular/cdk/layout';
3
- import { GtrDateRangePickerComponent } from '../date-range-picker';
4
- import * as i0 from "@angular/core";
5
- export declare class GtrDatePickerComponent extends GtrDateRangePickerComponent {
6
- constructor(breakpointObserver: BreakpointObserver, localeId: string);
7
- startDateChange: EventEmitter<Date | null>;
8
- get range(): boolean;
9
- get calendars(): number;
10
- get endDate(): null;
11
- name: string;
12
- dataTransactionName: string;
13
- get date(): Date | null | undefined;
14
- set date(value: Date | null | undefined);
15
- writeValue(value: Date | null | undefined): void;
16
- subscribeDateChange(subscribe?: boolean): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<GtrDatePickerComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<GtrDatePickerComponent, "gtr-date-picker", ["gtrDatePicker"], { "name": { "alias": "name"; "required": false; }; "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; "date": { "alias": "date"; "required": false; }; }, { "startDateChange": "dateChange"; }, never, ["*", "*"], true, never>;
19
- }
@@ -1 +0,0 @@
1
- export * from './public_api';
@@ -1 +0,0 @@
1
- export { GtrDatePickerComponent } from './gtr-date-picker.component';