@verisoft/ui-primeng 19.0.1-1 → 20.0.0

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.
Files changed (98) hide show
  1. package/README.md +377 -3
  2. package/assets/sass/main.scss +9 -26
  3. package/assets/sass/themes/_verisoft_theme.scss +2 -0
  4. package/assets/sass/vendors/_bootstrap.scss +2 -2
  5. package/assets/sass/vendors/_primeng.scss +1 -2
  6. package/fesm2022/verisoft-ui-primeng.mjs +249 -263
  7. package/fesm2022/verisoft-ui-primeng.mjs.map +1 -1
  8. package/index.d.ts +729 -30
  9. package/package.json +12 -13
  10. package/lib/components/breadcrumb/breadcrumb.component.d.ts +0 -6
  11. package/lib/components/breadcrumb/breadcrumb.pipe.d.ts +0 -9
  12. package/lib/components/breadcrumb/index.d.ts +0 -1
  13. package/lib/components/button/button-severity.pipe.d.ts +0 -9
  14. package/lib/components/button/button.component.d.ts +0 -20
  15. package/lib/components/button/index.d.ts +0 -1
  16. package/lib/components/calendar/calendar.component.d.ts +0 -17
  17. package/lib/components/calendar/index.d.ts +0 -1
  18. package/lib/components/checkbox/checkbox.component.d.ts +0 -10
  19. package/lib/components/checkbox/index.d.ts +0 -1
  20. package/lib/components/confirm-dialog/confirm-dialog.component.d.ts +0 -15
  21. package/lib/components/confirm-dialog/index.d.ts +0 -1
  22. package/lib/components/dropdown/dropdown.component.d.ts +0 -38
  23. package/lib/components/dropdown/index.d.ts +0 -1
  24. package/lib/components/dropdown-button/dropdown-button.component.d.ts +0 -14
  25. package/lib/components/dropdown-button/index.d.ts +0 -1
  26. package/lib/components/errors/error.component.d.ts +0 -16
  27. package/lib/components/errors/index.d.ts +0 -1
  28. package/lib/components/form-field/form-field.component.d.ts +0 -12
  29. package/lib/components/form-field/index.d.ts +0 -1
  30. package/lib/components/header/header.component.d.ts +0 -23
  31. package/lib/components/header/index.d.ts +0 -2
  32. package/lib/components/header/services/header-provider.service.d.ts +0 -10
  33. package/lib/components/input-group/index.d.ts +0 -1
  34. package/lib/components/input-group/input-group.component.d.ts +0 -9
  35. package/lib/components/loader/index.d.ts +0 -1
  36. package/lib/components/loader/loader.component.d.ts +0 -6
  37. package/lib/components/multiselect/index.d.ts +0 -1
  38. package/lib/components/multiselect/multiselect.component.d.ts +0 -34
  39. package/lib/components/number-input/index.d.ts +0 -1
  40. package/lib/components/number-input/number-input.component.d.ts +0 -14
  41. package/lib/components/page-header/index.d.ts +0 -1
  42. package/lib/components/page-header/page-header.component.d.ts +0 -10
  43. package/lib/components/password/index.d.ts +0 -1
  44. package/lib/components/password/password.component.d.ts +0 -11
  45. package/lib/components/radiobutton/index.d.ts +0 -1
  46. package/lib/components/radiobutton/radiobutton.component.d.ts +0 -10
  47. package/lib/components/section/index.d.ts +0 -1
  48. package/lib/components/section/section.component.d.ts +0 -12
  49. package/lib/components/shared-components/action-button-group/action-button-group.component.d.ts +0 -28
  50. package/lib/components/shared-components/action-button-group/components/action-button/action-button.component.d.ts +0 -24
  51. package/lib/components/shared-components/action-button-group/index.d.ts +0 -2
  52. package/lib/components/shared-components/dynamic-component/dynamic-component-factory.service.d.ts +0 -17
  53. package/lib/components/shared-components/dynamic-component/dynamic-component.component.d.ts +0 -16
  54. package/lib/components/shared-components/dynamic-component/index.d.ts +0 -2
  55. package/lib/components/shared-components/feature-list/directives/feature-list-column.directive.d.ts +0 -10
  56. package/lib/components/shared-components/feature-list/directives/feature-list-filter-field.directive.d.ts +0 -6
  57. package/lib/components/shared-components/feature-list/feature-list-filter.pipe.d.ts +0 -9
  58. package/lib/components/shared-components/feature-list/feature-list-page.component.d.ts +0 -9
  59. package/lib/components/shared-components/feature-list/feature-list-page.model.d.ts +0 -23
  60. package/lib/components/shared-components/feature-list/feature-list.component.d.ts +0 -62
  61. package/lib/components/shared-components/feature-list/index.d.ts +0 -5
  62. package/lib/components/shared-components/filter/directives/filter-field.directive.d.ts +0 -20
  63. package/lib/components/shared-components/filter/filter.component.d.ts +0 -53
  64. package/lib/components/shared-components/filter/filter.model.d.ts +0 -2
  65. package/lib/components/shared-components/filter/index.d.ts +0 -2
  66. package/lib/components/shared-components/generic-field/generic-field.component.d.ts +0 -28
  67. package/lib/components/shared-components/generic-field/index.d.ts +0 -1
  68. package/lib/components/shared-components/generic-form/generic-form.component.d.ts +0 -15
  69. package/lib/components/shared-components/generic-form/generic-form.model.d.ts +0 -4
  70. package/lib/components/shared-components/generic-form/index.d.ts +0 -2
  71. package/lib/components/shared-components/index.d.ts +0 -6
  72. package/lib/components/side-menu/index.d.ts +0 -2
  73. package/lib/components/side-menu/side-menu.component.d.ts +0 -27
  74. package/lib/components/side-menu/side-menu.module.d.ts +0 -13
  75. package/lib/components/slider/index.d.ts +0 -1
  76. package/lib/components/slider/slider.component.d.ts +0 -12
  77. package/lib/components/snackbar/index.d.ts +0 -2
  78. package/lib/components/snackbar/services/snackbar.service.d.ts +0 -12
  79. package/lib/components/snackbar/snackbar.component.d.ts +0 -9
  80. package/lib/components/stepper/index.d.ts +0 -1
  81. package/lib/components/stepper/stepper.component.d.ts +0 -17
  82. package/lib/components/switch/index.d.ts +0 -1
  83. package/lib/components/switch/switch.component.d.ts +0 -9
  84. package/lib/components/tab-view/index.d.ts +0 -2
  85. package/lib/components/tab-view/tab-view-item.component.d.ts +0 -12
  86. package/lib/components/tab-view/tab-view.component.d.ts +0 -17
  87. package/lib/components/table/index.d.ts +0 -1
  88. package/lib/components/table/table-filter.pipe.d.ts +0 -13
  89. package/lib/components/table/table.component.d.ts +0 -67
  90. package/lib/components/table/table.models.d.ts +0 -4
  91. package/lib/components/textarea/index.d.ts +0 -1
  92. package/lib/components/textarea/textarea.component.d.ts +0 -12
  93. package/lib/components/textfield/index.d.ts +0 -1
  94. package/lib/components/textfield/textfield.component.d.ts +0 -12
  95. package/lib/components/tooltip/index.d.ts +0 -1
  96. package/lib/components/tooltip/tooltip.component.d.ts +0 -10
  97. package/lib/icons.d.ts +0 -2
  98. package/lib/interceptors/http-error-message.interceptor.d.ts +0 -11
