@solcre-org/core-ui 2.12.28 → 2.12.30
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
|
@@ -4208,6 +4208,156 @@ declare class ManualRefreshService {
|
|
|
4208
4208
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ManualRefreshService>;
|
|
4209
4209
|
}
|
|
4210
4210
|
|
|
4211
|
+
interface GalleryImage {
|
|
4212
|
+
src: string;
|
|
4213
|
+
alt?: string;
|
|
4214
|
+
title?: string;
|
|
4215
|
+
description?: string;
|
|
4216
|
+
thumbnail?: string;
|
|
4217
|
+
id?: string | number;
|
|
4218
|
+
metadata?: Record<string, any>;
|
|
4219
|
+
}
|
|
4220
|
+
|
|
4221
|
+
declare enum GalleryAnimationType {
|
|
4222
|
+
FADE = "fade",
|
|
4223
|
+
SLIDE_DOWN = "slide-down",
|
|
4224
|
+
SLIDE_UP = "slide-up",
|
|
4225
|
+
SLIDE_LEFT = "slide-left",
|
|
4226
|
+
SLIDE_RIGHT = "slide-right",
|
|
4227
|
+
ZOOM = "zoom",
|
|
4228
|
+
NONE = "none"
|
|
4229
|
+
}
|
|
4230
|
+
|
|
4231
|
+
declare enum GalleryLayoutType {
|
|
4232
|
+
MAIN_LEFT = "main-left",
|
|
4233
|
+
MAIN_RIGHT = "main-right",
|
|
4234
|
+
MAIN_TOP = "main-top",
|
|
4235
|
+
SINGLE = "single"
|
|
4236
|
+
}
|
|
4237
|
+
|
|
4238
|
+
interface GalleryConfig {
|
|
4239
|
+
layoutType?: GalleryLayoutType;
|
|
4240
|
+
totalItems?: number;
|
|
4241
|
+
sidesSize?: string;
|
|
4242
|
+
gap?: string;
|
|
4243
|
+
borderRadius?: string;
|
|
4244
|
+
showCounter?: boolean;
|
|
4245
|
+
showNavigation?: boolean;
|
|
4246
|
+
enableKeyboardNavigation?: boolean;
|
|
4247
|
+
closeOnOutsideClick?: boolean;
|
|
4248
|
+
animationType?: GalleryAnimationType;
|
|
4249
|
+
animationInDuration?: number;
|
|
4250
|
+
animationOutDuration?: number;
|
|
4251
|
+
lazyLoading?: boolean;
|
|
4252
|
+
infiniteLoop?: boolean;
|
|
4253
|
+
}
|
|
4254
|
+
|
|
4255
|
+
declare class GenericGalleryComponent implements OnDestroy {
|
|
4256
|
+
private galleryModalService;
|
|
4257
|
+
images: _angular_core.InputSignal<GalleryImage[]>;
|
|
4258
|
+
config: _angular_core.InputSignal<GalleryConfig>;
|
|
4259
|
+
imageClick: _angular_core.OutputEmitterRef<{
|
|
4260
|
+
image: GalleryImage;
|
|
4261
|
+
index: number;
|
|
4262
|
+
}>;
|
|
4263
|
+
modalOpen: _angular_core.OutputEmitterRef<{
|
|
4264
|
+
images: GalleryImage[];
|
|
4265
|
+
index: number;
|
|
4266
|
+
}>;
|
|
4267
|
+
modalClose: _angular_core.OutputEmitterRef<void>;
|
|
4268
|
+
imageChange: _angular_core.OutputEmitterRef<{
|
|
4269
|
+
image: GalleryImage;
|
|
4270
|
+
index: number;
|
|
4271
|
+
}>;
|
|
4272
|
+
imageLoadingStates: _angular_core.WritableSignal<Map<string, boolean>>;
|
|
4273
|
+
imageErrorStates: _angular_core.WritableSignal<Map<string, boolean>>;
|
|
4274
|
+
SkeletonType: typeof SkeletonType;
|
|
4275
|
+
SkeletonAnimation: typeof SkeletonAnimation;
|
|
4276
|
+
private readonly defaultConfig;
|
|
4277
|
+
finalConfig: _angular_core.Signal<{
|
|
4278
|
+
layoutType?: GalleryLayoutType;
|
|
4279
|
+
totalItems?: number;
|
|
4280
|
+
sidesSize?: string;
|
|
4281
|
+
gap?: string;
|
|
4282
|
+
borderRadius?: string;
|
|
4283
|
+
showCounter?: boolean;
|
|
4284
|
+
showNavigation?: boolean;
|
|
4285
|
+
enableKeyboardNavigation?: boolean;
|
|
4286
|
+
closeOnOutsideClick?: boolean;
|
|
4287
|
+
animationType?: GalleryAnimationType;
|
|
4288
|
+
animationInDuration?: number;
|
|
4289
|
+
animationOutDuration?: number;
|
|
4290
|
+
lazyLoading?: boolean;
|
|
4291
|
+
infiniteLoop?: boolean;
|
|
4292
|
+
}>;
|
|
4293
|
+
mainImage: _angular_core.Signal<GalleryImage | null>;
|
|
4294
|
+
thumbnailImages: _angular_core.Signal<GalleryImage[]>;
|
|
4295
|
+
containerClasses: _angular_core.Signal<string>;
|
|
4296
|
+
containerStyles: _angular_core.Signal<any>;
|
|
4297
|
+
constructor();
|
|
4298
|
+
ngOnDestroy(): void;
|
|
4299
|
+
onImageClick(image: GalleryImage, index: number): void;
|
|
4300
|
+
openModal(initialIndex?: number): void;
|
|
4301
|
+
closeModal(): void;
|
|
4302
|
+
getImageKey(image: GalleryImage, index: number): string;
|
|
4303
|
+
isImageLoading(image: GalleryImage, index: number): boolean;
|
|
4304
|
+
hasImageError(image: GalleryImage, index: number): boolean;
|
|
4305
|
+
onImageLoad(image: GalleryImage, index: number): void;
|
|
4306
|
+
onImageError(image: GalleryImage, index: number): void;
|
|
4307
|
+
initializeImageStates(): void;
|
|
4308
|
+
getImageLoading(isMainImage?: boolean): 'eager' | 'lazy';
|
|
4309
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GenericGalleryComponent, never>;
|
|
4310
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GenericGalleryComponent, "core-generic-gallery", never, { "images": { "alias": "images"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; }, { "imageClick": "imageClick"; "modalOpen": "modalOpen"; "modalClose": "modalClose"; "imageChange": "imageChange"; }, never, never, true, never>;
|
|
4311
|
+
}
|
|
4312
|
+
|
|
4313
|
+
declare class GalleryModalComponent implements OnDestroy {
|
|
4314
|
+
private galleryModalService;
|
|
4315
|
+
isModalOpen: _angular_core.Signal<boolean>;
|
|
4316
|
+
isModalClosing: _angular_core.Signal<boolean>;
|
|
4317
|
+
currentImage: _angular_core.Signal<_solcre_org_core_ui.GalleryImage | null>;
|
|
4318
|
+
currentIndex: _angular_core.Signal<number>;
|
|
4319
|
+
imageCounter: _angular_core.Signal<string>;
|
|
4320
|
+
canNavigatePrevious: _angular_core.Signal<boolean>;
|
|
4321
|
+
canNavigateNext: _angular_core.Signal<boolean>;
|
|
4322
|
+
private keyboardListener?;
|
|
4323
|
+
constructor();
|
|
4324
|
+
ngOnDestroy(): void;
|
|
4325
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
4326
|
+
closeModal(): void;
|
|
4327
|
+
previousImage(): void;
|
|
4328
|
+
nextImage(): void;
|
|
4329
|
+
onOverlayClick(): void;
|
|
4330
|
+
getModalClasses(): string;
|
|
4331
|
+
getModalStyles(): any;
|
|
4332
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GalleryModalComponent, never>;
|
|
4333
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GalleryModalComponent, "core-gallery-modal", never, {}, {}, never, never, true, [{ directive: typeof CoreHostDirective; inputs: {}; outputs: {}; }]>;
|
|
4334
|
+
}
|
|
4335
|
+
|
|
4336
|
+
declare class GalleryModalGlobalService {
|
|
4337
|
+
private _isModalOpen;
|
|
4338
|
+
private _isClosing;
|
|
4339
|
+
private _currentImages;
|
|
4340
|
+
private _currentIndex;
|
|
4341
|
+
isModalOpen: _angular_core.Signal<boolean>;
|
|
4342
|
+
isClosing: _angular_core.Signal<boolean>;
|
|
4343
|
+
currentImages: _angular_core.Signal<GalleryImage[]>;
|
|
4344
|
+
currentIndex: _angular_core.Signal<number>;
|
|
4345
|
+
currentImage: _angular_core.Signal<GalleryImage | null>;
|
|
4346
|
+
imageCounter: _angular_core.Signal<string>;
|
|
4347
|
+
hasPrevious: _angular_core.Signal<boolean>;
|
|
4348
|
+
hasNext: _angular_core.Signal<boolean>;
|
|
4349
|
+
openModal(images: GalleryImage[], initialIndex?: number): void;
|
|
4350
|
+
closeModal(immediate?: boolean): void;
|
|
4351
|
+
previousImage(): void;
|
|
4352
|
+
nextImage(): void;
|
|
4353
|
+
goToImage(index: number): void;
|
|
4354
|
+
getImageIndexById(imageId: string | number): number;
|
|
4355
|
+
updateImages(images: GalleryImage[]): void;
|
|
4356
|
+
reset(): void;
|
|
4357
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GalleryModalGlobalService, never>;
|
|
4358
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<GalleryModalGlobalService>;
|
|
4359
|
+
}
|
|
4360
|
+
|
|
4211
4361
|
declare class DynamicFieldDirective<T extends DataBaseModelInterface> implements OnChanges {
|
|
4212
4362
|
private viewContainerRef;
|
|
4213
4363
|
field: _angular_core.InputSignal<ModalFieldConfig<T> | CheckboxModalFieldConfig<T> | NumberModalFieldConfig<T> | SwitchModalFieldConfig<T> | SelectServerSideConfig<T> | SelectFieldConfig<T> | FilterConfig<T> | (ModalFieldConfig<T> & {
|
|
@@ -4546,5 +4696,5 @@ declare const VERSION: {
|
|
|
4546
4696
|
buildDate: string;
|
|
4547
4697
|
};
|
|
4548
4698
|
|
|
4549
|
-
export { ActiveFiltersComponent, AlertComponent, AlertContainerComponent, AlertService, AlertType, ApiConfigurationProvider, BaseFieldComponent, ButtonContext, ButtonSize, ButtonType, CacheBustingInterceptor, CardComponent, CarouselComponent, ChatMessagePosition, ChatMessageType, CheckboxFieldComponent, ConfigurationModel, ConfirmationDialogComponent, ConfirmationDialogService, CoreHostDirective, CoreManualRefreshComponent, CoreUiHttpLoaderFactory, CoreUiTranslateLoader, CoreUiTranslateService, DataListComponent, DataListItemComponent, DateFieldComponent, DateUtility, DatetimeFieldComponent, DialogActions, DocumentAction, DocumentDisplayMode, DropdownComponent, DropdownDirection, DropdownService, DynamicFieldDirective, DynamicFieldsHelper, FieldErrorsComponent, FieldType, FileFieldComponent, FileModel, FilePreviewActionType, FileTemplateModel, FileTemplateType, FileType, FileTypeModel, FileUploadService, FilterModalComponent, FilterService, FilterType, GenericButtonComponent, GenericChatComponent, GenericChatService, GenericDocumentationComponent, GenericModalComponent, GenericPaginationComponent, GenericRatingComponent, GenericSidebarComponent, GenericSkeletonComponent, GenericStepsComponent, GenericTableComponent, GenericTabsComponent, GenericTimelineComponent, GlobalApiConfigService, HeaderComponent, HeaderConfigurationService, HeaderElementType, HeaderService, HttpLoaderFactory, ImageModalComponent, ImageModalService, ImagePreviewComponent, LayoutAuth, LayoutBreakpoint, LayoutComponent, LayoutService, LayoutStateService, LayoutType, LoaderComponent, LoaderService, MainNavComponent, MainNavService, ManualRefreshService, 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, ProgressBarComponent, ProgressBarSize, RatingService, RatingSize, RatingType, ResetPasswordModel, RoleModel, 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, UsersModel, VERSION, equalToValidator, isSameDate, provideCoreUiTranslateLoader, providePermissionActions, providePermissionEnums, providePermissionResources, providePermissionService, providePermissionServiceFactory, provideTranslateLoader };
|
|
4550
|
-
export type { ActiveFilterItem, ActiveFiltersConfig, AdditionalPermissionResources, AddressModel, Alert, ApiConfig, ApiResponse, BottomNavItem, ButtonActionEvent, ButtonConfig, CarouselConfig, CarouselImage, ChatConfig, ChatMessage, CheckboxFieldConfig, CheckboxModalFieldConfig, CheckboxOption, ColumnConfig, ColumnDisabledConfig, CompanyInfo, ConfirmUploadRequest, ConfirmationDialogConfig, CustomAction, DataListItem, DateFieldConfig, DateModalFieldConfig, DocumentActionEvent, DocumentConfig, DocumentItem, DynamicFieldsHelperConfig, DynamicFieldsHelperMethods, DynamicFieldsHelperState, ExpansionConfig, ExtendedModalFieldConfig, ExtendedPermissionProvider, FileFieldConfig, FilePreviewAction, FilePreviewConfig, FilePreviewItem, FileUploadConfig, FilterConfig, FilterParams, GenericTab, GenericTabClickEvent, GenericTabConfig, GlobalAction, HeaderActionConfig, HeaderConfig, HeaderElementConfig, HeaderOrderConfig, ImageModalData, InlineEditConfig, LayoutConfig, LayoutDataAttributes, LogoImagesConfig, ManualRefreshConfig, ModalButtonConfig, ModalFieldConfig, ModalTabConfig, ModalValidationResult, MoreDataConfig, MultiEntryFieldConfig, MultiEntryFieldValue, NavConfig, NavItem, NumberFieldConfig, NumberModalFieldConfig, PaginatedResponse, PaginationEvent, PaginationInfo, PermissionActionsProvider, PermissionProvider, PermissionResourcesProvider, 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, TableActionConfig, TableSortConfig, TimeFieldConfig, TimeFieldValue, TimeOption, TimelineConfig, TimelineItem };
|
|
4699
|
+
export { ActiveFiltersComponent, AlertComponent, AlertContainerComponent, AlertService, AlertType, ApiConfigurationProvider, BaseFieldComponent, ButtonContext, ButtonSize, ButtonType, CacheBustingInterceptor, CardComponent, CarouselComponent, ChatMessagePosition, ChatMessageType, CheckboxFieldComponent, ConfigurationModel, ConfirmationDialogComponent, ConfirmationDialogService, CoreHostDirective, CoreManualRefreshComponent, CoreUiHttpLoaderFactory, CoreUiTranslateLoader, CoreUiTranslateService, DataListComponent, DataListItemComponent, DateFieldComponent, DateUtility, DatetimeFieldComponent, DialogActions, DocumentAction, DocumentDisplayMode, DropdownComponent, DropdownDirection, DropdownService, DynamicFieldDirective, DynamicFieldsHelper, FieldErrorsComponent, FieldType, FileFieldComponent, FileModel, FilePreviewActionType, FileTemplateModel, FileTemplateType, FileType, FileTypeModel, FileUploadService, FilterModalComponent, FilterService, FilterType, GalleryAnimationType, GalleryLayoutType, GalleryModalComponent, GalleryModalGlobalService, GenericButtonComponent, GenericChatComponent, GenericChatService, GenericDocumentationComponent, GenericGalleryComponent, GenericModalComponent, GenericPaginationComponent, GenericRatingComponent, GenericSidebarComponent, GenericSkeletonComponent, GenericStepsComponent, GenericTableComponent, GenericTabsComponent, GenericTimelineComponent, GlobalApiConfigService, HeaderComponent, HeaderConfigurationService, HeaderElementType, HeaderService, HttpLoaderFactory, ImageModalComponent, ImageModalService, ImagePreviewComponent, LayoutAuth, LayoutBreakpoint, LayoutComponent, LayoutService, LayoutStateService, LayoutType, LoaderComponent, LoaderService, MainNavComponent, MainNavService, ManualRefreshService, 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, ProgressBarComponent, ProgressBarSize, RatingService, RatingSize, RatingType, ResetPasswordModel, RoleModel, 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, UsersModel, VERSION, equalToValidator, isSameDate, provideCoreUiTranslateLoader, providePermissionActions, providePermissionEnums, providePermissionResources, providePermissionService, providePermissionServiceFactory, provideTranslateLoader };
|
|
4700
|
+
export type { ActiveFilterItem, ActiveFiltersConfig, AdditionalPermissionResources, AddressModel, Alert, ApiConfig, ApiResponse, BottomNavItem, ButtonActionEvent, ButtonConfig, CarouselConfig, CarouselImage, ChatConfig, ChatMessage, CheckboxFieldConfig, CheckboxModalFieldConfig, CheckboxOption, ColumnConfig, ColumnDisabledConfig, CompanyInfo, ConfirmUploadRequest, ConfirmationDialogConfig, CustomAction, DataListItem, DateFieldConfig, DateModalFieldConfig, DocumentActionEvent, DocumentConfig, DocumentItem, DynamicFieldsHelperConfig, DynamicFieldsHelperMethods, DynamicFieldsHelperState, ExpansionConfig, ExtendedModalFieldConfig, ExtendedPermissionProvider, FileFieldConfig, FilePreviewAction, FilePreviewConfig, FilePreviewItem, FileUploadConfig, FilterConfig, FilterParams, GalleryConfig, GalleryImage, GenericTab, GenericTabClickEvent, GenericTabConfig, GlobalAction, HeaderActionConfig, HeaderConfig, HeaderElementConfig, HeaderOrderConfig, ImageModalData, InlineEditConfig, LayoutConfig, LayoutDataAttributes, LogoImagesConfig, ManualRefreshConfig, ModalButtonConfig, ModalFieldConfig, ModalTabConfig, ModalValidationResult, MoreDataConfig, MultiEntryFieldConfig, MultiEntryFieldValue, NavConfig, NavItem, NumberFieldConfig, NumberModalFieldConfig, PaginatedResponse, PaginationEvent, PaginationInfo, PermissionActionsProvider, PermissionProvider, PermissionResourcesProvider, 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, TableActionConfig, TableSortConfig, TimeFieldConfig, TimeFieldValue, TimeOption, TimelineConfig, TimelineItem };
|