@aaamb/ngx-design-system 1.3.7 → 1.3.9
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.
|
@@ -197,6 +197,7 @@ type AdsCheckboxLabelPosition = 'left' | 'right';
|
|
|
197
197
|
type AdsCheckboxLabelColor = 'green' | 'white';
|
|
198
198
|
type PaymentCardBrand = 'visa' | 'mastercard' | 'amex' | 'discover' | 'icon_card';
|
|
199
199
|
type PickerMode = 'annually' | 'monthly' | 'weekly' | 'quarterly' | 'daily';
|
|
200
|
+
type DatepickerSelectorButtonLabelMode = 'option' | 'selection';
|
|
200
201
|
type PickerOption = {
|
|
201
202
|
mode: PickerMode;
|
|
202
203
|
label: string;
|
|
@@ -653,6 +654,7 @@ declare class DatepickerSelectorComponent implements ControlValueAccessor {
|
|
|
653
654
|
buttonColor: _angular_core.InputSignal<AdsButtonColor>;
|
|
654
655
|
buttonOnlyIconButton: _angular_core.InputSignal<boolean>;
|
|
655
656
|
buttonIcon: _angular_core.InputSignal<"search" | "add_square" | "administrator_solid" | "arrow_right" | "blood_type" | "chart_bars" | "chart_grid" | "book" | "bookmark" | "branchs" | "building" | "calendar" | "calendar_check" | "chat" | "error" | "check" | "check_list" | "controller_frame" | "copy" | "delete" | "delete_trash" | "device_add" | "document" | "document_upload" | "download_rounded" | "edit" | "edit_calendar" | "eye" | "folder_management" | "group" | "hamburger" | "hide" | "history_rounded" | "home" | "home_solid" | "ia_agent" | "info" | "lightbulb" | "medical_user" | "menu_list" | "microphone" | "minus" | "move_down" | "open" | "paper_edit" | "pause" | "people" | "play" | "plus" | "queue_play" | "receipt" | "replay" | "reset_settings" | "scanner" | "settings" | "sharp" | "sorting" | "stop" | "table" | "tune" | "upload_file" | "upload_rounded" | "user" | "user_key" | "users" | "vital_sign" | "warning" | "icon_card" | "mastercard" | "visa" | "amex" | "discover" | "toggle_active" | "toggle_inactive" | "dolar_sign">;
|
|
657
|
+
buttonLabelMode: _angular_core.InputSignal<DatepickerSelectorButtonLabelMode>;
|
|
656
658
|
selectorTriggerRef?: ElementRef<HTMLButtonElement>;
|
|
657
659
|
readonly dateOptions: {
|
|
658
660
|
readonly annually: "annually";
|
|
@@ -666,7 +668,9 @@ declare class DatepickerSelectorComponent implements ControlValueAccessor {
|
|
|
666
668
|
readonly hoveredTimeFrame: _angular_core.WritableSignal<PickerMode>;
|
|
667
669
|
readonly isSelectorOpen: _angular_core.WritableSignal<boolean>;
|
|
668
670
|
readonly openToLeft: _angular_core.WritableSignal<boolean>;
|
|
671
|
+
readonly selectedDate: _angular_core.WritableSignal<Date>;
|
|
669
672
|
readonly currentTimeFrameLabel: _angular_core.Signal<string>;
|
|
673
|
+
readonly buttonLabel: _angular_core.Signal<string>;
|
|
670
674
|
readonly activePreviewTimeFrame: _angular_core.Signal<PickerMode>;
|
|
671
675
|
date: Date | null;
|
|
672
676
|
private cvaDisabled;
|
|
@@ -679,6 +683,8 @@ declare class DatepickerSelectorComponent implements ControlValueAccessor {
|
|
|
679
683
|
previewTimeFrame(mode: PickerMode): void;
|
|
680
684
|
clearPreview(): void;
|
|
681
685
|
onDateChange(mode: PickerMode, value: Date | null): void;
|
|
686
|
+
private formatSelectionLabel;
|
|
687
|
+
private formatNumericDate;
|
|
682
688
|
private normalizeDateByMode;
|
|
683
689
|
private getStartOfWeek;
|
|
684
690
|
private toDate;
|
|
@@ -693,7 +699,7 @@ declare class DatepickerSelectorComponent implements ControlValueAccessor {
|
|
|
693
699
|
setDisabledState(isDisabled: boolean): void;
|
|
694
700
|
onDocumentClick(event: MouseEvent): void;
|
|
695
701
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DatepickerSelectorComponent, never>;
|
|
696
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DatepickerSelectorComponent, "ads-datepicker-selector", never, { "isPickerDisabled": { "alias": "isPickerDisabled"; "required": false; "isSignal": true; }; "buttonVariant": { "alias": "buttonVariant"; "required": false; "isSignal": true; }; "buttonColor": { "alias": "buttonColor"; "required": false; "isSignal": true; }; "buttonOnlyIconButton": { "alias": "buttonOnlyIconButton"; "required": false; "isSignal": true; }; "buttonIcon": { "alias": "buttonIcon"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
702
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DatepickerSelectorComponent, "ads-datepicker-selector", never, { "isPickerDisabled": { "alias": "isPickerDisabled"; "required": false; "isSignal": true; }; "buttonVariant": { "alias": "buttonVariant"; "required": false; "isSignal": true; }; "buttonColor": { "alias": "buttonColor"; "required": false; "isSignal": true; }; "buttonOnlyIconButton": { "alias": "buttonOnlyIconButton"; "required": false; "isSignal": true; }; "buttonIcon": { "alias": "buttonIcon"; "required": false; "isSignal": true; }; "buttonLabelMode": { "alias": "buttonLabelMode"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
697
703
|
}
|
|
698
704
|
|
|
699
705
|
declare class FilterButtonComponent {
|
|
@@ -1133,4 +1139,4 @@ declare class TableComponent {
|
|
|
1133
1139
|
}
|
|
1134
1140
|
|
|
1135
1141
|
export { ButtonComponent, CheckboxComponent, DatepickerSelectorComponent, DelicateConfirmationModalComponent, FeedbackModalComponent, FilterButtonComponent, HelpModalComponent, ICONS, IconComponent, InformationModalComponent, InputComponent, InputDatepickerComponent, InputRangepickerComponent, InputWeekpickerComponent, MainModalComponent, MultipleSelectorComponent, NotificationModalComponent, SideNavComponent, SingleSelectorComponent, SnackbarComponent, StateComponent, TableComponent, TabsComponent, containerShapes, stateBackgroundColors, stateBorderColors, stateTextColors };
|
|
1136
|
-
export type { AdsButtonColor, AdsButtonType, AdsButtonVariant, AdsCheckboxAppearance, AdsCheckboxLabelColor, AdsCheckboxLabelPosition, AdsFilterButtonOption, AdsFilterButtonRow, AdsFilterButtonSortDirection, AdsFilterButtonSortRow, AdsFilterButtonValueType, AdsIconName, AdsInputType, AdsMainModalAction, AdsMainModalActionsAlign, AdsMultipleSelectorAsyncOptions, AdsMultipleSelectorOption, AdsMultipleSelectorOptionGroup, AdsMultipleSelectorOptionOrGroup, AdsMultipleSelectorValue, AdsSideNavChildOption, AdsSideNavFooterButton, AdsSideNavOption, AdsSideNavRoute, AdsSingleSelectorAsyncOptions, AdsSingleSelectorOption, AdsSingleSelectorOptionGroup, AdsSingleSelectorOptionOrGroup, AdsSingleSelectorValue, FeedbackPayload, FeedbackResponseType, PaymentCardBrand, PickerMode, PickerOption, SnackbarAlert, SnackbarAlertType, StoryTable, StoryTableCell, StoryTableCellContext, StoryTableColumn, StoryTableHeader, StoryTableRow, StoryTableRowData, Tab, TableActionButton, TableDragDropEvent, TablePropertyType, TableSortCriterion, TableSortDirection, TableStateStyle, TableStateStylesMap };
|
|
1142
|
+
export type { AdsButtonColor, AdsButtonType, AdsButtonVariant, AdsCheckboxAppearance, AdsCheckboxLabelColor, AdsCheckboxLabelPosition, AdsFilterButtonOption, AdsFilterButtonRow, AdsFilterButtonSortDirection, AdsFilterButtonSortRow, AdsFilterButtonValueType, AdsIconName, AdsInputType, AdsMainModalAction, AdsMainModalActionsAlign, AdsMultipleSelectorAsyncOptions, AdsMultipleSelectorOption, AdsMultipleSelectorOptionGroup, AdsMultipleSelectorOptionOrGroup, AdsMultipleSelectorValue, AdsSideNavChildOption, AdsSideNavFooterButton, AdsSideNavOption, AdsSideNavRoute, AdsSingleSelectorAsyncOptions, AdsSingleSelectorOption, AdsSingleSelectorOptionGroup, AdsSingleSelectorOptionOrGroup, AdsSingleSelectorValue, DatepickerSelectorButtonLabelMode, FeedbackPayload, FeedbackResponseType, PaymentCardBrand, PickerMode, PickerOption, SnackbarAlert, SnackbarAlertType, StoryTable, StoryTableCell, StoryTableCellContext, StoryTableColumn, StoryTableHeader, StoryTableRow, StoryTableRowData, Tab, TableActionButton, TableDragDropEvent, TablePropertyType, TableSortCriterion, TableSortDirection, TableStateStyle, TableStateStylesMap };
|