dasar-ui 2.6.5 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/dasar-ui.mjs +3550 -1817
- package/fesm2022/dasar-ui.mjs.map +1 -1
- package/package.json +3 -1
- package/styles/theme.scss +17 -1
- package/types/dasar-ui.d.ts +1313 -530
package/types/dasar-ui.d.ts
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { AfterContentInit, AfterViewInit, DestroyRef, ElementRef, EventEmitter, InjectionToken, OnChanges, OnDestroy, OnInit, QueryList, RendererFactory2, SimpleChanges, TemplateRef } from "@angular/core";
|
|
3
3
|
import { ControlValueAccessor } from "@angular/forms";
|
|
4
|
-
import
|
|
4
|
+
import * as i1$3 from "ng-primitives/menu";
|
|
5
|
+
import { NgpMenuPlacement } from "ng-primitives/menu";
|
|
6
|
+
import * as i1$2 from "ng-primitives/tooltip";
|
|
5
7
|
import { SafeHtml } from "@angular/platform-browser";
|
|
8
|
+
import * as i1$1 from "ng-primitives/radio";
|
|
9
|
+
import * as i1 from "ng-primitives/dialog";
|
|
6
10
|
import { DasarListConfig as DasarListConfig$1, DasarListItemConfig as DasarListItemConfig$1 } from "@components/dasar-list/dasar-list";
|
|
7
11
|
import { DasarPaginationConfig as DasarPaginationConfig$1 } from "@components/dasar-pagination/dasar-pagination";
|
|
8
|
-
import {
|
|
12
|
+
import { DasarSwitchAppearanceType, DasarSwitchConfig } from "@components/dasar-switch/dasar-switch";
|
|
9
13
|
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, DasarThemeDrawer as DasarThemeDrawer$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, DasarThemeSplit as DasarThemeSplit$1, DasarThemeTabs as DasarThemeTabs$1, DasarThemeToast as DasarThemeToast$1, DasarThemeTree as DasarThemeTree$1 } from "@models/theme.model";
|
|
14
|
+
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, DasarThemeDrawer as DasarThemeDrawer$1, DasarThemeInput as DasarThemeInput$1, DasarThemeMenu as DasarThemeMenu$1, DasarThemeModal as DasarThemeModal$1, DasarThemeMode as DasarThemeMode$1, DasarThemeOverlay as DasarThemeOverlay$1, DasarThemePin as DasarThemePin$1, DasarThemeRadio as DasarThemeRadio$1, DasarThemeRipple as DasarThemeRipple$1, DasarThemeSelect as DasarThemeSelect$1, DasarThemeSkeleton as DasarThemeSkeleton$1, DasarThemeSlider as DasarThemeSlider$1, DasarThemeSplit as DasarThemeSplit$1, DasarThemeTabs as DasarThemeTabs$1, DasarThemeTextarea as DasarThemeTextarea$1, DasarThemeToast as DasarThemeToast$1, DasarThemeToggle as DasarThemeToggle$1, DasarThemeTooltip as DasarThemeTooltip$1, DasarThemeTree as DasarThemeTree$1 } from "@models/theme.model";
|
|
11
15
|
import { Observable } from "rxjs";
|
|
12
16
|
type ClassType = string | string[] | Set<string> | {
|
|
13
17
|
[klass: string]: any;
|
|
@@ -15,12 +19,12 @@ type ClassType = string | string[] | Set<string> | {
|
|
|
15
19
|
type StyleType = Partial<CSSStyleDeclaration> | {
|
|
16
20
|
[key: string]: any;
|
|
17
21
|
} | null;
|
|
18
|
-
type ScaleAttributeType
|
|
19
|
-
export type DasarButtonSizeType = Extract<ScaleAttributeType
|
|
22
|
+
type ScaleAttributeType = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
23
|
+
export type DasarButtonSizeType = Extract<ScaleAttributeType, 'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
|
|
20
24
|
export type DasarButtonVariantType = 'primary' | 'success' | 'warning' | 'danger' | 'secondary' | 'ghost';
|
|
21
|
-
export type DasarButtonAppearanceType = 'solid' | 'subtle' | 'outline';
|
|
25
|
+
export type DasarButtonAppearanceType = 'solid' | 'subtle' | 'outline' | 'elevated' | 'pressed';
|
|
22
26
|
export type DasarButtonType = 'button' | 'submit' | 'reset';
|
|
23
|
-
export type DasarButtonRadiusType = ScaleAttributeType
|
|
27
|
+
export type DasarButtonRadiusType = ScaleAttributeType;
|
|
24
28
|
export interface DasarButtonConfig {
|
|
25
29
|
appearance?: DasarButtonAppearanceType;
|
|
26
30
|
variant?: DasarButtonVariantType;
|
|
@@ -40,7 +44,7 @@ export declare class DasarButton {
|
|
|
40
44
|
protected groupTick: import("@angular/core").WritableSignal<number>;
|
|
41
45
|
appearance: NonNullable<DasarButtonAppearanceType | undefined>;
|
|
42
46
|
variant: NonNullable<DasarButtonVariantType | undefined>;
|
|
43
|
-
radius: NonNullable<ScaleAttributeType
|
|
47
|
+
radius: NonNullable<ScaleAttributeType | undefined>;
|
|
44
48
|
size: NonNullable<DasarButtonSizeType | undefined>;
|
|
45
49
|
buttonStyle: NonNullable<StyleType | undefined> | null;
|
|
46
50
|
buttonClass: NonNullable<ClassType> | null;
|
|
@@ -111,7 +115,7 @@ export declare class DasarButton {
|
|
|
111
115
|
}
|
|
112
116
|
export declare const DasarButtonComponent: readonly [typeof DasarButton];
|
|
113
117
|
export type DasarButtonGroupOrientationType = 'horizontal' | 'vertical';
|
|
114
|
-
export type DasarButtonGroupRadiusType = ScaleAttributeType
|
|
118
|
+
export type DasarButtonGroupRadiusType = ScaleAttributeType;
|
|
115
119
|
export interface DasarButtonGroupConfig {
|
|
116
120
|
orientation?: DasarButtonGroupOrientationType;
|
|
117
121
|
attached?: boolean;
|
|
@@ -134,7 +138,7 @@ export declare class DasarButtonGroup implements AfterContentInit, OnChanges {
|
|
|
134
138
|
size: NonNullable<DasarButtonSizeType | null | undefined> | null;
|
|
135
139
|
variant: NonNullable<DasarButtonVariantType | null | undefined> | null;
|
|
136
140
|
appearance: NonNullable<DasarButtonAppearanceType | null | undefined> | null;
|
|
137
|
-
radius: NonNullable<ScaleAttributeType
|
|
141
|
+
radius: NonNullable<ScaleAttributeType | undefined>;
|
|
138
142
|
fullWidth: NonNullable<boolean | undefined>;
|
|
139
143
|
disabled: NonNullable<boolean | undefined>;
|
|
140
144
|
containerClass: NonNullable<ClassType> | null;
|
|
@@ -192,9 +196,9 @@ export declare class DasarButtonGroup implements AfterContentInit, OnChanges {
|
|
|
192
196
|
static ngAcceptInputType_disabled: unknown;
|
|
193
197
|
}
|
|
194
198
|
export declare const DasarButtonGroupComponent: readonly [typeof DasarButtonGroup];
|
|
195
|
-
export type DasarNumberInputSize = Extract<ScaleAttributeType
|
|
196
|
-
export type DasarNumberInputAppearanceType = 'outline' | 'filled';
|
|
197
|
-
export type DasarNumberInputRadiusType = ScaleAttributeType
|
|
199
|
+
export type DasarNumberInputSize = Extract<ScaleAttributeType, 'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
|
|
200
|
+
export type DasarNumberInputAppearanceType = 'outline' | 'filled' | 'elevated';
|
|
201
|
+
export type DasarNumberInputRadiusType = ScaleAttributeType;
|
|
198
202
|
export interface DasarNumberInputConfig {
|
|
199
203
|
appearance?: DasarNumberInputAppearanceType;
|
|
200
204
|
radius?: DasarNumberInputRadiusType;
|
|
@@ -243,7 +247,7 @@ export declare class DasarNumberInput implements ControlValueAccessor {
|
|
|
243
247
|
private themeService;
|
|
244
248
|
private cdr;
|
|
245
249
|
appearance: NonNullable<DasarNumberInputAppearanceType | undefined>;
|
|
246
|
-
radius: NonNullable<ScaleAttributeType
|
|
250
|
+
radius: NonNullable<ScaleAttributeType | undefined>;
|
|
247
251
|
size: NonNullable<DasarNumberInputSize | undefined>;
|
|
248
252
|
label: string | undefined;
|
|
249
253
|
labelRight: string | undefined;
|
|
@@ -464,7 +468,7 @@ export declare class DasarChip {
|
|
|
464
468
|
appearance: NonNullable<DasarButtonAppearanceType | undefined>;
|
|
465
469
|
variant: NonNullable<DasarButtonVariantType | undefined>;
|
|
466
470
|
iconName: string | undefined;
|
|
467
|
-
radius: NonNullable<ScaleAttributeType
|
|
471
|
+
radius: NonNullable<ScaleAttributeType | undefined>;
|
|
468
472
|
size: NonNullable<DasarButtonSizeType | undefined>;
|
|
469
473
|
label: string | undefined;
|
|
470
474
|
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
@@ -559,12 +563,12 @@ export declare class DasarChip {
|
|
|
559
563
|
static ngAcceptInputType_fluid: unknown;
|
|
560
564
|
}
|
|
561
565
|
export declare const DasarChipComponent: readonly [typeof DasarChip, typeof DasarChipLabelSlot, typeof DasarChipCloseSlot];
|
|
562
|
-
export type DasarSelectSizeType = Extract<ScaleAttributeType
|
|
566
|
+
export type DasarSelectSizeType = Extract<ScaleAttributeType, 'sm' | 'md' | 'lg'>;
|
|
563
567
|
export type DasarSelectPlacementType = DasarPanelPlacement;
|
|
564
|
-
export type DasarSelectChipSizeType = Extract<ScaleAttributeType
|
|
568
|
+
export type DasarSelectChipSizeType = Extract<ScaleAttributeType, 'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
|
|
565
569
|
export type DasarSelectMultipleDisplayType = 'text' | 'chip' | null;
|
|
566
|
-
export type DasarSelectAppearanceType = 'outline' | 'filled';
|
|
567
|
-
export type DasarSelectRadiusType = ScaleAttributeType
|
|
570
|
+
export type DasarSelectAppearanceType = 'outline' | 'filled' | 'elevated';
|
|
571
|
+
export type DasarSelectRadiusType = ScaleAttributeType;
|
|
568
572
|
export interface DasarSelectConfig {
|
|
569
573
|
multipleType?: DasarSelectMultipleDisplayType;
|
|
570
574
|
arrowIconName?: string;
|
|
@@ -662,12 +666,13 @@ export declare class DasarSelect implements ControlValueAccessor {
|
|
|
662
666
|
private debounceTimer;
|
|
663
667
|
searchQuery: string;
|
|
664
668
|
isOpen: boolean;
|
|
669
|
+
private ngpState;
|
|
665
670
|
multipleType: DasarSelectMultipleDisplayType;
|
|
666
671
|
chipSize: DasarSelectChipSizeType;
|
|
667
672
|
arrowIconName: string;
|
|
668
673
|
debounceTime: number;
|
|
669
674
|
appearance: NonNullable<DasarSelectAppearanceType | undefined>;
|
|
670
|
-
radius: NonNullable<ScaleAttributeType
|
|
675
|
+
radius: NonNullable<ScaleAttributeType | undefined>;
|
|
671
676
|
private _placement;
|
|
672
677
|
set placement(value: DasarSelectPlacementType);
|
|
673
678
|
get placement(): DasarSelectPlacementType;
|
|
@@ -865,10 +870,10 @@ export declare class DasarSelect implements ControlValueAccessor {
|
|
|
865
870
|
static ngAcceptInputType_hideOverflow: unknown;
|
|
866
871
|
}
|
|
867
872
|
export declare const DasarSelectComponent: readonly [typeof DasarSelect, typeof DasarSelectLabelSlot, typeof DasarSelectSuffixSlot, typeof DasarSelectChipTemplate, typeof DasarSelectOptionTemplate, typeof DasarSelectExtraLabelSlot, typeof DasarSelectOptionEmptySlot, typeof DasarSelectOptionLoadingSlot, typeof DasarSelectPrefixSlot];
|
|
868
|
-
export type DasarMenuPlacementType =
|
|
869
|
-
export type DasarMenuSizeType = Extract<ScaleAttributeType
|
|
870
|
-
export type DasarMenuAppearanceType = 'none' | 'outline' | 'filled';
|
|
871
|
-
export type DasarMenuRadiusType = ScaleAttributeType
|
|
873
|
+
export type DasarMenuPlacementType = NgpMenuPlacement;
|
|
874
|
+
export type DasarMenuSizeType = Extract<ScaleAttributeType, 'sm' | 'md' | 'lg'>;
|
|
875
|
+
export type DasarMenuAppearanceType = 'none' | 'outline' | 'filled' | 'elevated';
|
|
876
|
+
export type DasarMenuRadiusType = ScaleAttributeType;
|
|
872
877
|
export interface DasarMenuItem {
|
|
873
878
|
label: string;
|
|
874
879
|
value: any;
|
|
@@ -881,7 +886,6 @@ export interface DasarMenuConfig {
|
|
|
881
886
|
placement?: DasarMenuPlacementType;
|
|
882
887
|
appearance?: DasarMenuAppearanceType;
|
|
883
888
|
radius?: DasarMenuRadiusType;
|
|
884
|
-
label?: string;
|
|
885
889
|
size?: DasarMenuSizeType;
|
|
886
890
|
items?: DasarMenuItem[];
|
|
887
891
|
containerStyle?: StyleType;
|
|
@@ -893,17 +897,22 @@ export interface DasarMenuConfig {
|
|
|
893
897
|
disabled?: boolean;
|
|
894
898
|
fluid?: boolean;
|
|
895
899
|
}
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
export declare class
|
|
901
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
902
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
900
|
+
/**
|
|
901
|
+
* Directive applied to a menu trigger element (e.g. `<button [dasarMenuTrigger]="menuTpl">`),
|
|
902
|
+
* backed by `NgpMenuTrigger`.
|
|
903
|
+
*/
|
|
904
|
+
export declare class DasarMenuTrigger {
|
|
905
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarMenuTrigger, never>;
|
|
906
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarMenuTrigger, "[dasarMenuTrigger]", never, {}, {}, never, never, true, [{
|
|
907
|
+
directive: typeof i1$3.NgpMenuTrigger;
|
|
908
|
+
inputs: {
|
|
909
|
+
"ngpMenuTrigger": "dasarMenuTrigger";
|
|
910
|
+
"ngpMenuTriggerPlacement": "dasarMenuTriggerPlacement";
|
|
911
|
+
"ngpMenuTriggerDisabled": "dasarMenuTriggerDisabled";
|
|
912
|
+
"ngpMenuTriggerOffset": "dasarMenuTriggerOffset";
|
|
913
|
+
};
|
|
914
|
+
outputs: {};
|
|
915
|
+
}]>;
|
|
907
916
|
}
|
|
908
917
|
export declare class DasarMenuItemTemplate {
|
|
909
918
|
templateRef: TemplateRef<any>;
|
|
@@ -913,51 +922,26 @@ export declare class DasarMenuItemTemplate {
|
|
|
913
922
|
}
|
|
914
923
|
export declare class DasarMenu {
|
|
915
924
|
providedMenuItem?: DasarMenuItemTemplate;
|
|
916
|
-
providedMenuLabel?: DasarMenuLabelSlot;
|
|
917
|
-
providedMenuPrefix?: DasarMenuPrefixSlot;
|
|
918
|
-
providedMenuSuffix?: DasarMenuSuffixSlot;
|
|
919
925
|
private themeProvider;
|
|
920
926
|
private themeService;
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
radius: NonNullable<ScaleAttributeType$1 | undefined>;
|
|
935
|
-
size: NonNullable<DasarMenuSizeType | undefined>;
|
|
936
|
-
label: string | undefined;
|
|
937
|
-
items: never[] | DasarMenuItem[];
|
|
938
|
-
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
939
|
-
panelStyle: NonNullable<StyleType | undefined> | null;
|
|
940
|
-
itemStyle: NonNullable<StyleType | undefined> | null;
|
|
941
|
-
containerClass: NonNullable<ClassType> | null;
|
|
942
|
-
panelClass: NonNullable<ClassType> | null;
|
|
943
|
-
itemClass: NonNullable<ClassType> | null;
|
|
944
|
-
disabled: NonNullable<boolean | undefined>;
|
|
945
|
-
fluid: NonNullable<boolean | undefined>;
|
|
927
|
+
placement: DasarMenuPlacementType;
|
|
928
|
+
appearance: DasarMenuAppearanceType;
|
|
929
|
+
radius: DasarMenuRadiusType;
|
|
930
|
+
size: DasarMenuSizeType;
|
|
931
|
+
items: DasarMenuItem[];
|
|
932
|
+
containerStyle: StyleType;
|
|
933
|
+
panelStyle: StyleType;
|
|
934
|
+
itemStyle: StyleType;
|
|
935
|
+
containerClass: ClassType;
|
|
936
|
+
panelClass: ClassType;
|
|
937
|
+
itemClass: ClassType;
|
|
938
|
+
disabled: boolean;
|
|
939
|
+
fluid: boolean;
|
|
946
940
|
onItemClick: EventEmitter<DasarMenuItem>;
|
|
947
|
-
onPanelOpen: EventEmitter<void>;
|
|
948
|
-
onPanelClose: EventEmitter<void>;
|
|
949
941
|
readonly baseClass = true;
|
|
950
|
-
onDocumentClick(event: MouseEvent): void;
|
|
951
|
-
onGlobalSelectOpened(event: any): void;
|
|
952
|
-
get hasMenuLabel(): boolean;
|
|
953
942
|
get hasMenuItem(): boolean;
|
|
954
943
|
get itemIconSize(): number;
|
|
955
|
-
|
|
956
|
-
private recalculatePlacement;
|
|
957
|
-
toggle(event?: Event): void;
|
|
958
|
-
open(): void;
|
|
959
|
-
close(): void;
|
|
960
|
-
onItemSelect(item: DasarMenuItem, event: Event): void;
|
|
944
|
+
onItemSelect(item: DasarMenuItem): void;
|
|
961
945
|
static ɵfac: i0.ɵɵFactoryDeclaration<DasarMenu, never>;
|
|
962
946
|
static ɵcmp: i0.ɵɵComponentDeclaration<DasarMenu, "dasar-menu", never, {
|
|
963
947
|
"placement": {
|
|
@@ -976,10 +960,6 @@ export declare class DasarMenu {
|
|
|
976
960
|
"alias": "size";
|
|
977
961
|
"required": false;
|
|
978
962
|
};
|
|
979
|
-
"label": {
|
|
980
|
-
"alias": "label";
|
|
981
|
-
"required": false;
|
|
982
|
-
};
|
|
983
963
|
"items": {
|
|
984
964
|
"alias": "items";
|
|
985
965
|
"required": false;
|
|
@@ -1018,17 +998,19 @@ export declare class DasarMenu {
|
|
|
1018
998
|
};
|
|
1019
999
|
}, {
|
|
1020
1000
|
"onItemClick": "onItemClick";
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1001
|
+
}, ["providedMenuItem"], never, true, [{
|
|
1002
|
+
directive: typeof i1$3.NgpMenu;
|
|
1003
|
+
inputs: {};
|
|
1004
|
+
outputs: {};
|
|
1005
|
+
}]>;
|
|
1024
1006
|
static ngAcceptInputType_disabled: unknown;
|
|
1025
1007
|
static ngAcceptInputType_fluid: unknown;
|
|
1026
1008
|
}
|
|
1027
|
-
export declare const DasarMenuComponent: readonly [typeof
|
|
1028
|
-
export type DasarPaginationSizeType = Extract<ScaleAttributeType
|
|
1029
|
-
export type DasarPaginationRadiusType = ScaleAttributeType
|
|
1030
|
-
export type DasarPaginationAppearanceType = 'ghost' | 'solid' | 'subtle' | 'outline';
|
|
1031
|
-
export type DasarPaginationSpacingType = Extract<ScaleAttributeType
|
|
1009
|
+
export declare const DasarMenuComponent: readonly [typeof DasarMenuTrigger, typeof DasarMenuItemTemplate, typeof DasarMenu];
|
|
1010
|
+
export type DasarPaginationSizeType = Extract<ScaleAttributeType, 'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
|
|
1011
|
+
export type DasarPaginationRadiusType = ScaleAttributeType;
|
|
1012
|
+
export type DasarPaginationAppearanceType = 'ghost' | 'solid' | 'subtle' | 'outline' | 'elevated';
|
|
1013
|
+
export type DasarPaginationSpacingType = Extract<ScaleAttributeType, 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
|
|
1032
1014
|
export type DasarPaginationDisplayItem = 'pages' | 'size-picker' | 'quick-jumper-dropdown';
|
|
1033
1015
|
export type DasarPaginationItem = {
|
|
1034
1016
|
type: 'page';
|
|
@@ -1238,8 +1220,29 @@ export declare class DasarPagination implements OnInit {
|
|
|
1238
1220
|
}
|
|
1239
1221
|
export declare const DasarPaginationComponent: readonly [typeof DasarPaginationLabelSlot, typeof DasarPaginationPrevSlot, typeof DasarPaginationNextSlot, typeof DasarPaginationPrefixSlot, typeof DasarPaginationSuffixSlot, typeof DasarPagination];
|
|
1240
1222
|
export type DasarTextareaSizeType = Extract<ScaleAttributeType, 'sm' | 'md' | 'lg'>;
|
|
1241
|
-
export type DasarTextareaAppearanceType = 'outline' | 'filled';
|
|
1223
|
+
export type DasarTextareaAppearanceType = 'outline' | 'filled' | 'elevated';
|
|
1242
1224
|
export type DasarTextareaRadiusType = ScaleAttributeType;
|
|
1225
|
+
export interface DasarTextareaConfig {
|
|
1226
|
+
appearance?: DasarTextareaAppearanceType;
|
|
1227
|
+
labelRight?: string | TemplateRef<any>;
|
|
1228
|
+
radius?: DasarTextareaRadiusType;
|
|
1229
|
+
size?: DasarTextareaSizeType;
|
|
1230
|
+
hint?: string;
|
|
1231
|
+
placeholder?: string;
|
|
1232
|
+
label?: string;
|
|
1233
|
+
rows?: number;
|
|
1234
|
+
cols?: number;
|
|
1235
|
+
fullWidth?: boolean;
|
|
1236
|
+
disabled?: boolean;
|
|
1237
|
+
readonly?: boolean;
|
|
1238
|
+
error?: boolean;
|
|
1239
|
+
containerClass?: ClassType;
|
|
1240
|
+
textareaClass?: ClassType;
|
|
1241
|
+
hostClass?: ClassType;
|
|
1242
|
+
containerStyle?: StyleType;
|
|
1243
|
+
textareaStyle?: StyleType;
|
|
1244
|
+
hostStyle?: StyleType;
|
|
1245
|
+
}
|
|
1243
1246
|
export declare class DasarTextareaLabelSlot {
|
|
1244
1247
|
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTextareaLabelSlot, never>;
|
|
1245
1248
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTextareaLabelSlot, "[label-slot]", never, {}, {}, never, never, true, never>;
|
|
@@ -1251,8 +1254,11 @@ export declare class DasarTextareaExtraLabelSlot {
|
|
|
1251
1254
|
export declare class DasarTextarea implements ControlValueAccessor {
|
|
1252
1255
|
extraLabelSlot?: DasarTextareaExtraLabelSlot;
|
|
1253
1256
|
labelSlot?: DasarTextareaLabelSlot;
|
|
1257
|
+
private themeProvider;
|
|
1258
|
+
private themeService;
|
|
1259
|
+
private cdr;
|
|
1254
1260
|
appearance: DasarTextareaAppearanceType;
|
|
1255
|
-
labelRight
|
|
1261
|
+
labelRight: string | TemplateRef<any> | undefined;
|
|
1256
1262
|
size: DasarTextareaSizeType;
|
|
1257
1263
|
radius: DasarTextareaRadiusType;
|
|
1258
1264
|
hint: string;
|
|
@@ -1264,19 +1270,12 @@ export declare class DasarTextarea implements ControlValueAccessor {
|
|
|
1264
1270
|
disabled: boolean;
|
|
1265
1271
|
readonly: boolean;
|
|
1266
1272
|
error: boolean;
|
|
1267
|
-
containerClass:
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
hostClass: string | string[] | Set<string> | {
|
|
1274
|
-
[klass: string]: any;
|
|
1275
|
-
};
|
|
1276
|
-
containerStyle: Record<string, any> | null;
|
|
1277
|
-
textareaStyle: Record<string, any> | null;
|
|
1278
|
-
hostStyle: Record<string, any> | null;
|
|
1279
|
-
private cdr;
|
|
1273
|
+
containerClass: ClassType;
|
|
1274
|
+
textareaClass: ClassType;
|
|
1275
|
+
hostClass: ClassType;
|
|
1276
|
+
containerStyle: StyleType;
|
|
1277
|
+
textareaStyle: StyleType;
|
|
1278
|
+
hostStyle: StyleType;
|
|
1280
1279
|
_value: any;
|
|
1281
1280
|
get value(): any;
|
|
1282
1281
|
set value(val: any);
|
|
@@ -1300,7 +1299,7 @@ export declare class DasarTextarea implements ControlValueAccessor {
|
|
|
1300
1299
|
"required": false;
|
|
1301
1300
|
};
|
|
1302
1301
|
"labelRight": {
|
|
1303
|
-
"alias": "
|
|
1302
|
+
"alias": "label-right";
|
|
1304
1303
|
"required": false;
|
|
1305
1304
|
};
|
|
1306
1305
|
"size": {
|
|
@@ -1332,7 +1331,7 @@ export declare class DasarTextarea implements ControlValueAccessor {
|
|
|
1332
1331
|
"required": false;
|
|
1333
1332
|
};
|
|
1334
1333
|
"fullWidth": {
|
|
1335
|
-
"alias": "
|
|
1334
|
+
"alias": "full-width";
|
|
1336
1335
|
"required": false;
|
|
1337
1336
|
};
|
|
1338
1337
|
"disabled": {
|
|
@@ -1348,27 +1347,27 @@ export declare class DasarTextarea implements ControlValueAccessor {
|
|
|
1348
1347
|
"required": false;
|
|
1349
1348
|
};
|
|
1350
1349
|
"containerClass": {
|
|
1351
|
-
"alias": "
|
|
1350
|
+
"alias": "container-class";
|
|
1352
1351
|
"required": false;
|
|
1353
1352
|
};
|
|
1354
1353
|
"textareaClass": {
|
|
1355
|
-
"alias": "
|
|
1354
|
+
"alias": "textarea-class";
|
|
1356
1355
|
"required": false;
|
|
1357
1356
|
};
|
|
1358
1357
|
"hostClass": {
|
|
1359
|
-
"alias": "
|
|
1358
|
+
"alias": "host-class";
|
|
1360
1359
|
"required": false;
|
|
1361
1360
|
};
|
|
1362
1361
|
"containerStyle": {
|
|
1363
|
-
"alias": "
|
|
1362
|
+
"alias": "container-style";
|
|
1364
1363
|
"required": false;
|
|
1365
1364
|
};
|
|
1366
1365
|
"textareaStyle": {
|
|
1367
|
-
"alias": "
|
|
1366
|
+
"alias": "textarea-style";
|
|
1368
1367
|
"required": false;
|
|
1369
1368
|
};
|
|
1370
1369
|
"hostStyle": {
|
|
1371
|
-
"alias": "
|
|
1370
|
+
"alias": "host-style";
|
|
1372
1371
|
"required": false;
|
|
1373
1372
|
};
|
|
1374
1373
|
"value": {
|
|
@@ -1378,15 +1377,477 @@ export declare class DasarTextarea implements ControlValueAccessor {
|
|
|
1378
1377
|
}, {
|
|
1379
1378
|
"valueChange": "valueChange";
|
|
1380
1379
|
}, ["extraLabelSlot", "labelSlot"], ["[label-slot]", "[extra-label-slot]"], true, never>;
|
|
1380
|
+
static ngAcceptInputType_rows: unknown;
|
|
1381
|
+
static ngAcceptInputType_cols: unknown;
|
|
1381
1382
|
static ngAcceptInputType_fullWidth: unknown;
|
|
1382
1383
|
static ngAcceptInputType_disabled: unknown;
|
|
1383
1384
|
static ngAcceptInputType_readonly: unknown;
|
|
1384
1385
|
static ngAcceptInputType_error: unknown;
|
|
1385
1386
|
}
|
|
1386
1387
|
export declare const DasarTextareaComponent: readonly [typeof DasarTextareaExtraLabelSlot, typeof DasarTextareaLabelSlot, typeof DasarTextarea];
|
|
1388
|
+
export type DasarSliderSizeType = Extract<ScaleAttributeType, 'sm' | 'md' | 'lg'>;
|
|
1389
|
+
export type DasarSliderAppearanceType = 'outline' | 'filled' | 'elevated';
|
|
1390
|
+
export interface DasarSliderConfig {
|
|
1391
|
+
value?: number;
|
|
1392
|
+
min?: number;
|
|
1393
|
+
max?: number;
|
|
1394
|
+
step?: number;
|
|
1395
|
+
disabled?: boolean;
|
|
1396
|
+
size?: DasarSliderSizeType;
|
|
1397
|
+
appearance?: DasarSliderAppearanceType;
|
|
1398
|
+
label?: string;
|
|
1399
|
+
hint?: string;
|
|
1400
|
+
error?: boolean;
|
|
1401
|
+
fullWidth?: boolean;
|
|
1402
|
+
containerClass?: ClassType;
|
|
1403
|
+
containerStyle?: StyleType;
|
|
1404
|
+
trackClass?: ClassType;
|
|
1405
|
+
trackStyle?: StyleType;
|
|
1406
|
+
thumbClass?: ClassType;
|
|
1407
|
+
thumbStyle?: StyleType;
|
|
1408
|
+
}
|
|
1409
|
+
export declare class DasarSlider implements ControlValueAccessor, AfterViewInit {
|
|
1410
|
+
private themeProvider;
|
|
1411
|
+
private themeService;
|
|
1412
|
+
private cdr;
|
|
1413
|
+
private ngpSlider?;
|
|
1414
|
+
private _value;
|
|
1415
|
+
get value(): number;
|
|
1416
|
+
set value(val: number);
|
|
1417
|
+
min: number;
|
|
1418
|
+
max: number;
|
|
1419
|
+
step: number;
|
|
1420
|
+
disabled: boolean;
|
|
1421
|
+
size: DasarSliderSizeType;
|
|
1422
|
+
appearance: DasarSliderAppearanceType;
|
|
1423
|
+
label?: string;
|
|
1424
|
+
hint: string;
|
|
1425
|
+
error: boolean;
|
|
1426
|
+
fullWidth: boolean;
|
|
1427
|
+
containerClass: ClassType;
|
|
1428
|
+
containerStyle: StyleType;
|
|
1429
|
+
trackClass: ClassType;
|
|
1430
|
+
trackStyle: StyleType;
|
|
1431
|
+
thumbClass: ClassType;
|
|
1432
|
+
thumbStyle: StyleType;
|
|
1433
|
+
valueChange: EventEmitter<number>;
|
|
1434
|
+
readonly baseClass = true;
|
|
1435
|
+
get hasFullWidth(): boolean;
|
|
1436
|
+
get isDisabled(): boolean;
|
|
1437
|
+
onChange: (value: number) => void;
|
|
1438
|
+
onTouched: () => void;
|
|
1439
|
+
ngAfterViewInit(): void;
|
|
1440
|
+
onPrimitiveValueChange(val: number): void;
|
|
1441
|
+
onBlur(): void;
|
|
1442
|
+
writeValue(val: any): void;
|
|
1443
|
+
registerOnChange(fn: any): void;
|
|
1444
|
+
registerOnTouched(fn: any): void;
|
|
1445
|
+
setDisabledState(isDisabled: boolean): void;
|
|
1446
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSlider, never>;
|
|
1447
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarSlider, "dasar-slider", never, {
|
|
1448
|
+
"value": {
|
|
1449
|
+
"alias": "value";
|
|
1450
|
+
"required": false;
|
|
1451
|
+
};
|
|
1452
|
+
"min": {
|
|
1453
|
+
"alias": "min";
|
|
1454
|
+
"required": false;
|
|
1455
|
+
};
|
|
1456
|
+
"max": {
|
|
1457
|
+
"alias": "max";
|
|
1458
|
+
"required": false;
|
|
1459
|
+
};
|
|
1460
|
+
"step": {
|
|
1461
|
+
"alias": "step";
|
|
1462
|
+
"required": false;
|
|
1463
|
+
};
|
|
1464
|
+
"disabled": {
|
|
1465
|
+
"alias": "disabled";
|
|
1466
|
+
"required": false;
|
|
1467
|
+
};
|
|
1468
|
+
"size": {
|
|
1469
|
+
"alias": "size";
|
|
1470
|
+
"required": false;
|
|
1471
|
+
};
|
|
1472
|
+
"appearance": {
|
|
1473
|
+
"alias": "appearance";
|
|
1474
|
+
"required": false;
|
|
1475
|
+
};
|
|
1476
|
+
"label": {
|
|
1477
|
+
"alias": "label";
|
|
1478
|
+
"required": false;
|
|
1479
|
+
};
|
|
1480
|
+
"hint": {
|
|
1481
|
+
"alias": "hint";
|
|
1482
|
+
"required": false;
|
|
1483
|
+
};
|
|
1484
|
+
"error": {
|
|
1485
|
+
"alias": "error";
|
|
1486
|
+
"required": false;
|
|
1487
|
+
};
|
|
1488
|
+
"fullWidth": {
|
|
1489
|
+
"alias": "fullWidth";
|
|
1490
|
+
"required": false;
|
|
1491
|
+
};
|
|
1492
|
+
"containerClass": {
|
|
1493
|
+
"alias": "containerClass";
|
|
1494
|
+
"required": false;
|
|
1495
|
+
};
|
|
1496
|
+
"containerStyle": {
|
|
1497
|
+
"alias": "containerStyle";
|
|
1498
|
+
"required": false;
|
|
1499
|
+
};
|
|
1500
|
+
"trackClass": {
|
|
1501
|
+
"alias": "trackClass";
|
|
1502
|
+
"required": false;
|
|
1503
|
+
};
|
|
1504
|
+
"trackStyle": {
|
|
1505
|
+
"alias": "trackStyle";
|
|
1506
|
+
"required": false;
|
|
1507
|
+
};
|
|
1508
|
+
"thumbClass": {
|
|
1509
|
+
"alias": "thumbClass";
|
|
1510
|
+
"required": false;
|
|
1511
|
+
};
|
|
1512
|
+
"thumbStyle": {
|
|
1513
|
+
"alias": "thumbStyle";
|
|
1514
|
+
"required": false;
|
|
1515
|
+
};
|
|
1516
|
+
}, {
|
|
1517
|
+
"valueChange": "valueChange";
|
|
1518
|
+
}, never, never, true, never>;
|
|
1519
|
+
static ngAcceptInputType_value: unknown;
|
|
1520
|
+
static ngAcceptInputType_min: unknown;
|
|
1521
|
+
static ngAcceptInputType_max: unknown;
|
|
1522
|
+
static ngAcceptInputType_step: unknown;
|
|
1523
|
+
static ngAcceptInputType_disabled: unknown;
|
|
1524
|
+
static ngAcceptInputType_error: unknown;
|
|
1525
|
+
static ngAcceptInputType_fullWidth: unknown;
|
|
1526
|
+
}
|
|
1527
|
+
export declare const DasarSliderComponent: readonly [typeof DasarSlider];
|
|
1528
|
+
export type DasarPinSizeType = Extract<ScaleAttributeType, 'sm' | 'md' | 'lg'>;
|
|
1529
|
+
export type DasarPinAppearanceType = 'outline' | 'filled' | 'elevated';
|
|
1530
|
+
export type DasarPinInputModeType = 'numeric' | 'text' | 'decimal' | 'tel' | 'search' | 'email' | 'url';
|
|
1531
|
+
export interface DasarPinConfig {
|
|
1532
|
+
value?: string;
|
|
1533
|
+
length?: number;
|
|
1534
|
+
appearance?: DasarPinAppearanceType;
|
|
1535
|
+
size?: DasarPinSizeType;
|
|
1536
|
+
radius?: ScaleAttributeType;
|
|
1537
|
+
disabled?: boolean;
|
|
1538
|
+
error?: boolean;
|
|
1539
|
+
pattern?: string;
|
|
1540
|
+
placeholder?: string;
|
|
1541
|
+
inputMode?: DasarPinInputModeType;
|
|
1542
|
+
containerClass?: ClassType;
|
|
1543
|
+
containerStyle?: StyleType;
|
|
1544
|
+
hostClass?: ClassType;
|
|
1545
|
+
hostStyle?: StyleType;
|
|
1546
|
+
}
|
|
1547
|
+
export declare class DasarPin implements ControlValueAccessor, AfterViewInit {
|
|
1548
|
+
private themeProvider;
|
|
1549
|
+
private themeService;
|
|
1550
|
+
private cdr;
|
|
1551
|
+
private ngpInputOtp?;
|
|
1552
|
+
private _value;
|
|
1553
|
+
get value(): string;
|
|
1554
|
+
set value(val: string);
|
|
1555
|
+
length: number;
|
|
1556
|
+
appearance: DasarPinAppearanceType;
|
|
1557
|
+
size: DasarPinSizeType;
|
|
1558
|
+
radius: ScaleAttributeType;
|
|
1559
|
+
disabled: boolean;
|
|
1560
|
+
error: boolean;
|
|
1561
|
+
pattern: string;
|
|
1562
|
+
placeholder: string;
|
|
1563
|
+
inputMode: DasarPinInputModeType;
|
|
1564
|
+
containerClass: ClassType;
|
|
1565
|
+
containerStyle: StyleType;
|
|
1566
|
+
hostClass: ClassType;
|
|
1567
|
+
hostStyle: StyleType;
|
|
1568
|
+
valueChange: EventEmitter<string>;
|
|
1569
|
+
complete: EventEmitter<string>;
|
|
1570
|
+
readonly baseClass = true;
|
|
1571
|
+
get hostClasses(): string;
|
|
1572
|
+
get hostStyles(): StyleType;
|
|
1573
|
+
get slots(): number[];
|
|
1574
|
+
onChange: (value: string) => void;
|
|
1575
|
+
onTouched: () => void;
|
|
1576
|
+
ngAfterViewInit(): void;
|
|
1577
|
+
onPrimitiveValueChange(val: string): void;
|
|
1578
|
+
onPrimitiveComplete(val: string): void;
|
|
1579
|
+
onBlur(): void;
|
|
1580
|
+
writeValue(val: any): void;
|
|
1581
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
1582
|
+
registerOnTouched(fn: () => void): void;
|
|
1583
|
+
setDisabledState(isDisabled: boolean): void;
|
|
1584
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPin, never>;
|
|
1585
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarPin, "dasar-pin", never, {
|
|
1586
|
+
"value": {
|
|
1587
|
+
"alias": "value";
|
|
1588
|
+
"required": false;
|
|
1589
|
+
};
|
|
1590
|
+
"length": {
|
|
1591
|
+
"alias": "length";
|
|
1592
|
+
"required": false;
|
|
1593
|
+
};
|
|
1594
|
+
"appearance": {
|
|
1595
|
+
"alias": "appearance";
|
|
1596
|
+
"required": false;
|
|
1597
|
+
};
|
|
1598
|
+
"size": {
|
|
1599
|
+
"alias": "size";
|
|
1600
|
+
"required": false;
|
|
1601
|
+
};
|
|
1602
|
+
"radius": {
|
|
1603
|
+
"alias": "radius";
|
|
1604
|
+
"required": false;
|
|
1605
|
+
};
|
|
1606
|
+
"disabled": {
|
|
1607
|
+
"alias": "disabled";
|
|
1608
|
+
"required": false;
|
|
1609
|
+
};
|
|
1610
|
+
"error": {
|
|
1611
|
+
"alias": "error";
|
|
1612
|
+
"required": false;
|
|
1613
|
+
};
|
|
1614
|
+
"pattern": {
|
|
1615
|
+
"alias": "pattern";
|
|
1616
|
+
"required": false;
|
|
1617
|
+
};
|
|
1618
|
+
"placeholder": {
|
|
1619
|
+
"alias": "placeholder";
|
|
1620
|
+
"required": false;
|
|
1621
|
+
};
|
|
1622
|
+
"inputMode": {
|
|
1623
|
+
"alias": "inputMode";
|
|
1624
|
+
"required": false;
|
|
1625
|
+
};
|
|
1626
|
+
"containerClass": {
|
|
1627
|
+
"alias": "container-class";
|
|
1628
|
+
"required": false;
|
|
1629
|
+
};
|
|
1630
|
+
"containerStyle": {
|
|
1631
|
+
"alias": "container-style";
|
|
1632
|
+
"required": false;
|
|
1633
|
+
};
|
|
1634
|
+
"hostClass": {
|
|
1635
|
+
"alias": "host-class";
|
|
1636
|
+
"required": false;
|
|
1637
|
+
};
|
|
1638
|
+
"hostStyle": {
|
|
1639
|
+
"alias": "host-style";
|
|
1640
|
+
"required": false;
|
|
1641
|
+
};
|
|
1642
|
+
}, {
|
|
1643
|
+
"valueChange": "valueChange";
|
|
1644
|
+
"complete": "complete";
|
|
1645
|
+
}, never, never, true, never>;
|
|
1646
|
+
static ngAcceptInputType_length: unknown;
|
|
1647
|
+
static ngAcceptInputType_disabled: unknown;
|
|
1648
|
+
static ngAcceptInputType_error: unknown;
|
|
1649
|
+
}
|
|
1650
|
+
export declare const DasarPinComponent: readonly [typeof DasarPin];
|
|
1651
|
+
export type DasarToggleSizeType = Extract<ScaleAttributeType, 'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
|
|
1652
|
+
export type DasarToggleVariantType = 'primary' | 'success' | 'warning' | 'danger' | 'secondary' | 'ghost';
|
|
1653
|
+
export type DasarToggleAppearanceType = 'solid' | 'subtle' | 'outline' | 'elevated';
|
|
1654
|
+
export type DasarToggleType = 'button' | 'submit' | 'reset';
|
|
1655
|
+
export type DasarToggleRadiusType = ScaleAttributeType;
|
|
1656
|
+
export interface DasarToggleConfig {
|
|
1657
|
+
selected?: boolean;
|
|
1658
|
+
disabled?: boolean;
|
|
1659
|
+
type?: DasarToggleType;
|
|
1660
|
+
appearance?: DasarToggleAppearanceType;
|
|
1661
|
+
variant?: DasarToggleVariantType;
|
|
1662
|
+
size?: DasarToggleSizeType;
|
|
1663
|
+
radius?: DasarToggleRadiusType;
|
|
1664
|
+
toggleClass?: ClassType;
|
|
1665
|
+
toggleStyle?: StyleType;
|
|
1666
|
+
fullWidth?: boolean;
|
|
1667
|
+
}
|
|
1668
|
+
export declare class DasarToggle implements ControlValueAccessor, AfterViewInit {
|
|
1669
|
+
private themeProvider;
|
|
1670
|
+
private themeService;
|
|
1671
|
+
private cdr;
|
|
1672
|
+
private ngpToggle?;
|
|
1673
|
+
private _selected;
|
|
1674
|
+
get selected(): boolean;
|
|
1675
|
+
set selected(val: boolean);
|
|
1676
|
+
disabled: boolean;
|
|
1677
|
+
type: DasarToggleType;
|
|
1678
|
+
appearance: DasarToggleAppearanceType;
|
|
1679
|
+
variant: DasarToggleVariantType;
|
|
1680
|
+
size: DasarToggleSizeType;
|
|
1681
|
+
radius: DasarToggleRadiusType;
|
|
1682
|
+
toggleClass: ClassType;
|
|
1683
|
+
toggleStyle: StyleType;
|
|
1684
|
+
fullWidth: boolean;
|
|
1685
|
+
selectedChange: EventEmitter<boolean>;
|
|
1686
|
+
readonly hostBaseClass = true;
|
|
1687
|
+
get hasFullWidth(): boolean;
|
|
1688
|
+
get isDisabled(): boolean;
|
|
1689
|
+
onChange: (value: boolean) => void;
|
|
1690
|
+
onTouched: () => void;
|
|
1691
|
+
ngAfterViewInit(): void;
|
|
1692
|
+
onPrimitiveSelectedChange(newSelected: boolean): void;
|
|
1693
|
+
onBlur(): void;
|
|
1694
|
+
get buttonClasses(): Record<string, boolean>;
|
|
1695
|
+
writeValue(val: any): void;
|
|
1696
|
+
registerOnChange(fn: (value: boolean) => void): void;
|
|
1697
|
+
registerOnTouched(fn: () => void): void;
|
|
1698
|
+
setDisabledState(isDisabled: boolean): void;
|
|
1699
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarToggle, never>;
|
|
1700
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarToggle, "dasar-toggle", never, {
|
|
1701
|
+
"selected": {
|
|
1702
|
+
"alias": "selected";
|
|
1703
|
+
"required": false;
|
|
1704
|
+
};
|
|
1705
|
+
"disabled": {
|
|
1706
|
+
"alias": "disabled";
|
|
1707
|
+
"required": false;
|
|
1708
|
+
};
|
|
1709
|
+
"type": {
|
|
1710
|
+
"alias": "type";
|
|
1711
|
+
"required": false;
|
|
1712
|
+
};
|
|
1713
|
+
"appearance": {
|
|
1714
|
+
"alias": "appearance";
|
|
1715
|
+
"required": false;
|
|
1716
|
+
};
|
|
1717
|
+
"variant": {
|
|
1718
|
+
"alias": "variant";
|
|
1719
|
+
"required": false;
|
|
1720
|
+
};
|
|
1721
|
+
"size": {
|
|
1722
|
+
"alias": "size";
|
|
1723
|
+
"required": false;
|
|
1724
|
+
};
|
|
1725
|
+
"radius": {
|
|
1726
|
+
"alias": "radius";
|
|
1727
|
+
"required": false;
|
|
1728
|
+
};
|
|
1729
|
+
"toggleClass": {
|
|
1730
|
+
"alias": "toggleClass";
|
|
1731
|
+
"required": false;
|
|
1732
|
+
};
|
|
1733
|
+
"toggleStyle": {
|
|
1734
|
+
"alias": "toggleStyle";
|
|
1735
|
+
"required": false;
|
|
1736
|
+
};
|
|
1737
|
+
"fullWidth": {
|
|
1738
|
+
"alias": "fullWidth";
|
|
1739
|
+
"required": false;
|
|
1740
|
+
};
|
|
1741
|
+
}, {
|
|
1742
|
+
"selectedChange": "selectedChange";
|
|
1743
|
+
}, never, ["*"], true, never>;
|
|
1744
|
+
static ngAcceptInputType_selected: unknown;
|
|
1745
|
+
static ngAcceptInputType_disabled: unknown;
|
|
1746
|
+
static ngAcceptInputType_fullWidth: unknown;
|
|
1747
|
+
}
|
|
1748
|
+
export declare const DasarToggleComponent: readonly [typeof DasarToggle];
|
|
1749
|
+
export type DasarTooltipPlacementType = 'top' | 'bottom' | 'left' | 'right';
|
|
1750
|
+
export type DasarTooltipAppearanceType = 'solid' | 'elevated';
|
|
1751
|
+
export interface DasarTooltipConfig {
|
|
1752
|
+
placement?: DasarTooltipPlacementType;
|
|
1753
|
+
disabled?: boolean;
|
|
1754
|
+
showDelay?: number;
|
|
1755
|
+
hideDelay?: number;
|
|
1756
|
+
appearance?: DasarTooltipAppearanceType;
|
|
1757
|
+
contentClass?: ClassType;
|
|
1758
|
+
contentStyle?: StyleType;
|
|
1759
|
+
}
|
|
1760
|
+
export interface DasarTooltipContextPayload {
|
|
1761
|
+
content: string | TemplateRef<any>;
|
|
1762
|
+
appearance: DasarTooltipAppearanceType;
|
|
1763
|
+
contentClass?: ClassType;
|
|
1764
|
+
contentStyle?: StyleType;
|
|
1765
|
+
}
|
|
1766
|
+
export declare class DasarTooltipContent {
|
|
1767
|
+
protected readonly payload: import("@angular/core").Signal<DasarTooltipContextPayload>;
|
|
1768
|
+
get isTemplateRef(): boolean;
|
|
1769
|
+
get asTemplateRef(): TemplateRef<any>;
|
|
1770
|
+
get classes(): Record<string, boolean>;
|
|
1771
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTooltipContent, never>;
|
|
1772
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarTooltipContent, "dasar-tooltip-content", never, {}, {}, never, never, true, [{
|
|
1773
|
+
directive: typeof i1$2.NgpTooltip;
|
|
1774
|
+
inputs: {};
|
|
1775
|
+
outputs: {};
|
|
1776
|
+
}]>;
|
|
1777
|
+
}
|
|
1778
|
+
export declare class DasarTooltip {
|
|
1779
|
+
private themeProvider;
|
|
1780
|
+
private themeService;
|
|
1781
|
+
private triggerState;
|
|
1782
|
+
private _content;
|
|
1783
|
+
private _appearance;
|
|
1784
|
+
private _contentClass?;
|
|
1785
|
+
private _contentStyle?;
|
|
1786
|
+
get content(): string | TemplateRef<any>;
|
|
1787
|
+
set content(val: string | TemplateRef<any>);
|
|
1788
|
+
placement: DasarTooltipPlacementType;
|
|
1789
|
+
disabled: boolean;
|
|
1790
|
+
showDelay: number;
|
|
1791
|
+
hideDelay: number;
|
|
1792
|
+
get appearance(): DasarTooltipAppearanceType;
|
|
1793
|
+
set appearance(val: DasarTooltipAppearanceType);
|
|
1794
|
+
get contentClass(): ClassType;
|
|
1795
|
+
set contentClass(val: ClassType);
|
|
1796
|
+
get contentStyle(): StyleType | undefined;
|
|
1797
|
+
set contentStyle(val: StyleType | undefined);
|
|
1798
|
+
constructor();
|
|
1799
|
+
private updatePayload;
|
|
1800
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTooltip, never>;
|
|
1801
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTooltip, "[dasarTooltip]", never, {
|
|
1802
|
+
"content": {
|
|
1803
|
+
"alias": "dasarTooltip";
|
|
1804
|
+
"required": false;
|
|
1805
|
+
};
|
|
1806
|
+
"placement": {
|
|
1807
|
+
"alias": "dasarTooltipPlacement";
|
|
1808
|
+
"required": false;
|
|
1809
|
+
};
|
|
1810
|
+
"disabled": {
|
|
1811
|
+
"alias": "dasarTooltipDisabled";
|
|
1812
|
+
"required": false;
|
|
1813
|
+
};
|
|
1814
|
+
"showDelay": {
|
|
1815
|
+
"alias": "dasarTooltipShowDelay";
|
|
1816
|
+
"required": false;
|
|
1817
|
+
};
|
|
1818
|
+
"hideDelay": {
|
|
1819
|
+
"alias": "dasarTooltipHideDelay";
|
|
1820
|
+
"required": false;
|
|
1821
|
+
};
|
|
1822
|
+
"appearance": {
|
|
1823
|
+
"alias": "dasarTooltipAppearance";
|
|
1824
|
+
"required": false;
|
|
1825
|
+
};
|
|
1826
|
+
"contentClass": {
|
|
1827
|
+
"alias": "dasarTooltipClass";
|
|
1828
|
+
"required": false;
|
|
1829
|
+
};
|
|
1830
|
+
"contentStyle": {
|
|
1831
|
+
"alias": "dasarTooltipStyle";
|
|
1832
|
+
"required": false;
|
|
1833
|
+
};
|
|
1834
|
+
}, {}, never, never, true, [{
|
|
1835
|
+
directive: typeof i1$2.NgpTooltipTrigger;
|
|
1836
|
+
inputs: {
|
|
1837
|
+
"ngpTooltipTriggerPlacement": "dasarTooltipPlacement";
|
|
1838
|
+
"ngpTooltipTriggerDisabled": "dasarTooltipDisabled";
|
|
1839
|
+
"ngpTooltipTriggerShowDelay": "dasarTooltipShowDelay";
|
|
1840
|
+
"ngpTooltipTriggerHideDelay": "dasarTooltipHideDelay";
|
|
1841
|
+
};
|
|
1842
|
+
outputs: {};
|
|
1843
|
+
}]>;
|
|
1844
|
+
static ngAcceptInputType_disabled: unknown;
|
|
1845
|
+
static ngAcceptInputType_showDelay: unknown;
|
|
1846
|
+
static ngAcceptInputType_hideDelay: unknown;
|
|
1847
|
+
}
|
|
1387
1848
|
export type DasarTableAppearance = 'outline' | 'filled' | 'elevated' | 'borderless';
|
|
1388
|
-
export type DasarTableRadiusType = ScaleAttributeType
|
|
1389
|
-
export type DasarTableSize = Extract<ScaleAttributeType
|
|
1849
|
+
export type DasarTableRadiusType = ScaleAttributeType;
|
|
1850
|
+
export type DasarTableSize = Extract<ScaleAttributeType, 'sm' | 'md' | 'lg'>;
|
|
1390
1851
|
export type DasarTableSpacing = 'compact' | 'normal' | 'relaxed';
|
|
1391
1852
|
export type DasarTableSortDirection = 'asc' | 'desc' | null;
|
|
1392
1853
|
export interface DasarTableColumn {
|
|
@@ -1672,9 +2133,9 @@ export declare class DasarTable {
|
|
|
1672
2133
|
static ngAcceptInputType_expandable: unknown;
|
|
1673
2134
|
}
|
|
1674
2135
|
export declare const DasarTableComponent: readonly [typeof DasarTablePaginationSlot, typeof DasarTableCellDirective, typeof DasarTableExpandedSlot, typeof DasarTableHeaderSlot, typeof DasarTableEmptySlot, typeof DasarTableBodySlot, typeof DasarTable];
|
|
1675
|
-
export type DasarTabsRadiusType = ScaleAttributeType
|
|
1676
|
-
export type DasarTabsAppearanceType = 'solid' | 'subtle' | 'outline';
|
|
1677
|
-
export type DasarTabsSizeType = ScaleAttributeType
|
|
2136
|
+
export type DasarTabsRadiusType = ScaleAttributeType;
|
|
2137
|
+
export type DasarTabsAppearanceType = 'solid' | 'subtle' | 'outline' | 'elevated';
|
|
2138
|
+
export type DasarTabsSizeType = ScaleAttributeType;
|
|
1678
2139
|
export type DasarTabsSpacingType = 'compact' | 'normal';
|
|
1679
2140
|
export interface DasarTabsConfig {
|
|
1680
2141
|
appearance?: DasarTabsAppearanceType;
|
|
@@ -1722,9 +2183,10 @@ export declare class DasarTabs implements OnChanges, AfterViewInit {
|
|
|
1722
2183
|
scrollLeftSlot?: DasarTabsScrollLeftSlotDirective;
|
|
1723
2184
|
scrollRightSlot?: DasarTabsScrollRightSlotDirective;
|
|
1724
2185
|
tabsList?: ElementRef<HTMLElement>;
|
|
2186
|
+
private ngpTabset?;
|
|
1725
2187
|
appearance: NonNullable<DasarTabsAppearanceType | undefined>;
|
|
1726
|
-
radius: NonNullable<ScaleAttributeType
|
|
1727
|
-
size: NonNullable<ScaleAttributeType
|
|
2188
|
+
radius: NonNullable<ScaleAttributeType | undefined>;
|
|
2189
|
+
size: NonNullable<ScaleAttributeType | undefined>;
|
|
1728
2190
|
spacing: NonNullable<DasarTabsSpacingType | undefined>;
|
|
1729
2191
|
fluid: NonNullable<boolean | undefined>;
|
|
1730
2192
|
containerClass: NonNullable<ClassType> | null | undefined;
|
|
@@ -1750,7 +2212,9 @@ export declare class DasarTabs implements OnChanges, AfterViewInit {
|
|
|
1750
2212
|
private measureRequest;
|
|
1751
2213
|
private readonly onScroll;
|
|
1752
2214
|
get buttonSize(): DasarButtonSizeType;
|
|
1753
|
-
selectTab(index: number): void;
|
|
2215
|
+
selectTab(index: number, emitClick?: boolean): void;
|
|
2216
|
+
onPrimitiveTabChange(value: any): void;
|
|
2217
|
+
private syncPrimitiveValue;
|
|
1754
2218
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1755
2219
|
ngAfterViewInit(): void;
|
|
1756
2220
|
updateScrollState(): void;
|
|
@@ -1835,230 +2299,13 @@ export declare class DasarTabs implements OnChanges, AfterViewInit {
|
|
|
1835
2299
|
static ngAcceptInputType_fluid: unknown;
|
|
1836
2300
|
}
|
|
1837
2301
|
export declare const DasarTabsComponent: readonly [typeof DasarTabs, typeof DasarTabItemSlotDirective, typeof DasarTabsScrollLeftSlotDirective, typeof DasarTabsScrollRightSlotDirective];
|
|
1838
|
-
export type
|
|
1839
|
-
export type
|
|
1840
|
-
export type DasarPivotTableSpacing = 'compact' | 'normal' | 'relaxed';
|
|
1841
|
-
export type DasarPivotTableSize = 'sm' | 'md' | 'lg';
|
|
1842
|
-
export type DasarPivotTableSortDirection = 'asc' | 'desc' | null;
|
|
1843
|
-
export interface DasarPivotTableSortEvent {
|
|
1844
|
-
key: string;
|
|
1845
|
-
direction: DasarPivotTableSortDirection;
|
|
1846
|
-
}
|
|
1847
|
-
export declare class DasarPivotCellTemplate {
|
|
1848
|
-
templateRef: TemplateRef<any>;
|
|
1849
|
-
constructor(templateRef: TemplateRef<any>);
|
|
1850
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotCellTemplate, never>;
|
|
1851
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotCellTemplate, "[pivot-cell-template]", never, {}, {}, never, never, true, never>;
|
|
1852
|
-
}
|
|
1853
|
-
export declare class DasarPivotRowHeaderTemplate {
|
|
1854
|
-
templateRef: TemplateRef<any>;
|
|
1855
|
-
constructor(templateRef: TemplateRef<any>);
|
|
1856
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotRowHeaderTemplate, never>;
|
|
1857
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotRowHeaderTemplate, "[pivot-row-header-template]", never, {}, {}, never, never, true, never>;
|
|
1858
|
-
}
|
|
1859
|
-
export declare class DasarPivotColHeaderTemplate {
|
|
1860
|
-
templateRef: TemplateRef<any>;
|
|
1861
|
-
constructor(templateRef: TemplateRef<any>);
|
|
1862
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotColHeaderTemplate, never>;
|
|
1863
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotColHeaderTemplate, "[pivot-col-header-template]", never, {}, {}, never, never, true, never>;
|
|
1864
|
-
}
|
|
1865
|
-
export declare class DasarPivotTableHeaderSlot {
|
|
1866
|
-
templateRef: TemplateRef<any>;
|
|
1867
|
-
constructor(templateRef: TemplateRef<any>);
|
|
1868
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotTableHeaderSlot, never>;
|
|
1869
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotTableHeaderSlot, "[pivot-header-slot]", never, {}, {}, never, never, true, never>;
|
|
1870
|
-
}
|
|
1871
|
-
export declare class DasarPivotTableBodySlot {
|
|
1872
|
-
templateRef: TemplateRef<any>;
|
|
1873
|
-
constructor(templateRef: TemplateRef<any>);
|
|
1874
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotTableBodySlot, never>;
|
|
1875
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotTableBodySlot, "[pivot-body-slot]", never, {}, {}, never, never, true, never>;
|
|
1876
|
-
}
|
|
1877
|
-
export declare class DasarPivotTableEmptySlot {
|
|
1878
|
-
templateRef: TemplateRef<any>;
|
|
1879
|
-
constructor(templateRef: TemplateRef<any>);
|
|
1880
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotTableEmptySlot, never>;
|
|
1881
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotTableEmptySlot, "[pivot-empty-slot]", never, {}, {}, never, never, true, never>;
|
|
1882
|
-
}
|
|
1883
|
-
export declare class DasarPivotTablePaginationSlot {
|
|
1884
|
-
templateRef: TemplateRef<any>;
|
|
1885
|
-
constructor(templateRef: TemplateRef<any>);
|
|
1886
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotTablePaginationSlot, never>;
|
|
1887
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotTablePaginationSlot, "[pivot-pagination-slot]", never, {}, {}, never, never, true, never>;
|
|
1888
|
-
}
|
|
1889
|
-
export declare class DasarPivotTableExpandedSlot {
|
|
1890
|
-
templateRef: TemplateRef<any>;
|
|
1891
|
-
constructor(templateRef: TemplateRef<any>);
|
|
1892
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotTableExpandedSlot, never>;
|
|
1893
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotTableExpandedSlot, "[pivot-expanded-slot]", never, {}, {}, never, never, true, never>;
|
|
1894
|
-
}
|
|
1895
|
-
export declare class DasarPivotTable implements OnChanges {
|
|
1896
|
-
rowHeaderTemplate?: DasarPivotRowHeaderTemplate;
|
|
1897
|
-
colHeaderTemplate?: DasarPivotColHeaderTemplate;
|
|
1898
|
-
cellTemplate?: DasarPivotCellTemplate;
|
|
1899
|
-
providedHeader?: DasarPivotTableHeaderSlot;
|
|
1900
|
-
providedBody?: DasarPivotTableBodySlot;
|
|
1901
|
-
providedEmpty?: DasarPivotTableEmptySlot;
|
|
1902
|
-
providedPagination?: DasarPivotTablePaginationSlot;
|
|
1903
|
-
providedExpanded?: DasarPivotTableExpandedSlot;
|
|
1904
|
-
data: any[];
|
|
1905
|
-
rowField: string;
|
|
1906
|
-
colField: string;
|
|
1907
|
-
valField: string;
|
|
1908
|
-
aggregator: DasarPivotAggregator;
|
|
1909
|
-
rowLabel: string;
|
|
1910
|
-
colLabel: string;
|
|
1911
|
-
showRowTotals: boolean;
|
|
1912
|
-
showColTotals: boolean;
|
|
1913
|
-
emptyText: string;
|
|
1914
|
-
appearance: DasarPivotTableAppearance;
|
|
1915
|
-
spacing: DasarPivotTableSpacing;
|
|
1916
|
-
size: DasarPivotTableSize;
|
|
1917
|
-
loading: boolean;
|
|
1918
|
-
emptyTitle: string;
|
|
1919
|
-
emptyDescription: string;
|
|
1920
|
-
loadingText: string;
|
|
1921
|
-
sortKey: string | null;
|
|
1922
|
-
sortDirection: DasarPivotTableSortDirection;
|
|
1923
|
-
cellClassFn?: (val: number | null, row: string, col: string) => string | string[] | Record<string, boolean>;
|
|
1924
|
-
cellStyleFn?: (val: number | null, row: string, col: string) => Record<string, string>;
|
|
1925
|
-
rowClick: EventEmitter<{
|
|
1926
|
-
row: any;
|
|
1927
|
-
index: number;
|
|
1928
|
-
event: MouseEvent;
|
|
1929
|
-
}>;
|
|
1930
|
-
rowDblclick: EventEmitter<{
|
|
1931
|
-
row: any;
|
|
1932
|
-
index: number;
|
|
1933
|
-
event: MouseEvent;
|
|
1934
|
-
}>;
|
|
1935
|
-
rowContextMenu: EventEmitter<{
|
|
1936
|
-
row: any;
|
|
1937
|
-
index: number;
|
|
1938
|
-
event: MouseEvent;
|
|
1939
|
-
}>;
|
|
1940
|
-
sortChange: EventEmitter<DasarPivotTableSortEvent>;
|
|
1941
|
-
rowExpandChange: EventEmitter<{
|
|
1942
|
-
row: any;
|
|
1943
|
-
index: number;
|
|
1944
|
-
expanded: boolean;
|
|
1945
|
-
}>;
|
|
1946
|
-
rowHeaders: string[];
|
|
1947
|
-
colHeaders: string[];
|
|
1948
|
-
matrix: Record<string, Record<string, number | null>>;
|
|
1949
|
-
rowTotals: Record<string, number | null>;
|
|
1950
|
-
colTotals: Record<string, number | null>;
|
|
1951
|
-
grandTotal: number | null;
|
|
1952
|
-
expandedRows: Set<string>;
|
|
1953
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
1954
|
-
private buildPivotMatrix;
|
|
1955
|
-
private aggregate;
|
|
1956
|
-
private resetState;
|
|
1957
|
-
handleRowClick(row: string, index: number, event: MouseEvent): void;
|
|
1958
|
-
handleRowDblclick(row: string, index: number, event: MouseEvent): void;
|
|
1959
|
-
handleRowContextMenu(row: string, index: number, event: MouseEvent): void;
|
|
1960
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotTable, never>;
|
|
1961
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DasarPivotTable, "dasar-pivot-table", never, {
|
|
1962
|
-
"data": {
|
|
1963
|
-
"alias": "data";
|
|
1964
|
-
"required": true;
|
|
1965
|
-
};
|
|
1966
|
-
"rowField": {
|
|
1967
|
-
"alias": "rowField";
|
|
1968
|
-
"required": true;
|
|
1969
|
-
};
|
|
1970
|
-
"colField": {
|
|
1971
|
-
"alias": "colField";
|
|
1972
|
-
"required": true;
|
|
1973
|
-
};
|
|
1974
|
-
"valField": {
|
|
1975
|
-
"alias": "valField";
|
|
1976
|
-
"required": false;
|
|
1977
|
-
};
|
|
1978
|
-
"aggregator": {
|
|
1979
|
-
"alias": "aggregator";
|
|
1980
|
-
"required": false;
|
|
1981
|
-
};
|
|
1982
|
-
"rowLabel": {
|
|
1983
|
-
"alias": "rowLabel";
|
|
1984
|
-
"required": false;
|
|
1985
|
-
};
|
|
1986
|
-
"colLabel": {
|
|
1987
|
-
"alias": "colLabel";
|
|
1988
|
-
"required": false;
|
|
1989
|
-
};
|
|
1990
|
-
"showRowTotals": {
|
|
1991
|
-
"alias": "showRowTotals";
|
|
1992
|
-
"required": false;
|
|
1993
|
-
};
|
|
1994
|
-
"showColTotals": {
|
|
1995
|
-
"alias": "showColTotals";
|
|
1996
|
-
"required": false;
|
|
1997
|
-
};
|
|
1998
|
-
"emptyText": {
|
|
1999
|
-
"alias": "emptyText";
|
|
2000
|
-
"required": false;
|
|
2001
|
-
};
|
|
2002
|
-
"appearance": {
|
|
2003
|
-
"alias": "appearance";
|
|
2004
|
-
"required": false;
|
|
2005
|
-
};
|
|
2006
|
-
"spacing": {
|
|
2007
|
-
"alias": "spacing";
|
|
2008
|
-
"required": false;
|
|
2009
|
-
};
|
|
2010
|
-
"size": {
|
|
2011
|
-
"alias": "size";
|
|
2012
|
-
"required": false;
|
|
2013
|
-
};
|
|
2014
|
-
"loading": {
|
|
2015
|
-
"alias": "loading";
|
|
2016
|
-
"required": false;
|
|
2017
|
-
};
|
|
2018
|
-
"emptyTitle": {
|
|
2019
|
-
"alias": "emptyTitle";
|
|
2020
|
-
"required": false;
|
|
2021
|
-
};
|
|
2022
|
-
"emptyDescription": {
|
|
2023
|
-
"alias": "emptyDescription";
|
|
2024
|
-
"required": false;
|
|
2025
|
-
};
|
|
2026
|
-
"loadingText": {
|
|
2027
|
-
"alias": "loadingText";
|
|
2028
|
-
"required": false;
|
|
2029
|
-
};
|
|
2030
|
-
"sortKey": {
|
|
2031
|
-
"alias": "sortKey";
|
|
2032
|
-
"required": false;
|
|
2033
|
-
};
|
|
2034
|
-
"sortDirection": {
|
|
2035
|
-
"alias": "sortDirection";
|
|
2036
|
-
"required": false;
|
|
2037
|
-
};
|
|
2038
|
-
"cellClassFn": {
|
|
2039
|
-
"alias": "cellClassFn";
|
|
2040
|
-
"required": false;
|
|
2041
|
-
};
|
|
2042
|
-
"cellStyleFn": {
|
|
2043
|
-
"alias": "cellStyleFn";
|
|
2044
|
-
"required": false;
|
|
2045
|
-
};
|
|
2046
|
-
}, {
|
|
2047
|
-
"rowClick": "rowClick";
|
|
2048
|
-
"rowDblclick": "rowDblclick";
|
|
2049
|
-
"rowContextMenu": "rowContextMenu";
|
|
2050
|
-
"sortChange": "sortChange";
|
|
2051
|
-
"rowExpandChange": "rowExpandChange";
|
|
2052
|
-
}, ["rowHeaderTemplate", "colHeaderTemplate", "cellTemplate", "providedHeader", "providedBody", "providedEmpty", "providedPagination", "providedExpanded"], never, true, never>;
|
|
2053
|
-
}
|
|
2054
|
-
export declare const DasarPivotTableComponent: readonly [typeof DasarPivotTable, typeof DasarPivotCellTemplate, typeof DasarPivotRowHeaderTemplate, typeof DasarPivotColHeaderTemplate, typeof DasarPivotTableHeaderSlot, typeof DasarPivotTableBodySlot, typeof DasarPivotTableEmptySlot, typeof DasarPivotTablePaginationSlot, typeof DasarPivotTableExpandedSlot];
|
|
2055
|
-
export type DasarCalendarSizeType = Extract<ScaleAttributeType$1, 'sm' | 'md' | 'lg'>;
|
|
2056
|
-
export type DasarCalendarAppearance = 'outline' | 'borderless';
|
|
2302
|
+
export type DasarCalendarSizeType = Extract<ScaleAttributeType, 'sm' | 'md' | 'lg'>;
|
|
2303
|
+
export type DasarCalendarAppearance = 'outline' | 'borderless' | 'elevated';
|
|
2057
2304
|
export type DasarCalendarVariant = 'dashboard' | 'dropdown';
|
|
2058
|
-
export type DasarCalendarRadius = ScaleAttributeType
|
|
2305
|
+
export type DasarCalendarRadius = ScaleAttributeType;
|
|
2059
2306
|
export interface DasarCalendarConfig {
|
|
2060
|
-
appearance?:
|
|
2061
|
-
variant?:
|
|
2307
|
+
appearance?: DasarCalendarAppearance;
|
|
2308
|
+
variant?: DasarCalendarVariant;
|
|
2062
2309
|
size?: DasarCalendarSizeType;
|
|
2063
2310
|
radius?: DasarCalendarRadius;
|
|
2064
2311
|
containerStyle?: StyleType;
|
|
@@ -2128,7 +2375,11 @@ export declare class DasarCalendarFooterSlot {
|
|
|
2128
2375
|
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCalendarFooterSlot, never>;
|
|
2129
2376
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarCalendarFooterSlot, "[calendar-footer-slot]", never, {}, {}, never, never, true, never>;
|
|
2130
2377
|
}
|
|
2131
|
-
export declare class DasarCalendar implements OnInit, OnChanges, ControlValueAccessor {
|
|
2378
|
+
export declare class DasarCalendar implements OnInit, OnChanges, AfterViewInit, ControlValueAccessor {
|
|
2379
|
+
private set ngpDatePickerRef(value);
|
|
2380
|
+
private ngpDatePicker?;
|
|
2381
|
+
private set ngpDateRangePickerRef(value);
|
|
2382
|
+
private ngpDateRangePicker?;
|
|
2132
2383
|
prevMonthTemplate?: DasarCalendarPrevMonthTemplate;
|
|
2133
2384
|
nextMonthTemplate?: DasarCalendarNextMonthTemplate;
|
|
2134
2385
|
prevYearTemplate?: DasarCalendarPrevYearTemplate;
|
|
@@ -2143,9 +2394,9 @@ export declare class DasarCalendar implements OnInit, OnChanges, ControlValueAcc
|
|
|
2143
2394
|
size: NonNullable<import("dasar-ui").DasarSelectSizeType | undefined>;
|
|
2144
2395
|
weekdayFormat: string;
|
|
2145
2396
|
locale: string;
|
|
2146
|
-
appearance: NonNullable<
|
|
2147
|
-
variant: NonNullable<
|
|
2148
|
-
radius: NonNullable<ScaleAttributeType
|
|
2397
|
+
appearance: NonNullable<DasarCalendarAppearance | undefined>;
|
|
2398
|
+
variant: NonNullable<DasarCalendarVariant | undefined>;
|
|
2399
|
+
radius: NonNullable<ScaleAttributeType | undefined>;
|
|
2149
2400
|
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
2150
2401
|
containerClass: NonNullable<ClassType> | null;
|
|
2151
2402
|
headerClass: NonNullable<ClassType> | null;
|
|
@@ -2155,6 +2406,13 @@ export declare class DasarCalendar implements OnInit, OnChanges, ControlValueAcc
|
|
|
2155
2406
|
fullWidth: NonNullable<boolean | undefined>;
|
|
2156
2407
|
hideFullDate: NonNullable<boolean | undefined>;
|
|
2157
2408
|
range: NonNullable<boolean | undefined>;
|
|
2409
|
+
min?: Date;
|
|
2410
|
+
max?: Date;
|
|
2411
|
+
dateDisabled: (date: Date) => boolean;
|
|
2412
|
+
agendaItems: {
|
|
2413
|
+
title: string;
|
|
2414
|
+
time: string;
|
|
2415
|
+
}[];
|
|
2158
2416
|
onMonthChange: EventEmitter<Date>;
|
|
2159
2417
|
onYearChange: EventEmitter<Date>;
|
|
2160
2418
|
onPrevMonthClick: EventEmitter<Date>;
|
|
@@ -2168,8 +2426,11 @@ export declare class DasarCalendar implements OnInit, OnChanges, ControlValueAcc
|
|
|
2168
2426
|
private cdr;
|
|
2169
2427
|
weekdays: string[];
|
|
2170
2428
|
viewMode: 'days' | 'months' | 'years';
|
|
2171
|
-
|
|
2172
|
-
|
|
2429
|
+
private _decadeStart;
|
|
2430
|
+
private _currentViewDate;
|
|
2431
|
+
get currentViewDate(): Date;
|
|
2432
|
+
set currentViewDate(val: Date);
|
|
2433
|
+
get calendarDays(): CalendarDay[];
|
|
2173
2434
|
onTouched: any;
|
|
2174
2435
|
onChange: any;
|
|
2175
2436
|
get value(): Date | null;
|
|
@@ -2180,15 +2441,20 @@ export declare class DasarCalendar implements OnInit, OnChanges, ControlValueAcc
|
|
|
2180
2441
|
set rangeValue(val: DasarCalendarRange | null | undefined);
|
|
2181
2442
|
rangeValueChange: EventEmitter<DasarCalendarRange>;
|
|
2182
2443
|
ngOnInit(): void;
|
|
2444
|
+
ngAfterViewInit(): void;
|
|
2183
2445
|
ngOnChanges(): void;
|
|
2184
2446
|
get currentMonthYear(): string;
|
|
2185
2447
|
get monthsList(): {
|
|
2186
2448
|
name: string;
|
|
2187
2449
|
index: number;
|
|
2188
2450
|
}[];
|
|
2451
|
+
get decadeStart(): number;
|
|
2452
|
+
get decadeLabel(): string;
|
|
2189
2453
|
get yearsList(): number[];
|
|
2190
2454
|
get localizedDropdownWeekdays(): string[];
|
|
2191
2455
|
toggleViewMode(): void;
|
|
2456
|
+
changeViewYear(direction: 1 | -1, event: Event): void;
|
|
2457
|
+
changeDecade(direction: 1 | -1, event: Event): void;
|
|
2192
2458
|
selectMonth(monthIndex: number, event: Event): void;
|
|
2193
2459
|
selectYear(year: number, event: Event): void;
|
|
2194
2460
|
writeValue(value: any): void;
|
|
@@ -2196,13 +2462,34 @@ export declare class DasarCalendar implements OnInit, OnChanges, ControlValueAcc
|
|
|
2196
2462
|
registerOnTouched(fn: any): void;
|
|
2197
2463
|
setDisabledState(isDisabled: boolean): void;
|
|
2198
2464
|
getTimeSafe(date: Date | null): number | null;
|
|
2465
|
+
constructor();
|
|
2466
|
+
private syncPrimitiveState;
|
|
2467
|
+
private syncFocusedDateToPrimitive;
|
|
2468
|
+
private syncSinglePrimitiveState;
|
|
2469
|
+
private syncRangePrimitiveState;
|
|
2470
|
+
onNgpFocusedDateChange(date: Date): void;
|
|
2471
|
+
onNgpSingleDateChange(date: Date | undefined): void;
|
|
2472
|
+
onCellClick(date: Date, isCellDisabled: boolean, event: MouseEvent): void;
|
|
2473
|
+
private skipNextRangeEnd;
|
|
2474
|
+
onNgpRangeStartChange(date: Date | undefined): void;
|
|
2475
|
+
onNgpRangeEndChange(date: Date | undefined): void;
|
|
2476
|
+
private handleRangeSelection;
|
|
2477
|
+
onGridKeydown(event: KeyboardEvent): void;
|
|
2478
|
+
isFirstRowDate(date: Date): boolean;
|
|
2479
|
+
formatWeekday(date: Date): string;
|
|
2480
|
+
formatFullDate(date: Date): string;
|
|
2481
|
+
isCurrentMonthDate(date: Date): boolean;
|
|
2482
|
+
isTodayDate(date: Date): boolean;
|
|
2483
|
+
isSelectedDate(date: Date): boolean;
|
|
2484
|
+
isRangeStartDate(date: Date): boolean;
|
|
2485
|
+
isRangeEndDate(date: Date): boolean;
|
|
2486
|
+
isInRangeDate(date: Date): boolean;
|
|
2199
2487
|
changeMonth(offset: number, event?: Event): void;
|
|
2200
2488
|
changeYear(offset: number, event?: Event): void;
|
|
2201
2489
|
goToToday(event?: Event): void;
|
|
2202
2490
|
selectDate(day: CalendarDay, event: Event): void;
|
|
2203
2491
|
private selectRangeDate;
|
|
2204
2492
|
generateCalendar(): void;
|
|
2205
|
-
private createCalendarDay;
|
|
2206
2493
|
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCalendar, never>;
|
|
2207
2494
|
static ɵcmp: i0.ɵɵComponentDeclaration<DasarCalendar, "dasar-calendar", never, {
|
|
2208
2495
|
"headerFormat": {
|
|
@@ -2273,6 +2560,22 @@ export declare class DasarCalendar implements OnInit, OnChanges, ControlValueAcc
|
|
|
2273
2560
|
"alias": "range";
|
|
2274
2561
|
"required": false;
|
|
2275
2562
|
};
|
|
2563
|
+
"min": {
|
|
2564
|
+
"alias": "min";
|
|
2565
|
+
"required": false;
|
|
2566
|
+
};
|
|
2567
|
+
"max": {
|
|
2568
|
+
"alias": "max";
|
|
2569
|
+
"required": false;
|
|
2570
|
+
};
|
|
2571
|
+
"dateDisabled": {
|
|
2572
|
+
"alias": "dateDisabled";
|
|
2573
|
+
"required": false;
|
|
2574
|
+
};
|
|
2575
|
+
"agendaItems": {
|
|
2576
|
+
"alias": "agendaItems";
|
|
2577
|
+
"required": false;
|
|
2578
|
+
};
|
|
2276
2579
|
"value": {
|
|
2277
2580
|
"alias": "value";
|
|
2278
2581
|
"required": false;
|
|
@@ -2299,11 +2602,11 @@ export declare class DasarCalendar implements OnInit, OnChanges, ControlValueAcc
|
|
|
2299
2602
|
static ngAcceptInputType_range: unknown;
|
|
2300
2603
|
}
|
|
2301
2604
|
export declare const DasarCalendarComponent: readonly [typeof DasarCalendar, typeof DasarCalendarFooterSlot, typeof DasarCalendarHeaderTemplate, typeof DasarCalendarPrevYearTemplate, typeof DasarCalendarPrevMonthTemplate, typeof DasarCalendarTodayTemplate, typeof DasarCalendarNextMonthTemplate, typeof DasarCalendarNextYearTemplate];
|
|
2605
|
+
export type DasarDatepickerSize = Extract<ScaleAttributeType, 'sm' | 'md' | 'lg'>;
|
|
2606
|
+
export type DasarDatepickerAppearance = 'outline' | 'filled' | 'subtle' | 'elevated';
|
|
2607
|
+
export type DasarDatepickerType = 'date' | 'datetime' | 'time';
|
|
2302
2608
|
export type DasarDatepickerPlacement = DasarPanelPlacement;
|
|
2303
|
-
export type
|
|
2304
|
-
export type DasarDatepickerAppearance = 'outline' | 'filled' | 'subtle';
|
|
2305
|
-
export type DasarDatepickerRadius = ScaleAttributeType$1;
|
|
2306
|
-
export type DasarDatepickerType = 'date';
|
|
2609
|
+
export type DasarDatepickerRadius = ScaleAttributeType;
|
|
2307
2610
|
export interface DasarDatepickerConfig {
|
|
2308
2611
|
fullWidth?: boolean;
|
|
2309
2612
|
clearable?: boolean;
|
|
@@ -2313,6 +2616,8 @@ export interface DasarDatepickerConfig {
|
|
|
2313
2616
|
range?: boolean;
|
|
2314
2617
|
displayFormat?: string;
|
|
2315
2618
|
valueFormat?: string;
|
|
2619
|
+
showSeconds?: boolean;
|
|
2620
|
+
timeFormat?: '12' | '24';
|
|
2316
2621
|
placement?: DasarDatepickerPlacement;
|
|
2317
2622
|
appearance?: DasarDatepickerAppearance;
|
|
2318
2623
|
extraLabel?: string;
|
|
@@ -2373,19 +2678,24 @@ export declare class DasarDatepicker implements OnInit, ControlValueAccessor {
|
|
|
2373
2678
|
prefixSlot?: DasarDatepickerPrefixSlot;
|
|
2374
2679
|
triggerEl?: ElementRef<HTMLElement>;
|
|
2375
2680
|
dropdownEl?: ElementRef<HTMLElement>;
|
|
2681
|
+
private dropdownOrigin;
|
|
2682
|
+
private portalTokenProperties;
|
|
2683
|
+
private originalPanelFontFamily;
|
|
2376
2684
|
private stopWatchingPanel;
|
|
2377
2685
|
private readonly watchPanelCleanup;
|
|
2378
2686
|
set dropdownElRef(ref: ElementRef<HTMLElement> | undefined);
|
|
2379
2687
|
displayFormat: string;
|
|
2380
2688
|
valueFormat: string;
|
|
2689
|
+
showSeconds: NonNullable<boolean | undefined>;
|
|
2690
|
+
timeFormat: '12' | '24';
|
|
2381
2691
|
locale: string;
|
|
2382
2692
|
private _placement;
|
|
2383
2693
|
set placement(value: DasarDatepickerPlacement);
|
|
2384
2694
|
get placement(): DasarDatepickerPlacement;
|
|
2385
2695
|
currentPlacement: DasarDatepickerPlacement;
|
|
2386
2696
|
appearance: NonNullable<DasarDatepickerAppearance | undefined>;
|
|
2387
|
-
radius: NonNullable<ScaleAttributeType
|
|
2388
|
-
type:
|
|
2697
|
+
radius: NonNullable<ScaleAttributeType | undefined>;
|
|
2698
|
+
type: NonNullable<DasarDatepickerType | undefined>;
|
|
2389
2699
|
size: NonNullable<DasarDatepickerSize | undefined>;
|
|
2390
2700
|
placeholder: string;
|
|
2391
2701
|
label: string | undefined;
|
|
@@ -2429,8 +2739,14 @@ export declare class DasarDatepicker implements OnInit, ControlValueAccessor {
|
|
|
2429
2739
|
private _value;
|
|
2430
2740
|
internalDate: Date | null;
|
|
2431
2741
|
internalRange: DasarCalendarRange;
|
|
2432
|
-
|
|
2742
|
+
private _isOpen;
|
|
2743
|
+
get isOpen(): boolean;
|
|
2744
|
+
set isOpen(open: boolean);
|
|
2433
2745
|
private isFocused;
|
|
2746
|
+
timeHours: number;
|
|
2747
|
+
timeMinutes: number;
|
|
2748
|
+
timeSeconds: number;
|
|
2749
|
+
timeMeridiem: 'AM' | 'PM';
|
|
2434
2750
|
get value(): any;
|
|
2435
2751
|
set value(val: any);
|
|
2436
2752
|
onTouched: any;
|
|
@@ -2451,6 +2767,22 @@ export declare class DasarDatepicker implements OnInit, ControlValueAccessor {
|
|
|
2451
2767
|
private syncInternalDate;
|
|
2452
2768
|
private setFocus;
|
|
2453
2769
|
get iconSize(): number;
|
|
2770
|
+
get displayHours(): number;
|
|
2771
|
+
get showTimeSection(): boolean;
|
|
2772
|
+
get showCalendar(): boolean;
|
|
2773
|
+
get modalTitle(): string;
|
|
2774
|
+
private get timeValueFormat();
|
|
2775
|
+
private parseTimeValue;
|
|
2776
|
+
private formatTimeFallback;
|
|
2777
|
+
get showSecondsSection(): boolean;
|
|
2778
|
+
get showMeridiemToggle(): boolean;
|
|
2779
|
+
onHoursChange(value: number | null): void;
|
|
2780
|
+
onMinutesChange(value: number | null): void;
|
|
2781
|
+
onSecondsChange(value: number | null): void;
|
|
2782
|
+
onMeridiemToggle(value: 'AM' | 'PM'): void;
|
|
2783
|
+
confirmDateTime(): void;
|
|
2784
|
+
selectToday(): void;
|
|
2785
|
+
mergeTimeIntoInternalDate(): void;
|
|
2454
2786
|
toggleDropdown(event: Event): void;
|
|
2455
2787
|
private viewportListener;
|
|
2456
2788
|
clearValue(event: Event): void;
|
|
@@ -2458,6 +2790,9 @@ export declare class DasarDatepicker implements OnInit, ControlValueAccessor {
|
|
|
2458
2790
|
onCalendarSelect(date: Date | null): void;
|
|
2459
2791
|
private formatReturnValue;
|
|
2460
2792
|
private calculateSmartPlacement;
|
|
2793
|
+
private portalDropdownIfNeeded;
|
|
2794
|
+
private inheritThemeProperties;
|
|
2795
|
+
private restoreDropdown;
|
|
2461
2796
|
static ɵfac: i0.ɵɵFactoryDeclaration<DasarDatepicker, never>;
|
|
2462
2797
|
static ɵcmp: i0.ɵɵComponentDeclaration<DasarDatepicker, "dasar-datepicker", never, {
|
|
2463
2798
|
"displayFormat": {
|
|
@@ -2468,6 +2803,14 @@ export declare class DasarDatepicker implements OnInit, ControlValueAccessor {
|
|
|
2468
2803
|
"alias": "value-format";
|
|
2469
2804
|
"required": false;
|
|
2470
2805
|
};
|
|
2806
|
+
"showSeconds": {
|
|
2807
|
+
"alias": "show-seconds";
|
|
2808
|
+
"required": false;
|
|
2809
|
+
};
|
|
2810
|
+
"timeFormat": {
|
|
2811
|
+
"alias": "time-format";
|
|
2812
|
+
"required": false;
|
|
2813
|
+
};
|
|
2471
2814
|
"locale": {
|
|
2472
2815
|
"alias": "locale";
|
|
2473
2816
|
"required": false;
|
|
@@ -2599,6 +2942,7 @@ export declare class DasarDatepicker implements OnInit, ControlValueAccessor {
|
|
|
2599
2942
|
"onFocus": "onFocus";
|
|
2600
2943
|
"onBlur": "onBlur";
|
|
2601
2944
|
}, ["extraHeaderSlot", "extraFooterSlot", "extraLabelSlot", "labelSlot", "hintSlot", "prefixSlot"], ["[label-slot]", "[extra-label-slot]", "[prefix-slot]", "[extra-footer-slot]", "[hint-slot]"], true, never>;
|
|
2945
|
+
static ngAcceptInputType_showSeconds: unknown;
|
|
2602
2946
|
static ngAcceptInputType_fullWidth: unknown;
|
|
2603
2947
|
static ngAcceptInputType_clearable: unknown;
|
|
2604
2948
|
static ngAcceptInputType_disabled: unknown;
|
|
@@ -2607,7 +2951,7 @@ export declare class DasarDatepicker implements OnInit, ControlValueAccessor {
|
|
|
2607
2951
|
static ngAcceptInputType_error: unknown;
|
|
2608
2952
|
}
|
|
2609
2953
|
export declare const DasarDatepickerComponent: readonly [typeof DasarDatepicker, typeof DasarDatepickerHintSlot, typeof DasarDatepickerLabelSlot, typeof DasarDatepickerExtraLabelSlot, typeof DasarDatepickerExtraHeaderSlot, typeof DasarDatepickerExtraFooterSlot, typeof DasarDatepickerPrefixSlot];
|
|
2610
|
-
export type DasarIconSizeType = ScaleAttributeType
|
|
2954
|
+
export type DasarIconSizeType = ScaleAttributeType | number;
|
|
2611
2955
|
export interface DasarIconConfig {
|
|
2612
2956
|
size?: DasarIconSizeType;
|
|
2613
2957
|
stroke?: number;
|
|
@@ -2655,15 +2999,15 @@ export declare class DasarIcon implements OnInit {
|
|
|
2655
2999
|
static ngAcceptInputType_fluid: unknown;
|
|
2656
3000
|
}
|
|
2657
3001
|
export declare const DasarIconComponent: readonly [typeof DasarIcon];
|
|
2658
|
-
export type DasarCardSize = Extract<ScaleAttributeType
|
|
3002
|
+
export type DasarCardSize = Extract<ScaleAttributeType, 'sm' | 'md' | 'lg'>;
|
|
2659
3003
|
export type DasarCardAppearance = 'outline' | 'borderless' | 'elevated';
|
|
2660
3004
|
export type DasarCardSpacing = 'normal' | 'compact';
|
|
2661
|
-
export type DasarCardRadius = ScaleAttributeType
|
|
3005
|
+
export type DasarCardRadius = ScaleAttributeType;
|
|
2662
3006
|
export interface DasarCardConfig {
|
|
2663
3007
|
appearance?: 'outline' | 'borderless' | 'elevated';
|
|
2664
3008
|
spacing?: 'normal' | 'compact';
|
|
2665
|
-
radius?: ScaleAttributeType
|
|
2666
|
-
size?: Extract<ScaleAttributeType
|
|
3009
|
+
radius?: ScaleAttributeType;
|
|
3010
|
+
size?: Extract<ScaleAttributeType, 'sm' | 'md' | 'lg'>;
|
|
2667
3011
|
label?: string;
|
|
2668
3012
|
contentHeaderStyle?: StyleType;
|
|
2669
3013
|
extraHeaderStyle?: StyleType;
|
|
@@ -2713,9 +3057,9 @@ export declare class DasarCard {
|
|
|
2713
3057
|
private themeService;
|
|
2714
3058
|
private cdr;
|
|
2715
3059
|
isClosed: import("@angular/core").WritableSignal<boolean>;
|
|
2716
|
-
appearance: NonNullable<"outline" | "
|
|
3060
|
+
appearance: NonNullable<"outline" | "elevated" | "borderless" | undefined>;
|
|
2717
3061
|
spacing: NonNullable<"compact" | "normal" | undefined>;
|
|
2718
|
-
radius: NonNullable<ScaleAttributeType
|
|
3062
|
+
radius: NonNullable<ScaleAttributeType | undefined>;
|
|
2719
3063
|
size: NonNullable<"sm" | "md" | "lg" | undefined>;
|
|
2720
3064
|
label: string | undefined;
|
|
2721
3065
|
contentHeaderStyle: NonNullable<StyleType | undefined> | null;
|
|
@@ -2908,8 +3252,8 @@ export interface DasarListItemConfig {
|
|
|
2908
3252
|
itemClass?: ClassType;
|
|
2909
3253
|
itemStyle?: StyleType;
|
|
2910
3254
|
}
|
|
2911
|
-
export type DasarListSize = Extract<ScaleAttributeType
|
|
2912
|
-
export type DasarListRadiusType = ScaleAttributeType
|
|
3255
|
+
export type DasarListSize = Extract<ScaleAttributeType, 'sm' | 'md' | 'lg'>;
|
|
3256
|
+
export type DasarListRadiusType = ScaleAttributeType;
|
|
2913
3257
|
export declare const DASAR_LIST: InjectionToken<any>;
|
|
2914
3258
|
export declare class DasarListHeaderSlot {
|
|
2915
3259
|
static ɵfac: i0.ɵɵFactoryDeclaration<DasarListHeaderSlot, never>;
|
|
@@ -3127,7 +3471,7 @@ export declare class DasarList implements ControlValueAccessor {
|
|
|
3127
3471
|
}
|
|
3128
3472
|
export declare const DasarListComponent: readonly [typeof DasarListHeaderSlot, typeof DasarListFooterSlot, typeof DasarListItemPrefixSlot, typeof DasarListItemSuffixSlot, typeof DasarList, typeof DasarListItem];
|
|
3129
3473
|
export type DasarDividerLabelPlacementType = 'left' | 'center' | 'right';
|
|
3130
|
-
export type DasarDividerSpacingType = ScaleAttributeType
|
|
3474
|
+
export type DasarDividerSpacingType = ScaleAttributeType;
|
|
3131
3475
|
export interface DasarDividerConfig {
|
|
3132
3476
|
dashed?: boolean;
|
|
3133
3477
|
vertical?: boolean;
|
|
@@ -3150,7 +3494,7 @@ export declare class DasarDivider {
|
|
|
3150
3494
|
vertical: NonNullable<boolean | undefined>;
|
|
3151
3495
|
label: string | null;
|
|
3152
3496
|
labelPlacement: NonNullable<DasarDividerLabelPlacementType | undefined>;
|
|
3153
|
-
spacing: NonNullable<ScaleAttributeType
|
|
3497
|
+
spacing: NonNullable<ScaleAttributeType | undefined>;
|
|
3154
3498
|
containerClass: NonNullable<ClassType> | null;
|
|
3155
3499
|
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
3156
3500
|
labelClass: NonNullable<ClassType> | null;
|
|
@@ -3206,8 +3550,10 @@ export declare class DasarDivider {
|
|
|
3206
3550
|
}
|
|
3207
3551
|
export declare const DasarDividerComponent: readonly [typeof DasarDivider, typeof DasarDividerLabelTemplate];
|
|
3208
3552
|
export type DasarAlertVariantType = 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
|
|
3209
|
-
export type DasarAlertRadiusType = ScaleAttributeType
|
|
3553
|
+
export type DasarAlertRadiusType = ScaleAttributeType;
|
|
3554
|
+
export type DasarAlertAppearanceType = 'outline' | 'borderless' | 'elevated';
|
|
3210
3555
|
export interface DasarAlertConfig {
|
|
3556
|
+
appearance?: DasarAlertAppearanceType;
|
|
3211
3557
|
variant?: DasarAlertVariantType;
|
|
3212
3558
|
radius?: DasarAlertRadiusType;
|
|
3213
3559
|
bordered?: boolean;
|
|
@@ -3239,6 +3585,7 @@ export declare class DasarAlert implements OnDestroy {
|
|
|
3239
3585
|
private leaveTimer;
|
|
3240
3586
|
protected shown: import("@angular/core").WritableSignal<boolean>;
|
|
3241
3587
|
protected leaving: import("@angular/core").WritableSignal<boolean>;
|
|
3588
|
+
appearance: NonNullable<DasarAlertAppearanceType | undefined>;
|
|
3242
3589
|
variant: NonNullable<DasarAlertVariantType | undefined>;
|
|
3243
3590
|
bordered: NonNullable<boolean | undefined>;
|
|
3244
3591
|
radius: DasarAlertRadiusType;
|
|
@@ -3274,6 +3621,10 @@ export declare class DasarAlert implements OnDestroy {
|
|
|
3274
3621
|
ngOnDestroy(): void;
|
|
3275
3622
|
static ɵfac: i0.ɵɵFactoryDeclaration<DasarAlert, never>;
|
|
3276
3623
|
static ɵcmp: i0.ɵɵComponentDeclaration<DasarAlert, "dasar-alert", never, {
|
|
3624
|
+
"appearance": {
|
|
3625
|
+
"alias": "appearance";
|
|
3626
|
+
"required": false;
|
|
3627
|
+
};
|
|
3277
3628
|
"variant": {
|
|
3278
3629
|
"alias": "variant";
|
|
3279
3630
|
"required": false;
|
|
@@ -3340,15 +3691,18 @@ export declare class DasarAlert implements OnDestroy {
|
|
|
3340
3691
|
static ngAcceptInputType_visible: unknown;
|
|
3341
3692
|
}
|
|
3342
3693
|
export declare const DasarAlertComponent: readonly [typeof DasarAlert, typeof DasarAlertHeaderSlot, typeof DasarAlertIconSlot, typeof DasarAlertCloseableSlot];
|
|
3343
|
-
export type DasarCheckboxSizeType = Extract<ScaleAttributeType
|
|
3694
|
+
export type DasarCheckboxSizeType = Extract<ScaleAttributeType, 'sm' | 'md' | 'lg'>;
|
|
3695
|
+
export type DasarCheckboxAppearanceType = 'outline' | 'filled' | 'elevated';
|
|
3344
3696
|
export interface DasarCheckboxGroupState {
|
|
3345
3697
|
checked: boolean;
|
|
3346
3698
|
disabled: boolean;
|
|
3347
3699
|
error?: boolean;
|
|
3348
3700
|
size?: DasarCheckboxSizeType | null;
|
|
3701
|
+
appearance?: DasarCheckboxAppearanceType;
|
|
3349
3702
|
}
|
|
3350
3703
|
export interface DasarCheckboxConfig {
|
|
3351
3704
|
size?: DasarCheckboxSizeType;
|
|
3705
|
+
appearance?: DasarCheckboxAppearanceType;
|
|
3352
3706
|
disabled?: boolean;
|
|
3353
3707
|
error?: boolean;
|
|
3354
3708
|
hint?: string;
|
|
@@ -3373,8 +3727,10 @@ export declare class DasarCheckbox implements ControlValueAccessor {
|
|
|
3373
3727
|
private ownValue;
|
|
3374
3728
|
private ownDisabled;
|
|
3375
3729
|
private groupState;
|
|
3730
|
+
private ngpCheckbox;
|
|
3376
3731
|
onTouched: () => void;
|
|
3377
3732
|
onChange: (value: any) => void;
|
|
3733
|
+
appearance: DasarCheckboxAppearanceType;
|
|
3378
3734
|
size: NonNullable<DasarCheckboxSizeType | undefined>;
|
|
3379
3735
|
label: string;
|
|
3380
3736
|
hint: string;
|
|
@@ -3399,6 +3755,7 @@ export declare class DasarCheckbox implements ControlValueAccessor {
|
|
|
3399
3755
|
onUpdate: EventEmitter<any>;
|
|
3400
3756
|
get hostClasses(): string;
|
|
3401
3757
|
get currentSize(): DasarCheckboxSizeType;
|
|
3758
|
+
get currentAppearance(): DasarCheckboxAppearanceType;
|
|
3402
3759
|
get hasError(): boolean;
|
|
3403
3760
|
get isDisabled(): boolean;
|
|
3404
3761
|
get isChecked(): boolean;
|
|
@@ -3407,13 +3764,18 @@ export declare class DasarCheckbox implements ControlValueAccessor {
|
|
|
3407
3764
|
get labelClasses(): Record<string, boolean>;
|
|
3408
3765
|
get hintClasses(): Record<string, boolean>;
|
|
3409
3766
|
applyGroupState(state: DasarCheckboxGroupState | null, toggle: ((cb: DasarCheckbox) => void) | null): void;
|
|
3410
|
-
|
|
3767
|
+
onIndeterminateChange(value: boolean): void;
|
|
3768
|
+
toggle(event?: any): void;
|
|
3411
3769
|
writeValue(value: any): void;
|
|
3412
3770
|
registerOnChange(fn: any): void;
|
|
3413
3771
|
registerOnTouched(fn: any): void;
|
|
3414
3772
|
setDisabledState(isDisabled: boolean): void;
|
|
3415
3773
|
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCheckbox, never>;
|
|
3416
3774
|
static ɵcmp: i0.ɵɵComponentDeclaration<DasarCheckbox, "dasar-checkbox", never, {
|
|
3775
|
+
"appearance": {
|
|
3776
|
+
"alias": "appearance";
|
|
3777
|
+
"required": false;
|
|
3778
|
+
};
|
|
3417
3779
|
"size": {
|
|
3418
3780
|
"alias": "size";
|
|
3419
3781
|
"required": false;
|
|
@@ -3491,9 +3853,125 @@ export declare class DasarCheckbox implements ControlValueAccessor {
|
|
|
3491
3853
|
static ngAcceptInputType_indeterminate: unknown;
|
|
3492
3854
|
}
|
|
3493
3855
|
export declare const DasarCheckboxComponent: readonly [typeof DasarCheckbox];
|
|
3494
|
-
export type
|
|
3495
|
-
export interface
|
|
3856
|
+
export type DasarCheckboxGroupDirectionType = 'horizontal' | 'vertical';
|
|
3857
|
+
export interface DasarCheckboxGroupConfig {
|
|
3858
|
+
direction?: DasarCheckboxGroupDirectionType;
|
|
3859
|
+
appearance?: DasarCheckboxAppearanceType;
|
|
3860
|
+
size?: DasarCheckboxSizeType | null;
|
|
3861
|
+
disabled?: boolean;
|
|
3862
|
+
error?: boolean;
|
|
3863
|
+
hint?: string;
|
|
3864
|
+
valueField?: string | null;
|
|
3865
|
+
containerClass?: ClassType;
|
|
3866
|
+
containerStyle?: StyleType;
|
|
3867
|
+
hintClass?: ClassType;
|
|
3868
|
+
hintStyle?: StyleType;
|
|
3869
|
+
}
|
|
3870
|
+
export declare class DasarCheckboxGroup implements ControlValueAccessor {
|
|
3871
|
+
private themeProvider;
|
|
3872
|
+
private themeService;
|
|
3873
|
+
private checkboxes;
|
|
3874
|
+
private ownDisabled;
|
|
3875
|
+
private ownError;
|
|
3876
|
+
private ownSize;
|
|
3877
|
+
private values;
|
|
3878
|
+
onTouched: () => void;
|
|
3879
|
+
onChange: (value: any[]) => void;
|
|
3880
|
+
constructor();
|
|
3881
|
+
direction: NonNullable<DasarCheckboxGroupDirectionType | undefined>;
|
|
3882
|
+
appearance: NonNullable<DasarCheckboxAppearanceType | undefined>;
|
|
3883
|
+
set size(value: DasarCheckboxSizeType | null);
|
|
3884
|
+
get size(): DasarCheckboxSizeType | null;
|
|
3885
|
+
set disabled(value: boolean);
|
|
3886
|
+
get disabled(): boolean;
|
|
3887
|
+
set error(value: boolean);
|
|
3888
|
+
get error(): boolean;
|
|
3889
|
+
hint: string;
|
|
3890
|
+
valueField: string | null;
|
|
3891
|
+
set value(val: any);
|
|
3892
|
+
get value(): any[];
|
|
3893
|
+
containerClass: NonNullable<ClassType> | null;
|
|
3894
|
+
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
3895
|
+
hintClass: NonNullable<ClassType> | null;
|
|
3896
|
+
hintStyle: NonNullable<StyleType | undefined> | null;
|
|
3897
|
+
readonly hintId: string;
|
|
3898
|
+
valueChange: EventEmitter<any[]>;
|
|
3899
|
+
onUpdate: EventEmitter<any[]>;
|
|
3900
|
+
get hostClasses(): string;
|
|
3901
|
+
get role(): string;
|
|
3902
|
+
get describedBy(): string | null;
|
|
3903
|
+
onFocusOut(): void;
|
|
3904
|
+
get hintClasses(): Record<string, boolean>;
|
|
3905
|
+
get containerClasses(): Record<string, boolean>;
|
|
3906
|
+
private toggleChild;
|
|
3907
|
+
writeValue(value: any): void;
|
|
3908
|
+
registerOnChange(fn: any): void;
|
|
3909
|
+
registerOnTouched(fn: any): void;
|
|
3910
|
+
setDisabledState(isDisabled: boolean): void;
|
|
3911
|
+
ngOnDestroy(): void;
|
|
3912
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCheckboxGroup, never>;
|
|
3913
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarCheckboxGroup, "dasar-checkbox-group", never, {
|
|
3914
|
+
"direction": {
|
|
3915
|
+
"alias": "direction";
|
|
3916
|
+
"required": false;
|
|
3917
|
+
};
|
|
3918
|
+
"appearance": {
|
|
3919
|
+
"alias": "appearance";
|
|
3920
|
+
"required": false;
|
|
3921
|
+
};
|
|
3922
|
+
"size": {
|
|
3923
|
+
"alias": "size";
|
|
3924
|
+
"required": false;
|
|
3925
|
+
};
|
|
3926
|
+
"disabled": {
|
|
3927
|
+
"alias": "disabled";
|
|
3928
|
+
"required": false;
|
|
3929
|
+
};
|
|
3930
|
+
"error": {
|
|
3931
|
+
"alias": "error";
|
|
3932
|
+
"required": false;
|
|
3933
|
+
};
|
|
3934
|
+
"hint": {
|
|
3935
|
+
"alias": "hint";
|
|
3936
|
+
"required": false;
|
|
3937
|
+
};
|
|
3938
|
+
"valueField": {
|
|
3939
|
+
"alias": "value-field";
|
|
3940
|
+
"required": false;
|
|
3941
|
+
};
|
|
3942
|
+
"value": {
|
|
3943
|
+
"alias": "value";
|
|
3944
|
+
"required": false;
|
|
3945
|
+
};
|
|
3946
|
+
"containerClass": {
|
|
3947
|
+
"alias": "container-class";
|
|
3948
|
+
"required": false;
|
|
3949
|
+
};
|
|
3950
|
+
"containerStyle": {
|
|
3951
|
+
"alias": "container-style";
|
|
3952
|
+
"required": false;
|
|
3953
|
+
};
|
|
3954
|
+
"hintClass": {
|
|
3955
|
+
"alias": "hint-class";
|
|
3956
|
+
"required": false;
|
|
3957
|
+
};
|
|
3958
|
+
"hintStyle": {
|
|
3959
|
+
"alias": "hint-style";
|
|
3960
|
+
"required": false;
|
|
3961
|
+
};
|
|
3962
|
+
}, {
|
|
3963
|
+
"valueChange": "valueChange";
|
|
3964
|
+
"onUpdate": "onUpdate";
|
|
3965
|
+
}, ["checkboxes"], ["*"], true, never>;
|
|
3966
|
+
static ngAcceptInputType_disabled: unknown;
|
|
3967
|
+
static ngAcceptInputType_error: unknown;
|
|
3968
|
+
}
|
|
3969
|
+
export declare const DasarCheckboxGroupComponent: readonly [typeof DasarCheckboxGroup];
|
|
3970
|
+
export type DasarSwitchSizeType = Extract<ScaleAttributeType, 'sm' | 'md' | 'lg'>;
|
|
3971
|
+
type DasarSwitchAppearanceType$1 = 'outline' | 'filled' | 'elevated';
|
|
3972
|
+
interface DasarSwitchConfig$1 {
|
|
3496
3973
|
size?: DasarSwitchSizeType;
|
|
3974
|
+
appearance?: DasarSwitchAppearanceType$1;
|
|
3497
3975
|
disabled?: boolean;
|
|
3498
3976
|
error?: boolean;
|
|
3499
3977
|
checkedValue?: any;
|
|
@@ -3543,6 +4021,7 @@ export declare class DasarSwitch implements ControlValueAccessor, OnInit {
|
|
|
3543
4021
|
private valueBound;
|
|
3544
4022
|
onTouched: () => void;
|
|
3545
4023
|
onChange: (value: any) => void;
|
|
4024
|
+
appearance: DasarSwitchAppearanceType$1;
|
|
3546
4025
|
size: NonNullable<DasarSwitchSizeType | undefined>;
|
|
3547
4026
|
error: NonNullable<boolean | undefined>;
|
|
3548
4027
|
set disabled(value: boolean);
|
|
@@ -3573,7 +4052,7 @@ export declare class DasarSwitch implements ControlValueAccessor, OnInit {
|
|
|
3573
4052
|
get hintClasses(): Record<string, boolean>;
|
|
3574
4053
|
get trackClasses(): Record<string, boolean>;
|
|
3575
4054
|
ngOnInit(): void;
|
|
3576
|
-
toggle(event?:
|
|
4055
|
+
toggle(event?: any): void;
|
|
3577
4056
|
onKeydown(event: KeyboardEvent): void;
|
|
3578
4057
|
writeValue(value: any): void;
|
|
3579
4058
|
registerOnChange(fn: any): void;
|
|
@@ -3581,6 +4060,10 @@ export declare class DasarSwitch implements ControlValueAccessor, OnInit {
|
|
|
3581
4060
|
setDisabledState(isDisabled: boolean): void;
|
|
3582
4061
|
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSwitch, never>;
|
|
3583
4062
|
static ɵcmp: i0.ɵɵComponentDeclaration<DasarSwitch, "dasar-switch", never, {
|
|
4063
|
+
"appearance": {
|
|
4064
|
+
"alias": "appearance";
|
|
4065
|
+
"required": false;
|
|
4066
|
+
};
|
|
3584
4067
|
"size": {
|
|
3585
4068
|
"alias": "size";
|
|
3586
4069
|
"required": false;
|
|
@@ -3658,11 +4141,11 @@ export declare class DasarSwitch implements ControlValueAccessor, OnInit {
|
|
|
3658
4141
|
}
|
|
3659
4142
|
export declare const DasarSwitchComponent: readonly [typeof DasarSwitchCheckedSlot, typeof DasarSwitchUncheckedSlot, typeof DasarSwitchIconSlot, typeof DasarSwitchCheckedIconSlot, typeof DasarSwitchUncheckedIconSlot, typeof DasarSwitch];
|
|
3660
4143
|
export type DasarSkeletonType = 'text' | 'box';
|
|
3661
|
-
export type DasarSkeletonSizeType = Extract<ScaleAttributeType
|
|
4144
|
+
export type DasarSkeletonSizeType = Extract<ScaleAttributeType, 'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
|
|
3662
4145
|
export interface DasarSkeletonConfig {
|
|
3663
4146
|
type?: DasarSkeletonType;
|
|
3664
4147
|
size?: DasarSkeletonSizeType;
|
|
3665
|
-
radius?: ScaleAttributeType
|
|
4148
|
+
radius?: ScaleAttributeType;
|
|
3666
4149
|
width?: string | number | null;
|
|
3667
4150
|
height?: string | number | null;
|
|
3668
4151
|
fullWidth?: boolean;
|
|
@@ -3679,7 +4162,7 @@ export declare class DasarSkeleton {
|
|
|
3679
4162
|
private themeService;
|
|
3680
4163
|
type: NonNullable<DasarSkeletonType | undefined>;
|
|
3681
4164
|
size: NonNullable<DasarSkeletonSizeType | undefined>;
|
|
3682
|
-
radius: NonNullable<ScaleAttributeType
|
|
4165
|
+
radius: NonNullable<ScaleAttributeType | undefined>;
|
|
3683
4166
|
width: NonNullable<string | number | null | undefined> | null;
|
|
3684
4167
|
height: NonNullable<string | number | null | undefined> | null;
|
|
3685
4168
|
fullWidth: NonNullable<boolean | undefined>;
|
|
@@ -3758,124 +4241,19 @@ export declare class DasarSkeleton {
|
|
|
3758
4241
|
static ngAcceptInputType_repeat: unknown;
|
|
3759
4242
|
}
|
|
3760
4243
|
export declare const DasarSkeletonComponent: readonly [typeof DasarSkeleton];
|
|
3761
|
-
export type
|
|
3762
|
-
export
|
|
3763
|
-
direction?: DasarCheckboxGroupDirectionType;
|
|
3764
|
-
size?: DasarCheckboxSizeType | null;
|
|
3765
|
-
disabled?: boolean;
|
|
3766
|
-
error?: boolean;
|
|
3767
|
-
hint?: string;
|
|
3768
|
-
valueField?: string | null;
|
|
3769
|
-
containerClass?: ClassType;
|
|
3770
|
-
containerStyle?: StyleType;
|
|
3771
|
-
hintClass?: ClassType;
|
|
3772
|
-
hintStyle?: StyleType;
|
|
3773
|
-
}
|
|
3774
|
-
export declare class DasarCheckboxGroup implements ControlValueAccessor {
|
|
3775
|
-
private themeProvider;
|
|
3776
|
-
private themeService;
|
|
3777
|
-
private checkboxes;
|
|
3778
|
-
private ownDisabled;
|
|
3779
|
-
private ownError;
|
|
3780
|
-
private ownSize;
|
|
3781
|
-
private values;
|
|
3782
|
-
onTouched: () => void;
|
|
3783
|
-
onChange: (value: any[]) => void;
|
|
3784
|
-
constructor();
|
|
3785
|
-
direction: NonNullable<DasarCheckboxGroupDirectionType | undefined>;
|
|
3786
|
-
set size(value: DasarCheckboxSizeType | null);
|
|
3787
|
-
get size(): DasarCheckboxSizeType | null;
|
|
3788
|
-
set disabled(value: boolean);
|
|
3789
|
-
get disabled(): boolean;
|
|
3790
|
-
set error(value: boolean);
|
|
3791
|
-
get error(): boolean;
|
|
3792
|
-
hint: string;
|
|
3793
|
-
valueField: string | null;
|
|
3794
|
-
set value(val: any);
|
|
3795
|
-
get value(): any[];
|
|
3796
|
-
containerClass: NonNullable<ClassType> | null;
|
|
3797
|
-
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
3798
|
-
hintClass: NonNullable<ClassType> | null;
|
|
3799
|
-
hintStyle: NonNullable<StyleType | undefined> | null;
|
|
3800
|
-
readonly hintId: string;
|
|
3801
|
-
valueChange: EventEmitter<any[]>;
|
|
3802
|
-
onUpdate: EventEmitter<any[]>;
|
|
3803
|
-
get hostClasses(): string;
|
|
3804
|
-
get role(): string;
|
|
3805
|
-
get describedBy(): string | null;
|
|
3806
|
-
onFocusOut(): void;
|
|
3807
|
-
get hintClasses(): Record<string, boolean>;
|
|
3808
|
-
get containerClasses(): Record<string, boolean>;
|
|
3809
|
-
private toggleChild;
|
|
3810
|
-
writeValue(value: any): void;
|
|
3811
|
-
registerOnChange(fn: any): void;
|
|
3812
|
-
registerOnTouched(fn: any): void;
|
|
3813
|
-
setDisabledState(isDisabled: boolean): void;
|
|
3814
|
-
ngOnDestroy(): void;
|
|
3815
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCheckboxGroup, never>;
|
|
3816
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DasarCheckboxGroup, "dasar-checkbox-group", never, {
|
|
3817
|
-
"direction": {
|
|
3818
|
-
"alias": "direction";
|
|
3819
|
-
"required": false;
|
|
3820
|
-
};
|
|
3821
|
-
"size": {
|
|
3822
|
-
"alias": "size";
|
|
3823
|
-
"required": false;
|
|
3824
|
-
};
|
|
3825
|
-
"disabled": {
|
|
3826
|
-
"alias": "disabled";
|
|
3827
|
-
"required": false;
|
|
3828
|
-
};
|
|
3829
|
-
"error": {
|
|
3830
|
-
"alias": "error";
|
|
3831
|
-
"required": false;
|
|
3832
|
-
};
|
|
3833
|
-
"hint": {
|
|
3834
|
-
"alias": "hint";
|
|
3835
|
-
"required": false;
|
|
3836
|
-
};
|
|
3837
|
-
"valueField": {
|
|
3838
|
-
"alias": "value-field";
|
|
3839
|
-
"required": false;
|
|
3840
|
-
};
|
|
3841
|
-
"value": {
|
|
3842
|
-
"alias": "value";
|
|
3843
|
-
"required": false;
|
|
3844
|
-
};
|
|
3845
|
-
"containerClass": {
|
|
3846
|
-
"alias": "container-class";
|
|
3847
|
-
"required": false;
|
|
3848
|
-
};
|
|
3849
|
-
"containerStyle": {
|
|
3850
|
-
"alias": "container-style";
|
|
3851
|
-
"required": false;
|
|
3852
|
-
};
|
|
3853
|
-
"hintClass": {
|
|
3854
|
-
"alias": "hint-class";
|
|
3855
|
-
"required": false;
|
|
3856
|
-
};
|
|
3857
|
-
"hintStyle": {
|
|
3858
|
-
"alias": "hint-style";
|
|
3859
|
-
"required": false;
|
|
3860
|
-
};
|
|
3861
|
-
}, {
|
|
3862
|
-
"valueChange": "valueChange";
|
|
3863
|
-
"onUpdate": "onUpdate";
|
|
3864
|
-
}, ["checkboxes"], ["*"], true, never>;
|
|
3865
|
-
static ngAcceptInputType_disabled: unknown;
|
|
3866
|
-
static ngAcceptInputType_error: unknown;
|
|
3867
|
-
}
|
|
3868
|
-
export declare const DasarCheckboxGroupComponent: readonly [typeof DasarCheckboxGroup];
|
|
3869
|
-
export type DasarRadioSizeType = Extract<ScaleAttributeType$1, 'sm' | 'md' | 'lg'>;
|
|
4244
|
+
export type DasarRadioSizeType = Extract<ScaleAttributeType, 'sm' | 'md' | 'lg'>;
|
|
4245
|
+
export type DasarRadioAppearanceType = 'outline' | 'filled' | 'elevated';
|
|
3870
4246
|
export interface DasarRadioGroupState {
|
|
3871
4247
|
checked: boolean;
|
|
3872
4248
|
disabled: boolean;
|
|
3873
4249
|
error?: boolean;
|
|
3874
4250
|
size?: DasarRadioSizeType | null;
|
|
4251
|
+
appearance?: DasarRadioAppearanceType;
|
|
3875
4252
|
name: string;
|
|
3876
4253
|
}
|
|
3877
4254
|
export interface DasarRadioConfig {
|
|
3878
4255
|
size?: DasarRadioSizeType;
|
|
4256
|
+
appearance?: DasarRadioAppearanceType;
|
|
3879
4257
|
disabled?: boolean;
|
|
3880
4258
|
error?: boolean;
|
|
3881
4259
|
hint?: string;
|
|
@@ -3898,6 +4276,7 @@ export declare class DasarRadio implements ControlValueAccessor {
|
|
|
3898
4276
|
private groupState;
|
|
3899
4277
|
onTouched: () => void;
|
|
3900
4278
|
onChange: (value: any) => void;
|
|
4279
|
+
appearance: DasarRadioAppearanceType;
|
|
3901
4280
|
size: NonNullable<DasarRadioSizeType | undefined>;
|
|
3902
4281
|
label: string;
|
|
3903
4282
|
hint: string;
|
|
@@ -3921,9 +4300,11 @@ export declare class DasarRadio implements ControlValueAccessor {
|
|
|
3921
4300
|
onUpdate: EventEmitter<any>;
|
|
3922
4301
|
get hostClasses(): string;
|
|
3923
4302
|
get currentSize(): DasarRadioSizeType;
|
|
4303
|
+
get currentAppearance(): DasarRadioAppearanceType;
|
|
3924
4304
|
get currentName(): string | null;
|
|
3925
4305
|
get isDisabled(): boolean;
|
|
3926
4306
|
get hasError(): boolean;
|
|
4307
|
+
get isGrouped(): boolean;
|
|
3927
4308
|
get isChecked(): boolean;
|
|
3928
4309
|
get containerClasses(): Record<string, boolean>;
|
|
3929
4310
|
get circleClasses(): Record<string, boolean>;
|
|
@@ -3937,6 +4318,10 @@ export declare class DasarRadio implements ControlValueAccessor {
|
|
|
3937
4318
|
setDisabledState(isDisabled: boolean): void;
|
|
3938
4319
|
static ɵfac: i0.ɵɵFactoryDeclaration<DasarRadio, never>;
|
|
3939
4320
|
static ɵcmp: i0.ɵɵComponentDeclaration<DasarRadio, "dasar-radio", never, {
|
|
4321
|
+
"appearance": {
|
|
4322
|
+
"alias": "appearance";
|
|
4323
|
+
"required": false;
|
|
4324
|
+
};
|
|
3940
4325
|
"size": {
|
|
3941
4326
|
"alias": "size";
|
|
3942
4327
|
"required": false;
|
|
@@ -4012,6 +4397,7 @@ export declare const DasarRadioComponent: readonly [typeof DasarRadio];
|
|
|
4012
4397
|
export type DasarRadioGroupDirectionType = 'horizontal' | 'vertical';
|
|
4013
4398
|
export interface DasarRadioGroupConfig {
|
|
4014
4399
|
direction?: DasarRadioGroupDirectionType;
|
|
4400
|
+
appearance?: DasarRadioAppearanceType;
|
|
4015
4401
|
size?: DasarRadioSizeType | null;
|
|
4016
4402
|
disabled?: boolean;
|
|
4017
4403
|
error?: boolean;
|
|
@@ -4025,6 +4411,7 @@ export interface DasarRadioGroupConfig {
|
|
|
4025
4411
|
export declare class DasarRadioGroup implements ControlValueAccessor {
|
|
4026
4412
|
private themeProvider;
|
|
4027
4413
|
private themeService;
|
|
4414
|
+
private ngpRadioGroup;
|
|
4028
4415
|
private radios;
|
|
4029
4416
|
private ownDisabled;
|
|
4030
4417
|
private ownError;
|
|
@@ -4034,8 +4421,10 @@ export declare class DasarRadioGroup implements ControlValueAccessor {
|
|
|
4034
4421
|
private groupName;
|
|
4035
4422
|
onTouched: () => void;
|
|
4036
4423
|
onChange: (value: any) => void;
|
|
4424
|
+
compareWith: (a: any, b: any) => boolean;
|
|
4037
4425
|
constructor();
|
|
4038
4426
|
direction: NonNullable<DasarRadioGroupDirectionType | undefined>;
|
|
4427
|
+
appearance: NonNullable<DasarRadioAppearanceType | undefined>;
|
|
4039
4428
|
set size(value: DasarRadioSizeType | null);
|
|
4040
4429
|
get size(): DasarRadioSizeType | null;
|
|
4041
4430
|
set disabled(value: boolean);
|
|
@@ -4056,11 +4445,11 @@ export declare class DasarRadioGroup implements ControlValueAccessor {
|
|
|
4056
4445
|
valueChange: EventEmitter<any>;
|
|
4057
4446
|
onUpdate: EventEmitter<any>;
|
|
4058
4447
|
get hostClasses(): string;
|
|
4059
|
-
get role(): string;
|
|
4060
4448
|
get describedBy(): string | null;
|
|
4061
4449
|
onFocusOut(): void;
|
|
4062
4450
|
get hintClasses(): Record<string, boolean>;
|
|
4063
4451
|
get containerClasses(): Record<string, boolean>;
|
|
4452
|
+
private handleNgpGroupValueChange;
|
|
4064
4453
|
private selectChild;
|
|
4065
4454
|
writeValue(value: any): void;
|
|
4066
4455
|
registerOnChange(fn: any): void;
|
|
@@ -4073,6 +4462,10 @@ export declare class DasarRadioGroup implements ControlValueAccessor {
|
|
|
4073
4462
|
"alias": "direction";
|
|
4074
4463
|
"required": false;
|
|
4075
4464
|
};
|
|
4465
|
+
"appearance": {
|
|
4466
|
+
"alias": "appearance";
|
|
4467
|
+
"required": false;
|
|
4468
|
+
};
|
|
4076
4469
|
"size": {
|
|
4077
4470
|
"alias": "size";
|
|
4078
4471
|
"required": false;
|
|
@@ -4120,16 +4513,23 @@ export declare class DasarRadioGroup implements ControlValueAccessor {
|
|
|
4120
4513
|
}, {
|
|
4121
4514
|
"valueChange": "valueChange";
|
|
4122
4515
|
"onUpdate": "onUpdate";
|
|
4123
|
-
}, ["radios"], ["*"], true,
|
|
4516
|
+
}, ["radios"], ["*"], true, [{
|
|
4517
|
+
directive: typeof i1$1.NgpRadioGroup;
|
|
4518
|
+
inputs: {
|
|
4519
|
+
"ngpRadioGroupDisabled": "disabled";
|
|
4520
|
+
"ngpRadioGroupOrientation": "direction";
|
|
4521
|
+
};
|
|
4522
|
+
outputs: {};
|
|
4523
|
+
}]>;
|
|
4124
4524
|
static ngAcceptInputType_disabled: unknown;
|
|
4125
4525
|
static ngAcceptInputType_error: unknown;
|
|
4126
4526
|
}
|
|
4127
4527
|
export declare const DasarRadioGroupComponent: readonly [typeof DasarRadioGroup];
|
|
4128
4528
|
export type DasarInputType = 'text' | 'password' | 'email' | 'number' | 'search' | 'url' | 'tel';
|
|
4129
4529
|
export type DasarInputMaskType = 'thousand' | 'date' | 'decimal' | ((val: string) => string);
|
|
4130
|
-
export type DasarInputSizeType = Extract<ScaleAttributeType
|
|
4131
|
-
export type DasarInputAppearanceType = 'outline' | 'filled';
|
|
4132
|
-
export type DasarInputRadiusType = ScaleAttributeType
|
|
4530
|
+
export type DasarInputSizeType = Extract<ScaleAttributeType, 'sm' | 'md' | 'lg'>;
|
|
4531
|
+
export type DasarInputAppearanceType = 'outline' | 'filled' | 'elevated';
|
|
4532
|
+
export type DasarInputRadiusType = ScaleAttributeType;
|
|
4133
4533
|
export interface DasarInputConfig {
|
|
4134
4534
|
appearance?: DasarInputAppearanceType;
|
|
4135
4535
|
labelRight?: string;
|
|
@@ -4174,7 +4574,7 @@ export declare class DasarInput implements ControlValueAccessor {
|
|
|
4174
4574
|
private cdr;
|
|
4175
4575
|
appearance: DasarInputAppearanceType;
|
|
4176
4576
|
labelRight: string | undefined;
|
|
4177
|
-
radius: NonNullable<ScaleAttributeType
|
|
4577
|
+
radius: NonNullable<ScaleAttributeType | undefined>;
|
|
4178
4578
|
size: NonNullable<DasarInputSizeType | undefined>;
|
|
4179
4579
|
type: NonNullable<DasarInputType | undefined>;
|
|
4180
4580
|
mask: NonNullable<DasarInputMaskType | undefined> | undefined;
|
|
@@ -4319,10 +4719,10 @@ export declare class DasarInput implements ControlValueAccessor {
|
|
|
4319
4719
|
static ngAcceptInputType_hideOverflow: unknown;
|
|
4320
4720
|
}
|
|
4321
4721
|
export declare const DasarInputComponent: readonly [typeof DasarInput, typeof DasarInputExtraLabelSlot, typeof DasarInputPrefixSlot, typeof DasarInputSuffixSlot];
|
|
4322
|
-
export type DasarModalSize = Extract<ScaleAttributeType
|
|
4722
|
+
export type DasarModalSize = Extract<ScaleAttributeType, 'sm' | 'md' | 'lg'>;
|
|
4323
4723
|
export type DasarModalAppearance = 'outline' | 'borderless' | 'elevated';
|
|
4324
4724
|
export type DasarModalSpacing = 'normal' | 'compact';
|
|
4325
|
-
export type DasarModalRadius = ScaleAttributeType
|
|
4725
|
+
export type DasarModalRadius = ScaleAttributeType;
|
|
4326
4726
|
export interface DasarModalConfig {
|
|
4327
4727
|
appearance?: DasarModalAppearance;
|
|
4328
4728
|
spacing?: DasarModalSpacing;
|
|
@@ -4346,10 +4746,13 @@ export interface DasarModalConfig {
|
|
|
4346
4746
|
fullWidth?: boolean;
|
|
4347
4747
|
closable?: boolean;
|
|
4348
4748
|
closeOnOverlay?: boolean;
|
|
4349
|
-
closeOnEscape?: boolean;
|
|
4350
4749
|
overlayBlur?: string;
|
|
4351
4750
|
overlayBackground?: string;
|
|
4352
4751
|
}
|
|
4752
|
+
export interface DasarModalTriggerConfig {
|
|
4753
|
+
closeOnEscape?: boolean;
|
|
4754
|
+
closeOnOutsideClick?: boolean;
|
|
4755
|
+
}
|
|
4353
4756
|
export declare class DasarModalHeaderSlot {
|
|
4354
4757
|
static ɵfac: i0.ɵɵFactoryDeclaration<DasarModalHeaderSlot, never>;
|
|
4355
4758
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarModalHeaderSlot, "[header-slot]", never, {}, {}, never, never, true, never>;
|
|
@@ -4362,18 +4765,35 @@ export declare class DasarModalActionSlot {
|
|
|
4362
4765
|
static ɵfac: i0.ɵɵFactoryDeclaration<DasarModalActionSlot, never>;
|
|
4363
4766
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarModalActionSlot, "[action-slot]", never, {}, {}, never, never, true, never>;
|
|
4364
4767
|
}
|
|
4365
|
-
|
|
4768
|
+
/**
|
|
4769
|
+
* Applied to a launcher element with a `<ng-template let-close="close">` reference to open
|
|
4770
|
+
* a dasar-modal as a dialog, using NgpDialogTrigger's trigger+template lifecycle.
|
|
4771
|
+
*/
|
|
4772
|
+
export declare class DasarModalTrigger {
|
|
4773
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarModalTrigger, never>;
|
|
4774
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarModalTrigger, "[dasarModalTrigger]", never, {}, {}, never, never, true, [{
|
|
4775
|
+
directive: typeof i1.NgpDialogTrigger;
|
|
4776
|
+
inputs: {
|
|
4777
|
+
"ngpDialogTrigger": "dasarModalTrigger";
|
|
4778
|
+
"ngpDialogTriggerCloseOnEscape": "dasarModalTriggerCloseOnEscape";
|
|
4779
|
+
"ngpDialogTriggerCloseOnOutsideClick": "dasarModalTriggerCloseOnOutsideClick";
|
|
4780
|
+
"ngpDialogTriggerContainer": "dasarModalTriggerContainer";
|
|
4781
|
+
};
|
|
4782
|
+
outputs: {
|
|
4783
|
+
"ngpDialogTriggerClosed": "dasarModalTriggerClosed";
|
|
4784
|
+
};
|
|
4785
|
+
}]>;
|
|
4786
|
+
}
|
|
4787
|
+
export declare class DasarModal {
|
|
4366
4788
|
providedHeader?: DasarModalHeaderSlot;
|
|
4367
4789
|
providedClose?: DasarModalCloseSlot;
|
|
4368
4790
|
providedAction?: DasarModalActionSlot;
|
|
4369
4791
|
private themeProvider;
|
|
4370
4792
|
private themeService;
|
|
4371
|
-
private
|
|
4372
|
-
private document;
|
|
4373
|
-
open: boolean;
|
|
4793
|
+
private dialogState;
|
|
4374
4794
|
appearance: NonNullable<DasarModalAppearance | undefined>;
|
|
4375
4795
|
spacing: NonNullable<DasarModalSpacing | undefined>;
|
|
4376
|
-
radius: NonNullable<ScaleAttributeType
|
|
4796
|
+
radius: NonNullable<ScaleAttributeType | undefined>;
|
|
4377
4797
|
size: NonNullable<DasarModalSize | undefined>;
|
|
4378
4798
|
label: string | undefined;
|
|
4379
4799
|
width: string | undefined;
|
|
@@ -4392,29 +4812,15 @@ export declare class DasarModal implements OnChanges, OnDestroy {
|
|
|
4392
4812
|
actionFluid: NonNullable<boolean | undefined>;
|
|
4393
4813
|
fullWidth: NonNullable<boolean | undefined>;
|
|
4394
4814
|
closable: NonNullable<boolean | undefined>;
|
|
4395
|
-
closeOnOverlay: NonNullable<boolean | undefined>;
|
|
4396
|
-
closeOnEscape: NonNullable<boolean | undefined>;
|
|
4397
4815
|
overlayBlur: string | null;
|
|
4398
4816
|
overlayBackground: string | null;
|
|
4399
|
-
onClose: EventEmitter<void>;
|
|
4400
|
-
readonly baseClass = true;
|
|
4401
|
-
get isOpen(): boolean;
|
|
4402
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
4403
|
-
ngOnDestroy(): void;
|
|
4404
4817
|
get hasHeader(): boolean;
|
|
4405
4818
|
get hasClose(): boolean;
|
|
4406
4819
|
get hasAction(): boolean;
|
|
4407
4820
|
get resolvedWidth(): string | null;
|
|
4408
4821
|
close(): void;
|
|
4409
|
-
handleOverlayClick(): void;
|
|
4410
|
-
handleEscape(): void;
|
|
4411
|
-
private toggleScrollLock;
|
|
4412
4822
|
static ɵfac: i0.ɵɵFactoryDeclaration<DasarModal, never>;
|
|
4413
4823
|
static ɵcmp: i0.ɵɵComponentDeclaration<DasarModal, "dasar-modal", never, {
|
|
4414
|
-
"open": {
|
|
4415
|
-
"alias": "open";
|
|
4416
|
-
"required": false;
|
|
4417
|
-
};
|
|
4418
4824
|
"appearance": {
|
|
4419
4825
|
"alias": "appearance";
|
|
4420
4826
|
"required": false;
|
|
@@ -4499,14 +4905,6 @@ export declare class DasarModal implements OnChanges, OnDestroy {
|
|
|
4499
4905
|
"alias": "closable";
|
|
4500
4906
|
"required": false;
|
|
4501
4907
|
};
|
|
4502
|
-
"closeOnOverlay": {
|
|
4503
|
-
"alias": "close-on-overlay";
|
|
4504
|
-
"required": false;
|
|
4505
|
-
};
|
|
4506
|
-
"closeOnEscape": {
|
|
4507
|
-
"alias": "close-on-escape";
|
|
4508
|
-
"required": false;
|
|
4509
|
-
};
|
|
4510
4908
|
"overlayBlur": {
|
|
4511
4909
|
"alias": "overlay-blur";
|
|
4512
4910
|
"required": false;
|
|
@@ -4515,23 +4913,26 @@ export declare class DasarModal implements OnChanges, OnDestroy {
|
|
|
4515
4913
|
"alias": "overlay-background";
|
|
4516
4914
|
"required": false;
|
|
4517
4915
|
};
|
|
4518
|
-
}, {
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4916
|
+
}, {}, ["providedHeader", "providedClose", "providedAction"], ["[header-slot]", "[close-slot]", "*", "[action-slot]"], true, [{
|
|
4917
|
+
directive: typeof i1.NgpDialogOverlay;
|
|
4918
|
+
inputs: {
|
|
4919
|
+
"ngpDialogOverlayCloseOnClick": "close-on-overlay";
|
|
4920
|
+
};
|
|
4921
|
+
outputs: {};
|
|
4922
|
+
}]>;
|
|
4522
4923
|
static ngAcceptInputType_headerFluid: unknown;
|
|
4523
4924
|
static ngAcceptInputType_bodyFluid: unknown;
|
|
4524
4925
|
static ngAcceptInputType_actionFluid: unknown;
|
|
4525
4926
|
static ngAcceptInputType_fullWidth: unknown;
|
|
4526
4927
|
static ngAcceptInputType_closable: unknown;
|
|
4527
|
-
static ngAcceptInputType_closeOnOverlay: unknown;
|
|
4528
|
-
static ngAcceptInputType_closeOnEscape: unknown;
|
|
4529
4928
|
}
|
|
4530
|
-
export declare const DasarModalComponent: readonly [typeof DasarModalHeaderSlot, typeof DasarModalCloseSlot, typeof DasarModalActionSlot, typeof DasarModal];
|
|
4929
|
+
export declare const DasarModalComponent: readonly [typeof DasarModalHeaderSlot, typeof DasarModalCloseSlot, typeof DasarModalActionSlot, typeof DasarModalTrigger, typeof DasarModal];
|
|
4531
4930
|
export type DasarDrawerPlacement = 'top' | 'right' | 'bottom' | 'left';
|
|
4532
4931
|
export type DasarDrawerLength = string | number;
|
|
4932
|
+
export type DasarDrawerAppearanceType = 'outline' | 'elevated';
|
|
4533
4933
|
export interface DasarDrawerConfig {
|
|
4534
4934
|
placement?: DasarDrawerPlacement;
|
|
4935
|
+
appearance?: DasarDrawerAppearanceType;
|
|
4535
4936
|
label?: string;
|
|
4536
4937
|
closable?: boolean;
|
|
4537
4938
|
resizable?: boolean;
|
|
@@ -4592,6 +4993,7 @@ export declare class DasarDrawer implements ControlValueAccessor, OnDestroy {
|
|
|
4592
4993
|
protected readonly resizedWidth: import("@angular/core").WritableSignal<number | null>;
|
|
4593
4994
|
protected readonly resizedHeight: import("@angular/core").WritableSignal<number | null>;
|
|
4594
4995
|
placement: NonNullable<DasarDrawerPlacement | undefined>;
|
|
4996
|
+
appearance: DasarDrawerAppearanceType;
|
|
4595
4997
|
label: string | undefined;
|
|
4596
4998
|
closable: NonNullable<boolean | undefined>;
|
|
4597
4999
|
resizable: NonNullable<boolean | undefined>;
|
|
@@ -4674,6 +5076,10 @@ export declare class DasarDrawer implements ControlValueAccessor, OnDestroy {
|
|
|
4674
5076
|
"alias": "placement";
|
|
4675
5077
|
"required": false;
|
|
4676
5078
|
};
|
|
5079
|
+
"appearance": {
|
|
5080
|
+
"alias": "appearance";
|
|
5081
|
+
"required": false;
|
|
5082
|
+
};
|
|
4677
5083
|
"label": {
|
|
4678
5084
|
"alias": "label";
|
|
4679
5085
|
"required": false;
|
|
@@ -4953,6 +5359,7 @@ export interface DasarToastConfig {
|
|
|
4953
5359
|
duration?: number;
|
|
4954
5360
|
closeable?: boolean;
|
|
4955
5361
|
variant?: DasarToastVariant;
|
|
5362
|
+
appearance?: 'solid' | 'elevated';
|
|
4956
5363
|
aliveOnHover?: boolean;
|
|
4957
5364
|
closeIconName?: string;
|
|
4958
5365
|
max?: number;
|
|
@@ -5000,7 +5407,7 @@ declare function filterTree(items: DasarTreeItem[], matches: (item: DasarTreeIte
|
|
|
5000
5407
|
/** Moves a node next to or into another one without changing the input. */
|
|
5001
5408
|
declare function moveItem(items: DasarTreeItem[], dragKey: DasarTreeKey, targetKey: DasarTreeKey, position: DasarTreeDropPosition): DasarTreeItem[] | null;
|
|
5002
5409
|
export type DasarTreeFilterMethod = (item: DasarTreeItem, query: string) => boolean;
|
|
5003
|
-
export type DasarTreeSize = Extract<ScaleAttributeType
|
|
5410
|
+
export type DasarTreeSize = Extract<ScaleAttributeType, 'sm' | 'md' | 'lg'>;
|
|
5004
5411
|
export type DasarTreeType = 'file' | 'selectable' | 'multiple' | null;
|
|
5005
5412
|
export type DasarTreeSpacing = 'normal' | 'compact';
|
|
5006
5413
|
export interface DasarTreeConfig {
|
|
@@ -5461,6 +5868,7 @@ export interface DasarThemeCommon {
|
|
|
5461
5868
|
primaryHoverColor?: string;
|
|
5462
5869
|
primaryActiveColor?: string;
|
|
5463
5870
|
primarySurfaceColor?: string;
|
|
5871
|
+
primarySurfaceHoverColor?: string;
|
|
5464
5872
|
textPrimaryColor?: string;
|
|
5465
5873
|
textSecondaryColor?: string;
|
|
5466
5874
|
textDisabledColor?: string;
|
|
@@ -5491,6 +5899,7 @@ export interface DasarThemeCommonDark {
|
|
|
5491
5899
|
primaryHoverColor?: string;
|
|
5492
5900
|
primaryActiveColor?: string;
|
|
5493
5901
|
primarySurfaceColor?: string;
|
|
5902
|
+
primarySurfaceHoverColor?: string;
|
|
5494
5903
|
textPrimaryColor?: string;
|
|
5495
5904
|
textSecondaryColor?: string;
|
|
5496
5905
|
textDisabledColor?: string;
|
|
@@ -5551,6 +5960,7 @@ export interface DasarThemeButton {
|
|
|
5551
5960
|
primaryHoverBg?: string;
|
|
5552
5961
|
primaryHoverBorder?: string;
|
|
5553
5962
|
primaryFocusRing?: string;
|
|
5963
|
+
primaryPressedBg?: string;
|
|
5554
5964
|
primarySubtleBg?: string;
|
|
5555
5965
|
primarySubtleColor?: string;
|
|
5556
5966
|
primarySubtleHoverBg?: string;
|
|
@@ -5562,6 +5972,7 @@ export interface DasarThemeButton {
|
|
|
5562
5972
|
successBorder?: string;
|
|
5563
5973
|
successColor?: string;
|
|
5564
5974
|
successFocusRing?: string;
|
|
5975
|
+
successPressedBg?: string;
|
|
5565
5976
|
successSubtleBg?: string;
|
|
5566
5977
|
successSubtleColor?: string;
|
|
5567
5978
|
successSubtleHoverBg?: string;
|
|
@@ -5573,6 +5984,7 @@ export interface DasarThemeButton {
|
|
|
5573
5984
|
warningBorder?: string;
|
|
5574
5985
|
warningColor?: string;
|
|
5575
5986
|
warningFocusRing?: string;
|
|
5987
|
+
warningPressedBg?: string;
|
|
5576
5988
|
warningSubtleBg?: string;
|
|
5577
5989
|
warningSubtleColor?: string;
|
|
5578
5990
|
warningSubtleHoverBg?: string;
|
|
@@ -5584,6 +5996,7 @@ export interface DasarThemeButton {
|
|
|
5584
5996
|
dangerBorder?: string;
|
|
5585
5997
|
dangerColor?: string;
|
|
5586
5998
|
dangerFocusRing?: string;
|
|
5999
|
+
dangerPressedBg?: string;
|
|
5587
6000
|
dangerSubtleBg?: string;
|
|
5588
6001
|
dangerSubtleColor?: string;
|
|
5589
6002
|
dangerSubtleHoverBg?: string;
|
|
@@ -5596,6 +6009,7 @@ export interface DasarThemeButton {
|
|
|
5596
6009
|
secondaryColor?: string;
|
|
5597
6010
|
secondaryHoverBg?: string;
|
|
5598
6011
|
secondaryFocusRing?: string;
|
|
6012
|
+
secondaryPressedBg?: string;
|
|
5599
6013
|
secondarySubtleBg?: string;
|
|
5600
6014
|
secondarySubtleColor?: string;
|
|
5601
6015
|
secondarySubtleHoverBg?: string;
|
|
@@ -5607,6 +6021,8 @@ export interface DasarThemeButton {
|
|
|
5607
6021
|
ghostHoverBg?: string;
|
|
5608
6022
|
ghostHoverColor?: string;
|
|
5609
6023
|
ghostFocusRing?: string;
|
|
6024
|
+
ghostPressedBg?: string;
|
|
6025
|
+
pressedShadow?: string;
|
|
5610
6026
|
}
|
|
5611
6027
|
export interface DasarThemeButtonGroup {
|
|
5612
6028
|
gap?: string;
|
|
@@ -5614,6 +6030,9 @@ export interface DasarThemeButtonGroup {
|
|
|
5614
6030
|
dividerColor?: string;
|
|
5615
6031
|
focusZIndex?: string;
|
|
5616
6032
|
}
|
|
6033
|
+
export interface DasarThemeRipple {
|
|
6034
|
+
color?: string;
|
|
6035
|
+
}
|
|
5617
6036
|
export interface DasarThemeAlert {
|
|
5618
6037
|
padding?: string;
|
|
5619
6038
|
gap?: string;
|
|
@@ -5655,6 +6074,7 @@ export interface DasarThemeAlert {
|
|
|
5655
6074
|
dangerIconColor?: string;
|
|
5656
6075
|
}
|
|
5657
6076
|
export interface DasarThemeCheckbox {
|
|
6077
|
+
appearance?: DasarCheckboxAppearanceType;
|
|
5658
6078
|
gap?: string;
|
|
5659
6079
|
hintGap?: string;
|
|
5660
6080
|
sizeSm?: string;
|
|
@@ -5678,6 +6098,7 @@ export interface DasarThemeCheckbox {
|
|
|
5678
6098
|
labelFontSizeLg?: string;
|
|
5679
6099
|
}
|
|
5680
6100
|
export interface DasarThemeRadio {
|
|
6101
|
+
appearance?: DasarRadioAppearanceType;
|
|
5681
6102
|
gap?: string;
|
|
5682
6103
|
hintGap?: string;
|
|
5683
6104
|
sizeSm?: string;
|
|
@@ -5766,6 +6187,257 @@ export interface DasarThemeInput {
|
|
|
5766
6187
|
hintColor?: string;
|
|
5767
6188
|
hintErrorColor?: string;
|
|
5768
6189
|
}
|
|
6190
|
+
export interface DasarThemeTextarea {
|
|
6191
|
+
wrapperGap?: string;
|
|
6192
|
+
gap?: string;
|
|
6193
|
+
color?: string;
|
|
6194
|
+
background?: string;
|
|
6195
|
+
padding?: string;
|
|
6196
|
+
labelFontsize?: string;
|
|
6197
|
+
labelFontWeight?: string;
|
|
6198
|
+
labelColor?: string;
|
|
6199
|
+
labelRightFontsize?: string;
|
|
6200
|
+
labelRightColor?: string;
|
|
6201
|
+
labelRightGap?: string;
|
|
6202
|
+
paddingSm?: string;
|
|
6203
|
+
fontSizeSm?: string;
|
|
6204
|
+
paddingMd?: string;
|
|
6205
|
+
fontSizeMd?: string;
|
|
6206
|
+
paddingLg?: string;
|
|
6207
|
+
fontSizeLg?: string;
|
|
6208
|
+
radiusNone?: string;
|
|
6209
|
+
radiusXs?: string;
|
|
6210
|
+
radiusSm?: string;
|
|
6211
|
+
radiusMd?: string;
|
|
6212
|
+
radiusLg?: string;
|
|
6213
|
+
radiusXl?: string;
|
|
6214
|
+
radiusFull?: string;
|
|
6215
|
+
outlineBg?: string;
|
|
6216
|
+
outlineBorder?: string;
|
|
6217
|
+
outlineHoverBorder?: string;
|
|
6218
|
+
outlineFocusBorder?: string;
|
|
6219
|
+
outlineFocusRing?: string;
|
|
6220
|
+
filledBorder?: string;
|
|
6221
|
+
filledHoverBg?: string;
|
|
6222
|
+
filledFocusBg?: string;
|
|
6223
|
+
filledFocusBorder?: string;
|
|
6224
|
+
filledFocusRing?: string;
|
|
6225
|
+
elevatedBorder?: string;
|
|
6226
|
+
elevatedBackground?: string;
|
|
6227
|
+
elevatedShadow?: string;
|
|
6228
|
+
elevatedHoverBorder?: string;
|
|
6229
|
+
elevatedFocusBorder?: string;
|
|
6230
|
+
elevatedFocusRing?: string;
|
|
6231
|
+
errorBorder?: string;
|
|
6232
|
+
errorFocusRing?: string;
|
|
6233
|
+
disabledBg?: string;
|
|
6234
|
+
disabledBorder?: string;
|
|
6235
|
+
disabledOpacity?: string;
|
|
6236
|
+
placeholderColor?: string;
|
|
6237
|
+
autofillBg?: string;
|
|
6238
|
+
autofillColor?: string;
|
|
6239
|
+
hintFontSize?: string;
|
|
6240
|
+
hintColor?: string;
|
|
6241
|
+
hintErrorColor?: string;
|
|
6242
|
+
}
|
|
6243
|
+
export interface DasarThemeSlider {
|
|
6244
|
+
wrapperGap?: string;
|
|
6245
|
+
radius?: string;
|
|
6246
|
+
labelFontSize?: string;
|
|
6247
|
+
labelFontWeight?: string;
|
|
6248
|
+
labelColor?: string;
|
|
6249
|
+
heightSm?: string;
|
|
6250
|
+
paddingHorizontalSm?: string;
|
|
6251
|
+
trackHeightSm?: string;
|
|
6252
|
+
thumbSizeSm?: string;
|
|
6253
|
+
heightMd?: string;
|
|
6254
|
+
paddingHorizontalMd?: string;
|
|
6255
|
+
trackHeightMd?: string;
|
|
6256
|
+
thumbSizeMd?: string;
|
|
6257
|
+
heightLg?: string;
|
|
6258
|
+
paddingHorizontalLg?: string;
|
|
6259
|
+
trackHeightLg?: string;
|
|
6260
|
+
thumbSizeLg?: string;
|
|
6261
|
+
trackBg?: string;
|
|
6262
|
+
rangeBg?: string;
|
|
6263
|
+
thumbBg?: string;
|
|
6264
|
+
thumbBorder?: string;
|
|
6265
|
+
thumbShadow?: string;
|
|
6266
|
+
outlineBg?: string;
|
|
6267
|
+
outlineBorder?: string;
|
|
6268
|
+
outlineHoverBorder?: string;
|
|
6269
|
+
outlineFocusBorder?: string;
|
|
6270
|
+
outlineFocusRing?: string;
|
|
6271
|
+
filledBg?: string;
|
|
6272
|
+
filledBorder?: string;
|
|
6273
|
+
filledHoverBg?: string;
|
|
6274
|
+
filledFocusBg?: string;
|
|
6275
|
+
filledFocusBorder?: string;
|
|
6276
|
+
filledFocusRing?: string;
|
|
6277
|
+
elevatedBg?: string;
|
|
6278
|
+
elevatedBorder?: string;
|
|
6279
|
+
elevatedShadow?: string;
|
|
6280
|
+
elevatedHoverBorder?: string;
|
|
6281
|
+
elevatedFocusBorder?: string;
|
|
6282
|
+
elevatedFocusRing?: string;
|
|
6283
|
+
errorBorder?: string;
|
|
6284
|
+
errorFocusRing?: string;
|
|
6285
|
+
disabledBg?: string;
|
|
6286
|
+
disabledBorder?: string;
|
|
6287
|
+
disabledOpacity?: string;
|
|
6288
|
+
hintFontSize?: string;
|
|
6289
|
+
hintColor?: string;
|
|
6290
|
+
hintErrorColor?: string;
|
|
6291
|
+
}
|
|
6292
|
+
export interface DasarThemePin {
|
|
6293
|
+
gap?: string;
|
|
6294
|
+
color?: string;
|
|
6295
|
+
fontWeight?: string;
|
|
6296
|
+
sizeSm?: string;
|
|
6297
|
+
heightSm?: string;
|
|
6298
|
+
fontSizeSm?: string;
|
|
6299
|
+
sizeMd?: string;
|
|
6300
|
+
heightMd?: string;
|
|
6301
|
+
fontSizeMd?: string;
|
|
6302
|
+
sizeLg?: string;
|
|
6303
|
+
heightLg?: string;
|
|
6304
|
+
fontSizeLg?: string;
|
|
6305
|
+
radiusNone?: string;
|
|
6306
|
+
radiusXs?: string;
|
|
6307
|
+
radiusSm?: string;
|
|
6308
|
+
radiusMd?: string;
|
|
6309
|
+
radiusLg?: string;
|
|
6310
|
+
radiusXl?: string;
|
|
6311
|
+
radiusFull?: string;
|
|
6312
|
+
outlineBg?: string;
|
|
6313
|
+
outlineBorder?: string;
|
|
6314
|
+
outlineHoverBorder?: string;
|
|
6315
|
+
outlineFocusBorder?: string;
|
|
6316
|
+
outlineFocusRing?: string;
|
|
6317
|
+
filledBg?: string;
|
|
6318
|
+
filledBorder?: string;
|
|
6319
|
+
filledHoverBg?: string;
|
|
6320
|
+
filledFocusBg?: string;
|
|
6321
|
+
filledFocusBorder?: string;
|
|
6322
|
+
filledFocusRing?: string;
|
|
6323
|
+
elevatedBg?: string;
|
|
6324
|
+
elevatedBorder?: string;
|
|
6325
|
+
elevatedShadow?: string;
|
|
6326
|
+
elevatedHoverBorder?: string;
|
|
6327
|
+
elevatedFocusBorder?: string;
|
|
6328
|
+
elevatedFocusRing?: string;
|
|
6329
|
+
errorBorder?: string;
|
|
6330
|
+
errorFocusRing?: string;
|
|
6331
|
+
disabledBg?: string;
|
|
6332
|
+
disabledBorder?: string;
|
|
6333
|
+
disabledColor?: string;
|
|
6334
|
+
disabledOpacity?: string;
|
|
6335
|
+
placeholderColor?: string;
|
|
6336
|
+
caretColor?: string;
|
|
6337
|
+
}
|
|
6338
|
+
export interface DasarThemeToggle {
|
|
6339
|
+
fontWeight?: string;
|
|
6340
|
+
gap?: string;
|
|
6341
|
+
heightXs?: string;
|
|
6342
|
+
paddingHorizontalXs?: string;
|
|
6343
|
+
heightSm?: string;
|
|
6344
|
+
paddingHorizontalSm?: string;
|
|
6345
|
+
heightMd?: string;
|
|
6346
|
+
paddingHorizontalMd?: string;
|
|
6347
|
+
heightLg?: string;
|
|
6348
|
+
paddingHorizontalLg?: string;
|
|
6349
|
+
heightXl?: string;
|
|
6350
|
+
paddingHorizontalXl?: string;
|
|
6351
|
+
radiusNone?: string;
|
|
6352
|
+
radiusXs?: string;
|
|
6353
|
+
radiusSm?: string;
|
|
6354
|
+
radiusMd?: string;
|
|
6355
|
+
radiusLg?: string;
|
|
6356
|
+
radiusXl?: string;
|
|
6357
|
+
radiusFull?: string;
|
|
6358
|
+
disabledBg?: string;
|
|
6359
|
+
disabledBorder?: string;
|
|
6360
|
+
disabledColor?: string;
|
|
6361
|
+
disabledOpacity?: string;
|
|
6362
|
+
primaryBg?: string;
|
|
6363
|
+
primaryBorder?: string;
|
|
6364
|
+
primaryColor?: string;
|
|
6365
|
+
primaryHoverBg?: string;
|
|
6366
|
+
primaryHoverBorder?: string;
|
|
6367
|
+
primaryFocusRing?: string;
|
|
6368
|
+
primarySubtleBg?: string;
|
|
6369
|
+
primarySubtleColor?: string;
|
|
6370
|
+
primarySubtleHoverBg?: string;
|
|
6371
|
+
primarySubtleHoverColor?: string;
|
|
6372
|
+
primaryOutlineBorder?: string;
|
|
6373
|
+
primaryOutlineColor?: string;
|
|
6374
|
+
primaryOutlineHoverBg?: string;
|
|
6375
|
+
successBg?: string;
|
|
6376
|
+
successBorder?: string;
|
|
6377
|
+
successColor?: string;
|
|
6378
|
+
successFocusRing?: string;
|
|
6379
|
+
successSubtleBg?: string;
|
|
6380
|
+
successSubtleColor?: string;
|
|
6381
|
+
successSubtleHoverBg?: string;
|
|
6382
|
+
successSubtleHoverColor?: string;
|
|
6383
|
+
successOutlineBorder?: string;
|
|
6384
|
+
successOutlineColor?: string;
|
|
6385
|
+
successOutlineHoverBg?: string;
|
|
6386
|
+
warningBg?: string;
|
|
6387
|
+
warningBorder?: string;
|
|
6388
|
+
warningColor?: string;
|
|
6389
|
+
warningFocusRing?: string;
|
|
6390
|
+
warningSubtleBg?: string;
|
|
6391
|
+
warningSubtleColor?: string;
|
|
6392
|
+
warningSubtleHoverBg?: string;
|
|
6393
|
+
warningSubtleHoverColor?: string;
|
|
6394
|
+
warningOutlineBorder?: string;
|
|
6395
|
+
warningOutlineColor?: string;
|
|
6396
|
+
warningOutlineHoverBg?: string;
|
|
6397
|
+
dangerBg?: string;
|
|
6398
|
+
dangerBorder?: string;
|
|
6399
|
+
dangerColor?: string;
|
|
6400
|
+
dangerFocusRing?: string;
|
|
6401
|
+
dangerSubtleBg?: string;
|
|
6402
|
+
dangerSubtleColor?: string;
|
|
6403
|
+
dangerSubtleHoverBg?: string;
|
|
6404
|
+
dangerSubtleHoverColor?: string;
|
|
6405
|
+
dangerOutlineBorder?: string;
|
|
6406
|
+
dangerOutlineColor?: string;
|
|
6407
|
+
dangerOutlineHoverBg?: string;
|
|
6408
|
+
secondaryBg?: string;
|
|
6409
|
+
secondaryBorder?: string;
|
|
6410
|
+
secondaryColor?: string;
|
|
6411
|
+
secondaryHoverBg?: string;
|
|
6412
|
+
secondaryFocusRing?: string;
|
|
6413
|
+
secondarySubtleBg?: string;
|
|
6414
|
+
secondarySubtleColor?: string;
|
|
6415
|
+
secondarySubtleHoverBg?: string;
|
|
6416
|
+
secondarySubtleHoverColor?: string;
|
|
6417
|
+
secondaryOutlineBorder?: string;
|
|
6418
|
+
secondaryOutlineColor?: string;
|
|
6419
|
+
secondaryOutlineHoverBg?: string;
|
|
6420
|
+
ghostColor?: string;
|
|
6421
|
+
ghostHoverBg?: string;
|
|
6422
|
+
ghostHoverColor?: string;
|
|
6423
|
+
ghostFocusRing?: string;
|
|
6424
|
+
elevatedShadow?: string;
|
|
6425
|
+
}
|
|
6426
|
+
export interface DasarThemeTooltip {
|
|
6427
|
+
fontSize?: string;
|
|
6428
|
+
lineHeight?: string;
|
|
6429
|
+
padding?: string;
|
|
6430
|
+
radius?: string;
|
|
6431
|
+
maxWidth?: string;
|
|
6432
|
+
zIndex?: string;
|
|
6433
|
+
bg?: string;
|
|
6434
|
+
color?: string;
|
|
6435
|
+
shadow?: string;
|
|
6436
|
+
elevatedBg?: string;
|
|
6437
|
+
elevatedColor?: string;
|
|
6438
|
+
elevatedBorder?: string;
|
|
6439
|
+
elevatedShadow?: string;
|
|
6440
|
+
}
|
|
5769
6441
|
export interface DasarThemeCalendar {
|
|
5770
6442
|
calendarBg?: string;
|
|
5771
6443
|
outlineBorder?: string;
|
|
@@ -5841,6 +6513,54 @@ export interface DasarThemeCalendar {
|
|
|
5841
6513
|
pickerSelectedColor?: string;
|
|
5842
6514
|
pickerSelectedBorder?: string;
|
|
5843
6515
|
pickerSelectedFontWeight?: string;
|
|
6516
|
+
navBorderColor?: string;
|
|
6517
|
+
navFontSize?: string;
|
|
6518
|
+
navPadding?: string;
|
|
6519
|
+
navButtonRadius?: string;
|
|
6520
|
+
navButtonColor?: string;
|
|
6521
|
+
navButtonSize?: string;
|
|
6522
|
+
navLabelColor?: string;
|
|
6523
|
+
navLabelFontSize?: string;
|
|
6524
|
+
navLabelFontWeight?: string;
|
|
6525
|
+
decadeLabelRadius?: string;
|
|
6526
|
+
decadeLabelColor?: string;
|
|
6527
|
+
decadeLabelPadding?: string;
|
|
6528
|
+
footerBorderColor?: string;
|
|
6529
|
+
footerGap?: string;
|
|
6530
|
+
footerPadding?: string;
|
|
6531
|
+
footerActionRadius?: string;
|
|
6532
|
+
footerActionColor?: string;
|
|
6533
|
+
footerActionFontSize?: string;
|
|
6534
|
+
footerActionPadding?: string;
|
|
6535
|
+
footerTodayColor?: string;
|
|
6536
|
+
footerTodayFontWeight?: string;
|
|
6537
|
+
footerDividerColor?: string;
|
|
6538
|
+
footerDividerHeight?: string;
|
|
6539
|
+
dropdownNavIconColor?: string;
|
|
6540
|
+
dropdownNavIconFontSize?: string;
|
|
6541
|
+
dropdownNavIconSize?: string;
|
|
6542
|
+
decadeLabelFontSize?: string;
|
|
6543
|
+
agendaBorderColor?: string;
|
|
6544
|
+
agendaFontSize?: string;
|
|
6545
|
+
agendaGap?: string;
|
|
6546
|
+
agendaPadding?: string;
|
|
6547
|
+
agendaTitleColor?: string;
|
|
6548
|
+
agendaTitleFontSize?: string;
|
|
6549
|
+
agendaTitleFontWeight?: string;
|
|
6550
|
+
agendaItemGap?: string;
|
|
6551
|
+
agendaMarkerColor?: string;
|
|
6552
|
+
agendaMarkerRadius?: string;
|
|
6553
|
+
agendaMarkerWidth?: string;
|
|
6554
|
+
agendaMarkerHeight?: string;
|
|
6555
|
+
agendaItemTextGap?: string;
|
|
6556
|
+
agendaItemTitleColor?: string;
|
|
6557
|
+
agendaItemTitleFontSize?: string;
|
|
6558
|
+
agendaItemTitleFontWeight?: string;
|
|
6559
|
+
agendaItemTimeColor?: string;
|
|
6560
|
+
agendaItemTimeFontSize?: string;
|
|
6561
|
+
agendaItemTimeFontWeight?: string;
|
|
6562
|
+
pickerCellButtonPadding?: string;
|
|
6563
|
+
cardRadius?: string;
|
|
5844
6564
|
}
|
|
5845
6565
|
export interface DasarThemeDatepicker {
|
|
5846
6566
|
disabledOpacity?: string;
|
|
@@ -6157,6 +6877,7 @@ export interface DasarThemePagination {
|
|
|
6157
6877
|
dropdownMaxHeight?: string;
|
|
6158
6878
|
}
|
|
6159
6879
|
export interface DasarThemeSwitch {
|
|
6880
|
+
appearance?: DasarSwitchAppearanceType;
|
|
6160
6881
|
gap?: string;
|
|
6161
6882
|
radius?: string;
|
|
6162
6883
|
thumbRadius?: string;
|
|
@@ -6248,6 +6969,7 @@ export interface DasarThemeTree {
|
|
|
6248
6969
|
gap?: string;
|
|
6249
6970
|
}
|
|
6250
6971
|
export interface DasarThemeDrawer {
|
|
6972
|
+
appearance?: DasarDrawerAppearanceType;
|
|
6251
6973
|
background?: string;
|
|
6252
6974
|
bodyColor?: string;
|
|
6253
6975
|
titleColor?: string;
|
|
@@ -6265,6 +6987,9 @@ export interface DasarThemeDrawer {
|
|
|
6265
6987
|
animationDuration?: string;
|
|
6266
6988
|
resizeHandleSize?: string;
|
|
6267
6989
|
resizeHandleHoverColor?: string;
|
|
6990
|
+
elevatedBg?: string;
|
|
6991
|
+
elevatedBorder?: string;
|
|
6992
|
+
elevatedShadow?: string;
|
|
6268
6993
|
}
|
|
6269
6994
|
export interface DasarThemeSplit {
|
|
6270
6995
|
barSize?: string;
|
|
@@ -6299,6 +7024,9 @@ export interface DasarThemeToast {
|
|
|
6299
7024
|
successAccent?: string;
|
|
6300
7025
|
warningAccent?: string;
|
|
6301
7026
|
dangerAccent?: string;
|
|
7027
|
+
elevatedBg?: string;
|
|
7028
|
+
elevatedBorder?: string;
|
|
7029
|
+
elevatedShadow?: string;
|
|
6302
7030
|
}
|
|
6303
7031
|
export interface DasarThemeModal {
|
|
6304
7032
|
background?: string;
|
|
@@ -6337,8 +7065,8 @@ export interface DasarThemeModal {
|
|
|
6337
7065
|
normalActionsPadding?: string;
|
|
6338
7066
|
}
|
|
6339
7067
|
export interface DasarComponentCommonConfig {
|
|
6340
|
-
size?: Extract<ScaleAttributeType
|
|
6341
|
-
radius?: ScaleAttributeType
|
|
7068
|
+
size?: Extract<ScaleAttributeType, 'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
|
|
7069
|
+
radius?: ScaleAttributeType;
|
|
6342
7070
|
}
|
|
6343
7071
|
export type DasarComponentConfig = {
|
|
6344
7072
|
common?: DasarComponentCommonConfig;
|
|
@@ -6350,6 +7078,11 @@ export type DasarComponentConfig = {
|
|
|
6350
7078
|
button?: DasarButtonConfig;
|
|
6351
7079
|
buttonGroup?: DasarButtonGroupConfig;
|
|
6352
7080
|
input?: DasarInputConfig;
|
|
7081
|
+
textarea?: DasarTextareaConfig;
|
|
7082
|
+
slider?: DasarSliderConfig;
|
|
7083
|
+
pin?: DasarPinConfig;
|
|
7084
|
+
toggle?: DasarToggleConfig;
|
|
7085
|
+
tooltip?: DasarTooltipConfig;
|
|
6353
7086
|
card?: DasarCardConfig;
|
|
6354
7087
|
chip?: DasarChipConfig;
|
|
6355
7088
|
divider?: DasarDividerConfig;
|
|
@@ -6372,7 +7105,7 @@ export type DasarComponentConfig = {
|
|
|
6372
7105
|
list?: DasarListConfig$1;
|
|
6373
7106
|
listItem?: DasarListItemConfig$1;
|
|
6374
7107
|
pagination?: DasarPaginationConfig$1;
|
|
6375
|
-
switch?: DasarSwitchConfig
|
|
7108
|
+
switch?: DasarSwitchConfig;
|
|
6376
7109
|
skeleton?: DasarSkeletonConfig$1;
|
|
6377
7110
|
};
|
|
6378
7111
|
export interface DasarThemeConfig {
|
|
@@ -6384,8 +7117,14 @@ export interface DasarThemeConfig {
|
|
|
6384
7117
|
light?: {
|
|
6385
7118
|
common?: DasarThemeCommon;
|
|
6386
7119
|
button?: DasarThemeButton;
|
|
7120
|
+
ripple?: DasarThemeRipple;
|
|
6387
7121
|
buttonGroup?: DasarThemeButtonGroup;
|
|
6388
7122
|
input?: DasarThemeInput;
|
|
7123
|
+
textarea?: DasarThemeTextarea;
|
|
7124
|
+
slider?: DasarThemeSlider;
|
|
7125
|
+
pin?: DasarThemePin;
|
|
7126
|
+
toggle?: DasarThemeToggle;
|
|
7127
|
+
tooltip?: DasarThemeTooltip;
|
|
6389
7128
|
calendar?: DasarThemeCalendar;
|
|
6390
7129
|
datepicker?: DasarThemeDatepicker;
|
|
6391
7130
|
chip?: DasarThemeChip;
|
|
@@ -6412,8 +7151,14 @@ export interface DasarThemeConfig {
|
|
|
6412
7151
|
dark?: {
|
|
6413
7152
|
common?: DasarThemeCommon;
|
|
6414
7153
|
button?: DasarThemeButton;
|
|
7154
|
+
ripple?: DasarThemeRipple;
|
|
6415
7155
|
buttonGroup?: DasarThemeButtonGroup;
|
|
6416
7156
|
input?: DasarThemeInput;
|
|
7157
|
+
textarea?: DasarThemeTextarea;
|
|
7158
|
+
slider?: DasarThemeSlider;
|
|
7159
|
+
pin?: DasarThemePin;
|
|
7160
|
+
toggle?: DasarThemeToggle;
|
|
7161
|
+
tooltip?: DasarThemeTooltip;
|
|
6417
7162
|
calendar?: DasarThemeCalendar;
|
|
6418
7163
|
datepicker?: DasarThemeDatepicker;
|
|
6419
7164
|
chip?: DasarThemeChip;
|
|
@@ -6561,6 +7306,7 @@ export declare class DasarToastService {
|
|
|
6561
7306
|
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
6562
7307
|
}
|
|
6563
7308
|
export declare const DASAR_TOAST_NAVIGATOR: InjectionToken<(to: string) => void>;
|
|
7309
|
+
export type DasarToastAppearanceType = 'solid' | 'elevated';
|
|
6564
7310
|
export declare class DasarToast implements OnInit, OnChanges, OnDestroy {
|
|
6565
7311
|
private themeProvider;
|
|
6566
7312
|
private themeService;
|
|
@@ -6575,6 +7321,7 @@ export declare class DasarToast implements OnInit, OnChanges, OnDestroy {
|
|
|
6575
7321
|
private readonly defaultVariant;
|
|
6576
7322
|
private readonly defaultAliveOnHover;
|
|
6577
7323
|
protected readonly closeIconName: string;
|
|
7324
|
+
appearance: DasarToastAppearanceType;
|
|
6578
7325
|
item: DasarToastItem;
|
|
6579
7326
|
index: number;
|
|
6580
7327
|
labelSlot?: TemplateRef<DasarToastContext>;
|
|
@@ -6603,6 +7350,10 @@ export declare class DasarToast implements OnInit, OnChanges, OnDestroy {
|
|
|
6603
7350
|
private finishLeave;
|
|
6604
7351
|
static ɵfac: i0.ɵɵFactoryDeclaration<DasarToast, never>;
|
|
6605
7352
|
static ɵcmp: i0.ɵɵComponentDeclaration<DasarToast, "dasar-toast", never, {
|
|
7353
|
+
"appearance": {
|
|
7354
|
+
"alias": "appearance";
|
|
7355
|
+
"required": false;
|
|
7356
|
+
};
|
|
6606
7357
|
"item": {
|
|
6607
7358
|
"alias": "item";
|
|
6608
7359
|
"required": true;
|
|
@@ -6747,10 +7498,42 @@ export declare class DasarThemeProviderComponent implements OnChanges {
|
|
|
6747
7498
|
};
|
|
6748
7499
|
}, {}, never, ["*"], true, never>;
|
|
6749
7500
|
}
|
|
7501
|
+
export declare class DasarRippleDirective {
|
|
7502
|
+
private readonly elementRef;
|
|
7503
|
+
private readonly renderer;
|
|
7504
|
+
private readonly destroyRef;
|
|
7505
|
+
private readonly document;
|
|
7506
|
+
private readonly platformId;
|
|
7507
|
+
private readonly host;
|
|
7508
|
+
private readonly listenerCleanups;
|
|
7509
|
+
private readonly rippleCleanups;
|
|
7510
|
+
private readonly originalPosition;
|
|
7511
|
+
private readonly originalPositionPriority;
|
|
7512
|
+
private readonly originalOverflow;
|
|
7513
|
+
private readonly originalOverflowPriority;
|
|
7514
|
+
private readonly originalHoverAttribute;
|
|
7515
|
+
private readonly addedHostClass;
|
|
7516
|
+
constructor();
|
|
7517
|
+
private ensureStyles;
|
|
7518
|
+
private prepareHostStyles;
|
|
7519
|
+
private listen;
|
|
7520
|
+
private setHoverState;
|
|
7521
|
+
private createRipple;
|
|
7522
|
+
private cleanup;
|
|
7523
|
+
private restoreStyle;
|
|
7524
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarRippleDirective, never>;
|
|
7525
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarRippleDirective, "[dasarRipple]", never, {}, {}, never, never, true, never>;
|
|
7526
|
+
}
|
|
6750
7527
|
export declare const commonMap: Record<keyof DasarThemeCommon$1, string>;
|
|
6751
7528
|
export declare const buttonMap: Record<keyof DasarThemeButton$1, string>;
|
|
7529
|
+
export declare const rippleMap: Record<keyof DasarThemeRipple$1, string>;
|
|
6752
7530
|
export declare const buttonGroupMap: Record<keyof DasarThemeButtonGroup$1, string>;
|
|
6753
7531
|
export declare const inputMap: Record<keyof DasarThemeInput$1, string>;
|
|
7532
|
+
export declare const textareaMap: Record<keyof DasarThemeTextarea$1, string>;
|
|
7533
|
+
export declare const sliderMap: Record<keyof DasarThemeSlider$1, string>;
|
|
7534
|
+
export declare const pinMap: Record<keyof DasarThemePin$1, string>;
|
|
7535
|
+
export declare const toggleMap: Record<keyof DasarThemeToggle$1, string>;
|
|
7536
|
+
export declare const tooltipMap: Record<keyof DasarThemeTooltip$1, string>;
|
|
6754
7537
|
export declare const calendarMap: Record<keyof DasarThemeCalendar$1, string>;
|
|
6755
7538
|
export declare const datepickerMap: Record<keyof DasarThemeDatepicker$1, string>;
|
|
6756
7539
|
export declare const chipMap: Record<keyof DasarThemeChip$1, string>;
|