@verisoft/ui-govcz 20.2.0 → 21.0.1

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.
@@ -1,12 +1,12 @@
1
1
  import * as _verisoft_ui_core from '@verisoft/ui-core';
2
- import { BreadcrumbCoreComponent, ButtonCore, IconLibraryType, IconPositionType, FieldSizeType, ControlSeverityType, GovButtonTypeType, BaseFormInputComponent, CalendarCore, SlotPositionType, FieldType, CheckboxCore, UnsubscribeComponent, ConfirmDialogCore, DialogData, DropdownCore, DropdownButtonCore, MenuItem, TableCore, ColumnProvider, ColumnDefinition, RowModel, ColumnModel, GenericFieldDefinition, GenericFieldTypeType, FilterCore, FieldSize, ScreenSizeService, DialogService, TableDatasourceDirective, TableSelectionModeType, TableColumnDirective, FormFieldCore, FieldTypeType, HeaderCore, SideMenuService, IconsComponent, InputGroupCore, InputGroupItem, LoaderCore, MultiselectCore, NumberInputCore, PageHeaderCore, PasswordCore, PasswordStrength, RadiobuttonCore, RadioButtonItem, SectionCore, ActionButton, ActionButtonGroupCore, ExtendedComponent, GenericFieldCore, GenericFieldType, SideMenuCore, SideMenuProviderService, SideMenuModuleConfig, SnackbarCore, StepperCore, StepperItem, LayoutTypeType, SwitchCore, TabViewItemCore, TagCore, TagVariant, TextareaCore, TextfieldCore, TooltipCore, CommonIcons } from '@verisoft/ui-core';
2
+ import { BreadcrumbCoreComponent, ButtonCore, IconLibraryType, IconPositionType, FieldSizeType, ControlSeverityType, GovButtonTypeType, BaseFormInputComponent, CalendarCore, SlotPositionType, FieldType, CheckboxCore, UnsubscribeComponent, ConfirmDialogCore, DialogService, DialogData, DropdownCore, DropdownButtonCore, MenuItem, FormFieldCore, FieldTypeType, HeaderCore, SideMenuService, IconsComponent, InputGroupCore, InputGroupItem, LoaderCore, MultiselectCore, NumberInputCore, PageHeaderCore, PasswordCore, PasswordStrength, RadiobuttonCore, RadioButtonItem, SectionCore, ActionButton, ActionButtonGroupCore, ScreenSizeService, GenericFieldCore, GenericFieldTypeType, GenericFieldType, GenericFieldDefinition, ExtendedComponent, SideMenuCore, SideMenuProviderService, SideMenuModuleConfig, SnackbarCore, StepperCore, StepperItem, LayoutTypeType, SwitchCore, TabViewItemCore, TableCore, ColumnProvider, ColumnDefinition, RowModel, ColumnModel, TagCore, TagVariant, TextareaCore, TextfieldCore, TooltipCore, FilterCore, FieldSize, TableDatasourceDirective, TableSelectionModeType, TableColumnDirective, CommonIcons } from '@verisoft/ui-core';
3
3
  import * as i0 from '@angular/core';
4
- import { EventEmitter, OnInit, OnChanges, OnDestroy, ElementRef, ChangeDetectorRef, SimpleChanges, AfterViewInit, QueryList, TemplateRef, AfterContentInit, InjectionToken, PipeTransform, ComponentFactoryResolver, Type, ViewContainerRef, Injector, ComponentRef, ModuleWithProviders } from '@angular/core';
4
+ import { EventEmitter, OnInit, ChangeDetectorRef, OnChanges, OnDestroy, ElementRef, SimpleChanges, TemplateRef, AfterContentInit, QueryList, ComponentFactoryResolver, Type, ViewContainerRef, Injector, ComponentRef, AfterViewInit, ModuleWithProviders, InjectionToken, PipeTransform } from '@angular/core';
5
5
  import { Params, Route } from '@angular/router';
6
6
  import { GovButtonCustomEvent, ButtonEvent, FormSelectEvent, FormCheckboxEvent, GovFormMultiSelectItem } from '@gov-design-system-ce/components';
7
- import { ControlValueAccessor, NgControl, FormControl, ValidationErrors, ValidatorFn, FormGroup, UntypedFormGroup } from '@angular/forms';
7
+ import { ControlValueAccessor, NgControl, FormControl, ValidationErrors, UntypedFormGroup, ValidatorFn, FormGroup } from '@angular/forms';
8
8
  import * as _verisoft_core from '@verisoft/core';
9
- import { LazyLoadEvent, FilterEvent, Sort, DatasourceType, BaseHttpService } from '@verisoft/core';
9
+ import { LazyLoadEvent, FilterEvent, DatasourceType, Sort, BaseHttpService } from '@verisoft/core';
10
10
  import { Subscription, Observable } from 'rxjs';
11
11
  import { Overlay } from '@angular/cdk/overlay';
12
12
  import { TranslateService } from '@ngx-translate/core';
