@aaamb/ngx-design-system 1.2.0 → 1.3.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.
@@ -8,7 +8,8 @@
8
8
  background-color: white;
9
9
  }
10
10
 
11
- .ant-picker-cell:hover {
11
+ .ant-picker-week-panel-row:not(.ant-picker-week-panel-row-selected)
12
+ .ant-picker-cell:hover {
12
13
  .ant-picker-cell-inner {
13
14
  background-color: #ddf0ef !important;
14
15
  color: #0b645c !important;
@@ -131,7 +132,13 @@
131
132
  color: #014744;
132
133
  }
133
134
 
134
- .ant-picker-cell:hover .ant-picker-cell-inner {
135
+ .ant-picker-week-panel-row:not(.ant-picker-week-panel-row-selected)
136
+ .ant-picker-cell:hover
137
+ .ant-picker-cell-inner {
138
+ color: #0b645c !important;
139
+ }
140
+
141
+ .ant-picker-week-panel-row-selected .ant-picker-cell-inner {
135
142
  color: white !important;
136
143
  }
137
144
 
@@ -589,6 +589,59 @@ declare class InputRangepickerComponent implements ControlValueAccessor {
589
589
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<InputRangepickerComponent, "ads-input-rangepicker", never, { "isPickerDisabled": { "alias": "isPickerDisabled"; "required": false; "isSignal": true; }; "rangePickerPlaceholder": { "alias": "rangePickerPlaceholder"; "required": false; "isSignal": true; }; "hasError": { "alias": "hasError"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "allowFutureDates": { "alias": "allowFutureDates"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
590
590
  }
591
591
 
592
+ declare class InputWeekpickerComponent implements ControlValueAccessor {
593
+ private elementRef;
594
+ isPickerDisabled: _angular_core.InputSignal<boolean>;
595
+ weekPickerPlaceholder: _angular_core.InputSignal<string>;
596
+ hasError: _angular_core.InputSignal<boolean>;
597
+ errorMessage: _angular_core.InputSignal<string>;
598
+ isDatePickerOpen: boolean;
599
+ selectedWeek: _angular_core.WritableSignal<string>;
600
+ selectedWeekRange: _angular_core.WritableSignal<[Date, Date]>;
601
+ invalidInput: _angular_core.WritableSignal<boolean>;
602
+ futureDatesAllowed: _angular_core.InputSignal<boolean>;
603
+ label: _angular_core.InputSignal<string>;
604
+ datePickerRef: any;
605
+ private cvaDisabled;
606
+ private onChange;
607
+ private onTouched;
608
+ basicClass: string;
609
+ isDisabled(): boolean;
610
+ activeInputClass(): string;
611
+ errorActiveClass(): string;
612
+ inputStateClass(): string;
613
+ onInputValue(value: any): void;
614
+ onInputTextChange(text: string): void;
615
+ private normalizeToUsRangeFormat;
616
+ private parseRange;
617
+ private toDateRange;
618
+ private parseDate;
619
+ private formatDate;
620
+ private toDate;
621
+ private isIsoDateString;
622
+ private getISOWeek;
623
+ private getISOYear;
624
+ private getDateFromISOWeek;
625
+ openDatePicker(): void;
626
+ onOpenChange(isOpen: boolean): void;
627
+ onInputBlur(): void;
628
+ onInputKeyDown(event: KeyboardEvent): void;
629
+ private clearSelection;
630
+ writeValue(value: unknown): void;
631
+ hasVisualError(): boolean;
632
+ resolvedErrorMessage(): string;
633
+ registerOnChange(fn: (value: string) => void): void;
634
+ registerOnTouched(fn: () => void): void;
635
+ setDisabledState(isDisabled: boolean): void;
636
+ onDocumentClick(event: MouseEvent): void;
637
+ disabledDate: (current: Date) => boolean;
638
+ private isFutureDate;
639
+ private hasFutureDateInRange;
640
+ constructor(elementRef: ElementRef);
641
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<InputWeekpickerComponent, never>;
642
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<InputWeekpickerComponent, "ads-input-weekpicker", never, { "isPickerDisabled": { "alias": "isPickerDisabled"; "required": false; "isSignal": true; }; "weekPickerPlaceholder": { "alias": "weekPickerPlaceholder"; "required": false; "isSignal": true; }; "hasError": { "alias": "hasError"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "futureDatesAllowed": { "alias": "futureDatesAllowed"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
643
+ }
644
+
592
645
  declare class DatepickerSelectorComponent implements ControlValueAccessor {
593
646
  private elementRef;
594
647
  isPickerDisabled: _angular_core.InputSignal<boolean>;
@@ -1075,5 +1128,5 @@ declare class TableComponent {
1075
1128
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableComponent, "ads-table", never, { "table": { "alias": "table"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "selectedSortingHeader": { "alias": "selectedSortingHeader"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "showButtons": { "alias": "showButtons"; "required": false; }; "allContentLeft": { "alias": "allContentLeft"; "required": false; }; "totalRegisters": { "alias": "totalRegisters"; "required": false; }; "areColumnsDraggable": { "alias": "areColumnsDraggable"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "totalPages": { "alias": "totalPages"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "enableMultiSort": { "alias": "enableMultiSort"; "required": false; }; "multiSortCriteria": { "alias": "multiSortCriteria"; "required": false; }; "actionButtons": { "alias": "actionButtons"; "required": false; }; "statusStateStyles": { "alias": "statusStateStyles"; "required": false; }; "activeStateStyles": { "alias": "activeStateStyles"; "required": false; }; }, { "sortEvent": "sortEvent"; "columnOrderChange": "columnOrderChange"; "pageChange": "pageChange"; "columnSizingChange": "columnSizingChange"; "pageSizeChange": "pageSizeChange"; "multiSortEvent": "multiSortEvent"; }, never, never, true, never>;
1076
1129
  }
1077
1130
 
1078
- export { ButtonComponent, CheckboxComponent, DatepickerSelectorComponent, DelicateConfirmationModalComponent, FeedbackModalComponent, FilterButtonComponent, HelpModalComponent, ICONS, IconComponent, InformationModalComponent, InputComponent, InputDatepickerComponent, InputRangepickerComponent, MainModalComponent, MultipleSelectorComponent, NotificationModalComponent, SideNavComponent, SingleSelectorComponent, SnackbarComponent, StateComponent, TableComponent, TabsComponent, containerShapes, stateBackgroundColors, stateBorderColors, stateTextColors };
1131
+ 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 };
1079
1132
  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 };