@natec/mef-dev-ui-kit 16.2.5 → 16.3.49

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 (79) hide show
  1. package/esm2022/lib/markup-kit/card/card/card.component.mjs +6 -6
  2. package/esm2022/lib/markup-kit/card/card-long/card-long.component.mjs +6 -6
  3. package/esm2022/lib/markup-kit/card/card-simple/card-simple.component.mjs +6 -6
  4. package/esm2022/lib/markup-kit/card/card.module.mjs +9 -9
  5. package/esm2022/lib/markup-kit/collapse/collapse/collapse.component.mjs +6 -6
  6. package/esm2022/lib/markup-kit/collapse/collapse-set/collapse-set.component.mjs +4 -4
  7. package/esm2022/lib/markup-kit/collapse/collapse.module.mjs +5 -5
  8. package/esm2022/lib/markup-kit/executors/mefdev-executor-page/mefdev-executor-page.component.mjs +4 -4
  9. package/esm2022/lib/markup-kit/executors/stage/stage.component.mjs +4 -4
  10. package/esm2022/lib/markup-kit/executors/step-executor/step-executor.component.mjs +74 -10
  11. package/esm2022/lib/markup-kit/executors/step-executor.module.mjs +10 -6
  12. package/esm2022/lib/markup-kit/modals/fill/fill.component.mjs +6 -6
  13. package/esm2022/lib/markup-kit/modals/markup-kit.module.mjs +5 -5
  14. package/esm2022/lib/markup-kit/modals/right-filter/right-filter.component.mjs +4 -4
  15. package/esm2022/lib/markup-kit/modals/slide-right/slide-right.component.mjs +5 -5
  16. package/esm2022/lib/markup-kit/modals/slide-up/slide-up.component.mjs +5 -5
  17. package/esm2022/lib/markup-kit/page-layouts/central-page/central-page.component.mjs +5 -5
  18. package/esm2022/lib/markup-kit/page-layouts/central-page-row/central-page-row.component.mjs +4 -4
  19. package/esm2022/lib/markup-kit/page-layouts/manage-page/manage-page.component.mjs +6 -6
  20. package/esm2022/lib/markup-kit/page-layouts/page-layouts.module.mjs +5 -5
  21. package/esm2022/lib/markup-kit/page-layouts/profile/profile.component.mjs +6 -6
  22. package/esm2022/lib/markup-kit/page-layouts/table-page/table-page.component.mjs +5 -5
  23. package/esm2022/lib/markup-kit/slider/slider/slider.component.mjs +6 -6
  24. package/esm2022/lib/markup-kit/slider/slider.module.mjs +5 -5
  25. package/esm2022/lib/markup-kit/utils/datepicker/datepicker/datepicker.component.mjs +140 -135
  26. package/esm2022/lib/markup-kit/utils/datepicker/datepicker.module.mjs +5 -5
  27. package/esm2022/lib/markup-kit/utils/filtered-field/filtered-field-container/filtered-field-container.component.mjs +5 -5
  28. package/esm2022/lib/markup-kit/utils/filtered-field/filtered-field-item/filtered-field-item.component.mjs +5 -5
  29. package/esm2022/lib/markup-kit/utils/filtered-field/filtered-field.module.mjs +5 -5
  30. package/esm2022/lib/markup-kit/utils/filtered-field/filtered-field.service.mjs +4 -4
  31. package/esm2022/lib/markup-kit/utils/help-block/help-block.component.mjs +6 -6
  32. package/esm2022/lib/markup-kit/utils/help-block/hepl-block.module.mjs +5 -5
  33. package/esm2022/lib/pg-components/card/card.components.mjs +11 -8
  34. package/esm2022/lib/pg-components/card/card.module.mjs +10 -10
  35. package/esm2022/lib/pg-components/progress/progress.component.mjs +4 -4
  36. package/esm2022/lib/pg-components/progress/progress.config.mjs +4 -4
  37. package/esm2022/lib/pg-components/progress/progress.module.mjs +5 -5
  38. package/esm2022/lib/pg-components/select/option.component.mjs +4 -4
  39. package/esm2022/lib/pg-components/select/option.pipe.mjs +4 -4
  40. package/esm2022/lib/pg-components/select/select.component.mjs +5 -5
  41. package/esm2022/lib/pg-components/select/select.module.mjs +5 -5
  42. package/esm2022/lib/pg-components/spec-flow-test/spec-flow-test/spec-flow-test.component.mjs +4 -4
  43. package/esm2022/lib/pg-components/spec-flow-test/spec-flow-test.module.mjs +5 -5
  44. package/esm2022/lib/pg-components/switch/switch.component.mjs +5 -5
  45. package/esm2022/lib/pg-components/switch/switch.module.mjs +5 -5
  46. package/esm2022/lib/pg-components/tabs/tab-body.component.mjs +4 -4
  47. package/esm2022/lib/pg-components/tabs/tab-label.directive.mjs +4 -4
  48. package/esm2022/lib/pg-components/tabs/tab.component.mjs +4 -4
  49. package/esm2022/lib/pg-components/tabs/tabs-ink-bar.directive.mjs +4 -4
  50. package/esm2022/lib/pg-components/tabs/tabs-nav.component.mjs +4 -4
  51. package/esm2022/lib/pg-components/tabs/tabs.module.mjs +5 -5
  52. package/esm2022/lib/pg-components/tabs/tabset.component.mjs +5 -5
  53. package/fesm2022/natec-mef-dev-ui-kit.mjs +418 -345
  54. package/fesm2022/natec-mef-dev-ui-kit.mjs.map +1 -1
  55. package/lib/markup-kit/card/card/card.component.d.ts +1 -1
  56. package/lib/markup-kit/card/card-long/card-long.component.d.ts +1 -1
  57. package/lib/markup-kit/card/card-simple/card-simple.component.d.ts +1 -1
  58. package/lib/markup-kit/card/card.module.d.ts +1 -1
  59. package/lib/markup-kit/collapse/collapse/collapse.component.d.ts +1 -1
  60. package/lib/markup-kit/executors/step-executor/step-executor.component.d.ts +45 -3
  61. package/lib/markup-kit/executors/step-executor.module.d.ts +4 -3
  62. package/lib/markup-kit/modals/fill/fill.component.d.ts +1 -1
  63. package/lib/markup-kit/modals/slide-right/slide-right.component.d.ts +1 -1
  64. package/lib/markup-kit/modals/slide-up/slide-up.component.d.ts +1 -1
  65. package/lib/markup-kit/page-layouts/central-page/central-page.component.d.ts +1 -1
  66. package/lib/markup-kit/page-layouts/manage-page/manage-page.component.d.ts +1 -1
  67. package/lib/markup-kit/page-layouts/profile/profile.component.d.ts +1 -1
  68. package/lib/markup-kit/page-layouts/table-page/table-page.component.d.ts +1 -1
  69. package/lib/markup-kit/slider/slider/slider.component.d.ts +1 -1
  70. package/lib/markup-kit/utils/datepicker/datepicker/datepicker.component.d.ts +104 -104
  71. package/lib/markup-kit/utils/filtered-field/filtered-field-container/filtered-field-container.component.d.ts +1 -1
  72. package/lib/markup-kit/utils/help-block/help-block.component.d.ts +1 -1
  73. package/lib/pg-components/card/card.components.d.ts +5 -5
  74. package/lib/pg-components/card/card.module.d.ts +5 -5
  75. package/lib/pg-components/select/select.component.d.ts +1 -1
  76. package/lib/pg-components/switch/switch.component.d.ts +1 -1
  77. package/lib/pg-components/tabs/tabset.component.d.ts +1 -1
  78. package/package.json +1 -1
  79. package/src/lib/styles/designe-colors.scss +16 -1