@@ -77,11 +77,11 @@ declare class CheckboxComponent extends BaseFormInputComponent implements Contro
77
77
  declare class ConfirmDialogComponent extends UnsubscribeComponent implements OnInit, ConfirmDialogCore {
78
78
  private readonly dialogService;
79
79
  private readonly cdr;
80
+ constructor(dialogService: DialogService, cdr: ChangeDetectorRef);
80
81
  visible: boolean;
81
82
  protected closable: boolean;
82
83
  data: DialogData;
83
84
  ngOnInit(): void;
84
- onKeyDown(event: KeyboardEvent): void;
85
85
  protected dialogClick(confirm: boolean): void;
86
86
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponent, never>;
87
87
  static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogComponent, "v-confirm-dialog", never, {}, {}, never, never, true, never>;
@@ -180,369 +180,93 @@ declare class ErrorComponent {
180
180
  static ɵcmp: i0.ɵɵComponentDeclaration<ErrorComponent, "v-validation-message", never, { "ngControl": { "alias": "ngControl"; "required": true; }; "errorSlot": { "alias": "errorSlot"; "required": false; }; "messageSlot": { "alias": "messageSlot"; "required": false; }; }, {}, never, never, true, never>;
181
181
  }
182
182
 
183
- declare class TableComponent<T> implements OnChanges, AfterViewInit, OnDestroy, TableCore<T> {
184
- viewColumns: QueryList<ColumnProvider<T>>;
185
- rowDetailTemplate: TemplateRef<{
186
- $implicit: T;
187
- }>;
188
- rowDetailButtonTemplate: TemplateRef<{
189
- $implicit: T;
190
- }>;
191
- sorters: Sort[];
192
- data: T[];
193
- total: number;
194
- filter: Partial<T> | undefined;
195
- extraFilter: Partial<T> | undefined;
196
- loading: boolean;
197
- scrollable: boolean;
198
- pageSize: number;
199
- currentPage: number;
200
- showPaginator: boolean;
201
- userTableWrapper: boolean;
202
- sortMultiple: boolean;
203
- lazy: boolean;
204
- selectionMode: 'single' | 'multiple' | undefined;
205
- selection: T[];
206
- showPageSizePicker: boolean;
207
- entityKey: string | undefined;
208
- customRoute: string | undefined;
209
- disableCustomClicks: boolean;
210
- tableName?: string;
211
- size: FieldSizeType;
212
- showActionButtons: boolean;
213
- maximumColumnLength: number;
214
- set columns(value: ColumnDefinition<T>[]);
215
- get columns(): ColumnDefinition<T>[];
216
- selectionChange: EventEmitter<T[]>;
217
- lazyLoad: EventEmitter<LazyLoadEvent>;
218
- download: EventEmitter<RowModel<T>[]>;
219
- delete: EventEmitter<RowModel<T>[]>;
220
- save: EventEmitter<RowModel<T>[]>;
221
- tableRef: ElementRef<HTMLTableElement>;
222
- private readonly cdRef;
223
- private readonly router;
224
- private readonly route;
225
- private readonly service;
226
- private _columns;
227
- tableColumns: ColumnModel<T>[];
228
- tableRows: RowModel<T>[];
229
- pageSizeOptions: {
230
- value: string;
231
- }[];
232
- allSelected: boolean;
183
+ declare class FormFieldComponent extends BaseFormInputComponent implements ControlValueAccessor, FormFieldCore {
184
+ constructor(ngControl: NgControl);
185
+ floatLabel: boolean;
186
+ type: FieldTypeType;
187
+ minlength: number;
188
+ maxlength: number;
189
+ prefix: string;
190
+ sufix: string;
191
+ message: string;
192
+ name: string;
193
+ role: string;
194
+ autocorrect: 'on' | 'off';
195
+ size: FieldSizeType | undefined;
196
+ icon: string;
197
+ iconPos: IconPositionType;
198
+ display: 'flex' | 'block';
199
+ labelSlot: SlotPositionType;
200
+ messageSlot: SlotPositionType;
233
201
  icons: _verisoft_ui_core.CommonIcons;
234
- focusedIndex: number;
235
- private isMouseDown;
236
- private dragActive;
237
- private dragStartIndex;
238
- private initialSelectionSet;
239
- get govPageSize(): string;
240
- get tableRowView(): RowModel<T>[];
241
- get selected(): RowModel<T>[];
242
- get selectedCount(): number;
243
- ngOnChanges(changes: SimpleChanges): void;
244
- ngAfterViewInit(): void;
245
- ngOnDestroy(): void;
246
- protected sortColumn(column: ColumnModel<T>): void;
247
- protected changePage(event: {
248
- detail: {
249
- pagination: {
250
- currentPage: number;
251
- };
252
- };
253
- }): void;
254
- protected changePageSize(event: CustomEvent<FormSelectEvent>): void;
255
- private performClickSelect;
256
- onRowMouseDown(row: RowModel<T>, index: number, event: MouseEvent): void;
257
- onRowMouseEnter(index: number): void;
258
- onRowMouseUp(row: RowModel<T>, index: number, event: MouseEvent): void;
259
- private updateDragSelection;
260
- private stopDrag;
261
- protected navigate(row: RowModel<T>, event: MouseEvent): void;
262
- protected navigateNewWindow(row: RowModel<T>, event: MouseEvent): void;
263
- protected toggleAll(event: CustomEvent<FormCheckboxEvent>): void;
264
- protected toggleDetail(row: RowModel<T>): void;
265
- protected selectRowCheckbox(row: RowModel<T>, event: CustomEvent<FormCheckboxEvent>): void;
266
- protected truncate(text: string): string;
267
- protected deselectAll(): void;
268
- setFocusedIndex(index: number): void;
269
- handleKeydown(event: KeyboardEvent): void;
270
- private toggleSelection;
271
- private scrollRowIntoView;
272
- private createUrl;
273
- private reactToSignals;
274
- private updateColumnModels;
275
- private updateRowModels;
276
- private fireSelectionChange;
277
- private selectSelected;
278
- private fireLazyLoad;
279
- private updateFilter;
280
- private getSorts;
281
- protected getQueryParams(column: ColumnModel<T>, row: T): {
282
- [key: string]: unknown;
283
- } | null;
284
- static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
285
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "v-table", never, { "sorters": { "alias": "sorters"; "required": false; }; "data": { "alias": "data"; "required": false; }; "total": { "alias": "total"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "extraFilter": { "alias": "extraFilter"; "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; }; "userTableWrapper": { "alias": "userTableWrapper"; "required": false; }; "sortMultiple": { "alias": "sortMultiple"; "required": false; }; "lazy": { "alias": "lazy"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "showPageSizePicker": { "alias": "showPageSizePicker"; "required": false; }; "entityKey": { "alias": "entityKey"; "required": false; }; "customRoute": { "alias": "customRoute"; "required": false; }; "disableCustomClicks": { "alias": "disableCustomClicks"; "required": false; }; "tableName": { "alias": "tableName"; "required": false; }; "size": { "alias": "size"; "required": false; }; "showActionButtons": { "alias": "showActionButtons"; "required": false; }; "maximumColumnLength": { "alias": "maximumColumnLength"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; }, { "selectionChange": "selectionChange"; "lazyLoad": "lazyLoad"; "download": "download"; "delete": "delete"; "save": "save"; }, ["rowDetailTemplate", "rowDetailButtonTemplate", "viewColumns"], never, true, never>;
202
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, [{ optional: true; self: true; }]>;
203
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "v-form-field", never, { "floatLabel": { "alias": "floatLabel"; "required": false; }; "type": { "alias": "type"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "sufix": { "alias": "sufix"; "required": false; }; "message": { "alias": "message"; "required": false; }; "name": { "alias": "name"; "required": false; }; "role": { "alias": "role"; "required": false; }; "autocorrect": { "alias": "autocorrect"; "required": false; }; "size": { "alias": "size"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconPos": { "alias": "iconPos"; "required": false; }; "display": { "alias": "display"; "required": false; }; "labelSlot": { "alias": "labelSlot"; "required": false; }; "messageSlot": { "alias": "messageSlot"; "required": false; }; }, {}, never, ["*"], true, never>;
286
204
  }
287
205
 
288
- declare class FilterFieldDirective implements GenericFieldDefinition {
289
- name: string;
290
- type: GenericFieldTypeType | undefined;
291
- label: string | undefined;
292
- optionLabel: string;
293
- optionValue: string | undefined;
294
- options: unknown[] | undefined;
295
- value?: unknown;
296
- validator?: ValidatorFn[];
297
- datasource: DatasourceType<any> | undefined;
298
- filterField?: string;
299
- showFilter?: boolean;
300
- localSearch?: boolean;
301
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterFieldDirective, never>;
302
- 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>;
206
+ declare class HeaderComponent implements HeaderCore {
207
+ title: string;
208
+ userName: string;
209
+ userAvatar: string;
210
+ logoUrl: string;
211
+ userRole: any;
212
+ menuRef: HTMLDivElement;
213
+ items: MenuItem[];
214
+ fixed: boolean;
215
+ actionTemplate: TemplateRef<{
216
+ $implicit: any;
217
+ }>;
218
+ protected icons: _verisoft_ui_core.CommonIcons;
219
+ protected menuVisible: boolean;
220
+ private openedIndexes;
221
+ protected readonly tabsService: SideMenuService;
222
+ private readonly router;
223
+ toggleMenu(): void;
224
+ protected canRedirect(url?: string, canRedirect?: boolean): void;
225
+ protected showOrHide(index: number, children?: number): void;
226
+ protected canBeShown(index: number): boolean;
227
+ static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
228
+ static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "v-header", never, { "title": { "alias": "title"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "userAvatar": { "alias": "userAvatar"; "required": false; }; "logoUrl": { "alias": "logoUrl"; "required": false; }; "userRole": { "alias": "userRole"; "required": false; }; "menuRef": { "alias": "menuRef"; "required": false; }; "items": { "alias": "items"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; }, {}, ["actionTemplate"], ["*"], true, never>;
303
229
  }
304
230
 
305
- type FilterValueType = {
306
- [key: string]: unknown;
307
- };
308
- declare class FilterComponent<T extends object> extends UnsubscribeComponent implements OnChanges, OnInit, AfterContentInit, FilterCore {
309
- fieldDeclarations: QueryList<FilterFieldDirective>;
310
- fields: GenericFieldDefinition[];
311
- filters: GenericFieldDefinition[];
312
- title?: string;
313
- total?: number;
314
- fulltextFieldName: string;
315
- showFulltext: boolean;
316
- showFilters: boolean;
317
- autoBind: boolean;
318
- applyLabel: string;
319
- clearLabel: string;
320
- buttonType: GovButtonTypeType;
321
- buttonOutlined: boolean;
322
- debounceTime?: number;
323
- defaultExpanded: boolean;
324
- icons: _verisoft_ui_core.CommonIcons;
325
- protected isExpanded: boolean;
326
- fieldDefinitios$?: Observable<GenericFieldDefinition[]>;
327
- formGroup$?: Observable<FormGroup>;
328
- simpleFormFieldDefinitions$?: Observable<GenericFieldDefinition[]>;
329
- private get searchField();
330
- private onTouch?;
331
- private onChange?;
332
- private inputFields$;
333
- FieldSize: typeof FieldSize;
334
- protected screenSizeService: ScreenSizeService;
335
- protected changeDetectorRef: ChangeDetectorRef;
336
- protected dialogService: DialogService;
337
- service: BaseHttpService<T>;
338
- formGroup: FormGroup<{}>;
339
- filledFiltersCount$: Observable<string>;
340
- private lastFormFields;
341
- ngOnInit(): void;
342
- ngOnChanges(changes: SimpleChanges): void;
343
- ngAfterContentInit(): void;
344
- protected toggleFilters(): void;
345
- protected openSearch(): void;
346
- writeValue(data: FilterValueType): void;
347
- registerOnChange(fn: (value: FilterValueType | undefined) => void): void;
348
- registerOnTouched(fn: () => void): void;
349
- setDisabledState?(isDisabled: boolean): void;
350
- submitValue(): void;
351
- setFilterValues(dialogFormGroup: FormGroup): void;
352
- clear(): void;
353
- private convertFilter;
354
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent<any>, never>;
355
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent<any>, "v-filter", never, { "fields": { "alias": "fields"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "title": { "alias": "title"; "required": false; }; "total": { "alias": "total"; "required": false; }; "fulltextFieldName": { "alias": "fulltextFieldName"; "required": false; }; "showFulltext": { "alias": "showFulltext"; "required": false; }; "showFilters": { "alias": "showFilters"; "required": false; }; "autoBind": { "alias": "autoBind"; "required": false; }; "applyLabel": { "alias": "applyLabel"; "required": false; }; "clearLabel": { "alias": "clearLabel"; "required": false; }; "buttonType": { "alias": "buttonType"; "required": false; }; "buttonOutlined": { "alias": "buttonOutlined"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "defaultExpanded": { "alias": "defaultExpanded"; "required": false; }; }, {}, ["fieldDeclarations"], ["v-action-button-group"], true, never>;
231
+ declare class IconComponent extends IconsComponent {
232
+ get govSize(): 's' | 'm' | 'l' | 'xl';
233
+ get govColorClass(): string;
234
+ get govClasses(): string;
235
+ get bootstrapSizeClass(): string;
236
+ get bootstrapClasses(): string;
237
+ private mapSeverityToGovColor;
238
+ private mapSeverityToBootstrapClass;
239
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
240
+ static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "v-icon", never, {}, {}, never, never, true, never>;
356
241
  }
357
242
 
358
- declare class FeatureListFilterFieldDirective extends FilterFieldDirective {
359
- static ɵfac: i0.ɵɵFactoryDeclaration<FeatureListFilterFieldDirective, never>;
360
- static ɵdir: i0.ɵɵDirectiveDeclaration<FeatureListFilterFieldDirective, "v-feature-list-filter-field", never, {}, {}, never, never, true, never>;
243
+ declare class InputGroupComponent extends BaseFormInputComponent implements ControlValueAccessor, InputGroupCore {
244
+ floatLabel: boolean;
245
+ type: FieldTypeType;
246
+ minlength: number;
247
+ items: InputGroupItem[];
248
+ prefix: string;
249
+ sufix: string;
250
+ maxlength: number;
251
+ name: string;
252
+ role: string;
253
+ message: string;
254
+ size: FieldSizeType | undefined;
255
+ icon: string;
256
+ iconPos: IconPositionType;
257
+ labelSlot: SlotPositionType;
258
+ messageSlot: SlotPositionType;
259
+ icons: _verisoft_ui_core.CommonIcons;
260
+ constructor(ngControl: NgControl);
261
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputGroupComponent, [{ optional: true; self: true; }]>;
262
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputGroupComponent, "v-input-group", never, { "floatLabel": { "alias": "floatLabel"; "required": false; }; "type": { "alias": "type"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "items": { "alias": "items"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "sufix": { "alias": "sufix"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "name": { "alias": "name"; "required": false; }; "role": { "alias": "role"; "required": false; }; "message": { "alias": "message"; "required": false; }; "size": { "alias": "size"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconPos": { "alias": "iconPos"; "required": false; }; "labelSlot": { "alias": "labelSlot"; "required": false; }; "messageSlot": { "alias": "messageSlot"; "required": false; }; }, {}, never, never, true, never>;
361
263
  }
362
264
 
363
- interface FeatureListPageConfig {
364
- title: string;
365
- datasource: string;
366
- tableName: string;
367
- showAdd?: boolean;
368
- showDownload?: boolean;
369
- showDelete?: boolean;
370
- }
371
- declare const FEATURE_LIST_PAGE_CONFIG_PROPERTY = "feature_list_config";
372
- declare function addFeatureListPage(value: Partial<Route> & {
373
- config: FeatureListPageConfig;
374
- }): Route;
375
- interface FeatureListColumnDefinition<T> extends ColumnDefinition<T> {
376
- filter?: boolean;
377
- type?: GenericFieldTypeType;
378
- }
379
- declare const FEATURE_LIST_COLUMN_PROVIDER: InjectionToken<unknown>;
380
- interface FeatureListColumnProvider<T> {
381
- getDefinition: () => FeatureListColumnDefinition<T>;
382
- }
383
-
384
- declare class FeatureListComponent<T> implements AfterViewInit {
385
- viewColumns: QueryList<FeatureListColumnProvider<T>>;
386
- fieldDeclarations: QueryList<FeatureListFilterFieldDirective>;
387
- tableDatasourceDirective: TableDatasourceDirective<T>;
388
- tableComponent: TableComponent<T>;
389
- autoBind: boolean;
390
- title: string;
391
- columns: FeatureListColumnDefinition<T>[];
392
- filters: GenericFieldDefinition[];
393
- maxVisibleActions: number;
394
- tableName: string;
395
- ngrxFeatureKey?: string;
396
- maxVisibleMobileActions: number;
397
- showExtendedFilter: boolean;
398
- showDownload: boolean;
399
- showDelete: boolean;
400
- showAdd: boolean;
401
- canDownload: boolean;
402
- canDelete: boolean;
403
- canAdd: boolean;
404
- useRouterFilter: boolean;
405
- fulltextFieldName: string;
406
- showFulltext: boolean;
407
- applyLabel: string;
408
- clearLabel: string;
409
- buttonType: GovButtonTypeType;
410
- buttonOutlined: boolean;
411
- deleteConfirmMessage: string | undefined;
412
- autoDeleteEnabled: boolean;
413
- autoDownloadEnabled: boolean;
414
- downloadFileName: string;
415
- datasource: DatasourceType<T>;
416
- extraFilter?: Partial<T>;
417
- disableCustomClicks: boolean;
418
- maximumColumnLength: number;
419
- addClick: EventEmitter<any>;
420
- downloadClick: EventEmitter<any>;
421
- deleteClick: EventEmitter<T[]>;
422
- selectionChange: EventEmitter<any>;
423
- set selectionMode(mode: TableSelectionModeType | undefined);
424
- get selectionMode(): TableSelectionModeType | undefined;
425
- icons: _verisoft_ui_core.CommonIcons;
426
- private httpClient;
427
- private baseUrl;
428
- private _selectionMode;
429
- private cdRef;
430
- private dialogService;
431
- selection: T[];
432
- get tableTotal(): number | undefined;
433
- ngAfterViewInit(): void;
434
- selectItems(items: T[]): void;
435
- startDeleteItems(): void;
436
- startDownload(): void;
437
- private deleteItems;
438
- private forceDelete;
439
- private createDeleteFn;
440
- private createDownloadFn;
441
- private finishDeletion;
442
- private convertToBlob;
443
- static ɵfac: i0.ɵɵFactoryDeclaration<FeatureListComponent<any>, never>;
444
- 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; }; "applyLabel": { "alias": "applyLabel"; "required": false; }; "clearLabel": { "alias": "clearLabel"; "required": false; }; "buttonType": { "alias": "buttonType"; "required": false; }; "buttonOutlined": { "alias": "buttonOutlined"; "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"], ["*"], true, never>;
445
- }
446
-
447
- declare class FeatureListColumnDirective<T> extends TableColumnDirective<T> implements FeatureListColumnProvider<T> {
448
- filter: boolean;
449
- type: GenericFieldTypeType;
450
- getDefinition(): FeatureListColumnDefinition<T>;
451
- static ɵfac: i0.ɵɵFactoryDeclaration<FeatureListColumnDirective<any>, never>;
452
- 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>;
453
- }
454
-
455
- declare class FeatureListFilterPipe<T> implements PipeTransform {
456
- transform(value: FeatureListColumnDefinition<T>[] | undefined): GenericFieldDefinition[] | undefined;
457
- static ɵfac: i0.ɵɵFactoryDeclaration<FeatureListFilterPipe<any>, never>;
458
- static ɵpipe: i0.ɵɵPipeDeclaration<FeatureListFilterPipe<any>, "featureListColumn", true>;
459
- }
460
-
461
- declare class FormFieldComponent extends BaseFormInputComponent implements ControlValueAccessor, FormFieldCore {
462
- constructor(ngControl: NgControl);
463
- floatLabel: boolean;
464
- type: FieldTypeType;
465
- minlength: number;
466
- maxlength: number;
467
- prefix: string;
468
- sufix: string;
469
- message: string;
470
- name: string;
471
- role: string;
472
- autocorrect: 'on' | 'off';
473
- size: FieldSizeType | undefined;
474
- icon: string;
475
- iconPos: IconPositionType;
476
- display: 'flex' | 'block';
477
- labelSlot: SlotPositionType;
478
- messageSlot: SlotPositionType;
479
- icons: _verisoft_ui_core.CommonIcons;
480
- static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, [{ optional: true; self: true; }]>;
481
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "v-form-field", never, { "floatLabel": { "alias": "floatLabel"; "required": false; }; "type": { "alias": "type"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "sufix": { "alias": "sufix"; "required": false; }; "message": { "alias": "message"; "required": false; }; "name": { "alias": "name"; "required": false; }; "role": { "alias": "role"; "required": false; }; "autocorrect": { "alias": "autocorrect"; "required": false; }; "size": { "alias": "size"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconPos": { "alias": "iconPos"; "required": false; }; "display": { "alias": "display"; "required": false; }; "labelSlot": { "alias": "labelSlot"; "required": false; }; "messageSlot": { "alias": "messageSlot"; "required": false; }; }, {}, never, ["*"], true, never>;
482
- }
483
-
484
- declare class HeaderComponent implements HeaderCore {
485
- title: string;
486
- userName: string;
487
- logoUrl: string;
488
- userRole: any;
489
- menuRef: HTMLDivElement;
490
- items: MenuItem[];
491
- actionTemplate: TemplateRef<{
492
- $implicit: any;
493
- }>;
494
- protected icons: _verisoft_ui_core.CommonIcons;
495
- protected menuVisible: boolean;
496
- private openedIndexes;
497
- protected readonly tabsService: SideMenuService;
498
- private readonly router;
499
- toggleMenu(): void;
500
- protected canRedirect(url?: string, canRedirect?: boolean): void;
501
- protected showOrHide(index: number, children?: number): void;
502
- protected canBeShown(index: number): boolean;
503
- static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
504
- static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "v-header", never, { "title": { "alias": "title"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "logoUrl": { "alias": "logoUrl"; "required": false; }; "userRole": { "alias": "userRole"; "required": false; }; "menuRef": { "alias": "menuRef"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, ["actionTemplate"], ["*"], true, never>;
505
- }
506
-
507
- declare class IconComponent extends IconsComponent {
508
- get govSize(): 's' | 'm' | 'l' | 'xl';
509
- get govColorClass(): string;
510
- get govClasses(): string;
511
- get bootstrapSizeClass(): string;
512
- get bootstrapClasses(): string;
513
- private mapSeverityToGovColor;
514
- private mapSeverityToBootstrapClass;
515
- static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
516
- static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "v-icon", never, {}, {}, never, never, true, never>;
517
- }
518
-
519
- declare class InputGroupComponent extends BaseFormInputComponent implements ControlValueAccessor, InputGroupCore {
520
- floatLabel: boolean;
521
- type: FieldTypeType;
522
- minlength: number;
523
- items: InputGroupItem[];
524
- prefix: string;
525
- sufix: string;
526
- maxlength: number;
527
- name: string;
528
- role: string;
529
- message: string;
530
- size: FieldSizeType | undefined;
531
- icon: string;
532
- iconPos: IconPositionType;
533
- labelSlot: SlotPositionType;
534
- messageSlot: SlotPositionType;
535
- icons: _verisoft_ui_core.CommonIcons;
536
- constructor(ngControl: NgControl);
537
- static ɵfac: i0.ɵɵFactoryDeclaration<InputGroupComponent, [{ optional: true; self: true; }]>;
538
- static ɵcmp: i0.ɵɵComponentDeclaration<InputGroupComponent, "v-input-group", never, { "floatLabel": { "alias": "floatLabel"; "required": false; }; "type": { "alias": "type"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "items": { "alias": "items"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "sufix": { "alias": "sufix"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "name": { "alias": "name"; "required": false; }; "role": { "alias": "role"; "required": false; }; "message": { "alias": "message"; "required": false; }; "size": { "alias": "size"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconPos": { "alias": "iconPos"; "required": false; }; "labelSlot": { "alias": "labelSlot"; "required": false; }; "messageSlot": { "alias": "messageSlot"; "required": false; }; }, {}, never, never, true, never>;
539
- }
540
-
541
- declare class LoaderComponent implements LoaderCore {
542
- size: FieldSizeType;
543
- message: string;
544
- static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, never>;
545
- static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "v-loader", never, { "size": { "alias": "size"; "required": false; }; "message": { "alias": "message"; "required": false; }; }, {}, never, never, true, never>;
265
+ declare class LoaderComponent implements LoaderCore {
266
+ size: FieldSizeType;
267
+ message: string;
268
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, never>;
269
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "v-loader", never, { "size": { "alias": "size"; "required": false; }; "message": { "alias": "message"; "required": false; }; }, {}, never, never, true, never>;
546
270
  }
547
271
 
548
272
  declare class MultiselectComponent<T> extends BaseFormInputComponent implements ControlValueAccessor, OnChanges, MultiselectCore<T> {
@@ -717,35 +441,6 @@ declare class ActionButtonGroupComponent extends UnsubscribeComponent implements
717
441
  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>;
718
442
  }
719
443
 
720
- declare class DynamicComponentFactoryService implements OnDestroy {
721
- private componentFactoryResolver;
722
- constructor(componentFactoryResolver: ComponentFactoryResolver);
723
- ngOnDestroy(): void;
724
- createDynamicComponent<TComponent>(componentType: Type<TComponent>, viewContainerRef: ViewContainerRef, inputs: ExtendedComponent<TComponent>, injector?: Injector | undefined): Promise<ComponentRef<TComponent>>;
725
- setComponentData<TComponent>(component: ComponentRef<TComponent>, inputs: Partial<TComponent>): void;
726
- private unsubscribeComponentEvents;
727
- private fireComponentEvents;
728
- private setComponentDataInt;
729
- private fireInputComponentEvents;
730
- private fireOutputComponentEvents;
731
- static ɵfac: i0.ɵɵFactoryDeclaration<DynamicComponentFactoryService, never>;
732
- static ɵprov: i0.ɵɵInjectableDeclaration<DynamicComponentFactoryService>;
733
- }
734
-
735
- declare class DynamicComponent<TComponent> implements AfterViewInit, OnChanges {
736
- componentType: Type<TComponent>;
737
- data: ExtendedComponent<TComponent>;
738
- container: ViewContainerRef;
739
- private factoryServices;
740
- private changeDetectorRef;
741
- private injector;
742
- ngOnChanges(): void;
743
- ngAfterViewInit(): void;
744
- private createComponent;
745
- static ɵfac: i0.ɵɵFactoryDeclaration<DynamicComponent<any>, never>;
746
- static ɵcmp: i0.ɵɵComponentDeclaration<DynamicComponent<any>, "v-dynamic-component", never, { "componentType": { "alias": "componentType"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
747
- }
748
-
749
444
  declare class GenericFieldComponent<T> extends BaseFormInputComponent implements GenericFieldCore<T> {
750
445
  type?: GenericFieldTypeType;
751
446
  floatLabel?: boolean;
@@ -786,6 +481,35 @@ declare class GenericFormComponent implements OnChanges {
786
481
  declare function generateFormGroup(fields: GenericFieldDefinition[] | undefined, lastGroupValue: UntypedFormGroup | undefined, inputGroup: UntypedFormGroup | undefined, inputGroupChanged?: boolean): UntypedFormGroup;
787
482
  declare function getColumnClass(value?: number): string | undefined;
788
483
 
484
+ declare class DynamicComponentFactoryService implements OnDestroy {
485
+ private componentFactoryResolver;
486
+ constructor(componentFactoryResolver: ComponentFactoryResolver);
487
+ ngOnDestroy(): void;
488
+ createDynamicComponent<TComponent>(componentType: Type<TComponent>, viewContainerRef: ViewContainerRef, inputs: ExtendedComponent<TComponent>, injector?: Injector | undefined): Promise<ComponentRef<TComponent>>;
489
+ setComponentData<TComponent>(component: ComponentRef<TComponent>, inputs: Partial<TComponent>): void;
490
+ private unsubscribeComponentEvents;
491
+ private fireComponentEvents;
492
+ private setComponentDataInt;
493
+ private fireInputComponentEvents;
494
+ private fireOutputComponentEvents;
495
+ static ɵfac: i0.ɵɵFactoryDeclaration<DynamicComponentFactoryService, never>;
496
+ static ɵprov: i0.ɵɵInjectableDeclaration<DynamicComponentFactoryService>;
497
+ }
498
+
499
+ declare class DynamicComponent<TComponent> implements AfterViewInit, OnChanges {
500
+ componentType: Type<TComponent>;
501
+ data: ExtendedComponent<TComponent>;
502
+ container: ViewContainerRef;
503
+ private factoryServices;
504
+ private changeDetectorRef;
505
+ private injector;
506
+ ngOnChanges(): void;
507
+ ngAfterViewInit(): void;
508
+ private createComponent;
509
+ static ɵfac: i0.ɵɵFactoryDeclaration<DynamicComponent<any>, never>;
510
+ static ɵcmp: i0.ɵɵComponentDeclaration<DynamicComponent<any>, "v-dynamic-component", never, { "componentType": { "alias": "componentType"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
511
+ }
512
+
789
513
  declare class SideMenuComponent implements SideMenuCore {
790
514
  menuService: SideMenuService;
791
515
  items: MenuItem[];
@@ -907,6 +631,93 @@ declare class TabViewComponent implements AfterContentInit {
907
631
  static ɵcmp: i0.ɵɵComponentDeclaration<TabViewComponent, "v-tab-view", never, { "highlight": { "alias": "highlight"; "required": false; }; "useRouting": { "alias": "useRouting"; "required": false; }; "items": { "alias": "items"; "required": false; }; "activeIndex": { "alias": "activeIndex"; "required": false; }; }, { "activeIndexChange": "activeIndexChange"; }, ["tabs"], never, true, never>;
908
632
  }
909
633
 
634
+ declare class TableComponent<T> implements OnChanges, AfterViewInit, TableCore<T> {
635
+ viewColumns: QueryList<ColumnProvider<T>>;
636
+ rowDetailTemplate: TemplateRef<{
637
+ $implicit: T;
638
+ }>;
639
+ rowDetailButtonTemplate: TemplateRef<{
640
+ $implicit: T;
641
+ }>;
642
+ sorters: Sort[];
643
+ data: T[];
644
+ total: number;
645
+ filter: Partial<T> | undefined;
646
+ extraFilter: Partial<T> | undefined;
647
+ loading: boolean;
648
+ scrollable: boolean;
649
+ pageSize: number;
650
+ currentPage: number;
651
+ showPaginator: boolean;
652
+ userTableWrapper: boolean;
653
+ sortMultiple: boolean;
654
+ lazy: boolean;
655
+ selectionMode: 'single' | 'multiple' | undefined;
656
+ selection: T[];
657
+ showPageSizePicker: boolean;
658
+ entityKey: string | undefined;
659
+ customRoute: string | undefined;
660
+ disableCustomClicks: boolean;
661
+ tableName?: string;
662
+ size: FieldSizeType;
663
+ showActionButtons: boolean;
664
+ maximumColumnLength: number;
665
+ set columns(value: ColumnDefinition<T>[]);
666
+ get columns(): ColumnDefinition<T>[];
667
+ selectionChange: EventEmitter<T[]>;
668
+ lazyLoad: EventEmitter<LazyLoadEvent>;
669
+ download: EventEmitter<RowModel<T>[]>;
670
+ delete: EventEmitter<RowModel<T>[]>;
671
+ save: EventEmitter<RowModel<T>[]>;
672
+ private readonly cdRef;
673
+ private readonly router;
674
+ private readonly route;
675
+ private readonly service;
676
+ private _columns;
677
+ tableColumns: ColumnModel<T>[];
678
+ tableRows: RowModel<T>[];
679
+ pageSizeOptions: {
680
+ value: string;
681
+ }[];
682
+ allSelected: boolean;
683
+ icons: _verisoft_ui_core.CommonIcons;
684
+ get govPageSize(): string;
685
+ get tableRowView(): RowModel<T>[];
686
+ get selected(): RowModel<T>[];
687
+ get selectedCount(): number;
688
+ constructor();
689
+ ngOnChanges(changes: SimpleChanges): void;
690
+ ngAfterViewInit(): void;
691
+ protected sortColumn(column: ColumnModel<T>): void;
692
+ protected changePage(event: {
693
+ detail: {
694
+ pagination: {
695
+ currentPage: number;
696
+ };
697
+ };
698
+ }): void;
699
+ protected changePageSize(event: CustomEvent<FormSelectEvent>): void;
700
+ protected selectRow(row: RowModel<T>, event: MouseEvent): void;
701
+ protected navigate(row: RowModel<T>, event: MouseEvent): void;
702
+ protected navigateNewWindow(row: RowModel<T>, event: MouseEvent): void;
703
+ protected toggleAll(event: CustomEvent<FormCheckboxEvent>): void;
704
+ protected toggleDetail(row: RowModel<T>): void;
705
+ protected selectRowCheckbox(row: RowModel<T>, event: CustomEvent<FormCheckboxEvent>): void;
706
+ protected truncate(text: string): string;
707
+ protected deselectAll(): void;
708
+ private createUrl;
709
+ private reactToSignals;
710
+ private updateColumnModels;
711
+ private updateRowModels;
712
+ private fireSelectionChange;
713
+ private selectSelected;
714
+ private fireLazyLoad;
715
+ private updateFilter;
716
+ private getSorts;
717
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
718
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "v-table", never, { "sorters": { "alias": "sorters"; "required": false; }; "data": { "alias": "data"; "required": false; }; "total": { "alias": "total"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "extraFilter": { "alias": "extraFilter"; "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; }; "userTableWrapper": { "alias": "userTableWrapper"; "required": false; }; "sortMultiple": { "alias": "sortMultiple"; "required": false; }; "lazy": { "alias": "lazy"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "showPageSizePicker": { "alias": "showPageSizePicker"; "required": false; }; "entityKey": { "alias": "entityKey"; "required": false; }; "customRoute": { "alias": "customRoute"; "required": false; }; "disableCustomClicks": { "alias": "disableCustomClicks"; "required": false; }; "tableName": { "alias": "tableName"; "required": false; }; "size": { "alias": "size"; "required": false; }; "showActionButtons": { "alias": "showActionButtons"; "required": false; }; "maximumColumnLength": { "alias": "maximumColumnLength"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; }, { "selectionChange": "selectionChange"; "lazyLoad": "lazyLoad"; "download": "download"; "delete": "delete"; "save": "save"; }, ["rowDetailTemplate", "rowDetailButtonTemplate", "viewColumns"], never, true, never>;
719
+ }
720
+
910
721
  declare class TagComponent implements TagCore {
911
722
  label: i0.InputSignal<string | undefined>;
912
723
  severity: i0.InputSignal<"success" | "info" | "warning" | "danger" | "help" | "primary" | "secondary" | "contrast" | undefined>;
@@ -980,6 +791,179 @@ declare class TooltipComponent implements TooltipCore {
980
791
  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>;
981
792
  }
982
793
 
794
+ declare class FilterFieldDirective implements GenericFieldDefinition {
795
+ name: string;
796
+ type: GenericFieldTypeType | undefined;
797
+ label: string | undefined;
798
+ optionLabel: string;
799
+ optionValue: string | undefined;
800
+ options: unknown[] | undefined;
801
+ value?: unknown;
802
+ validator?: ValidatorFn[];
803
+ datasource: DatasourceType<any> | undefined;
804
+ filterField?: string;
805
+ showFilter?: boolean;
806
+ localSearch?: boolean;
807
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterFieldDirective, never>;
808
+ 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>;
809
+ }
810
+
811
+ type FilterValueType = {
812
+ [key: string]: unknown;
813
+ };
814
+ declare class FilterComponent<T extends object> extends UnsubscribeComponent implements OnChanges, OnInit, AfterContentInit, FilterCore {
815
+ fieldDeclarations: QueryList<FilterFieldDirective>;
816
+ fields: GenericFieldDefinition[];
817
+ filters: GenericFieldDefinition[];
818
+ title?: string;
819
+ total?: number;
820
+ fulltextFieldName: string;
821
+ showFulltext: boolean;
822
+ showFilters: boolean;
823
+ autoBind: boolean;
824
+ applyLabel: string;
825
+ clearLabel: string;
826
+ buttonType: GovButtonTypeType;
827
+ buttonOutlined: boolean;
828
+ debounceTime?: number;
829
+ defaultExpanded: boolean;
830
+ icons: _verisoft_ui_core.CommonIcons;
831
+ protected isExpanded: boolean;
832
+ fieldDefinitios$?: Observable<GenericFieldDefinition[]>;
833
+ formGroup$?: Observable<FormGroup>;
834
+ simpleFormFieldDefinitions$?: Observable<GenericFieldDefinition[]>;
835
+ private get searchField();
836
+ private onTouch?;
837
+ private onChange?;
838
+ private inputFields$;
839
+ FieldSize: typeof FieldSize;
840
+ protected screenSizeService: ScreenSizeService;
841
+ protected changeDetectorRef: ChangeDetectorRef;
842
+ protected dialogService: DialogService;
843
+ service: BaseHttpService<T>;
844
+ formGroup: FormGroup<{}>;
845
+ filledFiltersCount$: Observable<string>;
846
+ private lastFormFields;
847
+ ngOnInit(): void;
848
+ ngOnChanges(changes: SimpleChanges): void;
849
+ ngAfterContentInit(): void;
850
+ protected toggleFilters(): void;
851
+ protected openSearch(): void;
852
+ writeValue(data: FilterValueType): void;
853
+ registerOnChange(fn: (value: FilterValueType | undefined) => void): void;
854
+ registerOnTouched(fn: () => void): void;
855
+ setDisabledState?(isDisabled: boolean): void;
856
+ submitValue(): void;
857
+ setFilterValues(dialogFormGroup: FormGroup): void;
858
+ clear(): void;
859
+ private convertFilter;
860
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent<any>, never>;
861
+ static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent<any>, "v-filter", never, { "fields": { "alias": "fields"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "title": { "alias": "title"; "required": false; }; "total": { "alias": "total"; "required": false; }; "fulltextFieldName": { "alias": "fulltextFieldName"; "required": false; }; "showFulltext": { "alias": "showFulltext"; "required": false; }; "showFilters": { "alias": "showFilters"; "required": false; }; "autoBind": { "alias": "autoBind"; "required": false; }; "applyLabel": { "alias": "applyLabel"; "required": false; }; "clearLabel": { "alias": "clearLabel"; "required": false; }; "buttonType": { "alias": "buttonType"; "required": false; }; "buttonOutlined": { "alias": "buttonOutlined"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "defaultExpanded": { "alias": "defaultExpanded"; "required": false; }; }, {}, ["fieldDeclarations"], ["v-action-button-group"], true, never>;
862
+ }
863
+
864
+ declare class FeatureListFilterFieldDirective extends FilterFieldDirective {
865
+ static ɵfac: i0.ɵɵFactoryDeclaration<FeatureListFilterFieldDirective, never>;
866
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FeatureListFilterFieldDirective, "v-feature-list-filter-field", never, {}, {}, never, never, true, never>;
867
+ }
868
+
869
+ interface FeatureListPageConfig {
870
+ title: string;
871
+ datasource: string;
872
+ tableName: string;
873
+ showAdd?: boolean;
874
+ showDownload?: boolean;
875
+ showDelete?: boolean;
876
+ }
877
+ declare const FEATURE_LIST_PAGE_CONFIG_PROPERTY = "feature_list_config";
878
+ declare function addFeatureListPage(value: Partial<Route> & {
879
+ config: FeatureListPageConfig;
880
+ }): Route;
881
+ interface FeatureListColumnDefinition<T> extends ColumnDefinition<T> {
882
+ filter?: boolean;
883
+ type?: GenericFieldTypeType;
884
+ }
885
+ declare const FEATURE_LIST_COLUMN_PROVIDER: InjectionToken<unknown>;
886
+ interface FeatureListColumnProvider<T> {
887
+ getDefinition: () => FeatureListColumnDefinition<T>;
888
+ }
889
+
890
+ declare class FeatureListComponent<T> implements AfterViewInit {
891
+ viewColumns: QueryList<FeatureListColumnProvider<T>>;
892
+ fieldDeclarations: QueryList<FeatureListFilterFieldDirective>;
893
+ tableDatasourceDirective: TableDatasourceDirective<T>;
894
+ tableComponent: TableComponent<T>;
895
+ autoBind: boolean;
896
+ title: string;
897
+ columns: FeatureListColumnDefinition<T>[];
898
+ filters: GenericFieldDefinition[];
899
+ maxVisibleActions: number;
900
+ tableName: string;
901
+ ngrxFeatureKey?: string;
902
+ maxVisibleMobileActions: number;
903
+ showExtendedFilter: boolean;
904
+ showDownload: boolean;
905
+ showDelete: boolean;
906
+ showAdd: boolean;
907
+ canDownload: boolean;
908
+ canDelete: boolean;
909
+ canAdd: boolean;
910
+ useRouterFilter: boolean;
911
+ fulltextFieldName: string;
912
+ showFulltext: boolean;
913
+ applyLabel: string;
914
+ clearLabel: string;
915
+ buttonType: GovButtonTypeType;
916
+ buttonOutlined: boolean;
917
+ deleteConfirmMessage: string | undefined;
918
+ autoDeleteEnabled: boolean;
919
+ autoDownloadEnabled: boolean;
920
+ downloadFileName: string;
921
+ datasource: DatasourceType<T>;
922
+ extraFilter?: Partial<T>;
923
+ disableCustomClicks: boolean;
924
+ maximumColumnLength: number;
925
+ addClick: EventEmitter<any>;
926
+ downloadClick: EventEmitter<any>;
927
+ deleteClick: EventEmitter<T[]>;
928
+ selectionChange: EventEmitter<any>;
929
+ set selectionMode(mode: TableSelectionModeType | undefined);
930
+ get selectionMode(): TableSelectionModeType | undefined;
931
+ icons: _verisoft_ui_core.CommonIcons;
932
+ private httpClient;
933
+ private baseUrl;
934
+ private _selectionMode;
935
+ private cdRef;
936
+ private dialogService;
937
+ selection: T[];
938
+ get tableTotal(): number | undefined;
939
+ ngAfterViewInit(): void;
940
+ selectItems(items: T[]): void;
941
+ startDeleteItems(): void;
942
+ startDownload(): void;
943
+ private deleteItems;
944
+ private forceDelete;
945
+ private createDeleteFn;
946
+ private createDownloadFn;
947
+ private finishDeletion;
948
+ private convertToBlob;
949
+ static ɵfac: i0.ɵɵFactoryDeclaration<FeatureListComponent<any>, never>;
950
+ 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; }; "applyLabel": { "alias": "applyLabel"; "required": false; }; "clearLabel": { "alias": "clearLabel"; "required": false; }; "buttonType": { "alias": "buttonType"; "required": false; }; "buttonOutlined": { "alias": "buttonOutlined"; "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"], ["*"], true, never>;
951
+ }
952
+
953
+ declare class FeatureListColumnDirective<T> extends TableColumnDirective<T> implements FeatureListColumnProvider<T> {
954
+ filter: boolean;
955
+ type: GenericFieldTypeType;
956
+ getDefinition(): FeatureListColumnDefinition<T>;
957
+ static ɵfac: i0.ɵɵFactoryDeclaration<FeatureListColumnDirective<any>, never>;
958
+ 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>;
959
+ }
960
+
961
+ declare class FeatureListFilterPipe<T> implements PipeTransform {
962
+ transform(value: FeatureListColumnDefinition<T>[] | undefined): GenericFieldDefinition[] | undefined;
963
+ static ɵfac: i0.ɵɵFactoryDeclaration<FeatureListFilterPipe<any>, never>;
964
+ static ɵpipe: i0.ɵɵPipeDeclaration<FeatureListFilterPipe<any>, "featureListColumn", true>;
965
+ }
966
+
983
967
  declare class GovColorPipe implements PipeTransform {
984
968
  transform(color: ControlSeverityType | undefined): string | undefined;
985
969
  static ɵfac: i0.ɵɵFactoryDeclaration<GovColorPipe, never>;