intelica-library-components 1.1.49 → 1.1.51
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
|
@@ -10,6 +10,7 @@ import * as echarts from 'echarts';
|
|
|
10
10
|
import { EChartsOption, LabelFormatterCallback, DefaultLabelFormatterCallbackParams, TooltipComponentFormatterCallback, TooltipComponentFormatterCallbackParams } from 'echarts';
|
|
11
11
|
import { Observable as Observable$1 } from 'rxjs/internal/Observable';
|
|
12
12
|
import { SweetAlertOptions, SweetAlertResult } from 'sweetalert2';
|
|
13
|
+
import { Guid } from 'guid-typescript';
|
|
13
14
|
import * as _primeuix_themes_types from '@primeuix/themes/types';
|
|
14
15
|
import * as _primeuix_themes_aura_base from '@primeuix/themes/aura/base';
|
|
15
16
|
|
|
@@ -1709,9 +1710,11 @@ declare class IntelicaAlertComponent {
|
|
|
1709
1710
|
|
|
1710
1711
|
declare class AddFavoritesComponent implements OnInit {
|
|
1711
1712
|
readonly termService: GlobalTermService;
|
|
1712
|
-
private readonly
|
|
1713
|
+
private readonly addFavoriteService;
|
|
1714
|
+
private readonly destroyRef;
|
|
1713
1715
|
readonly favoriteChanged: i0.OutputEmitterRef<boolean>;
|
|
1714
1716
|
private isFavorite;
|
|
1717
|
+
isToggling: boolean;
|
|
1715
1718
|
iconClass: string;
|
|
1716
1719
|
ngOnInit(): void;
|
|
1717
1720
|
toggleFavorite(): void;
|
|
@@ -2478,16 +2481,21 @@ declare class IntelicaSessionService {
|
|
|
2478
2481
|
static ɵprov: i0.ɵɵInjectableDeclaration<IntelicaSessionService>;
|
|
2479
2482
|
}
|
|
2480
2483
|
|
|
2484
|
+
interface ProductEventDetail {
|
|
2485
|
+
product: string;
|
|
2486
|
+
authClient: string;
|
|
2487
|
+
icon: string;
|
|
2488
|
+
}
|
|
2481
2489
|
declare class GlobalMenuService {
|
|
2482
2490
|
private _isMenuVisible;
|
|
2483
2491
|
private _selectedProduct;
|
|
2484
2492
|
isMenuVisible: i0.Signal<boolean>;
|
|
2485
|
-
selectedProduct: i0.Signal<
|
|
2493
|
+
selectedProduct: i0.Signal<ProductEventDetail>;
|
|
2486
2494
|
private readonly eventMenu;
|
|
2487
2495
|
private readonly eventProducts;
|
|
2488
2496
|
initialize(): void;
|
|
2489
2497
|
setMenuVisibility(isVisible: boolean): void;
|
|
2490
|
-
setSelectedProduct(product:
|
|
2498
|
+
setSelectedProduct(product: ProductEventDetail): void;
|
|
2491
2499
|
private listenMenuEvents;
|
|
2492
2500
|
private onMenuEvent;
|
|
2493
2501
|
private onSelectedProductEvent;
|
|
@@ -2497,6 +2505,45 @@ declare class GlobalMenuService {
|
|
|
2497
2505
|
static ɵprov: i0.ɵɵInjectableDeclaration<GlobalMenuService>;
|
|
2498
2506
|
}
|
|
2499
2507
|
|
|
2508
|
+
interface FavoritePageSimpleResponse {
|
|
2509
|
+
favoritePageID: string;
|
|
2510
|
+
pageID: string;
|
|
2511
|
+
pageName: string;
|
|
2512
|
+
pageUrl: string;
|
|
2513
|
+
orderNumber?: number | null;
|
|
2514
|
+
pageRoot: string;
|
|
2515
|
+
authenticationClientID: string;
|
|
2516
|
+
url: string;
|
|
2517
|
+
}
|
|
2518
|
+
interface FavoritePageMaintenanceResponse {
|
|
2519
|
+
favoritePageID: string;
|
|
2520
|
+
}
|
|
2521
|
+
|
|
2522
|
+
declare class GlobalFavoriteService {
|
|
2523
|
+
private configService;
|
|
2524
|
+
private http;
|
|
2525
|
+
private path;
|
|
2526
|
+
private readonly eventFavorites;
|
|
2527
|
+
private _favorites;
|
|
2528
|
+
favorites: i0.Signal<FavoritePageSimpleResponse[]>;
|
|
2529
|
+
constructor();
|
|
2530
|
+
delete(guid: Guid): Observable<Guid>;
|
|
2531
|
+
getAll(): Observable<FavoritePageSimpleResponse[]>;
|
|
2532
|
+
create(): Observable<FavoritePageMaintenanceResponse>;
|
|
2533
|
+
loadAllAndStore(): void;
|
|
2534
|
+
setFavorites(favorites: FavoritePageSimpleResponse[]): void;
|
|
2535
|
+
removeFavoriteByPageUrl(pageUrl: string): void;
|
|
2536
|
+
isFavoriteByPageUrl(pageUrl: string): boolean;
|
|
2537
|
+
isFavoriteByPageRoot(pageRoot: string): boolean;
|
|
2538
|
+
removeFavoriteByPageRoot(pageRoot: string): Observable<void>;
|
|
2539
|
+
favoritesChanges(): Observable<FavoritePageSimpleResponse[]>;
|
|
2540
|
+
private onFavoritesUpdated;
|
|
2541
|
+
private emitFavoritesUpdatedEvent;
|
|
2542
|
+
private matchesPage;
|
|
2543
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GlobalFavoriteService, never>;
|
|
2544
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GlobalFavoriteService>;
|
|
2545
|
+
}
|
|
2546
|
+
|
|
2500
2547
|
/**
|
|
2501
2548
|
* Función de comparación genérica para ordenar objetos por un campo específico.
|
|
2502
2549
|
*
|
|
@@ -2532,8 +2579,9 @@ type NotificationTypeCode = "NTF" | "PRG" | "BRD" | "TEM" | "OPT";
|
|
|
2532
2579
|
type PriorityCode = "low" | "normal" | "high" | "critical";
|
|
2533
2580
|
type RecipientTypeCode = "user" | "contact" | "phone" | "device" | "topic";
|
|
2534
2581
|
type ChannelCode = "email" | "sms" | "push" | "whatsapp" | "inapp";
|
|
2535
|
-
type
|
|
2536
|
-
type
|
|
2582
|
+
type DestinationTypeCode = "URL" | "NAV" | "GET" | "PUT" | "POST" | "PATCH" | "DELETE";
|
|
2583
|
+
type MethodTypeCode = "PUT" | "POST" | "PATCH" | "DELETE";
|
|
2584
|
+
type ActionTypeCode = "nav" | "file" | "search" | "approve" | "reject";
|
|
2537
2585
|
|
|
2538
2586
|
interface JobState {
|
|
2539
2587
|
jobId?: string;
|
|
@@ -2569,17 +2617,17 @@ interface NotificationDraft {
|
|
|
2569
2617
|
}>;
|
|
2570
2618
|
actions?: Array<{
|
|
2571
2619
|
sortOrder: number;
|
|
2572
|
-
code:
|
|
2620
|
+
code: ActionTypeCode;
|
|
2573
2621
|
label: string;
|
|
2574
2622
|
metaData?: string;
|
|
2575
|
-
destinationType:
|
|
2623
|
+
destinationType: DestinationTypeCode;
|
|
2576
2624
|
destination: string;
|
|
2577
2625
|
destinationData?: string;
|
|
2578
2626
|
markAsRead?: boolean | false;
|
|
2579
2627
|
markAsHidden?: boolean | false;
|
|
2580
2628
|
}>;
|
|
2581
2629
|
attachments?: Array<{
|
|
2582
|
-
method:
|
|
2630
|
+
method: MethodTypeCode;
|
|
2583
2631
|
url: string;
|
|
2584
2632
|
bodyJson?: string | null;
|
|
2585
2633
|
fileName?: string | null;
|
|
@@ -2588,7 +2636,7 @@ interface NotificationDraft {
|
|
|
2588
2636
|
callbacks?: Array<{
|
|
2589
2637
|
code: string;
|
|
2590
2638
|
url: string;
|
|
2591
|
-
method:
|
|
2639
|
+
method: MethodTypeCode;
|
|
2592
2640
|
payload?: any;
|
|
2593
2641
|
triggerOnSent: boolean;
|
|
2594
2642
|
triggerOnFailed: boolean;
|
|
@@ -2602,7 +2650,7 @@ interface NotificationDraft {
|
|
|
2602
2650
|
interface UserNotificationAction {
|
|
2603
2651
|
sortOrder: string;
|
|
2604
2652
|
actionId: number;
|
|
2605
|
-
code:
|
|
2653
|
+
code: ActionTypeCode;
|
|
2606
2654
|
label: string;
|
|
2607
2655
|
metaData?: string | null;
|
|
2608
2656
|
destinationType: string;
|
|
@@ -2647,7 +2695,7 @@ interface UserNotificationInboxItem {
|
|
|
2647
2695
|
interface RecipientNotificationAction {
|
|
2648
2696
|
sortOrder: string;
|
|
2649
2697
|
actionId: number;
|
|
2650
|
-
code:
|
|
2698
|
+
code: ActionTypeCode;
|
|
2651
2699
|
label: string;
|
|
2652
2700
|
metaData?: string | null;
|
|
2653
2701
|
destinationType: string;
|
|
@@ -2692,7 +2740,7 @@ interface RecipientNotification {
|
|
|
2692
2740
|
interface RecipientProgressNotificationAction {
|
|
2693
2741
|
sortOrder: string;
|
|
2694
2742
|
actionId: number;
|
|
2695
|
-
code:
|
|
2743
|
+
code: ActionTypeCode;
|
|
2696
2744
|
label: string;
|
|
2697
2745
|
metaData?: string | null;
|
|
2698
2746
|
destinationType: string;
|
|
@@ -2783,17 +2831,17 @@ interface CreateNotificationsForJobRequest {
|
|
|
2783
2831
|
}>;
|
|
2784
2832
|
actions?: Array<{
|
|
2785
2833
|
sortOrder: number;
|
|
2786
|
-
code:
|
|
2834
|
+
code: ActionTypeCode;
|
|
2787
2835
|
label: string;
|
|
2788
2836
|
metaData?: string;
|
|
2789
|
-
destinationType:
|
|
2837
|
+
destinationType: DestinationTypeCode;
|
|
2790
2838
|
destination: string;
|
|
2791
2839
|
destinationData?: string;
|
|
2792
2840
|
markAsRead?: boolean | false;
|
|
2793
2841
|
markAsHidden?: boolean | false;
|
|
2794
2842
|
}>;
|
|
2795
2843
|
attachments?: Array<{
|
|
2796
|
-
method:
|
|
2844
|
+
method: MethodTypeCode;
|
|
2797
2845
|
url: string;
|
|
2798
2846
|
bodyJson?: string | null;
|
|
2799
2847
|
fileName?: string | null;
|
|
@@ -2802,7 +2850,7 @@ interface CreateNotificationsForJobRequest {
|
|
|
2802
2850
|
callbacks?: Array<{
|
|
2803
2851
|
code: string;
|
|
2804
2852
|
url: string;
|
|
2805
|
-
method:
|
|
2853
|
+
method: MethodTypeCode;
|
|
2806
2854
|
payload?: any;
|
|
2807
2855
|
triggerOnSent: boolean;
|
|
2808
2856
|
triggerOnFailed: boolean;
|
|
@@ -3026,5 +3074,5 @@ declare class NotificationOrchestratorService {
|
|
|
3026
3074
|
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationOrchestratorService>;
|
|
3027
3075
|
}
|
|
3028
3076
|
|
|
3029
|
-
export { ALERT_DEFAULTS, ALERT_ICON_PATHS, ALERT_TYPE_CONFIG, ActionDirective, ActionsMenuComponent, AddFavoritesComponent, AlertButtonMode, AlertService, AlertType, ButtonSplitComponent, CheckboxFilterDirective, Color, ColumnComponent, ColumnGroupComponent, CompareByField, ConfigService, CookieAttributesGeneral, DATEPICKER_BUTTON_TYPES, DataDirective, DateFilterDirective, DateModeOptions, DatepickerComponent, DynamicInputValidation, EchartComponent, EchartService, ElementService, EmailInputValidation, ErrorInterceptor, ErrorNewInterceptor, FeatureFlagService, FilterChipsComponent, FiltersComponent, FormatAmountPipe, GetCookieAttributes, GlobalFeatureFlagService, GlobalMenuService, GlobalTermService, HtmlToExcelService, InitializeConfigService, InputValidation, IntelicaAlertComponent, IntelicaCellCheckboxDirective, IntelicaSessionService, IntelicaTheme, ItemSplitDirective, LanguageService, MatrixColumnComponent, MatrixColumnGroupComponent, MatrixTableComponent, ModalDialogComponent, MultiSelectComponent, NotificationJobService, NotificationOrchestratorService, NotificationService, NotificationSignalRService, OrderConstants, PageInformation, PageRootChildGuard, PaginatorComponent, Patterns, PopoverComponent, ProfileService, RecordPerPageComponent, RefreshTokenInterceptor, ResponseHeadersInterceptor, RouteGuard, RouteNewGuard, RowResumenComponent, RowResumenTreeComponent, SearchComponent, SelectDetailFilterDirective, SelectFilterDirective, SharedService, SkeletonChartComponent, SkeletonComponent, SkeletonService, SkeletonTableComponent, SortingComponent, SpinnerComponent, SpinnerService, SweetAlertService, TableComponent, TableFetchComponent, TableSortOrder, TemplateDirective, TemplateMenuComponent, TermGuard, TermPipe, TermService, TextAreaFilterDirective, TextFilterDirective, TextRangeFilterDirective, TreeColumnComponent, TreeColumnGroupComponent, TreeTableComponent, TruncatePipe, decryptData, encryptData, getColor };
|
|
3030
|
-
export type { AlertButtonConfig, AlertConfig, AlertResult, AlertStyleConfig, AlertTypeConfig, CallbackExecutionResult, CascadeFilterModel, ChannelCode, ColorName, CookieAttributes, CreateNotificationJobRequest, CreateNotificationsForJobRequest, CustomButtonType, DateMode,
|
|
3077
|
+
export { ALERT_DEFAULTS, ALERT_ICON_PATHS, ALERT_TYPE_CONFIG, ActionDirective, ActionsMenuComponent, AddFavoritesComponent, AlertButtonMode, AlertService, AlertType, ButtonSplitComponent, CheckboxFilterDirective, Color, ColumnComponent, ColumnGroupComponent, CompareByField, ConfigService, CookieAttributesGeneral, DATEPICKER_BUTTON_TYPES, DataDirective, DateFilterDirective, DateModeOptions, DatepickerComponent, DynamicInputValidation, EchartComponent, EchartService, ElementService, EmailInputValidation, ErrorInterceptor, ErrorNewInterceptor, FeatureFlagService, FilterChipsComponent, FiltersComponent, FormatAmountPipe, GetCookieAttributes, GlobalFavoriteService, GlobalFeatureFlagService, GlobalMenuService, GlobalTermService, HtmlToExcelService, InitializeConfigService, InputValidation, IntelicaAlertComponent, IntelicaCellCheckboxDirective, IntelicaSessionService, IntelicaTheme, ItemSplitDirective, LanguageService, MatrixColumnComponent, MatrixColumnGroupComponent, MatrixTableComponent, ModalDialogComponent, MultiSelectComponent, NotificationJobService, NotificationOrchestratorService, NotificationService, NotificationSignalRService, OrderConstants, PageInformation, PageRootChildGuard, PaginatorComponent, Patterns, PopoverComponent, ProfileService, RecordPerPageComponent, RefreshTokenInterceptor, ResponseHeadersInterceptor, RouteGuard, RouteNewGuard, RowResumenComponent, RowResumenTreeComponent, SearchComponent, SelectDetailFilterDirective, SelectFilterDirective, SharedService, SkeletonChartComponent, SkeletonComponent, SkeletonService, SkeletonTableComponent, SortingComponent, SpinnerComponent, SpinnerService, SweetAlertService, TableComponent, TableFetchComponent, TableSortOrder, TemplateDirective, TemplateMenuComponent, TermGuard, TermPipe, TermService, TextAreaFilterDirective, TextFilterDirective, TextRangeFilterDirective, TreeColumnComponent, TreeColumnGroupComponent, TreeTableComponent, TruncatePipe, decryptData, encryptData, getColor };
|
|
3078
|
+
export type { ActionTypeCode, AlertButtonConfig, AlertConfig, AlertResult, AlertStyleConfig, AlertTypeConfig, CallbackExecutionResult, CascadeFilterModel, ChannelCode, ColorName, CookieAttributes, CreateNotificationJobRequest, CreateNotificationsForJobRequest, CustomButtonType, DateMode, DestinationTypeCode, ExportExcelCommand, FilterModel, ICell, IExcelColumnName, IExcelHeaderGroup, IFilter, ItlSessionEnvelope, ItlSessionScope, JobState, JobStatusCode, MethodTypeCode, NotificationByJobItemResponse, NotificationDraft, NotificationJobProgressResponse, NotificationJobResponse, NotificationRecipientSummaryResponse, NotificationResponse, NotificationTypeCode, Origin, PopoverInformationModel, PriorityCode, ProductEventDetail, PropertiesModel, QueryParametersModel, RecipientDispatchError, RecipientNotification, RecipientNotificationAction, RecipientProgressNotification, RecipientProgressNotificationAction, RecipientTypeCode, SearchFieldModel, SearchInputModel, SortFieldModel, UserNotificationAction, UserNotificationInboxItem };
|