@verisoft/ui-primeng 21.0.8 → 21.0.10
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
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verisoft/ui-primeng",
|
|
3
|
-
"version": "21.0.
|
|
3
|
+
"version": "21.0.10",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@verisoft/core": "^21.0.0",
|
|
6
6
|
"@verisoft/ui-core": "^21.0.0",
|
|
7
|
-
"@angular/core": "
|
|
8
|
-
"@angular/common": "
|
|
9
|
-
"@angular/forms": "
|
|
10
|
-
"@angular/platform-browser": "
|
|
11
|
-
"@angular/router": "
|
|
7
|
+
"@angular/core": "^21.1.0",
|
|
8
|
+
"@angular/common": "^21.1.0",
|
|
9
|
+
"@angular/forms": "^21.1.0",
|
|
10
|
+
"@angular/platform-browser": "^21.1.0",
|
|
11
|
+
"@angular/router": "^21.1.0",
|
|
12
12
|
"@ngx-translate/core": "^17.0.0",
|
|
13
13
|
"primeng": "~21.0.2",
|
|
14
14
|
"rxjs": "~7.8.0"
|
|
@@ -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';
|
|
@@ -343,6 +343,7 @@ declare class ActionButtonGroupComponent extends UnsubscribeComponent implements
|
|
|
343
343
|
menuIconPos: IconPositionType;
|
|
344
344
|
menuIcon: string;
|
|
345
345
|
label?: string;
|
|
346
|
+
showLabels: boolean;
|
|
346
347
|
icon?: string;
|
|
347
348
|
icons: _verisoft_ui_core.CommonIcons;
|
|
348
349
|
allItems: ActionButton[];
|
|
@@ -355,7 +356,7 @@ declare class ActionButtonGroupComponent extends UnsubscribeComponent implements
|
|
|
355
356
|
private computeItems;
|
|
356
357
|
private convertToMenuItem;
|
|
357
358
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionButtonGroupComponent, never>;
|
|
358
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ActionButtonGroupComponent, "v-action-button-group", never, { "maxItems": { "alias": "maxItems"; "required": false; }; "maxItemsMobile": { "alias": "maxItemsMobile"; "required": false; }; "items": { "alias": "items"; "required": false; }; "menuIconPos": { "alias": "menuIconPos"; "required": false; }; "menuIcon": { "alias": "menuIcon"; "required": false; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, ["actions"], never, true, never>;
|
|
359
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionButtonGroupComponent, "v-action-button-group", never, { "maxItems": { "alias": "maxItems"; "required": false; }; "maxItemsMobile": { "alias": "maxItemsMobile"; "required": false; }; "items": { "alias": "items"; "required": false; }; "menuIconPos": { "alias": "menuIconPos"; "required": false; }; "menuIcon": { "alias": "menuIcon"; "required": false; }; "label": { "alias": "label"; "required": false; }; "showLabels": { "alias": "showLabels"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, ["actions"], never, true, never>;
|
|
359
360
|
}
|
|
360
361
|
|
|
361
362
|
declare class GenericFieldComponent<T> extends BaseFormInputComponent implements GenericFieldCore<T> {
|
|
@@ -398,31 +399,34 @@ declare class GenericFormComponent implements OnChanges {
|
|
|
398
399
|
declare function generateFormGroup(fields: GenericFieldDefinition[] | undefined, lastGroupValue: UntypedFormGroup | undefined, inputGroup: UntypedFormGroup | undefined, inputGroupChanged?: boolean): UntypedFormGroup;
|
|
399
400
|
declare function getColumnClass(value?: number): string | undefined;
|
|
400
401
|
|
|
401
|
-
declare class DynamicComponentFactoryService
|
|
402
|
-
private
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
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;
|
|
406
406
|
setComponentData<TComponent>(component: ComponentRef<TComponent>, inputs: Partial<TComponent>): void;
|
|
407
407
|
private unsubscribeComponentEvents;
|
|
408
408
|
private fireComponentEvents;
|
|
409
409
|
private setComponentDataInt;
|
|
410
|
-
private fireInputComponentEvents;
|
|
411
410
|
private fireOutputComponentEvents;
|
|
411
|
+
private getInputNames;
|
|
412
|
+
private getOutputNames;
|
|
412
413
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicComponentFactoryService, never>;
|
|
413
414
|
static ɵprov: i0.ɵɵInjectableDeclaration<DynamicComponentFactoryService>;
|
|
414
415
|
}
|
|
415
416
|
|
|
416
|
-
declare class DynamicComponent<TComponent> implements AfterViewInit, OnChanges {
|
|
417
|
+
declare class DynamicComponent<TComponent> implements AfterViewInit, OnChanges, OnDestroy {
|
|
417
418
|
componentType: Type<TComponent>;
|
|
418
419
|
data: ExtendedComponent<TComponent>;
|
|
419
420
|
container: ViewContainerRef;
|
|
420
421
|
private factoryServices;
|
|
421
422
|
private changeDetectorRef;
|
|
422
423
|
private injector;
|
|
424
|
+
private componentRef?;
|
|
423
425
|
ngOnChanges(): void;
|
|
424
426
|
ngAfterViewInit(): void;
|
|
427
|
+
ngOnDestroy(): void;
|
|
425
428
|
private createComponent;
|
|
429
|
+
private destroyCurrentComponent;
|
|
426
430
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicComponent<any>, never>;
|
|
427
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>;
|
|
428
432
|
}
|
|
@@ -592,6 +596,9 @@ type FilterValueType = {
|
|
|
592
596
|
};
|
|
593
597
|
declare class FilterComponent<T extends object> extends UnsubscribeComponent implements OnChanges, OnInit, AfterContentInit, FilterCore {
|
|
594
598
|
fieldDeclarations: QueryList<FilterFieldDirective>;
|
|
599
|
+
filterDetailTitle: string;
|
|
600
|
+
applyButtonLabel: string;
|
|
601
|
+
clearButtonLabel: string;
|
|
595
602
|
fields: GenericFieldDefinition[];
|
|
596
603
|
filters: GenericFieldDefinition[];
|
|
597
604
|
title?: string;
|
|
@@ -620,7 +627,6 @@ declare class FilterComponent<T extends object> extends UnsubscribeComponent imp
|
|
|
620
627
|
ngOnChanges(changes: SimpleChanges): void;
|
|
621
628
|
ngAfterContentInit(): void;
|
|
622
629
|
protected openFilter(): void;
|
|
623
|
-
protected openSearch(): void;
|
|
624
630
|
writeValue(data: FilterValueType): void;
|
|
625
631
|
registerOnChange(fn: (value: FilterValueType | undefined) => void): void;
|
|
626
632
|
registerOnTouched(fn: () => void): void;
|
|
@@ -630,7 +636,7 @@ declare class FilterComponent<T extends object> extends UnsubscribeComponent imp
|
|
|
630
636
|
clear(): void;
|
|
631
637
|
private convertFilter;
|
|
632
638
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent<any>, never>;
|
|
633
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent<any>, "v-filter", never, { "fields": { "alias": "fields"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "title": { "alias": "title"; "required": false; }; "fulltextFieldName": { "alias": "fulltextFieldName"; "required": false; }; "showFulltext": { "alias": "showFulltext"; "required": false; }; "showFilters": { "alias": "showFilters"; "required": false; }; "autoBind": { "alias": "autoBind"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; }, {}, ["fieldDeclarations"], ["v-action-button-group"], true, never>;
|
|
639
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent<any>, "v-filter", never, { "filterDetailTitle": { "alias": "filterDetailTitle"; "required": false; }; "applyButtonLabel": { "alias": "applyButtonLabel"; "required": false; }; "clearButtonLabel": { "alias": "clearButtonLabel"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "title": { "alias": "title"; "required": false; }; "fulltextFieldName": { "alias": "fulltextFieldName"; "required": false; }; "showFulltext": { "alias": "showFulltext"; "required": false; }; "showFilters": { "alias": "showFilters"; "required": false; }; "autoBind": { "alias": "autoBind"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; }, {}, ["fieldDeclarations"], ["v-action-button-group"], true, never>;
|
|
634
640
|
}
|
|
635
641
|
|
|
636
642
|
declare class FeatureListFilterFieldDirective extends FilterFieldDirective {
|
|
@@ -689,6 +695,9 @@ declare class FeatureListComponent<T> implements AfterViewInit {
|
|
|
689
695
|
extraFilter: Partial<T> | undefined;
|
|
690
696
|
disableCustomClicks: boolean;
|
|
691
697
|
maximumColumnLength: number;
|
|
698
|
+
filterDetailTitle: string;
|
|
699
|
+
applyButtonLabel: string;
|
|
700
|
+
clearButtonLabel: string;
|
|
692
701
|
addClick: EventEmitter<any>;
|
|
693
702
|
downloadClick: EventEmitter<any>;
|
|
694
703
|
deleteClick: EventEmitter<T[]>;
|
|
@@ -713,7 +722,7 @@ declare class FeatureListComponent<T> implements AfterViewInit {
|
|
|
713
722
|
private finishDeletion;
|
|
714
723
|
private convertToBlob;
|
|
715
724
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeatureListComponent<any>, never>;
|
|
716
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FeatureListComponent<any>, "v-feature-list", never, { "autoBind": { "alias": "autoBind"; "required": false; }; "title": { "alias": "title"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "maxVisibleActions": { "alias": "maxVisibleActions"; "required": false; }; "tableName": { "alias": "tableName"; "required": true; }; "ngrxFeatureKey": { "alias": "ngrxFeatureKey"; "required": false; }; "maxVisibleMobileActions": { "alias": "maxVisibleMobileActions"; "required": false; }; "showExtendedFilter": { "alias": "showExtendedFilter"; "required": false; }; "showDownload": { "alias": "showDownload"; "required": false; }; "showDelete": { "alias": "showDelete"; "required": false; }; "showAdd": { "alias": "showAdd"; "required": false; }; "canDownload": { "alias": "canDownload"; "required": false; }; "canDelete": { "alias": "canDelete"; "required": false; }; "canAdd": { "alias": "canAdd"; "required": false; }; "useRouterFilter": { "alias": "useRouterFilter"; "required": false; }; "fulltextFieldName": { "alias": "fulltextFieldName"; "required": false; }; "showFulltext": { "alias": "showFulltext"; "required": false; }; "deleteConfirmMessage": { "alias": "deleteConfirmMessage"; "required": false; }; "autoDeleteEnabled": { "alias": "autoDeleteEnabled"; "required": false; }; "autoDownloadEnabled": { "alias": "autoDownloadEnabled"; "required": false; }; "downloadFileName": { "alias": "downloadFileName"; "required": false; }; "datasource": { "alias": "datasource"; "required": false; }; "extraFilter": { "alias": "extraFilter"; "required": false; }; "disableCustomClicks": { "alias": "disableCustomClicks"; "required": false; }; "maximumColumnLength": { "alias": "maximumColumnLength"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; }, { "addClick": "addClick"; "downloadClick": "downloadClick"; "deleteClick": "deleteClick"; "selectionChange": "selectionChange"; }, ["viewColumns", "fieldDeclarations"], never, true, never>;
|
|
725
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FeatureListComponent<any>, "v-feature-list", never, { "autoBind": { "alias": "autoBind"; "required": false; }; "title": { "alias": "title"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "maxVisibleActions": { "alias": "maxVisibleActions"; "required": false; }; "tableName": { "alias": "tableName"; "required": true; }; "ngrxFeatureKey": { "alias": "ngrxFeatureKey"; "required": false; }; "maxVisibleMobileActions": { "alias": "maxVisibleMobileActions"; "required": false; }; "showExtendedFilter": { "alias": "showExtendedFilter"; "required": false; }; "showDownload": { "alias": "showDownload"; "required": false; }; "showDelete": { "alias": "showDelete"; "required": false; }; "showAdd": { "alias": "showAdd"; "required": false; }; "canDownload": { "alias": "canDownload"; "required": false; }; "canDelete": { "alias": "canDelete"; "required": false; }; "canAdd": { "alias": "canAdd"; "required": false; }; "useRouterFilter": { "alias": "useRouterFilter"; "required": false; }; "fulltextFieldName": { "alias": "fulltextFieldName"; "required": false; }; "showFulltext": { "alias": "showFulltext"; "required": false; }; "deleteConfirmMessage": { "alias": "deleteConfirmMessage"; "required": false; }; "autoDeleteEnabled": { "alias": "autoDeleteEnabled"; "required": false; }; "autoDownloadEnabled": { "alias": "autoDownloadEnabled"; "required": false; }; "downloadFileName": { "alias": "downloadFileName"; "required": false; }; "datasource": { "alias": "datasource"; "required": false; }; "extraFilter": { "alias": "extraFilter"; "required": false; }; "disableCustomClicks": { "alias": "disableCustomClicks"; "required": false; }; "maximumColumnLength": { "alias": "maximumColumnLength"; "required": false; }; "filterDetailTitle": { "alias": "filterDetailTitle"; "required": false; }; "applyButtonLabel": { "alias": "applyButtonLabel"; "required": false; }; "clearButtonLabel": { "alias": "clearButtonLabel"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; }, { "addClick": "addClick"; "downloadClick": "downloadClick"; "deleteClick": "deleteClick"; "selectionChange": "selectionChange"; }, ["viewColumns", "fieldDeclarations"], never, true, never>;
|
|
717
726
|
}
|
|
718
727
|
|
|
719
728
|
declare class FeatureListColumnDirective<T> extends TableColumnDirective<T> implements FeatureListColumnProvider<T> {
|