@verisoft/ui-primeng 21.0.9 → 21.0.11
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/package.json
CHANGED
|
@@ -2,7 +2,7 @@ import { ControlValueAccessor, NgControl, UntypedFormGroup, ValidatorFn, FormGro
|
|
|
2
2
|
import * as _verisoft_ui_core from '@verisoft/ui-core';
|
|
3
3
|
import { BaseFormInputComponent, InputGroupCore, InputGroupItem, TextfieldCore, FieldSizeType, FieldTypeType, BreadcrumbCoreComponent, CheckboxCore, CalendarCore, FormFieldCore, PasswordCore, SectionCore, ButtonCore, IconPositionType, ControlSeverityType, DropdownButtonCore, MenuItem, RadiobuttonCore, RadioButtonItem, NumberInputCore, UnsubscribeComponent, HeaderCore, ScreenSizeService, TextareaCore, LoaderCore, SnackbarCore, SideMenuCore, SideMenuService, SideMenuProviderService, SideMenuModuleConfig, TableCore, ColumnProvider, TableSelectionModeType, ColumnDefinition, ColumnModel, RowModel, ActionButton, ActionButtonGroupCore, GenericFieldCore, GenericFieldTypeType, GenericFieldType, GenericFieldDefinition, ExtendedComponent, PageHeaderCoreComponent, PageHeaderCore, StepperCore, StepperItem, LayoutTypeType, DropdownCore, MultiselectCore, SliderCore, ConfirmDialogCore, DialogService, DialogData, SwitchCore, TabViewCore, TabViewItemCore, FilterCore, FieldSize, TableDatasourceDirective, TableColumnDirective, TooltipCore, TagCore, TagVariant, IconsComponent, CommonIcons } from '@verisoft/ui-core';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
|
-
import { OnInit, ChangeDetectorRef, AfterContentInit, EventEmitter, ElementRef, ModuleWithProviders, AfterViewInit, OnChanges, QueryList, TemplateRef, SimpleChanges,
|
|
5
|
+
import { OnInit, ChangeDetectorRef, AfterContentInit, EventEmitter, ElementRef, ModuleWithProviders, AfterViewInit, OnChanges, QueryList, TemplateRef, SimpleChanges, Type, ViewContainerRef, Injector, ComponentRef, OnDestroy, InjectionToken, PipeTransform } from '@angular/core';
|
|
6
6
|
import * as _verisoft_core from '@verisoft/core';
|
|
7
7
|
import { Sort, LazyLoadEvent, DatasourceType, FilterEvent, BaseHttpService } from '@verisoft/core';
|
|
8
8
|
import { Params, Router, ActivatedRoute, Route } from '@angular/router';
|
|
@@ -399,31 +399,34 @@ declare class GenericFormComponent implements OnChanges {
|
|
|
399
399
|
declare function generateFormGroup(fields: GenericFieldDefinition[] | undefined, lastGroupValue: UntypedFormGroup | undefined, inputGroup: UntypedFormGroup | undefined, inputGroupChanged?: boolean): UntypedFormGroup;
|
|
400
400
|
declare function getColumnClass(value?: number): string | undefined;
|
|
401
401
|
|
|
402
|
-
declare class DynamicComponentFactoryService
|
|
403
|
-
private
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
createDynamicComponent<TComponent>(componentType: Type<TComponent>, viewContainerRef: ViewContainerRef, inputs: ExtendedComponent<TComponent>, injector?: Injector | undefined): Promise<ComponentRef<TComponent>>;
|
|
402
|
+
declare class DynamicComponentFactoryService {
|
|
403
|
+
private readonly outputSubscriptions;
|
|
404
|
+
createDynamicComponent<TComponent>(componentType: Type<TComponent>, viewContainerRef: ViewContainerRef, inputs: ExtendedComponent<TComponent>, injector?: Injector | undefined): ComponentRef<TComponent>;
|
|
405
|
+
cleanupComponent(instance: object): void;
|
|
407
406
|
setComponentData<TComponent>(component: ComponentRef<TComponent>, inputs: Partial<TComponent>): void;
|
|
408
407
|
private unsubscribeComponentEvents;
|
|
409
408
|
private fireComponentEvents;
|
|
410
409
|
private setComponentDataInt;
|
|
411
|
-
private fireInputComponentEvents;
|
|
412
410
|
private fireOutputComponentEvents;
|
|
411
|
+
private getInputNames;
|
|
412
|
+
private getOutputNames;
|
|
413
413
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicComponentFactoryService, never>;
|
|
414
414
|
static ɵprov: i0.ɵɵInjectableDeclaration<DynamicComponentFactoryService>;
|
|
415
415
|
}
|
|
416
416
|
|
|
417
|
-
declare class DynamicComponent<TComponent> implements AfterViewInit, OnChanges {
|
|
417
|
+
declare class DynamicComponent<TComponent> implements AfterViewInit, OnChanges, OnDestroy {
|
|
418
418
|
componentType: Type<TComponent>;
|
|
419
419
|
data: ExtendedComponent<TComponent>;
|
|
420
420
|
container: ViewContainerRef;
|
|
421
421
|
private factoryServices;
|
|
422
422
|
private changeDetectorRef;
|
|
423
423
|
private injector;
|
|
424
|
+
private componentRef?;
|
|
424
425
|
ngOnChanges(): void;
|
|
425
426
|
ngAfterViewInit(): void;
|
|
427
|
+
ngOnDestroy(): void;
|
|
426
428
|
private createComponent;
|
|
429
|
+
private destroyCurrentComponent;
|
|
427
430
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicComponent<any>, never>;
|
|
428
431
|
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicComponent<any>, "v-dynamic-component", never, { "componentType": { "alias": "componentType"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
|
|
429
432
|
}
|