@solcre-org/core-ui 2.11.12 → 2.11.14
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/fesm2022/solcre-org-core-ui.mjs +181 -16
- package/fesm2022/solcre-org-core-ui.mjs.map +1 -1
- package/index.d.ts +60 -26
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { TemplateRef, AfterViewInit, OnDestroy, ElementRef, OnInit, SimpleChanges, OnChanges, Type, ViewContainerRef, RendererFactory2, Signal, InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { TemplateRef, AfterViewInit, OnDestroy, ElementRef, OnInit, SimpleChanges, OnChanges, Type, ViewContainerRef, AfterViewChecked, RendererFactory2, Signal, InjectionToken, Provider } from '@angular/core';
|
|
3
3
|
import { ValidatorFn, FormControl, FormGroup } from '@angular/forms';
|
|
4
4
|
import { DataBaseModelInterface } from '@solcre-org/core';
|
|
5
5
|
import { NgSelectComponent } from '@ng-select/ng-select';
|
|
@@ -2268,11 +2268,6 @@ declare class SidebarMobileModalService {
|
|
|
2268
2268
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SidebarMobileModalService>;
|
|
2269
2269
|
}
|
|
2270
2270
|
|
|
2271
|
-
declare enum SidebarPosition {
|
|
2272
|
-
LEFT = "left",
|
|
2273
|
-
RIGHT = "right"
|
|
2274
|
-
}
|
|
2275
|
-
|
|
2276
2271
|
interface DateFieldConfig {
|
|
2277
2272
|
showCalendarIcon?: boolean;
|
|
2278
2273
|
}
|
|
@@ -2424,9 +2419,9 @@ interface SidebarCustomModalConfig {
|
|
|
2424
2419
|
component?: Type<any>;
|
|
2425
2420
|
template?: TemplateRef<any>;
|
|
2426
2421
|
data?: any;
|
|
2427
|
-
onClose?: () => void;
|
|
2428
2422
|
closeOnBackdrop?: boolean;
|
|
2429
2423
|
customClass?: string;
|
|
2424
|
+
onClose?: () => void;
|
|
2430
2425
|
}
|
|
2431
2426
|
|
|
2432
2427
|
interface AdditionalPermissionResources {
|
|
@@ -2480,6 +2475,55 @@ interface RatingSubmitEvent {
|
|
|
2480
2475
|
endpoint?: string;
|
|
2481
2476
|
}
|
|
2482
2477
|
|
|
2478
|
+
type ComponentLoader = () => Promise<{
|
|
2479
|
+
[key: string]: any;
|
|
2480
|
+
}>;
|
|
2481
|
+
declare class SidebarCustomModalService {
|
|
2482
|
+
private isOpen;
|
|
2483
|
+
private currentConfig;
|
|
2484
|
+
private componentRef;
|
|
2485
|
+
private viewContainerRef;
|
|
2486
|
+
private componentRegistry;
|
|
2487
|
+
openComponent(componentPath: string, data?: any, customClass?: string, onClose?: () => void): Promise<void>;
|
|
2488
|
+
private loadComponentByConvention;
|
|
2489
|
+
private loadComponentByPath;
|
|
2490
|
+
private createModalFromModule;
|
|
2491
|
+
openModal(componentPath: string, data?: any, options?: {
|
|
2492
|
+
customClass?: string;
|
|
2493
|
+
onClose?: () => void;
|
|
2494
|
+
}): Promise<void>;
|
|
2495
|
+
openLazyModal(lazyImport: () => Promise<any>, data?: any, options?: {
|
|
2496
|
+
customClass?: string;
|
|
2497
|
+
onClose?: () => void;
|
|
2498
|
+
}): Promise<void>;
|
|
2499
|
+
openDirectModal(component: Type<any>, data?: any, options?: {
|
|
2500
|
+
customClass?: string;
|
|
2501
|
+
onClose?: () => void;
|
|
2502
|
+
}): void;
|
|
2503
|
+
registerComponent(name: string, loader: ComponentLoader): void;
|
|
2504
|
+
openRegisteredComponent(componentName: string, data?: any, customClass?: string, onClose?: () => void): Promise<void>;
|
|
2505
|
+
getRegisteredComponents(): string[];
|
|
2506
|
+
registerAndOpenComponent(name: string, importPath: string, data?: any, customClass?: string, onClose?: () => void): Promise<void>;
|
|
2507
|
+
getIsOpen(): _angular_core.WritableSignal<boolean>;
|
|
2508
|
+
getCurrentConfig(): _angular_core.WritableSignal<SidebarCustomModalConfig | null>;
|
|
2509
|
+
setViewContainerRef(vcr: ViewContainerRef): void;
|
|
2510
|
+
resetViewContainerRef(): void;
|
|
2511
|
+
openComponentModal(component: Type<any>, data?: any, config?: Partial<SidebarCustomModalConfig>): void;
|
|
2512
|
+
private createComponentWhenReady;
|
|
2513
|
+
createComponentInstance(component: Type<any>, data?: any): void;
|
|
2514
|
+
openTemplateModal(template: TemplateRef<any>, data?: any, config?: Partial<SidebarCustomModalConfig>): void;
|
|
2515
|
+
closeModal(): void;
|
|
2516
|
+
openDynamicComponentModal(importPath: string, componentName: string, data?: any, config?: Partial<SidebarCustomModalConfig>): Promise<void>;
|
|
2517
|
+
onBackdropClick(): void;
|
|
2518
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidebarCustomModalService, never>;
|
|
2519
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SidebarCustomModalService>;
|
|
2520
|
+
}
|
|
2521
|
+
|
|
2522
|
+
declare enum SidebarPosition {
|
|
2523
|
+
LEFT = "left",
|
|
2524
|
+
RIGHT = "right"
|
|
2525
|
+
}
|
|
2526
|
+
|
|
2483
2527
|
declare class GenericSidebarComponent implements OnInit {
|
|
2484
2528
|
private sidebarService;
|
|
2485
2529
|
private templateRegistry;
|
|
@@ -2539,26 +2583,16 @@ declare class GenericSidebarComponent implements OnInit {
|
|
|
2539
2583
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GenericSidebarComponent, "core-generic-sidebar", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "customTemplate": { "alias": "customTemplate"; "required": false; "isSignal": true; }; }, { "itemClicked": "itemClicked"; "subItemClicked": "subItemClicked"; }, never, never, true, [{ directive: typeof CoreHostDirective; inputs: {}; outputs: {}; }]>;
|
|
2540
2584
|
}
|
|
2541
2585
|
|
|
2542
|
-
declare class
|
|
2543
|
-
private isOpen;
|
|
2544
|
-
private currentConfig;
|
|
2545
|
-
private componentRef;
|
|
2546
|
-
private viewContainerRef;
|
|
2547
|
-
getIsOpen(): _angular_core.WritableSignal<boolean>;
|
|
2548
|
-
getCurrentConfig(): _angular_core.WritableSignal<SidebarCustomModalConfig | null>;
|
|
2549
|
-
setViewContainerRef(vcr: ViewContainerRef): void;
|
|
2550
|
-
openComponentModal(component: Type<any>, data?: any, config?: Partial<SidebarCustomModalConfig>): void;
|
|
2551
|
-
openTemplateModal(template: TemplateRef<any>, data?: any, config?: Partial<SidebarCustomModalConfig>): void;
|
|
2552
|
-
closeModal(): void;
|
|
2553
|
-
onBackdropClick(): void;
|
|
2554
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidebarCustomModalService, never>;
|
|
2555
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SidebarCustomModalService>;
|
|
2556
|
-
}
|
|
2557
|
-
|
|
2558
|
-
declare class SidebarCustomModalComponent implements OnInit, OnDestroy {
|
|
2586
|
+
declare class SidebarCustomModalComponent implements AfterViewInit, AfterViewChecked, OnDestroy {
|
|
2559
2587
|
modalService: SidebarCustomModalService;
|
|
2588
|
+
private cdr;
|
|
2560
2589
|
dynamicComponent: ViewContainerRef;
|
|
2561
|
-
|
|
2590
|
+
private hasInitializedViewContainerRef;
|
|
2591
|
+
private currentModalState;
|
|
2592
|
+
constructor();
|
|
2593
|
+
ngAfterViewInit(): void;
|
|
2594
|
+
ngAfterViewChecked(): void;
|
|
2595
|
+
private setupViewContainerRefIfAvailable;
|
|
2562
2596
|
ngOnDestroy(): void;
|
|
2563
2597
|
getCurrentConfig(): _solcre_org_core_ui.SidebarCustomModalConfig | null;
|
|
2564
2598
|
getModalClasses(): string;
|
|
@@ -3630,5 +3664,5 @@ declare const VERSION: {
|
|
|
3630
3664
|
buildDate: string;
|
|
3631
3665
|
};
|
|
3632
3666
|
|
|
3633
|
-
export { ActiveFiltersComponent, AlertComponent, AlertContainerComponent, AlertService, AlertType, ApiConfigurationProvider, BaseFieldComponent, ButtonContext, ButtonSize, ButtonType, CacheBustingInterceptor, CardComponent, CheckboxFieldComponent, ConfigurationModel, ConfirmationDialogComponent, ConfirmationDialogService, CoreHostDirective, CoreUiHttpLoaderFactory, CoreUiTranslateLoader, CoreUiTranslateService, DataListComponent, DataListItemComponent, DateFieldComponent, DateUtility, DatetimeFieldComponent, DialogActions, DocumentAction, DocumentDisplayMode, DropdownComponent, DropdownDirection, DropdownService, DynamicFieldDirective, FieldErrorsComponent, FieldType, FileFieldComponent, FileModel, FileTemplateModel, FileTemplateType, FileType, FileTypeModel, FileUploadService, FilterModalComponent, FilterService, FilterType, GenericButtonComponent, GenericDocumentationComponent, GenericModalComponent, GenericPaginationComponent, GenericRatingComponent, GenericSidebarComponent, GenericStepsComponent, GenericTableComponent, GenericTabsComponent, GenericTimelineComponent, GlobalApiConfigService, HeaderComponent, HeaderConfigurationService, HeaderElementType, HeaderService, HttpLoaderFactory, ImageModalComponent, LayoutAuth, LayoutBreakpoint, LayoutComponent, LayoutService, LayoutStateService, LayoutType, LoaderComponent, LoaderService, MainNavComponent, MainNavService, 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, SidebarHeight, SidebarMobileModalService, SidebarMobileType, SidebarPosition, SidebarService, SidebarState, SidebarTemplateRegistryService, SidebarVisibility, SidebarWidth, SmartFieldComponent, StepSize, StepStatus, StepType, SwitchFieldComponent, TableAction, TableActionService, TableDataService, TextAreaFieldComponent, TextFieldComponent, TimeFieldComponent, TimeInterval, TimelineService, TimelineStatus, TimelineType, TranslationMergeService, UsersModel, VERSION, equalToValidator, isSameDate, provideCoreUiTranslateLoader, providePermissionActions, providePermissionEnums, providePermissionResources, providePermissionService, providePermissionServiceFactory, provideTranslateLoader };
|
|
3667
|
+
export { ActiveFiltersComponent, AlertComponent, AlertContainerComponent, AlertService, AlertType, ApiConfigurationProvider, BaseFieldComponent, ButtonContext, ButtonSize, ButtonType, CacheBustingInterceptor, CardComponent, CheckboxFieldComponent, ConfigurationModel, ConfirmationDialogComponent, ConfirmationDialogService, CoreHostDirective, CoreUiHttpLoaderFactory, CoreUiTranslateLoader, CoreUiTranslateService, DataListComponent, DataListItemComponent, DateFieldComponent, DateUtility, DatetimeFieldComponent, DialogActions, DocumentAction, DocumentDisplayMode, DropdownComponent, DropdownDirection, DropdownService, DynamicFieldDirective, FieldErrorsComponent, FieldType, FileFieldComponent, FileModel, FileTemplateModel, FileTemplateType, FileType, FileTypeModel, FileUploadService, FilterModalComponent, FilterService, FilterType, GenericButtonComponent, GenericDocumentationComponent, GenericModalComponent, GenericPaginationComponent, GenericRatingComponent, GenericSidebarComponent, GenericStepsComponent, GenericTableComponent, GenericTabsComponent, GenericTimelineComponent, GlobalApiConfigService, HeaderComponent, HeaderConfigurationService, HeaderElementType, HeaderService, HttpLoaderFactory, ImageModalComponent, LayoutAuth, LayoutBreakpoint, LayoutComponent, LayoutService, LayoutStateService, LayoutType, LoaderComponent, LoaderService, MainNavComponent, MainNavService, 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, SmartFieldComponent, StepSize, StepStatus, StepType, SwitchFieldComponent, TableAction, TableActionService, TableDataService, TextAreaFieldComponent, TextFieldComponent, TimeFieldComponent, TimeInterval, TimelineService, TimelineStatus, TimelineType, TranslationMergeService, UsersModel, VERSION, equalToValidator, isSameDate, provideCoreUiTranslateLoader, providePermissionActions, providePermissionEnums, providePermissionResources, providePermissionService, providePermissionServiceFactory, provideTranslateLoader };
|
|
3634
3668
|
export type { ActiveFilterItem, ActiveFiltersConfig, AdditionalPermissionResources, AddressModel, Alert, ApiConfig, ApiResponse, BottomNavItem, ButtonActionEvent, ButtonConfig, CheckboxFieldConfig, CheckboxModalFieldConfig, CheckboxOption, ColumnConfig, ColumnDisabledConfig, CompanyInfo, ConfirmUploadRequest, ConfirmationDialogConfig, CustomAction, DataListItem, DateFieldConfig, DateModalFieldConfig, DocumentActionEvent, DocumentConfig, DocumentItem, ExpansionConfig, ExtendedModalFieldConfig, ExtendedPermissionProvider, FileFieldConfig, FileUploadConfig, FilterConfig, FilterParams, GenericTab, GenericTabClickEvent, GenericTabConfig, GlobalAction, HeaderActionConfig, HeaderConfig, HeaderElementConfig, HeaderOrderConfig, InlineEditConfig, LayoutConfig, LayoutDataAttributes, LogoImagesConfig, ModalButtonConfig, ModalFieldConfig, ModalTabConfig, ModalValidationResult, MoreDataConfig, MultiEntryFieldConfig, MultiEntryFieldValue, NavConfig, NavItem, NumberFieldConfig, NumberModalFieldConfig, PaginatedResponse, PaginationEvent, PermissionActionsProvider, PermissionProvider, PermissionResourcesProvider, PresignedDownloadUrlResponse, PresignedUrlRequest, PresignedUrlResponse, RatingConfig, RatingStar, RatingSubmitEvent, RowStyleConfig, SearchResponse, SelectServerSideConfig, SidebarBackButton, SidebarComponentConfig, SidebarComponentEvents, SidebarConfig, SidebarCustomModalConfig, SidebarItem, SidebarResponsiveConfig, SidebarSubItem, SidebarTemplateContext, StepClickEvent, StepConfig, StepsConfig, SwitchFieldConfig, SwitchModalFieldConfig, TableActionConfig, TimeFieldConfig, TimeFieldValue, TimeOption, TimelineConfig, TimelineItem };
|