@verisoft/ui-primeng 21.0.11 → 21.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verisoft/ui-primeng",
3
- "version": "21.0.11",
3
+ "version": "21.0.13",
4
4
  "peerDependencies": {
5
5
  "@verisoft/core": "^21.0.0",
6
6
  "@verisoft/ui-core": "^21.0.0",
@@ -10,8 +10,9 @@
10
10
  "@angular/platform-browser": "^21.1.0",
11
11
  "@angular/router": "^21.1.0",
12
12
  "@ngx-translate/core": "^17.0.0",
13
- "primeng": "~21.0.2",
14
- "rxjs": "~7.8.0"
13
+ "primeng": "~21.1.1",
14
+ "rxjs": "~7.8.0",
15
+ "@primeuix/themes": "^2.0.3"
15
16
  },
16
17
  "dependencies": {
17
18
  "uuid": "^13.0.0",
@@ -1,8 +1,8 @@
1
1
  import { ControlValueAccessor, NgControl, UntypedFormGroup, ValidatorFn, FormGroup } from '@angular/forms';
2
2
  import * as _verisoft_ui_core from '@verisoft/ui-core';
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';
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, FeatureListCore, FeatureListColumnProvider, FeatureListFilterFieldDirective, TableDatasourceDirective, FeatureListColumnDefinition, FeatureListPageConfig, 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, Type, ViewContainerRef, Injector, ComponentRef, OnDestroy, InjectionToken, PipeTransform } from '@angular/core';
5
+ import { OnInit, ChangeDetectorRef, AfterContentInit, EventEmitter, ElementRef, ModuleWithProviders, AfterViewInit, OnChanges, QueryList, TemplateRef, SimpleChanges, Type, ViewContainerRef, Injector, ComponentRef, OnDestroy } 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';
@@ -145,14 +145,15 @@ declare class RadioButtonComponent<T> extends BaseFormInputComponent implements
145
145
 
