sapenlinea-components 0.12.98 → 0.13.99

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
@@ -1551,7 +1551,7 @@ declare class Button {
1551
1551
  /** Ocupa todo el ancho del contenedor */
1552
1552
  fullWidth: _angular_core.InputSignal<boolean>;
1553
1553
  /** Tamaño del botón: por defecto (grande) o compacto */
1554
- size: _angular_core.InputSignal<"default" | "compact">;
1554
+ size: _angular_core.InputSignal<"compact" | "default">;
1555
1555
  /** Evento click del botón */
1556
1556
  clicked: _angular_core.OutputEmitterRef<MouseEvent>;
1557
1557
  handleClick(event: MouseEvent): void;
@@ -2390,7 +2390,7 @@ declare class CardHistory {
2390
2390
  historialEntry: _angular_core.InputSignal<HistorialEntry | undefined>;
2391
2391
  isExpanded: _angular_core.WritableSignal<boolean>;
2392
2392
  withResponsible: _angular_core.InputSignal<boolean>;
2393
- variant: _angular_core.InputSignal<"history" | "default">;
2393
+ variant: _angular_core.InputSignal<"default" | "history">;
2394
2394
  private months;
2395
2395
  toggleExpanded(): void;
2396
2396
  formatDate(isoDate: string): string;
@@ -2846,5 +2846,106 @@ declare class SidebarService {
2846
2846
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<SidebarService>;
2847
2847
  }
2848
2848
 
2849
- export { BarChart, BaseChart, Button, ButtonCards, CARD_BG, CSS_ICON_CATALOG, CardContent, CardHistory, ColorPicker, Colors, DEFAULT_ICON_PICKER_ICONS, DEFAULT_MODULE_ICONS, DEFAULT_ROLE_COLORS, DateTimeFilter, DateTimePicker, DevicesCarousel, DialogAlertComponent, DialogConfirmation, DocumentItem, DocumentUpload, DonutChart, DynamicFormFields, FeatureCard, Footer, GeoAPIMaps, Heatmap, IconPicker, InfoGroup, Input, InputNumberFilter, InputSelectFilter, InputTextFilter, InputTimeFilter, KpiCard, LUCIDE_ICON_CATALOG, LineChart, LoadImage, Loader, MapGeo, ModalForm, ModuleCard, ModuleCardList, NotFoundModal, NotFoundSection, NotificationModal, OptionCard, PaginationComponent, PdfViewer, PdfViewerService, ProcessingOverlay, ProgressBar, ProgressFormService, QuickAccessCards, RolCard, SelectCustomSearch, SideCard, SideCardDetail, Sidebar, SidebarService, Signature, TOAST_EVENTS, Table, TableChart, Tabs, TitleFilters, Toast, ToastHelper, ToastService, ToggleCustom, UI_CHART_TOKENS, WizardForm, buildChildGridTemplateColumns, filterVisibleSidebarItems, getCssIconClass, getIconPickerOptionLabel, getInitialOpenState, getLucideIconName, getModuleChildOrder, getTableMinWidth, isLucideIconValue, isMultilineHeaderLabel, mapModuleDataToSidebarItems, markActiveSidebarItems, parseIconPickerValue, resolveIconKind, resolveModuleChildren, resolveTableColumnLayout, submoduleOpenKey, toIconPickerStoredValue, toLucidePascalCase };
2850
- export type { ApplicativoEvent, BarSeries, CardBgPreset, ChartItem, ColumnGroup, ColumnGroupItem, ColumnWidthProfile, DataCard, DateFilterSelection, DateTimeMode, DeviceCard, DeviceStatus, DialogItem, DocumentInfo, Feature, FeatureType, FieldConfig, FileViewerDoc, FileViewerType, FilterItem, FilterOption, FilterType, GeoMapResponse, GeoPoint, GeoPointCameras, HeatmapConfig, HeatmapDataItem, HistorialEntry, Hour12, IconPickerOption, InfoItem, KpiColorType, LineSeries, MeasurementUnit, ModalFormStep, ModuleApplicativo, ModuleCardAction, ModuleChildRef, ModuleChildType, ModuleData, ModuleEvent, ModuleSubmodule, OpcionButtonVariant, Option, QuickAccessItem, ResolvedModuleChild, ResolvedTableColumnLayout, SectionConfig, SelectedDatesMap, SideCardItem, SideCardSection, SidebarItemClickEvent, SidebarItemLevel, SidebarMenuItem, SidebarNavigateEvent, SidebarRouteResolver, SidebarUserActionEvent, StatusTone, StatusToneMap, SubColumn, SubmoduleEvent, TabCardConfig, TabId, TabItem, TabSearchConfig, TabTogglesConfig, TableAction, TableColumn, TableIconButtonConfig, TableRow, TitleFilterConfig, ToastData, ToggleCustomChange, ToggleCustomKey };
2849
+ interface LibNotification {
2850
+ id: string;
2851
+ title: string;
2852
+ description: string;
2853
+ category: string;
2854
+ timeAgo: string;
2855
+ isRead: boolean;
2856
+ }
2857
+ type CategoryKey = 'acuerdos' | 'financiero' | 'infracciones' | 'sistema' | 'default';
2858
+ declare class NotificationCenter {
2859
+ notifications: _angular_core.InputSignal<LibNotification[]>;
2860
+ isOpen: _angular_core.InputSignal<boolean>;
2861
+ /** Indica si hay una página de notificaciones cargándose en este momento. */
2862
+ loading: _angular_core.InputSignal<boolean>;
2863
+ /** Indica si quedan más notificaciones por cargar desde el origen. */
2864
+ hasMore: _angular_core.InputSignal<boolean>;
2865
+ markAllRead: _angular_core.OutputEmitterRef<void>;
2866
+ notificationClick: _angular_core.OutputEmitterRef<LibNotification>;
2867
+ close: _angular_core.OutputEmitterRef<void>;
2868
+ /** Se emite cuando el usuario se acerca al final de la lista y debe cargarse la siguiente página. */
2869
+ loadMore: _angular_core.OutputEmitterRef<void>;
2870
+ scrollContainer: _angular_core.Signal<ElementRef<HTMLElement> | undefined>;
2871
+ sentinel: _angular_core.Signal<ElementRef<HTMLElement> | undefined>;
2872
+ selectedCategory: _angular_core.WritableSignal<string>;
2873
+ categories: _angular_core.Signal<string[]>;
2874
+ filteredNotifications: _angular_core.Signal<LibNotification[]>;
2875
+ unreadCount: _angular_core.Signal<number>;
2876
+ private readonly lightColors;
2877
+ private readonly darkColors;
2878
+ constructor();
2879
+ selectCategory(cat: string): void;
2880
+ onMarkAllRead(): void;
2881
+ onNotificationClick(n: LibNotification): void;
2882
+ /** Etiqueta legible para una pestaña de categoría (ej. "ACUERDOS DE PAGO" -> "Acuerdos de pago"). */
2883
+ tabLabel(category: string): string;
2884
+ /** Normaliza una categoría a una de las claves conocidas para color e icono. */
2885
+ categoryKey(category: string): CategoryKey;
2886
+ getCategoryLight(category: string): string;
2887
+ getCategoryDark(category: string): string;
2888
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NotificationCenter, never>;
2889
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NotificationCenter, "lib-notification-center", never, { "notifications": { "alias": "notifications"; "required": false; "isSignal": true; }; "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "hasMore": { "alias": "hasMore"; "required": false; "isSignal": true; }; }, { "markAllRead": "markAllRead"; "notificationClick": "notificationClick"; "close": "close"; "loadMore": "loadMore"; }, never, never, true, never>;
2890
+ }
2891
+
2892
+ declare class Header {
2893
+ /**
2894
+ * Todas las entradas son opcionales para que el header funcione igual
2895
+ * como custom element, microfrontend con module-federation o dentro del
2896
+ * monolito, sin que el consumidor esté obligado a enlazar cada propiedad.
2897
+ */
2898
+ isExpanded: _angular_core.InputSignal<boolean>;
2899
+ activeTitle: _angular_core.InputSignal<string>;
2900
+ mfId: _angular_core.InputSignal<string>;
2901
+ isMfFailed: _angular_core.InputSignal<boolean>;
2902
+ userRole: _angular_core.InputSignal<string>;
2903
+ /** Lista de notificaciones a mostrar en el centro de notificaciones. */
2904
+ notifications: _angular_core.InputSignal<LibNotification[]>;
2905
+ /** Indica si se está cargando una página de notificaciones. */
2906
+ notificationsLoading: _angular_core.InputSignal<boolean>;
2907
+ /** Indica si quedan más notificaciones por cargar desde el origen. */
2908
+ notificationsHasMore: _angular_core.InputSignal<boolean>;
2909
+ navigateTo: _angular_core.OutputEmitterRef<string>;
2910
+ menuClick: _angular_core.OutputEmitterRef<void>;
2911
+ profileClick: _angular_core.OutputEmitterRef<void>;
2912
+ logoutClick: _angular_core.OutputEmitterRef<void>;
2913
+ actionClick: _angular_core.OutputEmitterRef<string>;
2914
+ /** Eventos reenviados desde el centro de notificaciones. */
2915
+ markAllRead: _angular_core.OutputEmitterRef<void>;
2916
+ notificationClick: _angular_core.OutputEmitterRef<LibNotification>;
2917
+ /** Se emite cuando debe cargarse la siguiente página de notificaciones. */
2918
+ loadMoreNotifications: _angular_core.OutputEmitterRef<void>;
2919
+ isDropdownOpen: _angular_core.WritableSignal<boolean>;
2920
+ isNotifOpen: _angular_core.WritableSignal<boolean>;
2921
+ /** Cantidad de notificaciones no leídas, derivada de la lista. */
2922
+ unreadCount: _angular_core.Signal<number>;
2923
+ onMenuClick(): void;
2924
+ toggleDropdown(): void;
2925
+ toggleNotifications(): void;
2926
+ closeNotifications(): void;
2927
+ userProfile(): void;
2928
+ logout(): void;
2929
+ getMenuIcon(): "✕" | "☰";
2930
+ goToHome(): void;
2931
+ onActionClick(): void;
2932
+ getActionLabel(): string;
2933
+ hasAction(): boolean;
2934
+ onMarkAllRead(): void;
2935
+ onNotificationItemClick(notification: LibNotification): void;
2936
+ onLoadMoreNotifications(): void;
2937
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<Header, never>;
2938
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<Header, "lib-header", never, { "isExpanded": { "alias": "isExpanded"; "required": false; "isSignal": true; }; "activeTitle": { "alias": "activeTitle"; "required": false; "isSignal": true; }; "mfId": { "alias": "mfId"; "required": false; "isSignal": true; }; "isMfFailed": { "alias": "isMfFailed"; "required": false; "isSignal": true; }; "userRole": { "alias": "userRole"; "required": false; "isSignal": true; }; "notifications": { "alias": "notifications"; "required": false; "isSignal": true; }; "notificationsLoading": { "alias": "notificationsLoading"; "required": false; "isSignal": true; }; "notificationsHasMore": { "alias": "notificationsHasMore"; "required": false; "isSignal": true; }; }, { "navigateTo": "navigateTo"; "menuClick": "menuClick"; "profileClick": "profileClick"; "logoutClick": "logoutClick"; "actionClick": "actionClick"; "markAllRead": "markAllRead"; "notificationClick": "notificationClick"; "loadMoreNotifications": "loadMoreNotifications"; }, never, never, true, never>;
2939
+ }
2940
+
2941
+ declare class BellWithBadge {
2942
+ count: _angular_core.InputSignal<number>;
2943
+ active: _angular_core.InputSignalWithTransform<boolean, unknown>;
2944
+ ariaLabel: _angular_core.InputSignal<string>;
2945
+ bellClick: _angular_core.OutputEmitterRef<void>;
2946
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BellWithBadge, never>;
2947
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BellWithBadge, "lib-bell-with-badge", never, { "count": { "alias": "count"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "bellClick": "bellClick"; }, never, never, true, never>;
2948
+ }
2949
+
2950
+ export { BarChart, BaseChart, BellWithBadge, Button, ButtonCards, CARD_BG, CSS_ICON_CATALOG, CardContent, CardHistory, ColorPicker, Colors, DEFAULT_ICON_PICKER_ICONS, DEFAULT_MODULE_ICONS, DEFAULT_ROLE_COLORS, DateTimeFilter, DateTimePicker, DevicesCarousel, DialogAlertComponent, DialogConfirmation, DocumentItem, DocumentUpload, DonutChart, DynamicFormFields, FeatureCard, Footer, GeoAPIMaps, Header, Heatmap, IconPicker, InfoGroup, Input, InputNumberFilter, InputSelectFilter, InputTextFilter, InputTimeFilter, KpiCard, LUCIDE_ICON_CATALOG, LineChart, LoadImage, Loader, MapGeo, ModalForm, ModuleCard, ModuleCardList, NotFoundModal, NotFoundSection, NotificationCenter, NotificationModal, OptionCard, PaginationComponent, PdfViewer, PdfViewerService, ProcessingOverlay, ProgressBar, ProgressFormService, QuickAccessCards, RolCard, SelectCustomSearch, SideCard, SideCardDetail, Sidebar, SidebarService, Signature, TOAST_EVENTS, Table, TableChart, Tabs, TitleFilters, Toast, ToastHelper, ToastService, ToggleCustom, UI_CHART_TOKENS, WizardForm, buildChildGridTemplateColumns, filterVisibleSidebarItems, getCssIconClass, getIconPickerOptionLabel, getInitialOpenState, getLucideIconName, getModuleChildOrder, getTableMinWidth, isLucideIconValue, isMultilineHeaderLabel, mapModuleDataToSidebarItems, markActiveSidebarItems, parseIconPickerValue, resolveIconKind, resolveModuleChildren, resolveTableColumnLayout, submoduleOpenKey, toIconPickerStoredValue, toLucidePascalCase };
2951
+ export type { ApplicativoEvent, BarSeries, CardBgPreset, ChartItem, ColumnGroup, ColumnGroupItem, ColumnWidthProfile, DataCard, DateFilterSelection, DateTimeMode, DeviceCard, DeviceStatus, DialogItem, DocumentInfo, Feature, FeatureType, FieldConfig, FileViewerDoc, FileViewerType, FilterItem, FilterOption, FilterType, GeoMapResponse, GeoPoint, GeoPointCameras, HeatmapConfig, HeatmapDataItem, HistorialEntry, Hour12, IconPickerOption, InfoItem, KpiColorType, LibNotification, LineSeries, MeasurementUnit, ModalFormStep, ModuleApplicativo, ModuleCardAction, ModuleChildRef, ModuleChildType, ModuleData, ModuleEvent, ModuleSubmodule, OpcionButtonVariant, Option, QuickAccessItem, ResolvedModuleChild, ResolvedTableColumnLayout, SectionConfig, SelectedDatesMap, SideCardItem, SideCardSection, SidebarItemClickEvent, SidebarItemLevel, SidebarMenuItem, SidebarNavigateEvent, SidebarRouteResolver, SidebarUserActionEvent, StatusTone, StatusToneMap, SubColumn, SubmoduleEvent, TabCardConfig, TabId, TabItem, TabSearchConfig, TabTogglesConfig, TableAction, TableColumn, TableIconButtonConfig, TableRow, TitleFilterConfig, ToastData, ToggleCustomChange, ToggleCustomKey };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sapenlinea-components",
3
- "version": "0.12.98",
3
+ "version": "0.13.99",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.3.0",
6
6
  "@angular/core": "^20.3.0",