@kksdev/ds-angular 1.8.2 → 1.10.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/index.d.ts
CHANGED
|
@@ -6091,6 +6091,8 @@ interface CalendarEvent {
|
|
|
6091
6091
|
date: Date;
|
|
6092
6092
|
title: string;
|
|
6093
6093
|
type?: 'default' | 'success' | 'warning' | 'error';
|
|
6094
|
+
/** Couleur custom (hex, rgb, etc.) - prioritaire sur type */
|
|
6095
|
+
color?: string;
|
|
6094
6096
|
}
|
|
6095
6097
|
/**
|
|
6096
6098
|
* Mode d'affichage du calendrier
|
|
@@ -6990,6 +6992,17 @@ interface NavListItem {
|
|
|
6990
6992
|
/** Données personnalisées attachées à l'item */
|
|
6991
6993
|
data?: unknown;
|
|
6992
6994
|
}
|
|
6995
|
+
/**
|
|
6996
|
+
* Action dans le header d'un groupe (bouton icône).
|
|
6997
|
+
*/
|
|
6998
|
+
interface NavListHeaderAction {
|
|
6999
|
+
/** Icône FontAwesome du bouton */
|
|
7000
|
+
icon: IconDefinition;
|
|
7001
|
+
/** Label d'accessibilité (aria-label) */
|
|
7002
|
+
ariaLabel: string;
|
|
7003
|
+
/** Tooltip au survol */
|
|
7004
|
+
tooltip?: string;
|
|
7005
|
+
}
|
|
6993
7006
|
/**
|
|
6994
7007
|
* Groupe d'items avec titre optionnel.
|
|
6995
7008
|
* Permet d'organiser les items en sections (Sources, Filtres, etc.)
|
|
@@ -7005,6 +7018,8 @@ interface NavListGroup {
|
|
|
7005
7018
|
collapsible?: boolean;
|
|
7006
7019
|
/** État initial replié (si collapsible) */
|
|
7007
7020
|
collapsed?: boolean;
|
|
7021
|
+
/** Action dans le header (bouton icône) */
|
|
7022
|
+
headerAction?: NavListHeaderAction;
|
|
7008
7023
|
}
|
|
7009
7024
|
/**
|
|
7010
7025
|
* Événement émis lors du clic sur un item.
|
|
@@ -7026,6 +7041,15 @@ interface NavListGroupToggleEvent {
|
|
|
7026
7041
|
/** Nouvel état (true = collapsed) */
|
|
7027
7042
|
collapsed: boolean;
|
|
7028
7043
|
}
|
|
7044
|
+
/**
|
|
7045
|
+
* Événement émis lors du clic sur l'action d'un groupe.
|
|
7046
|
+
*/
|
|
7047
|
+
interface NavListGroupActionEvent {
|
|
7048
|
+
/** Groupe concerné */
|
|
7049
|
+
group: NavListGroup;
|
|
7050
|
+
/** Événement souris original */
|
|
7051
|
+
event: MouseEvent;
|
|
7052
|
+
}
|
|
7029
7053
|
|
|
7030
7054
|
/**
|
|
7031
7055
|
* # DsNavList
|
|
@@ -7072,6 +7096,8 @@ declare class DsNavList {
|
|
|
7072
7096
|
readonly itemClick: _angular_core.OutputEmitterRef<NavListItemClickEvent>;
|
|
7073
7097
|
/** Émis lors du toggle d'un groupe */
|
|
7074
7098
|
readonly groupToggle: _angular_core.OutputEmitterRef<NavListGroupToggleEvent>;
|
|
7099
|
+
/** Émis lors du clic sur l'action d'un groupe */
|
|
7100
|
+
readonly groupAction: _angular_core.OutputEmitterRef<NavListGroupActionEvent>;
|
|
7075
7101
|
protected readonly faChevronDown: _fortawesome_fontawesome_common_types.IconDefinition;
|
|
7076
7102
|
protected readonly faChevronRight: _fortawesome_fontawesome_common_types.IconDefinition;
|
|
7077
7103
|
/** IDs des groupes collapsed */
|
|
@@ -7103,8 +7129,12 @@ declare class DsNavList {
|
|
|
7103
7129
|
* Retourne les classes CSS pour un item
|
|
7104
7130
|
*/
|
|
7105
7131
|
getItemClasses(item: NavListItem): string;
|
|
7132
|
+
/**
|
|
7133
|
+
* Gère le clic sur l'action d'un groupe
|
|
7134
|
+
*/
|
|
7135
|
+
handleGroupAction(group: NavListGroup, event: MouseEvent): void;
|
|
7106
7136
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DsNavList, never>;
|
|
7107
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DsNavList, "ds-nav-list", never, { "groups": { "alias": "groups"; "required": true; "isSignal": true; }; "activeItemId": { "alias": "activeItemId"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "itemClick": "itemClick"; "groupToggle": "groupToggle"; }, never, never, true, never>;
|
|
7137
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DsNavList, "ds-nav-list", never, { "groups": { "alias": "groups"; "required": true; "isSignal": true; }; "activeItemId": { "alias": "activeItemId"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "itemClick": "itemClick"; "groupToggle": "groupToggle"; "groupAction": "groupAction"; }, never, never, true, never>;
|
|
7108
7138
|
}
|
|
7109
7139
|
|
|
7110
7140
|
/**
|
|
@@ -8318,4 +8348,4 @@ declare function generateId(): string;
|
|
|
8318
8348
|
declare function generateShortId(prefix?: string): string;
|
|
8319
8349
|
|
|
8320
8350
|
export { AUTOCOMPLETE_POSITIONS, DROPDOWN_POSITIONS, DROPDOWN_POSITIONS_RIGHT, DROPDOWN_POSITIONS_TOP, DsAccordion, DsAccordionItem, DsAlert, DsAvatar, DsBadge, DsBreadcrumb, DsButton, DsCalendar, DsCard, DsCarousel, DsCheckbox, DsCheckboxList, DsChip, DsColorPicker, DsCombobox, DsContainer, DsDatePicker, DsDivider, DsDrawer, DsDropdown, DsEmpty, DsEntityChip, DsEntityPicker, DsFileUpload, DsI18nService, DsInputField, DsInputNumber, DsInputTextarea, DsList, DsListGroup, DsListItem, DsMenu, DsModalComponent, DsNavList, DsNotificationContainerComponent, DsNotificationItemComponent, DsNotificationService, DsPagination, DsPasswordStrength, DsPopover, DsPopoverComponent, DsProgressBar, DsRadioGroup, DsRating, DsSearchInput, DsSegmentedControl, DsSelect, DsSidebar, DsSidebarFooterItemComponent, DsSidebarItemComponent, DsSkeleton, DsSlider, DsStepper, DsTable, DsTabs, DsTimePicker, DsTimeline, DsToastComponent, DsToastContainerComponent, DsToastService, DsToggle, DsTooltip, DsTooltipComponent, DsTransfer, DsTree, IconRegistryService, POPOVER_POSITIONS, PrimitiveBadge, PrimitiveButton, PrimitiveCheckbox, PrimitiveInput, PrimitiveRadio, PrimitiveTextarea, PrimitiveToggle, SIDEBAR_POPOVER_POSITIONS_LEFT, SIDEBAR_POPOVER_POSITIONS_RIGHT, TOOLTIP_POSITIONS, generateId, generateShortId };
|
|
8321
|
-
export type { AccordionChangeEvent, AccordionItem, AccordionSize, AccordionVariant, AlertSize, AlertType, AvatarShape, AvatarSize, BadgeAppearance, BadgeShape, BadgeSize, BadgeType, BadgeVariant, BreadcrumbItem, ButtonAppearance, ButtonSize, ButtonType, ButtonVariant, CalendarEvent, CalendarMode, CalendarSize, CardSize, CardVariant, CarouselDotsPosition, CarouselEffect, CarouselSlide, CheckboxListChangeEvent, CheckboxListItem, CheckboxListItemChangeEvent, CheckboxListSize, CheckboxSize, CheckboxState, ChipColor, ChipSize, ChipVariant, ColorFormat, ColorPickerSize, ContainerGutter, ContainerMaxWidth, DatePickerMode, DatePickerSize, DateRange, DividerLabelPosition, DividerOrientation, DividerSize, DividerVariant, DrawerPosition, DrawerSize, DropdownItem, DropdownItemDTO, DropdownPosition, DsComboboxOption, DsComboboxSize, DsEntityOption, DsEntityPickerDisplayMode, DsEntityPickerSize, DsSelectOption, DsSelectSize, DsTableColumn, DsTableSize, DsTableVariant, EmptySize, FileUploadSize, FlattenedSidebarItem, HSLColor, I18nLabels, InputAppearance, InputNumberControlsPosition, InputNumberSize, InputSize, InputState, InputType, ListDragEvent, ListEmptyConfig, ListGroupToggleEvent, ListGroupVariant, ListItemCheckEvent, ListItemClickEvent, ListItemIndicator, ListItemIndicatorColor, ListItemSize, ListSelectionChangeEvent, ListSize, ListVariant, MenuItem, MenuSize, MenuTrigger, NavListBadgeVariant, NavListGroup, NavListGroupToggleEvent, NavListItem, NavListItemClickEvent, NavListSize, NotificationAction, NotificationConfig, NotificationItem, NotificationPlacement, PageChangeEvent, PageSizeOption, PaginationSize, PasswordCriterion, PasswordStrength, PasswordStrengthSize, PopoverTrigger, ProgressBarMode, ProgressBarSize, ProgressBarVariant, RGBColor, RadioGroupLayout, RadioOption, RadioSize, RatingSize, SearchInputSize, SegmentOption, SegmentedControlColor, SegmentedControlOrientation, SegmentedControlSize, SidebarBadgeVariant, SidebarCollapsedTrigger, SidebarItem, SidebarItemClickEvent, SidebarItemExpandEvent, SidebarMode, SidebarPosition, SidebarSize, SkeletonSize, SkeletonVariant, SliderOrientation, SliderSize, SliderValue, SortDirection, SortEvent, Step, StepChangeEvent, StepState, StepperOrientation, StepperSize, SupportedLocale, TabItem, TableState, TextareaAppearance, TextareaResize, TextareaSize, TextareaState, TimeFormat, TimePickerSize, TimeValue, TimelineColor, TimelineItem, TimelineItemClickEvent, TimelineMode, TimelineSize, ToastInstance, ToastOptions, ToastPosition, ToastType, ToggleSize, TransferChangeEvent, TransferDirection, TransferItem, TransferSize, TreeNode, TreeNodeCheckEvent, TreeNodeExpandEvent, TreeNodeSelectEvent, TreeSize, UploadFile };
|
|
8351
|
+
export type { AccordionChangeEvent, AccordionItem, AccordionSize, AccordionVariant, AlertSize, AlertType, AvatarShape, AvatarSize, BadgeAppearance, BadgeShape, BadgeSize, BadgeType, BadgeVariant, BreadcrumbItem, ButtonAppearance, ButtonSize, ButtonType, ButtonVariant, CalendarEvent, CalendarMode, CalendarSize, CardSize, CardVariant, CarouselDotsPosition, CarouselEffect, CarouselSlide, CheckboxListChangeEvent, CheckboxListItem, CheckboxListItemChangeEvent, CheckboxListSize, CheckboxSize, CheckboxState, ChipColor, ChipSize, ChipVariant, ColorFormat, ColorPickerSize, ContainerGutter, ContainerMaxWidth, DatePickerMode, DatePickerSize, DateRange, DividerLabelPosition, DividerOrientation, DividerSize, DividerVariant, DrawerPosition, DrawerSize, DropdownItem, DropdownItemDTO, DropdownPosition, DsComboboxOption, DsComboboxSize, DsEntityOption, DsEntityPickerDisplayMode, DsEntityPickerSize, DsSelectOption, DsSelectSize, DsTableColumn, DsTableSize, DsTableVariant, EmptySize, FileUploadSize, FlattenedSidebarItem, HSLColor, I18nLabels, InputAppearance, InputNumberControlsPosition, InputNumberSize, InputSize, InputState, InputType, ListDragEvent, ListEmptyConfig, ListGroupToggleEvent, ListGroupVariant, ListItemCheckEvent, ListItemClickEvent, ListItemIndicator, ListItemIndicatorColor, ListItemSize, ListSelectionChangeEvent, ListSize, ListVariant, MenuItem, MenuSize, MenuTrigger, NavListBadgeVariant, NavListGroup, NavListGroupActionEvent, NavListGroupToggleEvent, NavListHeaderAction, NavListItem, NavListItemClickEvent, NavListSize, NotificationAction, NotificationConfig, NotificationItem, NotificationPlacement, PageChangeEvent, PageSizeOption, PaginationSize, PasswordCriterion, PasswordStrength, PasswordStrengthSize, PopoverTrigger, ProgressBarMode, ProgressBarSize, ProgressBarVariant, RGBColor, RadioGroupLayout, RadioOption, RadioSize, RatingSize, SearchInputSize, SegmentOption, SegmentedControlColor, SegmentedControlOrientation, SegmentedControlSize, SidebarBadgeVariant, SidebarCollapsedTrigger, SidebarItem, SidebarItemClickEvent, SidebarItemExpandEvent, SidebarMode, SidebarPosition, SidebarSize, SkeletonSize, SkeletonVariant, SliderOrientation, SliderSize, SliderValue, SortDirection, SortEvent, Step, StepChangeEvent, StepState, StepperOrientation, StepperSize, SupportedLocale, TabItem, TableState, TextareaAppearance, TextareaResize, TextareaSize, TextareaState, TimeFormat, TimePickerSize, TimeValue, TimelineColor, TimelineItem, TimelineItemClickEvent, TimelineMode, TimelineSize, ToastInstance, ToastOptions, ToastPosition, ToastType, ToggleSize, TransferChangeEvent, TransferDirection, TransferItem, TransferSize, TreeNode, TreeNodeCheckEvent, TreeNodeExpandEvent, TreeNodeSelectEvent, TreeSize, UploadFile };
|
package/package.json
CHANGED