@@ -2,77 +2,87 @@ import { ElementRef, OnChanges, OnInit, EventEmitter } from '@angular/core';
2
2
  import { DatePipe } from '@angular/common';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
5
- * Datepicker Component for selecting dates.
6
- *
7
- * This component allows users to pick a date from a calendar interface.
8
- * It supports various configuration options such as language, date format, and date range.
9
- *
10
- * @example
11
- * <mefdev-datepicker
12
- * [lang]="'uk'"
13
- * [dateFormat]="'dd/MM/yyyy'"
14
- * [range]="{startYear: 1900, toYear: 300}"
15
- * [disabled]="false"
16
- * (dateChanged)="onDateChanged($event)"
17
- * [topOffset]="'20'"
18
- * [leftOffset]="'10'">
19
- * </mefdev-datepicker>
20
- *
21
- * <example-url>https://mef.dev/ui_kit_demo/view/utils/datepicker</example-url>
22
- */
5
+ * Datepicker Component for selecting dates.
6
+ *
7
+ * This component allows users to pick a date from a calendar interface.
8
+ * It supports various configuration options such as language, date format, and date range.
9
+ *
10
+ * @example
11
+ * <mefdev-datepicker
12
+ * [labelContentText]="'Select your date'"
13
+ * [lang]="'uk'"
14
+ * [dateFormat]="'dd/MM/yyyy'"
15
+ * [range]="{startYear: 1900, toYear: 300}"
16
+ * [disabled]="false"
17
+ * (dateChanged)="onDateChanged($event)"
18
+ * [topOffset]="'20'"
19
+ * [leftOffset]="'10'">
20
+ * </mefdev-datepicker>
21
+ *
22
+ * <example-url>https://mef.dev/ui_kit_demo/view/utils/datepicker</example-url>
23
+ */
23
24
  export declare class DatepickerComponent implements OnChanges, OnInit {
24
25
  private datePipe;
25
26
  private elementRef;
27
+ /**
28
+ * A flag that checks whether a valid date has been entered and whether the entered date exists.
29
+ * If the two previous conditions are not true, the datepicker will be highlighted in red
30
+ */
31
+ isUserDateValid: boolean;
26
32
  /**
27
33
  * Flag to determine if the calendar is open or closed.
28
34
  * Default value: false (closed).
29
- */
35
+ */
30
36
  isCalendarOpen: boolean;
31
- /**
32
- * Flag to determine if the component is in editing mode.
33
- * Default value: false (not in editing mode).
34
- */
35
- isEditing: boolean;
36
37
  /**
37
38
  * The currently selected date.
38
39
  * Default value: Today's date.
39
- */
40
+ */
40
41
  selectedDate: Date;
41
42
  /**
42
- * The formatted date for display in the input.
43
- * Default value: Formatted representation of the selected date.
44
- */
43
+ * The formatted date for display in the input.
44
+ * Default value: Formatted representation of the selected date.
45
+ */
45
46
  formattedDate: any;
46
47
  /**
47
- * Track the edited date separately when in editing mode.
48
- * Default value: An empty string.
49
- */
48
+ * Track the edited date separately when in editing mode.
49
+ * Default value: An empty string.
50
+ */
50
51
  editedDate: string;
51
52
  /**
52
53
  * Flag to determine if the month dropdown is open or closed.
53
54
  * Default value: true (open).
54
- */
55
+ */
55
56
  isMonthDropdownOpen: boolean;
56
57
  /**
57
58
  * Flag to determine if the year dropdown is open or closed.
58
59
  * Default value: true (open).
59
- */
60
+ */
60
61
  isYearDropdownOpen: boolean;
61
62
  /**
62
63
  * The selected month (0-11).
63
64
  * Default value: The month of the selected date.
64
- */
65
+ */
65
66
  selectedDateMonth: number;
66
67
  /**
67
68
  * The selected year.
68
69
  * Default value: The year of the selected date.
69
- */
70
+ */
70
71
  selectedDateYear: number;
71
72
  /**
72
- * An array of years for the year dropdown.
73
- * Default value: An array of years within the specified range.
74
- */
73
+ * An array of years for the year dropdown.
74
+ * Default value: An array of years within the specified range.
75
+ */
75
76
  years: number[];
77
+ /**
78
+ * Label text for the datepicker.
79
+ * Default value: 'en' (English).
80
+ * @example
81
+ * <mefdev-datepicker
82
+ * [labelContentText] = "'Chose your date'">
83
+ * </mefdev-datepicker>
84
+ */
85
+ labelContentText: string;
76
86
  /**
77
87
  * The language/locale for the datepicker.
78
88
  * Default value: 'en' (English).
@@ -80,7 +90,7 @@ export declare class DatepickerComponent implements OnChanges, OnInit {
80
90
  * <mefdev-datepicker
81
91
  * [lang] = "'uk'">
82
92
  * </mefdev-datepicker>
83
- */
93
+ */
84
94
  lang: string;
85
95
  /**
86
96
  * The date format for displaying the selected date.
@@ -89,7 +99,7 @@ export declare class DatepickerComponent implements OnChanges, OnInit {
89
99
  * <mefdev-datepicker
90
100
  * [dateFormat]="'dd/MM/yyyy'">
91
101
  * </mefdev-datepicker>
92
- */
102
+ */
93
103
  dateFormat: string;
94
104
  /**
95
105
  * The range of years available in the year dropdown.
@@ -98,7 +108,7 @@ export declare class DatepickerComponent implements OnChanges, OnInit {
98
108
  * <mefdev-datepicker
99
109
  * [range]="{startYear: 1900, toYear: 300}">
100
110
  * </mefdev-datepicker>
101
- */
111
+ */
102
112
  yearsRange: {
103
113
  startYear: number;
104
114
  toYear: number;
@@ -110,7 +120,7 @@ export declare class DatepickerComponent implements OnChanges, OnInit {
110
120
  * <mefdev-datepicker
111
121
  * [disabled]="false">
112
122
  * </mefdev-datepicker>
113
- */
123
+ */
114
124
  disabled: boolean;
115
125
  /**
116
126
  * The top offset for positioning the datepicker.
@@ -119,7 +129,7 @@ export declare class DatepickerComponent implements OnChanges, OnInit {
119
129
  * <mefdev-datepicker
120
130
  * [topOffset]="'20'">
121
131
  * </mefdev-datepicker>
122
- */
132
+ */
123
133
  topOffset: string;
124
134
  /**
125
135
  * The left offset for positioning the datepicker.
@@ -128,7 +138,7 @@ export declare class DatepickerComponent implements OnChanges, OnInit {
128
138
  * <mefdev-datepicker
129
139
  * [leftOffset]="'10'">
130
140
  * </mefdev-datepicker>
131
- */
141
+ */
132
142
  leftOffset: string;
133
143
  /**
134
144
  * Event emitted when the selected date in the datepicker changes.
@@ -137,19 +147,19 @@ export declare class DatepickerComponent implements OnChanges, OnInit {
137
147
  * <mefdev-datepicker
138
148
  * (dateChanged)="onDateChanged($event)">
139
149
  * </mefdev-datepicker>
140
- */
150
+ */
141
151
  dateChanged: EventEmitter<Date>;
142
152
  /**
143
153
  * Regular expression to validate user input for date in the format "dd/MM/yyyy".
144
154
  * - The day (dd) should be between 01 and 31.
145
155
  * - The month (MM) should be between 01 and 12.
146
156
  * - The year (yyyy) should be a 4-digit number.
147
- */
157
+ */
148
158
  private dateRegExp;
149
159
  /**
150
160
  * The string entered by the user for date input.
151
161
  * This variable stores the user's input as they type in the date field.
152
- */
162
+ */
153
163
  userInput: string;
154
164
  /**
155
165
  * Host listener for document click events to handle calendar interaction.
@@ -157,36 +167,35 @@ export declare class DatepickerComponent implements OnChanges, OnInit {
157
167
  * - If the click occurred within the calendar, no action is taken.
158
168
  * - If the click occurred within the input element and the component is not in editing mode,
159
169
  * it opens the calendar.
160
- * - If the click occurred outside the calendar and input, it closes the calendar.
161
170
  * @param event The MouseEvent object representing the click event.
162
- */
171
+ */
163
172
  onClick(event: MouseEvent): void;
164
173
  /**
165
174
  * Constructor for the DatepickerComponent class.
166
175
  * @param datePipe A service for formatting and parsing dates.
167
176
  * @param elementRef A reference to the element on which this component is attached.
168
177
  * It is used to access DOM elements.
169
- */
178
+ */
170
179
  constructor(datePipe: DatePipe, elementRef: ElementRef);
171
180
  /**
172
181
  * Lifecycle hook called after the component is initialized.
173
182
  * It initializes the years for the year select dropdown.
174
- */
183
+ */
175
184
  ngOnInit(): void;
176
185
  /**
177
186
  * Lifecycle hook called whenever the input properties of the component change.
178
187
  * It updates the input value.
179
- */
188
+ */
180
189
  ngOnChanges(): void;
181
190
  /**
182
191
  * An array of month names based on the selected language.
183
192
  * It provides localized month names for display in the datepicker.
184
- */
193
+ */
185
194
  private get months();
186
195
  /**
187
196
  * An array of weekday names based on the selected language.
188
197
  * It provides localized weekday names for display in the datepicker.
189
- */
198
+ */
190
199
  private get weekdays();
191
200
  /**
192
201
  * Initialize the list of years to be displayed in the year dropdown.
@@ -197,12 +206,11 @@ export declare class DatepickerComponent implements OnChanges, OnInit {
197
206
  * // After calling initializeYears(), 'years' might contain [1900, 1901, ..., 300]
198
207
  * this.initializeYears();
199
208
  * ```
200
- */
209
+ */
201
210
  private initializeYears;
202
211
  /**
203
212
  * Toggle the editing mode for the date input. When enabled, the user can edit the date directly in the input field.
204
- * This method sets the 'isEditing' flag to true and stores the current formatted date for editing.
205
- */
213
+ */
206
214
  toggleEdit(): void;
207
215
  /**
208
216
  * Get a list of month names in the specified language and format.
@@ -213,7 +221,7 @@ export declare class DatepickerComponent implements OnChanges, OnInit {
213
221
  * // Get a list of month names in the default language and long format
214
222
  * const months = this.getMonthList(this.lang);
215
223
  * ```
216
- */
224
+ */
217
225
  private getMonthList;
218
226
  /**
219
227
  * Get a list of weekday names in the specified language and format.
@@ -224,17 +232,8 @@ export declare class DatepickerComponent implements OnChanges, OnInit {
224
232
  * // Get a list of weekday names in the default language and short format
225
233
  * const weekdays = this.getWeekdayList();
226
234
  * ```
227
- */
235
+ */
228
236
  private getWeekdayList;
229
- /**
230
- * Toggle the visibility of the calendar component. When called, this method changes the 'isCalendarOpen' flag
231
- * to show or hide the calendar interface.
232
- * ```
233
- * // Toggle the visibility of the calendar
234
- * this.toggleCalendar();
235
- * ```
236
- */
237
- private toggleCalendar;
238
237
  /**
239
238
  * Save the edited date input by the user, provided it matches the specified date format.
240
239
  * This method checks if the entered date is in a valid format, disables the editing mode, and applies
@@ -243,19 +242,19 @@ export declare class DatepickerComponent implements OnChanges, OnInit {
243
242
  * // Save the edited date and update the selected date
244
243
  * this.saveEditedDate();
245
244
  * ```
246
- */
245
+ */
247
246
  private saveEditedDate;
248
247
  /**
249
- * Handle user input in the editable input field for date editing. This method captures the input value
250
- * and stores it in the 'editedDate' variable. If the input matches the valid date format, it updates
251
- * 'selectedDateMonth' and 'selectedDateYear' accordingly.
252
- * @param event - The input event containing the user's input.
253
- * ```
254
- * // Handle user input in the editable input field
255
- * this.onDateInput(event);
256
- * ```
257
- */
258
- private onDateInput;
248
+ * Handle user input in the editable input field for date editing. This method captures the input value
249
+ * and stores it in the 'editedDate' variable. If the input matches the valid date format, it updates
250
+ * 'selectedDateMonth' and 'selectedDateYear' accordingly.
251
+ * @param event - The input event containing the user's input.
252
+ * ```
253
+ * // Handle user input in the editable input field
254
+ * this.onDateInput(event);
255
+ * ```
256
+ */
257
+ onDateInput(event: any): void;
259
258
  /**
260
259
  * Toggle the visibility of the month dropdown in the calendar interface.
261
260
  * This method is used to open or close the dropdown for selecting months.
@@ -264,17 +263,17 @@ export declare class DatepickerComponent implements OnChanges, OnInit {
264
263
  * // Toggle the visibility of the month dropdown
265
264
  * this.toggleMonthDropdown(event);
266
265
  * ```
267
- */
266
+ */
268
267
  private toggleMonthDropdown;
269
268
  /**
270
- * Toggle the visibility of the year dropdown in the calendar interface.
271
- * This method is used to open or close the dropdown for selecting years.
272
- * @param event - The event triggering the toggle action (e.g., a click event).
273
- * ```
274
- * // Toggle the visibility of the year dropdown
275
- * this.toggleYearDropdown(event);
276
- * ```
277
- */
269
+ * Toggle the visibility of the year dropdown in the calendar interface.
270
+ * This method is used to open or close the dropdown for selecting years.
271
+ * @param event - The event triggering the toggle action (e.g., a click event).
272
+ * ```
273
+ * // Toggle the visibility of the year dropdown
274
+ * this.toggleYearDropdown(event);
275
+ * ```
276
+ */
278
277
  private toggleYearDropdown;
279
278
  /**
280
279
  * Handle the change of the selected month in the calendar interface.
@@ -284,7 +283,7 @@ export declare class DatepickerComponent implements OnChanges, OnInit {
284
283
  * // Handle the change of the selected month
285
284
  * this.onMonthChange();
286
285
  * ```
287
- */
286
+ */
288
287
  private onMonthChange;
289
288
  /**
290
289
  * Handle the change of the selected year in the calendar interface.
@@ -294,14 +293,14 @@ export declare class DatepickerComponent implements OnChanges, OnInit {
294
293
  * // Handle the change of the selected year
295
294
  * this.onYearChange();
296
295
  * ```
297
- */
296
+ */
298
297
  private onYearChange;
299
298
  /**
300
299
  * Select a date in the calendar interface and perform necessary updates.
301
300
  * This method sets the selected date, formats it, closes the calendar, and emits a dateChanged event.
302
301
  * It also updates the selected month and year dropdown values.
303
302
  * @param date - The date to be selected in the calendar.
304
- */
303
+ */
305
304
  selectDate(date: Date): void;
306
305
  /**
307
306
  * Format the selected date based on the chosen date format and language.
@@ -310,7 +309,7 @@ export declare class DatepickerComponent implements OnChanges, OnInit {
310
309
  * // Format the selected date
311
310
  * this.formatDate();
312
311
  * ```
313
- */
312
+ */
314
313
  private formatDate;
315
314
  /**
316
315
  * Format the selected date based on the chosen date format, language, and locale.
@@ -320,7 +319,7 @@ export declare class DatepickerComponent implements OnChanges, OnInit {
320
319
  * // Format the selected date with language
321
320
  * const formatted = this.formatSelectedDate();
322
321
  * ```
323
- */
322
+ */
324
323
  private formatSelectedDate;
325
324
  /**
326
325
  * Update the input value displayed in the calendar interface.
@@ -330,7 +329,7 @@ export declare class DatepickerComponent implements OnChanges, OnInit {
330
329
  * // Update the input value
331
330
  * this.updateInputValue();
332
331
  * ```
333
- */
332
+ */
334
333
  private updateInputValue;
335
334
  /**
336
335
  * Get an array of arrays representing the days of the current month.
@@ -340,7 +339,7 @@ export declare class DatepickerComponent implements OnChanges, OnInit {
340
339
  * // Get an array of arrays representing the days of the current month
341
340
  * const calendar = this.calendarDays;
342
341
  * ```
343
- */
342
+ */
344
343
  private get calendarDays();
345
344
  /**
346
345
  * Get the date of the previous month to display in empty cells of the current month.
@@ -352,7 +351,7 @@ export declare class DatepickerComponent implements OnChanges, OnInit {
352
351
  * // Get the previous month's date to display in empty cells
353
352
  * const previousMonthDate = this.getPreviousMonthDate(new Date(2023, 8, 1));
354
353
  * ```
355
- */
354
+ */
356
355
  private getPreviousMonthDate;
357
356
  /**
358
357
  * Navigate to the previous month in the calendar interface.
@@ -361,7 +360,7 @@ export declare class DatepickerComponent implements OnChanges, OnInit {
361
360
  * // Navigate to the previous month
362
361
  * this.getPreviousMonth();
363
362
  * ```
364
- */
363
+ */
365
364
  private getPreviousMonth;
366
365
  /**
367
366
  * Navigate to the next month in the calendar interface.
@@ -370,21 +369,21 @@ export declare class DatepickerComponent implements OnChanges, OnInit {
370
369
  * // Navigate to the next month
371
370
  * this.getNextMonth();
372
371
  * ```
373
- */
372
+ */
374
373
  private getNextMonth;
375
374
  /**
376
375
  * Get the number of days in a given month of a specific year.
377
376
  * @param year - The year for which you want to determine the number of days.
378
377
  * @param month - The month (0-based index) for which you want to determine the number of days.
379
378
  * @returns The number of days in the specified month of the given year.
380
- */
379
+ */
381
380
  private daysInMonth;
382
381
  /**
383
382
  * Calculate the structure of days in a month for the calendar display.
384
383
  * This method generates a matrix of day data objects representing the days in the calendar.
385
384
  * Each day data object contains the date and whether it belongs to the current month.
386
385
  * @returns A matrix of day data objects for the calendar display.
387
- */
386
+ */
388
387
  private calculateFirstDayOfCalendar;
389
388
  /**
390
389
  * Check if a given date is the currently selected date in the calendar.
@@ -394,17 +393,18 @@ export declare class DatepickerComponent implements OnChanges, OnInit {
394
393
  * // Check if a date is selected
395
394
  * const isSelected = this.isDateSelected(someDate);
396
395
  * ```
397
- */
396
+ */
398
397
  private isDateSelected;
399
398
  /**
400
399
  * Check if a date string is valid based on the specified date format.
400
+ * It also checks whether the specified number, month is correct and whether the specified one exists among calendar years
401
401
  * @param inputDate - The date string to validate.
402
402
  * @returns `true` if the input date string is valid, otherwise `false`.
403
403
  * ```
404
404
  * // Check if a date string is valid
405
405
  * const isValidDate = this.isDateValid('05/25/2023');
406
406
  * ```
407
- */
407
+ */
408
408
  private isDateValid;
409
409
  /**
410
410
  * Check if a given date is today's date.
@@ -414,8 +414,8 @@ export declare class DatepickerComponent implements OnChanges, OnInit {
414
414
  * // Check if a date is today's date
415
415
  * const isToday = this.isDateToday(someDate);
416
416
  * ```
417
- */
417
+ */
418
418
  private isDateToday;
419
419
  static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, never>;
420
- static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "mefdev-datepicker", never, { "lang": { "alias": "lang"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "yearsRange": { "alias": "range"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "topOffset": { "alias": "topOffset"; "required": false; }; "leftOffset": { "alias": "leftOffset"; "required": false; }; }, { "dateChanged": "dateChanged"; }, never, never, false, never>;
420
+ static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "mefdev-datepicker", never, { "labelContentText": { "alias": "labelContentText"; "required": false; }; "lang": { "alias": "lang"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "yearsRange": { "alias": "range"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "topOffset": { "alias": "topOffset"; "required": false; }; "leftOffset": { "alias": "leftOffset"; "required": false; }; }, { "dateChanged": "dateChanged"; }, never, never, false, never>;
421
421
  }
@@ -15,7 +15,7 @@ import * as i0 from "@angular/core";
15
15
  * </mefdev-filtered-field-container>
16
16
  * ```
17
17
  * Example of usage:
18
- * <example-url>https://mef.dev/ui_kit_demo/view/utils/filtered-field</example-url>
18
+ * <example-url>https://mef.dev/ui_kit_demo/view/utils/filtered_field</example-url>
19
19
  */
20
20
  export declare class FilteredFieldContainerComponent implements OnInit {
21
21
  private service;
@@ -10,7 +10,7 @@ import * as i0 from "@angular/core";
10
10
  * <ng-content></ng-content>
11
11
  * </mefdev-help-block>
12
12
  *```
13
- * <example-url>https://mef.dev/ui_kit_demo/view/utils/help-block</example-url>
13
+ * <example-url>https://mef.dev/ui_kit_demo/view/utils/help_block</example-url>
14
14
  */
15
15
  export declare class HelpBlockComponent implements OnInit {
16
16
  /**
@@ -6,12 +6,12 @@ import * as i0 from "@angular/core";
6
6
  *
7
7
  * Example usage:
8
8
  * ```
9
- * <pgcard [Title]="'Card Title'" [Type]="'default'" [MinimalHeader]="false" [ProgressType]="'circle'">
9
+ * <mefdev-inner-card [Title]="'Card Title'" [Type]="'default'" [MinimalHeader]="false" [ProgressType]="'circle'">
10
10
  * Card content goes here...
11
- * </pgcard>
11
+ * </mefdev-inner-card>
12
12
  * ```
13
13
  */
14
- export declare class pgCard {
14
+ export declare class MefdevInnerCard {
15
15
  /**
16
16
  * Indicates whether the card is collapsed or not.
17
17
  * Default: false
@@ -236,6 +236,6 @@ export declare class pgCard {
236
236
  * Closes the card.
237
237
  */
238
238
  close(): void;
239
- static ɵfac: i0.ɵɵFactoryDeclaration<pgCard, never>;
240
- static ɵcmp: i0.ɵɵComponentDeclaration<pgCard, "pgcard", never, { "Title": { "alias": "Title"; "required": false; }; "Type": { "alias": "Type"; "required": false; }; "MinimalHeader": { "alias": "MinimalHeader"; "required": false; }; "ProgressType": { "alias": "ProgressType"; "required": false; }; "ProgressColor": { "alias": "ProgressColor"; "required": false; }; "Refresh": { "alias": "Refresh"; "required": false; }; "RefreshColor": { "alias": "RefreshColor"; "required": false; }; "Maximize": { "alias": "Maximize"; "required": false; }; "Close": { "alias": "Close"; "required": false; }; "Toggle": { "alias": "Toggle"; "required": false; }; "HeaderClass": { "alias": "HeaderClass"; "required": false; }; "BodyClass": { "alias": "BodyClass"; "required": false; }; "AdditionalClasses": { "alias": "AdditionalClasses"; "required": false; }; "Controls": { "alias": "Controls"; "required": false; }; "ShowMessage": { "alias": "ShowMessage"; "required": false; }; "Message": { "alias": "Message"; "required": false; }; "Loading": { "alias": "Loading"; "required": false; }; "TimeOut": { "alias": "TimeOut"; "required": false; }; "CardBorderStyle": { "alias": "CardBorderStyle"; "required": false; }; }, { "onRefresh": "onRefresh"; }, ["CardTitle", "CardExtraControls"], ["*"], false, never>;
239
+ static ɵfac: i0.ɵɵFactoryDeclaration<MefdevInnerCard, never>;
240
+ static ɵcmp: i0.ɵɵComponentDeclaration<MefdevInnerCard, "mefdev-inner-card", never, { "Title": { "alias": "Title"; "required": false; }; "Type": { "alias": "Type"; "required": false; }; "MinimalHeader": { "alias": "MinimalHeader"; "required": false; }; "ProgressType": { "alias": "ProgressType"; "required": false; }; "ProgressColor": { "alias": "ProgressColor"; "required": false; }; "Refresh": { "alias": "Refresh"; "required": false; }; "RefreshColor": { "alias": "RefreshColor"; "required": false; }; "Maximize": { "alias": "Maximize"; "required": false; }; "Close": { "alias": "Close"; "required": false; }; "Toggle": { "alias": "Toggle"; "required": false; }; "HeaderClass": { "alias": "HeaderClass"; "required": false; }; "BodyClass": { "alias": "BodyClass"; "required": false; }; "AdditionalClasses": { "alias": "AdditionalClasses"; "required": false; }; "Controls": { "alias": "Controls"; "required": false; }; "ShowMessage": { "alias": "ShowMessage"; "required": false; }; "Message": { "alias": "Message"; "required": false; }; "Loading": { "alias": "Loading"; "required": false; }; "TimeOut": { "alias": "TimeOut"; "required": false; }; "CardBorderStyle": { "alias": "CardBorderStyle"; "required": false; }; }, { "onRefresh": "onRefresh"; }, ["CardTitle", "CardExtraControls"], ["*"], false, never>;
241
241
  }
@@ -3,9 +3,9 @@ import * as i0 from "@angular/core";
3
3
  import * as i1 from "./card.components";
4
4
  import * as i2 from "@angular/common";
5
5
  import * as i3 from "../progress/progress.module";
6
- export declare class pgCardModule {
7
- static forRoot(): ModuleWithProviders<pgCardModule>;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<pgCardModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<pgCardModule, [typeof i1.pgCard], [typeof i2.CommonModule, typeof i3.MefDevProgressModule], [typeof i1.pgCard]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<pgCardModule>;
6
+ export declare class MefdevInnerCardModule {
7
+ static forRoot(): ModuleWithProviders<MefdevInnerCardModule>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<MefdevInnerCardModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MefdevInnerCardModule, [typeof i1.MefdevInnerCard], [typeof i2.CommonModule, typeof i3.MefDevProgressModule], [typeof i1.MefdevInnerCard]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<MefdevInnerCardModule>;
11
11
  }
@@ -5,7 +5,7 @@ import { MefDevOptionComponent } from "./option.component";
5
5
  import * as i0 from "@angular/core";
6
6
  /**
7
7
  * Example of usage:
8
- * <example-url>https://mef.dev/ui_kit_demo/view/select</example-url>
8
+ * <example-url>https://mef.dev/ui_kit_demo/view/controls/select</example-url>
9
9
  */
10
10
  export declare class MefDevSelectComponent implements OnInit, AfterContentInit, AfterContentChecked, ControlValueAccessor {
11
11
  private _elementRef;
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
5
5
  * @component
6
6
  * @skipTemplateDoc: true
7
7
  * Example of usage:
8
- * <example-url>https://mef.dev/ui_kit_demo/view/switch</example-url>
8
+ * <example-url>https://mef.dev/ui_kit_demo/view/controls/switch</example-url>
9
9
  */
10
10
  export declare class MefDevSwitchComponent implements OnInit, ControlValueAccessor {
11
11
  private _disabled;
@@ -24,7 +24,7 @@ export type TabType = 'line' | 'fillup' | 'linetriangle';
24
24
  * </mefdev-tabset>
25
25
  *
26
26
  * Example of usage:
27
- * <example-url>https://mef.dev/ui_kit_demo/view/tabset</example-url>
27
+ * <example-url>https://mef.dev/ui_kit_demo/view/page_components/tabset</example-url>
28
28
  */
29
29
  export declare class MefDevTabSetComponent implements AfterContentChecked, OnInit, AfterViewInit {
30
30
  private _renderer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natec/mef-dev-ui-kit",
3
- "version": "16.2.5",
3
+ "version": "16.3.49",
4
4
  "description": "MEF.DEV UI Kit Library",
5
5
  "author": {
6
6
  "name": "NATEC"
@@ -1,3 +1,4 @@
1
+ $Black-Color: #000000;
1
2
  $Dark-Gray-1: #373737;
2
3
  $Dark-Gray-2: #4D4D4D;
3
4
  $Red: #CF0106;
@@ -7,6 +8,11 @@ $Light-Gray-2: #EAEAEA;
7
8
  $Light-Gray-3: #F3F3F3;
8
9
  $White: #FFFFFF;
9
10
  $Link: #0185CF;
11
+ $Link-on-dark: #50C0FF;
12
+
13
+ .color-black {
14
+ color: $Black-Color !important;
15
+ }
10
16
 
11
17
  .color-Dark-Gray-1{
12
18
  color: $Dark-Gray-1 !important;
@@ -36,7 +42,13 @@ $Link: #0185CF;
36
42
  .color-Link{
37
43
  color: $Link !important;
38
44
  }
45
+ .color-dark-link{
46
+ color: $Link-on-dark !important;
47
+ }
39
48
 
49
+ .b-color-black{
50
+ background-color: $Black-Color !important;
51
+ }
40
52
 
41
53
  .b-color-Dark-Gray-1{
42
54
  background-color: $Dark-Gray-1 !important;
@@ -65,4 +77,7 @@ $Link: #0185CF;
65
77
  }
66
78
  .b-color-Link{
67
79
  background-color: $Link !important;
68
- }
80
+ }
81
+ .b-color-dark-link{
82
+ background-color: $Link-on-dark !important;
83
+ }