@verisoft/ui-core 19.0.0-rc001 → 20.1.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.
- package/.eslintrc.json +48 -0
- package/README.md +314 -3
- package/jest.config.ts +21 -0
- package/ng-package.json +11 -0
- package/package.json +16 -31
- package/project.json +36 -0
- package/{index.d.ts → src/index.ts} +1 -1
- package/src/lib/common/angular-helper.ts +44 -0
- package/src/lib/common/constants.ts +5 -0
- package/src/lib/common/control.models.ts +80 -0
- package/src/lib/common/datasource-component.model.spec.ts +42 -0
- package/src/lib/common/datasource-component.model.ts +43 -0
- package/{lib/common/deactivate-guard.model.d.ts → src/lib/common/deactivate-guard.model.ts} +2 -1
- package/src/lib/common/download-file.ts +20 -0
- package/src/lib/common/filter.ts +7 -0
- package/{lib/common/icons.d.ts → src/lib/common/icons.ts} +34 -34
- package/{lib/common/index.d.ts → src/lib/common/index.ts} +10 -10
- package/{lib/common/notificable-property.model.d.ts → src/lib/common/notificable-property.model.ts} +5 -4
- package/src/lib/common/rxjs.spec.ts +58 -0
- package/src/lib/common/rxjs.ts +21 -0
- package/src/lib/components/action-button-group/action-button-group.model.ts +15 -0
- package/src/lib/components/action-button-group/action-button.model.ts +15 -0
- package/{lib/components/action-button-group/index.d.ts → src/lib/components/action-button-group/index.ts} +2 -2
- package/src/lib/components/base-form/base-form-input.component.ts +120 -0
- package/src/lib/components/base-form/base-form.component.ts +236 -0
- package/src/lib/components/base-form/directives/detail-store.directive.ts +219 -0
- package/{lib/components/base-form/index.d.ts → src/lib/components/base-form/index.ts} +2 -2
- package/src/lib/components/base-form/models/base-form-input.models.ts +11 -0
- package/src/lib/components/base-form/models/base-form.models.ts +31 -0
- package/{lib/components/base-form/models/index.d.ts → src/lib/components/base-form/models/index.ts} +1 -1
- package/{lib/components/breadcrumb/breadcrumb.model.d.ts → src/lib/components/breadcrumb/breadcrumb.model.ts} +6 -1
- package/src/lib/components/breadcrumb/breadcrumb.service.ts +9 -0
- package/src/lib/components/breadcrumb/breadcrumbcore.component.ts +117 -0
- package/src/lib/components/breadcrumb/index.ts +3 -0
- package/{lib/components/button/button.model.d.ts → src/lib/components/button/button.model.ts} +5 -1
- package/src/lib/components/button/index.ts +1 -0
- package/{lib/components/calendar/calendar.model.d.ts → src/lib/components/calendar/calendar.model.ts} +6 -2
- package/src/lib/components/calendar/index.ts +1 -0
- package/{lib/components/checkbox/checkbox.model.d.ts → src/lib/components/checkbox/checkbox.model.ts} +5 -1
- package/src/lib/components/checkbox/index.ts +1 -0
- package/src/lib/components/confirm-dialog/confirm-dialog.model.ts +31 -0
- package/src/lib/components/confirm-dialog/index.ts +1 -0
- package/{lib/components/dropdown/dropdown.model.d.ts → src/lib/components/dropdown/dropdown.model.ts} +5 -1
- package/src/lib/components/dropdown/index.ts +1 -0
- package/{lib/components/dropdown-button/dropdown-button.model.d.ts → src/lib/components/dropdown-button/dropdown-button.model.ts} +18 -14
- package/src/lib/components/dropdown-button/index.ts +1 -0
- package/src/lib/components/dynamic-component/dynamic-component.model.ts +2 -0
- package/src/lib/components/dynamic-component/index.ts +1 -0
- package/src/lib/components/filter/filter.model.ts +17 -0
- package/{lib/components/filter/index.d.ts → src/lib/components/filter/index.ts} +1 -1
- package/{lib/components/form-field/form-field.model.d.ts → src/lib/components/form-field/form-field.model.ts} +6 -2
- package/src/lib/components/form-field/index.ts +1 -0
- package/{lib/components/generic-field/generic-field.model.d.ts → src/lib/components/generic-field/generic-field.model.ts} +5 -1
- package/src/lib/components/generic-field/index.ts +1 -0
- package/src/lib/components/generic-form/generic-form.component.ts +33 -0
- package/{lib/components/generic-form/index.d.ts → src/lib/components/generic-form/index.ts} +1 -1
- package/{lib/components/header/header.model.d.ts → src/lib/components/header/header.model.ts} +9 -2
- package/src/lib/components/header/index.ts +1 -0
- package/src/lib/components/icons/icons.component.ts +22 -0
- package/src/lib/components/icons/icons.model.ts +16 -0
- package/src/lib/components/icons/index.ts +2 -0
- package/{lib/components/index.d.ts → src/lib/components/index.ts} +2 -0
- package/src/lib/components/input-group/index.ts +1 -0
- package/{lib/components/input-group/input-group.model.d.ts → src/lib/components/input-group/input-group.model.ts} +7 -2
- package/src/lib/components/loader/index.ts +1 -0
- package/src/lib/components/loader/loader.model.ts +7 -0
- package/src/lib/components/multiselect/index.ts +1 -0
- package/{lib/components/multiselect/mutiselect.model.d.ts → src/lib/components/multiselect/mutiselect.model.ts} +6 -2
- package/src/lib/components/number-input/index.ts +1 -0
- package/{lib/components/number-input/number-input.model.d.ts → src/lib/components/number-input/number-input.model.ts} +6 -2
- package/{lib/components/page-header/index.d.ts → src/lib/components/page-header/index.ts} +1 -1
- package/{lib/components/page-header/page-header.model.d.ts → src/lib/components/page-header/page-header.model.ts} +5 -1
- package/src/lib/components/page-header/page-header.service.ts +9 -0
- package/src/lib/components/page-header/page-headercore.component.ts +42 -0
- package/src/lib/components/password/index.ts +1 -0
- package/{lib/components/password/password.model.d.ts → src/lib/components/password/password.model.ts} +9 -3
- package/src/lib/components/radiobutton/index.ts +1 -0
- package/{lib/components/radiobutton/radiobutton.model.d.ts → src/lib/components/radiobutton/radiobutton.model.ts} +8 -3
- package/src/lib/components/section/index.ts +1 -0
- package/{lib/components/section/section.model.d.ts → src/lib/components/section/section.model.ts} +6 -2
- package/src/lib/components/side-menu/directives/side-menu-service.directive.ts +31 -0
- package/{lib/components/side-menu/index.d.ts → src/lib/components/side-menu/index.ts} +1 -1
- package/src/lib/components/side-menu/services/side-menu-provider.service.ts +13 -0
- package/src/lib/components/side-menu/services/side-menu.service.ts +62 -0
- package/src/lib/components/side-menu/side-menu.model.ts +67 -0
- package/src/lib/components/slider/index.ts +1 -0
- package/{lib/components/slider/slider.model.d.ts → src/lib/components/slider/slider.model.ts} +6 -2
- package/src/lib/components/snackbar/index.ts +1 -0
- package/src/lib/components/snackbar/snackbar.model.ts +7 -0
- package/src/lib/components/stepper/index.ts +1 -0
- package/{lib/components/stepper/stepper.model.d.ts → src/lib/components/stepper/stepper.model.ts} +10 -5
- package/src/lib/components/switch/index.ts +1 -0
- package/src/lib/components/switch/switch.model.ts +8 -0
- package/src/lib/components/tab-view/index.ts +1 -0
- package/{lib/components/tab-view/tab-view.model.d.ts → src/lib/components/tab-view/tab-view.model.ts} +8 -3
- package/src/lib/components/table/column-configuration.ts +38 -0
- package/src/lib/components/table/table-builder.ts +93 -0
- package/src/lib/components/table/table-column.directive.ts +62 -0
- package/src/lib/components/table/table.models.ts +261 -0
- package/src/lib/components/table-filter/index.ts +1 -0
- package/{lib/components/table-filter/table-filter.model.d.ts → src/lib/components/table-filter/table-filter.model.ts} +6 -1
- package/src/lib/components/tag/index.ts +1 -0
- package/src/lib/components/tag/tag.model.ts +13 -0
- package/src/lib/components/textarea/index.ts +1 -0
- package/{lib/components/textarea/textarea.model.d.ts → src/lib/components/textarea/textarea.model.ts} +5 -1
- package/src/lib/components/textfield/index.ts +1 -0
- package/{lib/components/textfield/textfield.model.d.ts → src/lib/components/textfield/textfield.model.ts} +6 -2
- package/src/lib/components/tooltip/index.ts +1 -0
- package/src/lib/components/tooltip/tooltip.model.ts +13 -0
- package/src/lib/components/unsubscribe.component.ts +12 -0
- package/src/lib/directives/datasource.directive.ts +275 -0
- package/{lib/directives/index.d.ts → src/lib/directives/index.ts} +4 -4
- package/src/lib/directives/shortcut.directive.ts +37 -0
- package/src/lib/directives/table-datasource.directive.ts +184 -0
- package/src/lib/directives/table-filter.directive.ts +69 -0
- package/src/lib/format/format.ts +74 -0
- package/src/lib/pipes/error/error.codes.ts +11 -0
- package/src/lib/pipes/error/error.models.ts +27 -0
- package/src/lib/pipes/error/error.pipe.ts +27 -0
- package/src/lib/pipes/error/warning.codes.ts +5 -0
- package/src/lib/pipes/error/warning.pipe.ts +27 -0
- package/src/lib/pipes/helper/enumToList.pipe.ts +16 -0
- package/{lib/pipes/index.d.ts → src/lib/pipes/index.ts} +1 -1
- package/src/lib/pipes/keyOrFn/keyOrFn.pipe.ts +23 -0
- package/src/lib/services/confirm-dialog.service.ts +44 -0
- package/{lib/services/index.d.ts → src/lib/services/index.ts} +4 -4
- package/src/lib/services/leave-form.service.ts +53 -0
- package/src/lib/services/screen-size.service.ts +25 -0
- package/src/lib/services/table.service.ts +22 -0
- package/src/test-setup.ts +8 -0
- package/tsconfig.json +28 -0
- package/tsconfig.lib.json +17 -0
- package/tsconfig.lib.prod.json +9 -0
- package/tsconfig.spec.json +16 -0
- package/fesm2022/verisoft-ui-core.mjs +0 -2013
- package/fesm2022/verisoft-ui-core.mjs.map +0 -1
- package/lib/common/angular-helper.d.ts +0 -1
- package/lib/common/constants.d.ts +0 -3
- package/lib/common/control.models.d.ts +0 -62
- package/lib/common/datasource-component.model.d.ts +0 -19
- package/lib/common/download-file.d.ts +0 -2
- package/lib/common/filter.d.ts +0 -1
- package/lib/common/rxjs.d.ts +0 -2
- package/lib/components/action-button-group/action-button-group.model.d.ts +0 -12
- package/lib/components/action-button-group/action-button.model.d.ts +0 -14
- package/lib/components/base-form/base-form-input.component.d.ts +0 -30
- package/lib/components/base-form/base-form.component.d.ts +0 -50
- package/lib/components/base-form/directives/detail-store.directive.d.ts +0 -35
- package/lib/components/base-form/models/base-form-input.models.d.ts +0 -7
- package/lib/components/base-form/models/base-form.models.d.ts +0 -18
- package/lib/components/breadcrumb/breadcrumb.service.d.ts +0 -8
- package/lib/components/breadcrumb/breadcrumbcore.component.d.ts +0 -30
- package/lib/components/breadcrumb/index.d.ts +0 -3
- package/lib/components/button/index.d.ts +0 -1
- package/lib/components/calendar/index.d.ts +0 -1
- package/lib/components/checkbox/index.d.ts +0 -1
- package/lib/components/confirm-dialog/confirm-dialog.model.d.ts +0 -25
- package/lib/components/confirm-dialog/index.d.ts +0 -1
- package/lib/components/dropdown/index.d.ts +0 -1
- package/lib/components/dropdown-button/index.d.ts +0 -1
- package/lib/components/dynamic-component/dynamic-component.model.d.ts +0 -3
- package/lib/components/dynamic-component/index.d.ts +0 -1
- package/lib/components/filter/filter.model.d.ts +0 -13
- package/lib/components/form-field/index.d.ts +0 -1
- package/lib/components/generic-field/index.d.ts +0 -1
- package/lib/components/generic-form/generic-form.component.d.ts +0 -30
- package/lib/components/header/index.d.ts +0 -1
- package/lib/components/icons/icons.component.d.ts +0 -6
- package/lib/components/icons/icons.model.d.ts +0 -6
- package/lib/components/icons/index.d.ts +0 -2
- package/lib/components/input-group/index.d.ts +0 -1
- package/lib/components/loader/index.d.ts +0 -1
- package/lib/components/loader/loader.model.d.ts +0 -3
- package/lib/components/multiselect/index.d.ts +0 -1
- package/lib/components/number-input/index.d.ts +0 -1
- package/lib/components/page-header/page-header.service.d.ts +0 -8
- package/lib/components/page-header/page-headercore.component.d.ts +0 -20
- package/lib/components/password/index.d.ts +0 -1
- package/lib/components/radiobutton/index.d.ts +0 -1
- package/lib/components/section/index.d.ts +0 -1
- package/lib/components/side-menu/directives/side-menu-service.directive.d.ts +0 -11
- package/lib/components/side-menu/services/side-menu-provider.service.d.ts +0 -10
- package/lib/components/side-menu/services/side-menu.service.d.ts +0 -15
- package/lib/components/side-menu/side-menu.model.d.ts +0 -42
- package/lib/components/slider/index.d.ts +0 -1
- package/lib/components/snackbar/index.d.ts +0 -1
- package/lib/components/snackbar/snackbar.model.d.ts +0 -3
- package/lib/components/stepper/index.d.ts +0 -1
- package/lib/components/switch/index.d.ts +0 -1
- package/lib/components/switch/switch.model.d.ts +0 -4
- package/lib/components/tab-view/index.d.ts +0 -1
- package/lib/components/table/column-configuration.d.ts +0 -12
- package/lib/components/table/table-builder.d.ts +0 -15
- package/lib/components/table/table-column.directive.d.ts +0 -25
- package/lib/components/table/table.models.d.ts +0 -132
- package/lib/components/table-filter/index.d.ts +0 -1
- package/lib/components/textarea/index.d.ts +0 -1
- package/lib/components/textfield/index.d.ts +0 -1
- package/lib/components/unsubscribe.component.d.ts +0 -9
- package/lib/directives/datasource.directive.d.ts +0 -32
- package/lib/directives/shortcut.directive.d.ts +0 -11
- package/lib/directives/table-datasource.directive.d.ts +0 -29
- package/lib/directives/table-filter.directive.d.ts +0 -17
- package/lib/format/format.d.ts +0 -9
- package/lib/pipes/error/error.codes.d.ts +0 -5
- package/lib/pipes/error/error.models.d.ts +0 -8
- package/lib/pipes/error/error.pipe.d.ts +0 -8
- package/lib/pipes/error/warning.codes.d.ts +0 -5
- package/lib/pipes/error/warning.pipe.d.ts +0 -8
- package/lib/pipes/helper/enumToList.pipe.d.ts +0 -7
- package/lib/pipes/keyOrFn/keyOrFn.pipe.d.ts +0 -7
- package/lib/services/confirm-dialog.service.d.ts +0 -12
- package/lib/services/leave-form.service.d.ts +0 -13
- package/lib/services/screen-size.service.d.ts +0 -10
- package/lib/services/table.service.d.ts +0 -13
- /package/{lib/components/table/index.d.ts → src/lib/components/table/index.ts} +0 -0
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, OnInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { ActivatedRoute } from '@angular/router';
|
|
3
|
-
import { Store } from '@ngrx/store';
|
|
4
|
-
import { UnsubscribeComponent } from '../../unsubscribe.component';
|
|
5
|
-
import { BaseFormDirective } from '../base-form.component';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class DetailStoreDirective extends UnsubscribeComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
8
|
-
form: BaseFormDirective<any>;
|
|
9
|
-
detailsRepository: string;
|
|
10
|
-
autoBind: boolean;
|
|
11
|
-
detailId: string | number | undefined;
|
|
12
|
-
ngrxFeatureKey: string;
|
|
13
|
-
destroyForm: boolean;
|
|
14
|
-
readonly: boolean;
|
|
15
|
-
readonlyControlNames: string[];
|
|
16
|
-
store: Store<any>;
|
|
17
|
-
cdr: ChangeDetectorRef;
|
|
18
|
-
route: ActivatedRoute;
|
|
19
|
-
private itemCache;
|
|
20
|
-
private loaded;
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
ngAfterViewInit(): void;
|
|
23
|
-
ngOnDestroy(): void;
|
|
24
|
-
private initForm;
|
|
25
|
-
private listenFormState;
|
|
26
|
-
private listenFormChange;
|
|
27
|
-
private listenFormStatusChange;
|
|
28
|
-
private handleValidation;
|
|
29
|
-
private handleBackendValidation;
|
|
30
|
-
private dispatchErrors;
|
|
31
|
-
private normalizePropertyNames;
|
|
32
|
-
private isStateChanged;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DetailStoreDirective, never>;
|
|
34
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DetailStoreDirective, "[v-useDetailStore]", ["useDetailStore"], { "form": { "alias": "form"; "required": true; }; "detailsRepository": { "alias": "detailsRepository"; "required": true; }; "autoBind": { "alias": "autoBind"; "required": false; }; "detailId": { "alias": "detailId"; "required": false; }; "ngrxFeatureKey": { "alias": "ngrxFeatureKey"; "required": true; }; "destroyForm": { "alias": "destroyForm"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "readonlyControlNames": { "alias": "readonlyControlNames"; "required": false; }; }, {}, never, never, true, never>;
|
|
35
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface BaseFormCore {
|
|
2
|
-
label?: string;
|
|
3
|
-
required: boolean;
|
|
4
|
-
readonly: boolean;
|
|
5
|
-
tooltip: string;
|
|
6
|
-
formDisplay: 'flex' | 'block';
|
|
7
|
-
clearable: boolean;
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
testId?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface BaseFormDirectiveCore<T> {
|
|
12
|
-
initialData: T | any;
|
|
13
|
-
}
|
|
14
|
-
export interface FormState {
|
|
15
|
-
dirty: boolean;
|
|
16
|
-
valid: boolean;
|
|
17
|
-
}
|
|
18
|
-
export declare function isFormStateEqual(current: FormState, other: FormState): boolean;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { Breadcrumb } from './breadcrumb.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BreadcrumbService {
|
|
5
|
-
routeChange: EventEmitter<Breadcrumb>;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbService, never>;
|
|
7
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BreadcrumbService>;
|
|
8
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
-
import { MenuItem } from '../side-menu';
|
|
4
|
-
import { UnsubscribeComponent } from '../unsubscribe.component';
|
|
5
|
-
import { BreadcrumbCore } from './breadcrumb.model';
|
|
6
|
-
import { BreadcrumbService } from './breadcrumb.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class BreadcrumbCoreComponent extends UnsubscribeComponent implements BreadcrumbCore, OnInit {
|
|
9
|
-
items: MenuItem[];
|
|
10
|
-
homeRoute: string;
|
|
11
|
-
useHomeRoute: boolean;
|
|
12
|
-
static readonly ROUTE_DATA_BREADCRUMB = "breadcrumb";
|
|
13
|
-
static readonly ROUTE_DATA_BREADCRUMB_URL = "breadcrumb_url";
|
|
14
|
-
static readonly ROUTE_DATA_NO_BREADCRUMB_ROUTE = "breadcrumb_no_route";
|
|
15
|
-
static readonly BREADCRUMB_HIDE = "breadcrumb_hide";
|
|
16
|
-
readonly home: {
|
|
17
|
-
icon: string;
|
|
18
|
-
routerLink: string;
|
|
19
|
-
};
|
|
20
|
-
router: Router;
|
|
21
|
-
activatedRoute: ActivatedRoute;
|
|
22
|
-
breadcrumbService: BreadcrumbService;
|
|
23
|
-
cdr: ChangeDetectorRef;
|
|
24
|
-
ngOnInit(): void;
|
|
25
|
-
private initBreadcrumbsCreation;
|
|
26
|
-
private initRouteChangeListen;
|
|
27
|
-
private createBreadcrumbs;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbCoreComponent, never>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BreadcrumbCoreComponent, never, never, { "items": { "alias": "items"; "required": false; }; "homeRoute": { "alias": "homeRoute"; "required": false; }; "useHomeRoute": { "alias": "useHomeRoute"; "required": false; }; }, {}, never, never, true, never>;
|
|
30
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './button.model';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './calendar.model';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './checkbox.model';
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, Type } from '@angular/core';
|
|
2
|
-
import { SafeHtml } from "@angular/platform-browser";
|
|
3
|
-
import { ControlSeverityType } from '../../common';
|
|
4
|
-
export declare const CONFIRM_DIALOG_COMPONENT_TOKEN: InjectionToken<object>;
|
|
5
|
-
export type ConfirmDialogCore = object;
|
|
6
|
-
export interface DialogData {
|
|
7
|
-
title?: string;
|
|
8
|
-
headerIcon?: string;
|
|
9
|
-
severity?: ControlSeverityType;
|
|
10
|
-
showCancelButton?: boolean;
|
|
11
|
-
buttonOrder?: 'confirm-cancel' | 'cancel-confirm';
|
|
12
|
-
confirmButtonText?: string;
|
|
13
|
-
confirmButtonFn?: () => void;
|
|
14
|
-
cancelButtonFn?: () => void;
|
|
15
|
-
cancelButtonText?: string;
|
|
16
|
-
innerHTML?: string | SafeHtml;
|
|
17
|
-
data?: unknown;
|
|
18
|
-
componentType?: Type<unknown>;
|
|
19
|
-
closable?: boolean;
|
|
20
|
-
width?: string;
|
|
21
|
-
height?: string;
|
|
22
|
-
}
|
|
23
|
-
export interface ExtendedDialogData<TInputs = any, TOutputs = any> extends DialogData {
|
|
24
|
-
data?: TInputs & TOutputs;
|
|
25
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './confirm-dialog.model';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './dropdown.model';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './dropdown-button.model';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './dynamic-component.model';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { GenericFieldDefinition } from '../generic-form';
|
|
4
|
-
export declare const FILTER_COMPONENT_TOKEN: InjectionToken<FilterCore>;
|
|
5
|
-
export interface FilterCore extends ControlValueAccessor {
|
|
6
|
-
fields: GenericFieldDefinition[];
|
|
7
|
-
title?: string;
|
|
8
|
-
fulltextFieldName: string;
|
|
9
|
-
showFulltext: boolean;
|
|
10
|
-
showFilters: boolean;
|
|
11
|
-
autoBind: boolean;
|
|
12
|
-
debounceTime?: number;
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './form-field.model';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './generic-field.model';
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ValidatorFn } from '@angular/forms';
|
|
2
|
-
import { DatasourceType } from '@verisoft/core';
|
|
3
|
-
import { FieldSizeType } from '../../common';
|
|
4
|
-
export interface GenericFieldDefinition {
|
|
5
|
-
validator?: ValidatorFn[];
|
|
6
|
-
type?: GenericFieldTypeType;
|
|
7
|
-
label?: string;
|
|
8
|
-
floatLabel?: boolean;
|
|
9
|
-
name: string;
|
|
10
|
-
optionLabel?: string;
|
|
11
|
-
optionValue?: string;
|
|
12
|
-
options?: unknown[];
|
|
13
|
-
value?: unknown;
|
|
14
|
-
testId?: string;
|
|
15
|
-
size?: FieldSizeType;
|
|
16
|
-
readonly?: boolean;
|
|
17
|
-
datasource?: DatasourceType<any>;
|
|
18
|
-
filterField?: string;
|
|
19
|
-
showFilter?: boolean;
|
|
20
|
-
localSearch?: boolean;
|
|
21
|
-
}
|
|
22
|
-
export declare enum GenericFieldType {
|
|
23
|
-
'dropdown' = "dropdown",
|
|
24
|
-
'checkbox' = "checkbox",
|
|
25
|
-
'simplecheckbox' = "simplecheckbox",
|
|
26
|
-
'calendar' = "calendar",
|
|
27
|
-
'multiselect' = "multiselect",
|
|
28
|
-
'text' = "text"
|
|
29
|
-
}
|
|
30
|
-
export type GenericFieldTypeType = keyof typeof GenericFieldType;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './header.model';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class IconsComponent {
|
|
3
|
-
name: string;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IconsComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IconsComponent, "ng-component", never, { "name": { "alias": "name"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './input-group.model';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './loader.model';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './mutiselect.model';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './number-input.model';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { PageHeaderCore } from './page-header.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class PageHeaderService {
|
|
5
|
-
pageHeader: EventEmitter<PageHeaderCore>;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderService, never>;
|
|
7
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PageHeaderService>;
|
|
8
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { FieldSizeType } from '../../common';
|
|
4
|
-
import { UnsubscribeComponent } from '../unsubscribe.component';
|
|
5
|
-
import { PageHeaderService } from './page-header.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class PageHeaderCoreComponent extends UnsubscribeComponent implements OnInit {
|
|
8
|
-
readonly router: Router;
|
|
9
|
-
readonly cdr: ChangeDetectorRef;
|
|
10
|
-
readonly headerService: PageHeaderService;
|
|
11
|
-
title: string;
|
|
12
|
-
subtitle: string | undefined;
|
|
13
|
-
showBackButton: boolean;
|
|
14
|
-
size: FieldSizeType;
|
|
15
|
-
constructor(router: Router, cdr: ChangeDetectorRef, headerService: PageHeaderService);
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
protected locationBack(): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderCoreComponent, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PageHeaderCoreComponent, never, never, { "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "showBackButton": { "alias": "showBackButton"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
20
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './password.model';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './radiobutton.model';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './section.model';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit } from "@angular/core";
|
|
2
|
-
import { UnsubscribeComponent } from "../../unsubscribe.component";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MenuServiceDirective extends UnsubscribeComponent implements AfterViewInit {
|
|
5
|
-
private readonly menuService;
|
|
6
|
-
private readonly cdr;
|
|
7
|
-
private readonly sideMenu;
|
|
8
|
-
ngAfterViewInit(): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MenuServiceDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MenuServiceDirective, "v-side-menu[useMenuService]", ["useMenuService"], {}, {}, never, never, true, never>;
|
|
11
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { MenuItem } from '../side-menu.model';
|
|
2
|
-
import { SideMenuService } from './side-menu.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SideMenuProviderService {
|
|
5
|
-
readonly menu: MenuItem[];
|
|
6
|
-
readonly menuService: SideMenuService;
|
|
7
|
-
constructor(menu: MenuItem[] | undefined, menuService: SideMenuService);
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SideMenuProviderService, [{ optional: true; }, null]>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SideMenuProviderService>;
|
|
10
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { MenuItem } from '../side-menu.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SideMenuService {
|
|
5
|
-
private _menuItems;
|
|
6
|
-
private stateToken;
|
|
7
|
-
menuItems$: Observable<MenuItem[]>;
|
|
8
|
-
menuMinimalized: boolean;
|
|
9
|
-
setMenu(items: MenuItem[]): void;
|
|
10
|
-
saveMinimalizedState(minimalized: boolean): void;
|
|
11
|
-
saveExpandedState(item: MenuItem): void;
|
|
12
|
-
private resetSidemenuState;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SideMenuService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SideMenuService>;
|
|
15
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
export declare const MENU_TOKEN: InjectionToken<MenuItem[]>;
|
|
4
|
-
export declare const LOGO_ROUTER_ROUTE: InjectionToken<string>;
|
|
5
|
-
export declare const SIDE_MENU_COMPONENT_TOKEN: InjectionToken<SideMenuCore>;
|
|
6
|
-
export declare const SIDE_MENU_STATE_TOKEN: InjectionToken<SideMenuState>;
|
|
7
|
-
export interface SideMenuState {
|
|
8
|
-
expanded: string[];
|
|
9
|
-
minimalized: boolean;
|
|
10
|
-
}
|
|
11
|
-
export interface MenuItem {
|
|
12
|
-
id?: string;
|
|
13
|
-
label?: string | undefined;
|
|
14
|
-
icon?: string;
|
|
15
|
-
expanded?: boolean;
|
|
16
|
-
data?: MenuItemData;
|
|
17
|
-
tooltip?: string;
|
|
18
|
-
url?: string;
|
|
19
|
-
visible?: boolean | Observable<boolean>;
|
|
20
|
-
type?: string;
|
|
21
|
-
children?: MenuItem[];
|
|
22
|
-
routerLink?: any;
|
|
23
|
-
class?: string;
|
|
24
|
-
command?: Function;
|
|
25
|
-
}
|
|
26
|
-
type ExtendableType = {
|
|
27
|
-
[key: string]: string | number | boolean | string[] | number[] | boolean[] | undefined;
|
|
28
|
-
};
|
|
29
|
-
export interface MenuItemData extends ExtendableType {
|
|
30
|
-
roles?: string[];
|
|
31
|
-
permissions?: string[];
|
|
32
|
-
}
|
|
33
|
-
export interface SideMenuModuleConfig {
|
|
34
|
-
items?: MenuItem[];
|
|
35
|
-
}
|
|
36
|
-
export interface SideMenuCore {
|
|
37
|
-
items: MenuItem[];
|
|
38
|
-
logoUrl: string;
|
|
39
|
-
userName: string;
|
|
40
|
-
userRole: any | any[] | undefined;
|
|
41
|
-
}
|
|
42
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './slider.model';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './snackbar.model';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './stepper.model';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './switch.model';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './tab-view.model';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ColumnDefinition } from "./table.models";
|
|
2
|
-
export declare class ColumnConfiguration<TEntity> {
|
|
3
|
-
private id;
|
|
4
|
-
private column;
|
|
5
|
-
constructor(id: string | keyof TEntity);
|
|
6
|
-
headerName(headerName: string | ((columnId: string, index?: number) => string)): this;
|
|
7
|
-
sortable(sortable: boolean): this;
|
|
8
|
-
columnClass(columnClass: string): this;
|
|
9
|
-
valueFunction(value: (row: TEntity, index?: number) => string): this;
|
|
10
|
-
type(type: string): this;
|
|
11
|
-
build(): ColumnDefinition<TEntity>;
|
|
12
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ColumnConfiguration } from './column-configuration';
|
|
2
|
-
import { ColumnDefinition } from './table.models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TableBuilder<TEntity> {
|
|
5
|
-
private columns;
|
|
6
|
-
addColumn(id: string | keyof TEntity, config?: (v: ColumnConfiguration<TEntity>) => void): TableBuilder<TEntity>;
|
|
7
|
-
addTextColumn(id: string | keyof TEntity, config?: (v: ColumnConfiguration<TEntity>) => void): TableBuilder<TEntity>;
|
|
8
|
-
addNumberColumn(id: string | keyof TEntity, config?: (v: ColumnConfiguration<TEntity>) => void): TableBuilder<TEntity>;
|
|
9
|
-
addDateColumn(id: string | keyof TEntity, config?: (v: ColumnConfiguration<TEntity>) => void): TableBuilder<TEntity>;
|
|
10
|
-
addBooleanColumn(id: string, config?: (v: ColumnConfiguration<TEntity>) => void): TableBuilder<TEntity>;
|
|
11
|
-
addEnumColumn(id: string | keyof TEntity, config?: (v: ColumnConfiguration<TEntity>) => void): TableBuilder<TEntity>;
|
|
12
|
-
build(): ColumnDefinition<TEntity>[];
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableBuilder<any>, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TableBuilder<any>>;
|
|
15
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { Params } from '@angular/router';
|
|
3
|
-
import { FieldAlignType } from '../../common';
|
|
4
|
-
import { ColumnDefinition, ColumnProvider, ColumnVisibilityType } from './table.models';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class TableColumnDirective<T> implements ColumnProvider<T> {
|
|
7
|
-
template: TemplateRef<{
|
|
8
|
-
$implicit: T;
|
|
9
|
-
}>;
|
|
10
|
-
index: number;
|
|
11
|
-
id: string;
|
|
12
|
-
columnClass: string;
|
|
13
|
-
sortable: boolean;
|
|
14
|
-
routerLink: (row: T) => string;
|
|
15
|
-
queryParams: Params;
|
|
16
|
-
headerName: ((column: string, index?: number) => string) | string;
|
|
17
|
-
width: string | number | undefined;
|
|
18
|
-
textAlign: FieldAlignType;
|
|
19
|
-
format: (row: T) => string;
|
|
20
|
-
forceVisibility: ColumnVisibilityType;
|
|
21
|
-
visible: boolean;
|
|
22
|
-
getDefinition(): ColumnDefinition<T>;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnDirective<any>, never>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableColumnDirective<any>, "v-table-column", never, { "index": { "alias": "index"; "required": false; }; "id": { "alias": "id"; "required": false; }; "columnClass": { "alias": "columnClass"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; "queryParams": { "alias": "queryParams"; "required": false; }; "headerName": { "alias": "headerName"; "required": false; }; "width": { "alias": "width"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; "format": { "alias": "format"; "required": false; }; "forceVisibility": { "alias": "forceVisibility"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, {}, ["template"], never, true, never>;
|
|
25
|
-
}
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, InjectionToken, TemplateRef } from '@angular/core';
|
|
2
|
-
import { Params } from '@angular/router';
|
|
3
|
-
import { LazyLoadEvent, Sort, SortDirectionType } from '@verisoft/core';
|
|
4
|
-
import { FieldAlignType } from '../../common';
|
|
5
|
-
export declare const TABLE_COMPONENT_TOKEN: InjectionToken<TableCore<any>>;
|
|
6
|
-
export declare const TABLE_COLUMN_PROVIDER: InjectionToken<unknown>;
|
|
7
|
-
export declare enum TableSelectionMode {
|
|
8
|
-
single = "single",
|
|
9
|
-
multiple = "multiple"
|
|
10
|
-
}
|
|
11
|
-
export declare enum TableButtonSeverity {
|
|
12
|
-
success = "success",
|
|
13
|
-
info = "info",
|
|
14
|
-
warning = "warning",
|
|
15
|
-
danger = "danger",
|
|
16
|
-
help = "help",
|
|
17
|
-
primary = "primary",
|
|
18
|
-
secondary = "secondary",
|
|
19
|
-
contrast = "contrast"
|
|
20
|
-
}
|
|
21
|
-
export declare enum ColumnVisibility {
|
|
22
|
-
visible = "visible",
|
|
23
|
-
hidden = "hidden",
|
|
24
|
-
default = "default"
|
|
25
|
-
}
|
|
26
|
-
export type TableSelectionModeType = keyof typeof TableSelectionMode;
|
|
27
|
-
export type TableButtonSeverityType = keyof typeof TableButtonSeverity;
|
|
28
|
-
export type ColumnVisibilityType = keyof typeof ColumnVisibility;
|
|
29
|
-
export interface TableCore<T> {
|
|
30
|
-
sorters: Sort[];
|
|
31
|
-
columns: ColumnDefinition<T>[];
|
|
32
|
-
data: T[];
|
|
33
|
-
total: number;
|
|
34
|
-
filter: Partial<T> | undefined;
|
|
35
|
-
loading: boolean;
|
|
36
|
-
scrollable: boolean;
|
|
37
|
-
pageSize: number;
|
|
38
|
-
currentPage: number;
|
|
39
|
-
showPaginator: boolean;
|
|
40
|
-
sortMultiple: boolean;
|
|
41
|
-
lazy: boolean;
|
|
42
|
-
selection: T[];
|
|
43
|
-
selectionMode: TableSelectionModeType | undefined;
|
|
44
|
-
showPageSizePicker: boolean;
|
|
45
|
-
entityKey: string | undefined;
|
|
46
|
-
selectionChange: EventEmitter<T[]>;
|
|
47
|
-
lazyLoad: EventEmitter<LazyLoadEvent>;
|
|
48
|
-
maximumColumnLength: number;
|
|
49
|
-
disableCustomClicks: boolean;
|
|
50
|
-
}
|
|
51
|
-
export interface TableSignal {
|
|
52
|
-
name: string;
|
|
53
|
-
symbol: symbol;
|
|
54
|
-
}
|
|
55
|
-
export interface ActionColumnsDefinition<T> {
|
|
56
|
-
severity?: TableButtonSeverity;
|
|
57
|
-
title?: string;
|
|
58
|
-
icon?: string;
|
|
59
|
-
tooltip?: string;
|
|
60
|
-
rounded?: boolean;
|
|
61
|
-
outlined?: boolean;
|
|
62
|
-
raised?: boolean;
|
|
63
|
-
badge?: string;
|
|
64
|
-
visible?: (row: T) => boolean;
|
|
65
|
-
routerLink?: (row: T) => string;
|
|
66
|
-
queryParams?: Params;
|
|
67
|
-
disabled?: boolean | ((row: T) => boolean);
|
|
68
|
-
onClick?: (row: T, event?: MouseEvent) => void;
|
|
69
|
-
}
|
|
70
|
-
export interface ColumnProvider<T> {
|
|
71
|
-
getDefinition(): ColumnDefinition<T>;
|
|
72
|
-
index: number;
|
|
73
|
-
}
|
|
74
|
-
export interface ColumnDefinition<T, _KEY = keyof T> {
|
|
75
|
-
id: string;
|
|
76
|
-
value?: (row: T, index?: number) => string;
|
|
77
|
-
headerName?: ((columnId: string, index?: number) => string) | string;
|
|
78
|
-
icon?: string | ((row?: T | undefined) => string);
|
|
79
|
-
type?: string;
|
|
80
|
-
sortable?: boolean;
|
|
81
|
-
format?: (row: T) => string;
|
|
82
|
-
routerLink?: (row: T) => string | string;
|
|
83
|
-
queryParams?: Params;
|
|
84
|
-
columnClass?: string;
|
|
85
|
-
template?: TemplateRef<{
|
|
86
|
-
$implicit: T;
|
|
87
|
-
}>;
|
|
88
|
-
actions?: ActionColumnsDefinition<T>[];
|
|
89
|
-
textAlign?: FieldAlignType;
|
|
90
|
-
width?: string | number;
|
|
91
|
-
forceVisibility?: ColumnVisibilityType;
|
|
92
|
-
visible?: boolean;
|
|
93
|
-
}
|
|
94
|
-
export declare function LinkRenderer<T>(text: string, href: string): (row: T, index: number | undefined) => string;
|
|
95
|
-
export declare function routerRenderer<T>(link: string, text: string): (row: T, index?: number | undefined) => {
|
|
96
|
-
text: string;
|
|
97
|
-
link: string;
|
|
98
|
-
};
|
|
99
|
-
export declare function Renderer<T>(fnc: (row: T) => string): (row: T) => string;
|
|
100
|
-
export declare class ColumnModel<T> {
|
|
101
|
-
readonly configuration: ColumnDefinition<T>;
|
|
102
|
-
sortDirection: SortDirectionType | undefined;
|
|
103
|
-
columnClass?: string;
|
|
104
|
-
queryParams?: Params;
|
|
105
|
-
routerLink?: (row: T) => string | string;
|
|
106
|
-
valueGetter: (row: T, index: number) => string;
|
|
107
|
-
headerGetter: (columnId: string, index: number) => string | string;
|
|
108
|
-
template?: TemplateRef<{
|
|
109
|
-
$implicit: T;
|
|
110
|
-
}>;
|
|
111
|
-
actions?: ActionColumnsDefinition<T>[];
|
|
112
|
-
sortable?: boolean;
|
|
113
|
-
id: string;
|
|
114
|
-
format: Function;
|
|
115
|
-
textAlign?: FieldAlignType;
|
|
116
|
-
width: string | undefined;
|
|
117
|
-
forceVisibility: ColumnVisibilityType;
|
|
118
|
-
visible: boolean;
|
|
119
|
-
constructor(configuration: ColumnDefinition<T>);
|
|
120
|
-
}
|
|
121
|
-
export declare class RowModel<T> {
|
|
122
|
-
row: T;
|
|
123
|
-
index?: number;
|
|
124
|
-
id: number | string;
|
|
125
|
-
selected: boolean;
|
|
126
|
-
marked?: boolean;
|
|
127
|
-
focused?: boolean;
|
|
128
|
-
expanded: boolean;
|
|
129
|
-
fnc?: void;
|
|
130
|
-
customRoute: string | undefined;
|
|
131
|
-
constructor(row: T, selected: boolean, expanded: boolean, marked?: boolean, index?: number, fnc?: void, customRoute?: string, entityKey?: string);
|
|
132
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './table-filter.model';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './textarea.model';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './textfield.model';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare abstract class UnsubscribeComponent implements OnDestroy {
|
|
5
|
-
destroyed$: Subject<void>;
|
|
6
|
-
ngOnDestroy(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UnsubscribeComponent, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<UnsubscribeComponent, never, never, {}, {}, never, never, true, never>;
|
|
9
|
-
}
|