@solcre-org/core-ui 2.15.13 → 2.15.15
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
|
@@ -2238,6 +2238,7 @@ interface TableSortConfig {
|
|
|
2238
2238
|
}
|
|
2239
2239
|
|
|
2240
2240
|
interface FixedActionConfig<T = any> {
|
|
2241
|
+
id?: string;
|
|
2241
2242
|
icon?: string;
|
|
2242
2243
|
label?: string;
|
|
2243
2244
|
class?: string;
|
|
@@ -3194,6 +3195,7 @@ interface HeaderActionConfig {
|
|
|
3194
3195
|
resource: string;
|
|
3195
3196
|
action: string;
|
|
3196
3197
|
};
|
|
3198
|
+
mobileConfig?: MobileActionConfig;
|
|
3197
3199
|
}
|
|
3198
3200
|
interface HeaderConfig {
|
|
3199
3201
|
title?: string;
|
|
@@ -3635,6 +3637,7 @@ declare class HeaderService {
|
|
|
3635
3637
|
setTitle(title: string): void;
|
|
3636
3638
|
setText(text: string): void;
|
|
3637
3639
|
setHeaderConfig(config: HeaderConfig): void;
|
|
3640
|
+
private getButtonTypeFromClass;
|
|
3638
3641
|
getIsVisible(): _angular_core.WritableSignal<boolean>;
|
|
3639
3642
|
getCustomActions(): _angular_core.WritableSignal<HeaderActionConfig[]>;
|
|
3640
3643
|
getShowDefaultFilter(): _angular_core.WritableSignal<boolean>;
|
|
@@ -3658,6 +3661,20 @@ declare class HeaderService {
|
|
|
3658
3661
|
addHeaderAction(action: HeaderAction): void;
|
|
3659
3662
|
removeHeaderAction(actionId: string): void;
|
|
3660
3663
|
clearHeaderActions(): void;
|
|
3664
|
+
getModalActions(): _angular_core.Signal<{
|
|
3665
|
+
id: string;
|
|
3666
|
+
label: string;
|
|
3667
|
+
icon: string | undefined;
|
|
3668
|
+
class: string | undefined;
|
|
3669
|
+
callback: () => void;
|
|
3670
|
+
requiredPermission: {
|
|
3671
|
+
resource: string;
|
|
3672
|
+
action: string;
|
|
3673
|
+
} | undefined;
|
|
3674
|
+
visible: boolean | undefined;
|
|
3675
|
+
disabled: boolean | undefined;
|
|
3676
|
+
}[]>;
|
|
3677
|
+
hasModalActions: _angular_core.Signal<boolean>;
|
|
3661
3678
|
getOrderedElements(): HeaderElementConfig[];
|
|
3662
3679
|
isElementVisible(elementType: HeaderElementType): boolean;
|
|
3663
3680
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HeaderService, never>;
|
|
@@ -3670,6 +3687,7 @@ declare class HeaderComponent implements OnInit {
|
|
|
3670
3687
|
headerService: HeaderService;
|
|
3671
3688
|
private permissionService;
|
|
3672
3689
|
private cdr;
|
|
3690
|
+
private mobileResolutionService;
|
|
3673
3691
|
HeaderElementType: typeof HeaderElementType;
|
|
3674
3692
|
title: string;
|
|
3675
3693
|
user: any;
|
|
@@ -5023,6 +5041,26 @@ declare class FixedActionsMobileModalComponent {
|
|
|
5023
5041
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FixedActionsMobileModalComponent, "core-fixed-actions-mobile-modal", never, {}, {}, never, never, true, never>;
|
|
5024
5042
|
}
|
|
5025
5043
|
|
|
5044
|
+
declare class GenericFixedActionsComponent {
|
|
5045
|
+
private headerService;
|
|
5046
|
+
private fixedActionsMobileModalService;
|
|
5047
|
+
private permissionService;
|
|
5048
|
+
private mobileResolutionService;
|
|
5049
|
+
private cdr;
|
|
5050
|
+
constructor();
|
|
5051
|
+
shouldShow: _angular_core.Signal<boolean>;
|
|
5052
|
+
outsideActions: _angular_core.Signal<_solcre_org_core_ui.HeaderActionConfig[]>;
|
|
5053
|
+
modalActions: _angular_core.Signal<_solcre_org_core_ui.HeaderActionConfig[]>;
|
|
5054
|
+
hasModalActions: _angular_core.Signal<boolean>;
|
|
5055
|
+
visibleActions: _angular_core.Signal<FixedActionConfig<any>[]>;
|
|
5056
|
+
getActionClass(action: FixedActionConfig): string;
|
|
5057
|
+
isActionDisabled(action: FixedActionConfig): boolean;
|
|
5058
|
+
onActionClick(action: FixedActionConfig): void;
|
|
5059
|
+
openModalActions(): void;
|
|
5060
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GenericFixedActionsComponent, never>;
|
|
5061
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GenericFixedActionsComponent, "core-generic-fixed-actions", never, {}, {}, never, never, true, never>;
|
|
5062
|
+
}
|
|
5063
|
+
|
|
5026
5064
|
declare const DEFAULT_COUNTRIES: CountryOption[];
|
|
5027
5065
|
declare const LATIN_AMERICA_COUNTRIES: CountryOption[];
|
|
5028
5066
|
declare const COMMON_COUNTRIES: CountryOption[];
|
|
@@ -5525,5 +5563,5 @@ declare const AgeValidationHelper: {
|
|
|
5525
5563
|
|
|
5526
5564
|
declare const ageValidator: (minimumAge: number) => ValidatorFn;
|
|
5527
5565
|
|
|
5528
|
-
export { ALL_COUNTRY_CODES, ActiveFiltersComponent, AgeValidationHelper, AlertComponent, AlertContainerComponent, AlertService, AlertType, ApiConfigurationProvider, BaseFieldComponent, ButtonContext, ButtonSize, ButtonType, COMMON_COUNTRIES, CacheBustingInterceptor, CardComponent, CarouselComponent, ChatMessagePosition, ChatMessageType, CheckboxFieldComponent, ConfigurationModel, ConfirmationDialogComponent, ConfirmationDialogService, CoreHostDirective, CoreManualRefreshComponent, CoreUiHttpLoaderFactory, CoreUiTranslateLoader, CoreUiTranslateService, CountryCode, CustomClassService, DEFAULT_COUNTRIES, DataListComponent, DataListItemComponent, DataStoreService, DateFieldComponent, DateUtility, DatetimeFieldComponent, DialogActions, DocumentAction, DocumentDisplayMode, DocumentFieldComponent, DocumentFieldValidators, DocumentPayloadMode, DropdownComponent, DropdownDirection, DropdownService, DynamicFieldDirective, DynamicFieldsHelper, FieldErrorsComponent, FieldType, FileFieldComponent, FileModel, FilePreviewActionType, FileTemplateModel, FileTemplateType, FileType, FileTypeModel, FileUploadService, FilterModalComponent, FilterService, FilterType, FixedActionPosition, FixedActionsMobileModalComponent, FixedActionsMobileModalService, GalleryAnimationType, GalleryLayoutType, GalleryModalComponent, GalleryModalGlobalService, GenericButtonComponent, GenericChatComponent, GenericChatService, GenericDocumentationComponent, GenericGalleryComponent, GenericModalComponent, GenericPaginationComponent, GenericRatingComponent, GenericSidebarComponent, GenericSkeletonComponent, GenericStepsComponent, GenericSwitchComponent, GenericTableComponent, GenericTabsComponent, GenericTimelineComponent, GlobalApiConfigService, HeaderComponent, HeaderConfigurationService, HeaderElementType, HeaderService, HttpLoaderFactory, ImageModalComponent, ImageModalService, ImagePreviewComponent, LATIN_AMERICA_COUNTRIES, LayoutAuth, LayoutBreakpoint, LayoutComponent, LayoutService, LayoutStateService, LayoutType, LoaderComponent, LoaderService, MainNavComponent, MainNavService, ManualRefreshService, MobileHeaderComponent, MobileResolutionService, ModalMode, ModelApiService, MultiEntryFieldComponent, MultiEntryOutputFormat, NumberFieldComponent, NumberFieldConfigType, NumberFieldType, NumberRange, PERMISSION_ACTIONS_PROVIDER, PERMISSION_PROVIDER, PERMISSION_RESOURCES_PROVIDER, PaginationService, PasswordFieldComponent, PermissionEnumsService, PermissionModel, PermissionService, PermissionWrapperService, PermissionsActions, PermissionsInterceptor, PermissionsResources, PhoneFieldComponent, ProgressBarComponent, ProgressBarSize, RatingService, RatingSize, RatingType, ResetPasswordModel, RoleModel, SOUTH_AMERICA_COUNTRIES, SelectFieldComponent, ServerSelectFieldComponent, ServerSelectService, SidebarCustomModalComponent, SidebarCustomModalService, SidebarHeight, SidebarMobileModalService, SidebarMobileType, SidebarPosition, SidebarService, SidebarState, SidebarTemplateRegistryService, SidebarVisibility, SidebarWidth, SkeletonAnimation, SkeletonService, SkeletonSize, SkeletonType, SmartFieldComponent, SortDirection, SortMode, StepSize, StepStatus, StepType, StepsService, SwitchFieldComponent, TableAction, TableActionService, TableDataService, TableSortService, TextAreaFieldComponent, TextFieldComponent, TimeFieldComponent, TimeInterval, TimelineService, TimelineStatus, TimelineType, TranslationMergeService, UruguayanDocumentValidationHelper, UsersModel, VERSION, ageValidator, calculateAge, equalToValidator, generateRandomUruguayanDocument, getCountryCodeStrings, getLatestBirthDateForAge, getRandomCi, getUruguayanDocumentValidationDigit, getValidationDigit, isSameDate, isValidCountryCode, provideCoreUiTranslateLoader, providePermissionActions, providePermissionEnums, providePermissionResources, providePermissionService, providePermissionServiceFactory, provideTranslateLoader, random, transform, transformUruguayanDocument, uruguayanDocumentValidator, validate, validateAge, validateCi, validateUruguayanDocument, validationDigit };
|
|
5566
|
+
export { ALL_COUNTRY_CODES, ActiveFiltersComponent, AgeValidationHelper, AlertComponent, AlertContainerComponent, AlertService, AlertType, ApiConfigurationProvider, BaseFieldComponent, ButtonContext, ButtonSize, ButtonType, COMMON_COUNTRIES, CacheBustingInterceptor, CardComponent, CarouselComponent, ChatMessagePosition, ChatMessageType, CheckboxFieldComponent, ConfigurationModel, ConfirmationDialogComponent, ConfirmationDialogService, CoreHostDirective, CoreManualRefreshComponent, CoreUiHttpLoaderFactory, CoreUiTranslateLoader, CoreUiTranslateService, CountryCode, CustomClassService, DEFAULT_COUNTRIES, DataListComponent, DataListItemComponent, DataStoreService, DateFieldComponent, DateUtility, DatetimeFieldComponent, DialogActions, DocumentAction, DocumentDisplayMode, DocumentFieldComponent, DocumentFieldValidators, DocumentPayloadMode, DropdownComponent, DropdownDirection, DropdownService, DynamicFieldDirective, DynamicFieldsHelper, FieldErrorsComponent, FieldType, FileFieldComponent, FileModel, FilePreviewActionType, FileTemplateModel, FileTemplateType, FileType, FileTypeModel, FileUploadService, FilterModalComponent, FilterService, FilterType, FixedActionPosition, FixedActionsMobileModalComponent, FixedActionsMobileModalService, GalleryAnimationType, GalleryLayoutType, GalleryModalComponent, GalleryModalGlobalService, GenericButtonComponent, GenericChatComponent, GenericChatService, GenericDocumentationComponent, GenericFixedActionsComponent, GenericGalleryComponent, GenericModalComponent, GenericPaginationComponent, GenericRatingComponent, GenericSidebarComponent, GenericSkeletonComponent, GenericStepsComponent, GenericSwitchComponent, GenericTableComponent, GenericTabsComponent, GenericTimelineComponent, GlobalApiConfigService, HeaderComponent, HeaderConfigurationService, HeaderElementType, HeaderService, HttpLoaderFactory, ImageModalComponent, ImageModalService, ImagePreviewComponent, LATIN_AMERICA_COUNTRIES, LayoutAuth, LayoutBreakpoint, LayoutComponent, LayoutService, LayoutStateService, LayoutType, LoaderComponent, LoaderService, MainNavComponent, MainNavService, ManualRefreshService, MobileHeaderComponent, MobileResolutionService, ModalMode, ModelApiService, MultiEntryFieldComponent, MultiEntryOutputFormat, NumberFieldComponent, NumberFieldConfigType, NumberFieldType, NumberRange, PERMISSION_ACTIONS_PROVIDER, PERMISSION_PROVIDER, PERMISSION_RESOURCES_PROVIDER, PaginationService, PasswordFieldComponent, PermissionEnumsService, PermissionModel, PermissionService, PermissionWrapperService, PermissionsActions, PermissionsInterceptor, PermissionsResources, PhoneFieldComponent, ProgressBarComponent, ProgressBarSize, RatingService, RatingSize, RatingType, ResetPasswordModel, RoleModel, SOUTH_AMERICA_COUNTRIES, SelectFieldComponent, ServerSelectFieldComponent, ServerSelectService, SidebarCustomModalComponent, SidebarCustomModalService, SidebarHeight, SidebarMobileModalService, SidebarMobileType, SidebarPosition, SidebarService, SidebarState, SidebarTemplateRegistryService, SidebarVisibility, SidebarWidth, SkeletonAnimation, SkeletonService, SkeletonSize, SkeletonType, SmartFieldComponent, SortDirection, SortMode, StepSize, StepStatus, StepType, StepsService, SwitchFieldComponent, TableAction, TableActionService, TableDataService, TableSortService, TextAreaFieldComponent, TextFieldComponent, TimeFieldComponent, TimeInterval, TimelineService, TimelineStatus, TimelineType, TranslationMergeService, UruguayanDocumentValidationHelper, UsersModel, VERSION, ageValidator, calculateAge, equalToValidator, generateRandomUruguayanDocument, getCountryCodeStrings, getLatestBirthDateForAge, getRandomCi, getUruguayanDocumentValidationDigit, getValidationDigit, isSameDate, isValidCountryCode, provideCoreUiTranslateLoader, providePermissionActions, providePermissionEnums, providePermissionResources, providePermissionService, providePermissionServiceFactory, provideTranslateLoader, random, transform, transformUruguayanDocument, uruguayanDocumentValidator, validate, validateAge, validateCi, validateUruguayanDocument, validationDigit };
|
|
5529
5567
|
export type { ActiveFilterItem, ActiveFiltersConfig, AdditionalPermissionResources, AddressModel, AgeComparisonMode, AgeValidationInput, AgeValidationOptions, Alert, ApiConfig, ApiResponse, BottomNavItem, ButtonActionEvent, ButtonConfig, CarouselConfig, CarouselImage, ChatConfig, ChatMessage, CheckboxFieldConfig, CheckboxModalFieldConfig, CheckboxOption, ColumnConfig, ColumnDisabledConfig, CompanyInfo, ConfirmUploadRequest, ConfirmationDialogConfig, CountryOption, CustomAction, DataListItem, DateFieldConfig, DateModalFieldConfig, DocumentActionEvent, DocumentConfig, DocumentFieldConfig, DocumentFieldValue, DocumentItem, DocumentOption, DynamicFieldsHelperConfig, DynamicFieldsHelperMethods, DynamicFieldsHelperState, ExpansionConfig, ExtendedModalFieldConfig, ExtendedPermissionProvider, FileFieldConfig, FilePreviewAction, FilePreviewConfig, FilePreviewItem, FileUploadConfig, FilterConfig, FilterParams, FixedActionConfig, FixedActionsConfig, GalleryConfig, GalleryImage, GenericTab, GenericTabClickEvent, GenericTabConfig, GlobalAction, HeaderAction, HeaderActionConfig, HeaderConfig, HeaderElementConfig, HeaderOrderConfig, ImageModalData, InlineEditConfig, LayoutConfig, LayoutDataAttributes, LogoImagesConfig, ManualRefreshConfig, MobileBreakpointConfig, MobileHeaderConfig, MobileModalData, ModalButtonConfig, ModalFieldConfig, ModalStepConfig, ModalTabConfig, ModalValidationResult, MoreDataConfig, MultiEntryFieldConfig, MultiEntryFieldValue, NavConfig, NavItem, NumberFieldConfig, NumberModalFieldConfig, PaginatedResponse, PaginationEvent, PaginationInfo, PermissionActionsProvider, PermissionProvider, PermissionResourcesProvider, PhoneFieldConfig, PhoneModalFieldConfig, PresignedDownloadUrlResponse, PresignedUrlRequest, PresignedUrlResponse, PreviewFileUrl, RatingConfig, RatingStar, RatingSubmitEvent, RowStyleConfig, RowVisibilityConfig, SearchResponse, SelectServerSideConfig, SidebarBackButton, SidebarComponentConfig, SidebarComponentEvents, SidebarConfig, SidebarCustomModalConfig, SidebarItem, SidebarResponsiveConfig, SidebarSubItem, SidebarTemplateContext, SkeletonConfig, SkeletonItemConfig, SortConfig, StepChangeEvent, StepClickEvent, StepItemConfig, StepsConfig, SwitchFieldConfig, SwitchModalFieldConfig, SwitchOption, TableActionConfig, TableFixedActionsConfig, TableSortConfig, TimeFieldConfig, TimeFieldValue, TimeOption, TimelineConfig, TimelineItem, UruguayanDocumentInput };
|