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