@solcre-org/core-ui 2.11.11 → 2.11.13
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 +65 -65
- package/fesm2022/solcre-org-core-ui.mjs.map +1 -1
- package/index.d.ts +40 -11
- 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, RendererFactory2, Signal, InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { TemplateRef, AfterViewInit, OnDestroy, ElementRef, OnInit, SimpleChanges, OnChanges, Type, ViewContainerRef, 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';
|
|
@@ -7,6 +7,7 @@ import * as rxjs from 'rxjs';
|
|
|
7
7
|
import { Observable, Subject, BehaviorSubject } from 'rxjs';
|
|
8
8
|
import { SafeHtml } from '@angular/platform-browser';
|
|
9
9
|
import { Overlay } from '@angular/cdk/overlay';
|
|
10
|
+
import * as _solcre_org_core_ui from '@solcre-org/core-ui';
|
|
10
11
|
import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent, HttpClient } from '@angular/common/http';
|
|
11
12
|
import { TranslateLoader, TranslateService } from '@ngx-translate/core';
|
|
12
13
|
import { TranslateHttpLoader } from '@ngx-translate/http-loader';
|
|
@@ -2267,6 +2268,31 @@ declare class SidebarMobileModalService {
|
|
|
2267
2268
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SidebarMobileModalService>;
|
|
2268
2269
|
}
|
|
2269
2270
|
|
|
2271
|
+
interface SidebarCustomModalConfig {
|
|
2272
|
+
component?: Type<any>;
|
|
2273
|
+
template?: TemplateRef<any>;
|
|
2274
|
+
data?: any;
|
|
2275
|
+
onClose?: () => void;
|
|
2276
|
+
closeOnBackdrop?: boolean;
|
|
2277
|
+
customClass?: string;
|
|
2278
|
+
}
|
|
2279
|
+
|
|
2280
|
+
declare class SidebarCustomModalService {
|
|
2281
|
+
private isOpen;
|
|
2282
|
+
private currentConfig;
|
|
2283
|
+
private componentRef;
|
|
2284
|
+
private viewContainerRef;
|
|
2285
|
+
getIsOpen(): _angular_core.WritableSignal<boolean>;
|
|
2286
|
+
getCurrentConfig(): _angular_core.WritableSignal<SidebarCustomModalConfig | null>;
|
|
2287
|
+
setViewContainerRef(vcr: ViewContainerRef): void;
|
|
2288
|
+
openComponentModal(component: Type<any>, data?: any, config?: Partial<SidebarCustomModalConfig>): void;
|
|
2289
|
+
openTemplateModal(template: TemplateRef<any>, data?: any, config?: Partial<SidebarCustomModalConfig>): void;
|
|
2290
|
+
closeModal(): void;
|
|
2291
|
+
onBackdropClick(): void;
|
|
2292
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidebarCustomModalService, never>;
|
|
2293
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SidebarCustomModalService>;
|
|
2294
|
+
}
|
|
2295
|
+
|
|
2270
2296
|
declare enum SidebarPosition {
|
|
2271
2297
|
LEFT = "left",
|
|
2272
2298
|
RIGHT = "right"
|
|
@@ -2419,15 +2445,6 @@ interface SidebarComponentEvents {
|
|
|
2419
2445
|
subItemClicked?: (subItem: SidebarSubItem) => void;
|
|
2420
2446
|
}
|
|
2421
2447
|
|
|
2422
|
-
interface SidebarCustomModalConfig {
|
|
2423
|
-
component?: Type<any>;
|
|
2424
|
-
template?: TemplateRef<any>;
|
|
2425
|
-
data?: any;
|
|
2426
|
-
onClose?: () => void;
|
|
2427
|
-
closeOnBackdrop?: boolean;
|
|
2428
|
-
customClass?: string;
|
|
2429
|
-
}
|
|
2430
|
-
|
|
2431
2448
|
interface AdditionalPermissionResources {
|
|
2432
2449
|
[key: string]: string;
|
|
2433
2450
|
}
|
|
@@ -2538,6 +2555,18 @@ declare class GenericSidebarComponent implements OnInit {
|
|
|
2538
2555
|
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: {}; }]>;
|
|
2539
2556
|
}
|
|
2540
2557
|
|
|
2558
|
+
declare class SidebarCustomModalComponent implements OnInit, OnDestroy {
|
|
2559
|
+
modalService: SidebarCustomModalService;
|
|
2560
|
+
dynamicComponent: ViewContainerRef;
|
|
2561
|
+
ngOnInit(): void;
|
|
2562
|
+
ngOnDestroy(): void;
|
|
2563
|
+
getCurrentConfig(): _solcre_org_core_ui.SidebarCustomModalConfig | null;
|
|
2564
|
+
getModalClasses(): string;
|
|
2565
|
+
onBackdropClick(event: Event): void;
|
|
2566
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidebarCustomModalComponent, never>;
|
|
2567
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidebarCustomModalComponent, "core-sidebar-custom-modal", never, {}, {}, never, never, true, never>;
|
|
2568
|
+
}
|
|
2569
|
+
|
|
2541
2570
|
interface SidebarTemplateContext {
|
|
2542
2571
|
config: any;
|
|
2543
2572
|
position: string;
|
|
@@ -3601,5 +3630,5 @@ declare const VERSION: {
|
|
|
3601
3630
|
buildDate: string;
|
|
3602
3631
|
};
|
|
3603
3632
|
|
|
3604
|
-
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, 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 };
|
|
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, 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 };
|
|
3605
3634
|
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 };
|