wt-front-shared 1.0.10 → 1.0.11
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/esm2020/public-api.mjs +24 -1
- package/fesm2015/wt-front-shared.mjs +136 -2913
- package/fesm2015/wt-front-shared.mjs.map +1 -1
- package/fesm2020/wt-front-shared.mjs +136 -2909
- package/fesm2020/wt-front-shared.mjs.map +1 -1
- package/lib/core/+state/index.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +0 -42
- package/esm2020/lib/core/animations/appearFromLeft.mjs +0 -18
- package/esm2020/lib/core/animations/appearFromLeftHideToRight.mjs +0 -18
- package/esm2020/lib/core/animations/appearFromLeftWithDelay.mjs +0 -18
- package/esm2020/lib/core/animations/appearOpacity.mjs +0 -18
- package/esm2020/lib/core/animations/expandCollapse.mjs +0 -18
- package/esm2020/lib/core/animations/hideToTopOpacity.mjs +0 -11
- package/esm2020/lib/core/components/access-denied/access-denied.component.mjs +0 -11
- package/esm2020/lib/core/components/access-denied/access-denied.module.mjs +0 -17
- package/esm2020/lib/core/components/auto-form/auto-form.module.mjs +0 -168
- package/esm2020/lib/core/components/auto-form/components/form-field-file/form-field-file.component.mjs +0 -166
- package/esm2020/lib/core/components/auto-form/components/form-field-file-show/form-field-file-show.component.mjs +0 -52
- package/esm2020/lib/core/components/auto-form/components/form-field-files/form-field-files.component.mjs +0 -108
- package/esm2020/lib/core/components/auto-form/components/form-field-files-show/form-field-files-show.component.mjs +0 -40
- package/esm2020/lib/core/components/auto-form/components/form-field-input/form-field-input.component.mjs +0 -77
- package/esm2020/lib/core/components/auto-form/components/form-field-input-show/form-field-input-show.component.mjs +0 -39
- package/esm2020/lib/core/components/auto-form/components/form-field-select/form-field-select.component.mjs +0 -191
- package/esm2020/lib/core/components/auto-form/components/form-field-select-show/form-field-select-show.component.mjs +0 -50
- package/esm2020/lib/core/components/auto-form/components/form-field-slide-toggle/form-field-slide-toggle.component.mjs +0 -18
- package/esm2020/lib/core/components/auto-form/components/form-field-slide-toggle-show/form-field-slide-toggle-show.component.mjs +0 -21
- package/esm2020/lib/core/components/auto-form/components/form-field-spinner/form-field-spinner.component.mjs +0 -12
- package/esm2020/lib/core/components/auto-form/components/form-field-tags/form-field-tags.component.mjs +0 -114
- package/esm2020/lib/core/components/auto-form/components/form-message-box/form-message-box.component.mjs +0 -101
- package/esm2020/lib/core/components/auto-form/constants/auto-form-show-value.mjs +0 -2
- package/esm2020/lib/core/components/auto-form/constants/errors.mjs +0 -35
- package/esm2020/lib/core/components/auto-form/containers/auto-form-main/auto-form-main.component.mjs +0 -200
- package/esm2020/lib/core/components/auto-form/containers/auto-form-show/auto-form-show.component.mjs +0 -48
- package/esm2020/lib/core/components/auto-form/containers/auto-form-show-field/auto-form-show-field.component.mjs +0 -56
- package/esm2020/lib/core/components/auto-form/containers/form-field/form-field.component.mjs +0 -163
- package/esm2020/lib/core/components/auto-form/containers/publish-messages/publish-messages.component.mjs +0 -131
- package/esm2020/lib/core/components/auto-form/interfaces/input-type.mjs +0 -11
- package/esm2020/lib/core/components/bread-crumbs/bread-crumbs.component.mjs +0 -18
- package/esm2020/lib/core/components/bread-crumbs/bread-crumbs.module.mjs +0 -19
- package/esm2020/lib/core/components/button/ButtonSize.mjs +0 -2
- package/esm2020/lib/core/components/button/ButtonStyle.mjs +0 -2
- package/esm2020/lib/core/components/button/ButtonTheme.mjs +0 -2
- package/esm2020/lib/core/components/button/button.component.mjs +0 -136
- package/esm2020/lib/core/components/button/button.module.mjs +0 -40
- package/esm2020/lib/core/components/chips-input/chips-input.component.mjs +0 -88
- package/esm2020/lib/core/components/chips-input/chips-input.module.mjs +0 -44
- package/esm2020/lib/core/components/files-upload/constants.mjs +0 -3
- package/esm2020/lib/core/components/files-upload/file-list-card/file-list-card.component.mjs +0 -131
- package/esm2020/lib/core/components/files-upload/files-upload/files-upload.component.mjs +0 -89
- package/esm2020/lib/core/components/files-upload/files-upload-list-images/files-upload-list-images.component.mjs +0 -97
- package/esm2020/lib/core/components/files-upload/files-upload.module.mjs +0 -68
- package/esm2020/lib/core/components/files-upload/table-files-uploading/table-files-uploading.component.mjs +0 -122
- package/esm2020/lib/core/components/form-field-error/form-field-error.component.mjs +0 -84
- package/esm2020/lib/core/components/form-field-error/form-field-error.module.mjs +0 -26
- package/esm2020/lib/core/components/form-field-publish-error/form-field-publish-error.component.mjs +0 -62
- package/esm2020/lib/core/components/form-field-publish-error/form-field-publish-error.module.mjs +0 -26
- package/esm2020/lib/core/components/header/header.component.mjs +0 -28
- package/esm2020/lib/core/components/header/header.module.mjs +0 -24
- package/esm2020/lib/core/components/icon/icon.component.mjs +0 -43
- package/esm2020/lib/core/components/icon/icon.module.mjs +0 -24
- package/esm2020/lib/core/components/icon/index.mjs +0 -3
- package/esm2020/lib/core/components/image/image.component.mjs +0 -65
- package/esm2020/lib/core/components/image/image.module.mjs +0 -24
- package/esm2020/lib/core/components/input-tags/input-tags.component.mjs +0 -29
- package/esm2020/lib/core/components/input-tags/input-tags.module.mjs +0 -24
- package/esm2020/lib/core/components/pagination/pagination.component.mjs +0 -50
- package/esm2020/lib/core/components/pagination/pagination.module.mjs +0 -28
- package/esm2020/lib/core/components/panel/panel.component.mjs +0 -36
- package/esm2020/lib/core/components/panel/panel.module.mjs +0 -28
- package/esm2020/lib/core/components/smart-progress-bar/smart-progress-bar.component.mjs +0 -21
- package/esm2020/lib/core/components/smart-progress-bar/smart-progress-bar.module.mjs +0 -18
- package/esm2020/lib/core/components/spinner/spinner.component.mjs +0 -29
- package/esm2020/lib/core/components/spinner/spinner.module.mjs +0 -24
- package/esm2020/lib/core/components/star-rating/star-rating.component.mjs +0 -23
- package/esm2020/lib/core/components/star-rating/star-rating.module.mjs +0 -22
- package/esm2020/lib/core/components/sticky-sidebar/sticky-sidebar.directive.mjs +0 -462
- package/esm2020/lib/core/components/sticky-sidebar/sticky-sidebar.module.mjs +0 -31
- package/esm2020/lib/core/components/table-menu/table-menu.component.mjs +0 -29
- package/esm2020/lib/core/components/table-menu/table-menu.module.mjs +0 -35
- package/esm2020/lib/core/components/tag-cloud/tag-cloud.component.mjs +0 -32
- package/esm2020/lib/core/components/tag-cloud/tag-cloud.module.mjs +0 -28
- package/esm2020/lib/core/components/text-with-link-more/text-with-link-more.component.mjs +0 -36
- package/esm2020/lib/core/components/text-with-link-more/text-with-link-more.module.mjs +0 -24
- package/esm2020/lib/core/constants/async-validators-type.mjs +0 -13
- package/esm2020/lib/core/constants/publish-errors.const.mjs +0 -31
- package/esm2020/lib/core/constants/validators-type.mjs +0 -9
- package/esm2020/lib/core/dialogs/delete/delete.component.mjs +0 -28
- package/esm2020/lib/core/dialogs/dialog.service.mjs +0 -26
- package/esm2020/lib/core/services/auto-form/auto-form.service.mjs +0 -153
- package/lib/core/animations/appearFromLeft.d.ts +0 -1
- package/lib/core/animations/appearFromLeftHideToRight.d.ts +0 -1
- package/lib/core/animations/appearFromLeftWithDelay.d.ts +0 -1
- package/lib/core/animations/appearOpacity.d.ts +0 -1
- package/lib/core/animations/expandCollapse.d.ts +0 -1
- package/lib/core/animations/hideToTopOpacity.d.ts +0 -1
- package/lib/core/components/access-denied/access-denied.component.d.ts +0 -5
- package/lib/core/components/access-denied/access-denied.module.d.ts +0 -7
- package/lib/core/components/auto-form/auto-form.module.d.ts +0 -47
- package/lib/core/components/auto-form/components/form-field-file/form-field-file.component.d.ts +0 -42
- package/lib/core/components/auto-form/components/form-field-file-show/form-field-file-show.component.d.ts +0 -9
- package/lib/core/components/auto-form/components/form-field-files/form-field-files.component.d.ts +0 -26
- package/lib/core/components/auto-form/components/form-field-files-show/form-field-files-show.component.d.ts +0 -19
- package/lib/core/components/auto-form/components/form-field-input/form-field-input.component.d.ts +0 -23
- package/lib/core/components/auto-form/components/form-field-input-show/form-field-input-show.component.d.ts +0 -14
- package/lib/core/components/auto-form/components/form-field-select/form-field-select.component.d.ts +0 -44
- package/lib/core/components/auto-form/components/form-field-select-show/form-field-select-show.component.d.ts +0 -20
- package/lib/core/components/auto-form/components/form-field-slide-toggle/form-field-slide-toggle.component.d.ts +0 -9
- package/lib/core/components/auto-form/components/form-field-slide-toggle-show/form-field-slide-toggle-show.component.d.ts +0 -11
- package/lib/core/components/auto-form/components/form-field-spinner/form-field-spinner.component.d.ts +0 -5
- package/lib/core/components/auto-form/components/form-field-tags/form-field-tags.component.d.ts +0 -42
- package/lib/core/components/auto-form/components/form-message-box/form-message-box.component.d.ts +0 -31
- package/lib/core/components/auto-form/constants/auto-form-show-value.d.ts +0 -1
- package/lib/core/components/auto-form/constants/errors.d.ts +0 -22
- package/lib/core/components/auto-form/containers/auto-form-main/auto-form-main.component.d.ts +0 -69
- package/lib/core/components/auto-form/containers/auto-form-show/auto-form-show.component.d.ts +0 -24
- package/lib/core/components/auto-form/containers/auto-form-show-field/auto-form-show-field.component.d.ts +0 -24
- package/lib/core/components/auto-form/containers/form-field/form-field.component.d.ts +0 -48
- package/lib/core/components/auto-form/containers/publish-messages/publish-messages.component.d.ts +0 -50
- package/lib/core/components/auto-form/interfaces/input-type.d.ts +0 -9
- package/lib/core/components/bread-crumbs/bread-crumbs.component.d.ts +0 -13
- package/lib/core/components/bread-crumbs/bread-crumbs.module.d.ts +0 -9
- package/lib/core/components/button/ButtonSize.d.ts +0 -1
- package/lib/core/components/button/ButtonStyle.d.ts +0 -1
- package/lib/core/components/button/ButtonTheme.d.ts +0 -1
- package/lib/core/components/button/button.component.d.ts +0 -35
- package/lib/core/components/button/button.module.d.ts +0 -13
- package/lib/core/components/chips-input/chips-input.component.d.ts +0 -37
- package/lib/core/components/chips-input/chips-input.module.d.ts +0 -14
- package/lib/core/components/files-upload/constants.d.ts +0 -12
- package/lib/core/components/files-upload/file-list-card/file-list-card.component.d.ts +0 -51
- package/lib/core/components/files-upload/files-upload/files-upload.component.d.ts +0 -42
- package/lib/core/components/files-upload/files-upload-list-images/files-upload-list-images.component.d.ts +0 -34
- package/lib/core/components/files-upload/files-upload.module.d.ts +0 -18
- package/lib/core/components/files-upload/table-files-uploading/table-files-uploading.component.d.ts +0 -43
- package/lib/core/components/form-field-error/form-field-error.component.d.ts +0 -22
- package/lib/core/components/form-field-error/form-field-error.module.d.ts +0 -9
- package/lib/core/components/form-field-publish-error/form-field-publish-error.component.d.ts +0 -26
- package/lib/core/components/form-field-publish-error/form-field-publish-error.module.d.ts +0 -9
- package/lib/core/components/header/header.component.d.ts +0 -13
- package/lib/core/components/header/header.module.d.ts +0 -8
- package/lib/core/components/icon/icon.component.d.ts +0 -24
- package/lib/core/components/icon/icon.module.d.ts +0 -9
- package/lib/core/components/icon/index.d.ts +0 -2
- package/lib/core/components/image/image.component.d.ts +0 -25
- package/lib/core/components/image/image.module.d.ts +0 -9
- package/lib/core/components/input-tags/input-tags.component.d.ts +0 -17
- package/lib/core/components/input-tags/input-tags.module.d.ts +0 -9
- package/lib/core/components/pagination/pagination.component.d.ts +0 -15
- package/lib/core/components/pagination/pagination.module.d.ts +0 -9
- package/lib/core/components/panel/panel.component.d.ts +0 -18
- package/lib/core/components/panel/panel.module.d.ts +0 -10
- package/lib/core/components/smart-progress-bar/smart-progress-bar.component.d.ts +0 -8
- package/lib/core/components/smart-progress-bar/smart-progress-bar.module.d.ts +0 -8
- package/lib/core/components/spinner/spinner.component.d.ts +0 -12
- package/lib/core/components/spinner/spinner.module.d.ts +0 -9
- package/lib/core/components/star-rating/star-rating.component.d.ts +0 -12
- package/lib/core/components/star-rating/star-rating.module.d.ts +0 -8
- package/lib/core/components/sticky-sidebar/sticky-sidebar.directive.d.ts +0 -78
- package/lib/core/components/sticky-sidebar/sticky-sidebar.module.d.ts +0 -16
- package/lib/core/components/table-menu/table-menu.component.d.ts +0 -12
- package/lib/core/components/table-menu/table-menu.module.d.ts +0 -10
- package/lib/core/components/tag-cloud/tag-cloud.component.d.ts +0 -14
- package/lib/core/components/tag-cloud/tag-cloud.module.d.ts +0 -10
- package/lib/core/components/text-with-link-more/text-with-link-more.component.d.ts +0 -12
- package/lib/core/components/text-with-link-more/text-with-link-more.module.d.ts +0 -9
- package/lib/core/constants/async-validators-type.d.ts +0 -10
- package/lib/core/constants/publish-errors.const.d.ts +0 -9
- package/lib/core/constants/validators-type.d.ts +0 -7
- package/lib/core/dialogs/delete/delete.component.d.ts +0 -17
- package/lib/core/dialogs/dialog.service.d.ts +0 -10
- package/lib/core/services/auto-form/auto-form.service.d.ts +0 -27
package/lib/core/components/auto-form/components/form-field-file/form-field-file.component.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { IFormField } from '@wt-front-shared/components/auto-form/interfaces/form-field';
|
|
3
|
-
import { FormControlStatus, UntypedFormGroup } from '@angular/forms';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import { AppConfig } from '@wt-front-shared/models/config';
|
|
6
|
-
import { DialogService } from '@wt-front-shared/core/dialogs/dialog.service';
|
|
7
|
-
import { RequestsFacade } from '@wt-front-shared/state/requests';
|
|
8
|
-
import { RequestModel, RequestStatus } from '@wt-front-shared/models/models/request.model';
|
|
9
|
-
import { FormDeleteFileFacade } from '@wt-front-shared/state/form-delete-file';
|
|
10
|
-
import { VersionsModel } from "@wt-front-shared/models/models/file";
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class FormFieldFileComponent implements OnInit, OnDestroy, AfterViewInit, OnChanges {
|
|
13
|
-
private cd;
|
|
14
|
-
private dialogService;
|
|
15
|
-
private requestsFacade;
|
|
16
|
-
private formDeleteFileFacade;
|
|
17
|
-
private config;
|
|
18
|
-
fieldData: IFormField;
|
|
19
|
-
form: UntypedFormGroup;
|
|
20
|
-
entity: string;
|
|
21
|
-
input: ElementRef<HTMLInputElement>;
|
|
22
|
-
imageVersions: VersionsModel;
|
|
23
|
-
imageSource: string | ArrayBuffer;
|
|
24
|
-
inputStatus: string;
|
|
25
|
-
formDeleteFile: string;
|
|
26
|
-
putMethod: string;
|
|
27
|
-
request$: Observable<RequestModel>;
|
|
28
|
-
statusChanges$: Observable<FormControlStatus>;
|
|
29
|
-
requestStatuses: typeof RequestStatus;
|
|
30
|
-
currentPristineValue: boolean;
|
|
31
|
-
constructor(cd: ChangeDetectorRef, dialogService: DialogService, requestsFacade: RequestsFacade, formDeleteFileFacade: FormDeleteFileFacade, config: AppConfig);
|
|
32
|
-
ngOnInit(): void;
|
|
33
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
34
|
-
ngOnDestroy(): void;
|
|
35
|
-
ngAfterViewInit(): void;
|
|
36
|
-
onFileChange(event: any): void;
|
|
37
|
-
deleteImage(): void;
|
|
38
|
-
private initRequest;
|
|
39
|
-
private clearFile;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldFileComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldFileComponent, "shared-form-field-file", never, { "fieldData": "fieldData"; "form": "form"; "entity": "entity"; }, {}, never, never, false, never>;
|
|
42
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IFormField } from '@wt-front-shared/components/auto-form/interfaces/form-field';
|
|
2
|
-
import { FileModel } from '@wt-front-shared/models/models/file';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FormFieldFileShowComponent {
|
|
5
|
-
fieldData: IFormField;
|
|
6
|
-
value: FileModel;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldFileShowComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldFileShowComponent, "shared-form-field-file-show", never, { "fieldData": "fieldData"; "value": "value"; }, {}, never, never, false, never>;
|
|
9
|
-
}
|
package/lib/core/components/auto-form/components/form-field-files/form-field-files.component.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import { IFormField } from '@wt-front-shared/components/auto-form/interfaces/form-field';
|
|
5
|
-
import { AppConfig } from '@wt-front-shared/models/config';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class FormFieldFilesComponent implements OnInit, OnDestroy, AfterViewInit, OnChanges {
|
|
8
|
-
private cd;
|
|
9
|
-
private config;
|
|
10
|
-
fieldData: IFormField;
|
|
11
|
-
form: UntypedFormGroup;
|
|
12
|
-
itemId: number;
|
|
13
|
-
input: ElementRef<HTMLInputElement>;
|
|
14
|
-
unSubscribeSubject$: Subject<unknown>;
|
|
15
|
-
imageSource: string | ArrayBuffer;
|
|
16
|
-
inputStatus: string;
|
|
17
|
-
emptyTitle: string;
|
|
18
|
-
constructor(cd: ChangeDetectorRef, config: AppConfig);
|
|
19
|
-
ngOnInit(): void;
|
|
20
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
21
|
-
ngOnDestroy(): void;
|
|
22
|
-
ngAfterViewInit(): void;
|
|
23
|
-
private getControlValue;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldFilesComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldFilesComponent, "shared-form-field-files", never, { "fieldData": "fieldData"; "form": "form"; "itemId": "itemId"; }, {}, never, never, false, never>;
|
|
26
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { IFormField } from '@wt-front-shared/components/auto-form/interfaces/form-field';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { FilesFacade } from '@wt-front-shared/state/files';
|
|
5
|
-
import { FileModel } from '@wt-front-shared/models/models/file';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class FormFieldFilesShowComponent implements OnInit, OnDestroy {
|
|
8
|
-
private filesFacade;
|
|
9
|
-
fieldData: IFormField;
|
|
10
|
-
entityId: number;
|
|
11
|
-
entitySection: string;
|
|
12
|
-
files$: Observable<FileModel[]>;
|
|
13
|
-
constructor(filesFacade: FilesFacade);
|
|
14
|
-
ngOnInit(): void;
|
|
15
|
-
ngOnDestroy(): void;
|
|
16
|
-
private loadFiles;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldFilesShowComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldFilesShowComponent, "shared-form-field-files-show", never, { "fieldData": "fieldData"; "entityId": "entityId"; "entitySection": "entitySection"; }, {}, never, never, false, never>;
|
|
19
|
-
}
|
package/lib/core/components/auto-form/components/form-field-input/form-field-input.component.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { IFormField } from '@wt-front-shared/components/auto-form/interfaces/form-field';
|
|
4
|
-
import { InputType } from '@wt-front-shared/components/auto-form/interfaces/input-type';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FormFieldInputComponent implements OnInit, OnDestroy {
|
|
7
|
-
private cd;
|
|
8
|
-
fieldData: IFormField;
|
|
9
|
-
form: UntypedFormGroup;
|
|
10
|
-
input: ElementRef<HTMLInputElement>;
|
|
11
|
-
pendingStatus: string;
|
|
12
|
-
inputType: InputType;
|
|
13
|
-
inputMask: any;
|
|
14
|
-
placeholder: string;
|
|
15
|
-
constructor(cd: ChangeDetectorRef);
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
ngOnDestroy(): void;
|
|
18
|
-
private subscribeToFieldStatus;
|
|
19
|
-
private checkInputType;
|
|
20
|
-
private checkInputMask;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldInputComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldInputComponent, "shared-form-field-input", never, { "fieldData": "fieldData"; "form": "form"; }, {}, never, never, false, never>;
|
|
23
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { IFormField } from '@wt-front-shared/components/auto-form/interfaces/form-field';
|
|
3
|
-
import { AutoFormShowValue } from '@wt-front-shared/components/auto-form/constants/auto-form-show-value';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class FormFieldInputShowComponent implements OnChanges {
|
|
6
|
-
fieldData: IFormField;
|
|
7
|
-
value: AutoFormShowValue;
|
|
8
|
-
inputValue: string;
|
|
9
|
-
constructor();
|
|
10
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
11
|
-
private checkInputType;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldInputShowComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldInputShowComponent, "shared-form-field-input-show", never, { "fieldData": "fieldData"; "value": "value"; }, {}, never, never, false, never>;
|
|
14
|
-
}
|
package/lib/core/components/auto-form/components/form-field-select/form-field-select.component.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { FormControl, UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { IFormField } from '@wt-front-shared/components/auto-form/interfaces/form-field';
|
|
4
|
-
import { Store } from '@ngrx/store';
|
|
5
|
-
import { SharedState } from "@wt-front-shared/state/index";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
interface Option {
|
|
8
|
-
id: number;
|
|
9
|
-
name: string;
|
|
10
|
-
}
|
|
11
|
-
export declare class FormFieldSelectComponent implements OnInit, OnChanges, OnDestroy {
|
|
12
|
-
protected store: Store<SharedState>;
|
|
13
|
-
private cd;
|
|
14
|
-
fieldData: IFormField;
|
|
15
|
-
form: UntypedFormGroup;
|
|
16
|
-
searchCtrl: FormControl;
|
|
17
|
-
loaded: boolean;
|
|
18
|
-
options: Option[];
|
|
19
|
-
allOptions: Option[];
|
|
20
|
-
tempOptions: Option[];
|
|
21
|
-
placeholder: string;
|
|
22
|
-
private unSubscribeSubject$;
|
|
23
|
-
constructor(store: Store<SharedState>, cd: ChangeDetectorRef);
|
|
24
|
-
ngOnInit(): void;
|
|
25
|
-
ngOnDestroy(): void;
|
|
26
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
27
|
-
private subscribeToSearchChange;
|
|
28
|
-
/**
|
|
29
|
-
* Subscribe to the form changes for field with the property 'subscribeToFormChanges'
|
|
30
|
-
*/
|
|
31
|
-
private subscribeToFormChanges;
|
|
32
|
-
private loadOptionsFromStore;
|
|
33
|
-
/**
|
|
34
|
-
* Filter option by the 'subscribeToFormChanges' property
|
|
35
|
-
* @param data
|
|
36
|
-
*/
|
|
37
|
-
private filterOptionsByRelatedFieldValue;
|
|
38
|
-
private groupItemsByNestedField;
|
|
39
|
-
private groupItemsByNestedFieldRecursion;
|
|
40
|
-
private sortOptionItemsByName;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldSelectComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldSelectComponent, "shared-form-field-select", never, { "fieldData": "fieldData"; "form": "form"; }, {}, never, never, false, never>;
|
|
43
|
-
}
|
|
44
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { IFormField } from '@wt-front-shared/components/auto-form/interfaces/form-field';
|
|
3
|
-
import { AutoFormShowValue } from '@wt-front-shared/components/auto-form/constants/auto-form-show-value';
|
|
4
|
-
import { CoreFacade } from "@wt-front-shared/state/core.facade";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FormFieldSelectShowComponent implements OnChanges, OnDestroy {
|
|
7
|
-
private coreFacade;
|
|
8
|
-
private cd;
|
|
9
|
-
fieldData: IFormField;
|
|
10
|
-
value: AutoFormShowValue;
|
|
11
|
-
listItems: string[];
|
|
12
|
-
items: any[];
|
|
13
|
-
constructor(coreFacade: CoreFacade, cd: ChangeDetectorRef);
|
|
14
|
-
ngOnDestroy(): void;
|
|
15
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
16
|
-
private storeItemsFromStore;
|
|
17
|
-
trackById(index: number, item: any): Number | undefined;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldSelectShowComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldSelectShowComponent, "shared-form-field-select-show", never, { "fieldData": "fieldData"; "value": "value"; }, {}, never, never, false, never>;
|
|
20
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IFormField } from '@wt-front-shared/components/auto-form/interfaces/form-field';
|
|
2
|
-
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FormFieldSlideToggleComponent {
|
|
5
|
-
fieldData: IFormField;
|
|
6
|
-
form: UntypedFormGroup;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldSlideToggleComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldSlideToggleComponent, "shared-form-field-slide-toggle", never, { "fieldData": "fieldData"; "form": "form"; }, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IFormField } from '@wt-front-shared/components/auto-form/interfaces/form-field';
|
|
2
|
-
import { AutoFormShowValue } from '@wt-front-shared/components/auto-form/constants/auto-form-show-value';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FormFieldSlideToggleShowComponent {
|
|
5
|
-
fieldData: IFormField;
|
|
6
|
-
value: AutoFormShowValue;
|
|
7
|
-
publishTitle: string;
|
|
8
|
-
unPublishTitle: string;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldSlideToggleShowComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldSlideToggleShowComponent, "shared-form-field-slide-toggle-show", never, { "fieldData": "fieldData"; "value": "value"; }, {}, never, never, false, never>;
|
|
11
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class FormFieldSpinnerComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldSpinnerComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldSpinnerComponent, "shared-form-field-spinner", never, {}, {}, never, never, false, never>;
|
|
5
|
-
}
|
package/lib/core/components/auto-form/components/form-field-tags/form-field-tags.component.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { UntypedFormControl, UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { Observable } from "rxjs";
|
|
4
|
-
import { MatAutocomplete, MatAutocompleteSelectedEvent } from "@angular/material/autocomplete";
|
|
5
|
-
import { MatChipInputEvent } from "@angular/material/chips";
|
|
6
|
-
import { IFormField } from '@wt-front-shared/components/auto-form/interfaces/form-field';
|
|
7
|
-
import { StaticDataFacade } from "@wt-front-shared/state/static-data/static-data.facade";
|
|
8
|
-
import { StaticDataModel } from "@wt-front-shared/models/models/static-data";
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class FormFieldTagsComponent implements OnInit, OnDestroy {
|
|
11
|
-
private cd;
|
|
12
|
-
private staticDataFacade;
|
|
13
|
-
fieldData: IFormField;
|
|
14
|
-
form: UntypedFormGroup;
|
|
15
|
-
itemId: number;
|
|
16
|
-
input: ElementRef<HTMLInputElement>;
|
|
17
|
-
tagInput: ElementRef<HTMLInputElement>;
|
|
18
|
-
matAutocomplete: MatAutocomplete;
|
|
19
|
-
tagsContentType: string;
|
|
20
|
-
visible: boolean;
|
|
21
|
-
selectable: boolean;
|
|
22
|
-
removable: boolean;
|
|
23
|
-
separatorKeysCodes: number[];
|
|
24
|
-
tagInputControl: UntypedFormControl;
|
|
25
|
-
tagsList$: Observable<StaticDataModel[]>;
|
|
26
|
-
selectedTags: {
|
|
27
|
-
name: string;
|
|
28
|
-
id?: number;
|
|
29
|
-
}[];
|
|
30
|
-
fruits: any[];
|
|
31
|
-
constructor(cd: ChangeDetectorRef, staticDataFacade: StaticDataFacade);
|
|
32
|
-
ngOnInit(): void;
|
|
33
|
-
ngOnDestroy(): void;
|
|
34
|
-
private subscribeToFieldStatus;
|
|
35
|
-
private subscribeToSearchResult;
|
|
36
|
-
enterNew(event: string): void;
|
|
37
|
-
add(event: MatChipInputEvent): void;
|
|
38
|
-
remove(tagId?: number, tagName?: string): void;
|
|
39
|
-
selected(event: MatAutocompleteSelectedEvent): void;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldTagsComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldTagsComponent, "shared-form-field-tags", never, { "fieldData": "fieldData"; "form": "form"; "itemId": "itemId"; }, {}, never, never, false, never>;
|
|
42
|
-
}
|
package/lib/core/components/auto-form/components/form-message-box/form-message-box.component.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import { IFormField } from '@wt-front-shared/components/auto-form/interfaces/form-field';
|
|
5
|
-
import { BaseAutoFormService } from '@wt-front-shared/core/services';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class FormMessageBoxComponent implements OnInit, OnDestroy {
|
|
8
|
-
private cd;
|
|
9
|
-
private baseAutoFormService;
|
|
10
|
-
form: UntypedFormGroup;
|
|
11
|
-
fields: IFormField[];
|
|
12
|
-
errorMessageTexts: {
|
|
13
|
-
[key: string]: string;
|
|
14
|
-
};
|
|
15
|
-
listErrors: string[];
|
|
16
|
-
invalidFieldValidStatus: string;
|
|
17
|
-
title: string;
|
|
18
|
-
private titleUpdate;
|
|
19
|
-
private titleAdd;
|
|
20
|
-
unSubscribeSubject$: Subject<unknown>;
|
|
21
|
-
fullPrefix: string;
|
|
22
|
-
constructor(cd: ChangeDetectorRef, baseAutoFormService: BaseAutoFormService);
|
|
23
|
-
ngOnInit(): void;
|
|
24
|
-
ngOnDestroy(): void;
|
|
25
|
-
private subscribeToFormStatus;
|
|
26
|
-
private checkFormField;
|
|
27
|
-
private getPreparedFields;
|
|
28
|
-
private getErrorMessage;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormMessageBoxComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormMessageBoxComponent, "shred-form-message-box", never, { "form": "form"; "fields": "fields"; "errorMessageTexts": "errorMessageTexts"; }, {}, never, never, false, never>;
|
|
31
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type AutoFormShowValue = number | string | boolean;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export declare const ERRORS: {
|
|
2
|
-
required: {
|
|
3
|
-
message1: string;
|
|
4
|
-
message2: string;
|
|
5
|
-
};
|
|
6
|
-
email: {
|
|
7
|
-
message1: string;
|
|
8
|
-
message2: string;
|
|
9
|
-
};
|
|
10
|
-
mask: {
|
|
11
|
-
message1: string;
|
|
12
|
-
message2: string;
|
|
13
|
-
};
|
|
14
|
-
minlength: {
|
|
15
|
-
message1: string;
|
|
16
|
-
message2: string;
|
|
17
|
-
};
|
|
18
|
-
pattern: {
|
|
19
|
-
message1: string;
|
|
20
|
-
message2: string;
|
|
21
|
-
};
|
|
22
|
-
};
|
package/lib/core/components/auto-form/containers/auto-form-main/auto-form-main.component.d.ts
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import { IFormField } from '@wt-front-shared/components/auto-form/interfaces/form-field';
|
|
5
|
-
import { FormErrorsFacade } from '@wt-front-shared/state/form-errors';
|
|
6
|
-
import { FormsFacade } from '@wt-front-shared/state/forms';
|
|
7
|
-
import { PublicationMessagesFacade } from '@wt-front-shared/state/publication-messages';
|
|
8
|
-
import { FormErrorModel } from '@wt-front-shared/models/models/publish-message/publish-message';
|
|
9
|
-
import { AuthenticationService } from "@wt-front-shared/core/services/auth/authentication.service";
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
interface FormValue {
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
}
|
|
14
|
-
export interface AutoFormChanged {
|
|
15
|
-
valueChanged: boolean;
|
|
16
|
-
}
|
|
17
|
-
export interface AutoFormConfig {
|
|
18
|
-
needToPublish?: boolean;
|
|
19
|
-
}
|
|
20
|
-
export declare class AutoFormMainComponent implements OnInit, OnDestroy {
|
|
21
|
-
private formErrors;
|
|
22
|
-
private formsFacade;
|
|
23
|
-
private publicationMessagesFacade;
|
|
24
|
-
private authenticationService;
|
|
25
|
-
private cd;
|
|
26
|
-
fields: IFormField[];
|
|
27
|
-
itemId: number;
|
|
28
|
-
formId: string;
|
|
29
|
-
showPublicationMessages: boolean;
|
|
30
|
-
form: UntypedFormGroup;
|
|
31
|
-
editorImageUploadUrl: string;
|
|
32
|
-
errorMessageTexts: {
|
|
33
|
-
[key: string]: string;
|
|
34
|
-
};
|
|
35
|
-
entity: string;
|
|
36
|
-
havePublication: boolean;
|
|
37
|
-
config: AutoFormConfig;
|
|
38
|
-
changed: EventEmitter<AutoFormChanged>;
|
|
39
|
-
formCompleted: EventEmitter<{
|
|
40
|
-
newId: number;
|
|
41
|
-
}>;
|
|
42
|
-
value: any;
|
|
43
|
-
groupedFields: {
|
|
44
|
-
[key: string]: IFormField[];
|
|
45
|
-
};
|
|
46
|
-
unSubscribeSubject$: Subject<unknown>;
|
|
47
|
-
object_: ObjectConstructor;
|
|
48
|
-
dataStored: boolean;
|
|
49
|
-
storedFormValue: FormValue;
|
|
50
|
-
dataStoredTitle: string;
|
|
51
|
-
formSaveErrorKey: string;
|
|
52
|
-
groupsState: {};
|
|
53
|
-
allPublicationMessages: FormErrorModel[];
|
|
54
|
-
constructor(formErrors: FormErrorsFacade, formsFacade: FormsFacade, publicationMessagesFacade: PublicationMessagesFacade, authenticationService: AuthenticationService, cd: ChangeDetectorRef);
|
|
55
|
-
ngOnInit(): void;
|
|
56
|
-
ngOnDestroy(): void;
|
|
57
|
-
private groupFields;
|
|
58
|
-
truckByFieldName(index: number, item: any): string;
|
|
59
|
-
scrollToField(field: string): void;
|
|
60
|
-
private subscribeToFormErrors;
|
|
61
|
-
private subscribeToFormStatus;
|
|
62
|
-
private subscribeToFormChanges;
|
|
63
|
-
groupClick(groupName: string): void;
|
|
64
|
-
private areObjectsEquals;
|
|
65
|
-
private subscribeToPublicationMessages;
|
|
66
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AutoFormMainComponent, never>;
|
|
67
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutoFormMainComponent, "shared-auto-form", never, { "fields": "fields"; "itemId": "itemId"; "formId": "formId"; "showPublicationMessages": "showPublicationMessages"; "form": "form"; "editorImageUploadUrl": "editorImageUploadUrl"; "errorMessageTexts": "errorMessageTexts"; "entity": "entity"; "havePublication": "havePublication"; "config": "config"; }, { "changed": "changed"; "formCompleted": "formCompleted"; }, never, never, false, never>;
|
|
68
|
-
}
|
|
69
|
-
export {};
|
package/lib/core/components/auto-form/containers/auto-form-show/auto-form-show.component.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { IFormField } from '@wt-front-shared/components/auto-form/interfaces/form-field';
|
|
3
|
-
import { AutoFormShowValue } from '@wt-front-shared/components/auto-form/constants/auto-form-show-value';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AutoFormShowComponent implements OnInit, OnChanges {
|
|
6
|
-
fields: IFormField[];
|
|
7
|
-
data: {
|
|
8
|
-
[field: string]: AutoFormShowValue;
|
|
9
|
-
};
|
|
10
|
-
entityId: number;
|
|
11
|
-
entitySection: string;
|
|
12
|
-
value: any;
|
|
13
|
-
groupedFields: {
|
|
14
|
-
[key: string]: IFormField[];
|
|
15
|
-
};
|
|
16
|
-
fieldGrouped: boolean;
|
|
17
|
-
object_: ObjectConstructor;
|
|
18
|
-
ngOnInit(): void;
|
|
19
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
20
|
-
truckByFieldName(index: number, item: any): any;
|
|
21
|
-
private groupFields;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AutoFormShowComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutoFormShowComponent, "shared-auto-form-show", never, { "fields": "fields"; "data": "data"; "entityId": "entityId"; "entitySection": "entitySection"; }, {}, never, never, false, never>;
|
|
24
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { AppConfig } from '@wt-front-shared/models/config';
|
|
2
|
-
import { InputType } from '@wt-front-shared/components/auto-form/interfaces/input-type';
|
|
3
|
-
import { FieldType } from '@wt-front-shared/components/auto-form/interfaces/field-type';
|
|
4
|
-
import { IFormField } from '@wt-front-shared/components/auto-form/interfaces/form-field';
|
|
5
|
-
import { AutoFormShowValue } from '@wt-front-shared/components/auto-form/constants/auto-form-show-value';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class AutoFormShowFieldComponent {
|
|
8
|
-
private config;
|
|
9
|
-
fieldData: IFormField;
|
|
10
|
-
data: {
|
|
11
|
-
[field: string]: AutoFormShowValue;
|
|
12
|
-
};
|
|
13
|
-
entityId: number;
|
|
14
|
-
entitySection: string;
|
|
15
|
-
fieldTypes: typeof FieldType;
|
|
16
|
-
field: string;
|
|
17
|
-
inputType: InputType;
|
|
18
|
-
value: any;
|
|
19
|
-
constructor(config: AppConfig);
|
|
20
|
-
ngOnInit(): void;
|
|
21
|
-
private setInputType;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AutoFormShowFieldComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutoFormShowFieldComponent, "shared-auto-form-show-field", never, { "fieldData": "fieldData"; "data": "data"; "entityId": "entityId"; "entitySection": "entitySection"; }, {}, never, never, false, never>;
|
|
24
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { AbstractControl, UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { AppConfig } from '@wt-front-shared/models/config';
|
|
4
|
-
import { IFormField } from '@wt-front-shared/components/auto-form/interfaces/form-field';
|
|
5
|
-
import { FieldType } from '@wt-front-shared/components/auto-form/interfaces/field-type';
|
|
6
|
-
import { FormErrorModel } from '@wt-front-shared/models/models/publish-message/publish-message';
|
|
7
|
-
import { AuthenticationService } from "@wt-front-shared/core/services/auth/authentication.service";
|
|
8
|
-
import { CoreFacade } from "@wt-front-shared/state/core.facade";
|
|
9
|
-
import { MatDialog } from "@angular/material/dialog";
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class FormFieldComponent {
|
|
12
|
-
private config;
|
|
13
|
-
private authenticationService;
|
|
14
|
-
private coreFacade;
|
|
15
|
-
private cd;
|
|
16
|
-
dialog: MatDialog;
|
|
17
|
-
fieldData: IFormField;
|
|
18
|
-
itemId: number;
|
|
19
|
-
form: UntypedFormGroup;
|
|
20
|
-
editorImageUploadUrl: string;
|
|
21
|
-
errorMessageTexts: {
|
|
22
|
-
[key: string]: string;
|
|
23
|
-
};
|
|
24
|
-
entity: string;
|
|
25
|
-
publicationMessages: FormErrorModel[];
|
|
26
|
-
entityTypeUserRoleRights: string;
|
|
27
|
-
eventUpdateForm: EventEmitter<any>;
|
|
28
|
-
eventSendAction: EventEmitter<any>;
|
|
29
|
-
fieldTypes: typeof FieldType;
|
|
30
|
-
field: string;
|
|
31
|
-
fieldControl: AbstractControl;
|
|
32
|
-
invalidStatus: string;
|
|
33
|
-
private unSubscribeSubject$;
|
|
34
|
-
ckeConfig: any;
|
|
35
|
-
get fieldPublishError(): FormErrorModel[];
|
|
36
|
-
get fieldPublicationMessages(): FormErrorModel[];
|
|
37
|
-
get haveFieldError(): boolean;
|
|
38
|
-
get haveFieldWarning(): boolean;
|
|
39
|
-
constructor(config: AppConfig, authenticationService: AuthenticationService, coreFacade: CoreFacade, cd: ChangeDetectorRef, dialog: MatDialog);
|
|
40
|
-
ngOnInit(): void;
|
|
41
|
-
ngOnDestroy(): void;
|
|
42
|
-
fieldActionHandler(data: any): void;
|
|
43
|
-
openHintDialog(hint: string): void;
|
|
44
|
-
private subscribeToChangeStatus;
|
|
45
|
-
private setEditorConfig;
|
|
46
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "shared-form-field", never, { "fieldData": "fieldData"; "itemId": "itemId"; "form": "form"; "editorImageUploadUrl": "editorImageUploadUrl"; "errorMessageTexts": "errorMessageTexts"; "entity": "entity"; "publicationMessages": "publicationMessages"; "entityTypeUserRoleRights": "entityTypeUserRoleRights"; }, { "eventUpdateForm": "eventUpdateForm"; "eventSendAction": "eventSendAction"; }, never, never, false, never>;
|
|
48
|
-
}
|
package/lib/core/components/auto-form/containers/publish-messages/publish-messages.component.d.ts
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { PublicationMessagesFacade } from '@wt-front-shared/state/publication-messages';
|
|
3
|
-
import { FormErrorModel } from '@wt-front-shared/models/models/publish-message/publish-message';
|
|
4
|
-
import { UntypedFormGroup } from '@angular/forms';
|
|
5
|
-
import { IFormField } from '@wt-front-shared/components/auto-form/interfaces/form-field';
|
|
6
|
-
import { AutoFormService } from "@wt-front-shared/core/services/auto-form/auto-form.service";
|
|
7
|
-
import { PublishErrorWithDescription } from "@wt-front-shared/constants/publish-errors.const";
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class PublicationMessagesComponent implements OnInit, OnDestroy, OnChanges {
|
|
10
|
-
private publicationMessagesFacade;
|
|
11
|
-
private autoFormService;
|
|
12
|
-
private cd;
|
|
13
|
-
entity: string;
|
|
14
|
-
form: UntypedFormGroup;
|
|
15
|
-
itemId: number;
|
|
16
|
-
fields: IFormField[];
|
|
17
|
-
config: {
|
|
18
|
-
needToPublish?: boolean;
|
|
19
|
-
};
|
|
20
|
-
scrollToField: EventEmitter<string>;
|
|
21
|
-
errorOpened: boolean;
|
|
22
|
-
messagesOpened: boolean;
|
|
23
|
-
errors: PublishErrorWithDescription[];
|
|
24
|
-
recommendation: PublishErrorWithDescription[];
|
|
25
|
-
publishedTitle: string;
|
|
26
|
-
unPublishedTitle: string;
|
|
27
|
-
unPublishedMessage: string;
|
|
28
|
-
errorTitleSource: string;
|
|
29
|
-
recommendationTitleSource: string;
|
|
30
|
-
errorTitle: string;
|
|
31
|
-
recommendationTitle: string;
|
|
32
|
-
publishErrorConstants: import("@wt-front-shared/constants/publish-errors.const").PublishErrorsWithDescription;
|
|
33
|
-
itemPublishFinishedField: string;
|
|
34
|
-
itemPublishFinishedAt: string;
|
|
35
|
-
itemPublishFinishedAtTmp: string;
|
|
36
|
-
constructor(publicationMessagesFacade: PublicationMessagesFacade, autoFormService: AutoFormService, cd: ChangeDetectorRef);
|
|
37
|
-
ngOnInit(): void;
|
|
38
|
-
ngOnDestroy(): void;
|
|
39
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
40
|
-
showScrollToFieldMethod(field: string): void;
|
|
41
|
-
private subscribeToFormChanges;
|
|
42
|
-
private updateItemPublishFinishAt;
|
|
43
|
-
private definitionPublicationMessages;
|
|
44
|
-
private filterMessages;
|
|
45
|
-
toggleExpand(isError?: boolean): void;
|
|
46
|
-
truckByField(index: number, item: FormErrorModel): string;
|
|
47
|
-
private prepareErrors;
|
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PublicationMessagesComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PublicationMessagesComponent, "shared-publication-messages", never, { "entity": "entity"; "form": "form"; "itemId": "itemId"; "fields": "fields"; "config": "config"; }, { "scrollToField": "scrollToField"; }, never, never, false, never>;
|
|
50
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export interface IBreadCrumbsItem {
|
|
4
|
-
title: string;
|
|
5
|
-
url?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare class BreadCrumbsComponent implements OnInit {
|
|
8
|
-
list: IBreadCrumbsItem[] | undefined;
|
|
9
|
-
constructor();
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BreadCrumbsComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BreadCrumbsComponent, "shared-bread-crumbs", never, { "list": "list"; }, {}, never, never, false, never>;
|
|
13
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./bread-crumbs.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/router";
|
|
5
|
-
export declare class BreadCrumbsModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BreadCrumbsModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BreadCrumbsModule, [typeof i1.BreadCrumbsComponent], [typeof i2.CommonModule, typeof i3.RouterModule], [typeof i2.CommonModule, typeof i1.BreadCrumbsComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<BreadCrumbsModule>;
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type ButtonSize = 'small' | 'normal' | 'large' | 'big';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type ButtonStyle = 'basic' | 'raised' | 'stroked' | 'flat' | 'icon' | 'fab' | 'mini-fab';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type ButtonTheme = '' | 'basic' | 'warn' | 'outline-border' | 'primary' | 'accent' | 'orange';
|