146
146
  declare class NumberInputComponent extends BaseFormInputComponent implements ControlValueAccessor, NumberInputCore {
147
147
  constructor(ngControl: NgControl);
148
- mode: string;
148
+ decimals: number;
149
149
  currency: string;
150
150
  min: number;
151
151
  max: number;
152
- step: number;
152
+ step: number | undefined;
153
153
  errorMessage?: string;
154
+ computeStep(): number;
154
155
  static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputComponent, [{ optional: true; self: true; }]>;
155
- static ɵcmp: i0.ɵɵComponentDeclaration<NumberInputComponent, "v-number-input", never, { "mode": { "alias": "mode"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; }, {}, never, never, true, never>;
156
+ static ɵcmp: i0.ɵɵComponentDeclaration<NumberInputComponent, "v-number-input", never, { "decimals": { "alias": "decimals"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; }, {}, never, never, true, never>;
156
157
  }
157
158
 
158
159
  declare class HeaderProviderService {
@@ -604,6 +605,7 @@ declare class FilterComponent<T extends object> extends UnsubscribeComponent imp
604
605
  title?: string;
605
606
  fulltextFieldName: string;
606
607
  showFulltext: boolean;
608
+ filterDetailShowFulltext: boolean;
607
609
  showFilters: boolean;
608
610
  autoBind: boolean;
609
611
  debounceTime?: number;
@@ -636,36 +638,10 @@ declare class FilterComponent<T extends object> extends UnsubscribeComponent imp
636
638
  clear(): void;
637
639
  private convertFilter;
638
640
  static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent<any>, 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>;
640
- }
641
-
642
- declare class FeatureListFilterFieldDirective extends FilterFieldDirective {
643
- static ɵfac: i0.ɵɵFactoryDeclaration<FeatureListFilterFieldDirective, never>;
644
- static ɵdir: i0.ɵɵDirectiveDeclaration<FeatureListFilterFieldDirective, "v-feature-list-filter-field", never, {}, {}, never, never, true, never>;
645
- }
646
-
647
- interface FeatureListPageConfig {
648
- title: string;
649
- datasource: string;
650
- tableName: string;
651
- showAdd?: boolean;
652
- showDownload?: boolean;
653
- showDelete?: boolean;
654
- }
655
- declare const FEATURE_LIST_PAGE_CONFIG_PROPERTY = "feature_list_config";
656
- declare function addFeatureListPage(value: Partial<Route> & {
657
- config: FeatureListPageConfig;
658
- }): Route;
659
- interface FeatureListColumnDefinition<T> extends ColumnDefinition<T> {
660
- filter?: boolean;
661
- type?: GenericFieldTypeType;
662
- }
663
- declare const FEATURE_LIST_COLUMN_PROVIDER: InjectionToken<unknown>;
664
- interface FeatureListColumnProvider<T> {
665
- getDefinition: () => FeatureListColumnDefinition<T>;
641
+ 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; }; "filterDetailShowFulltext": { "alias": "filterDetailShowFulltext"; "required": false; }; "showFilters": { "alias": "showFilters"; "required": false; }; "autoBind": { "alias": "autoBind"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; }, {}, ["fieldDeclarations"], ["v-action-button-group"], true, never>;
666
642
  }
667
643
 
668
- declare class FeatureListComponent<T> implements AfterViewInit {
644
+ declare class FeatureListComponent<T> implements AfterViewInit, FeatureListCore<T> {
669
645
  viewColumns: QueryList<FeatureListColumnProvider<T>>;
670
646
  fieldDeclarations: QueryList<FeatureListFilterFieldDirective>;
671
647
  tableDatasourceDirective: TableDatasourceDirective<T>;
@@ -687,6 +663,7 @@ declare class FeatureListComponent<T> implements AfterViewInit {
687
663
  useRouterFilter: boolean;
688
664
  fulltextFieldName: string;
689
665
  showFulltext: boolean;
666
+ filterDialogShowFulltext: boolean;
690
667
  deleteConfirmMessage: string | undefined;
691
668
  autoDeleteEnabled: boolean;
692
669
  autoDownloadEnabled: boolean;
@@ -698,6 +675,8 @@ declare class FeatureListComponent<T> implements AfterViewInit {
698
675
  filterDetailTitle: string;
699
676
  applyButtonLabel: string;
700
677
  clearButtonLabel: string;
678
+ pageSize: number;
679
+ showPaginator: boolean;
701
680
  addClick: EventEmitter<any>;
702
681
  downloadClick: EventEmitter<any>;
703
682
  deleteClick: EventEmitter<T[]>;
@@ -722,22 +701,12 @@ declare class FeatureListComponent<T> implements AfterViewInit {
722
701
  private finishDeletion;
723
702
  private convertToBlob;
724
703
  static ɵfac: i0.ɵɵFactoryDeclaration<FeatureListComponent<any>, 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>;
704
+ 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; }; "filterDialogShowFulltext": { "alias": "filterDialogShowFulltext"; "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; }; "pageSize": { "alias": "pageSize"; "required": false; }; "showPaginator": { "alias": "showPaginator"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; }, { "addClick": "addClick"; "downloadClick": "downloadClick"; "deleteClick": "deleteClick"; "selectionChange": "selectionChange"; }, ["viewColumns", "fieldDeclarations"], never, true, never>;
726
705
  }
727
706
 
728
- declare class FeatureListColumnDirective<T> extends TableColumnDirective<T> implements FeatureListColumnProvider<T> {
729
- filter: boolean;
730
- type: GenericFieldTypeType;
731
- getDefinition(): FeatureListColumnDefinition<T>;
732
- static ɵfac: i0.ɵɵFactoryDeclaration<FeatureListColumnDirective<any>, never>;
733
- static ɵdir: i0.ɵɵDirectiveDeclaration<FeatureListColumnDirective<any>, "v-feature-list-column", never, { "filter": { "alias": "filter"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, true, never>;
734
- }
735
-
736
- declare class FeatureListFilterPipe<T> implements PipeTransform {
737
- transform(value: FeatureListColumnDefinition<T>[] | undefined): GenericFieldDefinition[] | undefined;
738
- static ɵfac: i0.ɵɵFactoryDeclaration<FeatureListFilterPipe<any>, never>;
739
- static ɵpipe: i0.ɵɵPipeDeclaration<FeatureListFilterPipe<any>, "featureListColumn", true>;
740
- }
707
+ declare function addFeatureListPage(value: Partial<Route> & {
708
+ config: FeatureListPageConfig;
709
+ }): Route;
741
710
 
742
711
  declare class TooltipComponent implements TooltipCore {
743
712
  color: i0.InputSignal<"warning" | "success" | "info" | "danger" | "help" | "primary" | "secondary" | "contrast" | undefined>;
@@ -774,5 +743,4 @@ declare const Icons: CommonIcons;
774
743
 
775
744
  declare const VerisoftTheme: _primeuix_themes_types.Preset;
776
745
 
777
- export { ActionButtonComponent, ActionButtonGroupComponent, BreadcrumbComponent, ButtonComponent, CalendarComponent, CheckboxComponent, ConfirmDialogComponent, DropdownButtonComponent, DropdownComponent, DynamicComponent, DynamicComponentFactoryService, FEATURE_LIST_COLUMN_PROVIDER, FEATURE_LIST_PAGE_CONFIG_PROPERTY, FeatureListColumnDirective, FeatureListComponent, FeatureListFilterFieldDirective, FeatureListFilterPipe, FilterComponent, FilterFieldDirective, FormFieldComponent, GenericFieldComponent, GenericFormComponent, HeaderComponent, HeaderProviderService, HttpErrorMessageInterceptor, IconComponent, Icons, InputGroupComponent, LoaderComponent, MultiselectComponent, NumberInputComponent, PageHeaderComponent, PasswordComponent, RadioButtonComponent, SectionComponent, SideMenuComponent, SideMenuModule, SliderComponent, SnackbarComponent, SnackbarService, StepperComponent, SwitchComponent, TabViewComponent, TabViewItemComponent, TableComponent, TagComponent, TextareaComponent, TextfieldComponent, TooltipComponent, VerisoftTheme, addFeatureListPage, generateFormGroup, getColumnClass };
778
- export type { FeatureListColumnDefinition, FeatureListColumnProvider, FeatureListPageConfig };
746
+ export { ActionButtonComponent, ActionButtonGroupComponent, BreadcrumbComponent, ButtonComponent, CalendarComponent, CheckboxComponent, ConfirmDialogComponent, DropdownButtonComponent, DropdownComponent, DynamicComponent, DynamicComponentFactoryService, FeatureListComponent, FilterComponent, FilterFieldDirective, FormFieldComponent, GenericFieldComponent, GenericFormComponent, HeaderComponent, HeaderProviderService, HttpErrorMessageInterceptor, IconComponent, Icons, InputGroupComponent, LoaderComponent, MultiselectComponent, NumberInputComponent, PageHeaderComponent, PasswordComponent, RadioButtonComponent, SectionComponent, SideMenuComponent, SideMenuModule, SliderComponent, SnackbarComponent, SnackbarService, StepperComponent, SwitchComponent, TabViewComponent, TabViewItemComponent, TableComponent, TagComponent, TextareaComponent, TextfieldComponent, TooltipComponent, VerisoftTheme, addFeatureListPage, generateFormGroup, getColumnClass };