dasar-ui 2.1.0 → 2.2.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/dasar-ui.mjs +5509 -3580
- package/fesm2022/dasar-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/dasar-ui.d.ts +2072 -1388
package/types/dasar-ui.d.ts
CHANGED
|
@@ -4,7 +4,10 @@ import { ControlValueAccessor } from "@angular/forms";
|
|
|
4
4
|
import { ScaleAttributeType } from "@models/type.model";
|
|
5
5
|
import { SafeHtml } from "@angular/platform-browser";
|
|
6
6
|
import { DasarListConfig as DasarListConfig$1, DasarListItemConfig as DasarListItemConfig$1 } from "@components/dasar-list/dasar-list";
|
|
7
|
-
import {
|
|
7
|
+
import { DasarPaginationConfig as DasarPaginationConfig$1 } from "@components/dasar-pagination/dasar-pagination";
|
|
8
|
+
import { DasarSwitchConfig as DasarSwitchConfig$1 } from "@components/dasar-switch/dasar-switch";
|
|
9
|
+
import { DasarSkeletonConfig as DasarSkeletonConfig$1 } from "@components/dasar-skeleton/dasar-skeleton";
|
|
10
|
+
import { DasarComponentConfig as DasarComponentConfig$1, DasarThemeAlert as DasarThemeAlert$1, DasarThemeButton as DasarThemeButton$1, DasarThemeButtonGroup as DasarThemeButtonGroup$1, DasarThemeCalendar as DasarThemeCalendar$1, DasarThemeCard as DasarThemeCard$1, DasarThemeCheckbox as DasarThemeCheckbox$1, DasarThemeChip as DasarThemeChip$1, DasarThemeCommon as DasarThemeCommon$1, DasarThemeConfig as DasarThemeConfig$1, DasarThemeDatepicker as DasarThemeDatepicker$1, DasarThemeDivider as DasarThemeDivider$1, DasarThemeInput as DasarThemeInput$1, DasarThemeMenu as DasarThemeMenu$1, DasarThemeModal as DasarThemeModal$1, DasarThemeMode as DasarThemeMode$1, DasarThemeOverlay as DasarThemeOverlay$1, DasarThemeRadio as DasarThemeRadio$1, DasarThemeSelect as DasarThemeSelect$1, DasarThemeSkeleton as DasarThemeSkeleton$1, DasarThemeTabs as DasarThemeTabs$1 } from "@models/theme.model";
|
|
8
11
|
import { Observable } from "rxjs";
|
|
9
12
|
type ClassType = string | string[] | Set<string> | {
|
|
10
13
|
[klass: string]: any;
|
|
@@ -259,6 +262,7 @@ export declare class DasarNumberInput implements ControlValueAccessor {
|
|
|
259
262
|
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
260
263
|
inputStyle: NonNullable<StyleType | undefined> | null;
|
|
261
264
|
hintStyle: NonNullable<StyleType | undefined> | null;
|
|
265
|
+
readonly hintId: string;
|
|
262
266
|
hideOverflow: NonNullable<boolean | undefined>;
|
|
263
267
|
valueChange: EventEmitter<number | null>;
|
|
264
268
|
onIncrementClick: EventEmitter<number>;
|
|
@@ -392,503 +396,446 @@ export declare class DasarNumberInput implements ControlValueAccessor {
|
|
|
392
396
|
static ngAcceptInputType_hideOverflow: unknown;
|
|
393
397
|
}
|
|
394
398
|
export declare const DasarNumberInputComponent: readonly [typeof DasarNumberInputDecrementSlot, typeof DasarNumberInputIncrementSlot, typeof DasarNumberInputPrefixSlot, typeof DasarNumberInput];
|
|
395
|
-
export type
|
|
396
|
-
export type
|
|
397
|
-
export
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
radius
|
|
403
|
-
size
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DasarPagination, "dasar-pagination", never, {
|
|
415
|
-
"showFirstLast": {
|
|
416
|
-
"alias": "showFirstLast";
|
|
417
|
-
"required": false;
|
|
418
|
-
};
|
|
419
|
-
"disabled": {
|
|
420
|
-
"alias": "disabled";
|
|
421
|
-
"required": false;
|
|
422
|
-
};
|
|
423
|
-
"appearance": {
|
|
424
|
-
"alias": "appearance";
|
|
425
|
-
"required": false;
|
|
426
|
-
};
|
|
427
|
-
"radius": {
|
|
428
|
-
"alias": "radius";
|
|
429
|
-
"required": false;
|
|
430
|
-
};
|
|
431
|
-
"size": {
|
|
432
|
-
"alias": "size";
|
|
433
|
-
"required": false;
|
|
434
|
-
};
|
|
435
|
-
"siblingCount": {
|
|
436
|
-
"alias": "siblingCount";
|
|
437
|
-
"required": false;
|
|
438
|
-
};
|
|
439
|
-
"currentPage": {
|
|
440
|
-
"alias": "currentPage";
|
|
441
|
-
"required": false;
|
|
442
|
-
};
|
|
443
|
-
"pageSize": {
|
|
444
|
-
"alias": "pageSize";
|
|
445
|
-
"required": false;
|
|
446
|
-
};
|
|
447
|
-
"totalItems": {
|
|
448
|
-
"alias": "totalItems";
|
|
449
|
-
"required": false;
|
|
450
|
-
};
|
|
451
|
-
}, {
|
|
452
|
-
"pageChange": "pageChange";
|
|
453
|
-
}, never, never, true, never>;
|
|
454
|
-
static ngAcceptInputType_showFirstLast: unknown;
|
|
455
|
-
static ngAcceptInputType_disabled: unknown;
|
|
399
|
+
export type DasarChipAppearanceType = DasarButtonAppearanceType;
|
|
400
|
+
export type DasarChipVariantType = DasarButtonVariantType;
|
|
401
|
+
export interface DasarChipConfig {
|
|
402
|
+
closeIconName?: string;
|
|
403
|
+
appearance?: DasarChipAppearanceType;
|
|
404
|
+
variant?: DasarChipVariantType;
|
|
405
|
+
iconName?: string;
|
|
406
|
+
radius?: DasarButtonRadiusType;
|
|
407
|
+
size?: DasarButtonSizeType;
|
|
408
|
+
label?: string;
|
|
409
|
+
removable?: boolean;
|
|
410
|
+
disabled?: boolean;
|
|
411
|
+
fluid?: boolean;
|
|
412
|
+
containerStyle?: StyleType;
|
|
413
|
+
contentStyle?: StyleType;
|
|
414
|
+
labelStyle?: StyleType;
|
|
415
|
+
containerClass?: ClassType;
|
|
416
|
+
contentClass?: ClassType;
|
|
417
|
+
labelClass?: ClassType;
|
|
456
418
|
}
|
|
457
|
-
export declare
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
export type DasarTextareaRadiusType = ScaleAttributeType;
|
|
461
|
-
export declare class DasarTextareaLabelSlot {
|
|
462
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTextareaLabelSlot, never>;
|
|
463
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTextareaLabelSlot, "[label-slot]", never, {}, {}, never, never, true, never>;
|
|
419
|
+
export declare class DasarChipLabelSlot {
|
|
420
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarChipLabelSlot, never>;
|
|
421
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarChipLabelSlot, "[chip-label-slot]", never, {}, {}, never, never, true, never>;
|
|
464
422
|
}
|
|
465
|
-
export declare class
|
|
466
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
467
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
423
|
+
export declare class DasarChipCloseSlot {
|
|
424
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarChipCloseSlot, never>;
|
|
425
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarChipCloseSlot, "[chip-close-slot]", never, {}, {}, never, never, true, never>;
|
|
468
426
|
}
|
|
469
|
-
export declare class
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
appearance: DasarTextareaAppearanceType;
|
|
473
|
-
labelRight?: string | TemplateRef<any>;
|
|
474
|
-
size: DasarTextareaSizeType;
|
|
475
|
-
radius: DasarTextareaRadiusType;
|
|
476
|
-
hint: string;
|
|
477
|
-
placeholder: string;
|
|
478
|
-
label?: string;
|
|
479
|
-
rows: number;
|
|
480
|
-
cols: number;
|
|
481
|
-
fullWidth: boolean;
|
|
482
|
-
disabled: boolean;
|
|
483
|
-
readonly: boolean;
|
|
484
|
-
error: boolean;
|
|
485
|
-
containerClass: string | string[] | Set<string> | {
|
|
486
|
-
[klass: string]: any;
|
|
487
|
-
};
|
|
488
|
-
textareaClass: string | string[] | Set<string> | {
|
|
489
|
-
[klass: string]: any;
|
|
490
|
-
};
|
|
491
|
-
hostClass: string | string[] | Set<string> | {
|
|
492
|
-
[klass: string]: any;
|
|
493
|
-
};
|
|
494
|
-
containerStyle: Record<string, any> | null;
|
|
495
|
-
textareaStyle: Record<string, any> | null;
|
|
496
|
-
hostStyle: Record<string, any> | null;
|
|
427
|
+
export declare class DasarChip {
|
|
428
|
+
private themeProvider;
|
|
429
|
+
private themeService;
|
|
497
430
|
private cdr;
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
431
|
+
closeIconName: string;
|
|
432
|
+
appearance: NonNullable<DasarButtonAppearanceType | undefined>;
|
|
433
|
+
variant: NonNullable<DasarButtonVariantType | undefined>;
|
|
434
|
+
iconName: string | undefined;
|
|
435
|
+
radius: NonNullable<ScaleAttributeType$1 | undefined>;
|
|
436
|
+
size: NonNullable<DasarButtonSizeType | undefined>;
|
|
437
|
+
label: string | undefined;
|
|
438
|
+
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
439
|
+
contentStyle: NonNullable<StyleType | undefined> | null;
|
|
440
|
+
labelStyle: NonNullable<StyleType | undefined> | null;
|
|
441
|
+
containerClass: NonNullable<ClassType> | null;
|
|
442
|
+
contentClass: NonNullable<ClassType> | null;
|
|
443
|
+
labelClass: NonNullable<ClassType> | null;
|
|
444
|
+
removable: NonNullable<boolean | undefined>;
|
|
445
|
+
disabled: NonNullable<boolean | undefined>;
|
|
446
|
+
fluid: NonNullable<boolean | undefined>;
|
|
447
|
+
labelSlot?: DasarChipLabelSlot;
|
|
448
|
+
closeSlot?: DasarChipCloseSlot;
|
|
449
|
+
onClick: EventEmitter<Event>;
|
|
450
|
+
onRemove: EventEmitter<Event>;
|
|
502
451
|
readonly baseClass = true;
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
onBlur(): void;
|
|
513
|
-
isTemplate(value: any): boolean;
|
|
514
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTextarea, never>;
|
|
515
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DasarTextarea, "dasar-textarea", never, {
|
|
452
|
+
onHostClick(event: MouseEvent): void;
|
|
453
|
+
click(event: Event): void;
|
|
454
|
+
remove(event: Event): void;
|
|
455
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarChip, never>;
|
|
456
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarChip, "dasar-chip", never, {
|
|
457
|
+
"closeIconName": {
|
|
458
|
+
"alias": "close-icon-name";
|
|
459
|
+
"required": false;
|
|
460
|
+
};
|
|
516
461
|
"appearance": {
|
|
517
462
|
"alias": "appearance";
|
|
518
463
|
"required": false;
|
|
519
464
|
};
|
|
520
|
-
"
|
|
521
|
-
"alias": "
|
|
465
|
+
"variant": {
|
|
466
|
+
"alias": "variant";
|
|
522
467
|
"required": false;
|
|
523
468
|
};
|
|
524
|
-
"
|
|
525
|
-
"alias": "
|
|
469
|
+
"iconName": {
|
|
470
|
+
"alias": "icon-name";
|
|
526
471
|
"required": false;
|
|
527
472
|
};
|
|
528
473
|
"radius": {
|
|
529
474
|
"alias": "radius";
|
|
530
475
|
"required": false;
|
|
531
476
|
};
|
|
532
|
-
"
|
|
533
|
-
"alias": "
|
|
534
|
-
"required": false;
|
|
535
|
-
};
|
|
536
|
-
"placeholder": {
|
|
537
|
-
"alias": "placeholder";
|
|
477
|
+
"size": {
|
|
478
|
+
"alias": "size";
|
|
538
479
|
"required": false;
|
|
539
480
|
};
|
|
540
481
|
"label": {
|
|
541
482
|
"alias": "label";
|
|
542
483
|
"required": false;
|
|
543
484
|
};
|
|
544
|
-
"
|
|
545
|
-
"alias": "
|
|
546
|
-
"required": false;
|
|
547
|
-
};
|
|
548
|
-
"cols": {
|
|
549
|
-
"alias": "cols";
|
|
550
|
-
"required": false;
|
|
551
|
-
};
|
|
552
|
-
"fullWidth": {
|
|
553
|
-
"alias": "fullWidth";
|
|
554
|
-
"required": false;
|
|
555
|
-
};
|
|
556
|
-
"disabled": {
|
|
557
|
-
"alias": "disabled";
|
|
485
|
+
"containerStyle": {
|
|
486
|
+
"alias": "container-style";
|
|
558
487
|
"required": false;
|
|
559
488
|
};
|
|
560
|
-
"
|
|
561
|
-
"alias": "
|
|
489
|
+
"contentStyle": {
|
|
490
|
+
"alias": "content-style";
|
|
562
491
|
"required": false;
|
|
563
492
|
};
|
|
564
|
-
"
|
|
565
|
-
"alias": "
|
|
493
|
+
"labelStyle": {
|
|
494
|
+
"alias": "label-style";
|
|
566
495
|
"required": false;
|
|
567
496
|
};
|
|
568
497
|
"containerClass": {
|
|
569
|
-
"alias": "
|
|
570
|
-
"required": false;
|
|
571
|
-
};
|
|
572
|
-
"textareaClass": {
|
|
573
|
-
"alias": "textareaClass";
|
|
498
|
+
"alias": "container-class";
|
|
574
499
|
"required": false;
|
|
575
500
|
};
|
|
576
|
-
"
|
|
577
|
-
"alias": "
|
|
501
|
+
"contentClass": {
|
|
502
|
+
"alias": "content-class";
|
|
578
503
|
"required": false;
|
|
579
504
|
};
|
|
580
|
-
"
|
|
581
|
-
"alias": "
|
|
505
|
+
"labelClass": {
|
|
506
|
+
"alias": "label-class";
|
|
582
507
|
"required": false;
|
|
583
508
|
};
|
|
584
|
-
"
|
|
585
|
-
"alias": "
|
|
509
|
+
"removable": {
|
|
510
|
+
"alias": "removable";
|
|
586
511
|
"required": false;
|
|
587
512
|
};
|
|
588
|
-
"
|
|
589
|
-
"alias": "
|
|
513
|
+
"disabled": {
|
|
514
|
+
"alias": "disabled";
|
|
590
515
|
"required": false;
|
|
591
516
|
};
|
|
592
|
-
"
|
|
593
|
-
"alias": "
|
|
517
|
+
"fluid": {
|
|
518
|
+
"alias": "fluid";
|
|
594
519
|
"required": false;
|
|
595
520
|
};
|
|
596
521
|
}, {
|
|
597
|
-
"
|
|
598
|
-
|
|
599
|
-
|
|
522
|
+
"onClick": "onClick";
|
|
523
|
+
"onRemove": "onRemove";
|
|
524
|
+
}, ["labelSlot", "closeSlot"], ["[chip-label-slot]", "*", "[chip-close-slot]"], true, never>;
|
|
525
|
+
static ngAcceptInputType_removable: unknown;
|
|
600
526
|
static ngAcceptInputType_disabled: unknown;
|
|
601
|
-
static
|
|
602
|
-
static ngAcceptInputType_error: unknown;
|
|
603
|
-
}
|
|
604
|
-
export declare const DasarTextareaComponent: readonly [typeof DasarTextareaExtraLabelSlot, typeof DasarTextareaLabelSlot, typeof DasarTextarea];
|
|
605
|
-
export type DasarTableAppearance = 'outline' | 'filled' | 'elevated' | 'borderless';
|
|
606
|
-
export type DasarTableSize = Extract<ScaleAttributeType$1, 'sm' | 'md' | 'lg'>;
|
|
607
|
-
export type DasarTableSpacing = 'compact' | 'normal' | 'relaxed';
|
|
608
|
-
export type DasarTableSortDirection = 'asc' | 'desc' | null;
|
|
609
|
-
export interface DasarTableColumn {
|
|
610
|
-
cellClass?: ClassType | ((row: any, index: number) => ClassType);
|
|
611
|
-
cellStyle?: StyleType | ((row: any, index: number) => StyleType);
|
|
612
|
-
align?: 'left' | 'center' | 'right';
|
|
613
|
-
headerClass?: ClassType;
|
|
614
|
-
headerStyle?: StyleType;
|
|
615
|
-
sortable?: boolean;
|
|
616
|
-
width?: string;
|
|
617
|
-
label?: string;
|
|
618
|
-
key: string;
|
|
527
|
+
static ngAcceptInputType_fluid: unknown;
|
|
619
528
|
}
|
|
620
|
-
export
|
|
621
|
-
|
|
622
|
-
|
|
529
|
+
export declare const DasarChipComponent: readonly [typeof DasarChip, typeof DasarChipLabelSlot, typeof DasarChipCloseSlot];
|
|
530
|
+
export type DasarPanelPlacement = 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end';
|
|
531
|
+
export type DasarPlacementRect = Pick<DOMRect, 'top' | 'bottom' | 'left' | 'right' | 'width' | 'height'>;
|
|
532
|
+
export interface DasarPlacementTarget {
|
|
533
|
+
getBoundingClientRect(): DasarPlacementRect;
|
|
623
534
|
}
|
|
624
|
-
export
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
535
|
+
export declare function computeSmartPlacement(trigger: DasarPlacementTarget, panel: DasarPlacementTarget, preferred: DasarPanelPlacement, margin?: number): DasarPanelPlacement;
|
|
536
|
+
export type DasarSelectSizeType = Extract<ScaleAttributeType$1, 'sm' | 'md' | 'lg'>;
|
|
537
|
+
export type DasarSelectPlacementType = DasarPanelPlacement;
|
|
538
|
+
export type DasarSelectChipSizeType = Extract<ScaleAttributeType$1, 'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
|
|
539
|
+
export type DasarSelectMultipleDisplayType = 'text' | 'chip' | null;
|
|
540
|
+
export type DasarSelectAppearanceType = 'outline' | 'filled';
|
|
541
|
+
export type DasarSelectRadiusType = ScaleAttributeType$1;
|
|
542
|
+
export interface DasarSelectConfig {
|
|
543
|
+
multipleType?: DasarSelectMultipleDisplayType;
|
|
544
|
+
arrowIconName?: string;
|
|
545
|
+
debounceTime?: number;
|
|
546
|
+
appearance?: DasarSelectAppearanceType;
|
|
547
|
+
radius?: DasarSelectRadiusType;
|
|
548
|
+
options?: DasarSelectOption[];
|
|
549
|
+
chipSize?: DasarSelectChipSizeType;
|
|
550
|
+
size?: DasarSelectSizeType;
|
|
551
|
+
hint?: string;
|
|
552
|
+
placeholder?: string;
|
|
553
|
+
labelRight?: string;
|
|
554
|
+
label?: string;
|
|
555
|
+
dropdownPanelClass?: ClassType;
|
|
640
556
|
containerClass?: ClassType;
|
|
557
|
+
optionClass?: ClassType;
|
|
558
|
+
placement?: DasarPanelPlacement;
|
|
559
|
+
dropdownPanelStyle?: StyleType;
|
|
641
560
|
containerStyle?: StyleType;
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
paginationStyle?: StyleType;
|
|
561
|
+
hintClass?: ClassType;
|
|
562
|
+
hintStyle?: StyleType;
|
|
563
|
+
fullWidth?: boolean;
|
|
564
|
+
clearable?: boolean;
|
|
565
|
+
searchable?: boolean;
|
|
566
|
+
disabled?: boolean;
|
|
567
|
+
loading?: boolean;
|
|
568
|
+
error?: boolean;
|
|
569
|
+
hideOverflow?: boolean;
|
|
652
570
|
}
|
|
653
|
-
export declare class
|
|
654
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
655
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
571
|
+
export declare class DasarSelectPrefixSlot {
|
|
572
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSelectPrefixSlot, never>;
|
|
573
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarSelectPrefixSlot, "[prefix-slot]", never, {}, {}, never, never, true, never>;
|
|
656
574
|
}
|
|
657
|
-
export declare class
|
|
658
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
659
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
575
|
+
export declare class DasarSelectSuffixSlot {
|
|
576
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSelectSuffixSlot, never>;
|
|
577
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarSelectSuffixSlot, "[suffix-slot]", never, {}, {}, never, never, true, never>;
|
|
660
578
|
}
|
|
661
|
-
export declare class
|
|
662
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
663
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
579
|
+
export declare class DasarSelectLabelSlot {
|
|
580
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSelectLabelSlot, never>;
|
|
581
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarSelectLabelSlot, "[label-slot]", never, {}, {}, never, never, true, never>;
|
|
664
582
|
}
|
|
665
|
-
export declare class
|
|
666
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
667
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
583
|
+
export declare class DasarSelectExtraLabelSlot {
|
|
584
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSelectExtraLabelSlot, never>;
|
|
585
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarSelectExtraLabelSlot, "[extra-label-slot]", never, {}, {}, never, never, true, never>;
|
|
668
586
|
}
|
|
669
|
-
export declare class
|
|
587
|
+
export declare class DasarSelectOptionLoadingSlot {
|
|
588
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSelectOptionLoadingSlot, never>;
|
|
589
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarSelectOptionLoadingSlot, "[option-loading-slot]", never, {}, {}, never, never, true, never>;
|
|
590
|
+
}
|
|
591
|
+
export declare class DasarSelectOptionEmptySlot {
|
|
592
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSelectOptionEmptySlot, never>;
|
|
593
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarSelectOptionEmptySlot, "[option-empty-slot]", never, {}, {}, never, never, true, never>;
|
|
594
|
+
}
|
|
595
|
+
export declare class DasarSelectChipTemplate {
|
|
670
596
|
templateRef: TemplateRef<any>;
|
|
671
597
|
constructor(templateRef: TemplateRef<any>);
|
|
672
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
673
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
598
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSelectChipTemplate, never>;
|
|
599
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarSelectChipTemplate, "[chip-template]", never, {}, {}, never, never, true, never>;
|
|
674
600
|
}
|
|
675
|
-
export declare class
|
|
601
|
+
export declare class DasarSelectOptionTemplate {
|
|
676
602
|
templateRef: TemplateRef<any>;
|
|
677
|
-
columnName: string;
|
|
678
603
|
constructor(templateRef: TemplateRef<any>);
|
|
679
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
680
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
681
|
-
"columnName": {
|
|
682
|
-
"alias": "cell-slot";
|
|
683
|
-
"required": false;
|
|
684
|
-
};
|
|
685
|
-
}, {}, never, never, true, never>;
|
|
604
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSelectOptionTemplate, never>;
|
|
605
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarSelectOptionTemplate, "[option-template]", never, {}, {}, never, never, true, never>;
|
|
686
606
|
}
|
|
687
|
-
export
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
607
|
+
export interface DasarSelectOption {
|
|
608
|
+
chipVariant?: DasarChipVariantType;
|
|
609
|
+
chipClass?: ClassType;
|
|
610
|
+
chipStyle?: StyleType;
|
|
611
|
+
disabled?: boolean;
|
|
612
|
+
iconName?: string;
|
|
613
|
+
label: string;
|
|
614
|
+
value: any;
|
|
615
|
+
[key: string]: any;
|
|
616
|
+
}
|
|
617
|
+
export declare class DasarSelect implements ControlValueAccessor {
|
|
618
|
+
searchInput?: ElementRef<HTMLInputElement>;
|
|
619
|
+
triggerEl?: ElementRef<HTMLElement>;
|
|
620
|
+
panelEl?: ElementRef<HTMLElement>;
|
|
621
|
+
optionLoadingSlot?: DasarSelectOptionLoadingSlot;
|
|
622
|
+
optionEmptySlot?: DasarSelectOptionEmptySlot;
|
|
623
|
+
optionTemplate?: DasarSelectOptionTemplate;
|
|
624
|
+
extraLabelSlot?: DasarSelectExtraLabelSlot;
|
|
625
|
+
chipTemplate?: DasarSelectChipTemplate;
|
|
626
|
+
prefixSlot?: DasarSelectPrefixSlot;
|
|
627
|
+
suffixSlot?: DasarSelectSuffixSlot;
|
|
628
|
+
labelSlot?: DasarSelectLabelSlot;
|
|
694
629
|
private themeProvider;
|
|
695
630
|
private themeService;
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
631
|
+
private cdr;
|
|
632
|
+
private elementRef;
|
|
633
|
+
private debounceTimer;
|
|
634
|
+
searchQuery: string;
|
|
635
|
+
isOpen: boolean;
|
|
636
|
+
multipleType: DasarSelectMultipleDisplayType;
|
|
637
|
+
chipSize: DasarSelectChipSizeType;
|
|
638
|
+
arrowIconName: string;
|
|
639
|
+
debounceTime: number;
|
|
640
|
+
appearance: NonNullable<DasarSelectAppearanceType | undefined>;
|
|
641
|
+
radius: NonNullable<ScaleAttributeType$1 | undefined>;
|
|
642
|
+
private _placement;
|
|
643
|
+
set placement(value: DasarSelectPlacementType);
|
|
644
|
+
get placement(): DasarSelectPlacementType;
|
|
645
|
+
currentPlacement: DasarSelectPlacementType;
|
|
646
|
+
get iconSize(): number;
|
|
647
|
+
options: never[] | DasarSelectOption[];
|
|
648
|
+
size: NonNullable<DasarSelectSizeType | undefined>;
|
|
649
|
+
hint: string | undefined;
|
|
650
|
+
placeholder: string;
|
|
651
|
+
label: string | undefined;
|
|
652
|
+
labelRight: string | undefined;
|
|
653
|
+
dropdownPanelClass: NonNullable<ClassType> | null;
|
|
654
|
+
containerClass: NonNullable<ClassType> | null;
|
|
655
|
+
optionClass: NonNullable<ClassType> | null;
|
|
656
|
+
dropdownPanelStyle: NonNullable<StyleType | undefined> | null;
|
|
717
657
|
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
index: number;
|
|
736
|
-
event: MouseEvent;
|
|
737
|
-
}>;
|
|
738
|
-
onSortChange: EventEmitter<DasarTableSortEvent>;
|
|
739
|
-
onRowExpandChange: EventEmitter<{
|
|
740
|
-
row: any;
|
|
741
|
-
index: number;
|
|
742
|
-
expanded: boolean;
|
|
743
|
-
}>;
|
|
658
|
+
hintClass: NonNullable<ClassType> | null;
|
|
659
|
+
hintStyle: NonNullable<StyleType | undefined> | null;
|
|
660
|
+
readonly hintId: string;
|
|
661
|
+
fullWidth: NonNullable<boolean | undefined>;
|
|
662
|
+
clearable: NonNullable<boolean | undefined>;
|
|
663
|
+
searchable: NonNullable<boolean | undefined>;
|
|
664
|
+
disabled: NonNullable<boolean | undefined>;
|
|
665
|
+
loading: NonNullable<boolean | undefined>;
|
|
666
|
+
error: NonNullable<boolean | undefined>;
|
|
667
|
+
hideOverflow: NonNullable<boolean | undefined>;
|
|
668
|
+
valueChange: EventEmitter<any>;
|
|
669
|
+
onBlurEvent: EventEmitter<FocusEvent>;
|
|
670
|
+
onSearchChange: EventEmitter<string>;
|
|
671
|
+
onFocus: EventEmitter<FocusEvent>;
|
|
672
|
+
onPanelOpened: EventEmitter<void>;
|
|
673
|
+
onPanelClosed: EventEmitter<void>;
|
|
674
|
+
onCleared: EventEmitter<void>;
|
|
744
675
|
readonly baseClass = true;
|
|
745
|
-
|
|
746
|
-
get
|
|
747
|
-
|
|
748
|
-
get
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
676
|
+
get hasFullWidth(): boolean;
|
|
677
|
+
get isDisabled(): boolean;
|
|
678
|
+
_value: any;
|
|
679
|
+
get value(): any;
|
|
680
|
+
set value(val: any);
|
|
681
|
+
onChange: any;
|
|
682
|
+
onTouched: any;
|
|
683
|
+
writeValue(val: any): void;
|
|
684
|
+
registerOnChange(fn: any): void;
|
|
685
|
+
registerOnTouched(fn: any): void;
|
|
686
|
+
setDisabledState(isDisabled: boolean): void;
|
|
687
|
+
get hasValue(): boolean;
|
|
688
|
+
get isMultiple(): boolean;
|
|
689
|
+
get selectedOption(): DasarSelectOption | undefined;
|
|
690
|
+
get selectedOptions(): DasarSelectOption[];
|
|
691
|
+
get filteredOptions(): DasarSelectOption[];
|
|
692
|
+
onDocumentClick(event: MouseEvent): void;
|
|
693
|
+
onGlobalSelectOpened(event: any): void;
|
|
694
|
+
removeOption(option: DasarSelectOption, event: Event): void;
|
|
695
|
+
clearSelection(event: Event): void;
|
|
696
|
+
toggleDropdown(): void;
|
|
697
|
+
openPanel(): void;
|
|
698
|
+
onViewportChange(): void;
|
|
699
|
+
private recalculatePlacement;
|
|
700
|
+
closePanel(): void;
|
|
701
|
+
isOptionSelected(option: DasarSelectOption): boolean;
|
|
702
|
+
selectOption(option: DasarSelectOption, event: Event): void;
|
|
703
|
+
getMultipleDisplayText(): string;
|
|
704
|
+
onSearchInput(query: string): void;
|
|
705
|
+
onInputFocus(event?: FocusEvent): void;
|
|
706
|
+
onInputBlur(event?: FocusEvent): void;
|
|
707
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSelect, never>;
|
|
708
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarSelect, "dasar-select", never, {
|
|
709
|
+
"multipleType": {
|
|
710
|
+
"alias": "multiple-type";
|
|
770
711
|
"required": false;
|
|
771
712
|
};
|
|
772
|
-
"
|
|
773
|
-
"alias": "
|
|
713
|
+
"chipSize": {
|
|
714
|
+
"alias": "chip-size";
|
|
774
715
|
"required": false;
|
|
775
716
|
};
|
|
776
|
-
"
|
|
777
|
-
"alias": "
|
|
717
|
+
"arrowIconName": {
|
|
718
|
+
"alias": "arrow-icon-name";
|
|
778
719
|
"required": false;
|
|
779
720
|
};
|
|
780
|
-
"
|
|
781
|
-
"alias": "
|
|
721
|
+
"debounceTime": {
|
|
722
|
+
"alias": "debounce-time";
|
|
782
723
|
"required": false;
|
|
783
724
|
};
|
|
784
|
-
"
|
|
785
|
-
"alias": "
|
|
725
|
+
"appearance": {
|
|
726
|
+
"alias": "appearance";
|
|
786
727
|
"required": false;
|
|
787
728
|
};
|
|
788
|
-
"
|
|
789
|
-
"alias": "
|
|
729
|
+
"radius": {
|
|
730
|
+
"alias": "radius";
|
|
790
731
|
"required": false;
|
|
791
732
|
};
|
|
792
|
-
"
|
|
793
|
-
"alias": "
|
|
733
|
+
"placement": {
|
|
734
|
+
"alias": "placement";
|
|
794
735
|
"required": false;
|
|
795
736
|
};
|
|
796
|
-
"
|
|
797
|
-
"alias": "
|
|
737
|
+
"options": {
|
|
738
|
+
"alias": "options";
|
|
798
739
|
"required": false;
|
|
799
740
|
};
|
|
800
741
|
"size": {
|
|
801
742
|
"alias": "size";
|
|
802
743
|
"required": false;
|
|
803
744
|
};
|
|
804
|
-
"
|
|
805
|
-
"alias": "
|
|
745
|
+
"hint": {
|
|
746
|
+
"alias": "hint";
|
|
806
747
|
"required": false;
|
|
807
748
|
};
|
|
808
|
-
"
|
|
809
|
-
"alias": "
|
|
749
|
+
"placeholder": {
|
|
750
|
+
"alias": "placeholder";
|
|
810
751
|
"required": false;
|
|
811
752
|
};
|
|
812
|
-
"
|
|
813
|
-
"alias": "
|
|
753
|
+
"label": {
|
|
754
|
+
"alias": "label";
|
|
814
755
|
"required": false;
|
|
815
756
|
};
|
|
816
|
-
"
|
|
817
|
-
"alias": "
|
|
757
|
+
"labelRight": {
|
|
758
|
+
"alias": "labelRight";
|
|
818
759
|
"required": false;
|
|
819
760
|
};
|
|
820
|
-
"
|
|
821
|
-
"alias": "
|
|
761
|
+
"dropdownPanelClass": {
|
|
762
|
+
"alias": "dropdown-panel-class";
|
|
822
763
|
"required": false;
|
|
823
764
|
};
|
|
824
765
|
"containerClass": {
|
|
825
|
-
"alias": "
|
|
766
|
+
"alias": "container-class";
|
|
826
767
|
"required": false;
|
|
827
768
|
};
|
|
828
|
-
"
|
|
829
|
-
"alias": "
|
|
769
|
+
"optionClass": {
|
|
770
|
+
"alias": "option-class";
|
|
830
771
|
"required": false;
|
|
831
772
|
};
|
|
832
|
-
"
|
|
833
|
-
"alias": "
|
|
773
|
+
"dropdownPanelStyle": {
|
|
774
|
+
"alias": "dropdown-panel-style";
|
|
834
775
|
"required": false;
|
|
835
776
|
};
|
|
836
|
-
"
|
|
837
|
-
"alias": "
|
|
777
|
+
"containerStyle": {
|
|
778
|
+
"alias": "container-style";
|
|
838
779
|
"required": false;
|
|
839
780
|
};
|
|
840
|
-
"
|
|
841
|
-
"alias": "
|
|
781
|
+
"hintClass": {
|
|
782
|
+
"alias": "hint-class";
|
|
842
783
|
"required": false;
|
|
843
784
|
};
|
|
844
|
-
"
|
|
845
|
-
"alias": "
|
|
785
|
+
"hintStyle": {
|
|
786
|
+
"alias": "hint-style";
|
|
846
787
|
"required": false;
|
|
847
788
|
};
|
|
848
|
-
"
|
|
849
|
-
"alias": "
|
|
789
|
+
"fullWidth": {
|
|
790
|
+
"alias": "full-width";
|
|
850
791
|
"required": false;
|
|
851
792
|
};
|
|
852
|
-
"
|
|
853
|
-
"alias": "
|
|
793
|
+
"clearable": {
|
|
794
|
+
"alias": "clearable";
|
|
854
795
|
"required": false;
|
|
855
796
|
};
|
|
856
|
-
"
|
|
857
|
-
"alias": "
|
|
797
|
+
"searchable": {
|
|
798
|
+
"alias": "searchable";
|
|
858
799
|
"required": false;
|
|
859
800
|
};
|
|
860
|
-
"
|
|
861
|
-
"alias": "
|
|
801
|
+
"disabled": {
|
|
802
|
+
"alias": "disabled";
|
|
862
803
|
"required": false;
|
|
863
804
|
};
|
|
864
|
-
"
|
|
865
|
-
"alias": "
|
|
805
|
+
"loading": {
|
|
806
|
+
"alias": "loading";
|
|
866
807
|
"required": false;
|
|
867
808
|
};
|
|
868
|
-
"
|
|
869
|
-
"alias": "
|
|
809
|
+
"error": {
|
|
810
|
+
"alias": "error";
|
|
811
|
+
"required": false;
|
|
812
|
+
};
|
|
813
|
+
"hideOverflow": {
|
|
814
|
+
"alias": "hide-overflow";
|
|
815
|
+
"required": false;
|
|
816
|
+
};
|
|
817
|
+
"value": {
|
|
818
|
+
"alias": "value";
|
|
870
819
|
"required": false;
|
|
871
820
|
};
|
|
872
821
|
}, {
|
|
873
|
-
"
|
|
874
|
-
"
|
|
875
|
-
"
|
|
876
|
-
"
|
|
877
|
-
"
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
static
|
|
822
|
+
"valueChange": "valueChange";
|
|
823
|
+
"onBlurEvent": "onBlurEvent";
|
|
824
|
+
"onSearchChange": "onSearchChange";
|
|
825
|
+
"onFocus": "onFocus";
|
|
826
|
+
"onPanelOpened": "onPanelOpened";
|
|
827
|
+
"onPanelClosed": "onPanelClosed";
|
|
828
|
+
"onCleared": "onCleared";
|
|
829
|
+
}, ["optionLoadingSlot", "optionEmptySlot", "optionTemplate", "extraLabelSlot", "chipTemplate", "prefixSlot", "suffixSlot", "labelSlot"], ["[label-slot]", "[extra-label-slot]", "[prefix-slot]", "[suffix-slot]", "[option-loading-slot]", "[option-empty-slot]"], true, never>;
|
|
830
|
+
static ngAcceptInputType_fullWidth: unknown;
|
|
831
|
+
static ngAcceptInputType_clearable: unknown;
|
|
832
|
+
static ngAcceptInputType_searchable: unknown;
|
|
833
|
+
static ngAcceptInputType_disabled: unknown;
|
|
882
834
|
static ngAcceptInputType_loading: unknown;
|
|
883
|
-
static
|
|
884
|
-
|
|
885
|
-
export declare const DasarTableComponent: readonly [typeof DasarTablePaginationSlot, typeof DasarTableCellDirective, typeof DasarTableExpandedSlot, typeof DasarTableHeaderSlot, typeof DasarTableEmptySlot, typeof DasarTableBodySlot, typeof DasarTable];
|
|
886
|
-
export type DasarPanelPlacement = 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end';
|
|
887
|
-
export type DasarPlacementRect = Pick<DOMRect, 'top' | 'bottom' | 'left' | 'right' | 'width' | 'height'>;
|
|
888
|
-
export interface DasarPlacementTarget {
|
|
889
|
-
getBoundingClientRect(): DasarPlacementRect;
|
|
835
|
+
static ngAcceptInputType_error: unknown;
|
|
836
|
+
static ngAcceptInputType_hideOverflow: unknown;
|
|
890
837
|
}
|
|
891
|
-
export declare
|
|
838
|
+
export declare const DasarSelectComponent: readonly [typeof DasarSelect, typeof DasarSelectLabelSlot, typeof DasarSelectSuffixSlot, typeof DasarSelectChipTemplate, typeof DasarSelectOptionTemplate, typeof DasarSelectExtraLabelSlot, typeof DasarSelectOptionEmptySlot, typeof DasarSelectOptionLoadingSlot, typeof DasarSelectPrefixSlot];
|
|
892
839
|
export type DasarMenuPlacementType = DasarPanelPlacement;
|
|
893
840
|
export type DasarMenuSizeType = Extract<ScaleAttributeType$1, 'sm' | 'md' | 'lg'>;
|
|
894
841
|
export type DasarMenuAppearanceType = 'none' | 'outline' | 'filled';
|
|
@@ -985,392 +932,614 @@ export declare class DasarMenu {
|
|
|
985
932
|
"alias": "placement";
|
|
986
933
|
"required": false;
|
|
987
934
|
};
|
|
988
|
-
"appearance": {
|
|
989
|
-
"alias": "appearance";
|
|
935
|
+
"appearance": {
|
|
936
|
+
"alias": "appearance";
|
|
937
|
+
"required": false;
|
|
938
|
+
};
|
|
939
|
+
"radius": {
|
|
940
|
+
"alias": "radius";
|
|
941
|
+
"required": false;
|
|
942
|
+
};
|
|
943
|
+
"size": {
|
|
944
|
+
"alias": "size";
|
|
945
|
+
"required": false;
|
|
946
|
+
};
|
|
947
|
+
"label": {
|
|
948
|
+
"alias": "label";
|
|
949
|
+
"required": false;
|
|
950
|
+
};
|
|
951
|
+
"items": {
|
|
952
|
+
"alias": "items";
|
|
953
|
+
"required": false;
|
|
954
|
+
};
|
|
955
|
+
"containerStyle": {
|
|
956
|
+
"alias": "containerStyle";
|
|
957
|
+
"required": false;
|
|
958
|
+
};
|
|
959
|
+
"panelStyle": {
|
|
960
|
+
"alias": "panelStyle";
|
|
961
|
+
"required": false;
|
|
962
|
+
};
|
|
963
|
+
"itemStyle": {
|
|
964
|
+
"alias": "itemStyle";
|
|
965
|
+
"required": false;
|
|
966
|
+
};
|
|
967
|
+
"containerClass": {
|
|
968
|
+
"alias": "containerClass";
|
|
969
|
+
"required": false;
|
|
970
|
+
};
|
|
971
|
+
"panelClass": {
|
|
972
|
+
"alias": "panelClass";
|
|
973
|
+
"required": false;
|
|
974
|
+
};
|
|
975
|
+
"itemClass": {
|
|
976
|
+
"alias": "itemClass";
|
|
977
|
+
"required": false;
|
|
978
|
+
};
|
|
979
|
+
"disabled": {
|
|
980
|
+
"alias": "disabled";
|
|
981
|
+
"required": false;
|
|
982
|
+
};
|
|
983
|
+
"fluid": {
|
|
984
|
+
"alias": "fluid";
|
|
985
|
+
"required": false;
|
|
986
|
+
};
|
|
987
|
+
}, {
|
|
988
|
+
"onItemClick": "onItemClick";
|
|
989
|
+
"onPanelOpen": "onPanelOpen";
|
|
990
|
+
"onPanelClose": "onPanelClose";
|
|
991
|
+
}, ["providedMenuItem", "providedMenuLabel", "providedMenuPrefix", "providedMenuSuffix"], ["[prefix-slot]", "[menu-label-slot]", "*", "[suffix-slot]"], true, never>;
|
|
992
|
+
static ngAcceptInputType_disabled: unknown;
|
|
993
|
+
static ngAcceptInputType_fluid: unknown;
|
|
994
|
+
}
|
|
995
|
+
export declare const DasarMenuComponent: readonly [typeof DasarMenuLabelSlot, typeof DasarMenuItemTemplate, typeof DasarMenuPrefixSlot, typeof DasarMenuSuffixSlot, typeof DasarMenu];
|
|
996
|
+
export type DasarPaginationSizeType = Extract<ScaleAttributeType$1, 'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
|
|
997
|
+
export type DasarPaginationRadiusType = ScaleAttributeType$1;
|
|
998
|
+
export type DasarPaginationAppearanceType = 'ghost' | 'solid' | 'subtle' | 'outline';
|
|
999
|
+
export type DasarPaginationSpacingType = Extract<ScaleAttributeType$1, 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
|
|
1000
|
+
export type DasarPaginationDisplayItem = 'pages' | 'size-picker' | 'quick-jumper-dropdown';
|
|
1001
|
+
export type DasarPaginationItem = {
|
|
1002
|
+
type: 'page';
|
|
1003
|
+
page: number;
|
|
1004
|
+
} | {
|
|
1005
|
+
type: 'ellipsis';
|
|
1006
|
+
key: 'left' | 'right';
|
|
1007
|
+
pages: number[];
|
|
1008
|
+
};
|
|
1009
|
+
export interface DasarPaginationConfig {
|
|
1010
|
+
defaultPage?: number;
|
|
1011
|
+
pageCount?: number;
|
|
1012
|
+
pageSizes?: number;
|
|
1013
|
+
pageSizeOptions?: number[];
|
|
1014
|
+
pageSlot?: number;
|
|
1015
|
+
displayOrder?: DasarPaginationDisplayItem[];
|
|
1016
|
+
disabled?: boolean;
|
|
1017
|
+
size?: DasarPaginationSizeType;
|
|
1018
|
+
radius?: DasarPaginationRadiusType;
|
|
1019
|
+
appearance?: DasarPaginationAppearanceType;
|
|
1020
|
+
label?: string | null;
|
|
1021
|
+
spacing?: DasarPaginationSpacingType;
|
|
1022
|
+
prevIcon?: string;
|
|
1023
|
+
nextIcon?: string;
|
|
1024
|
+
fluid?: boolean;
|
|
1025
|
+
containerClass?: ClassType;
|
|
1026
|
+
containerStyle?: StyleType;
|
|
1027
|
+
}
|
|
1028
|
+
export declare class DasarPaginationLabelSlot {
|
|
1029
|
+
readonly templateRef: TemplateRef<any>;
|
|
1030
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPaginationLabelSlot, never>;
|
|
1031
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPaginationLabelSlot, "ng-template[label-slot]", never, {}, {}, never, never, true, never>;
|
|
1032
|
+
}
|
|
1033
|
+
export declare class DasarPaginationPrevSlot {
|
|
1034
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPaginationPrevSlot, never>;
|
|
1035
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPaginationPrevSlot, "[prev-slot]", never, {}, {}, never, never, true, never>;
|
|
1036
|
+
}
|
|
1037
|
+
export declare class DasarPaginationNextSlot {
|
|
1038
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPaginationNextSlot, never>;
|
|
1039
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPaginationNextSlot, "[next-slot]", never, {}, {}, never, never, true, never>;
|
|
1040
|
+
}
|
|
1041
|
+
export declare class DasarPaginationPrefixSlot {
|
|
1042
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPaginationPrefixSlot, never>;
|
|
1043
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPaginationPrefixSlot, "[prefix-slot]", never, {}, {}, never, never, true, never>;
|
|
1044
|
+
}
|
|
1045
|
+
export declare class DasarPaginationSuffixSlot {
|
|
1046
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPaginationSuffixSlot, never>;
|
|
1047
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPaginationSuffixSlot, "[suffix-slot]", never, {}, {}, never, never, true, never>;
|
|
1048
|
+
}
|
|
1049
|
+
export declare class DasarPagination implements OnInit {
|
|
1050
|
+
labelSlot?: DasarPaginationLabelSlot;
|
|
1051
|
+
providedPrev?: DasarPaginationPrevSlot;
|
|
1052
|
+
providedNext?: DasarPaginationNextSlot;
|
|
1053
|
+
providedPrefix?: DasarPaginationPrefixSlot;
|
|
1054
|
+
providedSuffix?: DasarPaginationSuffixSlot;
|
|
1055
|
+
private themeProvider;
|
|
1056
|
+
private themeService;
|
|
1057
|
+
private innerPage;
|
|
1058
|
+
private innerPageSize;
|
|
1059
|
+
private innerPageCount;
|
|
1060
|
+
private pageBound;
|
|
1061
|
+
private sizeOptionsInner;
|
|
1062
|
+
private readonly labelDefault;
|
|
1063
|
+
private labelText;
|
|
1064
|
+
set page(value: number | null | undefined);
|
|
1065
|
+
get page(): number;
|
|
1066
|
+
defaultPage: number;
|
|
1067
|
+
set pageCount(value: number);
|
|
1068
|
+
get pageCount(): number;
|
|
1069
|
+
set pageSizes(value: number);
|
|
1070
|
+
get pageSizes(): number;
|
|
1071
|
+
set pageSizeOptions(value: number[] | null | undefined);
|
|
1072
|
+
get pageSizeOptions(): number[];
|
|
1073
|
+
pageSlot: number;
|
|
1074
|
+
displayOrder: DasarPaginationDisplayItem[];
|
|
1075
|
+
disabled: NonNullable<boolean | undefined>;
|
|
1076
|
+
size: NonNullable<DasarPaginationSizeType | undefined>;
|
|
1077
|
+
radius: DasarPaginationRadiusType;
|
|
1078
|
+
appearance: DasarPaginationAppearanceType;
|
|
1079
|
+
set label(value: string | null | undefined);
|
|
1080
|
+
get label(): string | null;
|
|
1081
|
+
spacing: DasarPaginationSpacingType;
|
|
1082
|
+
prevIcon: string;
|
|
1083
|
+
nextIcon: string;
|
|
1084
|
+
fluid: NonNullable<boolean | undefined>;
|
|
1085
|
+
containerClass: NonNullable<ClassType> | null;
|
|
1086
|
+
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
1087
|
+
onUpdatePage: EventEmitter<number>;
|
|
1088
|
+
pageChange: EventEmitter<number>;
|
|
1089
|
+
onUpdatePageSize: EventEmitter<number>;
|
|
1090
|
+
pageSizesChange: EventEmitter<number>;
|
|
1091
|
+
readonly baseClass = true;
|
|
1092
|
+
ngOnInit(): void;
|
|
1093
|
+
get hasPrev(): boolean;
|
|
1094
|
+
get hasNext(): boolean;
|
|
1095
|
+
get hasPrefix(): boolean;
|
|
1096
|
+
get hasSuffix(): boolean;
|
|
1097
|
+
get controlSize(): 'sm' | 'md' | 'lg';
|
|
1098
|
+
get itemVariant(): DasarButtonVariantType;
|
|
1099
|
+
get itemAppearance(): DasarButtonAppearanceType;
|
|
1100
|
+
get activeVariant(): DasarButtonVariantType;
|
|
1101
|
+
get activeAppearance(): DasarButtonAppearanceType;
|
|
1102
|
+
get order(): DasarPaginationDisplayItem[];
|
|
1103
|
+
get showSizePicker(): boolean;
|
|
1104
|
+
get showEllipsisDropdown(): boolean;
|
|
1105
|
+
get summary(): string | null;
|
|
1106
|
+
get sizeOptions(): DasarSelectOption[];
|
|
1107
|
+
get items(): DasarPaginationItem[];
|
|
1108
|
+
ellipsisItems(item: Extract<DasarPaginationItem, {
|
|
1109
|
+
type: 'ellipsis';
|
|
1110
|
+
}>): DasarMenuItem[];
|
|
1111
|
+
private clamp;
|
|
1112
|
+
private range;
|
|
1113
|
+
goTo(page: number): void;
|
|
1114
|
+
prev(): void;
|
|
1115
|
+
next(): void;
|
|
1116
|
+
onEllipsisPick(item: DasarMenuItem): void;
|
|
1117
|
+
changePageSize(size: number): void;
|
|
1118
|
+
get isFirstPage(): boolean;
|
|
1119
|
+
get isLastPage(): boolean;
|
|
1120
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPagination, never>;
|
|
1121
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarPagination, "dasar-pagination", never, {
|
|
1122
|
+
"page": {
|
|
1123
|
+
"alias": "page";
|
|
1124
|
+
"required": false;
|
|
1125
|
+
};
|
|
1126
|
+
"defaultPage": {
|
|
1127
|
+
"alias": "default-page";
|
|
990
1128
|
"required": false;
|
|
991
1129
|
};
|
|
992
|
-
"
|
|
993
|
-
"alias": "
|
|
1130
|
+
"pageCount": {
|
|
1131
|
+
"alias": "page-count";
|
|
994
1132
|
"required": false;
|
|
995
1133
|
};
|
|
996
|
-
"
|
|
997
|
-
"alias": "
|
|
1134
|
+
"pageSizes": {
|
|
1135
|
+
"alias": "page-sizes";
|
|
998
1136
|
"required": false;
|
|
999
1137
|
};
|
|
1000
|
-
"
|
|
1001
|
-
"alias": "
|
|
1138
|
+
"pageSizeOptions": {
|
|
1139
|
+
"alias": "page-size-options";
|
|
1002
1140
|
"required": false;
|
|
1003
1141
|
};
|
|
1004
|
-
"
|
|
1005
|
-
"alias": "
|
|
1142
|
+
"pageSlot": {
|
|
1143
|
+
"alias": "page-slot";
|
|
1006
1144
|
"required": false;
|
|
1007
1145
|
};
|
|
1008
|
-
"
|
|
1009
|
-
"alias": "
|
|
1146
|
+
"displayOrder": {
|
|
1147
|
+
"alias": "display-order";
|
|
1010
1148
|
"required": false;
|
|
1011
1149
|
};
|
|
1012
|
-
"
|
|
1013
|
-
"alias": "
|
|
1150
|
+
"disabled": {
|
|
1151
|
+
"alias": "disabled";
|
|
1014
1152
|
"required": false;
|
|
1015
1153
|
};
|
|
1016
|
-
"
|
|
1017
|
-
"alias": "
|
|
1154
|
+
"size": {
|
|
1155
|
+
"alias": "size";
|
|
1018
1156
|
"required": false;
|
|
1019
1157
|
};
|
|
1020
|
-
"
|
|
1021
|
-
"alias": "
|
|
1158
|
+
"radius": {
|
|
1159
|
+
"alias": "radius";
|
|
1022
1160
|
"required": false;
|
|
1023
1161
|
};
|
|
1024
|
-
"
|
|
1025
|
-
"alias": "
|
|
1162
|
+
"appearance": {
|
|
1163
|
+
"alias": "appearance";
|
|
1026
1164
|
"required": false;
|
|
1027
1165
|
};
|
|
1028
|
-
"
|
|
1029
|
-
"alias": "
|
|
1166
|
+
"label": {
|
|
1167
|
+
"alias": "label";
|
|
1030
1168
|
"required": false;
|
|
1031
1169
|
};
|
|
1032
|
-
"
|
|
1033
|
-
"alias": "
|
|
1170
|
+
"spacing": {
|
|
1171
|
+
"alias": "spacing";
|
|
1172
|
+
"required": false;
|
|
1173
|
+
};
|
|
1174
|
+
"prevIcon": {
|
|
1175
|
+
"alias": "prev-icon";
|
|
1176
|
+
"required": false;
|
|
1177
|
+
};
|
|
1178
|
+
"nextIcon": {
|
|
1179
|
+
"alias": "next-icon";
|
|
1034
1180
|
"required": false;
|
|
1035
1181
|
};
|
|
1036
1182
|
"fluid": {
|
|
1037
1183
|
"alias": "fluid";
|
|
1038
1184
|
"required": false;
|
|
1039
1185
|
};
|
|
1186
|
+
"containerClass": {
|
|
1187
|
+
"alias": "container-class";
|
|
1188
|
+
"required": false;
|
|
1189
|
+
};
|
|
1190
|
+
"containerStyle": {
|
|
1191
|
+
"alias": "container-style";
|
|
1192
|
+
"required": false;
|
|
1193
|
+
};
|
|
1040
1194
|
}, {
|
|
1041
|
-
"
|
|
1042
|
-
"
|
|
1043
|
-
"
|
|
1044
|
-
|
|
1195
|
+
"onUpdatePage": "onUpdatePage";
|
|
1196
|
+
"pageChange": "pageChange";
|
|
1197
|
+
"onUpdatePageSize": "onUpdatePageSize";
|
|
1198
|
+
"pageSizesChange": "page-sizesChange";
|
|
1199
|
+
}, ["labelSlot", "providedPrev", "providedNext", "providedPrefix", "providedSuffix"], ["[prefix-slot]", "[prev-slot]", "[next-slot]", "[suffix-slot]"], true, never>;
|
|
1200
|
+
static ngAcceptInputType_defaultPage: unknown;
|
|
1201
|
+
static ngAcceptInputType_pageCount: unknown;
|
|
1202
|
+
static ngAcceptInputType_pageSizes: unknown;
|
|
1203
|
+
static ngAcceptInputType_pageSlot: unknown;
|
|
1045
1204
|
static ngAcceptInputType_disabled: unknown;
|
|
1046
1205
|
static ngAcceptInputType_fluid: unknown;
|
|
1047
1206
|
}
|
|
1048
|
-
export declare const
|
|
1049
|
-
export type
|
|
1050
|
-
export type
|
|
1051
|
-
export type
|
|
1052
|
-
export
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
radius?: DasarTabsRadiusType;
|
|
1056
|
-
size?: DasarTabsSizeType;
|
|
1057
|
-
spacing?: DasarTabsSpacingType;
|
|
1058
|
-
fluid?: boolean;
|
|
1059
|
-
containerClass?: ClassType;
|
|
1060
|
-
contentClass?: ClassType;
|
|
1061
|
-
listClass?: ClassType;
|
|
1062
|
-
containerStyle?: StyleType;
|
|
1063
|
-
contentStyle?: StyleType;
|
|
1064
|
-
listStyle?: StyleType;
|
|
1065
|
-
scrollLeftIconName?: string;
|
|
1066
|
-
scrollRightIconName?: string;
|
|
1067
|
-
scrollButtonClass?: ClassType;
|
|
1068
|
-
scrollButtonStyle?: StyleType;
|
|
1069
|
-
}
|
|
1070
|
-
export declare class DasarTabItemSlotDirective {
|
|
1071
|
-
templateRef: TemplateRef<any>;
|
|
1072
|
-
constructor(templateRef: TemplateRef<any>);
|
|
1073
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTabItemSlotDirective, never>;
|
|
1074
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTabItemSlotDirective, "[tab-item-slot]", never, {}, {}, never, never, true, never>;
|
|
1075
|
-
}
|
|
1076
|
-
export declare class DasarTabsScrollLeftSlotDirective {
|
|
1077
|
-
templateRef: TemplateRef<any>;
|
|
1078
|
-
constructor(templateRef: TemplateRef<any>);
|
|
1079
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTabsScrollLeftSlotDirective, never>;
|
|
1080
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTabsScrollLeftSlotDirective, "[tabs-scroll-left-slot]", never, {}, {}, never, never, true, never>;
|
|
1207
|
+
export declare const DasarPaginationComponent: readonly [typeof DasarPaginationLabelSlot, typeof DasarPaginationPrevSlot, typeof DasarPaginationNextSlot, typeof DasarPaginationPrefixSlot, typeof DasarPaginationSuffixSlot, typeof DasarPagination];
|
|
1208
|
+
export type DasarTextareaSizeType = Extract<ScaleAttributeType, 'sm' | 'md' | 'lg'>;
|
|
1209
|
+
export type DasarTextareaAppearanceType = 'outline' | 'filled';
|
|
1210
|
+
export type DasarTextareaRadiusType = ScaleAttributeType;
|
|
1211
|
+
export declare class DasarTextareaLabelSlot {
|
|
1212
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTextareaLabelSlot, never>;
|
|
1213
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTextareaLabelSlot, "[label-slot]", never, {}, {}, never, never, true, never>;
|
|
1081
1214
|
}
|
|
1082
|
-
export declare class
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTabsScrollRightSlotDirective, never>;
|
|
1086
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTabsScrollRightSlotDirective, "[tabs-scroll-right-slot]", never, {}, {}, never, never, true, never>;
|
|
1215
|
+
export declare class DasarTextareaExtraLabelSlot {
|
|
1216
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTextareaExtraLabelSlot, never>;
|
|
1217
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTextareaExtraLabelSlot, "[extra-label-slot]", never, {}, {}, never, never, true, never>;
|
|
1087
1218
|
}
|
|
1088
|
-
export declare class
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1219
|
+
export declare class DasarTextarea implements ControlValueAccessor {
|
|
1220
|
+
extraLabelSlot?: DasarTextareaExtraLabelSlot;
|
|
1221
|
+
labelSlot?: DasarTextareaLabelSlot;
|
|
1222
|
+
appearance: DasarTextareaAppearanceType;
|
|
1223
|
+
labelRight?: string | TemplateRef<any>;
|
|
1224
|
+
size: DasarTextareaSizeType;
|
|
1225
|
+
radius: DasarTextareaRadiusType;
|
|
1226
|
+
hint: string;
|
|
1227
|
+
placeholder: string;
|
|
1228
|
+
label?: string;
|
|
1229
|
+
rows: number;
|
|
1230
|
+
cols: number;
|
|
1231
|
+
fullWidth: boolean;
|
|
1232
|
+
disabled: boolean;
|
|
1233
|
+
readonly: boolean;
|
|
1234
|
+
error: boolean;
|
|
1235
|
+
containerClass: string | string[] | Set<string> | {
|
|
1236
|
+
[klass: string]: any;
|
|
1237
|
+
};
|
|
1238
|
+
textareaClass: string | string[] | Set<string> | {
|
|
1239
|
+
[klass: string]: any;
|
|
1240
|
+
};
|
|
1241
|
+
hostClass: string | string[] | Set<string> | {
|
|
1242
|
+
[klass: string]: any;
|
|
1243
|
+
};
|
|
1244
|
+
containerStyle: Record<string, any> | null;
|
|
1245
|
+
textareaStyle: Record<string, any> | null;
|
|
1246
|
+
hostStyle: Record<string, any> | null;
|
|
1092
1247
|
private cdr;
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
scrollRightSlot?: DasarTabsScrollRightSlotDirective;
|
|
1098
|
-
tabsList?: ElementRef<HTMLElement>;
|
|
1099
|
-
appearance: NonNullable<DasarTabsAppearanceType | undefined>;
|
|
1100
|
-
radius: NonNullable<ScaleAttributeType$1 | undefined>;
|
|
1101
|
-
size: NonNullable<ScaleAttributeType$1 | undefined>;
|
|
1102
|
-
spacing: NonNullable<DasarTabsSpacingType | undefined>;
|
|
1103
|
-
fluid: NonNullable<boolean | undefined>;
|
|
1104
|
-
containerClass: NonNullable<ClassType> | null | undefined;
|
|
1105
|
-
contentClass: NonNullable<ClassType> | null | undefined;
|
|
1106
|
-
listClass: NonNullable<ClassType> | null | undefined;
|
|
1107
|
-
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
1108
|
-
contentStyle: NonNullable<StyleType | undefined> | null;
|
|
1109
|
-
listStyle: NonNullable<StyleType | undefined> | null;
|
|
1110
|
-
scrollLeftIconName: string;
|
|
1111
|
-
scrollRightIconName: string;
|
|
1112
|
-
scrollButtonClass: NonNullable<ClassType> | null | undefined;
|
|
1113
|
-
scrollButtonStyle: NonNullable<StyleType | undefined> | null;
|
|
1114
|
-
activeIndex: number;
|
|
1115
|
-
items: string[];
|
|
1116
|
-
onTabsChange: EventEmitter<number>;
|
|
1117
|
-
onTabsClick: EventEmitter<number>;
|
|
1248
|
+
_value: any;
|
|
1249
|
+
get value(): any;
|
|
1250
|
+
set value(val: any);
|
|
1251
|
+
valueChange: EventEmitter<any>;
|
|
1118
1252
|
readonly baseClass = true;
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
scrollActiveIntoView(): void;
|
|
1133
|
-
private scheduleMeasure;
|
|
1134
|
-
private outside;
|
|
1135
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTabs, never>;
|
|
1136
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DasarTabs, "dasar-tabs", never, {
|
|
1253
|
+
get hasFullWidth(): boolean;
|
|
1254
|
+
get isDisabled(): boolean;
|
|
1255
|
+
onChange: any;
|
|
1256
|
+
onTouched: any;
|
|
1257
|
+
writeValue(val: any): void;
|
|
1258
|
+
registerOnChange(fn: any): void;
|
|
1259
|
+
registerOnTouched(fn: any): void;
|
|
1260
|
+
setDisabledState(isDisabled: boolean): void;
|
|
1261
|
+
onInput(event: Event): void;
|
|
1262
|
+
onBlur(): void;
|
|
1263
|
+
isTemplate(value: any): boolean;
|
|
1264
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTextarea, never>;
|
|
1265
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarTextarea, "dasar-textarea", never, {
|
|
1137
1266
|
"appearance": {
|
|
1138
1267
|
"alias": "appearance";
|
|
1139
1268
|
"required": false;
|
|
1140
1269
|
};
|
|
1141
|
-
"
|
|
1142
|
-
"alias": "
|
|
1270
|
+
"labelRight": {
|
|
1271
|
+
"alias": "labelRight";
|
|
1143
1272
|
"required": false;
|
|
1144
1273
|
};
|
|
1145
1274
|
"size": {
|
|
1146
1275
|
"alias": "size";
|
|
1147
1276
|
"required": false;
|
|
1148
1277
|
};
|
|
1149
|
-
"
|
|
1150
|
-
"alias": "
|
|
1278
|
+
"radius": {
|
|
1279
|
+
"alias": "radius";
|
|
1151
1280
|
"required": false;
|
|
1152
1281
|
};
|
|
1153
|
-
"
|
|
1154
|
-
"alias": "
|
|
1282
|
+
"hint": {
|
|
1283
|
+
"alias": "hint";
|
|
1155
1284
|
"required": false;
|
|
1156
1285
|
};
|
|
1157
|
-
"
|
|
1158
|
-
"alias": "
|
|
1286
|
+
"placeholder": {
|
|
1287
|
+
"alias": "placeholder";
|
|
1159
1288
|
"required": false;
|
|
1160
1289
|
};
|
|
1161
|
-
"
|
|
1162
|
-
"alias": "
|
|
1290
|
+
"label": {
|
|
1291
|
+
"alias": "label";
|
|
1163
1292
|
"required": false;
|
|
1164
1293
|
};
|
|
1165
|
-
"
|
|
1166
|
-
"alias": "
|
|
1294
|
+
"rows": {
|
|
1295
|
+
"alias": "rows";
|
|
1167
1296
|
"required": false;
|
|
1168
1297
|
};
|
|
1169
|
-
"
|
|
1170
|
-
"alias": "
|
|
1298
|
+
"cols": {
|
|
1299
|
+
"alias": "cols";
|
|
1171
1300
|
"required": false;
|
|
1172
1301
|
};
|
|
1173
|
-
"
|
|
1174
|
-
"alias": "
|
|
1302
|
+
"fullWidth": {
|
|
1303
|
+
"alias": "fullWidth";
|
|
1175
1304
|
"required": false;
|
|
1176
1305
|
};
|
|
1177
|
-
"
|
|
1178
|
-
"alias": "
|
|
1306
|
+
"disabled": {
|
|
1307
|
+
"alias": "disabled";
|
|
1179
1308
|
"required": false;
|
|
1180
1309
|
};
|
|
1181
|
-
"
|
|
1182
|
-
"alias": "
|
|
1310
|
+
"readonly": {
|
|
1311
|
+
"alias": "readonly";
|
|
1183
1312
|
"required": false;
|
|
1184
1313
|
};
|
|
1185
|
-
"
|
|
1186
|
-
"alias": "
|
|
1314
|
+
"error": {
|
|
1315
|
+
"alias": "error";
|
|
1187
1316
|
"required": false;
|
|
1188
1317
|
};
|
|
1189
|
-
"
|
|
1190
|
-
"alias": "
|
|
1318
|
+
"containerClass": {
|
|
1319
|
+
"alias": "containerClass";
|
|
1320
|
+
"required": false;
|
|
1321
|
+
};
|
|
1322
|
+
"textareaClass": {
|
|
1323
|
+
"alias": "textareaClass";
|
|
1324
|
+
"required": false;
|
|
1325
|
+
};
|
|
1326
|
+
"hostClass": {
|
|
1327
|
+
"alias": "hostClass";
|
|
1328
|
+
"required": false;
|
|
1329
|
+
};
|
|
1330
|
+
"containerStyle": {
|
|
1331
|
+
"alias": "containerStyle";
|
|
1191
1332
|
"required": false;
|
|
1192
1333
|
};
|
|
1193
|
-
"
|
|
1194
|
-
"alias": "
|
|
1334
|
+
"textareaStyle": {
|
|
1335
|
+
"alias": "textareaStyle";
|
|
1195
1336
|
"required": false;
|
|
1196
1337
|
};
|
|
1197
|
-
"
|
|
1198
|
-
"alias": "
|
|
1338
|
+
"hostStyle": {
|
|
1339
|
+
"alias": "hostStyle";
|
|
1199
1340
|
"required": false;
|
|
1200
1341
|
};
|
|
1201
|
-
"
|
|
1202
|
-
"alias": "
|
|
1342
|
+
"value": {
|
|
1343
|
+
"alias": "value";
|
|
1203
1344
|
"required": false;
|
|
1204
1345
|
};
|
|
1205
1346
|
}, {
|
|
1206
|
-
"
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
static
|
|
1347
|
+
"valueChange": "valueChange";
|
|
1348
|
+
}, ["extraLabelSlot", "labelSlot"], ["[label-slot]", "[extra-label-slot]"], true, never>;
|
|
1349
|
+
static ngAcceptInputType_fullWidth: unknown;
|
|
1350
|
+
static ngAcceptInputType_disabled: unknown;
|
|
1351
|
+
static ngAcceptInputType_readonly: unknown;
|
|
1352
|
+
static ngAcceptInputType_error: unknown;
|
|
1210
1353
|
}
|
|
1211
|
-
export declare const
|
|
1212
|
-
export type
|
|
1213
|
-
export type
|
|
1214
|
-
export type
|
|
1215
|
-
export type
|
|
1216
|
-
export type
|
|
1217
|
-
export interface
|
|
1354
|
+
export declare const DasarTextareaComponent: readonly [typeof DasarTextareaExtraLabelSlot, typeof DasarTextareaLabelSlot, typeof DasarTextarea];
|
|
1355
|
+
export type DasarTableAppearance = 'outline' | 'filled' | 'elevated' | 'borderless';
|
|
1356
|
+
export type DasarTableRadiusType = ScaleAttributeType$1;
|
|
1357
|
+
export type DasarTableSize = Extract<ScaleAttributeType$1, 'sm' | 'md' | 'lg'>;
|
|
1358
|
+
export type DasarTableSpacing = 'compact' | 'normal' | 'relaxed';
|
|
1359
|
+
export type DasarTableSortDirection = 'asc' | 'desc' | null;
|
|
1360
|
+
export interface DasarTableColumn {
|
|
1361
|
+
cellClass?: ClassType | ((row: any, index: number) => ClassType);
|
|
1362
|
+
cellStyle?: StyleType | ((row: any, index: number) => StyleType);
|
|
1363
|
+
align?: 'left' | 'center' | 'right';
|
|
1364
|
+
headerClass?: ClassType;
|
|
1365
|
+
headerStyle?: StyleType;
|
|
1366
|
+
sortable?: boolean;
|
|
1367
|
+
width?: string;
|
|
1368
|
+
label?: string;
|
|
1218
1369
|
key: string;
|
|
1219
|
-
direction: DasarPivotTableSortDirection;
|
|
1220
1370
|
}
|
|
1221
|
-
export
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotCellTemplate, never>;
|
|
1225
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotCellTemplate, "[pivot-cell-template]", never, {}, {}, never, never, true, never>;
|
|
1371
|
+
export interface DasarTableSortEvent {
|
|
1372
|
+
column: string;
|
|
1373
|
+
direction: DasarTableSortDirection;
|
|
1226
1374
|
}
|
|
1227
|
-
export
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1375
|
+
export interface DasarTableConfig {
|
|
1376
|
+
data?: any[];
|
|
1377
|
+
columns?: DasarTableColumn[];
|
|
1378
|
+
fluid?: boolean;
|
|
1379
|
+
striped?: boolean;
|
|
1380
|
+
hoverable?: boolean;
|
|
1381
|
+
loading?: boolean;
|
|
1382
|
+
expandable?: boolean;
|
|
1383
|
+
appearance?: DasarTableAppearance;
|
|
1384
|
+
spacing?: DasarTableSpacing;
|
|
1385
|
+
size?: DasarTableSize;
|
|
1386
|
+
sortKey?: string | null;
|
|
1387
|
+
sortDirection?: DasarTableSortDirection;
|
|
1388
|
+
radius?: DasarTableRadiusType;
|
|
1389
|
+
emptyTitle?: string;
|
|
1390
|
+
emptyDescription?: string;
|
|
1391
|
+
loadingText?: string;
|
|
1392
|
+
containerClass?: ClassType;
|
|
1393
|
+
containerStyle?: StyleType;
|
|
1394
|
+
wrapperClass?: ClassType;
|
|
1395
|
+
wrapperStyle?: StyleType;
|
|
1396
|
+
tableClass?: ClassType;
|
|
1397
|
+
tableStyle?: StyleType;
|
|
1398
|
+
headerClass?: ClassType;
|
|
1399
|
+
headerStyle?: StyleType;
|
|
1400
|
+
bodyClass?: ClassType;
|
|
1401
|
+
bodyStyle?: StyleType;
|
|
1402
|
+
paginationClass?: ClassType;
|
|
1403
|
+
paginationStyle?: StyleType;
|
|
1232
1404
|
}
|
|
1233
|
-
export declare class
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotColHeaderTemplate, never>;
|
|
1237
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotColHeaderTemplate, "[pivot-col-header-template]", never, {}, {}, never, never, true, never>;
|
|
1405
|
+
export declare class DasarTableHeaderSlot {
|
|
1406
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTableHeaderSlot, never>;
|
|
1407
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTableHeaderSlot, "[header-slot]", never, {}, {}, never, never, true, never>;
|
|
1238
1408
|
}
|
|
1239
|
-
export declare class
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotTableHeaderSlot, never>;
|
|
1243
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotTableHeaderSlot, "[pivot-header-slot]", never, {}, {}, never, never, true, never>;
|
|
1409
|
+
export declare class DasarTableBodySlot {
|
|
1410
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTableBodySlot, never>;
|
|
1411
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTableBodySlot, "[body-slot]", never, {}, {}, never, never, true, never>;
|
|
1244
1412
|
}
|
|
1245
|
-
export declare class
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotTableBodySlot, never>;
|
|
1249
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotTableBodySlot, "[pivot-body-slot]", never, {}, {}, never, never, true, never>;
|
|
1413
|
+
export declare class DasarTableEmptySlot {
|
|
1414
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTableEmptySlot, never>;
|
|
1415
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTableEmptySlot, "[empty-slot]", never, {}, {}, never, never, true, never>;
|
|
1250
1416
|
}
|
|
1251
|
-
export declare class
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotTableEmptySlot, never>;
|
|
1255
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotTableEmptySlot, "[pivot-empty-slot]", never, {}, {}, never, never, true, never>;
|
|
1417
|
+
export declare class DasarTablePaginationSlot {
|
|
1418
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTablePaginationSlot, never>;
|
|
1419
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTablePaginationSlot, "[pagination-slot]", never, {}, {}, never, never, true, never>;
|
|
1256
1420
|
}
|
|
1257
|
-
export declare class
|
|
1421
|
+
export declare class DasarTableExpandedSlot {
|
|
1258
1422
|
templateRef: TemplateRef<any>;
|
|
1259
1423
|
constructor(templateRef: TemplateRef<any>);
|
|
1260
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
1261
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
1424
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTableExpandedSlot, never>;
|
|
1425
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTableExpandedSlot, "[expanded-slot]", never, {}, {}, never, never, true, never>;
|
|
1262
1426
|
}
|
|
1263
|
-
export declare class
|
|
1427
|
+
export declare class DasarTableCellDirective {
|
|
1264
1428
|
templateRef: TemplateRef<any>;
|
|
1429
|
+
columnName: string;
|
|
1265
1430
|
constructor(templateRef: TemplateRef<any>);
|
|
1266
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
1267
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
1431
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTableCellDirective, never>;
|
|
1432
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTableCellDirective, "[cell-slot]", never, {
|
|
1433
|
+
"columnName": {
|
|
1434
|
+
"alias": "cell-slot";
|
|
1435
|
+
"required": false;
|
|
1436
|
+
};
|
|
1437
|
+
}, {}, never, never, true, never>;
|
|
1268
1438
|
}
|
|
1269
|
-
export declare class
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
providedHeader?:
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
data: any[];
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
loading: boolean;
|
|
1439
|
+
export declare class DasarTable {
|
|
1440
|
+
cellTemplates: QueryList<DasarTableCellDirective>;
|
|
1441
|
+
providedPagination?: DasarTablePaginationSlot;
|
|
1442
|
+
providedExpanded?: DasarTableExpandedSlot;
|
|
1443
|
+
providedHeader?: DasarTableHeaderSlot;
|
|
1444
|
+
providedEmpty?: DasarTableEmptySlot;
|
|
1445
|
+
providedBody?: DasarTableBodySlot;
|
|
1446
|
+
private themeProvider;
|
|
1447
|
+
private themeService;
|
|
1448
|
+
data: any[] | never[];
|
|
1449
|
+
columns: never[] | DasarTableColumn[];
|
|
1450
|
+
fluid: NonNullable<boolean | undefined>;
|
|
1451
|
+
striped: NonNullable<boolean | undefined>;
|
|
1452
|
+
hoverable: NonNullable<boolean | undefined>;
|
|
1453
|
+
loading: NonNullable<boolean | undefined>;
|
|
1454
|
+
expandable: NonNullable<boolean | undefined>;
|
|
1455
|
+
appearance: NonNullable<DasarTableAppearance | undefined>;
|
|
1456
|
+
spacing: NonNullable<DasarTableSpacing | undefined>;
|
|
1457
|
+
size: NonNullable<DasarTableSize | undefined>;
|
|
1458
|
+
radius: DasarTableRadiusType;
|
|
1459
|
+
sortKey: string | null;
|
|
1460
|
+
sortDirection: DasarTableSortDirection;
|
|
1292
1461
|
emptyTitle: string;
|
|
1293
1462
|
emptyDescription: string;
|
|
1294
1463
|
loadingText: string;
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1464
|
+
containerClass: NonNullable<ClassType>;
|
|
1465
|
+
wrapperClass: NonNullable<ClassType>;
|
|
1466
|
+
tableClass: NonNullable<ClassType>;
|
|
1467
|
+
headerClass: NonNullable<ClassType>;
|
|
1468
|
+
bodyClass: NonNullable<ClassType>;
|
|
1469
|
+
paginationClass: NonNullable<ClassType>;
|
|
1470
|
+
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
1471
|
+
wrapperStyle: NonNullable<StyleType | undefined> | null;
|
|
1472
|
+
tableStyle: NonNullable<StyleType | undefined> | null;
|
|
1473
|
+
headerStyle: NonNullable<StyleType | undefined> | null;
|
|
1474
|
+
bodyStyle: NonNullable<StyleType | undefined> | null;
|
|
1475
|
+
paginationStyle: NonNullable<StyleType | undefined> | null;
|
|
1476
|
+
onRowClick: EventEmitter<{
|
|
1300
1477
|
row: any;
|
|
1301
1478
|
index: number;
|
|
1302
1479
|
event: MouseEvent;
|
|
1303
1480
|
}>;
|
|
1304
|
-
|
|
1481
|
+
onRowDblClick: EventEmitter<{
|
|
1305
1482
|
row: any;
|
|
1306
1483
|
index: number;
|
|
1307
1484
|
event: MouseEvent;
|
|
1308
1485
|
}>;
|
|
1309
|
-
|
|
1486
|
+
onRowContextMenu: EventEmitter<{
|
|
1310
1487
|
row: any;
|
|
1311
1488
|
index: number;
|
|
1312
1489
|
event: MouseEvent;
|
|
1313
1490
|
}>;
|
|
1314
|
-
|
|
1315
|
-
|
|
1491
|
+
onSortChange: EventEmitter<DasarTableSortEvent>;
|
|
1492
|
+
onRowExpandChange: EventEmitter<{
|
|
1316
1493
|
row: any;
|
|
1317
1494
|
index: number;
|
|
1318
1495
|
expanded: boolean;
|
|
1319
1496
|
}>;
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
"
|
|
1341
|
-
"alias": "
|
|
1342
|
-
"required": true;
|
|
1343
|
-
};
|
|
1344
|
-
"colField": {
|
|
1345
|
-
"alias": "colField";
|
|
1346
|
-
"required": true;
|
|
1347
|
-
};
|
|
1348
|
-
"valField": {
|
|
1349
|
-
"alias": "valField";
|
|
1497
|
+
readonly baseClass = true;
|
|
1498
|
+
expandedRows: Set<number>;
|
|
1499
|
+
get hasHeader(): boolean;
|
|
1500
|
+
get hasBody(): boolean;
|
|
1501
|
+
get hasEmpty(): boolean;
|
|
1502
|
+
get hasPagination(): boolean;
|
|
1503
|
+
get hasExpanded(): boolean;
|
|
1504
|
+
getColHeaderClass(col: DasarTableColumn): ClassType;
|
|
1505
|
+
getColHeaderStyle(col: DasarTableColumn): StyleType;
|
|
1506
|
+
getColCellClass(col: DasarTableColumn, row: any, index: number): ClassType;
|
|
1507
|
+
getColCellStyle(col: DasarTableColumn, row: any, index: number): StyleType;
|
|
1508
|
+
getCellTemplate(columnName: string): TemplateRef<any> | null;
|
|
1509
|
+
onSort(columnKey: string): void;
|
|
1510
|
+
toggleExpand(row: any, index: number, event: MouseEvent): void;
|
|
1511
|
+
isExpanded(index: number): boolean;
|
|
1512
|
+
rowClick(row: any, index: number, event: MouseEvent): void;
|
|
1513
|
+
rowDblClick(row: any, index: number, event: MouseEvent): void;
|
|
1514
|
+
rowContextMenu(row: any, index: number, event: MouseEvent): void;
|
|
1515
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTable, never>;
|
|
1516
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarTable, "dasar-table", never, {
|
|
1517
|
+
"data": {
|
|
1518
|
+
"alias": "data";
|
|
1350
1519
|
"required": false;
|
|
1351
1520
|
};
|
|
1352
|
-
"
|
|
1353
|
-
"alias": "
|
|
1521
|
+
"columns": {
|
|
1522
|
+
"alias": "columns";
|
|
1354
1523
|
"required": false;
|
|
1355
1524
|
};
|
|
1356
|
-
"
|
|
1357
|
-
"alias": "
|
|
1525
|
+
"fluid": {
|
|
1526
|
+
"alias": "fluid";
|
|
1358
1527
|
"required": false;
|
|
1359
1528
|
};
|
|
1360
|
-
"
|
|
1361
|
-
"alias": "
|
|
1529
|
+
"striped": {
|
|
1530
|
+
"alias": "striped";
|
|
1362
1531
|
"required": false;
|
|
1363
1532
|
};
|
|
1364
|
-
"
|
|
1365
|
-
"alias": "
|
|
1533
|
+
"hoverable": {
|
|
1534
|
+
"alias": "hoverable";
|
|
1366
1535
|
"required": false;
|
|
1367
1536
|
};
|
|
1368
|
-
"
|
|
1369
|
-
"alias": "
|
|
1537
|
+
"loading": {
|
|
1538
|
+
"alias": "loading";
|
|
1370
1539
|
"required": false;
|
|
1371
1540
|
};
|
|
1372
|
-
"
|
|
1373
|
-
"alias": "
|
|
1541
|
+
"expandable": {
|
|
1542
|
+
"alias": "expandable";
|
|
1374
1543
|
"required": false;
|
|
1375
1544
|
};
|
|
1376
1545
|
"appearance": {
|
|
@@ -1385,8 +1554,16 @@ export declare class DasarPivotTable implements OnChanges {
|
|
|
1385
1554
|
"alias": "size";
|
|
1386
1555
|
"required": false;
|
|
1387
1556
|
};
|
|
1388
|
-
"
|
|
1389
|
-
"alias": "
|
|
1557
|
+
"radius": {
|
|
1558
|
+
"alias": "radius";
|
|
1559
|
+
"required": false;
|
|
1560
|
+
};
|
|
1561
|
+
"sortKey": {
|
|
1562
|
+
"alias": "sortKey";
|
|
1563
|
+
"required": false;
|
|
1564
|
+
};
|
|
1565
|
+
"sortDirection": {
|
|
1566
|
+
"alias": "sortDirection";
|
|
1390
1567
|
"required": false;
|
|
1391
1568
|
};
|
|
1392
1569
|
"emptyTitle": {
|
|
@@ -1401,660 +1578,700 @@ export declare class DasarPivotTable implements OnChanges {
|
|
|
1401
1578
|
"alias": "loadingText";
|
|
1402
1579
|
"required": false;
|
|
1403
1580
|
};
|
|
1404
|
-
"
|
|
1405
|
-
"alias": "
|
|
1581
|
+
"containerClass": {
|
|
1582
|
+
"alias": "containerClass";
|
|
1406
1583
|
"required": false;
|
|
1407
1584
|
};
|
|
1408
|
-
"
|
|
1409
|
-
"alias": "
|
|
1585
|
+
"wrapperClass": {
|
|
1586
|
+
"alias": "wrapperClass";
|
|
1410
1587
|
"required": false;
|
|
1411
1588
|
};
|
|
1412
|
-
"
|
|
1413
|
-
"alias": "
|
|
1589
|
+
"tableClass": {
|
|
1590
|
+
"alias": "tableClass";
|
|
1414
1591
|
"required": false;
|
|
1415
1592
|
};
|
|
1416
|
-
"
|
|
1417
|
-
"alias": "
|
|
1593
|
+
"headerClass": {
|
|
1594
|
+
"alias": "headerClass";
|
|
1595
|
+
"required": false;
|
|
1596
|
+
};
|
|
1597
|
+
"bodyClass": {
|
|
1598
|
+
"alias": "bodyClass";
|
|
1599
|
+
"required": false;
|
|
1600
|
+
};
|
|
1601
|
+
"paginationClass": {
|
|
1602
|
+
"alias": "paginationClass";
|
|
1603
|
+
"required": false;
|
|
1604
|
+
};
|
|
1605
|
+
"containerStyle": {
|
|
1606
|
+
"alias": "containerStyle";
|
|
1607
|
+
"required": false;
|
|
1608
|
+
};
|
|
1609
|
+
"wrapperStyle": {
|
|
1610
|
+
"alias": "wrapperStyle";
|
|
1611
|
+
"required": false;
|
|
1612
|
+
};
|
|
1613
|
+
"tableStyle": {
|
|
1614
|
+
"alias": "tableStyle";
|
|
1615
|
+
"required": false;
|
|
1616
|
+
};
|
|
1617
|
+
"headerStyle": {
|
|
1618
|
+
"alias": "headerStyle";
|
|
1619
|
+
"required": false;
|
|
1620
|
+
};
|
|
1621
|
+
"bodyStyle": {
|
|
1622
|
+
"alias": "bodyStyle";
|
|
1623
|
+
"required": false;
|
|
1624
|
+
};
|
|
1625
|
+
"paginationStyle": {
|
|
1626
|
+
"alias": "paginationStyle";
|
|
1418
1627
|
"required": false;
|
|
1419
1628
|
};
|
|
1420
1629
|
}, {
|
|
1421
|
-
"
|
|
1422
|
-
"
|
|
1423
|
-
"
|
|
1424
|
-
"
|
|
1425
|
-
"
|
|
1426
|
-
}, ["
|
|
1630
|
+
"onRowClick": "onRowClick";
|
|
1631
|
+
"onRowDblClick": "onRowDblClick";
|
|
1632
|
+
"onRowContextMenu": "onRowContextMenu";
|
|
1633
|
+
"onSortChange": "onSortChange";
|
|
1634
|
+
"onRowExpandChange": "onRowExpandChange";
|
|
1635
|
+
}, ["providedPagination", "providedExpanded", "providedHeader", "providedEmpty", "providedBody", "cellTemplates"], ["[header-slot]", "[body-slot]", "[empty-slot]", "*", "[pagination-slot]"], true, never>;
|
|
1636
|
+
static ngAcceptInputType_fluid: unknown;
|
|
1637
|
+
static ngAcceptInputType_striped: unknown;
|
|
1638
|
+
static ngAcceptInputType_hoverable: unknown;
|
|
1639
|
+
static ngAcceptInputType_loading: unknown;
|
|
1640
|
+
static ngAcceptInputType_expandable: unknown;
|
|
1427
1641
|
}
|
|
1428
|
-
export declare const
|
|
1429
|
-
export type
|
|
1430
|
-
export type
|
|
1431
|
-
export type
|
|
1432
|
-
export type
|
|
1433
|
-
export
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1642
|
+
export declare const DasarTableComponent: readonly [typeof DasarTablePaginationSlot, typeof DasarTableCellDirective, typeof DasarTableExpandedSlot, typeof DasarTableHeaderSlot, typeof DasarTableEmptySlot, typeof DasarTableBodySlot, typeof DasarTable];
|
|
1643
|
+
export type DasarTabsRadiusType = ScaleAttributeType$1;
|
|
1644
|
+
export type DasarTabsAppearanceType = 'solid' | 'subtle' | 'outline';
|
|
1645
|
+
export type DasarTabsSizeType = ScaleAttributeType$1;
|
|
1646
|
+
export type DasarTabsSpacingType = 'compact' | 'normal';
|
|
1647
|
+
export interface DasarTabsConfig {
|
|
1648
|
+
appearance?: DasarTabsAppearanceType;
|
|
1649
|
+
radius?: DasarTabsRadiusType;
|
|
1650
|
+
size?: DasarTabsSizeType;
|
|
1651
|
+
spacing?: DasarTabsSpacingType;
|
|
1438
1652
|
fluid?: boolean;
|
|
1439
|
-
error?: boolean;
|
|
1440
|
-
displayFormat?: string;
|
|
1441
|
-
valueFormat?: string;
|
|
1442
|
-
placement?: DasarDatepickerPlacement;
|
|
1443
|
-
appearance?: DasarDatepickerAppearance;
|
|
1444
|
-
extraLabel?: string;
|
|
1445
|
-
placeholder?: string;
|
|
1446
|
-
radius?: DasarDatepickerRadius;
|
|
1447
|
-
type?: DasarDatepickerType;
|
|
1448
|
-
size?: DasarDatepickerSize;
|
|
1449
|
-
locale?: string;
|
|
1450
|
-
label?: string;
|
|
1451
|
-
hint?: string;
|
|
1452
1653
|
containerClass?: ClassType;
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
dropdownClass?: ClassType;
|
|
1456
|
-
labelWrapperClass?: ClassType;
|
|
1457
|
-
hintWrapperClass?: ClassType;
|
|
1458
|
-
wrapperStyle?: StyleType;
|
|
1459
|
-
triggerStyle?: StyleType;
|
|
1460
|
-
labelWrapperStyle?: StyleType;
|
|
1461
|
-
hintWrapperStyle?: StyleType;
|
|
1654
|
+
contentClass?: ClassType;
|
|
1655
|
+
listClass?: ClassType;
|
|
1462
1656
|
containerStyle?: StyleType;
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
export declare class DasarDatepickerLabelSlot {
|
|
1470
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarDatepickerLabelSlot, never>;
|
|
1471
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarDatepickerLabelSlot, "[label-slot]", never, {}, {}, never, never, true, never>;
|
|
1472
|
-
}
|
|
1473
|
-
export declare class DasarDatepickerExtraLabelSlot {
|
|
1474
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarDatepickerExtraLabelSlot, never>;
|
|
1475
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarDatepickerExtraLabelSlot, "[extra-label-slot]", never, {}, {}, never, never, true, never>;
|
|
1657
|
+
contentStyle?: StyleType;
|
|
1658
|
+
listStyle?: StyleType;
|
|
1659
|
+
scrollLeftIconName?: string;
|
|
1660
|
+
scrollRightIconName?: string;
|
|
1661
|
+
scrollButtonClass?: ClassType;
|
|
1662
|
+
scrollButtonStyle?: StyleType;
|
|
1476
1663
|
}
|
|
1477
|
-
export declare class
|
|
1478
|
-
|
|
1479
|
-
|
|
1664
|
+
export declare class DasarTabItemSlotDirective {
|
|
1665
|
+
templateRef: TemplateRef<any>;
|
|
1666
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1667
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTabItemSlotDirective, never>;
|
|
1668
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTabItemSlotDirective, "[tab-item-slot]", never, {}, {}, never, never, true, never>;
|
|
1480
1669
|
}
|
|
1481
|
-
export declare class
|
|
1482
|
-
|
|
1483
|
-
|
|
1670
|
+
export declare class DasarTabsScrollLeftSlotDirective {
|
|
1671
|
+
templateRef: TemplateRef<any>;
|
|
1672
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1673
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTabsScrollLeftSlotDirective, never>;
|
|
1674
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTabsScrollLeftSlotDirective, "[tabs-scroll-left-slot]", never, {}, {}, never, never, true, never>;
|
|
1484
1675
|
}
|
|
1485
|
-
export declare class
|
|
1486
|
-
|
|
1487
|
-
|
|
1676
|
+
export declare class DasarTabsScrollRightSlotDirective {
|
|
1677
|
+
templateRef: TemplateRef<any>;
|
|
1678
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1679
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTabsScrollRightSlotDirective, never>;
|
|
1680
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTabsScrollRightSlotDirective, "[tabs-scroll-right-slot]", never, {}, {}, never, never, true, never>;
|
|
1488
1681
|
}
|
|
1489
|
-
export declare class
|
|
1682
|
+
export declare class DasarTabs implements OnChanges, AfterViewInit {
|
|
1490
1683
|
private themeProvider;
|
|
1491
1684
|
private themeService;
|
|
1685
|
+
private zone;
|
|
1492
1686
|
private cdr;
|
|
1493
|
-
private
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
triggerEl?: ElementRef<HTMLElement>;
|
|
1501
|
-
dropdownEl?: ElementRef<HTMLElement>;
|
|
1502
|
-
displayFormat: string;
|
|
1503
|
-
valueFormat: string;
|
|
1504
|
-
locale: string;
|
|
1505
|
-
private _placement;
|
|
1506
|
-
set placement(value: DasarDatepickerPlacement);
|
|
1507
|
-
get placement(): DasarDatepickerPlacement;
|
|
1508
|
-
currentPlacement: DasarDatepickerPlacement;
|
|
1509
|
-
appearance: NonNullable<DasarDatepickerAppearance | undefined>;
|
|
1687
|
+
private destroyRef;
|
|
1688
|
+
private platformId;
|
|
1689
|
+
tabItemSlotDirectives: QueryList<DasarTabItemSlotDirective>;
|
|
1690
|
+
scrollLeftSlot?: DasarTabsScrollLeftSlotDirective;
|
|
1691
|
+
scrollRightSlot?: DasarTabsScrollRightSlotDirective;
|
|
1692
|
+
tabsList?: ElementRef<HTMLElement>;
|
|
1693
|
+
appearance: NonNullable<DasarTabsAppearanceType | undefined>;
|
|
1510
1694
|
radius: NonNullable<ScaleAttributeType$1 | undefined>;
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
placeholder: string;
|
|
1514
|
-
label: string | undefined;
|
|
1515
|
-
extraLabel: string | undefined;
|
|
1516
|
-
hint: string | undefined;
|
|
1517
|
-
containerClass: NonNullable<ClassType> | null;
|
|
1518
|
-
wrapperClass: NonNullable<ClassType> | null;
|
|
1519
|
-
triggerClass: NonNullable<ClassType> | null;
|
|
1520
|
-
dropdownClass: NonNullable<ClassType> | null;
|
|
1521
|
-
labelWrapperClass: NonNullable<ClassType> | null;
|
|
1522
|
-
hintWrapperClass: NonNullable<ClassType> | null;
|
|
1523
|
-
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
1524
|
-
wrapperStyle: NonNullable<StyleType | undefined> | null;
|
|
1525
|
-
triggerStyle: NonNullable<StyleType | undefined> | null;
|
|
1526
|
-
dropdownStyle: NonNullable<StyleType | undefined> | null;
|
|
1527
|
-
labelWrapperStyle: NonNullable<StyleType | undefined> | null;
|
|
1528
|
-
hintWrapperStyle: NonNullable<StyleType | undefined> | null;
|
|
1529
|
-
fullWidth: NonNullable<boolean | undefined>;
|
|
1530
|
-
clearable: NonNullable<boolean | undefined>;
|
|
1531
|
-
disabled: NonNullable<boolean | undefined>;
|
|
1695
|
+
size: NonNullable<ScaleAttributeType$1 | undefined>;
|
|
1696
|
+
spacing: NonNullable<DasarTabsSpacingType | undefined>;
|
|
1532
1697
|
fluid: NonNullable<boolean | undefined>;
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1698
|
+
containerClass: NonNullable<ClassType> | null | undefined;
|
|
1699
|
+
contentClass: NonNullable<ClassType> | null | undefined;
|
|
1700
|
+
listClass: NonNullable<ClassType> | null | undefined;
|
|
1701
|
+
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
1702
|
+
contentStyle: NonNullable<StyleType | undefined> | null;
|
|
1703
|
+
listStyle: NonNullable<StyleType | undefined> | null;
|
|
1704
|
+
scrollLeftIconName: string;
|
|
1705
|
+
scrollRightIconName: string;
|
|
1706
|
+
scrollButtonClass: NonNullable<ClassType> | null | undefined;
|
|
1707
|
+
scrollButtonStyle: NonNullable<StyleType | undefined> | null;
|
|
1708
|
+
activeIndex: number;
|
|
1709
|
+
items: string[];
|
|
1710
|
+
onTabsChange: EventEmitter<number>;
|
|
1711
|
+
onTabsClick: EventEmitter<number>;
|
|
1547
1712
|
readonly baseClass = true;
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
private
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
private setFocus;
|
|
1569
|
-
get iconSize(): number;
|
|
1570
|
-
toggleDropdown(event: Event): void;
|
|
1571
|
-
onViewportChange(): void;
|
|
1572
|
-
clearValue(event: Event): void;
|
|
1573
|
-
onCalendarSelect(date: Date | null): void;
|
|
1574
|
-
private formatReturnValue;
|
|
1575
|
-
private calculateSmartPlacement;
|
|
1576
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarDatepicker, never>;
|
|
1577
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DasarDatepicker, "dasar-datepicker", never, {
|
|
1578
|
-
"displayFormat": {
|
|
1579
|
-
"alias": "display-format";
|
|
1713
|
+
readonly overflowing: import("@angular/core").WritableSignal<boolean>;
|
|
1714
|
+
readonly canScrollLeft: import("@angular/core").WritableSignal<boolean>;
|
|
1715
|
+
readonly canScrollRight: import("@angular/core").WritableSignal<boolean>;
|
|
1716
|
+
private sizeObserver;
|
|
1717
|
+
private mutationObserver;
|
|
1718
|
+
private measureRequest;
|
|
1719
|
+
private readonly onScroll;
|
|
1720
|
+
get buttonSize(): DasarButtonSizeType;
|
|
1721
|
+
selectTab(index: number): void;
|
|
1722
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1723
|
+
ngAfterViewInit(): void;
|
|
1724
|
+
updateScrollState(): void;
|
|
1725
|
+
scrollBy(direction: -1 | 1): void;
|
|
1726
|
+
scrollActiveIntoView(): void;
|
|
1727
|
+
private scheduleMeasure;
|
|
1728
|
+
private outside;
|
|
1729
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTabs, never>;
|
|
1730
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarTabs, "dasar-tabs", never, {
|
|
1731
|
+
"appearance": {
|
|
1732
|
+
"alias": "appearance";
|
|
1580
1733
|
"required": false;
|
|
1581
1734
|
};
|
|
1582
|
-
"
|
|
1583
|
-
"alias": "
|
|
1735
|
+
"radius": {
|
|
1736
|
+
"alias": "radius";
|
|
1584
1737
|
"required": false;
|
|
1585
1738
|
};
|
|
1586
|
-
"
|
|
1587
|
-
"alias": "
|
|
1739
|
+
"size": {
|
|
1740
|
+
"alias": "size";
|
|
1588
1741
|
"required": false;
|
|
1589
1742
|
};
|
|
1590
|
-
"
|
|
1591
|
-
"alias": "
|
|
1743
|
+
"spacing": {
|
|
1744
|
+
"alias": "spacing";
|
|
1592
1745
|
"required": false;
|
|
1593
1746
|
};
|
|
1594
|
-
"
|
|
1595
|
-
"alias": "
|
|
1747
|
+
"fluid": {
|
|
1748
|
+
"alias": "fluid";
|
|
1596
1749
|
"required": false;
|
|
1597
1750
|
};
|
|
1598
|
-
"
|
|
1599
|
-
"alias": "
|
|
1751
|
+
"containerClass": {
|
|
1752
|
+
"alias": "container-class";
|
|
1600
1753
|
"required": false;
|
|
1601
1754
|
};
|
|
1602
|
-
"
|
|
1603
|
-
"alias": "
|
|
1755
|
+
"contentClass": {
|
|
1756
|
+
"alias": "content-class";
|
|
1604
1757
|
"required": false;
|
|
1605
1758
|
};
|
|
1606
|
-
"
|
|
1607
|
-
"alias": "
|
|
1759
|
+
"listClass": {
|
|
1760
|
+
"alias": "list-class";
|
|
1608
1761
|
"required": false;
|
|
1609
1762
|
};
|
|
1610
|
-
"
|
|
1611
|
-
"alias": "
|
|
1763
|
+
"containerStyle": {
|
|
1764
|
+
"alias": "container-style";
|
|
1612
1765
|
"required": false;
|
|
1613
1766
|
};
|
|
1614
|
-
"
|
|
1615
|
-
"alias": "
|
|
1767
|
+
"contentStyle": {
|
|
1768
|
+
"alias": "content-style";
|
|
1769
|
+
"required": false;
|
|
1770
|
+
};
|
|
1771
|
+
"listStyle": {
|
|
1772
|
+
"alias": "list-style";
|
|
1773
|
+
"required": false;
|
|
1774
|
+
};
|
|
1775
|
+
"scrollLeftIconName": {
|
|
1776
|
+
"alias": "scroll-left-icon-name";
|
|
1777
|
+
"required": false;
|
|
1778
|
+
};
|
|
1779
|
+
"scrollRightIconName": {
|
|
1780
|
+
"alias": "scroll-right-icon-name";
|
|
1781
|
+
"required": false;
|
|
1782
|
+
};
|
|
1783
|
+
"scrollButtonClass": {
|
|
1784
|
+
"alias": "scroll-button-class";
|
|
1785
|
+
"required": false;
|
|
1786
|
+
};
|
|
1787
|
+
"scrollButtonStyle": {
|
|
1788
|
+
"alias": "scroll-button-style";
|
|
1789
|
+
"required": false;
|
|
1790
|
+
};
|
|
1791
|
+
"activeIndex": {
|
|
1792
|
+
"alias": "active-index";
|
|
1793
|
+
"required": false;
|
|
1794
|
+
};
|
|
1795
|
+
"items": {
|
|
1796
|
+
"alias": "items";
|
|
1616
1797
|
"required": false;
|
|
1617
1798
|
};
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1799
|
+
}, {
|
|
1800
|
+
"onTabsChange": "onTabsChange";
|
|
1801
|
+
"onTabsClick": "onTabsClick";
|
|
1802
|
+
}, ["scrollLeftSlot", "scrollRightSlot", "tabItemSlotDirectives"], ["*"], true, never>;
|
|
1803
|
+
static ngAcceptInputType_fluid: unknown;
|
|
1804
|
+
}
|
|
1805
|
+
export declare const DasarTabsComponent: readonly [typeof DasarTabs, typeof DasarTabItemSlotDirective, typeof DasarTabsScrollLeftSlotDirective, typeof DasarTabsScrollRightSlotDirective];
|
|
1806
|
+
export type DasarPivotAggregator = 'sum' | 'count' | 'avg' | 'min' | 'max';
|
|
1807
|
+
export type DasarPivotTableAppearance = 'outline' | 'filled' | 'elevated' | 'borderless';
|
|
1808
|
+
export type DasarPivotTableSpacing = 'compact' | 'normal' | 'relaxed';
|
|
1809
|
+
export type DasarPivotTableSize = 'sm' | 'md' | 'lg';
|
|
1810
|
+
export type DasarPivotTableSortDirection = 'asc' | 'desc' | null;
|
|
1811
|
+
export interface DasarPivotTableSortEvent {
|
|
1812
|
+
key: string;
|
|
1813
|
+
direction: DasarPivotTableSortDirection;
|
|
1814
|
+
}
|
|
1815
|
+
export declare class DasarPivotCellTemplate {
|
|
1816
|
+
templateRef: TemplateRef<any>;
|
|
1817
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1818
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotCellTemplate, never>;
|
|
1819
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotCellTemplate, "[pivot-cell-template]", never, {}, {}, never, never, true, never>;
|
|
1820
|
+
}
|
|
1821
|
+
export declare class DasarPivotRowHeaderTemplate {
|
|
1822
|
+
templateRef: TemplateRef<any>;
|
|
1823
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1824
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotRowHeaderTemplate, never>;
|
|
1825
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotRowHeaderTemplate, "[pivot-row-header-template]", never, {}, {}, never, never, true, never>;
|
|
1826
|
+
}
|
|
1827
|
+
export declare class DasarPivotColHeaderTemplate {
|
|
1828
|
+
templateRef: TemplateRef<any>;
|
|
1829
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1830
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotColHeaderTemplate, never>;
|
|
1831
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotColHeaderTemplate, "[pivot-col-header-template]", never, {}, {}, never, never, true, never>;
|
|
1832
|
+
}
|
|
1833
|
+
export declare class DasarPivotTableHeaderSlot {
|
|
1834
|
+
templateRef: TemplateRef<any>;
|
|
1835
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1836
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotTableHeaderSlot, never>;
|
|
1837
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotTableHeaderSlot, "[pivot-header-slot]", never, {}, {}, never, never, true, never>;
|
|
1838
|
+
}
|
|
1839
|
+
export declare class DasarPivotTableBodySlot {
|
|
1840
|
+
templateRef: TemplateRef<any>;
|
|
1841
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1842
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotTableBodySlot, never>;
|
|
1843
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotTableBodySlot, "[pivot-body-slot]", never, {}, {}, never, never, true, never>;
|
|
1844
|
+
}
|
|
1845
|
+
export declare class DasarPivotTableEmptySlot {
|
|
1846
|
+
templateRef: TemplateRef<any>;
|
|
1847
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1848
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotTableEmptySlot, never>;
|
|
1849
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotTableEmptySlot, "[pivot-empty-slot]", never, {}, {}, never, never, true, never>;
|
|
1850
|
+
}
|
|
1851
|
+
export declare class DasarPivotTablePaginationSlot {
|
|
1852
|
+
templateRef: TemplateRef<any>;
|
|
1853
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1854
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotTablePaginationSlot, never>;
|
|
1855
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotTablePaginationSlot, "[pivot-pagination-slot]", never, {}, {}, never, never, true, never>;
|
|
1856
|
+
}
|
|
1857
|
+
export declare class DasarPivotTableExpandedSlot {
|
|
1858
|
+
templateRef: TemplateRef<any>;
|
|
1859
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1860
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotTableExpandedSlot, never>;
|
|
1861
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotTableExpandedSlot, "[pivot-expanded-slot]", never, {}, {}, never, never, true, never>;
|
|
1862
|
+
}
|
|
1863
|
+
export declare class DasarPivotTable implements OnChanges {
|
|
1864
|
+
rowHeaderTemplate?: DasarPivotRowHeaderTemplate;
|
|
1865
|
+
colHeaderTemplate?: DasarPivotColHeaderTemplate;
|
|
1866
|
+
cellTemplate?: DasarPivotCellTemplate;
|
|
1867
|
+
providedHeader?: DasarPivotTableHeaderSlot;
|
|
1868
|
+
providedBody?: DasarPivotTableBodySlot;
|
|
1869
|
+
providedEmpty?: DasarPivotTableEmptySlot;
|
|
1870
|
+
providedPagination?: DasarPivotTablePaginationSlot;
|
|
1871
|
+
providedExpanded?: DasarPivotTableExpandedSlot;
|
|
1872
|
+
data: any[];
|
|
1873
|
+
rowField: string;
|
|
1874
|
+
colField: string;
|
|
1875
|
+
valField: string;
|
|
1876
|
+
aggregator: DasarPivotAggregator;
|
|
1877
|
+
rowLabel: string;
|
|
1878
|
+
colLabel: string;
|
|
1879
|
+
showRowTotals: boolean;
|
|
1880
|
+
showColTotals: boolean;
|
|
1881
|
+
emptyText: string;
|
|
1882
|
+
appearance: DasarPivotTableAppearance;
|
|
1883
|
+
spacing: DasarPivotTableSpacing;
|
|
1884
|
+
size: DasarPivotTableSize;
|
|
1885
|
+
loading: boolean;
|
|
1886
|
+
emptyTitle: string;
|
|
1887
|
+
emptyDescription: string;
|
|
1888
|
+
loadingText: string;
|
|
1889
|
+
sortKey: string | null;
|
|
1890
|
+
sortDirection: DasarPivotTableSortDirection;
|
|
1891
|
+
cellClassFn?: (val: number | null, row: string, col: string) => string | string[] | Record<string, boolean>;
|
|
1892
|
+
cellStyleFn?: (val: number | null, row: string, col: string) => Record<string, string>;
|
|
1893
|
+
rowClick: EventEmitter<{
|
|
1894
|
+
row: any;
|
|
1895
|
+
index: number;
|
|
1896
|
+
event: MouseEvent;
|
|
1897
|
+
}>;
|
|
1898
|
+
rowDblclick: EventEmitter<{
|
|
1899
|
+
row: any;
|
|
1900
|
+
index: number;
|
|
1901
|
+
event: MouseEvent;
|
|
1902
|
+
}>;
|
|
1903
|
+
rowContextMenu: EventEmitter<{
|
|
1904
|
+
row: any;
|
|
1905
|
+
index: number;
|
|
1906
|
+
event: MouseEvent;
|
|
1907
|
+
}>;
|
|
1908
|
+
sortChange: EventEmitter<DasarPivotTableSortEvent>;
|
|
1909
|
+
rowExpandChange: EventEmitter<{
|
|
1910
|
+
row: any;
|
|
1911
|
+
index: number;
|
|
1912
|
+
expanded: boolean;
|
|
1913
|
+
}>;
|
|
1914
|
+
rowHeaders: string[];
|
|
1915
|
+
colHeaders: string[];
|
|
1916
|
+
matrix: Record<string, Record<string, number | null>>;
|
|
1917
|
+
rowTotals: Record<string, number | null>;
|
|
1918
|
+
colTotals: Record<string, number | null>;
|
|
1919
|
+
grandTotal: number | null;
|
|
1920
|
+
expandedRows: Set<string>;
|
|
1921
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1922
|
+
private buildPivotMatrix;
|
|
1923
|
+
private aggregate;
|
|
1924
|
+
private resetState;
|
|
1925
|
+
handleRowClick(row: string, index: number, event: MouseEvent): void;
|
|
1926
|
+
handleRowDblclick(row: string, index: number, event: MouseEvent): void;
|
|
1927
|
+
handleRowContextMenu(row: string, index: number, event: MouseEvent): void;
|
|
1928
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotTable, never>;
|
|
1929
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarPivotTable, "dasar-pivot-table", never, {
|
|
1930
|
+
"data": {
|
|
1931
|
+
"alias": "data";
|
|
1932
|
+
"required": true;
|
|
1933
|
+
};
|
|
1934
|
+
"rowField": {
|
|
1935
|
+
"alias": "rowField";
|
|
1936
|
+
"required": true;
|
|
1621
1937
|
};
|
|
1622
|
-
"
|
|
1623
|
-
"alias": "
|
|
1624
|
-
"required":
|
|
1938
|
+
"colField": {
|
|
1939
|
+
"alias": "colField";
|
|
1940
|
+
"required": true;
|
|
1625
1941
|
};
|
|
1626
|
-
"
|
|
1627
|
-
"alias": "
|
|
1942
|
+
"valField": {
|
|
1943
|
+
"alias": "valField";
|
|
1628
1944
|
"required": false;
|
|
1629
1945
|
};
|
|
1630
|
-
"
|
|
1631
|
-
"alias": "
|
|
1946
|
+
"aggregator": {
|
|
1947
|
+
"alias": "aggregator";
|
|
1632
1948
|
"required": false;
|
|
1633
1949
|
};
|
|
1634
|
-
"
|
|
1635
|
-
"alias": "
|
|
1950
|
+
"rowLabel": {
|
|
1951
|
+
"alias": "rowLabel";
|
|
1636
1952
|
"required": false;
|
|
1637
1953
|
};
|
|
1638
|
-
"
|
|
1639
|
-
"alias": "
|
|
1954
|
+
"colLabel": {
|
|
1955
|
+
"alias": "colLabel";
|
|
1640
1956
|
"required": false;
|
|
1641
1957
|
};
|
|
1642
|
-
"
|
|
1643
|
-
"alias": "
|
|
1958
|
+
"showRowTotals": {
|
|
1959
|
+
"alias": "showRowTotals";
|
|
1644
1960
|
"required": false;
|
|
1645
1961
|
};
|
|
1646
|
-
"
|
|
1647
|
-
"alias": "
|
|
1962
|
+
"showColTotals": {
|
|
1963
|
+
"alias": "showColTotals";
|
|
1648
1964
|
"required": false;
|
|
1649
1965
|
};
|
|
1650
|
-
"
|
|
1651
|
-
"alias": "
|
|
1966
|
+
"emptyText": {
|
|
1967
|
+
"alias": "emptyText";
|
|
1652
1968
|
"required": false;
|
|
1653
1969
|
};
|
|
1654
|
-
"
|
|
1655
|
-
"alias": "
|
|
1970
|
+
"appearance": {
|
|
1971
|
+
"alias": "appearance";
|
|
1656
1972
|
"required": false;
|
|
1657
1973
|
};
|
|
1658
|
-
"
|
|
1659
|
-
"alias": "
|
|
1974
|
+
"spacing": {
|
|
1975
|
+
"alias": "spacing";
|
|
1660
1976
|
"required": false;
|
|
1661
1977
|
};
|
|
1662
|
-
"
|
|
1663
|
-
"alias": "
|
|
1978
|
+
"size": {
|
|
1979
|
+
"alias": "size";
|
|
1664
1980
|
"required": false;
|
|
1665
1981
|
};
|
|
1666
|
-
"
|
|
1667
|
-
"alias": "
|
|
1982
|
+
"loading": {
|
|
1983
|
+
"alias": "loading";
|
|
1668
1984
|
"required": false;
|
|
1669
1985
|
};
|
|
1670
|
-
"
|
|
1671
|
-
"alias": "
|
|
1986
|
+
"emptyTitle": {
|
|
1987
|
+
"alias": "emptyTitle";
|
|
1672
1988
|
"required": false;
|
|
1673
1989
|
};
|
|
1674
|
-
"
|
|
1675
|
-
"alias": "
|
|
1990
|
+
"emptyDescription": {
|
|
1991
|
+
"alias": "emptyDescription";
|
|
1676
1992
|
"required": false;
|
|
1677
1993
|
};
|
|
1678
|
-
"
|
|
1679
|
-
"alias": "
|
|
1994
|
+
"loadingText": {
|
|
1995
|
+
"alias": "loadingText";
|
|
1680
1996
|
"required": false;
|
|
1681
1997
|
};
|
|
1682
|
-
"
|
|
1683
|
-
"alias": "
|
|
1998
|
+
"sortKey": {
|
|
1999
|
+
"alias": "sortKey";
|
|
1684
2000
|
"required": false;
|
|
1685
2001
|
};
|
|
1686
|
-
"
|
|
1687
|
-
"alias": "
|
|
2002
|
+
"sortDirection": {
|
|
2003
|
+
"alias": "sortDirection";
|
|
1688
2004
|
"required": false;
|
|
1689
2005
|
};
|
|
1690
|
-
"
|
|
1691
|
-
"alias": "
|
|
2006
|
+
"cellClassFn": {
|
|
2007
|
+
"alias": "cellClassFn";
|
|
1692
2008
|
"required": false;
|
|
1693
2009
|
};
|
|
1694
|
-
"
|
|
1695
|
-
"alias": "
|
|
2010
|
+
"cellStyleFn": {
|
|
2011
|
+
"alias": "cellStyleFn";
|
|
1696
2012
|
"required": false;
|
|
1697
2013
|
};
|
|
1698
2014
|
}, {
|
|
1699
|
-
"
|
|
1700
|
-
"
|
|
1701
|
-
"
|
|
1702
|
-
"
|
|
1703
|
-
"
|
|
1704
|
-
|
|
1705
|
-
"onPrevMonthClick": "onPrevMonthClick";
|
|
1706
|
-
"onNextYearClick": "onNextYearClick";
|
|
1707
|
-
"onPrevYearClick": "onPrevYearClick";
|
|
1708
|
-
"onCleared": "onCleared";
|
|
1709
|
-
"onCouched": "onCouched";
|
|
1710
|
-
"onFocus": "onFocus";
|
|
1711
|
-
"onBlur": "onBlur";
|
|
1712
|
-
}, ["extraHeaderSlot", "extraFooterSlot", "extraLabelSlot", "labelSlot", "hintSlot", "prefixSlot"], ["[label-slot]", "[extra-label-slot]", "[prefix-slot]", "[extra-footer-slot]", "[hint-slot]"], true, never>;
|
|
1713
|
-
static ngAcceptInputType_fullWidth: unknown;
|
|
1714
|
-
static ngAcceptInputType_clearable: unknown;
|
|
1715
|
-
static ngAcceptInputType_disabled: unknown;
|
|
1716
|
-
static ngAcceptInputType_fluid: unknown;
|
|
1717
|
-
static ngAcceptInputType_error: unknown;
|
|
2015
|
+
"rowClick": "rowClick";
|
|
2016
|
+
"rowDblclick": "rowDblclick";
|
|
2017
|
+
"rowContextMenu": "rowContextMenu";
|
|
2018
|
+
"sortChange": "sortChange";
|
|
2019
|
+
"rowExpandChange": "rowExpandChange";
|
|
2020
|
+
}, ["rowHeaderTemplate", "colHeaderTemplate", "cellTemplate", "providedHeader", "providedBody", "providedEmpty", "providedPagination", "providedExpanded"], never, true, never>;
|
|
1718
2021
|
}
|
|
1719
|
-
export declare const
|
|
1720
|
-
export type
|
|
1721
|
-
export type
|
|
1722
|
-
export type
|
|
1723
|
-
export type
|
|
1724
|
-
export
|
|
1725
|
-
|
|
1726
|
-
variant?: 'dashboard' | 'dropdown';
|
|
1727
|
-
size?: DasarCalendarSizeType;
|
|
1728
|
-
radius?: DasarCalendarRadius;
|
|
1729
|
-
containerStyle?: StyleType;
|
|
1730
|
-
containerClass?: ClassType;
|
|
1731
|
-
headerClass?: ClassType;
|
|
1732
|
-
headerStyle?: StyleType;
|
|
1733
|
-
hideFullDate?: boolean;
|
|
1734
|
-
weekdayFormat?: string;
|
|
1735
|
-
headerFormat?: string;
|
|
1736
|
-
valueFormat?: string;
|
|
1737
|
-
hideHeader?: boolean;
|
|
2022
|
+
export declare const DasarPivotTableComponent: readonly [typeof DasarPivotTable, typeof DasarPivotCellTemplate, typeof DasarPivotRowHeaderTemplate, typeof DasarPivotColHeaderTemplate, typeof DasarPivotTableHeaderSlot, typeof DasarPivotTableBodySlot, typeof DasarPivotTableEmptySlot, typeof DasarPivotTablePaginationSlot, typeof DasarPivotTableExpandedSlot];
|
|
2023
|
+
export type DasarDatepickerPlacement = DasarPanelPlacement;
|
|
2024
|
+
export type DasarDatepickerSize = Extract<ScaleAttributeType$1, 'sm' | 'md' | 'lg'>;
|
|
2025
|
+
export type DasarDatepickerAppearance = 'outline' | 'filled' | 'subtle';
|
|
2026
|
+
export type DasarDatepickerRadius = ScaleAttributeType$1;
|
|
2027
|
+
export type DasarDatepickerType = 'date';
|
|
2028
|
+
export interface DasarDatepickerConfig {
|
|
1738
2029
|
fullWidth?: boolean;
|
|
2030
|
+
clearable?: boolean;
|
|
1739
2031
|
disabled?: boolean;
|
|
2032
|
+
fluid?: boolean;
|
|
2033
|
+
error?: boolean;
|
|
2034
|
+
displayFormat?: string;
|
|
2035
|
+
valueFormat?: string;
|
|
2036
|
+
placement?: DasarDatepickerPlacement;
|
|
2037
|
+
appearance?: DasarDatepickerAppearance;
|
|
2038
|
+
extraLabel?: string;
|
|
2039
|
+
placeholder?: string;
|
|
2040
|
+
radius?: DasarDatepickerRadius;
|
|
2041
|
+
type?: DasarDatepickerType;
|
|
2042
|
+
size?: DasarDatepickerSize;
|
|
1740
2043
|
locale?: string;
|
|
2044
|
+
label?: string;
|
|
2045
|
+
hint?: string;
|
|
2046
|
+
containerClass?: ClassType;
|
|
2047
|
+
wrapperClass?: ClassType;
|
|
2048
|
+
triggerClass?: ClassType;
|
|
2049
|
+
dropdownClass?: ClassType;
|
|
2050
|
+
labelWrapperClass?: ClassType;
|
|
2051
|
+
hintWrapperClass?: ClassType;
|
|
2052
|
+
wrapperStyle?: StyleType;
|
|
2053
|
+
triggerStyle?: StyleType;
|
|
2054
|
+
labelWrapperStyle?: StyleType;
|
|
2055
|
+
hintWrapperStyle?: StyleType;
|
|
2056
|
+
containerStyle?: StyleType;
|
|
2057
|
+
dropdownStyle?: StyleType;
|
|
1741
2058
|
}
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
fullDateStr: string;
|
|
1746
|
-
isSelected: boolean;
|
|
1747
|
-
dayNumber: number;
|
|
1748
|
-
isToday: boolean;
|
|
1749
|
-
date: Date;
|
|
1750
|
-
}
|
|
1751
|
-
export declare class DasarCalendarHeaderTemplate {
|
|
1752
|
-
templateRef: TemplateRef<any>;
|
|
1753
|
-
constructor(templateRef: TemplateRef<any>);
|
|
1754
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCalendarHeaderTemplate, never>;
|
|
1755
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarCalendarHeaderTemplate, "[calendar-header-template]", never, {}, {}, never, never, true, never>;
|
|
1756
|
-
}
|
|
1757
|
-
export declare class DasarCalendarPrevYearTemplate {
|
|
1758
|
-
templateRef: TemplateRef<any>;
|
|
1759
|
-
constructor(templateRef: TemplateRef<any>);
|
|
1760
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCalendarPrevYearTemplate, never>;
|
|
1761
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarCalendarPrevYearTemplate, "[calendar-prev-year-template]", never, {}, {}, never, never, true, never>;
|
|
2059
|
+
export declare class DasarDatepickerPrefixSlot {
|
|
2060
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarDatepickerPrefixSlot, never>;
|
|
2061
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarDatepickerPrefixSlot, "[prefix-slot]", never, {}, {}, never, never, true, never>;
|
|
1762
2062
|
}
|
|
1763
|
-
export declare class
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCalendarPrevMonthTemplate, never>;
|
|
1767
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarCalendarPrevMonthTemplate, "[calendar-prev-month-template]", never, {}, {}, never, never, true, never>;
|
|
2063
|
+
export declare class DasarDatepickerLabelSlot {
|
|
2064
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarDatepickerLabelSlot, never>;
|
|
2065
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarDatepickerLabelSlot, "[label-slot]", never, {}, {}, never, never, true, never>;
|
|
1768
2066
|
}
|
|
1769
|
-
export declare class
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCalendarTodayTemplate, never>;
|
|
1773
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarCalendarTodayTemplate, "[calendar-today-template]", never, {}, {}, never, never, true, never>;
|
|
2067
|
+
export declare class DasarDatepickerExtraLabelSlot {
|
|
2068
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarDatepickerExtraLabelSlot, never>;
|
|
2069
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarDatepickerExtraLabelSlot, "[extra-label-slot]", never, {}, {}, never, never, true, never>;
|
|
1774
2070
|
}
|
|
1775
|
-
export declare class
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCalendarNextMonthTemplate, never>;
|
|
1779
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarCalendarNextMonthTemplate, "[calendar-next-month-template]", never, {}, {}, never, never, true, never>;
|
|
2071
|
+
export declare class DasarDatepickerExtraHeaderSlot {
|
|
2072
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarDatepickerExtraHeaderSlot, never>;
|
|
2073
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarDatepickerExtraHeaderSlot, "[extra-header-slot]", never, {}, {}, never, never, true, never>;
|
|
1780
2074
|
}
|
|
1781
|
-
export declare class
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCalendarNextYearTemplate, never>;
|
|
1785
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarCalendarNextYearTemplate, "[calendar-next-year-template]", never, {}, {}, never, never, true, never>;
|
|
2075
|
+
export declare class DasarDatepickerExtraFooterSlot {
|
|
2076
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarDatepickerExtraFooterSlot, never>;
|
|
2077
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarDatepickerExtraFooterSlot, "[extra-footer-slot]", never, {}, {}, never, never, true, never>;
|
|
1786
2078
|
}
|
|
1787
|
-
export declare class
|
|
1788
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
1789
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
2079
|
+
export declare class DasarDatepickerHintSlot {
|
|
2080
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarDatepickerHintSlot, never>;
|
|
2081
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarDatepickerHintSlot, "[hint-slot]", never, {}, {}, never, never, true, never>;
|
|
1790
2082
|
}
|
|
1791
|
-
export declare class
|
|
1792
|
-
prevMonthTemplate?: DasarCalendarPrevMonthTemplate;
|
|
1793
|
-
nextMonthTemplate?: DasarCalendarNextMonthTemplate;
|
|
1794
|
-
prevYearTemplate?: DasarCalendarPrevYearTemplate;
|
|
1795
|
-
nextYearTemplate?: DasarCalendarNextYearTemplate;
|
|
1796
|
-
headerTemplate?: DasarCalendarHeaderTemplate;
|
|
1797
|
-
todayTemplate?: DasarCalendarTodayTemplate;
|
|
1798
|
-
footerSlot?: DasarCalendarFooterSlot;
|
|
2083
|
+
export declare class DasarDatepicker implements OnInit, ControlValueAccessor {
|
|
1799
2084
|
private themeProvider;
|
|
1800
2085
|
private themeService;
|
|
1801
|
-
|
|
2086
|
+
private cdr;
|
|
2087
|
+
private elementRef;
|
|
2088
|
+
extraHeaderSlot?: DasarDatepickerExtraHeaderSlot;
|
|
2089
|
+
extraFooterSlot?: DasarDatepickerExtraFooterSlot;
|
|
2090
|
+
extraLabelSlot?: DasarDatepickerExtraLabelSlot;
|
|
2091
|
+
labelSlot?: DasarDatepickerLabelSlot;
|
|
2092
|
+
hintSlot?: DasarDatepickerHintSlot;
|
|
2093
|
+
prefixSlot?: DasarDatepickerPrefixSlot;
|
|
2094
|
+
triggerEl?: ElementRef<HTMLElement>;
|
|
2095
|
+
dropdownEl?: ElementRef<HTMLElement>;
|
|
2096
|
+
displayFormat: string;
|
|
1802
2097
|
valueFormat: string;
|
|
1803
|
-
size: NonNullable<import("dasar-ui").DasarSelectSizeType | undefined>;
|
|
1804
|
-
weekdayFormat: string;
|
|
1805
2098
|
locale: string;
|
|
1806
|
-
|
|
1807
|
-
|
|
2099
|
+
private _placement;
|
|
2100
|
+
set placement(value: DasarDatepickerPlacement);
|
|
2101
|
+
get placement(): DasarDatepickerPlacement;
|
|
2102
|
+
currentPlacement: DasarDatepickerPlacement;
|
|
2103
|
+
appearance: NonNullable<DasarDatepickerAppearance | undefined>;
|
|
1808
2104
|
radius: NonNullable<ScaleAttributeType$1 | undefined>;
|
|
1809
|
-
|
|
2105
|
+
type: "date";
|
|
2106
|
+
size: NonNullable<DasarDatepickerSize | undefined>;
|
|
2107
|
+
placeholder: string;
|
|
2108
|
+
label: string | undefined;
|
|
2109
|
+
extraLabel: string | undefined;
|
|
2110
|
+
hint: string | undefined;
|
|
1810
2111
|
containerClass: NonNullable<ClassType> | null;
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
2112
|
+
wrapperClass: NonNullable<ClassType> | null;
|
|
2113
|
+
triggerClass: NonNullable<ClassType> | null;
|
|
2114
|
+
dropdownClass: NonNullable<ClassType> | null;
|
|
2115
|
+
labelWrapperClass: NonNullable<ClassType> | null;
|
|
2116
|
+
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
2117
|
+
wrapperStyle: NonNullable<StyleType | undefined> | null;
|
|
2118
|
+
triggerStyle: NonNullable<StyleType | undefined> | null;
|
|
2119
|
+
dropdownStyle: NonNullable<StyleType | undefined> | null;
|
|
2120
|
+
labelWrapperStyle: NonNullable<StyleType | undefined> | null;
|
|
2121
|
+
hintWrapperClass: NonNullable<ClassType> | null;
|
|
2122
|
+
hintWrapperStyle: NonNullable<StyleType | undefined> | null;
|
|
2123
|
+
readonly hintId: string;
|
|
1815
2124
|
fullWidth: NonNullable<boolean | undefined>;
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
2125
|
+
clearable: NonNullable<boolean | undefined>;
|
|
2126
|
+
disabled: NonNullable<boolean | undefined>;
|
|
2127
|
+
fluid: NonNullable<boolean | undefined>;
|
|
2128
|
+
error: NonNullable<boolean | undefined>;
|
|
2129
|
+
valueChange: EventEmitter<any>;
|
|
2130
|
+
onDateSelected: EventEmitter<any>;
|
|
2131
|
+
onInitialized: EventEmitter<void>;
|
|
2132
|
+
onClickIn: EventEmitter<Event>;
|
|
2133
|
+
onClickOut: EventEmitter<Event>;
|
|
2134
|
+
onNextMonthClick: EventEmitter<void>;
|
|
2135
|
+
onPrevMonthClick: EventEmitter<void>;
|
|
2136
|
+
onNextYearClick: EventEmitter<void>;
|
|
2137
|
+
onPrevYearClick: EventEmitter<void>;
|
|
2138
|
+
onCleared: EventEmitter<void>;
|
|
2139
|
+
onCouched: EventEmitter<void>;
|
|
2140
|
+
onFocus: EventEmitter<void | Event>;
|
|
2141
|
+
onBlur: EventEmitter<void | Event>;
|
|
1824
2142
|
readonly baseClass = true;
|
|
1825
2143
|
get hasFullWidth(): boolean;
|
|
2144
|
+
get isDisabled(): boolean;
|
|
1826
2145
|
private _value;
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
2146
|
+
internalDate: Date | null;
|
|
2147
|
+
isOpen: boolean;
|
|
2148
|
+
private isFocused;
|
|
2149
|
+
get value(): any;
|
|
2150
|
+
set value(val: any);
|
|
1832
2151
|
onTouched: any;
|
|
1833
2152
|
onChange: any;
|
|
1834
|
-
get value(): Date | null;
|
|
1835
|
-
set value(val: Date | null | string | number);
|
|
1836
|
-
valueChange: EventEmitter<Date | null>;
|
|
1837
2153
|
ngOnInit(): void;
|
|
1838
|
-
|
|
1839
|
-
get
|
|
1840
|
-
get
|
|
1841
|
-
name: string;
|
|
1842
|
-
index: number;
|
|
1843
|
-
}[];
|
|
1844
|
-
get yearsList(): number[];
|
|
1845
|
-
get localizedDropdownWeekdays(): string[];
|
|
1846
|
-
toggleViewMode(): void;
|
|
1847
|
-
selectMonth(monthIndex: number, event: Event): void;
|
|
1848
|
-
selectYear(year: number, event: Event): void;
|
|
2154
|
+
get hasLabelRow(): boolean;
|
|
2155
|
+
get hasHintRow(): boolean;
|
|
2156
|
+
get formattedDisplay(): string;
|
|
1849
2157
|
writeValue(value: any): void;
|
|
1850
2158
|
registerOnChange(fn: any): void;
|
|
1851
2159
|
registerOnTouched(fn: any): void;
|
|
1852
2160
|
setDisabledState(isDisabled: boolean): void;
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
2161
|
+
onClickOutside(event: Event): void;
|
|
2162
|
+
private syncInternalDate;
|
|
2163
|
+
private setFocus;
|
|
2164
|
+
get iconSize(): number;
|
|
2165
|
+
toggleDropdown(event: Event): void;
|
|
2166
|
+
onViewportChange(): void;
|
|
2167
|
+
clearValue(event: Event): void;
|
|
2168
|
+
onCalendarSelect(date: Date | null): void;
|
|
2169
|
+
private formatReturnValue;
|
|
2170
|
+
private calculateSmartPlacement;
|
|
2171
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarDatepicker, never>;
|
|
2172
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarDatepicker, "dasar-datepicker", never, {
|
|
2173
|
+
"displayFormat": {
|
|
2174
|
+
"alias": "display-format";
|
|
1864
2175
|
"required": false;
|
|
1865
2176
|
};
|
|
1866
2177
|
"valueFormat": {
|
|
1867
2178
|
"alias": "value-format";
|
|
1868
2179
|
"required": false;
|
|
1869
2180
|
};
|
|
1870
|
-
"size": {
|
|
1871
|
-
"alias": "size";
|
|
1872
|
-
"required": false;
|
|
1873
|
-
};
|
|
1874
|
-
"weekdayFormat": {
|
|
1875
|
-
"alias": "weekday-format";
|
|
1876
|
-
"required": false;
|
|
1877
|
-
};
|
|
1878
2181
|
"locale": {
|
|
1879
2182
|
"alias": "locale";
|
|
1880
2183
|
"required": false;
|
|
1881
2184
|
};
|
|
1882
|
-
"
|
|
1883
|
-
"alias": "
|
|
2185
|
+
"placement": {
|
|
2186
|
+
"alias": "placement";
|
|
1884
2187
|
"required": false;
|
|
1885
2188
|
};
|
|
1886
|
-
"
|
|
1887
|
-
"alias": "
|
|
2189
|
+
"appearance": {
|
|
2190
|
+
"alias": "appearance";
|
|
1888
2191
|
"required": false;
|
|
1889
2192
|
};
|
|
1890
2193
|
"radius": {
|
|
1891
2194
|
"alias": "radius";
|
|
1892
2195
|
"required": false;
|
|
1893
2196
|
};
|
|
1894
|
-
"
|
|
1895
|
-
"alias": "
|
|
1896
|
-
"required": false;
|
|
1897
|
-
};
|
|
1898
|
-
"containerClass": {
|
|
1899
|
-
"alias": "container-class";
|
|
1900
|
-
"required": false;
|
|
1901
|
-
};
|
|
1902
|
-
"headerClass": {
|
|
1903
|
-
"alias": "header-class";
|
|
1904
|
-
"required": false;
|
|
1905
|
-
};
|
|
1906
|
-
"headerStyle": {
|
|
1907
|
-
"alias": "header-style";
|
|
1908
|
-
"required": false;
|
|
1909
|
-
};
|
|
1910
|
-
"disabled": {
|
|
1911
|
-
"alias": "disabled";
|
|
1912
|
-
"required": false;
|
|
1913
|
-
};
|
|
1914
|
-
"hideHeader": {
|
|
1915
|
-
"alias": "hide-header";
|
|
2197
|
+
"type": {
|
|
2198
|
+
"alias": "type";
|
|
1916
2199
|
"required": false;
|
|
1917
2200
|
};
|
|
1918
|
-
"
|
|
1919
|
-
"alias": "
|
|
2201
|
+
"size": {
|
|
2202
|
+
"alias": "size";
|
|
1920
2203
|
"required": false;
|
|
1921
2204
|
};
|
|
1922
|
-
"
|
|
1923
|
-
"alias": "
|
|
2205
|
+
"placeholder": {
|
|
2206
|
+
"alias": "placeholder";
|
|
1924
2207
|
"required": false;
|
|
1925
2208
|
};
|
|
1926
|
-
"
|
|
1927
|
-
"alias": "
|
|
2209
|
+
"label": {
|
|
2210
|
+
"alias": "label";
|
|
1928
2211
|
"required": false;
|
|
1929
2212
|
};
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
"onYearChange": "onYearChange";
|
|
1933
|
-
"onPrevMonthClick": "onPrevMonthClick";
|
|
1934
|
-
"onNextMonthClick": "onNextMonthClick";
|
|
1935
|
-
"onPrevYearClick": "onPrevYearClick";
|
|
1936
|
-
"onNextYearClick": "onNextYearClick";
|
|
1937
|
-
"onTodayClick": "onTodayClick";
|
|
1938
|
-
"valueChange": "valueChange";
|
|
1939
|
-
}, ["prevMonthTemplate", "nextMonthTemplate", "prevYearTemplate", "nextYearTemplate", "headerTemplate", "todayTemplate", "footerSlot"], ["[calendar-footer-slot]"], true, never>;
|
|
1940
|
-
static ngAcceptInputType_disabled: unknown;
|
|
1941
|
-
static ngAcceptInputType_hideHeader: unknown;
|
|
1942
|
-
static ngAcceptInputType_fullWidth: unknown;
|
|
1943
|
-
static ngAcceptInputType_hideFullDate: unknown;
|
|
1944
|
-
}
|
|
1945
|
-
export declare const DasarCalendarComponent: readonly [typeof DasarCalendar, typeof DasarCalendarFooterSlot, typeof DasarCalendarHeaderTemplate, typeof DasarCalendarPrevYearTemplate, typeof DasarCalendarPrevMonthTemplate, typeof DasarCalendarTodayTemplate, typeof DasarCalendarNextMonthTemplate, typeof DasarCalendarNextYearTemplate];
|
|
1946
|
-
export type DasarChipAppearanceType = DasarButtonAppearanceType;
|
|
1947
|
-
export type DasarChipVariantType = DasarButtonVariantType;
|
|
1948
|
-
export interface DasarChipConfig {
|
|
1949
|
-
closeIconName?: string;
|
|
1950
|
-
appearance?: DasarChipAppearanceType;
|
|
1951
|
-
variant?: DasarChipVariantType;
|
|
1952
|
-
iconName?: string;
|
|
1953
|
-
radius?: DasarButtonRadiusType;
|
|
1954
|
-
size?: DasarButtonSizeType;
|
|
1955
|
-
label?: string;
|
|
1956
|
-
removable?: boolean;
|
|
1957
|
-
disabled?: boolean;
|
|
1958
|
-
fluid?: boolean;
|
|
1959
|
-
containerStyle?: StyleType;
|
|
1960
|
-
contentStyle?: StyleType;
|
|
1961
|
-
labelStyle?: StyleType;
|
|
1962
|
-
containerClass?: ClassType;
|
|
1963
|
-
contentClass?: ClassType;
|
|
1964
|
-
labelClass?: ClassType;
|
|
1965
|
-
}
|
|
1966
|
-
export declare class DasarChipLabelSlot {
|
|
1967
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarChipLabelSlot, never>;
|
|
1968
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarChipLabelSlot, "[chip-label-slot]", never, {}, {}, never, never, true, never>;
|
|
1969
|
-
}
|
|
1970
|
-
export declare class DasarChipCloseSlot {
|
|
1971
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarChipCloseSlot, never>;
|
|
1972
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarChipCloseSlot, "[chip-close-slot]", never, {}, {}, never, never, true, never>;
|
|
1973
|
-
}
|
|
1974
|
-
export declare class DasarChip {
|
|
1975
|
-
private themeProvider;
|
|
1976
|
-
private themeService;
|
|
1977
|
-
private cdr;
|
|
1978
|
-
closeIconName: string;
|
|
1979
|
-
appearance: NonNullable<DasarButtonAppearanceType | undefined>;
|
|
1980
|
-
variant: NonNullable<DasarButtonVariantType | undefined>;
|
|
1981
|
-
iconName: string | undefined;
|
|
1982
|
-
radius: NonNullable<ScaleAttributeType$1 | undefined>;
|
|
1983
|
-
size: NonNullable<DasarButtonSizeType | undefined>;
|
|
1984
|
-
label: string | undefined;
|
|
1985
|
-
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
1986
|
-
contentStyle: NonNullable<StyleType | undefined> | null;
|
|
1987
|
-
labelStyle: NonNullable<StyleType | undefined> | null;
|
|
1988
|
-
containerClass: NonNullable<ClassType> | null;
|
|
1989
|
-
contentClass: NonNullable<ClassType> | null;
|
|
1990
|
-
labelClass: NonNullable<ClassType> | null;
|
|
1991
|
-
removable: NonNullable<boolean | undefined>;
|
|
1992
|
-
disabled: NonNullable<boolean | undefined>;
|
|
1993
|
-
fluid: NonNullable<boolean | undefined>;
|
|
1994
|
-
labelSlot?: DasarChipLabelSlot;
|
|
1995
|
-
closeSlot?: DasarChipCloseSlot;
|
|
1996
|
-
onClick: EventEmitter<Event>;
|
|
1997
|
-
onRemove: EventEmitter<Event>;
|
|
1998
|
-
readonly baseClass = true;
|
|
1999
|
-
onHostClick(event: MouseEvent): void;
|
|
2000
|
-
click(event: Event): void;
|
|
2001
|
-
remove(event: Event): void;
|
|
2002
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarChip, never>;
|
|
2003
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DasarChip, "dasar-chip", never, {
|
|
2004
|
-
"closeIconName": {
|
|
2005
|
-
"alias": "close-icon-name";
|
|
2213
|
+
"extraLabel": {
|
|
2214
|
+
"alias": "extra-label";
|
|
2006
2215
|
"required": false;
|
|
2007
2216
|
};
|
|
2008
|
-
"
|
|
2009
|
-
"alias": "
|
|
2217
|
+
"hint": {
|
|
2218
|
+
"alias": "hint";
|
|
2010
2219
|
"required": false;
|
|
2011
2220
|
};
|
|
2012
|
-
"
|
|
2013
|
-
"alias": "
|
|
2221
|
+
"containerClass": {
|
|
2222
|
+
"alias": "container-class";
|
|
2014
2223
|
"required": false;
|
|
2015
2224
|
};
|
|
2016
|
-
"
|
|
2017
|
-
"alias": "
|
|
2225
|
+
"wrapperClass": {
|
|
2226
|
+
"alias": "wrapper-class";
|
|
2018
2227
|
"required": false;
|
|
2019
2228
|
};
|
|
2020
|
-
"
|
|
2021
|
-
"alias": "
|
|
2229
|
+
"triggerClass": {
|
|
2230
|
+
"alias": "trigger-class";
|
|
2022
2231
|
"required": false;
|
|
2023
2232
|
};
|
|
2024
|
-
"
|
|
2025
|
-
"alias": "
|
|
2233
|
+
"dropdownClass": {
|
|
2234
|
+
"alias": "dropdown-class";
|
|
2026
2235
|
"required": false;
|
|
2027
|
-
};
|
|
2028
|
-
"
|
|
2029
|
-
"alias": "label";
|
|
2236
|
+
};
|
|
2237
|
+
"labelWrapperClass": {
|
|
2238
|
+
"alias": "label-wrapper-class";
|
|
2030
2239
|
"required": false;
|
|
2031
2240
|
};
|
|
2032
2241
|
"containerStyle": {
|
|
2033
2242
|
"alias": "container-style";
|
|
2034
2243
|
"required": false;
|
|
2035
2244
|
};
|
|
2036
|
-
"
|
|
2037
|
-
"alias": "
|
|
2245
|
+
"wrapperStyle": {
|
|
2246
|
+
"alias": "wrapper-style";
|
|
2038
2247
|
"required": false;
|
|
2039
2248
|
};
|
|
2040
|
-
"
|
|
2041
|
-
"alias": "
|
|
2249
|
+
"triggerStyle": {
|
|
2250
|
+
"alias": "trigger-style";
|
|
2042
2251
|
"required": false;
|
|
2043
2252
|
};
|
|
2044
|
-
"
|
|
2045
|
-
"alias": "
|
|
2253
|
+
"dropdownStyle": {
|
|
2254
|
+
"alias": "dropdown-style";
|
|
2046
2255
|
"required": false;
|
|
2047
2256
|
};
|
|
2048
|
-
"
|
|
2049
|
-
"alias": "
|
|
2257
|
+
"labelWrapperStyle": {
|
|
2258
|
+
"alias": "label-wrapper-style";
|
|
2050
2259
|
"required": false;
|
|
2051
2260
|
};
|
|
2052
|
-
"
|
|
2053
|
-
"alias": "
|
|
2261
|
+
"hintWrapperClass": {
|
|
2262
|
+
"alias": "hint-wrapper-class";
|
|
2054
2263
|
"required": false;
|
|
2055
2264
|
};
|
|
2056
|
-
"
|
|
2057
|
-
"alias": "
|
|
2265
|
+
"hintWrapperStyle": {
|
|
2266
|
+
"alias": "hint-wrapper-style";
|
|
2267
|
+
"required": false;
|
|
2268
|
+
};
|
|
2269
|
+
"fullWidth": {
|
|
2270
|
+
"alias": "full-width";
|
|
2271
|
+
"required": false;
|
|
2272
|
+
};
|
|
2273
|
+
"clearable": {
|
|
2274
|
+
"alias": "clearable";
|
|
2058
2275
|
"required": false;
|
|
2059
2276
|
};
|
|
2060
2277
|
"disabled": {
|
|
@@ -2065,281 +2282,240 @@ export declare class DasarChip {
|
|
|
2065
2282
|
"alias": "fluid";
|
|
2066
2283
|
"required": false;
|
|
2067
2284
|
};
|
|
2285
|
+
"error": {
|
|
2286
|
+
"alias": "error";
|
|
2287
|
+
"required": false;
|
|
2288
|
+
};
|
|
2289
|
+
"value": {
|
|
2290
|
+
"alias": "value";
|
|
2291
|
+
"required": false;
|
|
2292
|
+
};
|
|
2068
2293
|
}, {
|
|
2069
|
-
"
|
|
2070
|
-
"
|
|
2071
|
-
|
|
2072
|
-
|
|
2294
|
+
"valueChange": "valueChange";
|
|
2295
|
+
"onDateSelected": "onDateSelected";
|
|
2296
|
+
"onInitialized": "onInitialized";
|
|
2297
|
+
"onClickIn": "onClickIn";
|
|
2298
|
+
"onClickOut": "onClickOut";
|
|
2299
|
+
"onNextMonthClick": "onNextMonthClick";
|
|
2300
|
+
"onPrevMonthClick": "onPrevMonthClick";
|
|
2301
|
+
"onNextYearClick": "onNextYearClick";
|
|
2302
|
+
"onPrevYearClick": "onPrevYearClick";
|
|
2303
|
+
"onCleared": "onCleared";
|
|
2304
|
+
"onCouched": "onCouched";
|
|
2305
|
+
"onFocus": "onFocus";
|
|
2306
|
+
"onBlur": "onBlur";
|
|
2307
|
+
}, ["extraHeaderSlot", "extraFooterSlot", "extraLabelSlot", "labelSlot", "hintSlot", "prefixSlot"], ["[label-slot]", "[extra-label-slot]", "[prefix-slot]", "[extra-footer-slot]", "[hint-slot]"], true, never>;
|
|
2308
|
+
static ngAcceptInputType_fullWidth: unknown;
|
|
2309
|
+
static ngAcceptInputType_clearable: unknown;
|
|
2073
2310
|
static ngAcceptInputType_disabled: unknown;
|
|
2074
2311
|
static ngAcceptInputType_fluid: unknown;
|
|
2312
|
+
static ngAcceptInputType_error: unknown;
|
|
2075
2313
|
}
|
|
2076
|
-
export declare const
|
|
2077
|
-
export type
|
|
2078
|
-
export type
|
|
2079
|
-
export type
|
|
2080
|
-
export type
|
|
2081
|
-
export
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
debounceTime?: number;
|
|
2087
|
-
appearance?: DasarSelectAppearanceType;
|
|
2088
|
-
radius?: DasarSelectRadiusType;
|
|
2089
|
-
options?: DasarSelectOption[];
|
|
2090
|
-
chipSize?: DasarSelectChipSizeType;
|
|
2091
|
-
size?: DasarSelectSizeType;
|
|
2092
|
-
hint?: string;
|
|
2093
|
-
placeholder?: string;
|
|
2094
|
-
labelRight?: string;
|
|
2095
|
-
label?: string;
|
|
2096
|
-
dropdownPanelClass?: ClassType;
|
|
2097
|
-
containerClass?: ClassType;
|
|
2098
|
-
optionClass?: ClassType;
|
|
2099
|
-
placement?: DasarPanelPlacement;
|
|
2100
|
-
dropdownPanelStyle?: StyleType;
|
|
2314
|
+
export declare const DasarDatepickerComponent: readonly [typeof DasarDatepicker, typeof DasarDatepickerHintSlot, typeof DasarDatepickerLabelSlot, typeof DasarDatepickerExtraLabelSlot, typeof DasarDatepickerExtraHeaderSlot, typeof DasarDatepickerExtraFooterSlot, typeof DasarDatepickerPrefixSlot];
|
|
2315
|
+
export type DasarCalendarSizeType = Extract<ScaleAttributeType$1, 'sm' | 'md' | 'lg'>;
|
|
2316
|
+
export type DasarCalendarAppearance = 'outline' | 'borderless';
|
|
2317
|
+
export type DasarCalendarVariant = 'dashboard' | 'dropdown';
|
|
2318
|
+
export type DasarCalendarRadius = ScaleAttributeType$1;
|
|
2319
|
+
export interface DasarCalendarConfig {
|
|
2320
|
+
appearance?: 'outline' | 'borderless';
|
|
2321
|
+
variant?: 'dashboard' | 'dropdown';
|
|
2322
|
+
size?: DasarCalendarSizeType;
|
|
2323
|
+
radius?: DasarCalendarRadius;
|
|
2101
2324
|
containerStyle?: StyleType;
|
|
2325
|
+
containerClass?: ClassType;
|
|
2326
|
+
headerClass?: ClassType;
|
|
2327
|
+
headerStyle?: StyleType;
|
|
2328
|
+
hideFullDate?: boolean;
|
|
2329
|
+
weekdayFormat?: string;
|
|
2330
|
+
headerFormat?: string;
|
|
2331
|
+
valueFormat?: string;
|
|
2332
|
+
hideHeader?: boolean;
|
|
2102
2333
|
fullWidth?: boolean;
|
|
2103
|
-
clearable?: boolean;
|
|
2104
|
-
searchable?: boolean;
|
|
2105
2334
|
disabled?: boolean;
|
|
2106
|
-
|
|
2107
|
-
error?: boolean;
|
|
2108
|
-
hideOverflow?: boolean;
|
|
2109
|
-
}
|
|
2110
|
-
export declare class DasarSelectPrefixSlot {
|
|
2111
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSelectPrefixSlot, never>;
|
|
2112
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarSelectPrefixSlot, "[prefix-slot]", never, {}, {}, never, never, true, never>;
|
|
2335
|
+
locale?: string;
|
|
2113
2336
|
}
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2337
|
+
interface CalendarDay {
|
|
2338
|
+
isCurrentMonth: boolean;
|
|
2339
|
+
weekdayStr?: string;
|
|
2340
|
+
fullDateStr: string;
|
|
2341
|
+
isSelected: boolean;
|
|
2342
|
+
dayNumber: number;
|
|
2343
|
+
isToday: boolean;
|
|
2344
|
+
date: Date;
|
|
2117
2345
|
}
|
|
2118
|
-
export declare class
|
|
2119
|
-
|
|
2120
|
-
|
|
2346
|
+
export declare class DasarCalendarHeaderTemplate {
|
|
2347
|
+
templateRef: TemplateRef<any>;
|
|
2348
|
+
constructor(templateRef: TemplateRef<any>);
|
|
2349
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCalendarHeaderTemplate, never>;
|
|
2350
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarCalendarHeaderTemplate, "[calendar-header-template]", never, {}, {}, never, never, true, never>;
|
|
2121
2351
|
}
|
|
2122
|
-
export declare class
|
|
2123
|
-
|
|
2124
|
-
|
|
2352
|
+
export declare class DasarCalendarPrevYearTemplate {
|
|
2353
|
+
templateRef: TemplateRef<any>;
|
|
2354
|
+
constructor(templateRef: TemplateRef<any>);
|
|
2355
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCalendarPrevYearTemplate, never>;
|
|
2356
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarCalendarPrevYearTemplate, "[calendar-prev-year-template]", never, {}, {}, never, never, true, never>;
|
|
2125
2357
|
}
|
|
2126
|
-
export declare class
|
|
2127
|
-
|
|
2128
|
-
|
|
2358
|
+
export declare class DasarCalendarPrevMonthTemplate {
|
|
2359
|
+
templateRef: TemplateRef<any>;
|
|
2360
|
+
constructor(templateRef: TemplateRef<any>);
|
|
2361
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCalendarPrevMonthTemplate, never>;
|
|
2362
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarCalendarPrevMonthTemplate, "[calendar-prev-month-template]", never, {}, {}, never, never, true, never>;
|
|
2129
2363
|
}
|
|
2130
|
-
export declare class
|
|
2131
|
-
|
|
2132
|
-
|
|
2364
|
+
export declare class DasarCalendarTodayTemplate {
|
|
2365
|
+
templateRef: TemplateRef<any>;
|
|
2366
|
+
constructor(templateRef: TemplateRef<any>);
|
|
2367
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCalendarTodayTemplate, never>;
|
|
2368
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarCalendarTodayTemplate, "[calendar-today-template]", never, {}, {}, never, never, true, never>;
|
|
2133
2369
|
}
|
|
2134
|
-
export declare class
|
|
2370
|
+
export declare class DasarCalendarNextMonthTemplate {
|
|
2135
2371
|
templateRef: TemplateRef<any>;
|
|
2136
2372
|
constructor(templateRef: TemplateRef<any>);
|
|
2137
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
2138
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
2373
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCalendarNextMonthTemplate, never>;
|
|
2374
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarCalendarNextMonthTemplate, "[calendar-next-month-template]", never, {}, {}, never, never, true, never>;
|
|
2139
2375
|
}
|
|
2140
|
-
export declare class
|
|
2376
|
+
export declare class DasarCalendarNextYearTemplate {
|
|
2141
2377
|
templateRef: TemplateRef<any>;
|
|
2142
2378
|
constructor(templateRef: TemplateRef<any>);
|
|
2143
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
2144
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
2379
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCalendarNextYearTemplate, never>;
|
|
2380
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarCalendarNextYearTemplate, "[calendar-next-year-template]", never, {}, {}, never, never, true, never>;
|
|
2145
2381
|
}
|
|
2146
|
-
export
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
chipStyle?: StyleType;
|
|
2150
|
-
disabled?: boolean;
|
|
2151
|
-
iconName?: string;
|
|
2152
|
-
label: string;
|
|
2153
|
-
value: any;
|
|
2154
|
-
[key: string]: any;
|
|
2382
|
+
export declare class DasarCalendarFooterSlot {
|
|
2383
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCalendarFooterSlot, never>;
|
|
2384
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarCalendarFooterSlot, "[calendar-footer-slot]", never, {}, {}, never, never, true, never>;
|
|
2155
2385
|
}
|
|
2156
|
-
export declare class
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
chipTemplate?: DasarSelectChipTemplate;
|
|
2165
|
-
prefixSlot?: DasarSelectPrefixSlot;
|
|
2166
|
-
suffixSlot?: DasarSelectSuffixSlot;
|
|
2167
|
-
labelSlot?: DasarSelectLabelSlot;
|
|
2386
|
+
export declare class DasarCalendar implements OnInit, OnChanges, ControlValueAccessor {
|
|
2387
|
+
prevMonthTemplate?: DasarCalendarPrevMonthTemplate;
|
|
2388
|
+
nextMonthTemplate?: DasarCalendarNextMonthTemplate;
|
|
2389
|
+
prevYearTemplate?: DasarCalendarPrevYearTemplate;
|
|
2390
|
+
nextYearTemplate?: DasarCalendarNextYearTemplate;
|
|
2391
|
+
headerTemplate?: DasarCalendarHeaderTemplate;
|
|
2392
|
+
todayTemplate?: DasarCalendarTodayTemplate;
|
|
2393
|
+
footerSlot?: DasarCalendarFooterSlot;
|
|
2168
2394
|
private themeProvider;
|
|
2169
2395
|
private themeService;
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
arrowIconName: string;
|
|
2178
|
-
debounceTime: number;
|
|
2179
|
-
appearance: NonNullable<DasarSelectAppearanceType | undefined>;
|
|
2396
|
+
headerFormat: string;
|
|
2397
|
+
valueFormat: string;
|
|
2398
|
+
size: NonNullable<import("dasar-ui").DasarSelectSizeType | undefined>;
|
|
2399
|
+
weekdayFormat: string;
|
|
2400
|
+
locale: string;
|
|
2401
|
+
appearance: NonNullable<"outline" | "borderless" | undefined>;
|
|
2402
|
+
variant: NonNullable<"dashboard" | "dropdown" | undefined>;
|
|
2180
2403
|
radius: NonNullable<ScaleAttributeType$1 | undefined>;
|
|
2181
|
-
private _placement;
|
|
2182
|
-
set placement(value: DasarSelectPlacementType);
|
|
2183
|
-
get placement(): DasarSelectPlacementType;
|
|
2184
|
-
currentPlacement: DasarSelectPlacementType;
|
|
2185
|
-
get iconSize(): number;
|
|
2186
|
-
options: never[] | DasarSelectOption[];
|
|
2187
|
-
size: NonNullable<DasarSelectSizeType | undefined>;
|
|
2188
|
-
hint: string | undefined;
|
|
2189
|
-
placeholder: string;
|
|
2190
|
-
label: string | undefined;
|
|
2191
|
-
labelRight: string | undefined;
|
|
2192
|
-
dropdownPanelClass: NonNullable<ClassType> | null;
|
|
2193
|
-
containerClass: NonNullable<ClassType> | null;
|
|
2194
|
-
optionClass: NonNullable<ClassType> | null;
|
|
2195
|
-
dropdownPanelStyle: NonNullable<StyleType | undefined> | null;
|
|
2196
2404
|
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2405
|
+
containerClass: NonNullable<ClassType> | null;
|
|
2406
|
+
headerClass: NonNullable<ClassType> | null;
|
|
2407
|
+
headerStyle: NonNullable<StyleType | undefined> | null;
|
|
2200
2408
|
disabled: NonNullable<boolean | undefined>;
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2409
|
+
hideHeader: NonNullable<boolean | undefined>;
|
|
2410
|
+
fullWidth: NonNullable<boolean | undefined>;
|
|
2411
|
+
hideFullDate: NonNullable<boolean | undefined>;
|
|
2412
|
+
onMonthChange: EventEmitter<Date>;
|
|
2413
|
+
onYearChange: EventEmitter<Date>;
|
|
2414
|
+
onPrevMonthClick: EventEmitter<Date>;
|
|
2415
|
+
onNextMonthClick: EventEmitter<Date>;
|
|
2416
|
+
onPrevYearClick: EventEmitter<Date>;
|
|
2417
|
+
onNextYearClick: EventEmitter<Date>;
|
|
2418
|
+
onTodayClick: EventEmitter<Date>;
|
|
2211
2419
|
readonly baseClass = true;
|
|
2212
2420
|
get hasFullWidth(): boolean;
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2421
|
+
private _value;
|
|
2422
|
+
private cdr;
|
|
2423
|
+
weekdays: string[];
|
|
2424
|
+
viewMode: 'days' | 'months' | 'years';
|
|
2425
|
+
currentViewDate: Date;
|
|
2426
|
+
calendarDays: CalendarDay[];
|
|
2218
2427
|
onTouched: any;
|
|
2219
|
-
|
|
2428
|
+
onChange: any;
|
|
2429
|
+
get value(): Date | null;
|
|
2430
|
+
set value(val: Date | null | string | number);
|
|
2431
|
+
valueChange: EventEmitter<Date | null>;
|
|
2432
|
+
ngOnInit(): void;
|
|
2433
|
+
ngOnChanges(): void;
|
|
2434
|
+
get currentMonthYear(): string;
|
|
2435
|
+
get monthsList(): {
|
|
2436
|
+
name: string;
|
|
2437
|
+
index: number;
|
|
2438
|
+
}[];
|
|
2439
|
+
get yearsList(): number[];
|
|
2440
|
+
get localizedDropdownWeekdays(): string[];
|
|
2441
|
+
toggleViewMode(): void;
|
|
2442
|
+
selectMonth(monthIndex: number, event: Event): void;
|
|
2443
|
+
selectYear(year: number, event: Event): void;
|
|
2444
|
+
writeValue(value: any): void;
|
|
2220
2445
|
registerOnChange(fn: any): void;
|
|
2221
2446
|
registerOnTouched(fn: any): void;
|
|
2222
2447
|
setDisabledState(isDisabled: boolean): void;
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
onViewportChange(): void;
|
|
2235
|
-
private recalculatePlacement;
|
|
2236
|
-
closePanel(): void;
|
|
2237
|
-
isOptionSelected(option: DasarSelectOption): boolean;
|
|
2238
|
-
selectOption(option: DasarSelectOption, event: Event): void;
|
|
2239
|
-
getMultipleDisplayText(): string;
|
|
2240
|
-
onSearchInput(query: string): void;
|
|
2241
|
-
onInputFocus(event?: FocusEvent): void;
|
|
2242
|
-
onInputBlur(event?: FocusEvent): void;
|
|
2243
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSelect, never>;
|
|
2244
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DasarSelect, "dasar-select", never, {
|
|
2245
|
-
"multipleType": {
|
|
2246
|
-
"alias": "multiple-type";
|
|
2247
|
-
"required": false;
|
|
2248
|
-
};
|
|
2249
|
-
"chipSize": {
|
|
2250
|
-
"alias": "chip-size";
|
|
2251
|
-
"required": false;
|
|
2252
|
-
};
|
|
2253
|
-
"arrowIconName": {
|
|
2254
|
-
"alias": "arrow-icon-name";
|
|
2255
|
-
"required": false;
|
|
2256
|
-
};
|
|
2257
|
-
"debounceTime": {
|
|
2258
|
-
"alias": "debounce-time";
|
|
2259
|
-
"required": false;
|
|
2260
|
-
};
|
|
2261
|
-
"appearance": {
|
|
2262
|
-
"alias": "appearance";
|
|
2263
|
-
"required": false;
|
|
2264
|
-
};
|
|
2265
|
-
"radius": {
|
|
2266
|
-
"alias": "radius";
|
|
2267
|
-
"required": false;
|
|
2268
|
-
};
|
|
2269
|
-
"placement": {
|
|
2270
|
-
"alias": "placement";
|
|
2448
|
+
getTimeSafe(date: Date | null): number | null;
|
|
2449
|
+
changeMonth(offset: number, event?: Event): void;
|
|
2450
|
+
changeYear(offset: number, event?: Event): void;
|
|
2451
|
+
goToToday(event?: Event): void;
|
|
2452
|
+
selectDate(day: CalendarDay, event: Event): void;
|
|
2453
|
+
generateCalendar(): void;
|
|
2454
|
+
private createCalendarDay;
|
|
2455
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCalendar, never>;
|
|
2456
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarCalendar, "dasar-calendar", never, {
|
|
2457
|
+
"headerFormat": {
|
|
2458
|
+
"alias": "header-format";
|
|
2271
2459
|
"required": false;
|
|
2272
2460
|
};
|
|
2273
|
-
"
|
|
2274
|
-
"alias": "
|
|
2461
|
+
"valueFormat": {
|
|
2462
|
+
"alias": "value-format";
|
|
2275
2463
|
"required": false;
|
|
2276
2464
|
};
|
|
2277
2465
|
"size": {
|
|
2278
2466
|
"alias": "size";
|
|
2279
2467
|
"required": false;
|
|
2280
2468
|
};
|
|
2281
|
-
"
|
|
2282
|
-
"alias": "
|
|
2283
|
-
"required": false;
|
|
2284
|
-
};
|
|
2285
|
-
"placeholder": {
|
|
2286
|
-
"alias": "placeholder";
|
|
2287
|
-
"required": false;
|
|
2288
|
-
};
|
|
2289
|
-
"label": {
|
|
2290
|
-
"alias": "label";
|
|
2291
|
-
"required": false;
|
|
2292
|
-
};
|
|
2293
|
-
"labelRight": {
|
|
2294
|
-
"alias": "labelRight";
|
|
2469
|
+
"weekdayFormat": {
|
|
2470
|
+
"alias": "weekday-format";
|
|
2295
2471
|
"required": false;
|
|
2296
2472
|
};
|
|
2297
|
-
"
|
|
2298
|
-
"alias": "
|
|
2473
|
+
"locale": {
|
|
2474
|
+
"alias": "locale";
|
|
2299
2475
|
"required": false;
|
|
2300
2476
|
};
|
|
2301
|
-
"
|
|
2302
|
-
"alias": "
|
|
2477
|
+
"appearance": {
|
|
2478
|
+
"alias": "appearance";
|
|
2303
2479
|
"required": false;
|
|
2304
2480
|
};
|
|
2305
|
-
"
|
|
2306
|
-
"alias": "
|
|
2481
|
+
"variant": {
|
|
2482
|
+
"alias": "variant";
|
|
2307
2483
|
"required": false;
|
|
2308
2484
|
};
|
|
2309
|
-
"
|
|
2310
|
-
"alias": "
|
|
2485
|
+
"radius": {
|
|
2486
|
+
"alias": "radius";
|
|
2311
2487
|
"required": false;
|
|
2312
2488
|
};
|
|
2313
2489
|
"containerStyle": {
|
|
2314
2490
|
"alias": "container-style";
|
|
2315
2491
|
"required": false;
|
|
2316
2492
|
};
|
|
2317
|
-
"
|
|
2318
|
-
"alias": "
|
|
2493
|
+
"containerClass": {
|
|
2494
|
+
"alias": "container-class";
|
|
2319
2495
|
"required": false;
|
|
2320
2496
|
};
|
|
2321
|
-
"
|
|
2322
|
-
"alias": "
|
|
2497
|
+
"headerClass": {
|
|
2498
|
+
"alias": "header-class";
|
|
2323
2499
|
"required": false;
|
|
2324
2500
|
};
|
|
2325
|
-
"
|
|
2326
|
-
"alias": "
|
|
2501
|
+
"headerStyle": {
|
|
2502
|
+
"alias": "header-style";
|
|
2327
2503
|
"required": false;
|
|
2328
2504
|
};
|
|
2329
2505
|
"disabled": {
|
|
2330
2506
|
"alias": "disabled";
|
|
2331
2507
|
"required": false;
|
|
2332
2508
|
};
|
|
2333
|
-
"
|
|
2334
|
-
"alias": "
|
|
2509
|
+
"hideHeader": {
|
|
2510
|
+
"alias": "hide-header";
|
|
2335
2511
|
"required": false;
|
|
2336
2512
|
};
|
|
2337
|
-
"
|
|
2338
|
-
"alias": "
|
|
2513
|
+
"fullWidth": {
|
|
2514
|
+
"alias": "full-width";
|
|
2339
2515
|
"required": false;
|
|
2340
2516
|
};
|
|
2341
|
-
"
|
|
2342
|
-
"alias": "hide-
|
|
2517
|
+
"hideFullDate": {
|
|
2518
|
+
"alias": "hide-full-date";
|
|
2343
2519
|
"required": false;
|
|
2344
2520
|
};
|
|
2345
2521
|
"value": {
|
|
@@ -2347,23 +2523,21 @@ export declare class DasarSelect implements ControlValueAccessor {
|
|
|
2347
2523
|
"required": false;
|
|
2348
2524
|
};
|
|
2349
2525
|
}, {
|
|
2526
|
+
"onMonthChange": "onMonthChange";
|
|
2527
|
+
"onYearChange": "onYearChange";
|
|
2528
|
+
"onPrevMonthClick": "onPrevMonthClick";
|
|
2529
|
+
"onNextMonthClick": "onNextMonthClick";
|
|
2530
|
+
"onPrevYearClick": "onPrevYearClick";
|
|
2531
|
+
"onNextYearClick": "onNextYearClick";
|
|
2532
|
+
"onTodayClick": "onTodayClick";
|
|
2350
2533
|
"valueChange": "valueChange";
|
|
2351
|
-
|
|
2352
|
-
"onSearchChange": "onSearchChange";
|
|
2353
|
-
"onFocus": "onFocus";
|
|
2354
|
-
"onPanelOpened": "onPanelOpened";
|
|
2355
|
-
"onPanelClosed": "onPanelClosed";
|
|
2356
|
-
"onCleared": "onCleared";
|
|
2357
|
-
}, ["optionLoadingSlot", "optionEmptySlot", "optionTemplate", "extraLabelSlot", "chipTemplate", "prefixSlot", "suffixSlot", "labelSlot"], ["[label-slot]", "[extra-label-slot]", "[prefix-slot]", "[suffix-slot]", "[option-loading-slot]", "[option-empty-slot]"], true, never>;
|
|
2358
|
-
static ngAcceptInputType_fullWidth: unknown;
|
|
2359
|
-
static ngAcceptInputType_clearable: unknown;
|
|
2360
|
-
static ngAcceptInputType_searchable: unknown;
|
|
2534
|
+
}, ["prevMonthTemplate", "nextMonthTemplate", "prevYearTemplate", "nextYearTemplate", "headerTemplate", "todayTemplate", "footerSlot"], ["[calendar-footer-slot]"], true, never>;
|
|
2361
2535
|
static ngAcceptInputType_disabled: unknown;
|
|
2362
|
-
static
|
|
2363
|
-
static
|
|
2364
|
-
static
|
|
2536
|
+
static ngAcceptInputType_hideHeader: unknown;
|
|
2537
|
+
static ngAcceptInputType_fullWidth: unknown;
|
|
2538
|
+
static ngAcceptInputType_hideFullDate: unknown;
|
|
2365
2539
|
}
|
|
2366
|
-
export declare const
|
|
2540
|
+
export declare const DasarCalendarComponent: readonly [typeof DasarCalendar, typeof DasarCalendarFooterSlot, typeof DasarCalendarHeaderTemplate, typeof DasarCalendarPrevYearTemplate, typeof DasarCalendarPrevMonthTemplate, typeof DasarCalendarTodayTemplate, typeof DasarCalendarNextMonthTemplate, typeof DasarCalendarNextYearTemplate];
|
|
2367
2541
|
export type DasarIconSizeType = ScaleAttributeType$1 | number;
|
|
2368
2542
|
export interface DasarIconConfig {
|
|
2369
2543
|
size?: DasarIconSizeType;
|
|
@@ -2628,20 +2802,46 @@ export declare class DasarCard {
|
|
|
2628
2802
|
static ngAcceptInputType_hideOverflow: unknown;
|
|
2629
2803
|
}
|
|
2630
2804
|
export declare const DasarCardComponent: readonly [typeof DasarCardExtraHeaderSlot, typeof DasarCardCaptionSlot, typeof DasarCardHeaderSlot, typeof DasarCardActionSlot, typeof DasarCard];
|
|
2805
|
+
export type DasarListScrollBehavior = 'auto' | 'smooth';
|
|
2806
|
+
export type DasarListScrollReason = 'init' | 'value' | 'click' | 'keyboard' | 'api';
|
|
2807
|
+
export interface DasarListItemClickEvent {
|
|
2808
|
+
value: any;
|
|
2809
|
+
index: number;
|
|
2810
|
+
event: MouseEvent | KeyboardEvent;
|
|
2811
|
+
}
|
|
2812
|
+
export interface DasarListScrollEvent {
|
|
2813
|
+
value: any;
|
|
2814
|
+
index: number;
|
|
2815
|
+
scrollTop: number;
|
|
2816
|
+
reason: DasarListScrollReason;
|
|
2817
|
+
}
|
|
2631
2818
|
export interface DasarListConfig {
|
|
2632
2819
|
size?: DasarListSize;
|
|
2820
|
+
radius?: DasarListRadiusType;
|
|
2633
2821
|
bordered?: boolean;
|
|
2634
2822
|
showDivider?: boolean;
|
|
2635
2823
|
hoverable?: boolean;
|
|
2636
2824
|
clickable?: boolean;
|
|
2825
|
+
selectable?: boolean;
|
|
2826
|
+
valueField?: string | null;
|
|
2827
|
+
maxHeight?: string | null;
|
|
2828
|
+
scrollOffset?: number;
|
|
2829
|
+
scrollBehavior?: DasarListScrollBehavior;
|
|
2830
|
+
scrollOnInit?: boolean;
|
|
2831
|
+
scrollOnClick?: boolean;
|
|
2832
|
+
keyboard?: boolean;
|
|
2833
|
+
showFocus?: boolean;
|
|
2637
2834
|
containerClass?: ClassType;
|
|
2638
2835
|
containerStyle?: StyleType;
|
|
2639
2836
|
}
|
|
2640
2837
|
export interface DasarListItemConfig {
|
|
2838
|
+
disabled?: boolean;
|
|
2641
2839
|
itemClass?: ClassType;
|
|
2642
2840
|
itemStyle?: StyleType;
|
|
2643
2841
|
}
|
|
2644
2842
|
export type DasarListSize = Extract<ScaleAttributeType$1, 'sm' | 'md' | 'lg'>;
|
|
2843
|
+
export type DasarListRadiusType = ScaleAttributeType$1;
|
|
2844
|
+
export declare const DASAR_LIST: InjectionToken<any>;
|
|
2645
2845
|
export declare class DasarListHeaderSlot {
|
|
2646
2846
|
static ɵfac: i0.ɵɵFactoryDeclaration<DasarListHeaderSlot, never>;
|
|
2647
2847
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarListHeaderSlot, "[header-slot]", never, {}, {}, never, never, true, never>;
|
|
@@ -2658,27 +2858,122 @@ export declare class DasarListItemSuffixSlot {
|
|
|
2658
2858
|
static ɵfac: i0.ɵɵFactoryDeclaration<DasarListItemSuffixSlot, never>;
|
|
2659
2859
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarListItemSuffixSlot, "[suffix-slot]", never, {}, {}, never, never, true, never>;
|
|
2660
2860
|
}
|
|
2661
|
-
export declare class
|
|
2861
|
+
export declare class DasarListItem {
|
|
2862
|
+
providedPrefix?: DasarListItemPrefixSlot;
|
|
2863
|
+
providedSuffix?: DasarListItemSuffixSlot;
|
|
2864
|
+
private themeProvider;
|
|
2865
|
+
private themeService;
|
|
2866
|
+
protected readonly list: any;
|
|
2867
|
+
readonly elementRef: ElementRef<any>;
|
|
2868
|
+
readonly itemId: string;
|
|
2869
|
+
value: any;
|
|
2870
|
+
disabled: NonNullable<boolean | undefined>;
|
|
2871
|
+
itemClass: NonNullable<ClassType> | null;
|
|
2872
|
+
itemStyle: NonNullable<StyleType | undefined> | null;
|
|
2873
|
+
readonly baseClass = true;
|
|
2874
|
+
get hasPrefix(): boolean;
|
|
2875
|
+
get hasSuffix(): boolean;
|
|
2876
|
+
get active(): boolean;
|
|
2877
|
+
get focused(): boolean;
|
|
2878
|
+
get isItemDisabled(): boolean;
|
|
2879
|
+
onItemClick(event: MouseEvent): void;
|
|
2880
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarListItem, never>;
|
|
2881
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarListItem, "dasar-list-item", never, {
|
|
2882
|
+
"value": {
|
|
2883
|
+
"alias": "value";
|
|
2884
|
+
"required": false;
|
|
2885
|
+
};
|
|
2886
|
+
"disabled": {
|
|
2887
|
+
"alias": "disabled";
|
|
2888
|
+
"required": false;
|
|
2889
|
+
};
|
|
2890
|
+
"itemClass": {
|
|
2891
|
+
"alias": "item-class";
|
|
2892
|
+
"required": false;
|
|
2893
|
+
};
|
|
2894
|
+
"itemStyle": {
|
|
2895
|
+
"alias": "item-style";
|
|
2896
|
+
"required": false;
|
|
2897
|
+
};
|
|
2898
|
+
}, {}, ["providedPrefix", "providedSuffix"], ["[prefix-slot]", "*", "[suffix-slot]"], true, never>;
|
|
2899
|
+
static ngAcceptInputType_disabled: unknown;
|
|
2900
|
+
}
|
|
2901
|
+
export declare class DasarList implements ControlValueAccessor {
|
|
2662
2902
|
providedHeader?: DasarListHeaderSlot;
|
|
2663
2903
|
providedFooter?: DasarListFooterSlot;
|
|
2904
|
+
items: QueryList<DasarListItem>;
|
|
2905
|
+
contentRef?: ElementRef<HTMLElement>;
|
|
2664
2906
|
private themeProvider;
|
|
2665
2907
|
private themeService;
|
|
2908
|
+
private platformId;
|
|
2909
|
+
private injector;
|
|
2910
|
+
private destroyRef;
|
|
2911
|
+
private cdr;
|
|
2912
|
+
private innerValue;
|
|
2913
|
+
private innerDisabled;
|
|
2914
|
+
private onChange;
|
|
2915
|
+
private onTouched;
|
|
2916
|
+
private pendingScroll;
|
|
2917
|
+
private initialized;
|
|
2918
|
+
private scrolledOnce;
|
|
2919
|
+
private rafId;
|
|
2920
|
+
private scrollHandler;
|
|
2921
|
+
readonly focusedIndex: import("@angular/core").WritableSignal<number>;
|
|
2922
|
+
constructor();
|
|
2666
2923
|
size: NonNullable<DasarListSize | undefined>;
|
|
2924
|
+
radius: DasarListRadiusType;
|
|
2667
2925
|
bordered: NonNullable<boolean | undefined>;
|
|
2668
2926
|
showDivider: NonNullable<boolean | undefined>;
|
|
2669
2927
|
hoverable: NonNullable<boolean | undefined>;
|
|
2670
2928
|
clickable: NonNullable<boolean | undefined>;
|
|
2929
|
+
selectable: NonNullable<boolean | undefined>;
|
|
2930
|
+
valueField: string | null;
|
|
2931
|
+
maxHeight: string | null;
|
|
2932
|
+
scrollOffset: number;
|
|
2933
|
+
scrollBehavior: NonNullable<DasarListScrollBehavior | undefined>;
|
|
2934
|
+
scrollOnInit: NonNullable<boolean | undefined>;
|
|
2935
|
+
scrollOnClick: NonNullable<boolean | undefined>;
|
|
2936
|
+
keyboard: NonNullable<boolean | undefined>;
|
|
2937
|
+
showFocus: NonNullable<boolean | undefined>;
|
|
2938
|
+
set value(val: any);
|
|
2939
|
+
get value(): any;
|
|
2671
2940
|
containerClass: NonNullable<ClassType> | null;
|
|
2672
2941
|
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
2942
|
+
valueChange: EventEmitter<any>;
|
|
2943
|
+
onUpdate: EventEmitter<any>;
|
|
2944
|
+
onItemClick: EventEmitter<DasarListItemClickEvent>;
|
|
2945
|
+
onScroll: EventEmitter<DasarListScrollEvent>;
|
|
2946
|
+
onUserScroll: EventEmitter<Event>;
|
|
2673
2947
|
readonly baseClass = true;
|
|
2674
2948
|
get hasHeader(): boolean;
|
|
2675
2949
|
get hasFooter(): boolean;
|
|
2950
|
+
get isDisabled(): boolean;
|
|
2951
|
+
get activeDescendantId(): string | null;
|
|
2952
|
+
private keyOf;
|
|
2953
|
+
isActive(itemValue: any): boolean;
|
|
2954
|
+
indexOf(item: DasarListItem): number;
|
|
2955
|
+
private commit;
|
|
2956
|
+
handleItemClick(item: DasarListItem, event: MouseEvent): void;
|
|
2957
|
+
writeValue(val: any): void;
|
|
2958
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
2959
|
+
registerOnTouched(fn: () => void): void;
|
|
2960
|
+
setDisabledState(disabled: boolean): void;
|
|
2961
|
+
private requestScroll;
|
|
2962
|
+
private scrollToItem;
|
|
2963
|
+
scrollToActive(behavior?: DasarListScrollBehavior, reason?: DasarListScrollReason): boolean;
|
|
2964
|
+
scrollToValue(value: any, behavior?: DasarListScrollBehavior, reason?: DasarListScrollReason): boolean;
|
|
2965
|
+
onFocus(): void;
|
|
2966
|
+
onKeydown(event: KeyboardEvent): void;
|
|
2676
2967
|
static ɵfac: i0.ɵɵFactoryDeclaration<DasarList, never>;
|
|
2677
2968
|
static ɵcmp: i0.ɵɵComponentDeclaration<DasarList, "dasar-list", never, {
|
|
2678
2969
|
"size": {
|
|
2679
2970
|
"alias": "size";
|
|
2680
2971
|
"required": false;
|
|
2681
2972
|
};
|
|
2973
|
+
"radius": {
|
|
2974
|
+
"alias": "radius";
|
|
2975
|
+
"required": false;
|
|
2976
|
+
};
|
|
2682
2977
|
"bordered": {
|
|
2683
2978
|
"alias": "bordered";
|
|
2684
2979
|
"required": false;
|
|
@@ -2695,6 +2990,46 @@ export declare class DasarList {
|
|
|
2695
2990
|
"alias": "clickable";
|
|
2696
2991
|
"required": false;
|
|
2697
2992
|
};
|
|
2993
|
+
"selectable": {
|
|
2994
|
+
"alias": "selectable";
|
|
2995
|
+
"required": false;
|
|
2996
|
+
};
|
|
2997
|
+
"valueField": {
|
|
2998
|
+
"alias": "value-field";
|
|
2999
|
+
"required": false;
|
|
3000
|
+
};
|
|
3001
|
+
"maxHeight": {
|
|
3002
|
+
"alias": "max-height";
|
|
3003
|
+
"required": false;
|
|
3004
|
+
};
|
|
3005
|
+
"scrollOffset": {
|
|
3006
|
+
"alias": "scroll-offset";
|
|
3007
|
+
"required": false;
|
|
3008
|
+
};
|
|
3009
|
+
"scrollBehavior": {
|
|
3010
|
+
"alias": "scroll-behavior";
|
|
3011
|
+
"required": false;
|
|
3012
|
+
};
|
|
3013
|
+
"scrollOnInit": {
|
|
3014
|
+
"alias": "scroll-on-init";
|
|
3015
|
+
"required": false;
|
|
3016
|
+
};
|
|
3017
|
+
"scrollOnClick": {
|
|
3018
|
+
"alias": "scroll-on-click";
|
|
3019
|
+
"required": false;
|
|
3020
|
+
};
|
|
3021
|
+
"keyboard": {
|
|
3022
|
+
"alias": "keyboard";
|
|
3023
|
+
"required": false;
|
|
3024
|
+
};
|
|
3025
|
+
"showFocus": {
|
|
3026
|
+
"alias": "show-focus";
|
|
3027
|
+
"required": false;
|
|
3028
|
+
};
|
|
3029
|
+
"value": {
|
|
3030
|
+
"alias": "value";
|
|
3031
|
+
"required": false;
|
|
3032
|
+
};
|
|
2698
3033
|
"containerClass": {
|
|
2699
3034
|
"alias": "container-class";
|
|
2700
3035
|
"required": false;
|
|
@@ -2703,33 +3038,23 @@ export declare class DasarList {
|
|
|
2703
3038
|
"alias": "container-style";
|
|
2704
3039
|
"required": false;
|
|
2705
3040
|
};
|
|
2706
|
-
}, {
|
|
3041
|
+
}, {
|
|
3042
|
+
"valueChange": "valueChange";
|
|
3043
|
+
"onUpdate": "onUpdate";
|
|
3044
|
+
"onItemClick": "onItemClick";
|
|
3045
|
+
"onScroll": "onScroll";
|
|
3046
|
+
"onUserScroll": "onUserScroll";
|
|
3047
|
+
}, ["providedHeader", "providedFooter", "items"], ["[header-slot]", "*", "[footer-slot]"], true, never>;
|
|
2707
3048
|
static ngAcceptInputType_bordered: unknown;
|
|
2708
3049
|
static ngAcceptInputType_showDivider: unknown;
|
|
2709
3050
|
static ngAcceptInputType_hoverable: unknown;
|
|
2710
3051
|
static ngAcceptInputType_clickable: unknown;
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
itemClass: NonNullable<ClassType> | null;
|
|
2718
|
-
itemStyle: NonNullable<StyleType | undefined> | null;
|
|
2719
|
-
readonly baseClass = true;
|
|
2720
|
-
get hasPrefix(): boolean;
|
|
2721
|
-
get hasSuffix(): boolean;
|
|
2722
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarListItem, never>;
|
|
2723
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DasarListItem, "dasar-list-item", never, {
|
|
2724
|
-
"itemClass": {
|
|
2725
|
-
"alias": "item-class";
|
|
2726
|
-
"required": false;
|
|
2727
|
-
};
|
|
2728
|
-
"itemStyle": {
|
|
2729
|
-
"alias": "item-style";
|
|
2730
|
-
"required": false;
|
|
2731
|
-
};
|
|
2732
|
-
}, {}, ["providedPrefix", "providedSuffix"], ["[prefix-slot]", "*", "[suffix-slot]"], true, never>;
|
|
3052
|
+
static ngAcceptInputType_selectable: unknown;
|
|
3053
|
+
static ngAcceptInputType_scrollOffset: unknown;
|
|
3054
|
+
static ngAcceptInputType_scrollOnInit: unknown;
|
|
3055
|
+
static ngAcceptInputType_scrollOnClick: unknown;
|
|
3056
|
+
static ngAcceptInputType_keyboard: unknown;
|
|
3057
|
+
static ngAcceptInputType_showFocus: unknown;
|
|
2733
3058
|
}
|
|
2734
3059
|
export declare const DasarListComponent: readonly [typeof DasarListHeaderSlot, typeof DasarListFooterSlot, typeof DasarListItemPrefixSlot, typeof DasarListItemSuffixSlot, typeof DasarList, typeof DasarListItem];
|
|
2735
3060
|
export type DasarDividerLabelPlacementType = 'left' | 'center' | 'right';
|
|
@@ -2812,8 +3137,10 @@ export declare class DasarDivider {
|
|
|
2812
3137
|
}
|
|
2813
3138
|
export declare const DasarDividerComponent: readonly [typeof DasarDivider, typeof DasarDividerLabelTemplate];
|
|
2814
3139
|
export type DasarAlertVariantType = 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
|
|
3140
|
+
export type DasarAlertRadiusType = ScaleAttributeType$1;
|
|
2815
3141
|
export interface DasarAlertConfig {
|
|
2816
3142
|
variant?: DasarAlertVariantType;
|
|
3143
|
+
radius?: DasarAlertRadiusType;
|
|
2817
3144
|
bordered?: boolean;
|
|
2818
3145
|
closeable?: boolean;
|
|
2819
3146
|
iconName?: string | null;
|
|
@@ -2841,6 +3168,7 @@ export declare class DasarAlert implements OnDestroy {
|
|
|
2841
3168
|
protected leaving: import("@angular/core").WritableSignal<boolean>;
|
|
2842
3169
|
variant: NonNullable<DasarAlertVariantType | undefined>;
|
|
2843
3170
|
bordered: NonNullable<boolean | undefined>;
|
|
3171
|
+
radius: DasarAlertRadiusType;
|
|
2844
3172
|
closeable: NonNullable<boolean | undefined>;
|
|
2845
3173
|
title: string | null;
|
|
2846
3174
|
iconName: string | null;
|
|
@@ -2880,6 +3208,10 @@ export declare class DasarAlert implements OnDestroy {
|
|
|
2880
3208
|
"alias": "bordered";
|
|
2881
3209
|
"required": false;
|
|
2882
3210
|
};
|
|
3211
|
+
"radius": {
|
|
3212
|
+
"alias": "radius";
|
|
3213
|
+
"required": false;
|
|
3214
|
+
};
|
|
2883
3215
|
"closeable": {
|
|
2884
3216
|
"alias": "closeable";
|
|
2885
3217
|
"required": false;
|
|
@@ -2986,6 +3318,7 @@ export declare class DasarCheckbox implements ControlValueAccessor {
|
|
|
2986
3318
|
labelStyle: NonNullable<StyleType | undefined> | null;
|
|
2987
3319
|
hintClass: NonNullable<ClassType> | null;
|
|
2988
3320
|
hintStyle: NonNullable<StyleType | undefined> | null;
|
|
3321
|
+
readonly hintId: string;
|
|
2989
3322
|
valueChange: EventEmitter<any>;
|
|
2990
3323
|
onUpdate: EventEmitter<any>;
|
|
2991
3324
|
get hostClasses(): string;
|
|
@@ -3077,6 +3410,273 @@ export declare class DasarCheckbox implements ControlValueAccessor {
|
|
|
3077
3410
|
static ngAcceptInputType_disabled: unknown;
|
|
3078
3411
|
}
|
|
3079
3412
|
export declare const DasarCheckboxComponent: readonly [typeof DasarCheckbox];
|
|
3413
|
+
export type DasarSwitchSizeType = Extract<ScaleAttributeType$1, 'sm' | 'md' | 'lg'>;
|
|
3414
|
+
export interface DasarSwitchConfig {
|
|
3415
|
+
size?: DasarSwitchSizeType;
|
|
3416
|
+
disabled?: boolean;
|
|
3417
|
+
error?: boolean;
|
|
3418
|
+
checkedValue?: any;
|
|
3419
|
+
uncheckedValue?: any;
|
|
3420
|
+
defaultValue?: any;
|
|
3421
|
+
checkedIconName?: string;
|
|
3422
|
+
uncheckedIconName?: string;
|
|
3423
|
+
label?: string;
|
|
3424
|
+
hint?: string;
|
|
3425
|
+
containerClass?: ClassType;
|
|
3426
|
+
containerStyle?: StyleType;
|
|
3427
|
+
trackClass?: ClassType;
|
|
3428
|
+
trackStyle?: StyleType;
|
|
3429
|
+
hintClass?: ClassType;
|
|
3430
|
+
hintStyle?: StyleType;
|
|
3431
|
+
}
|
|
3432
|
+
export declare class DasarSwitchCheckedSlot {
|
|
3433
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSwitchCheckedSlot, never>;
|
|
3434
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarSwitchCheckedSlot, "[checked-slot]", never, {}, {}, never, never, true, never>;
|
|
3435
|
+
}
|
|
3436
|
+
export declare class DasarSwitchUncheckedSlot {
|
|
3437
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSwitchUncheckedSlot, never>;
|
|
3438
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarSwitchUncheckedSlot, "[unchecked-slot]", never, {}, {}, never, never, true, never>;
|
|
3439
|
+
}
|
|
3440
|
+
export declare class DasarSwitchIconSlot {
|
|
3441
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSwitchIconSlot, never>;
|
|
3442
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarSwitchIconSlot, "[icon-slot]", never, {}, {}, never, never, true, never>;
|
|
3443
|
+
}
|
|
3444
|
+
export declare class DasarSwitchCheckedIconSlot {
|
|
3445
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSwitchCheckedIconSlot, never>;
|
|
3446
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarSwitchCheckedIconSlot, "[checked-icon-slot]", never, {}, {}, never, never, true, never>;
|
|
3447
|
+
}
|
|
3448
|
+
export declare class DasarSwitchUncheckedIconSlot {
|
|
3449
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSwitchUncheckedIconSlot, never>;
|
|
3450
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarSwitchUncheckedIconSlot, "[unchecked-icon-slot]", never, {}, {}, never, never, true, never>;
|
|
3451
|
+
}
|
|
3452
|
+
export declare class DasarSwitch implements ControlValueAccessor, OnInit {
|
|
3453
|
+
providedChecked?: DasarSwitchCheckedSlot;
|
|
3454
|
+
providedUnchecked?: DasarSwitchUncheckedSlot;
|
|
3455
|
+
providedIcon?: DasarSwitchIconSlot;
|
|
3456
|
+
providedCheckedIcon?: DasarSwitchCheckedIconSlot;
|
|
3457
|
+
providedUncheckedIcon?: DasarSwitchUncheckedIconSlot;
|
|
3458
|
+
private themeProvider;
|
|
3459
|
+
private themeService;
|
|
3460
|
+
private ownValue;
|
|
3461
|
+
private ownDisabled;
|
|
3462
|
+
private valueBound;
|
|
3463
|
+
onTouched: () => void;
|
|
3464
|
+
onChange: (value: any) => void;
|
|
3465
|
+
size: NonNullable<DasarSwitchSizeType | undefined>;
|
|
3466
|
+
error: NonNullable<boolean | undefined>;
|
|
3467
|
+
set disabled(value: boolean);
|
|
3468
|
+
get disabled(): boolean;
|
|
3469
|
+
checkedValue: any;
|
|
3470
|
+
uncheckedValue: any;
|
|
3471
|
+
defaultValue: any;
|
|
3472
|
+
set value(val: any);
|
|
3473
|
+
get value(): any;
|
|
3474
|
+
checkedIconName: string;
|
|
3475
|
+
uncheckedIconName: string;
|
|
3476
|
+
label: string;
|
|
3477
|
+
containerClass: NonNullable<ClassType> | null;
|
|
3478
|
+
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
3479
|
+
trackClass: NonNullable<ClassType> | null;
|
|
3480
|
+
trackStyle: NonNullable<StyleType | undefined> | null;
|
|
3481
|
+
hint: string;
|
|
3482
|
+
hintClass: NonNullable<ClassType> | null;
|
|
3483
|
+
hintStyle: NonNullable<StyleType | undefined> | null;
|
|
3484
|
+
readonly hintId: string;
|
|
3485
|
+
valueChange: EventEmitter<any>;
|
|
3486
|
+
onUpdate: EventEmitter<any>;
|
|
3487
|
+
get hostClasses(): string;
|
|
3488
|
+
get isChecked(): boolean;
|
|
3489
|
+
get isDisabled(): boolean;
|
|
3490
|
+
get currentIconName(): string;
|
|
3491
|
+
get containerClasses(): Record<string, boolean>;
|
|
3492
|
+
get hintClasses(): Record<string, boolean>;
|
|
3493
|
+
get trackClasses(): Record<string, boolean>;
|
|
3494
|
+
ngOnInit(): void;
|
|
3495
|
+
toggle(event?: Event): void;
|
|
3496
|
+
onKeydown(event: KeyboardEvent): void;
|
|
3497
|
+
writeValue(value: any): void;
|
|
3498
|
+
registerOnChange(fn: any): void;
|
|
3499
|
+
registerOnTouched(fn: any): void;
|
|
3500
|
+
setDisabledState(isDisabled: boolean): void;
|
|
3501
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSwitch, never>;
|
|
3502
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarSwitch, "dasar-switch", never, {
|
|
3503
|
+
"size": {
|
|
3504
|
+
"alias": "size";
|
|
3505
|
+
"required": false;
|
|
3506
|
+
};
|
|
3507
|
+
"error": {
|
|
3508
|
+
"alias": "error";
|
|
3509
|
+
"required": false;
|
|
3510
|
+
};
|
|
3511
|
+
"disabled": {
|
|
3512
|
+
"alias": "disabled";
|
|
3513
|
+
"required": false;
|
|
3514
|
+
};
|
|
3515
|
+
"checkedValue": {
|
|
3516
|
+
"alias": "checked-value";
|
|
3517
|
+
"required": false;
|
|
3518
|
+
};
|
|
3519
|
+
"uncheckedValue": {
|
|
3520
|
+
"alias": "unchecked-value";
|
|
3521
|
+
"required": false;
|
|
3522
|
+
};
|
|
3523
|
+
"defaultValue": {
|
|
3524
|
+
"alias": "default-value";
|
|
3525
|
+
"required": false;
|
|
3526
|
+
};
|
|
3527
|
+
"value": {
|
|
3528
|
+
"alias": "value";
|
|
3529
|
+
"required": false;
|
|
3530
|
+
};
|
|
3531
|
+
"checkedIconName": {
|
|
3532
|
+
"alias": "checked-icon-name";
|
|
3533
|
+
"required": false;
|
|
3534
|
+
};
|
|
3535
|
+
"uncheckedIconName": {
|
|
3536
|
+
"alias": "unchecked-icon-name";
|
|
3537
|
+
"required": false;
|
|
3538
|
+
};
|
|
3539
|
+
"label": {
|
|
3540
|
+
"alias": "label";
|
|
3541
|
+
"required": false;
|
|
3542
|
+
};
|
|
3543
|
+
"containerClass": {
|
|
3544
|
+
"alias": "container-class";
|
|
3545
|
+
"required": false;
|
|
3546
|
+
};
|
|
3547
|
+
"containerStyle": {
|
|
3548
|
+
"alias": "container-style";
|
|
3549
|
+
"required": false;
|
|
3550
|
+
};
|
|
3551
|
+
"trackClass": {
|
|
3552
|
+
"alias": "track-class";
|
|
3553
|
+
"required": false;
|
|
3554
|
+
};
|
|
3555
|
+
"trackStyle": {
|
|
3556
|
+
"alias": "track-style";
|
|
3557
|
+
"required": false;
|
|
3558
|
+
};
|
|
3559
|
+
"hint": {
|
|
3560
|
+
"alias": "hint";
|
|
3561
|
+
"required": false;
|
|
3562
|
+
};
|
|
3563
|
+
"hintClass": {
|
|
3564
|
+
"alias": "hint-class";
|
|
3565
|
+
"required": false;
|
|
3566
|
+
};
|
|
3567
|
+
"hintStyle": {
|
|
3568
|
+
"alias": "hint-style";
|
|
3569
|
+
"required": false;
|
|
3570
|
+
};
|
|
3571
|
+
}, {
|
|
3572
|
+
"valueChange": "valueChange";
|
|
3573
|
+
"onUpdate": "onUpdate";
|
|
3574
|
+
}, ["providedChecked", "providedUnchecked", "providedIcon", "providedCheckedIcon", "providedUncheckedIcon"], ["[checked-slot]", "[unchecked-slot]", "[checked-icon-slot]", "[unchecked-icon-slot]", "[icon-slot]"], true, never>;
|
|
3575
|
+
static ngAcceptInputType_error: unknown;
|
|
3576
|
+
static ngAcceptInputType_disabled: unknown;
|
|
3577
|
+
}
|
|
3578
|
+
export declare const DasarSwitchComponent: readonly [typeof DasarSwitchCheckedSlot, typeof DasarSwitchUncheckedSlot, typeof DasarSwitchIconSlot, typeof DasarSwitchCheckedIconSlot, typeof DasarSwitchUncheckedIconSlot, typeof DasarSwitch];
|
|
3579
|
+
export type DasarSkeletonType = 'text' | 'box';
|
|
3580
|
+
export type DasarSkeletonSizeType = Extract<ScaleAttributeType$1, 'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
|
|
3581
|
+
export interface DasarSkeletonConfig {
|
|
3582
|
+
type?: DasarSkeletonType;
|
|
3583
|
+
size?: DasarSkeletonSizeType;
|
|
3584
|
+
radius?: ScaleAttributeType$1;
|
|
3585
|
+
width?: string | number | null;
|
|
3586
|
+
height?: string | number | null;
|
|
3587
|
+
fullWidth?: boolean;
|
|
3588
|
+
repeat?: number;
|
|
3589
|
+
animated?: boolean;
|
|
3590
|
+
circle?: boolean;
|
|
3591
|
+
containerClass?: ClassType;
|
|
3592
|
+
containerStyle?: StyleType;
|
|
3593
|
+
itemClass?: ClassType;
|
|
3594
|
+
itemStyle?: StyleType;
|
|
3595
|
+
}
|
|
3596
|
+
export declare class DasarSkeleton {
|
|
3597
|
+
private themeProvider;
|
|
3598
|
+
private themeService;
|
|
3599
|
+
type: NonNullable<DasarSkeletonType | undefined>;
|
|
3600
|
+
size: NonNullable<DasarSkeletonSizeType | undefined>;
|
|
3601
|
+
radius: NonNullable<ScaleAttributeType$1 | undefined>;
|
|
3602
|
+
width: NonNullable<string | number | null | undefined> | null;
|
|
3603
|
+
height: NonNullable<string | number | null | undefined> | null;
|
|
3604
|
+
fullWidth: NonNullable<boolean | undefined>;
|
|
3605
|
+
animated: NonNullable<boolean | undefined>;
|
|
3606
|
+
circle: NonNullable<boolean | undefined>;
|
|
3607
|
+
repeat: number;
|
|
3608
|
+
containerClass: NonNullable<ClassType> | null;
|
|
3609
|
+
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
3610
|
+
itemClass: NonNullable<ClassType> | null;
|
|
3611
|
+
itemStyle: NonNullable<StyleType | undefined> | null;
|
|
3612
|
+
get items(): number[];
|
|
3613
|
+
get containerClasses(): Record<string, boolean>;
|
|
3614
|
+
get itemClasses(): Record<string, boolean>;
|
|
3615
|
+
itemStyleFor(index: number): Record<string, any>;
|
|
3616
|
+
private circleSize;
|
|
3617
|
+
private itemHeight;
|
|
3618
|
+
private itemWidth;
|
|
3619
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSkeleton, never>;
|
|
3620
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarSkeleton, "dasar-skeleton", never, {
|
|
3621
|
+
"type": {
|
|
3622
|
+
"alias": "type";
|
|
3623
|
+
"required": false;
|
|
3624
|
+
};
|
|
3625
|
+
"size": {
|
|
3626
|
+
"alias": "size";
|
|
3627
|
+
"required": false;
|
|
3628
|
+
};
|
|
3629
|
+
"radius": {
|
|
3630
|
+
"alias": "radius";
|
|
3631
|
+
"required": false;
|
|
3632
|
+
};
|
|
3633
|
+
"width": {
|
|
3634
|
+
"alias": "width";
|
|
3635
|
+
"required": false;
|
|
3636
|
+
};
|
|
3637
|
+
"height": {
|
|
3638
|
+
"alias": "height";
|
|
3639
|
+
"required": false;
|
|
3640
|
+
};
|
|
3641
|
+
"fullWidth": {
|
|
3642
|
+
"alias": "fullWidth";
|
|
3643
|
+
"required": false;
|
|
3644
|
+
};
|
|
3645
|
+
"animated": {
|
|
3646
|
+
"alias": "animated";
|
|
3647
|
+
"required": false;
|
|
3648
|
+
};
|
|
3649
|
+
"circle": {
|
|
3650
|
+
"alias": "circle";
|
|
3651
|
+
"required": false;
|
|
3652
|
+
};
|
|
3653
|
+
"repeat": {
|
|
3654
|
+
"alias": "repeat";
|
|
3655
|
+
"required": false;
|
|
3656
|
+
};
|
|
3657
|
+
"containerClass": {
|
|
3658
|
+
"alias": "container-class";
|
|
3659
|
+
"required": false;
|
|
3660
|
+
};
|
|
3661
|
+
"containerStyle": {
|
|
3662
|
+
"alias": "container-style";
|
|
3663
|
+
"required": false;
|
|
3664
|
+
};
|
|
3665
|
+
"itemClass": {
|
|
3666
|
+
"alias": "item-class";
|
|
3667
|
+
"required": false;
|
|
3668
|
+
};
|
|
3669
|
+
"itemStyle": {
|
|
3670
|
+
"alias": "item-style";
|
|
3671
|
+
"required": false;
|
|
3672
|
+
};
|
|
3673
|
+
}, {}, never, never, true, never>;
|
|
3674
|
+
static ngAcceptInputType_fullWidth: unknown;
|
|
3675
|
+
static ngAcceptInputType_animated: unknown;
|
|
3676
|
+
static ngAcceptInputType_circle: unknown;
|
|
3677
|
+
static ngAcceptInputType_repeat: unknown;
|
|
3678
|
+
}
|
|
3679
|
+
export declare const DasarSkeletonComponent: readonly [typeof DasarSkeleton];
|
|
3080
3680
|
export type DasarCheckboxGroupDirectionType = 'horizontal' | 'vertical';
|
|
3081
3681
|
export interface DasarCheckboxGroupConfig {
|
|
3082
3682
|
direction?: DasarCheckboxGroupDirectionType;
|
|
@@ -3116,13 +3716,15 @@ export declare class DasarCheckboxGroup implements ControlValueAccessor {
|
|
|
3116
3716
|
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
3117
3717
|
hintClass: NonNullable<ClassType> | null;
|
|
3118
3718
|
hintStyle: NonNullable<StyleType | undefined> | null;
|
|
3719
|
+
readonly hintId: string;
|
|
3119
3720
|
valueChange: EventEmitter<any[]>;
|
|
3120
3721
|
onUpdate: EventEmitter<any[]>;
|
|
3121
3722
|
get hostClasses(): string;
|
|
3122
3723
|
get role(): string;
|
|
3724
|
+
get describedBy(): string | null;
|
|
3123
3725
|
onFocusOut(): void;
|
|
3124
|
-
get containerClasses(): Record<string, boolean>;
|
|
3125
3726
|
get hintClasses(): Record<string, boolean>;
|
|
3727
|
+
get containerClasses(): Record<string, boolean>;
|
|
3126
3728
|
private toggleChild;
|
|
3127
3729
|
writeValue(value: any): void;
|
|
3128
3730
|
registerOnChange(fn: any): void;
|
|
@@ -3233,6 +3835,7 @@ export declare class DasarRadio implements ControlValueAccessor {
|
|
|
3233
3835
|
labelStyle: NonNullable<StyleType | undefined> | null;
|
|
3234
3836
|
hintClass: NonNullable<ClassType> | null;
|
|
3235
3837
|
hintStyle: NonNullable<StyleType | undefined> | null;
|
|
3838
|
+
readonly hintId: string;
|
|
3236
3839
|
valueChange: EventEmitter<any>;
|
|
3237
3840
|
onUpdate: EventEmitter<any>;
|
|
3238
3841
|
get hostClasses(): string;
|
|
@@ -3368,13 +3971,15 @@ export declare class DasarRadioGroup implements ControlValueAccessor {
|
|
|
3368
3971
|
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
3369
3972
|
hintClass: NonNullable<ClassType> | null;
|
|
3370
3973
|
hintStyle: NonNullable<StyleType | undefined> | null;
|
|
3974
|
+
readonly hintId: string;
|
|
3371
3975
|
valueChange: EventEmitter<any>;
|
|
3372
3976
|
onUpdate: EventEmitter<any>;
|
|
3373
3977
|
get hostClasses(): string;
|
|
3374
3978
|
get role(): string;
|
|
3979
|
+
get describedBy(): string | null;
|
|
3375
3980
|
onFocusOut(): void;
|
|
3376
|
-
get containerClasses(): Record<string, boolean>;
|
|
3377
3981
|
get hintClasses(): Record<string, boolean>;
|
|
3982
|
+
get containerClasses(): Record<string, boolean>;
|
|
3378
3983
|
private selectChild;
|
|
3379
3984
|
writeValue(value: any): void;
|
|
3380
3985
|
registerOnChange(fn: any): void;
|
|
@@ -3503,11 +4108,12 @@ export declare class DasarInput implements ControlValueAccessor {
|
|
|
3503
4108
|
containerClass: NonNullable<ClassType> | null;
|
|
3504
4109
|
inputClass: NonNullable<ClassType> | null;
|
|
3505
4110
|
hostClass: NonNullable<ClassType> | null;
|
|
3506
|
-
hintClass: NonNullable<ClassType> | null;
|
|
3507
4111
|
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
3508
4112
|
inputStyle: NonNullable<StyleType | undefined> | null;
|
|
3509
4113
|
hostStyle: NonNullable<StyleType | undefined> | null;
|
|
4114
|
+
hintClass: NonNullable<ClassType> | null;
|
|
3510
4115
|
hintStyle: NonNullable<StyleType | undefined> | null;
|
|
4116
|
+
readonly hintId: string;
|
|
3511
4117
|
hideOverflow: NonNullable<boolean | undefined>;
|
|
3512
4118
|
onTouched: any;
|
|
3513
4119
|
onChange: any;
|
|
@@ -3593,10 +4199,6 @@ export declare class DasarInput implements ControlValueAccessor {
|
|
|
3593
4199
|
"alias": "host-class";
|
|
3594
4200
|
"required": false;
|
|
3595
4201
|
};
|
|
3596
|
-
"hintClass": {
|
|
3597
|
-
"alias": "hint-class";
|
|
3598
|
-
"required": false;
|
|
3599
|
-
};
|
|
3600
4202
|
"containerStyle": {
|
|
3601
4203
|
"alias": "container-style";
|
|
3602
4204
|
"required": false;
|
|
@@ -3609,6 +4211,10 @@ export declare class DasarInput implements ControlValueAccessor {
|
|
|
3609
4211
|
"alias": "host-style";
|
|
3610
4212
|
"required": false;
|
|
3611
4213
|
};
|
|
4214
|
+
"hintClass": {
|
|
4215
|
+
"alias": "hint-class";
|
|
4216
|
+
"required": false;
|
|
4217
|
+
};
|
|
3612
4218
|
"hintStyle": {
|
|
3613
4219
|
"alias": "hint-style";
|
|
3614
4220
|
"required": false;
|
|
@@ -4082,6 +4688,13 @@ export interface DasarThemeAlert {
|
|
|
4082
4688
|
padding?: string;
|
|
4083
4689
|
gap?: string;
|
|
4084
4690
|
radius?: string;
|
|
4691
|
+
radiusNone?: string;
|
|
4692
|
+
radiusXs?: string;
|
|
4693
|
+
radiusSm?: string;
|
|
4694
|
+
radiusMd?: string;
|
|
4695
|
+
radiusLg?: string;
|
|
4696
|
+
radiusXl?: string;
|
|
4697
|
+
radiusFull?: string;
|
|
4085
4698
|
borderWidth?: string;
|
|
4086
4699
|
fontSize?: string;
|
|
4087
4700
|
titleFontSize?: string;
|
|
@@ -4465,6 +5078,13 @@ export interface DasarThemeTable {
|
|
|
4465
5078
|
elevatedBorder?: string;
|
|
4466
5079
|
elevatedShadow?: string;
|
|
4467
5080
|
radiusNone?: string;
|
|
5081
|
+
containerRadiusNone?: string;
|
|
5082
|
+
containerRadiusXs?: string;
|
|
5083
|
+
containerRadiusSm?: string;
|
|
5084
|
+
containerRadiusMd?: string;
|
|
5085
|
+
containerRadiusLg?: string;
|
|
5086
|
+
containerRadiusXl?: string;
|
|
5087
|
+
containerRadiusFull?: string;
|
|
4468
5088
|
borderlessBackground?: string;
|
|
4469
5089
|
fontSizeSm?: string;
|
|
4470
5090
|
fontSizeMd?: string;
|
|
@@ -4561,6 +5181,13 @@ export interface DasarThemeList {
|
|
|
4561
5181
|
background?: string;
|
|
4562
5182
|
color?: string;
|
|
4563
5183
|
radius?: string;
|
|
5184
|
+
radiusNone?: string;
|
|
5185
|
+
radiusXs?: string;
|
|
5186
|
+
radiusSm?: string;
|
|
5187
|
+
radiusMd?: string;
|
|
5188
|
+
radiusLg?: string;
|
|
5189
|
+
radiusXl?: string;
|
|
5190
|
+
radiusFull?: string;
|
|
4564
5191
|
border?: string;
|
|
4565
5192
|
fontSizeSm?: string;
|
|
4566
5193
|
fontSizeMd?: string;
|
|
@@ -4578,9 +5205,54 @@ export interface DasarThemeList {
|
|
|
4578
5205
|
footerBorder?: string;
|
|
4579
5206
|
footerBackground?: string;
|
|
4580
5207
|
itemPadding?: string;
|
|
5208
|
+
maxHeight?: string;
|
|
5209
|
+
activeItemBackground?: string;
|
|
5210
|
+
activeItemColor?: string;
|
|
5211
|
+
focusItemOutline?: string;
|
|
4581
5212
|
prefixColor?: string;
|
|
4582
5213
|
suffixColor?: string;
|
|
4583
5214
|
}
|
|
5215
|
+
export interface DasarThemePagination {
|
|
5216
|
+
gap?: string;
|
|
5217
|
+
fontSize?: string;
|
|
5218
|
+
itemMinWidth?: string;
|
|
5219
|
+
ellipsisColor?: string;
|
|
5220
|
+
summaryColor?: string;
|
|
5221
|
+
dropdownMaxHeight?: string;
|
|
5222
|
+
}
|
|
5223
|
+
export interface DasarThemeSwitch {
|
|
5224
|
+
gap?: string;
|
|
5225
|
+
radius?: string;
|
|
5226
|
+
thumbRadius?: string;
|
|
5227
|
+
heightSm?: string;
|
|
5228
|
+
heightMd?: string;
|
|
5229
|
+
heightLg?: string;
|
|
5230
|
+
minWidthSm?: string;
|
|
5231
|
+
minWidthMd?: string;
|
|
5232
|
+
minWidthLg?: string;
|
|
5233
|
+
trackBg?: string;
|
|
5234
|
+
trackCheckedBg?: string;
|
|
5235
|
+
thumbBg?: string;
|
|
5236
|
+
thumbIconColor?: string;
|
|
5237
|
+
thumbIconCheckedColor?: string;
|
|
5238
|
+
contentColor?: string;
|
|
5239
|
+
contentFontSize?: string;
|
|
5240
|
+
focusColor?: string;
|
|
5241
|
+
disabledOpacity?: string;
|
|
5242
|
+
labelColor?: string;
|
|
5243
|
+
labelFontSize?: string;
|
|
5244
|
+
errorColor?: string;
|
|
5245
|
+
hintGap?: string;
|
|
5246
|
+
hintColor?: string;
|
|
5247
|
+
hintFontSize?: string;
|
|
5248
|
+
hintErrorColor?: string;
|
|
5249
|
+
}
|
|
5250
|
+
export interface DasarThemeSkeleton {
|
|
5251
|
+
baseColor?: string;
|
|
5252
|
+
highlightColor?: string;
|
|
5253
|
+
animationDuration?: string;
|
|
5254
|
+
gap?: string;
|
|
5255
|
+
}
|
|
4584
5256
|
export interface DasarThemeTabs {
|
|
4585
5257
|
listPaddingNormal?: string;
|
|
4586
5258
|
listPaddingCompact?: string;
|
|
@@ -4670,6 +5342,9 @@ export type DasarComponentConfig = {
|
|
|
4670
5342
|
tabs?: DasarTabsConfig;
|
|
4671
5343
|
list?: DasarListConfig$1;
|
|
4672
5344
|
listItem?: DasarListItemConfig$1;
|
|
5345
|
+
pagination?: DasarPaginationConfig$1;
|
|
5346
|
+
switch?: DasarSwitchConfig$1;
|
|
5347
|
+
skeleton?: DasarSkeletonConfig$1;
|
|
4673
5348
|
};
|
|
4674
5349
|
export interface DasarThemeConfig {
|
|
4675
5350
|
mode: DasarThemeMode;
|
|
@@ -4694,6 +5369,9 @@ export interface DasarThemeConfig {
|
|
|
4694
5369
|
menu?: DasarThemeMenu;
|
|
4695
5370
|
table?: DasarThemeTable;
|
|
4696
5371
|
list?: DasarThemeList;
|
|
5372
|
+
pagination?: DasarThemePagination;
|
|
5373
|
+
switch?: DasarThemeSwitch;
|
|
5374
|
+
skeleton?: DasarThemeSkeleton;
|
|
4697
5375
|
tabs?: DasarThemeTabs;
|
|
4698
5376
|
overlay?: DasarThemeOverlay;
|
|
4699
5377
|
modal?: DasarThemeModal;
|
|
@@ -4715,6 +5393,9 @@ export interface DasarThemeConfig {
|
|
|
4715
5393
|
menu?: DasarThemeMenu;
|
|
4716
5394
|
table?: DasarThemeTable;
|
|
4717
5395
|
list?: DasarThemeList;
|
|
5396
|
+
pagination?: DasarThemePagination;
|
|
5397
|
+
switch?: DasarThemeSwitch;
|
|
5398
|
+
skeleton?: DasarThemeSkeleton;
|
|
4718
5399
|
tabs?: DasarThemeTabs;
|
|
4719
5400
|
overlay?: DasarThemeOverlay;
|
|
4720
5401
|
modal?: DasarThemeModal;
|
|
@@ -4878,6 +5559,9 @@ export declare const cardMap: Record<keyof DasarThemeCard$1, string>;
|
|
|
4878
5559
|
export declare const menuMap: Record<keyof DasarThemeMenu$1, string>;
|
|
4879
5560
|
export declare const tableMap: Record<string, string>;
|
|
4880
5561
|
export declare const listMap: Record<string, string>;
|
|
5562
|
+
export declare const paginationMap: Record<string, string>;
|
|
5563
|
+
export declare const switchMap: Record<string, string>;
|
|
5564
|
+
export declare const skeletonMap: Record<keyof DasarThemeSkeleton$1, string>;
|
|
4881
5565
|
export declare const tabsMap: Record<keyof DasarThemeTabs$1, string>;
|
|
4882
5566
|
export declare const overlayMap: Record<keyof DasarThemeOverlay$1, string>;
|
|
4883
5567
|
export declare const modalMap: Record<keyof DasarThemeModal$1, string>;
|