@natec/mef-dev-ui-kit 20.0.0-beta.2 → 20.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/natec-mef-dev-ui-kit.mjs +526 -2023
- package/fesm2022/natec-mef-dev-ui-kit.mjs.map +1 -1
- package/index.d.ts +204 -1320
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/lib/styles/core.scss +51 -195
- package/src/lib/styles/pg/modules/_typography.scss +1 -8
- package/src/lib/styles/pg/vendor/ng-datatable.scss +7 -0
- package/src/lib/styles/vars.scss +8 -8
package/index.d.ts
CHANGED
|
@@ -1,22 +1,20 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { TemplateRef, EventEmitter, ElementRef, ModuleWithProviders, OnInit,
|
|
2
|
+
import { TemplateRef, EventEmitter, ElementRef, ModuleWithProviders, OnInit, AfterContentInit, AfterContentChecked, Renderer2, ChangeDetectorRef, OnDestroy, PipeTransform, AfterViewChecked, OnChanges, SimpleChanges, AfterViewInit, NgZone, QueryList, InjectionToken, ViewContainerRef, Injector, ComponentRef, Optional } from '@angular/core';
|
|
3
3
|
import * as i2 from '@angular/common';
|
|
4
|
-
import { DatePipe } from '@angular/common';
|
|
5
4
|
import { Observable, Subscription, Subject } from 'rxjs';
|
|
6
|
-
import * as i3 from '@angular/forms';
|
|
7
|
-
import { ControlValueAccessor, AbstractControl, FormGroupDirective, NgForm, NgControl } from '@angular/forms';
|
|
8
5
|
import * as i6 from '@angular/cdk/overlay';
|
|
9
6
|
import { CdkConnectedOverlay, ConnectedOverlayPositionChange, ScrollStrategy, ComponentType, ViewportRuler, Overlay, ConnectedPosition } from '@angular/cdk/overlay';
|
|
10
|
-
import
|
|
7
|
+
import * as i5 from '@angular/forms';
|
|
8
|
+
import { ControlValueAccessor, AbstractControl, FormGroupDirective, NgForm, NgControl } from '@angular/forms';
|
|
11
9
|
import { Directionality, Direction } from '@angular/cdk/bidi';
|
|
10
|
+
import { FocusableOption, FocusOrigin, ActiveDescendantKeyManager, FocusKeyManager } from '@angular/cdk/a11y';
|
|
12
11
|
import { CdkAccordion, CdkAccordionItem } from '@angular/cdk/accordion';
|
|
13
|
-
import * as i3
|
|
12
|
+
import * as i3 from '@angular/cdk/portal';
|
|
14
13
|
import { TemplatePortal, ComponentPortal, CdkPortalOutlet, CdkPortal } from '@angular/cdk/portal';
|
|
15
|
-
import { FocusableOption, FocusOrigin, ActiveDescendantKeyManager, FocusKeyManager } from '@angular/cdk/a11y';
|
|
16
14
|
import * as i1$1 from '@angular/cdk/dialog';
|
|
17
15
|
import { DialogConfig, CdkDialogContainer, DialogRef, Dialog } from '@angular/cdk/dialog';
|
|
18
16
|
import * as i1 from '@angular/cdk/scrolling';
|
|
19
|
-
import * as i3$
|
|
17
|
+
import * as i3$1 from '@angular/cdk/stepper';
|
|
20
18
|
import { CdkStepLabel, StepState, CdkStepHeader, CdkStep, CdkStepper, CdkStepperNext, CdkStepperPrevious } from '@angular/cdk/stepper';
|
|
21
19
|
export { StepState, StepperOrientation } from '@angular/cdk/stepper';
|
|
22
20
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
@@ -160,7 +158,7 @@ declare class CollapseSetComponent {
|
|
|
160
158
|
static ɵcmp: i0.ɵɵComponentDeclaration<CollapseSetComponent, "mefdev-collapse-set", never, { "expandAny": { "alias": "expandAny"; "required": false; }; "Accordion": { "alias": "Accordion"; "required": false; }; "Horizontal": { "alias": "Horizontal"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
161
159
|
}
|
|
162
160
|
|
|
163
|
-
declare const mefDevCollapseModuleComponents: (typeof
|
|
161
|
+
declare const mefDevCollapseModuleComponents: (typeof CollapseSetComponent | typeof CollapseComponent)[];
|
|
164
162
|
declare class MefDevCollapseModule {
|
|
165
163
|
static forRoot(): ModuleWithProviders<MefDevCollapseModule>;
|
|
166
164
|
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevCollapseModule, never>;
|
|
@@ -302,464 +300,39 @@ declare class MefDevFilteredFieldModule {
|
|
|
302
300
|
}
|
|
303
301
|
|
|
304
302
|
/**
|
|
305
|
-
*
|
|
306
|
-
*
|
|
307
|
-
*
|
|
308
|
-
*```
|
|
309
|
-
* <mefdev-
|
|
310
|
-
*
|
|
311
|
-
*
|
|
312
|
-
*
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
*/
|
|
320
|
-
isVisible: boolean;
|
|
321
|
-
/**
|
|
322
|
-
* Indicates whether the help block is expanded.
|
|
323
|
-
*/
|
|
324
|
-
expanded: boolean;
|
|
325
|
-
/**
|
|
326
|
-
* The title of the help block.
|
|
327
|
-
*```
|
|
328
|
-
* <mefdev-help-block [title]="'Help Block'">
|
|
329
|
-
* Content goes here...
|
|
330
|
-
* </mefdev-help-block>
|
|
331
|
-
*```
|
|
332
|
-
*/
|
|
333
|
-
title: string;
|
|
334
|
-
constructor();
|
|
335
|
-
ngOnInit(): void;
|
|
336
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HelpBlockComponent, never>;
|
|
337
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HelpBlockComponent, "mefdev-help-block", never, { "title": { "alias": "title"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
declare class MefDevHelpBlockModule {
|
|
341
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevHelpBlockModule, never>;
|
|
342
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MefDevHelpBlockModule, [typeof HelpBlockComponent], [typeof i2.CommonModule, typeof MefDevCollapseModule], [typeof HelpBlockComponent]>;
|
|
343
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MefDevHelpBlockModule>;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
/**
|
|
347
|
-
* Datepicker Component for selecting dates.
|
|
348
|
-
*
|
|
349
|
-
* This component allows users to pick a date from a calendar interface.
|
|
350
|
-
* It supports various configuration options such as language, date format, and date range.
|
|
351
|
-
*
|
|
352
|
-
* @example
|
|
353
|
-
* <mefdev-datepicker
|
|
354
|
-
* [labelContentText]="'Select your date'"
|
|
355
|
-
* [lang]="'uk'"
|
|
356
|
-
* [dateFormat]="'dd/MM/yyyy'"
|
|
357
|
-
* [range]="{startYear: 1900, toYear: 300}"
|
|
358
|
-
* [disabled]="false"
|
|
359
|
-
* (dateChanged)="onDateChanged($event)"
|
|
360
|
-
* [topOffset]="'20'"
|
|
361
|
-
* [leftOffset]="'10'">
|
|
362
|
-
* </mefdev-datepicker>
|
|
363
|
-
*
|
|
364
|
-
* <example-url>https://platform.mef.dev/ui_kit_demo/view/utils/datepicker</example-url>
|
|
365
|
-
*/
|
|
366
|
-
declare class DatepickerComponent implements OnChanges, OnInit {
|
|
367
|
-
private datePipe;
|
|
368
|
-
private elementRef;
|
|
369
|
-
/**
|
|
370
|
-
* A flag that checks whether a valid date has been entered and whether the entered date exists.
|
|
371
|
-
* If the two previous conditions are not true, the datepicker will be highlighted in red
|
|
372
|
-
*/
|
|
373
|
-
isUserDateValid: boolean;
|
|
374
|
-
/**
|
|
375
|
-
* Flag to determine if the calendar is open or closed.
|
|
376
|
-
* Default value: false (closed).
|
|
377
|
-
*/
|
|
378
|
-
isCalendarOpen: boolean;
|
|
379
|
-
/**
|
|
380
|
-
* The currently selected date.
|
|
381
|
-
* Default value: Today's date.
|
|
382
|
-
*/
|
|
383
|
-
selectedDate: Date;
|
|
384
|
-
/**
|
|
385
|
-
* The formatted date for display in the input.
|
|
386
|
-
* Default value: Formatted representation of the selected date.
|
|
387
|
-
*/
|
|
388
|
-
formattedDate: any;
|
|
389
|
-
/**
|
|
390
|
-
* Track the edited date separately when in editing mode.
|
|
391
|
-
* Default value: An empty string.
|
|
392
|
-
*/
|
|
393
|
-
editedDate: string;
|
|
394
|
-
/**
|
|
395
|
-
* Flag to determine if the month dropdown is open or closed.
|
|
396
|
-
* Default value: true (open).
|
|
397
|
-
*/
|
|
398
|
-
isMonthDropdownOpen: boolean;
|
|
399
|
-
/**
|
|
400
|
-
* Flag to determine if the year dropdown is open or closed.
|
|
401
|
-
* Default value: true (open).
|
|
402
|
-
*/
|
|
403
|
-
isYearDropdownOpen: boolean;
|
|
404
|
-
/**
|
|
405
|
-
* The selected month (0-11).
|
|
406
|
-
* Default value: The month of the selected date.
|
|
407
|
-
*/
|
|
408
|
-
selectedDateMonth: number;
|
|
409
|
-
/**
|
|
410
|
-
* The selected year.
|
|
411
|
-
* Default value: The year of the selected date.
|
|
412
|
-
*/
|
|
413
|
-
selectedDateYear: number;
|
|
414
|
-
/**
|
|
415
|
-
* An array of years for the year dropdown.
|
|
416
|
-
* Default value: An array of years within the specified range.
|
|
417
|
-
*/
|
|
418
|
-
years: number[];
|
|
419
|
-
/**
|
|
420
|
-
* Label text for the datepicker.
|
|
421
|
-
* Default value: 'en' (English).
|
|
422
|
-
* @example
|
|
423
|
-
* <mefdev-datepicker
|
|
424
|
-
* [labelContentText] = "'Chose your date'">
|
|
425
|
-
* </mefdev-datepicker>
|
|
426
|
-
*/
|
|
427
|
-
labelContentText: string;
|
|
428
|
-
/**
|
|
429
|
-
* The language/locale for the datepicker.
|
|
430
|
-
* Default value: 'en' (English).
|
|
431
|
-
* @example
|
|
432
|
-
* <mefdev-datepicker
|
|
433
|
-
* [lang] = "'uk'">
|
|
434
|
-
* </mefdev-datepicker>
|
|
435
|
-
*/
|
|
436
|
-
lang: string;
|
|
437
|
-
/**
|
|
438
|
-
* The date format for displaying the selected date.
|
|
439
|
-
* Default value: 'EEE MMM dd yyyy'.
|
|
440
|
-
* @example
|
|
441
|
-
* <mefdev-datepicker
|
|
442
|
-
* [dateFormat]="'dd/MM/yyyy'">
|
|
443
|
-
* </mefdev-datepicker>
|
|
444
|
-
*/
|
|
445
|
-
dateFormat: string;
|
|
446
|
-
/**
|
|
447
|
-
* The range of years available in the year dropdown.
|
|
448
|
-
* Default value: { startYear: 1900, toYear: 300 }.
|
|
449
|
-
* @example
|
|
450
|
-
* <mefdev-datepicker
|
|
451
|
-
* [range]="{startYear: 1900, toYear: 300}">
|
|
452
|
-
* </mefdev-datepicker>
|
|
453
|
-
*/
|
|
454
|
-
yearsRange: {
|
|
455
|
-
startYear: number;
|
|
456
|
-
toYear: number;
|
|
457
|
-
};
|
|
458
|
-
/**
|
|
459
|
-
* Whether the datepicker is disabled or not.
|
|
460
|
-
* Default value: false (enabled).
|
|
461
|
-
* @example
|
|
462
|
-
* <mefdev-datepicker
|
|
463
|
-
* [disabled]="false">
|
|
464
|
-
* </mefdev-datepicker>
|
|
465
|
-
*/
|
|
466
|
-
disabled: boolean;
|
|
467
|
-
/**
|
|
468
|
-
* The top offset for positioning the datepicker.
|
|
469
|
-
* Default value: '20'.
|
|
470
|
-
* @example
|
|
471
|
-
* <mefdev-datepicker
|
|
472
|
-
* [topOffset]="'20'">
|
|
473
|
-
* </mefdev-datepicker>
|
|
474
|
-
*/
|
|
475
|
-
topOffset: string;
|
|
476
|
-
/**
|
|
477
|
-
* The left offset for positioning the datepicker.
|
|
478
|
-
* Default value: '10'.
|
|
479
|
-
* @example
|
|
480
|
-
* <mefdev-datepicker
|
|
481
|
-
* [leftOffset]="'10'">
|
|
482
|
-
* </mefdev-datepicker>
|
|
483
|
-
*/
|
|
484
|
-
leftOffset: string;
|
|
485
|
-
/**
|
|
486
|
-
* Event emitted when the selected date in the datepicker changes.
|
|
487
|
-
* It emits a `Date` object representing the selected date.
|
|
488
|
-
* @example
|
|
489
|
-
* <mefdev-datepicker
|
|
490
|
-
* (dateChanged)="onDateChanged($event)">
|
|
491
|
-
* </mefdev-datepicker>
|
|
492
|
-
*/
|
|
493
|
-
dateChanged: EventEmitter<Date>;
|
|
494
|
-
/**
|
|
495
|
-
* Regular expression to validate user input for date in the format "dd/MM/yyyy".
|
|
496
|
-
* - The day (dd) should be between 01 and 31.
|
|
497
|
-
* - The month (MM) should be between 01 and 12.
|
|
498
|
-
* - The year (yyyy) should be a 4-digit number.
|
|
499
|
-
*/
|
|
500
|
-
private dateRegExp;
|
|
501
|
-
/**
|
|
502
|
-
* The string entered by the user for date input.
|
|
503
|
-
* This variable stores the user's input as they type in the date field.
|
|
504
|
-
*/
|
|
505
|
-
userInput: string;
|
|
506
|
-
/**
|
|
507
|
-
* Host listener for document click events to handle calendar interaction.
|
|
508
|
-
* This function checks if a click event occurred within the calendar or input elements.
|
|
509
|
-
* - If the click occurred within the calendar, no action is taken.
|
|
510
|
-
* - If the click occurred within the input element and the component is not in editing mode,
|
|
511
|
-
* it opens the calendar.
|
|
512
|
-
* @param event The MouseEvent object representing the click event.
|
|
513
|
-
*/
|
|
514
|
-
onClick(event: MouseEvent): void;
|
|
303
|
+
* Component for displaying a simple card with a title.
|
|
304
|
+
*
|
|
305
|
+
* Example of usage:
|
|
306
|
+
*```
|
|
307
|
+
* <mefdev-card-simple [disabled]="true">
|
|
308
|
+
* <ng-template #card_title>
|
|
309
|
+
* <!-- Content for the card title -->
|
|
310
|
+
* </ng-template>
|
|
311
|
+
* </mefdev-card-simple>
|
|
312
|
+
*```
|
|
313
|
+
*
|
|
314
|
+
* <example-url>https://platform.mef.dev/ui_kit_demo/view/page_components/card/card_simple</example-url>
|
|
315
|
+
*/
|
|
316
|
+
declare class CardSimpleComponent implements OnInit {
|
|
515
317
|
/**
|
|
516
|
-
*
|
|
517
|
-
* @param datePipe A service for formatting and parsing dates.
|
|
518
|
-
* @param elementRef A reference to the element on which this component is attached.
|
|
519
|
-
* It is used to access DOM elements.
|
|
318
|
+
* Determines whether the card is disabled or not.
|
|
520
319
|
*/
|
|
521
|
-
|
|
320
|
+
isDisabled: boolean;
|
|
522
321
|
/**
|
|
523
|
-
*
|
|
524
|
-
|
|
322
|
+
* Template for displaying the title of the card.
|
|
323
|
+
*```
|
|
324
|
+
* <mefdev-card-simple>
|
|
325
|
+
* <ng-template #card_title>
|
|
326
|
+
* <h3>Card Title</h3>
|
|
327
|
+
* </ng-template>
|
|
328
|
+
* </mefdev-card-simple>
|
|
329
|
+
*```
|
|
525
330
|
*/
|
|
331
|
+
card_title: TemplateRef<void>;
|
|
332
|
+
constructor();
|
|
526
333
|
ngOnInit(): void;
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
* It updates the input value.
|
|
530
|
-
*/
|
|
531
|
-
ngOnChanges(): void;
|
|
532
|
-
/**
|
|
533
|
-
* An array of month names based on the selected language.
|
|
534
|
-
* It provides localized month names for display in the datepicker.
|
|
535
|
-
*/
|
|
536
|
-
private get months();
|
|
537
|
-
/**
|
|
538
|
-
* An array of weekday names based on the selected language.
|
|
539
|
-
* It provides localized weekday names for display in the datepicker.
|
|
540
|
-
*/
|
|
541
|
-
private get weekdays();
|
|
542
|
-
/**
|
|
543
|
-
* Initialize the list of years to be displayed in the year dropdown.
|
|
544
|
-
* This method populates the 'years' array with a range of years based on the provided 'yearsRange' configuration.
|
|
545
|
-
* @example
|
|
546
|
-
* ```
|
|
547
|
-
* // Assuming 'yearsRange' is { startYear: 1900, toYear: 300 }
|
|
548
|
-
* // After calling initializeYears(), 'years' might contain [1900, 1901, ..., 300]
|
|
549
|
-
* this.initializeYears();
|
|
550
|
-
* ```
|
|
551
|
-
*/
|
|
552
|
-
private initializeYears;
|
|
553
|
-
/**
|
|
554
|
-
* Toggle the editing mode for the date input. When enabled, the user can edit the date directly in the input field.
|
|
555
|
-
*/
|
|
556
|
-
toggleEdit(): void;
|
|
557
|
-
/**
|
|
558
|
-
* Get a list of month names in the specified language and format.
|
|
559
|
-
* @param locales - An optional parameter specifying the locale or locales to use for formatting.
|
|
560
|
-
* @param format - The format for month names, either "long" (default) or "short".
|
|
561
|
-
* @returns An array of month names based on the provided format and locale.
|
|
562
|
-
* ```
|
|
563
|
-
* // Get a list of month names in the default language and long format
|
|
564
|
-
* const months = this.getMonthList(this.lang);
|
|
565
|
-
* ```
|
|
566
|
-
*/
|
|
567
|
-
private getMonthList;
|
|
568
|
-
/**
|
|
569
|
-
* Get a list of weekday names in the specified language and format.
|
|
570
|
-
* @param locales - An optional parameter specifying the locale or locales to use for formatting.
|
|
571
|
-
* @param format - The format for weekday names, either "short" (default) or "long".
|
|
572
|
-
* @returns An array of weekday names based on the provided format and locale.
|
|
573
|
-
* ```
|
|
574
|
-
* // Get a list of weekday names in the default language and short format
|
|
575
|
-
* const weekdays = this.getWeekdayList();
|
|
576
|
-
* ```
|
|
577
|
-
*/
|
|
578
|
-
private getWeekdayList;
|
|
579
|
-
/**
|
|
580
|
-
* Save the edited date input by the user, provided it matches the specified date format.
|
|
581
|
-
* This method checks if the entered date is in a valid format, disables the editing mode, and applies
|
|
582
|
-
* the edited date to the 'selectedDate'. It then reformats the selected date and closes the calendar.
|
|
583
|
-
* ```
|
|
584
|
-
* // Save the edited date and update the selected date
|
|
585
|
-
* this.saveEditedDate();
|
|
586
|
-
* ```
|
|
587
|
-
*/
|
|
588
|
-
private saveEditedDate;
|
|
589
|
-
/**
|
|
590
|
-
* Handle user input in the editable input field for date editing. This method captures the input value
|
|
591
|
-
* and stores it in the 'editedDate' variable. If the input matches the valid date format, it updates
|
|
592
|
-
* 'selectedDateMonth' and 'selectedDateYear' accordingly.
|
|
593
|
-
* @param event - The input event containing the user's input.
|
|
594
|
-
* ```
|
|
595
|
-
* // Handle user input in the editable input field
|
|
596
|
-
* this.onDateInput(event);
|
|
597
|
-
* ```
|
|
598
|
-
*/
|
|
599
|
-
onDateInput(event: any): void;
|
|
600
|
-
/**
|
|
601
|
-
* Toggle the visibility of the month dropdown in the calendar interface.
|
|
602
|
-
* This method is used to open or close the dropdown for selecting months.
|
|
603
|
-
* @param event - The event triggering the toggle action (e.g., a click event).
|
|
604
|
-
* ```
|
|
605
|
-
* // Toggle the visibility of the month dropdown
|
|
606
|
-
* this.toggleMonthDropdown(event);
|
|
607
|
-
* ```
|
|
608
|
-
*/
|
|
609
|
-
private toggleMonthDropdown;
|
|
610
|
-
/**
|
|
611
|
-
* Toggle the visibility of the year dropdown in the calendar interface.
|
|
612
|
-
* This method is used to open or close the dropdown for selecting years.
|
|
613
|
-
* @param event - The event triggering the toggle action (e.g., a click event).
|
|
614
|
-
* ```
|
|
615
|
-
* // Toggle the visibility of the year dropdown
|
|
616
|
-
* this.toggleYearDropdown(event);
|
|
617
|
-
* ```
|
|
618
|
-
*/
|
|
619
|
-
private toggleYearDropdown;
|
|
620
|
-
/**
|
|
621
|
-
* Handle the change of the selected month in the calendar interface.
|
|
622
|
-
* This method updates the input value, sets the selected date to the first day of the chosen month,
|
|
623
|
-
* and recalculates the calendar display accordingly.
|
|
624
|
-
* ```
|
|
625
|
-
* // Handle the change of the selected month
|
|
626
|
-
* this.onMonthChange();
|
|
627
|
-
* ```
|
|
628
|
-
*/
|
|
629
|
-
private onMonthChange;
|
|
630
|
-
/**
|
|
631
|
-
* Handle the change of the selected year in the calendar interface.
|
|
632
|
-
* This method updates the input value, sets the selected date to the first day of the chosen year,
|
|
633
|
-
* reformats the selected date, and recalculates the calendar display.
|
|
634
|
-
* ```
|
|
635
|
-
* // Handle the change of the selected year
|
|
636
|
-
* this.onYearChange();
|
|
637
|
-
* ```
|
|
638
|
-
*/
|
|
639
|
-
private onYearChange;
|
|
640
|
-
/**
|
|
641
|
-
* Select a date in the calendar interface and perform necessary updates.
|
|
642
|
-
* This method sets the selected date, formats it, closes the calendar, and emits a dateChanged event.
|
|
643
|
-
* It also updates the selected month and year dropdown values.
|
|
644
|
-
* @param date - The date to be selected in the calendar.
|
|
645
|
-
*/
|
|
646
|
-
selectDate(date: Date): void;
|
|
647
|
-
/**
|
|
648
|
-
* Format the selected date based on the chosen date format and language.
|
|
649
|
-
* This method uses the Angular DatePipe to format the selected date and updates the formattedDate variable.
|
|
650
|
-
* ```
|
|
651
|
-
* // Format the selected date
|
|
652
|
-
* this.formatDate();
|
|
653
|
-
* ```
|
|
654
|
-
*/
|
|
655
|
-
private formatDate;
|
|
656
|
-
/**
|
|
657
|
-
* Format the selected date based on the chosen date format, language, and locale.
|
|
658
|
-
* This method uses the Angular DatePipe to format the selected date with the specified language and updates the formatted date as a string.
|
|
659
|
-
* @returns A formatted date string.
|
|
660
|
-
* ```
|
|
661
|
-
* // Format the selected date with language
|
|
662
|
-
* const formatted = this.formatSelectedDate();
|
|
663
|
-
* ```
|
|
664
|
-
*/
|
|
665
|
-
private formatSelectedDate;
|
|
666
|
-
/**
|
|
667
|
-
* Update the input value displayed in the calendar interface.
|
|
668
|
-
* This method updates the input value to either the edited date or the formatted selected date,
|
|
669
|
-
* depending on whether the user is in edit mode or not.
|
|
670
|
-
* ```
|
|
671
|
-
* // Update the input value
|
|
672
|
-
* this.updateInputValue();
|
|
673
|
-
* ```
|
|
674
|
-
*/
|
|
675
|
-
private updateInputValue;
|
|
676
|
-
/**
|
|
677
|
-
* Get an array of arrays representing the days of the current month.
|
|
678
|
-
* Each sub-array contains the day data for a week, and each day data object includes the date and whether it belongs to the current month.
|
|
679
|
-
* @returns An array of arrays representing the days of the current month.
|
|
680
|
-
* ```
|
|
681
|
-
* // Get an array of arrays representing the days of the current month
|
|
682
|
-
* const calendar = this.calendarDays;
|
|
683
|
-
* ```
|
|
684
|
-
*/
|
|
685
|
-
private get calendarDays();
|
|
686
|
-
/**
|
|
687
|
-
* Get the date of the previous month to display in empty cells of the current month.
|
|
688
|
-
* This method returns the date of the previous month if the provided date is not in the current month.
|
|
689
|
-
* If the provided date is in the current month, it returns the date's day as a string.
|
|
690
|
-
* @param date - The date to evaluate.
|
|
691
|
-
* @returns The date of the previous month or a day string.
|
|
692
|
-
* ```
|
|
693
|
-
* // Get the previous month's date to display in empty cells
|
|
694
|
-
* const previousMonthDate = this.getPreviousMonthDate(new Date(2023, 8, 1));
|
|
695
|
-
* ```
|
|
696
|
-
*/
|
|
697
|
-
private getPreviousMonthDate;
|
|
698
|
-
/**
|
|
699
|
-
* Navigate to the previous month in the calendar interface.
|
|
700
|
-
* This method updates the selectedDate, formats it, and recalculates the first day of the calendar.
|
|
701
|
-
* ```
|
|
702
|
-
* // Navigate to the previous month
|
|
703
|
-
* this.getPreviousMonth();
|
|
704
|
-
* ```
|
|
705
|
-
*/
|
|
706
|
-
private getPreviousMonth;
|
|
707
|
-
/**
|
|
708
|
-
* Navigate to the next month in the calendar interface.
|
|
709
|
-
* This method updates the selectedDate, formats it, and recalculates the first day of the calendar.
|
|
710
|
-
* ```
|
|
711
|
-
* // Navigate to the next month
|
|
712
|
-
* this.getNextMonth();
|
|
713
|
-
* ```
|
|
714
|
-
*/
|
|
715
|
-
private getNextMonth;
|
|
716
|
-
/**
|
|
717
|
-
* Get the number of days in a given month of a specific year.
|
|
718
|
-
* @param year - The year for which you want to determine the number of days.
|
|
719
|
-
* @param month - The month (0-based index) for which you want to determine the number of days.
|
|
720
|
-
* @returns The number of days in the specified month of the given year.
|
|
721
|
-
*/
|
|
722
|
-
private daysInMonth;
|
|
723
|
-
/**
|
|
724
|
-
* Calculate the structure of days in a month for the calendar display.
|
|
725
|
-
* This method generates a matrix of day data objects representing the days in the calendar.
|
|
726
|
-
* Each day data object contains the date and whether it belongs to the current month.
|
|
727
|
-
* @returns A matrix of day data objects for the calendar display.
|
|
728
|
-
*/
|
|
729
|
-
private calculateFirstDayOfCalendar;
|
|
730
|
-
/**
|
|
731
|
-
* Check if a given date is the currently selected date in the calendar.
|
|
732
|
-
* @param date - The date to check.
|
|
733
|
-
* @returns `true` if the provided date matches the selected date, otherwise `false`.
|
|
734
|
-
* ```
|
|
735
|
-
* // Check if a date is selected
|
|
736
|
-
* const isSelected = this.isDateSelected(someDate);
|
|
737
|
-
* ```
|
|
738
|
-
*/
|
|
739
|
-
private isDateSelected;
|
|
740
|
-
/**
|
|
741
|
-
* Check if a date string is valid based on the specified date format.
|
|
742
|
-
* It also checks whether the specified number, month is correct and whether the specified one exists among calendar years
|
|
743
|
-
* @param inputDate - The date string to validate.
|
|
744
|
-
* @returns `true` if the input date string is valid, otherwise `false`.
|
|
745
|
-
* ```
|
|
746
|
-
* // Check if a date string is valid
|
|
747
|
-
* const isValidDate = this.isDateValid('05/25/2023');
|
|
748
|
-
* ```
|
|
749
|
-
*/
|
|
750
|
-
private isDateValid;
|
|
751
|
-
/**
|
|
752
|
-
* Check if a given date is today's date.
|
|
753
|
-
* @param date - The date to check.
|
|
754
|
-
* @returns `true` if the provided date is today's date, otherwise `false`.
|
|
755
|
-
* ```
|
|
756
|
-
* // Check if a date is today's date
|
|
757
|
-
* const isToday = this.isDateToday(someDate);
|
|
758
|
-
* ```
|
|
759
|
-
*/
|
|
760
|
-
private isDateToday;
|
|
761
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, never>;
|
|
762
|
-
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>;
|
|
334
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardSimpleComponent, never>;
|
|
335
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardSimpleComponent, "mefdev-card-simple", never, { "isDisabled": { "alias": "disabled"; "required": false; }; }, {}, ["card_title"], ["*", "[card-actions]"], false, never>;
|
|
763
336
|
}
|
|
764
337
|
|
|
765
338
|
/**
|
|
@@ -890,653 +463,81 @@ declare class MefDevSelectComponent implements OnInit, AfterContentInit, AfterCo
|
|
|
890
463
|
checkDropDownScroll(): void;
|
|
891
464
|
constructor(_elementRef: ElementRef, _renderer: Renderer2, cDRef: ChangeDetectorRef);
|
|
892
465
|
ngAfterContentInit(): void;
|
|
893
|
-
ngOnInit(): void;
|
|
894
|
-
ngAfterContentChecked(): void;
|
|
895
|
-
private _updateValue;
|
|
896
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevSelectComponent, never>;
|
|
897
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MefDevSelectComponent, "mefdev-select", never, { "Filter": { "alias": "Filter"; "required": false; }; "MaxMultiple": { "alias": "MaxMultiple"; "required": false; }; "FirstDefault": { "alias": "FirstDefault"; "required": false; }; "AllowClear": { "alias": "AllowClear"; "required": false; }; "KeepUnListOptions": { "alias": "KeepUnListOptions"; "required": false; }; "Mode": { "alias": "Mode"; "required": false; }; "Multiple": { "alias": "Multiple"; "required": false; }; "PlaceHolder": { "alias": "PlaceHolder"; "required": false; }; "NotFoundContent": { "alias": "NotFoundContent"; "required": false; }; "Size": { "alias": "Size"; "required": false; }; "ShowSearch": { "alias": "ShowSearch"; "required": false; }; "Tags": { "alias": "Tags"; "required": false; }; "Disabled": { "alias": "Disabled"; "required": false; }; "Open": { "alias": "Open"; "required": false; }; }, { "SearchChange": "SearchChange"; "change": "change"; "OpenChange": "OpenChange"; "ScrollToBottom": "ScrollToBottom"; }, never, never, false, never>;
|
|
898
|
-
}
|
|
899
|
-
|
|
900
|
-
/**
|
|
901
|
-
* @skipTemplateDoc true
|
|
902
|
-
* Component for representing an option in a dropdown list.
|
|
903
|
-
*
|
|
904
|
-
*```
|
|
905
|
-
* <mefdev-select>
|
|
906
|
-
* <mefdev-option Value="1" Label="Option 1"></mefdev-option>
|
|
907
|
-
* <mefdev-option Value="2" Label="Option 2"></mefdev-option>
|
|
908
|
-
* <mefdev-option Value="3" Label="Option 3"></mefdev-option>
|
|
909
|
-
* </mefdev-select>
|
|
910
|
-
*```
|
|
911
|
-
*
|
|
912
|
-
*/
|
|
913
|
-
declare class MefDevOptionComponent implements OnDestroy, OnInit {
|
|
914
|
-
private _Select;
|
|
915
|
-
private _disabled;
|
|
916
|
-
_value: string;
|
|
917
|
-
_label: string;
|
|
918
|
-
/**
|
|
919
|
-
* Template for the content of the option.
|
|
920
|
-
*/
|
|
921
|
-
OptionTemplate: any;
|
|
922
|
-
/**
|
|
923
|
-
* The value of the option.
|
|
924
|
-
*/
|
|
925
|
-
set Value(value: string);
|
|
926
|
-
get Value(): string;
|
|
927
|
-
/**
|
|
928
|
-
* The label of the option.
|
|
929
|
-
*/
|
|
930
|
-
set Label(value: string);
|
|
931
|
-
get Label(): string;
|
|
932
|
-
/**
|
|
933
|
-
* Indicates whether the option is disabled.
|
|
934
|
-
*/
|
|
935
|
-
set Disabled(value: boolean);
|
|
936
|
-
get Disabled(): boolean;
|
|
937
|
-
constructor(_Select: MefDevSelectComponent);
|
|
938
|
-
/**
|
|
939
|
-
* Initialization lifecycle hook.
|
|
940
|
-
* Adds the option to the dropdown list.
|
|
941
|
-
*/
|
|
942
|
-
ngOnInit(): void;
|
|
943
|
-
/**
|
|
944
|
-
* Destruction lifecycle hook.
|
|
945
|
-
* Removes the option from the dropdown list.
|
|
946
|
-
*/
|
|
947
|
-
ngOnDestroy(): void;
|
|
948
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevOptionComponent, never>;
|
|
949
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MefDevOptionComponent, "mefdev-option", never, { "Value": { "alias": "Value"; "required": false; }; "Label": { "alias": "Label"; "required": false; }; "Disabled": { "alias": "Disabled"; "required": false; }; }, {}, ["OptionTemplate"], ["*"], false, never>;
|
|
950
|
-
}
|
|
951
|
-
|
|
952
|
-
declare class OptionPipe implements PipeTransform {
|
|
953
|
-
transform(options: MefDevOptionComponent[], value: any): any;
|
|
954
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OptionPipe, never>;
|
|
955
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<OptionPipe, "OptionPipe", false>;
|
|
956
|
-
}
|
|
957
|
-
|
|
958
|
-
declare class MefDevSelectModule {
|
|
959
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevSelectModule, never>;
|
|
960
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MefDevSelectModule, [typeof OptionPipe, typeof MefDevOptionComponent, typeof MefDevSelectComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i6.OverlayModule], [typeof OptionPipe, typeof MefDevOptionComponent, typeof MefDevSelectComponent]>;
|
|
961
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MefDevSelectModule>;
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
declare class MefDevDatepickerModule {
|
|
965
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevDatepickerModule, never>;
|
|
966
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MefDevDatepickerModule, [typeof DatepickerComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i2.DatePipe, typeof MefDevSelectModule], [typeof DatepickerComponent]>;
|
|
967
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MefDevDatepickerModule>;
|
|
968
|
-
}
|
|
969
|
-
|
|
970
|
-
/**
|
|
971
|
-
* Component for displaying a card with a title, image, and description.
|
|
972
|
-
*
|
|
973
|
-
* Example of usage:
|
|
974
|
-
*
|
|
975
|
-
* ```
|
|
976
|
-
* <mefdev-card>
|
|
977
|
-
* <ng-template #card_title>
|
|
978
|
-
* <!-- Content for the card title -->
|
|
979
|
-
* </ng-template>
|
|
980
|
-
* <ng-template #card_footer>
|
|
981
|
-
* <!-- Content for the card footer -->
|
|
982
|
-
* </ng-template>
|
|
983
|
-
* </mefdev-card>
|
|
984
|
-
* ```
|
|
985
|
-
*
|
|
986
|
-
* <example-url>https://platform.mef.dev/ui_kit_demo/view/page_components/card/card</example-url>
|
|
987
|
-
*/
|
|
988
|
-
declare class CardComponent implements OnInit {
|
|
989
|
-
private router;
|
|
990
|
-
/**
|
|
991
|
-
* The template reference to the content of the card title.
|
|
992
|
-
*
|
|
993
|
-
* @usageNotes
|
|
994
|
-
* ```
|
|
995
|
-
* <mefdev-card>
|
|
996
|
-
* <ng-template #card_title>
|
|
997
|
-
* <!-- Content for the card title -->
|
|
998
|
-
* </ng-template>
|
|
999
|
-
* </mefdev-card>
|
|
1000
|
-
* ```
|
|
1001
|
-
*/
|
|
1002
|
-
card_title: TemplateRef<void>;
|
|
1003
|
-
/**
|
|
1004
|
-
* The template reference to the content of the card footer.
|
|
1005
|
-
* @usageNotes
|
|
1006
|
-
* ```
|
|
1007
|
-
* <mefdev-card>
|
|
1008
|
-
* <ng-template #card_footer>
|
|
1009
|
-
* <!-- Content for the card footer -->
|
|
1010
|
-
* </ng-template>
|
|
1011
|
-
* </mefdev-card>
|
|
1012
|
-
* ```
|
|
1013
|
-
*/
|
|
1014
|
-
card_footer: TemplateRef<void>;
|
|
1015
|
-
/**
|
|
1016
|
-
* The type of the card.
|
|
1017
|
-
* @usageNotes
|
|
1018
|
-
* ```
|
|
1019
|
-
* <mefdev-card [card_type] = "'type'"></mefdev-card>
|
|
1020
|
-
* ```
|
|
1021
|
-
*/
|
|
1022
|
-
card_type: string;
|
|
1023
|
-
/**
|
|
1024
|
-
* The path to the image.
|
|
1025
|
-
* @usageNotes
|
|
1026
|
-
* ```
|
|
1027
|
-
* <mefdev-card [img] = "'img/path/img.png'"></mefdev-card>
|
|
1028
|
-
* ```
|
|
1029
|
-
*/
|
|
1030
|
-
img: string;
|
|
1031
|
-
/**
|
|
1032
|
-
* The path, where user goes after click at the image.
|
|
1033
|
-
* @usageNotes
|
|
1034
|
-
* ```
|
|
1035
|
-
* <mefdev-card [imgUrl] = "'Img.url'"></mefdev-card>
|
|
1036
|
-
* ```
|
|
1037
|
-
*/
|
|
1038
|
-
imgUrl: string;
|
|
1039
|
-
/**
|
|
1040
|
-
* The description of the card.
|
|
1041
|
-
* @usageNotes
|
|
1042
|
-
* ```
|
|
1043
|
-
* <mefdev-card [description] = "'description'"></mefdev-card>
|
|
1044
|
-
* ```
|
|
1045
|
-
*/
|
|
1046
|
-
description: string;
|
|
1047
|
-
constructor(router: Router);
|
|
1048
|
-
ngOnInit(): void;
|
|
1049
|
-
/**
|
|
1050
|
-
* Event handler for image click.
|
|
1051
|
-
* Navigates to the specified URL.
|
|
1052
|
-
*/
|
|
1053
|
-
imgClick(): void;
|
|
1054
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
|
|
1055
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "mefdev-card", never, { "card_type": { "alias": "card_type"; "required": false; }; "img": { "alias": "img"; "required": false; }; "imgUrl": { "alias": "imgUrl"; "required": false; }; "description": { "alias": "description"; "required": false; }; }, {}, ["card_title", "card_footer"], never, false, never>;
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
declare enum CartTypeColors {
|
|
1059
|
-
UNSET = "UNSET",
|
|
1060
|
-
RED = "RED",
|
|
1061
|
-
GREEN = "GREEN"
|
|
1062
|
-
}
|
|
1063
|
-
|
|
1064
|
-
/**
|
|
1065
|
-
* Component for displaying a long card with a title, parameters, and description.
|
|
1066
|
-
*
|
|
1067
|
-
* Example of usage:
|
|
1068
|
-
*
|
|
1069
|
-
* ```
|
|
1070
|
-
* <mefdev-card-long
|
|
1071
|
-
* [type_text]="'Type Text'"
|
|
1072
|
-
* [type_color]="CartTypeColors.RED"
|
|
1073
|
-
* [img]="'path/to/image.jpg'"
|
|
1074
|
-
* [imgUrl]="'path/to/image'"
|
|
1075
|
-
* [description]="'Card description'">
|
|
1076
|
-
*
|
|
1077
|
-
* <ng-template #title>
|
|
1078
|
-
* <!-- Content for the card title -->
|
|
1079
|
-
* </ng-template>
|
|
1080
|
-
|
|
1081
|
-
* <ng-template #params>
|
|
1082
|
-
* <!-- Content for the card parameters -->
|
|
1083
|
-
* </ng-template>
|
|
1084
|
-
|
|
1085
|
-
* <ng-template #second_col>
|
|
1086
|
-
* <!-- Content for the second column -->
|
|
1087
|
-
* </ng-template>
|
|
1088
|
-
|
|
1089
|
-
* <ng-template #third_col>
|
|
1090
|
-
* <!-- Content for the third column -->
|
|
1091
|
-
* </ng-template>
|
|
1092
|
-
* </mefdev-card-long>
|
|
1093
|
-
* ```
|
|
1094
|
-
*
|
|
1095
|
-
* <example-url>https://platform.mef.dev/ui_kit_demo/view/page_components/card/card_long</example-url>
|
|
1096
|
-
*/
|
|
1097
|
-
declare class CardLongComponent implements OnInit {
|
|
1098
|
-
private router;
|
|
1099
|
-
/**
|
|
1100
|
-
* Template for displaying the title of the card.
|
|
1101
|
-
* ```
|
|
1102
|
-
* <mefdev-card-long>
|
|
1103
|
-
* <ng-template #title>
|
|
1104
|
-
* <!-- Content for the card title -->
|
|
1105
|
-
* </ng-template>
|
|
1106
|
-
* </mefdev-card-long>
|
|
1107
|
-
* ```
|
|
1108
|
-
*/
|
|
1109
|
-
title: TemplateRef<void>;
|
|
1110
|
-
/**
|
|
1111
|
-
* Template for displaying the parameters of the card.
|
|
1112
|
-
* ```
|
|
1113
|
-
* <mefdev-card-long>
|
|
1114
|
-
* <ng-template #params>
|
|
1115
|
-
* <!-- Content for the card params -->
|
|
1116
|
-
* </ng-template>
|
|
1117
|
-
* </mefdev-card-long>
|
|
1118
|
-
* ```
|
|
1119
|
-
*/
|
|
1120
|
-
params: TemplateRef<void>;
|
|
1121
|
-
/**
|
|
1122
|
-
* Template for displaying the content of the second column.
|
|
1123
|
-
* ```
|
|
1124
|
-
* <mefdev-card-long>
|
|
1125
|
-
* <ng-template #second_col>
|
|
1126
|
-
* <!-- Content for the card second column -->
|
|
1127
|
-
* </ng-template>
|
|
1128
|
-
* </mefdev-card-long>
|
|
1129
|
-
* ```
|
|
1130
|
-
*/
|
|
1131
|
-
second_col: TemplateRef<void>;
|
|
1132
|
-
/**
|
|
1133
|
-
* Template for displaying the content of the third column.
|
|
1134
|
-
* ```
|
|
1135
|
-
* <mefdev-card-long>
|
|
1136
|
-
* <ng-template #third_col>
|
|
1137
|
-
* <!-- Content for the card third column -->
|
|
1138
|
-
* </ng-template>
|
|
1139
|
-
* </mefdev-card-long>
|
|
1140
|
-
* ```
|
|
1141
|
-
*/
|
|
1142
|
-
third_col: TemplateRef<void>;
|
|
1143
|
-
/**
|
|
1144
|
-
* The text for the card type.
|
|
1145
|
-
* @usageNotes
|
|
1146
|
-
* ```
|
|
1147
|
-
* <mefdev-card-long type_text = "'Type'"></<mefdev-card-long>
|
|
1148
|
-
* ```
|
|
1149
|
-
*/
|
|
1150
|
-
type_text: string;
|
|
1151
|
-
/**
|
|
1152
|
-
* The color of the card type.
|
|
1153
|
-
* @usageNotes
|
|
1154
|
-
* ```
|
|
1155
|
-
* <mefdev-card-long type_color = "'RED'"></<mefdev-card-long>
|
|
1156
|
-
* ```
|
|
1157
|
-
* Colors: RED, UNSET, GREEN
|
|
1158
|
-
|
|
1159
|
-
*/
|
|
1160
|
-
type_color: CartTypeColors;
|
|
1161
|
-
/**
|
|
1162
|
-
* The path to the image.
|
|
1163
|
-
* @usageNotes
|
|
1164
|
-
* ```
|
|
1165
|
-
* <mefdev-card-long [img] = "'img/path/img.png'"></mefdev-card-long>
|
|
1166
|
-
* ```
|
|
1167
|
-
*/
|
|
1168
|
-
img: string;
|
|
1169
|
-
/**
|
|
1170
|
-
* The path, where user goes after click at the image.
|
|
1171
|
-
* @usageNotes
|
|
1172
|
-
* ```
|
|
1173
|
-
* <mefdev-card-long [imgUrl] = "'Img.url'"></mefdev-card-long>
|
|
1174
|
-
* ```
|
|
1175
|
-
*/
|
|
1176
|
-
imgUrl: string;
|
|
1177
|
-
/**
|
|
1178
|
-
* The description of the card.
|
|
1179
|
-
* @usageNotes
|
|
1180
|
-
* ```
|
|
1181
|
-
* <mefdev-card-long [description] = "'description'"></mefdev-card-long>
|
|
1182
|
-
* ```
|
|
1183
|
-
*/
|
|
1184
|
-
description: string;
|
|
1185
|
-
constructor(router: Router);
|
|
1186
|
-
ngOnInit(): void;
|
|
1187
|
-
/**
|
|
1188
|
-
* Event handler for image click.
|
|
1189
|
-
* Navigates to the specified URL.
|
|
1190
|
-
*/
|
|
1191
|
-
imgClick(): void;
|
|
1192
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CardLongComponent, never>;
|
|
1193
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardLongComponent, "mefdev-card-long", never, { "type_text": { "alias": "type_text"; "required": false; }; "type_color": { "alias": "type_color"; "required": false; }; "img": { "alias": "img"; "required": false; }; "imgUrl": { "alias": "imgUrl"; "required": false; }; "description": { "alias": "description"; "required": false; }; }, {}, ["title", "params", "second_col", "third_col"], never, false, never>;
|
|
1194
|
-
}
|
|
1195
|
-
|
|
1196
|
-
/**
|
|
1197
|
-
* Component for displaying a simple card with a title.
|
|
1198
|
-
*
|
|
1199
|
-
* Example of usage:
|
|
1200
|
-
*```
|
|
1201
|
-
* <mefdev-card-simple [disabled]="true">
|
|
1202
|
-
* <ng-template #card_title>
|
|
1203
|
-
* <!-- Content for the card title -->
|
|
1204
|
-
* </ng-template>
|
|
1205
|
-
* </mefdev-card-simple>
|
|
1206
|
-
*```
|
|
1207
|
-
*
|
|
1208
|
-
* <example-url>https://platform.mef.dev/ui_kit_demo/view/page_components/card/card_simple</example-url>
|
|
1209
|
-
*/
|
|
1210
|
-
declare class CardSimpleComponent implements OnInit {
|
|
1211
|
-
/**
|
|
1212
|
-
* Determines whether the card is disabled or not.
|
|
1213
|
-
*/
|
|
1214
|
-
isDisabled: boolean;
|
|
1215
|
-
/**
|
|
1216
|
-
* Template for displaying the title of the card.
|
|
1217
|
-
*```
|
|
1218
|
-
* <mefdev-card-simple>
|
|
1219
|
-
* <ng-template #card_title>
|
|
1220
|
-
* <h3>Card Title</h3>
|
|
1221
|
-
* </ng-template>
|
|
1222
|
-
* </mefdev-card-simple>
|
|
1223
|
-
*```
|
|
1224
|
-
*/
|
|
1225
|
-
card_title: TemplateRef<void>;
|
|
1226
|
-
constructor();
|
|
1227
|
-
ngOnInit(): void;
|
|
1228
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CardSimpleComponent, never>;
|
|
1229
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardSimpleComponent, "mefdev-card-simple", never, { "isDisabled": { "alias": "disabled"; "required": false; }; }, {}, ["card_title"], ["*"], false, never>;
|
|
1230
|
-
}
|
|
1231
|
-
|
|
1232
|
-
/**
|
|
1233
|
-
* Component representing a custom card.
|
|
1234
|
-
* It provides various styling and animation options for the card layout.
|
|
1235
|
-
*
|
|
1236
|
-
* Example usage:
|
|
1237
|
-
* ```
|
|
1238
|
-
* <mefdev-inner-card [Title]="'Card Title'" [Type]="'default'" [MinimalHeader]="false" [ProgressType]="'circle'">
|
|
1239
|
-
* Card content goes here...
|
|
1240
|
-
* </mefdev-inner-card>
|
|
1241
|
-
* ```
|
|
1242
|
-
*/
|
|
1243
|
-
declare class MefdevInnerCard {
|
|
1244
|
-
/**
|
|
1245
|
-
* Indicates whether the card is collapsed or not.
|
|
1246
|
-
* Default: false
|
|
1247
|
-
*/
|
|
1248
|
-
_isCollapsed: boolean;
|
|
1249
|
-
/**
|
|
1250
|
-
* Indicates whether the card is maximized or not.
|
|
1251
|
-
* Default: false
|
|
1252
|
-
*/
|
|
1253
|
-
_isMaximixed: boolean;
|
|
1254
|
-
/**
|
|
1255
|
-
* Indicates whether the card is in loading state or not.
|
|
1256
|
-
* Default: false
|
|
1257
|
-
*/
|
|
1258
|
-
_isLoading: boolean;
|
|
1259
|
-
/**
|
|
1260
|
-
* Indicates whether the card has a minimal header or not.
|
|
1261
|
-
* Default: false
|
|
1262
|
-
*/
|
|
1263
|
-
_minimalHeader: boolean;
|
|
1264
|
-
/**
|
|
1265
|
-
* The message to be displayed in the card.
|
|
1266
|
-
*/
|
|
1267
|
-
_message: string;
|
|
1268
|
-
/**
|
|
1269
|
-
* The type of message to be displayed in the card (e.g., success, danger, warning).
|
|
1270
|
-
* Default: "danger"
|
|
1271
|
-
*/
|
|
1272
|
-
_messageType: string;
|
|
1273
|
-
/**
|
|
1274
|
-
* Indicates whether the message in the card is visible or not.
|
|
1275
|
-
* Default: false
|
|
1276
|
-
*/
|
|
1277
|
-
_messageVisible: boolean;
|
|
1278
|
-
/**
|
|
1279
|
-
* The type of progress indicator to be displayed in the card (e.g., circle, bar, none).
|
|
1280
|
-
* Default: "circle"
|
|
1281
|
-
*/
|
|
1282
|
-
_progressType: string;
|
|
1283
|
-
/**
|
|
1284
|
-
* The color of the progress indicator in the card.
|
|
1285
|
-
*/
|
|
1286
|
-
_progressColor: string;
|
|
1287
|
-
/**
|
|
1288
|
-
* Indicates whether the tools (e.g., refresh, close, maximize) are shown in the card header or not.
|
|
1289
|
-
* Default: true
|
|
1290
|
-
*/
|
|
1291
|
-
_showTools: boolean;
|
|
1292
|
-
_close_card: boolean;
|
|
1293
|
-
_refresh: boolean;
|
|
1294
|
-
_refreshColor: string;
|
|
1295
|
-
/**
|
|
1296
|
-
* Indicates whether the close button in the card is visible or not.
|
|
1297
|
-
* Default: true
|
|
1298
|
-
*/
|
|
1299
|
-
_close: boolean;
|
|
1300
|
-
/**
|
|
1301
|
-
* Indicates whether the toggle button in the card is visible or not.
|
|
1302
|
-
* Default: true
|
|
1303
|
-
*/
|
|
1304
|
-
_toggle: boolean;
|
|
1305
|
-
/**
|
|
1306
|
-
* Indicates whether the maximize button in the card is visible or not.
|
|
1307
|
-
* Default: true
|
|
1308
|
-
*/
|
|
1309
|
-
_maximize: boolean;
|
|
1310
|
-
/**
|
|
1311
|
-
* The timeout value in milliseconds for the loading state of the card.
|
|
1312
|
-
* If set to 0, the loading state will not automatically turn off.
|
|
1313
|
-
* Default: 0
|
|
1314
|
-
*/
|
|
1315
|
-
_timeout: number;
|
|
1316
|
-
/**
|
|
1317
|
-
* The title text to be displayed in the card header.
|
|
1318
|
-
*/
|
|
1319
|
-
_titleText: string;
|
|
1320
|
-
/**
|
|
1321
|
-
* The border style of the card.
|
|
1322
|
-
*/
|
|
1323
|
-
_card_border_style: string;
|
|
1324
|
-
/**
|
|
1325
|
-
* The type of the card (e.g., default, bordered, minimal).
|
|
1326
|
-
* Default: "default"
|
|
1327
|
-
*/
|
|
1328
|
-
_type: string;
|
|
1329
|
-
/**
|
|
1330
|
-
* Additional CSS class(es) to be added to the card header.
|
|
1331
|
-
*/
|
|
1332
|
-
_extraHeaderClass: string;
|
|
1333
|
-
/**
|
|
1334
|
-
* Additional CSS class(es) to be added to the card body.
|
|
1335
|
-
*/
|
|
1336
|
-
_extraBodyClass: string;
|
|
1337
|
-
/**
|
|
1338
|
-
* Additional CSS class(es) to be added to the card.
|
|
1339
|
-
*/
|
|
1340
|
-
_additionalClasses: string;
|
|
1341
|
-
/**
|
|
1342
|
-
* ViewChild reference to the host content element.
|
|
1343
|
-
*/
|
|
1344
|
-
_hostContent: ElementRef;
|
|
1345
|
-
/**
|
|
1346
|
-
* ViewChild reference to the minimal circle loading element.
|
|
1347
|
-
*/
|
|
1348
|
-
minimalCircleLoading: ElementRef;
|
|
1349
|
-
/**
|
|
1350
|
-
* ViewChild reference to the minimal circle loading trigger element.
|
|
1351
|
-
*/
|
|
1352
|
-
minimalCircleLoadingTrigger: ElementRef;
|
|
1353
|
-
/**
|
|
1354
|
-
* ContentChild reference to the CardTitle template.
|
|
1355
|
-
*/
|
|
1356
|
-
CardTitle: TemplateRef<void>;
|
|
1357
|
-
/**
|
|
1358
|
-
* ContentChild reference to the CardExtraControls template.
|
|
1359
|
-
*/
|
|
1360
|
-
CardExtraControls: TemplateRef<void>;
|
|
1361
|
-
/**
|
|
1362
|
-
* The title text to be displayed in the card header.
|
|
1363
|
-
*/
|
|
1364
|
-
set Title(value: string);
|
|
1365
|
-
get Title(): string;
|
|
1366
|
-
/**
|
|
1367
|
-
* The type of the card (e.g., default, bordered, minimal).
|
|
1368
|
-
* Default: "default"
|
|
1369
|
-
*/
|
|
1370
|
-
set Type(value: string);
|
|
1371
|
-
/**
|
|
1372
|
-
* Indicates whether the card has a minimal header or not.
|
|
1373
|
-
* Default: false
|
|
1374
|
-
*/
|
|
1375
|
-
set MinimalHeader(value: boolean);
|
|
1376
|
-
/**
|
|
1377
|
-
* The type of progress indicator to be displayed in the card (e.g., circle, bar, none).
|
|
1378
|
-
* Default: "circle"
|
|
1379
|
-
*/
|
|
1380
|
-
set ProgressType(value: string);
|
|
1381
|
-
/**
|
|
1382
|
-
* The color of the progress indicator in the card.
|
|
1383
|
-
*/
|
|
1384
|
-
set ProgressColor(value: string);
|
|
1385
|
-
/**
|
|
1386
|
-
* Indicates whether the card should have a refresh button or not.
|
|
1387
|
-
*/
|
|
1388
|
-
set Refresh(value: boolean);
|
|
1389
|
-
/**
|
|
1390
|
-
* The color of the refresh button in the card (e.g., light, dark).
|
|
1391
|
-
* Default: "light"
|
|
1392
|
-
*/
|
|
1393
|
-
set RefreshColor(value: string);
|
|
1394
|
-
/**
|
|
1395
|
-
* Indicates whether the card should have a maximize button or not.
|
|
1396
|
-
*/
|
|
1397
|
-
set Maximize(value: boolean);
|
|
1398
|
-
/**
|
|
1399
|
-
* Indicates whether the card should have a close button or not.
|
|
1400
|
-
*/
|
|
1401
|
-
set Close(value: boolean);
|
|
1402
|
-
/**
|
|
1403
|
-
* Indicates whether the card should have a toggle button or not.
|
|
1404
|
-
*/
|
|
1405
|
-
set Toggle(value: boolean);
|
|
1406
|
-
/**
|
|
1407
|
-
* Additional CSS class(es) to be added to the card header.
|
|
1408
|
-
*/
|
|
1409
|
-
set HeaderClass(value: string);
|
|
1410
|
-
/**
|
|
1411
|
-
* Additional CSS class(es) to be added to the card body.
|
|
1412
|
-
*/
|
|
1413
|
-
set BodyClass(value: string);
|
|
1414
|
-
/**
|
|
1415
|
-
* Additional CSS class(es) to be added to the card.
|
|
1416
|
-
*/
|
|
1417
|
-
set AdditionalClasses(value: string);
|
|
1418
|
-
/**
|
|
1419
|
-
* Indicates whether the tools (e.g., refresh, close, maximize) are shown in the card header or not.
|
|
1420
|
-
*/
|
|
1421
|
-
set Controls(value: boolean);
|
|
1422
|
-
/**
|
|
1423
|
-
* Indicates whether the message in the card is visible or not.
|
|
1424
|
-
*/
|
|
1425
|
-
set ShowMessage(value: boolean);
|
|
1426
|
-
/**
|
|
1427
|
-
* The message text to be displayed in the card.
|
|
1428
|
-
*/
|
|
1429
|
-
set Message(value: string);
|
|
1430
|
-
/**
|
|
1431
|
-
* Indicates whether the loading indicator is shown in the card or not.
|
|
1432
|
-
*/
|
|
1433
|
-
set Loading(value: boolean);
|
|
1434
|
-
/**
|
|
1435
|
-
* The timeout duration for the loading indicator (in milliseconds).
|
|
1436
|
-
* If set to 0, the loading indicator will be displayed indefinitely until manually dismissed.
|
|
1437
|
-
* Default: 0
|
|
1438
|
-
*/
|
|
1439
|
-
set TimeOut(value: number);
|
|
1440
|
-
/**
|
|
1441
|
-
* The border style of the card.
|
|
1442
|
-
*/
|
|
1443
|
-
set CardBorderStyle(value: string);
|
|
1444
|
-
/**
|
|
1445
|
-
* Event emitted when the refresh button is clicked.
|
|
1446
|
-
*/
|
|
1447
|
-
onRefresh: EventEmitter<void>;
|
|
1448
|
-
/**
|
|
1449
|
-
* Toggles the collapsed state of the card.
|
|
1450
|
-
*/
|
|
1451
|
-
toggle(): void;
|
|
1452
|
-
/**
|
|
1453
|
-
* Maximizes or restores the card to its original position.
|
|
1454
|
-
*/
|
|
1455
|
-
maximize(): void;
|
|
1456
|
-
/**
|
|
1457
|
-
* Dismisses the message in the card.
|
|
1458
|
-
*/
|
|
1459
|
-
alertDismiss(): void;
|
|
1460
|
-
/**
|
|
1461
|
-
* Triggers the refresh action of the card.
|
|
1462
|
-
*/
|
|
1463
|
-
refresh(): void;
|
|
1464
|
-
/**
|
|
1465
|
-
* Closes the card.
|
|
1466
|
-
*/
|
|
1467
|
-
close(): void;
|
|
1468
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MefdevInnerCard, never>;
|
|
1469
|
-
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>;
|
|
466
|
+
ngOnInit(): void;
|
|
467
|
+
ngAfterContentChecked(): void;
|
|
468
|
+
private _updateValue;
|
|
469
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevSelectComponent, never>;
|
|
470
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MefDevSelectComponent, "mefdev-select", never, { "Filter": { "alias": "Filter"; "required": false; }; "MaxMultiple": { "alias": "MaxMultiple"; "required": false; }; "FirstDefault": { "alias": "FirstDefault"; "required": false; }; "AllowClear": { "alias": "AllowClear"; "required": false; }; "KeepUnListOptions": { "alias": "KeepUnListOptions"; "required": false; }; "Mode": { "alias": "Mode"; "required": false; }; "Multiple": { "alias": "Multiple"; "required": false; }; "PlaceHolder": { "alias": "PlaceHolder"; "required": false; }; "NotFoundContent": { "alias": "NotFoundContent"; "required": false; }; "Size": { "alias": "Size"; "required": false; }; "ShowSearch": { "alias": "ShowSearch"; "required": false; }; "Tags": { "alias": "Tags"; "required": false; }; "Disabled": { "alias": "Disabled"; "required": false; }; "Open": { "alias": "Open"; "required": false; }; }, { "SearchChange": "SearchChange"; "change": "change"; "OpenChange": "OpenChange"; "ScrollToBottom": "ScrollToBottom"; }, never, never, false, never>;
|
|
1470
471
|
}
|
|
1471
472
|
|
|
1472
473
|
/**
|
|
1473
|
-
*
|
|
474
|
+
* @skipTemplateDoc true
|
|
475
|
+
* Component for representing an option in a dropdown list.
|
|
1474
476
|
*
|
|
1475
|
-
|
|
477
|
+
*```
|
|
478
|
+
* <mefdev-select>
|
|
479
|
+
* <mefdev-option Value="1" Label="Option 1"></mefdev-option>
|
|
480
|
+
* <mefdev-option Value="2" Label="Option 2"></mefdev-option>
|
|
481
|
+
* <mefdev-option Value="3" Label="Option 3"></mefdev-option>
|
|
482
|
+
* </mefdev-select>
|
|
483
|
+
*```
|
|
1476
484
|
*
|
|
1477
|
-
* ```
|
|
1478
|
-
* <mefdev-progress type="linear" color="blue" [thick]="true"></mefdev-progress>
|
|
1479
|
-
* <mefdev-progress type="circle" color="red" [indeterminate]="true"></mefdev-progress>
|
|
1480
|
-
* ```
|
|
1481
485
|
*/
|
|
1482
|
-
declare class
|
|
1483
|
-
|
|
1484
|
-
|
|
486
|
+
declare class MefDevOptionComponent implements OnDestroy, OnInit {
|
|
487
|
+
private _Select;
|
|
488
|
+
private _disabled;
|
|
489
|
+
_value: string;
|
|
490
|
+
_label: string;
|
|
1485
491
|
/**
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
*/
|
|
1490
|
-
type: string;
|
|
492
|
+
* Template for the content of the option.
|
|
493
|
+
*/
|
|
494
|
+
OptionTemplate: any;
|
|
1491
495
|
/**
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
color: string;
|
|
496
|
+
* The value of the option.
|
|
497
|
+
*/
|
|
498
|
+
set Value(value: string);
|
|
499
|
+
get Value(): string;
|
|
1497
500
|
/**
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
501
|
+
* The label of the option.
|
|
502
|
+
*/
|
|
503
|
+
set Label(value: string);
|
|
504
|
+
get Label(): string;
|
|
1502
505
|
/**
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
506
|
+
* Indicates whether the option is disabled.
|
|
507
|
+
*/
|
|
508
|
+
set Disabled(value: boolean);
|
|
509
|
+
get Disabled(): boolean;
|
|
510
|
+
constructor(_Select: MefDevSelectComponent);
|
|
1507
511
|
/**
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
get value(): number;
|
|
512
|
+
* Initialization lifecycle hook.
|
|
513
|
+
* Adds the option to the dropdown list.
|
|
514
|
+
*/
|
|
515
|
+
ngOnInit(): void;
|
|
1513
516
|
/**
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
1519
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
517
|
+
* Destruction lifecycle hook.
|
|
518
|
+
* Removes the option from the dropdown list.
|
|
519
|
+
*/
|
|
520
|
+
ngOnDestroy(): void;
|
|
521
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevOptionComponent, never>;
|
|
522
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MefDevOptionComponent, "mefdev-option", never, { "Value": { "alias": "Value"; "required": false; }; "Label": { "alias": "Label"; "required": false; }; "Disabled": { "alias": "Disabled"; "required": false; }; }, {}, ["OptionTemplate"], ["*"], false, never>;
|
|
1520
523
|
}
|
|
1521
524
|
|
|
1522
|
-
declare class
|
|
1523
|
-
|
|
1524
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
1525
|
-
static
|
|
1526
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MefDevProgressModule>;
|
|
525
|
+
declare class OptionPipe implements PipeTransform {
|
|
526
|
+
transform(options: MefDevOptionComponent[], value: any): any;
|
|
527
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OptionPipe, never>;
|
|
528
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<OptionPipe, "OptionPipe", false>;
|
|
1527
529
|
}
|
|
1528
530
|
|
|
1529
|
-
declare class
|
|
1530
|
-
static
|
|
1531
|
-
static
|
|
1532
|
-
static
|
|
1533
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MefdevInnerCardModule>;
|
|
531
|
+
declare class MefDevSelectModule {
|
|
532
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevSelectModule, never>;
|
|
533
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MefDevSelectModule, [typeof OptionPipe, typeof MefDevOptionComponent, typeof MefDevSelectComponent], [typeof i2.CommonModule, typeof i5.FormsModule, typeof i6.OverlayModule], [typeof OptionPipe, typeof MefDevOptionComponent, typeof MefDevSelectComponent]>;
|
|
534
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MefDevSelectModule>;
|
|
1534
535
|
}
|
|
1535
536
|
|
|
1536
|
-
declare const mefDevCardComponents: (typeof
|
|
537
|
+
declare const mefDevCardComponents: (typeof CardSimpleComponent)[];
|
|
1537
538
|
declare class MefDevCardModule {
|
|
1538
539
|
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevCardModule, never>;
|
|
1539
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MefDevCardModule, [typeof
|
|
540
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MefDevCardModule, [typeof CardSimpleComponent], [typeof i2.CommonModule, typeof MefDevCollapseModule, typeof MefDevSelectModule], [typeof CardSimpleComponent]>;
|
|
1540
541
|
static ɵinj: i0.ɵɵInjectorDeclaration<MefDevCardModule>;
|
|
1541
542
|
}
|
|
1542
543
|
|
|
@@ -1793,112 +794,6 @@ declare class MefDevModalModule {
|
|
|
1793
794
|
static ɵinj: i0.ɵɵInjectorDeclaration<MefDevModalModule>;
|
|
1794
795
|
}
|
|
1795
796
|
|
|
1796
|
-
/**
|
|
1797
|
-
* A component representing a user profile.
|
|
1798
|
-
*
|
|
1799
|
-
* Example of usage:
|
|
1800
|
-
*
|
|
1801
|
-
* ```
|
|
1802
|
-
* <mefdev-profile
|
|
1803
|
-
* [name]="'John Doe'"
|
|
1804
|
-
* [img]="'assets/profile.png'"
|
|
1805
|
-
* [shortDescription]="'Lorem ipsum dolor sit amet, consectetur adipiscing elit.'"
|
|
1806
|
-
* [header]="'User Profile'"
|
|
1807
|
-
* [circleImg]="'true'">
|
|
1808
|
-
* <ng-template #first_colum>
|
|
1809
|
-
* <!-- Content for the first column -->
|
|
1810
|
-
* </ng-template>
|
|
1811
|
-
* <ng-template #second_colum>
|
|
1812
|
-
* <!-- Content for the second column -->
|
|
1813
|
-
* </ng-template>
|
|
1814
|
-
* <ng-template #footer>
|
|
1815
|
-
* <!-- Content for the footer -->
|
|
1816
|
-
* </ng-template>
|
|
1817
|
-
* </mefdev-profile>
|
|
1818
|
-
* ```
|
|
1819
|
-
*
|
|
1820
|
-
* <example-url>https://platform.mef.dev/ui_kit_demo/view/page_layouts/profile</example-url>
|
|
1821
|
-
*/
|
|
1822
|
-
declare class ProfileComponent implements OnInit {
|
|
1823
|
-
/**
|
|
1824
|
-
* The template reference to the content of the first column.
|
|
1825
|
-
*```
|
|
1826
|
-
* <ng-template #first_colum>
|
|
1827
|
-
* <!-- Content for the first column -->
|
|
1828
|
-
* </ng-template>
|
|
1829
|
-
*```
|
|
1830
|
-
*/
|
|
1831
|
-
first_colum: TemplateRef<void>;
|
|
1832
|
-
/**
|
|
1833
|
-
* The template reference to the content of the second column.
|
|
1834
|
-
*```
|
|
1835
|
-
* <ng-template #second_colum>
|
|
1836
|
-
* <!-- Content for the second column -->
|
|
1837
|
-
* </ng-template>
|
|
1838
|
-
*```
|
|
1839
|
-
*/
|
|
1840
|
-
second_colum: TemplateRef<void>;
|
|
1841
|
-
/**
|
|
1842
|
-
* The template reference to the content of the footer.
|
|
1843
|
-
*```
|
|
1844
|
-
* <ng-template #footer>
|
|
1845
|
-
* <!-- Content for the footer -->
|
|
1846
|
-
* </ng-template>
|
|
1847
|
-
*```
|
|
1848
|
-
*/
|
|
1849
|
-
footer: TemplateRef<void>;
|
|
1850
|
-
/**
|
|
1851
|
-
* The name of the user.
|
|
1852
|
-
* ```
|
|
1853
|
-
* <mefdev-profile [name]="'John Doe'"></mefdev-profile>
|
|
1854
|
-
* ```
|
|
1855
|
-
*/
|
|
1856
|
-
name: string;
|
|
1857
|
-
/**
|
|
1858
|
-
* The URL of the user's profile image.
|
|
1859
|
-
* ```
|
|
1860
|
-
* <mefdev-profile [img]="'assets/profile.png'"></mefdev-profile>
|
|
1861
|
-
* ```
|
|
1862
|
-
*/
|
|
1863
|
-
img: string;
|
|
1864
|
-
/**
|
|
1865
|
-
* A short description of the user.
|
|
1866
|
-
* ```
|
|
1867
|
-
* <mefdev-profile [shortDescription]="'Lorem ipsum dolor sit amet, consectetur adipiscing elit.'"></mefdev-profile>
|
|
1868
|
-
* ```
|
|
1869
|
-
*/
|
|
1870
|
-
shortDescription: string;
|
|
1871
|
-
/**
|
|
1872
|
-
* The header title of the profile component.
|
|
1873
|
-
* ```
|
|
1874
|
-
* <mefdev-profile [header]="'User Profile'"></mefdev-profile>
|
|
1875
|
-
* ```
|
|
1876
|
-
*/
|
|
1877
|
-
header: string;
|
|
1878
|
-
/**
|
|
1879
|
-
* A flag indicating whether to display the profile image as a circle. Default "false".
|
|
1880
|
-
* ```
|
|
1881
|
-
* <mefdev-profile [circleImg]="'true'"></mefdev-profile>
|
|
1882
|
-
* ```
|
|
1883
|
-
*/
|
|
1884
|
-
circleImg: boolean;
|
|
1885
|
-
constructor();
|
|
1886
|
-
ngOnInit(): void;
|
|
1887
|
-
get sizeStyle(): {
|
|
1888
|
-
'border-top-left-radius'?: undefined;
|
|
1889
|
-
'border-top-right-radius'?: undefined;
|
|
1890
|
-
'border-bottom-right-radius'?: undefined;
|
|
1891
|
-
'border-bottom-left-radius'?: undefined;
|
|
1892
|
-
} | {
|
|
1893
|
-
'border-top-left-radius': string;
|
|
1894
|
-
'border-top-right-radius': string;
|
|
1895
|
-
'border-bottom-right-radius': string;
|
|
1896
|
-
'border-bottom-left-radius': string;
|
|
1897
|
-
};
|
|
1898
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileComponent, never>;
|
|
1899
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProfileComponent, "mefdev-profile", never, { "name": { "alias": "name"; "required": false; }; "img": { "alias": "img"; "required": false; }; "shortDescription": { "alias": "shortDescription"; "required": false; }; "header": { "alias": "header"; "required": false; }; "circleImg": { "alias": "circleImg"; "required": false; }; }, {}, ["first_colum", "second_colum", "footer"], never, false, never>;
|
|
1900
|
-
}
|
|
1901
|
-
|
|
1902
797
|
/**
|
|
1903
798
|
* A component representing a central page layout.
|
|
1904
799
|
*
|
|
@@ -2045,7 +940,7 @@ declare class ManagePageComponent implements OnInit {
|
|
|
2045
940
|
|
|
2046
941
|
declare class MefDevPageLayoutsModule {
|
|
2047
942
|
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevPageLayoutsModule, never>;
|
|
2048
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MefDevPageLayoutsModule, [typeof
|
|
943
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MefDevPageLayoutsModule, [typeof CentralPageComponent, typeof CentralPageRowComponent, typeof TablePageComponent, typeof ManagePageComponent], [typeof i2.CommonModule], [typeof CentralPageComponent, typeof CentralPageRowComponent, typeof TablePageComponent, typeof ManagePageComponent]>;
|
|
2049
944
|
static ɵinj: i0.ɵɵInjectorDeclaration<MefDevPageLayoutsModule>;
|
|
2050
945
|
}
|
|
2051
946
|
|
|
@@ -2329,106 +1224,74 @@ declare class StepExecutorComponent implements AfterViewInit {
|
|
|
2329
1224
|
|
|
2330
1225
|
declare class MefDevStepExecutorModule {
|
|
2331
1226
|
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevStepExecutorModule, never>;
|
|
2332
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MefDevStepExecutorModule, [typeof StepExecutorComponent, typeof MefdevExecutorPageComponent, typeof StageComponent], [typeof MefDevModalModule, typeof i2.CommonModule, typeof
|
|
1227
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MefDevStepExecutorModule, [typeof StepExecutorComponent, typeof MefdevExecutorPageComponent, typeof StageComponent], [typeof MefDevModalModule, typeof i2.CommonModule, typeof i5.FormsModule], [typeof StepExecutorComponent, typeof MefdevExecutorPageComponent, typeof StageComponent]>;
|
|
2333
1228
|
static ɵinj: i0.ɵɵInjectorDeclaration<MefDevStepExecutorModule>;
|
|
2334
1229
|
}
|
|
2335
1230
|
|
|
1231
|
+
declare class MefdevDropdownMenuComponent {
|
|
1232
|
+
private _eref;
|
|
1233
|
+
label: TemplateRef<void>;
|
|
1234
|
+
protected isOpen: boolean;
|
|
1235
|
+
constructor(_eref: ElementRef);
|
|
1236
|
+
onClick($event: any): void;
|
|
1237
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MefdevDropdownMenuComponent, never>;
|
|
1238
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MefdevDropdownMenuComponent, "mefdev-dropdown-menu", never, {}, {}, ["label"], ["*"], false, never>;
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
declare class MefDevDropDownMenuModule {
|
|
1242
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevDropDownMenuModule, never>;
|
|
1243
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MefDevDropDownMenuModule, [typeof MefdevDropdownMenuComponent], [typeof i2.CommonModule], [typeof MefdevDropdownMenuComponent]>;
|
|
1244
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MefDevDropDownMenuModule>;
|
|
1245
|
+
}
|
|
1246
|
+
|
|
2336
1247
|
/**
|
|
2337
|
-
* Component
|
|
2338
|
-
* @example
|
|
2339
|
-
* <mefdev-slider
|
|
2340
|
-
* [disabled]="false"
|
|
2341
|
-
* [range] = "{min: 1, max: 10000}"
|
|
2342
|
-
* [id]= "'slider1'"
|
|
2343
|
-
* (valueChange)="onChildValueChange($event)"
|
|
2344
|
-
* ></mefdev-slider>
|
|
1248
|
+
* Component representing a progress bar.
|
|
2345
1249
|
*
|
|
2346
|
-
*
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
*/
|
|
2357
|
-
id: string;
|
|
2358
|
-
/**
|
|
2359
|
-
* Input Object {min, max} container of the slider
|
|
2360
|
-
* @example
|
|
2361
|
-
* @interval
|
|
2362
|
-
* <mefdev-slider
|
|
2363
|
-
* [range] = "{min: 1, max: 10000}"
|
|
2364
|
-
* ></mefdev-slider>
|
|
2365
|
-
*/
|
|
2366
|
-
set range(range: {
|
|
2367
|
-
min: number;
|
|
2368
|
-
max: number;
|
|
2369
|
-
});
|
|
2370
|
-
get range(): {
|
|
2371
|
-
min: number;
|
|
2372
|
-
max: number;
|
|
2373
|
-
};
|
|
1250
|
+
* Example of usage:
|
|
1251
|
+
*
|
|
1252
|
+
* ```
|
|
1253
|
+
* <mefdev-progress type="linear" color="blue" [thick]="true"></mefdev-progress>
|
|
1254
|
+
* <mefdev-progress type="circle" color="red" [indeterminate]="true"></mefdev-progress>
|
|
1255
|
+
* ```
|
|
1256
|
+
*/
|
|
1257
|
+
declare class MefDevProgressComponent {
|
|
1258
|
+
_value: number;
|
|
1259
|
+
_value2: any;
|
|
2374
1260
|
/**
|
|
2375
|
-
* The
|
|
2376
|
-
|
|
2377
|
-
|
|
1261
|
+
* The type of progress bar.
|
|
1262
|
+
* Possible values: "linear" | "circle".
|
|
1263
|
+
* Default value: "linear".
|
|
1264
|
+
*/
|
|
1265
|
+
type: string;
|
|
2378
1266
|
/**
|
|
2379
|
-
* The
|
|
2380
|
-
|
|
2381
|
-
|
|
1267
|
+
* The color of the progress bar.
|
|
1268
|
+
* Possible values: any valid CSS color value.
|
|
1269
|
+
* Default value: none.
|
|
1270
|
+
*/
|
|
1271
|
+
color: string;
|
|
2382
1272
|
/**
|
|
2383
|
-
*
|
|
2384
|
-
*
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
* ></mefdev-slider>
|
|
2388
|
-
*/
|
|
2389
|
-
disabled: boolean;
|
|
1273
|
+
* Determines whether the progress bar is thick.
|
|
1274
|
+
* Default value: false.
|
|
1275
|
+
*/
|
|
1276
|
+
thick: boolean;
|
|
2390
1277
|
/**
|
|
2391
|
-
*
|
|
2392
|
-
*
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
* @example
|
|
2396
|
-
* <mefdev-slider
|
|
2397
|
-
* (valueChange)="onChildValueChange($event)"
|
|
2398
|
-
* ></mefdev-slider>
|
|
2399
|
-
*/
|
|
2400
|
-
valueChange: EventEmitter<{
|
|
2401
|
-
minValue: number;
|
|
2402
|
-
maxValue: number;
|
|
2403
|
-
}>;
|
|
2404
|
-
/**
|
|
2405
|
-
* Method called when the values of the slider change.
|
|
2406
|
-
* Emits the `valueChange` event and calls methods to handle changes in the minimum and maximum values.
|
|
2407
|
-
* @fires MefDevSliderComponent#valueChange
|
|
2408
|
-
*/
|
|
2409
|
-
onValueChange(): void;
|
|
1278
|
+
* Determines whether the progress bar is indeterminate.
|
|
1279
|
+
* Default value: false.
|
|
1280
|
+
*/
|
|
1281
|
+
indeterminate: boolean;
|
|
2410
1282
|
/**
|
|
2411
|
-
*
|
|
2412
|
-
*
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
onMinValueChange(): void;
|
|
1283
|
+
* The value of the progress bar.
|
|
1284
|
+
* For the "circle" type, it should be a number between 0 and 100.
|
|
1285
|
+
*/
|
|
1286
|
+
set value(value: number);
|
|
1287
|
+
get value(): number;
|
|
2417
1288
|
/**
|
|
2418
|
-
*
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevSliderComponent, never>;
|
|
2425
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MefDevSliderComponent, "mefdev-slider", never, { "id": { "alias": "id"; "required": false; }; "range": { "alias": "range"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
2426
|
-
}
|
|
2427
|
-
|
|
2428
|
-
declare class MefDevSliderModule {
|
|
2429
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevSliderModule, never>;
|
|
2430
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MefDevSliderModule, [typeof MefDevSliderComponent], [typeof i2.CommonModule, typeof i3.FormsModule], [typeof MefDevSliderComponent]>;
|
|
2431
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MefDevSliderModule>;
|
|
1289
|
+
* Additional value property.
|
|
1290
|
+
*/
|
|
1291
|
+
get value2(): any;
|
|
1292
|
+
constructor();
|
|
1293
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevProgressComponent, never>;
|
|
1294
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MefDevProgressComponent, "mefdev-progress", never, { "type": { "alias": "type"; "required": false; }; "color": { "alias": "color"; "required": false; }; "thick": { "alias": "thick"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
|
|
2432
1295
|
}
|
|
2433
1296
|
|
|
2434
1297
|
declare class ProgressConfig {
|
|
@@ -2438,32 +1301,11 @@ declare class ProgressConfig {
|
|
|
2438
1301
|
static ɵprov: i0.ɵɵInjectableDeclaration<ProgressConfig>;
|
|
2439
1302
|
}
|
|
2440
1303
|
|
|
2441
|
-
declare class
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
/**
|
|
2447
|
-
* 0/1 1 - ошибка, 0 - успех (200, 201 и тд)
|
|
2448
|
-
*/
|
|
2449
|
-
ResponseError: any;
|
|
2450
|
-
/**
|
|
2451
|
-
* string для ResponseError=1
|
|
2452
|
-
*/
|
|
2453
|
-
ReportError: any;
|
|
2454
|
-
constructor();
|
|
2455
|
-
ngOnInit(): void;
|
|
2456
|
-
setError(error: any): void;
|
|
2457
|
-
setSuccess(): void;
|
|
2458
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevSpecFlowTestComponent, never>;
|
|
2459
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MefDevSpecFlowTestComponent, "mefdev-spec-flow-test", never, {}, {}, never, never, false, never>;
|
|
2460
|
-
}
|
|
2461
|
-
|
|
2462
|
-
declare class MefDevSpecFlowTestModule {
|
|
2463
|
-
static forRoot(): ModuleWithProviders<MefDevSpecFlowTestModule>;
|
|
2464
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevSpecFlowTestModule, never>;
|
|
2465
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MefDevSpecFlowTestModule, [typeof MefDevSpecFlowTestComponent], [typeof i2.CommonModule], [typeof MefDevSpecFlowTestComponent]>;
|
|
2466
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MefDevSpecFlowTestModule>;
|
|
1304
|
+
declare class MefDevProgressModule {
|
|
1305
|
+
static forRoot(): ModuleWithProviders<MefDevProgressModule>;
|
|
1306
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MefDevProgressModule, never>;
|
|
1307
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MefDevProgressModule, [typeof MefDevProgressComponent], [typeof i2.CommonModule], [typeof MefDevProgressComponent]>;
|
|
1308
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MefDevProgressModule>;
|
|
2467
1309
|
}
|
|
2468
1310
|
|
|
2469
1311
|
/**
|
|
@@ -3205,7 +2047,7 @@ declare class Accordion extends CdkAccordion implements AccordionBase, AfterCont
|
|
|
3205
2047
|
static ngAcceptInputType_hideToggle: unknown;
|
|
3206
2048
|
}
|
|
3207
2049
|
|
|
3208
|
-
declare const components: (typeof
|
|
2050
|
+
declare const components: (typeof ExpansionPanelDescription)[];
|
|
3209
2051
|
declare class MDCollapseModule {
|
|
3210
2052
|
static ɵfac: i0.ɵɵFactoryDeclaration<MDCollapseModule, never>;
|
|
3211
2053
|
static ɵmod: i0.ɵɵNgModuleDeclaration<MDCollapseModule, never, [typeof i2.CommonModule, typeof Accordion, typeof MDExpansionPanel, typeof ExpansionPanelActionRow, typeof MDExpansionPanelHeader, typeof ExpansionPanelTitle, typeof ExpansionPanelDescription, typeof MDExpansionPanelContent], [typeof Accordion, typeof MDExpansionPanel, typeof ExpansionPanelActionRow, typeof MDExpansionPanelHeader, typeof ExpansionPanelTitle, typeof ExpansionPanelDescription, typeof MDExpansionPanelContent]>;
|
|
@@ -3806,7 +2648,7 @@ declare class MDDialogActions extends DialogLayoutSection {
|
|
|
3806
2648
|
|
|
3807
2649
|
declare class MDModalModule {
|
|
3808
2650
|
static ɵfac: i0.ɵɵFactoryDeclaration<MDModalModule, never>;
|
|
3809
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MDModalModule, never, [typeof i1$1.DialogModule, typeof i6.OverlayModule, typeof i3
|
|
2651
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MDModalModule, never, [typeof i1$1.DialogModule, typeof i6.OverlayModule, typeof i3.PortalModule, typeof MDDialogContainer, typeof MDDialogClose, typeof MDDialogTitle, typeof MDDialogActions, typeof MDDialogContent], [typeof MDDialogContainer, typeof MDDialogClose, typeof MDDialogTitle, typeof MDDialogActions, typeof MDDialogContent]>;
|
|
3810
2652
|
static ɵinj: i0.ɵɵInjectorDeclaration<MDModalModule>;
|
|
3811
2653
|
}
|
|
3812
2654
|
|
|
@@ -3987,6 +2829,9 @@ declare class MDStepFooter {
|
|
|
3987
2829
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MDStepFooter, "[mdStepFooter]", never, {}, {}, never, never, true, never>;
|
|
3988
2830
|
}
|
|
3989
2831
|
|
|
2832
|
+
type MDPaginatedStepHeaderItem = FocusableOption & {
|
|
2833
|
+
elementRef: ElementRef;
|
|
2834
|
+
};
|
|
3990
2835
|
/**
|
|
3991
2836
|
* ErrorStateMatcher that shows errors only once a control is dirty
|
|
3992
2837
|
* (or when the parent form was submitted). Useful for “show on edit”.
|
|
@@ -4042,7 +2887,7 @@ declare class MDStep extends CdkStep implements ErrorStateMatcher, AfterContentI
|
|
|
4042
2887
|
* - Tracks and emits animation lifecycle.
|
|
4043
2888
|
* - Supports custom icon overrides via <ng-template mdStepperIcon name="...">.
|
|
4044
2889
|
*/
|
|
4045
|
-
declare class MDStepper extends CdkStepper implements AfterViewInit, AfterContentInit, OnDestroy {
|
|
2890
|
+
declare class MDStepper extends CdkStepper implements AfterViewInit, AfterContentInit, AfterViewChecked, OnDestroy {
|
|
4046
2891
|
/** Run transition listeners outside Angular for perf. */
|
|
4047
2892
|
private _ngZone;
|
|
4048
2893
|
/** Used to set up/tear down transitionend listeners. */
|
|
@@ -4078,7 +2923,8 @@ declare class MDStepper extends CdkStepper implements AfterViewInit, AfterConten
|
|
|
4078
2923
|
private _animationDuration;
|
|
4079
2924
|
/** SSR guard (avoid DOM APIs when not in browser). */
|
|
4080
2925
|
protected _isServer: boolean;
|
|
4081
|
-
|
|
2926
|
+
private _sharedResizeObserver;
|
|
2927
|
+
constructor();
|
|
4082
2928
|
/**
|
|
4083
2929
|
* After content init:
|
|
4084
2930
|
* - Collect custom icon templates.
|
|
@@ -4086,6 +2932,44 @@ declare class MDStepper extends CdkStepper implements AfterViewInit, AfterConten
|
|
|
4086
2932
|
* - Toggle animating flag on selected index changes and prepare CSS listeners.
|
|
4087
2933
|
*/
|
|
4088
2934
|
ngAfterContentInit(): void;
|
|
2935
|
+
ngAfterViewChecked(): void;
|
|
2936
|
+
private _stopScrolling;
|
|
2937
|
+
private _eventCleanups;
|
|
2938
|
+
private _selectedIndexChanged;
|
|
2939
|
+
private _stepLabelCount;
|
|
2940
|
+
private changeDetectorRef;
|
|
2941
|
+
private _platform;
|
|
2942
|
+
disablePagination: boolean;
|
|
2943
|
+
get selectedIndex(): number;
|
|
2944
|
+
set selectedIndex(v: number);
|
|
2945
|
+
_stepHeaderElRef: ElementRef<HTMLElement>;
|
|
2946
|
+
_stepListContainer: ElementRef<HTMLElement>;
|
|
2947
|
+
_stepList: ElementRef<HTMLElement>;
|
|
2948
|
+
_stepListInner: ElementRef<HTMLElement>;
|
|
2949
|
+
_nextPaginator: ElementRef<HTMLElement>;
|
|
2950
|
+
_previousPaginator: ElementRef<HTMLElement>;
|
|
2951
|
+
private _scrollDistanceChanged;
|
|
2952
|
+
private _scrollDistance;
|
|
2953
|
+
_showPaginationControls: boolean;
|
|
2954
|
+
_disableScrollAfter: boolean;
|
|
2955
|
+
_disableScrollBefore: boolean;
|
|
2956
|
+
get scrollDistance(): number;
|
|
2957
|
+
set scrollDistance(value: number);
|
|
2958
|
+
_handlePaginatorClick(direction: ScrollDirection$1): void;
|
|
2959
|
+
_handlePaginatorPress(direction: ScrollDirection$1, mouseEvent?: MouseEvent): void;
|
|
2960
|
+
_scrollHeader(direction: ScrollDirection$1): {
|
|
2961
|
+
maxScrollDistance: number;
|
|
2962
|
+
distance: number;
|
|
2963
|
+
};
|
|
2964
|
+
_stopInterval(): void;
|
|
2965
|
+
_scrollToLabel(labelIndex: number): void;
|
|
2966
|
+
private _itemsResized;
|
|
2967
|
+
private _scrollTo;
|
|
2968
|
+
_checkScrollingControls(): void;
|
|
2969
|
+
_getMaxScrollDistance(): number;
|
|
2970
|
+
_updateTabScrollPosition(): void;
|
|
2971
|
+
updatePagination(): void;
|
|
2972
|
+
_checkPaginationEnabled(): void;
|
|
4089
2973
|
/**
|
|
4090
2974
|
* After view init:
|
|
4091
2975
|
* - Emit initial animationDone once containers are rendered.
|
|
@@ -4105,7 +2989,7 @@ declare class MDStepper extends CdkStepper implements AfterViewInit, AfterConten
|
|
|
4105
2989
|
/** Clear the animating flag and emit animationDone to consumers. */
|
|
4106
2990
|
private _onAnimationDone;
|
|
4107
2991
|
static ɵfac: i0.ɵɵFactoryDeclaration<MDStepper, never>;
|
|
4108
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MDStepper, "md-stepper, md-vertical-stepper, md-horizontal-stepper, [mdStepper]", ["mdStepper", "mdVerticalStepper", "mdHorizontalStepper"], { "labelPosition": { "alias": "labelPosition"; "required": false; }; "headerPosition": { "alias": "headerPosition"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; }, { "animationDone": "animationDone"; }, ["footer", "_steps", "_icons"], ["*"], true, never>;
|
|
2992
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDStepper, "md-stepper, md-vertical-stepper, md-horizontal-stepper, [mdStepper]", ["mdStepper", "mdVerticalStepper", "mdHorizontalStepper"], { "labelPosition": { "alias": "labelPosition"; "required": false; }; "headerPosition": { "alias": "headerPosition"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; "disablePagination": { "alias": "disablePagination"; "required": false; }; }, { "animationDone": "animationDone"; }, ["footer", "_steps", "_icons"], ["*"], true, never>;
|
|
4109
2993
|
}
|
|
4110
2994
|
|
|
4111
2995
|
/**
|
|
@@ -4137,7 +3021,7 @@ declare class MDStepperPrevious extends CdkStepperPrevious {
|
|
|
4137
3021
|
|
|
4138
3022
|
declare class MDStepExecutorModule {
|
|
4139
3023
|
static ɵfac: i0.ɵɵFactoryDeclaration<MDStepExecutorModule, never>;
|
|
4140
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MDStepExecutorModule, never, [typeof i2.CommonModule, typeof i3
|
|
3024
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MDStepExecutorModule, never, [typeof i2.CommonModule, typeof i3.PortalModule, typeof i3$1.CdkStepperModule, typeof MDStep, typeof MDStepLabel, typeof MDStepper, typeof MDStepperNext, typeof MDStepperPrevious, typeof MDStepHeader, typeof MDStepperIcon, typeof MDStepContent, typeof MDStepFooter], [typeof i2.CommonModule, typeof MDStep, typeof MDStepLabel, typeof MDStepper, typeof MDStepperNext, typeof MDStepperPrevious, typeof MDStepHeader, typeof MDStepperIcon, typeof MDStepContent, typeof MDStepFooter]>;
|
|
4141
3025
|
static ɵinj: i0.ɵɵInjectorDeclaration<MDStepExecutorModule>;
|
|
4142
3026
|
}
|
|
4143
3027
|
|
|
@@ -4522,7 +3406,7 @@ declare class PseudoCheckbox {
|
|
|
4522
3406
|
|
|
4523
3407
|
declare class MDSelectModule {
|
|
4524
3408
|
static ɵfac: i0.ɵɵFactoryDeclaration<MDSelectModule, never>;
|
|
4525
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MDSelectModule, never, [typeof i2.CommonModule, typeof
|
|
3409
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MDSelectModule, never, [typeof i2.CommonModule, typeof i5.FormsModule, typeof i6.OverlayModule, typeof MDOption, typeof MDOptionGroup, typeof MDSelect, typeof PseudoCheckbox], [typeof MDOption, typeof MDOptionGroup, typeof MDSelect]>;
|
|
4526
3410
|
static ɵinj: i0.ɵɵInjectorDeclaration<MDSelectModule>;
|
|
4527
3411
|
}
|
|
4528
3412
|
|
|
@@ -5529,6 +4413,6 @@ declare class MDTabsModule {
|
|
|
5529
4413
|
static ɵinj: i0.ɵɵInjectorDeclaration<MDTabsModule>;
|
|
5530
4414
|
}
|
|
5531
4415
|
|
|
5532
|
-
export { ACCORDION, Accordion, CARD_CONFIG,
|
|
5533
|
-
export type { AccordionBase, AccordionDisplayMode, AccordionTogglePosition, AnimatedInterface, AutoFocusTarget, CardAppearance, CardConfig, DialogPosition, DialogRole, ExpansionPanelBase, ExpansionPanelDefaultOptions, ExpansionPanelState, PseudoCheckboxState, ScrollDirection, StepperIconContext, TabBodyOriginState, TabBodyPositionState, TabGroupBaseHeader, TabHeaderPosition, TabPosition, TabPositionMode, TabType, TabsConfig, ToggleSwitchChangeEvent };
|
|
4416
|
+
export { ACCORDION, Accordion, CARD_CONFIG, CardSimpleComponent, CentralPageComponent, CentralPageRowComponent, CollapseComponent, CollapseSetComponent, DIALOG_DATA, DIALOG_DEFAULT_OPTIONS, DIALOG_SCROLL_STRATEGY, DialogState, EXPANSION_PANEL_DEFAULT_OPTIONS, ErrorStateMatcher, ExpansionPanelActionRow, ExpansionPanelDescription, ExpansionPanelTitle, FillComponent, FilteredFieldContainerComponent, FilteredFieldItemComponent, FilteredFieldService, FiltredItemModel, INK_BAR_POSITIONER, INK_BAR_POSITIONER_FACTORY, InkBar, MDCard, MDCardActions, MDCardAvatar, MDCardContent, MDCardFooter, MDCardHeader, MDCardImage, MDCardLgImage, MDCardMdImage, MDCardModule, MDCardSmImage, MDCardSubtitle, MDCardTitle, MDCardTitleGroup, MDCardXlImage, MDCollapseModule, MDDialog, MDDialogActions, MDDialogClose, MDDialogContainer, MDDialogContent, MDDialogTitle, MDExpansionPanel, MDExpansionPanelContent, MDExpansionPanelHeader, MDModalModule, MDOption, MDOptionGroup, MDOptionSelectionChange, MDSelect, MDSelectModule, MDSelectTrigger, MDStep, MDStepContent, MDStepExecutorModule, MDStepFooter, MDStepHeader, MDStepLabel, MDStepper, MDStepperIcon, MDStepperNext, MDStepperPrevious, MDSwitch, MDSwitchModule, MDTab, MDTabBody, MDTabChangeEvent, MDTabContent, MDTabGroup, MDTabHeader, MDTabLabel, MDTabLabelWrapper, MDTabsModule, MD_EXPANSION_PANEL, MD_SELECT_TRIGGER, MD_TAB, MD_TAB_LABEL, ManagePageComponent, MefDevCardModule, MefDevCollapseModule, MefDevDialogConfig, MefDevDialogRef, MefDevDropDownMenuModule, MefDevFilteredFieldModule, MefDevModalModule, MefDevOptionComponent, MefDevPageLayoutsModule, MefDevProgressComponent, MefDevProgressModule, MefDevSelectComponent, MefDevSelectModule, MefDevStepExecutorModule, MefDevSwitchComponent, MefDevSwitchModule, MefDevTabBodyComponent, MefDevTabComponent, MefDevTabLabelDirective, MefDevTabSetComponent, MefDevTabsInkBarDirective, MefDevTabsModule, MefDevTabsNavComponent, MefdevDropdownMenuComponent, MefdevExecutorPageComponent, ModalSize, OptionPipe, PaginatedTabHeader, ProgressConfig, PseudoCheckbox, RightFilterComponent, STEPPER_INTL_PROVIDER, STEPPER_INTL_PROVIDER_FACTORY, SelectChange, ShowOnDirtyErrorStateMatcher, SlideRightComponent, SlideUpComponent, StageComponent, StepExecutorComponent, StepperIntl, TABS_CONFIG, TAB_CONTENT, TAB_GROUP, TabBodyPortal, TabChangeEvent, TablePageComponent, _closeDialogVia, _countGroupLabelsBeforeOption, _getOptionScrollPosition, components, mefDevCardComponents, mefDevCollapseModuleComponents };
|
|
4417
|
+
export type { AccordionBase, AccordionDisplayMode, AccordionTogglePosition, AnimatedInterface, AutoFocusTarget, CardAppearance, CardConfig, DialogPosition, DialogRole, ExpansionPanelBase, ExpansionPanelDefaultOptions, ExpansionPanelState, MDPaginatedStepHeaderItem, PseudoCheckboxState, ScrollDirection, StepperIconContext, TabBodyOriginState, TabBodyPositionState, TabGroupBaseHeader, TabHeaderPosition, TabPosition, TabPositionMode, TabType, TabsConfig, ToggleSwitchChangeEvent };
|
|
5534
4418
|
//# sourceMappingURL=index.d.ts.map
|