@@ -1,23 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { Route } from '@angular/router';
3
- import { ColumnDefinition, GenericFieldTypeType } from '@verisoft/ui-core';
4
- export interface FeatureListPageConfig {
5
- title: string;
6
- datasource: string;
7
- tableName: string;
8
- showAdd?: boolean;
9
- showDownload?: boolean;
10
- showDelete?: boolean;
11
- }
12
- export declare const FEATURE_LIST_PAGE_CONFIG_PROPERTY = "feature_list_config";
13
- export declare function addFeatureListPage(value: Partial<Route> & {
14
- config: FeatureListPageConfig;
15
- }): Route;
16
- export interface FeatureListColumnDefinition<T> extends ColumnDefinition<T> {
17
- filter?: boolean;
18
- type?: GenericFieldTypeType;
19
- }
20
- export declare const FEATURE_LIST_COLUMN_PROVIDER: InjectionToken<unknown>;
21
- export interface FeatureListColumnProvider<T> {
22
- getDefinition: () => FeatureListColumnDefinition<T>;
23
- }
@@ -1,62 +0,0 @@
1
- import { AfterViewInit, EventEmitter, QueryList } from '@angular/core';
2
- import { DatasourceType } from '@verisoft/core';
3
- import { GenericFieldDefinition, TableDatasourceDirective, TableSelectionModeType } from '@verisoft/ui-core';
4
- import { FeatureListFilterFieldDirective } from './directives/feature-list-filter-field.directive';
5
- import { FeatureListColumnDefinition, FeatureListColumnProvider } from './feature-list-page.model';
6
- import * as i0 from "@angular/core";
7
- export declare class FeatureListComponent<T> implements AfterViewInit {
8
- viewColumns: QueryList<FeatureListColumnProvider<T>>;
9
- fieldDeclarations: QueryList<FeatureListFilterFieldDirective>;
10
- tableDatasourceDirective: TableDatasourceDirective<T>;
11
- autoBind: boolean;
12
- title: string;
13
- columns: FeatureListColumnDefinition<T>[];
14
- filters: GenericFieldDefinition[];
15
- maxVisibleActions: number;
16
- tableName: string;
17
- ngrxFeatureKey?: string;
18
- maxVisibleMobileActions: number;
19
- showExtendedFilter: boolean;
20
- showDownload: boolean;
21
- showDelete: boolean;
22
- showAdd: boolean;
23
- canDownload: boolean;
24
- canDelete: boolean;
25
- canAdd: boolean;
26
- useRouterFilter: boolean;
27
- fulltextFieldName: string;
28
- showFulltext: boolean;
29
- deleteConfirmMessage: string | undefined;
30
- autoDeleteEnabled: boolean;
31
- autoDownloadEnabled: boolean;
32
- downloadFileName: string;
33
- datasource: DatasourceType<T>;
34
- extraFilter: any;
35
- disableCustomClicks: boolean;
36
- maximumColumnLength: number;
37
- addClick: EventEmitter<any>;
38
- downloadClick: EventEmitter<any>;
39
- deleteClick: EventEmitter<T[]>;
40
- selectionChange: EventEmitter<any>;
41
- set selectionMode(mode: TableSelectionModeType | undefined);
42
- get selectionMode(): TableSelectionModeType | undefined;
43
- icons: import("@verisoft/ui-core").CommonIcons;
44
- private httpClient;
45
- private baseUrl;
46
- private _selectionMode;
47
- private cdRef;
48
- private dialogService;
49
- selection: T[];
50
- ngAfterViewInit(): void;
51
- selectItems(items: T[]): void;
52
- startDeleteItems(): void;
53
- startDownload(): void;
54
- private deleteItems;
55
- private forceDelete;
56
- private createDeleteFn;
57
- private createDownloadFn;
58
- private finishDeletion;
59
- private convertToBlob;
60
- static ɵfac: i0.ɵɵFactoryDeclaration<FeatureListComponent<any>, never>;
61
- 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>;
62
- }
@@ -1,5 +0,0 @@
1
- export * from './feature-list.component';
2
- export * from './feature-list-page.model';
3
- export * from './directives/feature-list-column.directive';
4
- export * from './directives/feature-list-filter-field.directive';
5
- export * from './feature-list-filter.pipe';
@@ -1,20 +0,0 @@
1
- import { ValidatorFn } from '@angular/forms';
2
- import { DatasourceType } from '@verisoft/core';
3
- import { GenericFieldDefinition, GenericFieldTypeType } from '@verisoft/ui-core';
4
- import * as i0 from "@angular/core";
5
- export declare class FilterFieldDirective implements GenericFieldDefinition {
6
- name: string;
7
- type: GenericFieldTypeType | undefined;
8
- label: string | undefined;
9
- optionLabel: string;
10
- optionValue: string | undefined;
11
- options: unknown[] | undefined;
12
- value?: unknown;
13
- validator?: ValidatorFn[];
14
- datasource: DatasourceType<any> | undefined;
15
- filterField?: string;
16
- showFilter?: boolean;
17
- localSearch?: boolean;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterFieldDirective, never>;
19
- static ɵdir: i0.ɵɵDirectiveDeclaration<FilterFieldDirective, "v-filter-field", never, { "name": { "alias": "name"; "required": true; }; "type": { "alias": "type"; "required": false; }; "label": { "alias": "label"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "options": { "alias": "options"; "required": false; }; "value": { "alias": "value"; "required": false; }; "validator": { "alias": "validator"; "required": false; }; "datasource": { "alias": "datasource"; "required": false; }; "filterField": { "alias": "filterField"; "required": false; }; "showFilter": { "alias": "showFilter"; "required": false; }; "localSearch": { "alias": "localSearch"; "required": false; }; }, {}, never, never, true, never>;
20
- }
@@ -1,53 +0,0 @@
1
- import { AfterContentInit, ChangeDetectorRef, OnChanges, OnInit, QueryList, SimpleChanges } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
3
- import { BaseHttpService } from '@verisoft/core';
4
- import { DialogService, FieldSize, FilterCore, GenericFieldDefinition, ScreenSizeService, UnsubscribeComponent } from '@verisoft/ui-core';
5
- import { Observable } from 'rxjs';
6
- import { FilterFieldDirective } from './directives/filter-field.directive';
7
- import * as i0 from "@angular/core";
8
- type FilterValueType = {
9
- [key: string]: unknown;
10
- };
11
- export declare class FilterComponent<T extends object> extends UnsubscribeComponent implements OnChanges, OnInit, AfterContentInit, FilterCore {
12
- fieldDeclarations: QueryList<FilterFieldDirective>;
13
- fields: GenericFieldDefinition[];
14
- filters: GenericFieldDefinition[];
15
- title?: string;
16
- fulltextFieldName: string;
17
- showFulltext: boolean;
18
- showFilters: boolean;
19
- autoBind: boolean;
20
- debounceTime?: number;
21
- icons: import("@verisoft/ui-core").CommonIcons;
22
- fieldDefinitios$?: Observable<GenericFieldDefinition[]>;
23
- formGroup$?: Observable<FormGroup>;
24
- simpleFormFieldDefinitions$?: Observable<GenericFieldDefinition[]>;
25
- private searchField;
26
- private onTouch?;
27
- private onChange?;
28
- private inputFields$;
29
- FieldSize: typeof FieldSize;
30
- protected screenSizeService: ScreenSizeService;
31
- protected changeDetectorRef: ChangeDetectorRef;
32
- protected dialogService: DialogService;
33
- service: BaseHttpService<T>;
34
- formGroup: FormGroup<{}>;
35
- filledFiltersCount$: Observable<string>;
36
- private lastFormFields;
37
- ngOnInit(): void;
38
- ngOnChanges(changes: SimpleChanges): void;
39
- ngAfterContentInit(): void;
40
- protected openFilter(): void;
41
- protected openSearch(): void;
42
- writeValue(data: FilterValueType): void;
43
- registerOnChange(fn: (value: FilterValueType | undefined) => void): void;
44
- registerOnTouched(fn: () => void): void;
45
- setDisabledState?(isDisabled: boolean): void;
46
- submitValue(): void;
47
- setFilterValues(dialogFormGroup: FormGroup): void;
48
- clear(): void;
49
- private convertFilter;
50
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent<any>, never>;
51
- 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>;
52
- }
53
- export {};
@@ -1,2 +0,0 @@
1
- import { FormGroup } from '@angular/forms';
2
- export declare function getFilledControlCount(formGroup: FormGroup): number;
@@ -1,2 +0,0 @@
1
- export * from './filter.component';
2
- export * from './directives/filter-field.directive';
@@ -1,28 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { DatasourceType, FilterEvent, LazyLoadEvent } from '@verisoft/core';
3
- import { BaseFormInputComponent, FieldSizeType, GenericFieldCore, GenericFieldType, GenericFieldTypeType } from '@verisoft/ui-core';
4
- import * as i0 from "@angular/core";
5
- export declare class GenericFieldComponent<T> extends BaseFormInputComponent implements GenericFieldCore<T> {
6
- type?: GenericFieldTypeType;
7
- floatLabel?: boolean;
8
- optionLabel: string | undefined;
9
- optionValue: string | undefined;
10
- options: T[] | undefined;
11
- size?: FieldSizeType;
12
- loading: boolean;
13
- lazy: boolean;
14
- filter: boolean;
15
- datasource?: DatasourceType<T>;
16
- filterField?: string;
17
- showFilter?: boolean;
18
- localSearch?: boolean;
19
- changed: EventEmitter<any>;
20
- showed: EventEmitter<any>;
21
- cleared: EventEmitter<any>;
22
- lazyLoad: EventEmitter<LazyLoadEvent>;
23
- filtered: EventEmitter<FilterEvent>;
24
- fieldTypes: typeof GenericFieldType;
25
- icons: import("@verisoft/ui-core").CommonIcons;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<GenericFieldComponent<any>, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<GenericFieldComponent<any>, "v-generic-field", never, { "type": { "alias": "type"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "options": { "alias": "options"; "required": false; }; "size": { "alias": "size"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "lazy": { "alias": "lazy"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "datasource": { "alias": "datasource"; "required": false; }; "filterField": { "alias": "filterField"; "required": false; }; "showFilter": { "alias": "showFilter"; "required": false; }; "localSearch": { "alias": "localSearch"; "required": false; }; }, { "changed": "changed"; "showed": "showed"; "cleared": "cleared"; "lazyLoad": "lazyLoad"; "filtered": "filtered"; }, never, never, true, never>;
28
- }
@@ -1 +0,0 @@
1
- export * from './generic-field.component';
@@ -1,15 +0,0 @@
1
- import { OnChanges, SimpleChanges } from '@angular/core';
2
- import { UntypedFormGroup } from '@angular/forms';
3
- import { GenericFieldDefinition } from '@verisoft/ui-core';
4
- import * as i0 from "@angular/core";
5
- export declare class GenericFormComponent implements OnChanges {
6
- formGroup?: UntypedFormGroup;
7
- fields?: GenericFieldDefinition[];
8
- columns?: number;
9
- showAsRow: boolean;
10
- formGroupComputed: UntypedFormGroup;
11
- columnClass?: string;
12
- ngOnChanges(changes: SimpleChanges): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<GenericFormComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<GenericFormComponent, "v-generic-form", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "showAsRow": { "alias": "showAsRow"; "required": false; }; }, {}, never, never, true, never>;
15
- }
@@ -1,4 +0,0 @@
1
- import { UntypedFormGroup } from '@angular/forms';
2
- import { GenericFieldDefinition } from '@verisoft/ui-core';
3
- export declare function generateFormGroup(fields: GenericFieldDefinition[] | undefined, lastGroupValue: UntypedFormGroup | undefined, inputGroup: UntypedFormGroup | undefined, inputGroupChanged?: boolean): UntypedFormGroup;
4
- export declare function getColumnClass(value?: number): string | undefined;
@@ -1,2 +0,0 @@
1
- export * from './generic-form.component';
2
- export * from './generic-form.model';
@@ -1,6 +0,0 @@
1
- export * from './action-button-group';
2
- export * from './filter';
3
- export * from './feature-list';
4
- export * from './generic-field';
5
- export * from './generic-form';
6
- export * from './dynamic-component';
@@ -1,2 +0,0 @@
1
- export * from './side-menu.module';
2
- export * from './side-menu.component';
@@ -1,27 +0,0 @@
1
- import { AfterContentInit, ElementRef, EventEmitter } from '@angular/core';
2
- import { Router } from '@angular/router';
3
- import { MenuItem, ScreenSizeService, SideMenuCore, SideMenuService, UnsubscribeComponent } from '@verisoft/ui-core';
4
- import { TreeNodeSelectEvent } from 'primeng/tree';
5
- import * as i0 from "@angular/core";
6
- export declare class SideMenuComponent extends UnsubscribeComponent implements SideMenuCore, AfterContentInit {
7
- items: MenuItem[];
8
- logoUrl: string;
9
- userName: string;
10
- userRole: any | any[] | undefined;
11
- minimalized: EventEmitter<boolean>;
12
- itemSelected: EventEmitter<MenuItem>;
13
- menu: ElementRef<HTMLDivElement>;
14
- menuService: SideMenuService;
15
- router: Router;
16
- icons: import("@verisoft/ui-core").CommonIcons;
17
- protected screenSizeService: ScreenSizeService;
18
- protected logoRouterLink: string;
19
- protected isMinimalized: boolean;
20
- ngAfterContentInit(): void;
21
- protected menuMinimalize(menu: HTMLDivElement): void;
22
- onSelectionChange(event: any): void;
23
- onNodeSelect(event: TreeNodeSelectEvent): void;
24
- private setMenuMinimalized;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<SideMenuComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<SideMenuComponent, "v-side-menu", never, { "items": { "alias": "items"; "required": false; }; "logoUrl": { "alias": "logoUrl"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "userRole": { "alias": "userRole"; "required": false; }; }, { "minimalized": "minimalized"; "itemSelected": "itemSelected"; }, never, never, true, never>;
27
- }
@@ -1,13 +0,0 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import { MenuItem, SideMenuModuleConfig, SideMenuProviderService, UnsubscribeComponent } from '@verisoft/ui-core';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "./side-menu.component";
5
- export declare class SideMenuModule extends UnsubscribeComponent {
6
- private readonly service;
7
- constructor(service: SideMenuProviderService);
8
- static forRoot(config?: SideMenuModuleConfig): ModuleWithProviders<SideMenuModule>;
9
- static forChild(menu: MenuItem[]): ModuleWithProviders<SideMenuModule>;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<SideMenuModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<SideMenuModule, never, [typeof i1.SideMenuComponent], [typeof i1.SideMenuComponent]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<SideMenuModule>;
13
- }
@@ -1 +0,0 @@
1
- export * from './slider.component';
@@ -1,12 +0,0 @@
1
- import { ControlValueAccessor, NgControl } from '@angular/forms';
2
- import { BaseFormInputComponent, SliderCore } from '@verisoft/ui-core';
3
- import * as i0 from "@angular/core";
4
- export declare class SliderComponent extends BaseFormInputComponent implements ControlValueAccessor, SliderCore {
5
- step: number;
6
- min: number;
7
- max: number;
8
- range: boolean;
9
- constructor(ngControl: NgControl);
10
- static ɵfac: i0.ɵɵFactoryDeclaration<SliderComponent, [{ optional: true; self: true; }]>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<SliderComponent, "v-slider", never, { "step": { "alias": "step"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "range": { "alias": "range"; "required": false; }; }, {}, never, never, true, never>;
12
- }
@@ -1,2 +0,0 @@
1
- export * from './services/snackbar.service';
2
- export * from './snackbar.component';
@@ -1,12 +0,0 @@
1
- import { MessageService } from 'primeng/api';
2
- import * as i0 from "@angular/core";
3
- export declare class SnackbarService {
4
- readonly messageService: MessageService;
5
- constructor(messageService: MessageService);
6
- showSuccess(message: string, icon?: string): void;
7
- showInfo(message: string, icon?: string): void;
8
- showWarn(message: string, icon?: string): void;
9
- showError(message: string, icon?: string): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<SnackbarService>;
12
- }
@@ -1,9 +0,0 @@
1
- import { SnackbarCore } from '@verisoft/ui-core';
2
- import { SnackbarService } from './services/snackbar.service';
3
- import * as i0 from "@angular/core";
4
- export declare class SnackbarComponent implements SnackbarCore {
5
- private snackbarService;
6
- constructor(snackbarService: SnackbarService);
7
- static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<SnackbarComponent, "v-snackbar", never, {}, {}, never, never, true, never>;
9
- }
@@ -1 +0,0 @@
1
- export * from './stepper.component';
@@ -1,17 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { StepperCore, StepperItem, LayoutTypeType, FieldSizeType } from '@verisoft/ui-core';
3
- import * as i0 from "@angular/core";
4
- export declare class StepperComponent implements StepperCore {
5
- items: StepperItem[];
6
- icons: import("@verisoft/ui-core").CommonIcons;
7
- prefix: string;
8
- label: string;
9
- size: FieldSizeType | undefined;
10
- layout: LayoutTypeType;
11
- icon: string;
12
- activeIndex: number;
13
- annotation: string;
14
- activeIndexChange: EventEmitter<number>;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "v-stepper", never, { "items": { "alias": "items"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "label": { "alias": "label"; "required": false; }; "size": { "alias": "size"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "activeIndex": { "alias": "activeIndex"; "required": false; }; "annotation": { "alias": "annotation"; "required": false; }; }, { "activeIndexChange": "activeIndexChange"; }, never, never, true, never>;
17
- }
@@ -1 +0,0 @@
1
- export * from './switch.component';
@@ -1,9 +0,0 @@
1
- import { ControlValueAccessor, NgControl } from '@angular/forms';
2
- import { BaseFormInputComponent, SwitchCore } from '@verisoft/ui-core';
3
- import * as i0 from "@angular/core";
4
- export declare class SwitchComponent extends BaseFormInputComponent implements ControlValueAccessor, SwitchCore {
5
- constructor(ngControl: NgControl);
6
- id: string;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<SwitchComponent, [{ optional: true; self: true; }]>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<SwitchComponent, "v-switch", never, {}, {}, never, never, true, never>;
9
- }
@@ -1,2 +0,0 @@
1
- export * from './tab-view.component';
2
- export * from './tab-view-item.component';
@@ -1,12 +0,0 @@
1
- import { TemplateRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TabViewItemComponent {
4
- contentTemplate: TemplateRef<any>;
5
- title: string;
6
- url?: string;
7
- icon?: string;
8
- disabled?: boolean;
9
- content?: string;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TabViewItemComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<TabViewItemComponent, "v-tab-view-item", never, { "title": { "alias": "title"; "required": false; }; "url": { "alias": "url"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "content": { "alias": "content"; "required": false; }; }, {}, never, ["*"], true, never>;
12
- }
@@ -1,17 +0,0 @@
1
- import { AfterContentInit, EventEmitter, QueryList } from '@angular/core';
2
- import { TabViewCore, TabViewItemCore } from '@verisoft/ui-core';
3
- import { MenuItem } from 'primeng/api';
4
- import { TabViewItemComponent } from './tab-view-item.component';
5
- import * as i0 from "@angular/core";
6
- export declare class TabViewComponent implements AfterContentInit, TabViewCore {
7
- children: QueryList<TabViewItemComponent>;
8
- items: TabViewItemCore[];
9
- useRouting: boolean;
10
- activeIndex: number;
11
- activeIndexChange: EventEmitter<number>;
12
- mergedItems: TabViewItemCore[];
13
- ngAfterContentInit(): void;
14
- protected activeItemChanged(item: MenuItem | number): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<TabViewComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<TabViewComponent, "v-tab-view", never, { "items": { "alias": "items"; "required": false; }; "useRouting": { "alias": "useRouting"; "required": false; }; "activeIndex": { "alias": "activeIndex"; "required": false; }; }, { "activeIndexChange": "activeIndexChange"; }, ["children"], never, true, never>;
17
- }
@@ -1 +0,0 @@
1
- export * from './table.component';
@@ -1,13 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { FilterMetadata } from 'primeng/api';
3
- import * as i0 from "@angular/core";
4
- type PrimeNgFilterDefinition = {
5
- [s: string]: FilterMetadata | FilterMetadata[];
6
- };
7
- export declare class TableFilterPipe<T> implements PipeTransform {
8
- transform(value: Partial<T>): PrimeNgFilterDefinition | undefined;
9
- private convertToFilterMetadata;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TableFilterPipe<any>, never>;
11
- static ɵpipe: i0.ɵɵPipeDeclaration<TableFilterPipe<any>, "primengFilter", true>;
12
- }
13
- export {};
@@ -1,67 +0,0 @@
1
- import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnChanges, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
2
- import { ActivatedRoute, Router } from '@angular/router';
3
- import { LazyLoadEvent, Sort } from '@verisoft/core';
4
- import { ColumnDefinition, ColumnModel, ColumnProvider, RowModel, TableCore, TableSelectionModeType } from '@verisoft/ui-core';
5
- import { SortMeta } from 'primeng/api';
6
- import { Table, TableLazyLoadEvent, TablePageEvent } from 'primeng/table';
7
- import * as i0 from "@angular/core";
8
- export declare class TableComponent<T> implements AfterViewInit, OnChanges, TableCore<T> {
9
- viewColumns: QueryList<ColumnProvider<T>>;
10
- table: Table | undefined;
11
- rowDetailTemplate: TemplateRef<any>;
12
- sorters: Sort[];
13
- data: T[];
14
- total: number;
15
- filter: Partial<T> | undefined;
16
- loading: boolean;
17
- scrollable: boolean;
18
- pageSize: number;
19
- currentPage: number;
20
- showPaginator: boolean;
21
- sortMultiple: boolean;
22
- lazy: boolean;
23
- selectionMode: TableSelectionModeType | undefined;
24
- showPageSizePicker: boolean;
25
- entityKey: string | undefined;
26
- maximumColumnLength: number;
27
- disableCustomClicks: boolean;
28
- set columns(value: ColumnDefinition<T>[]);
29
- get columns(): ColumnDefinition<T>[];
30
- selection: T[];
31
- pageSizeChange: EventEmitter<number>;
32
- selectionChange: EventEmitter<T[]>;
33
- pageChange: EventEmitter<TablePageEvent>;
34
- sortChange: EventEmitter<Sort[]>;
35
- lazyLoad: EventEmitter<LazyLoadEvent>;
36
- sorted: boolean;
37
- cdRef: ChangeDetectorRef;
38
- tableColumns: ColumnModel<T>[];
39
- tableRows: RowModel<T>[];
40
- tableSelection: RowModel<T>[] | RowModel<T> | undefined;
41
- expandedRows: {};
42
- expansionTemplate: {
43
- template: TemplateRef<any>;
44
- };
45
- sortMeta: SortMeta[] | undefined;
46
- sortSignleColumn: SortMeta | undefined;
47
- globalFilterFields: string[] | undefined;
48
- router: Router;
49
- route: ActivatedRoute;
50
- icons: import("@verisoft/ui-core").CommonIcons;
51
- private _columns;
52
- ngOnChanges(changes: SimpleChanges): void;
53
- ngAfterViewInit(): void;
54
- updateRowModels(): void;
55
- pageChanged(page: TablePageEvent): void;
56
- pageSizeChanged(pageSize: number): void;
57
- sortChanged(event: SortMeta | {
58
- multisortmeta: SortMeta[];
59
- }): void;
60
- selectionChanged(event: RowModel<T>[] | RowModel<T>): void;
61
- fireLazyLoad(event: TableLazyLoadEvent): void;
62
- private removePrefix;
63
- private convertToSortDirection;
64
- private getSorts;
65
- static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
66
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "v-table", never, { "data": { "alias": "data"; "required": false; }; "total": { "alias": "total"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "showPaginator": { "alias": "showPaginator"; "required": false; }; "sortMultiple": { "alias": "sortMultiple"; "required": false; }; "lazy": { "alias": "lazy"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "showPageSizePicker": { "alias": "showPageSizePicker"; "required": false; }; "entityKey": { "alias": "entityKey"; "required": false; }; "maximumColumnLength": { "alias": "maximumColumnLength"; "required": false; }; "disableCustomClicks": { "alias": "disableCustomClicks"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; }, { "pageSizeChange": "pageSizeChange"; "selectionChange": "selectionChange"; "pageChange": "pageChange"; "sortChange": "sortChange"; "lazyLoad": "lazyLoad"; }, ["rowDetailTemplate", "viewColumns"], never, true, never>;
67
- }
@@ -1,4 +0,0 @@
1
- import { FilterMetadata } from 'primeng/api';
2
- export declare function convertToFilter<T>(value: {
3
- [s: string]: FilterMetadata | FilterMetadata[] | undefined;
4
- } | Partial<T> | undefined): Partial<T> | undefined;
@@ -1 +0,0 @@
1
- export * from './textarea.component';
@@ -1,12 +0,0 @@
1
- import { ControlValueAccessor, NgControl } from '@angular/forms';
2
- import { BaseFormInputComponent, TextareaCore } from '@verisoft/ui-core';
3
- import * as i0 from "@angular/core";
4
- export declare class TextareaComponent extends BaseFormInputComponent implements ControlValueAccessor, TextareaCore {
5
- rows: number;
6
- cols: number;
7
- autoResize: boolean;
8
- floatLabel: string | undefined;
9
- constructor(ngControl: NgControl);
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, [{ optional: true; self: true; }]>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "v-textarea", never, { "rows": { "alias": "rows"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "autoResize": { "alias": "autoResize"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; }, {}, never, never, true, never>;
12
- }
@@ -1 +0,0 @@
1
- export * from './textfield.component';
@@ -1,12 +0,0 @@
1
- import { ControlValueAccessor, NgControl } from '@angular/forms';
2
- import { BaseFormInputComponent, FieldSizeType, FieldTypeType, TextfieldCore } from '@verisoft/ui-core';
3
- import * as i0 from "@angular/core";
4
- export declare class TextfieldComponent extends BaseFormInputComponent implements ControlValueAccessor, TextfieldCore {
5
- icons: import("@verisoft/ui-core").CommonIcons;
6
- constructor(ngControl: NgControl);
7
- size: FieldSizeType | undefined;
8
- type: FieldTypeType;
9
- floatLabel: boolean;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TextfieldComponent, [{ optional: true; self: true; }]>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<TextfieldComponent, "v-textfield", never, { "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; }, {}, never, never, true, never>;
12
- }
@@ -1 +0,0 @@
1
- export * from './tooltip.component';
@@ -1,10 +0,0 @@
1
- import { TooltipCore } from "@verisoft/ui-core";
2
- import * as i0 from "@angular/core";
3
- export declare class TooltipComponent implements TooltipCore {
4
- color: import("@angular/core").InputSignal<"warning" | "success" | "info" | "danger" | "help" | "primary" | "secondary" | "contrast" | undefined>;
5
- position: import("@angular/core").InputSignal<"top" | "bottom" | "left" | "right" | undefined>;
6
- size: import("@angular/core").InputSignal<"small" | "medium" | "large" | undefined>;
7
- tooltipText: import("@angular/core").InputSignal<string | undefined>;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "v-tooltip", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "tooltipText": { "alias": "tooltipText"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
10
- }
package/lib/icons.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import { CommonIcons } from '@verisoft/ui-core';
2
- export declare const Icons: CommonIcons;
@@ -1,11 +0,0 @@
1
- import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import { SnackbarService } from '../components/snackbar';
4
- import * as i0 from "@angular/core";
5
- export declare class HttpErrorMessageInterceptor implements HttpInterceptor {
6
- private readonly snackbarService;
7
- constructor(snackbarService: SnackbarService);
8
- intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<HttpErrorMessageInterceptor, never>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<HttpErrorMessageInterceptor>;
11
- }