wt-front-shared 19.0.38 → 19.0.40
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/fesm2022/wt-front-shared.mjs +1238 -381
- package/fesm2022/wt-front-shared.mjs.map +1 -1
- package/lib/core/+state/form-validation/form-validation.effects.d.ts +2 -2
- package/lib/core/+state/static-data/static-data.actions.d.ts +7 -0
- package/lib/core/+state/static-data/static-data.facade.d.ts +8 -2
- package/lib/core/components/auto-form/auto-form.module.d.ts +4 -2
- package/lib/core/components/auto-form/components/form-field-file/form-field-file.component.d.ts +7 -1
- package/lib/core/components/auto-form/components/form-field-file-show/form-field-file-show.component.d.ts +5 -0
- package/lib/core/components/auto-form/components/form-field-rating/form-field-rating.component.d.ts +12 -0
- package/lib/core/components/auto-form/components/form-field-select/form-field-select.component.d.ts +22 -4
- package/lib/core/components/auto-form/components/form-field-select-show/form-field-select-show.component.d.ts +1 -0
- package/lib/core/components/auto-form/containers/auto-form-main/auto-form-main.component.d.ts +2 -1
- package/lib/core/components/auto-form/containers/auto-form-show/auto-form-show.component.d.ts +13 -4
- package/lib/core/components/auto-form/containers/form-field/form-field.component.d.ts +1 -1
- package/lib/core/components/auto-form/interfaces/dynamic-form-question-type.d.ts +7 -0
- package/lib/core/components/auto-form/interfaces/form-field-others.d.ts +12 -3
- package/lib/core/components/files-upload/files-upload/files-upload.component.d.ts +3 -3
- package/lib/core/components/index.d.ts +2 -0
- package/lib/core/components/star-rating/star-rating.component.d.ts +4 -2
- package/lib/core/components/star-rating/star-rating.module.d.ts +2 -1
- package/lib/core/components/static-data/components/static-data-create-new-dialog/static-data-create-new-dialog.component.d.ts +15 -0
- package/lib/core/components/static-data/components/static-data-create-new-dynamic-form-dialog/static-data-create-new-dynamic-form-dialog.component.d.ts +24 -0
- package/lib/core/components/static-data/components/static-data-create-new-item-dialog/static-data-create-new-item-dialog.component.d.ts +26 -0
- package/lib/core/components/static-data/components/static-data-list-items/static-data-list-items.component.d.ts +20 -7
- package/lib/core/components/static-data/components/view-static-data-details-dialog/view-static-data-details-dialog.component.d.ts +2 -4
- package/lib/core/components/static-data/containers/static-data-details/static-data-details.component.d.ts +16 -6
- package/lib/core/components/static-data/containers/static-data-items/static-data-items.component.d.ts +14 -5
- package/lib/core/components/static-data/containers/static-data-list/static-data-list.component.d.ts +17 -4
- package/lib/core/components/static-data/containers/static-data-view/static-data-view.component.d.ts +8 -5
- package/lib/core/components/static-data/interfaces/static-data.interface.d.ts +11 -0
- package/lib/core/components/static-data/services/static-data.service.service.d.ts +13 -0
- package/lib/core/tokens/index.d.ts +5 -1
- package/lib/models/config/app-config.d.ts +4 -0
- package/lib/models/endpoints/static-data/static-data-create/request/static-data-create-request-config.d.ts +4 -0
- package/lib/models/endpoints/static-data/static-data-update/request/static-data-update-request-config.d.ts +4 -0
- package/lib/models/models/static-data/static-data.model.d.ts +1 -0
- package/package.json +1 -1
- package/lib/core/components/auto-form/components/form-field-dynamic-form/form-field-relation-entity.component.d.ts +0 -26
|
@@ -9,11 +9,11 @@ export declare class FormValidationEffects {
|
|
|
9
9
|
protected store: Store<SharedState>;
|
|
10
10
|
protected formValidationService: FormValidationService;
|
|
11
11
|
protected authenticationService: AuthenticationService;
|
|
12
|
-
checkValidation$: import("rxjs").Observable<
|
|
12
|
+
checkValidation$: import("rxjs").Observable<({
|
|
13
13
|
payload: {
|
|
14
14
|
error: any;
|
|
15
15
|
};
|
|
16
|
-
} & import("@ngrx/store").Action<"[FormValidation] Check Validation Error">)
|
|
16
|
+
} & import("@ngrx/store").Action<"[FormValidation] Check Validation Error">) | import("@ngrx/store").Action<string>> & import("@ngrx/effects").CreateEffectMetadata;
|
|
17
17
|
constructor(actions$: Actions, store: Store<SharedState>, formValidationService: FormValidationService, authenticationService: AuthenticationService);
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormValidationEffects, never>;
|
|
19
19
|
static ɵprov: i0.ɵɵInjectableDeclaration<FormValidationEffects>;
|
|
@@ -6,6 +6,10 @@ export interface StaticDataCreatePayload {
|
|
|
6
6
|
contentType?: string;
|
|
7
7
|
publicApi: boolean;
|
|
8
8
|
data: any;
|
|
9
|
+
options?: {
|
|
10
|
+
redirectAfterSave?: boolean;
|
|
11
|
+
dynamicFormKey?: string;
|
|
12
|
+
};
|
|
9
13
|
}
|
|
10
14
|
export declare const StaticDataCreate: import("@ngrx/store").ActionCreator<"[StaticData] StaticData Create", (props: {
|
|
11
15
|
payload: StaticDataCreatePayload;
|
|
@@ -16,6 +20,9 @@ export interface StaticDataCreateSuccessPayload {
|
|
|
16
20
|
contentType: string;
|
|
17
21
|
itemId: number;
|
|
18
22
|
data: any;
|
|
23
|
+
options?: {
|
|
24
|
+
redirectAfterSave: boolean;
|
|
25
|
+
};
|
|
19
26
|
}
|
|
20
27
|
export declare const StaticDataCreateSuccess: import("@ngrx/store").ActionCreator<"[StaticData] StaticData Create Success", (props: {
|
|
21
28
|
payload: StaticDataCreateSuccessPayload;
|
|
@@ -41,9 +41,15 @@ export declare class StaticDataFacade {
|
|
|
41
41
|
staticDataKey: string;
|
|
42
42
|
revision: string;
|
|
43
43
|
}[]): void;
|
|
44
|
-
create(formId: string, contentType: string, data: StaticDataModel, publicApi?: boolean
|
|
44
|
+
create(formId: string, contentType: string, data: StaticDataModel, publicApi?: boolean, options?: {
|
|
45
|
+
redirectAfterSave?: boolean;
|
|
46
|
+
dynamicFormKey?: string;
|
|
47
|
+
}): void;
|
|
45
48
|
createWithSubEntities(formId: string, contentType: string, data: StaticDataModel, publicApi?: boolean, storeKey?: string): void;
|
|
46
|
-
update(formId: string, contentType: string, itemId: number, data: StaticDataModel, publicApi?: boolean
|
|
49
|
+
update(formId: string, contentType: string, itemId: number, data: StaticDataModel, publicApi?: boolean, options?: {
|
|
50
|
+
redirectAfterSave?: boolean;
|
|
51
|
+
dynamicFormKey?: string;
|
|
52
|
+
}): void;
|
|
47
53
|
bulkUpdateOrCreate(formId: string, contentType: string, items: StaticDataModel[], bulkFilter?: {
|
|
48
54
|
[key: string]: string | number;
|
|
49
55
|
}): void;
|
|
@@ -20,7 +20,7 @@ import * as i18 from "./components/form-field-json-show/form-field-json-show.com
|
|
|
20
20
|
import * as i19 from "./containers/publish-messages/publish-messages.component";
|
|
21
21
|
import * as i20 from "./components/form-field-tags/form-field-tags.component";
|
|
22
22
|
import * as i21 from "./components/form-field-textarea-show/form-field-textarea-show.component";
|
|
23
|
-
import * as i22 from "./components/form-field-
|
|
23
|
+
import * as i22 from "./components/form-field-rating/form-field-rating.component";
|
|
24
24
|
import * as i23 from "@angular/common";
|
|
25
25
|
import * as i24 from "../form-field-error/form-field-error.module";
|
|
26
26
|
import * as i25 from "../form-field-publish-error/form-field-publish-error.module";
|
|
@@ -44,8 +44,10 @@ import * as i42 from "ngx-mat-select-search";
|
|
|
44
44
|
import * as i43 from "ngx-mask";
|
|
45
45
|
import * as i44 from "./components/form-field-cheditor/form-field-cheditor.component";
|
|
46
46
|
import * as i45 from "../icon/icon.module";
|
|
47
|
+
import * as i46 from "@angular/material/checkbox";
|
|
48
|
+
import * as i47 from "@angular/material/radio";
|
|
47
49
|
export declare class AutoFormModule {
|
|
48
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutoFormModule, never>;
|
|
49
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AutoFormModule, [typeof i1.FormFieldComponent, typeof i2.FormFieldSpinnerComponent, typeof i3.FormFieldSelectComponent, typeof i4.FormFieldSelectShowComponent, typeof i5.FormFieldSlideToggleComponent, typeof i6.AutoFormMainComponent, typeof i7.AutoFormShowComponent, typeof i8.AutoFormShowFieldComponent, typeof i9.FormFieldInputComponent, typeof i10.FormFieldStringListInputComponent, typeof i11.FormMessageBoxComponent, typeof i12.FormFieldFileComponent, typeof i13.FormFieldFilesComponent, typeof i14.FormFieldFileShowComponent, typeof i15.FormFieldSlideToggleShowComponent, typeof i16.FormFieldInputShowComponent, typeof i17.FormFieldFilesShowComponent, typeof i18.FormFieldJsonShowComponent, typeof i19.PublicationMessagesComponent, typeof i20.FormFieldTagsComponent, typeof i21.FormFieldTextareaShowComponent, typeof i22.
|
|
51
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AutoFormModule, [typeof i1.FormFieldComponent, typeof i2.FormFieldSpinnerComponent, typeof i3.FormFieldSelectComponent, typeof i4.FormFieldSelectShowComponent, typeof i5.FormFieldSlideToggleComponent, typeof i6.AutoFormMainComponent, typeof i7.AutoFormShowComponent, typeof i8.AutoFormShowFieldComponent, typeof i9.FormFieldInputComponent, typeof i10.FormFieldStringListInputComponent, typeof i11.FormMessageBoxComponent, typeof i12.FormFieldFileComponent, typeof i13.FormFieldFilesComponent, typeof i14.FormFieldFileShowComponent, typeof i15.FormFieldSlideToggleShowComponent, typeof i16.FormFieldInputShowComponent, typeof i17.FormFieldFilesShowComponent, typeof i18.FormFieldJsonShowComponent, typeof i19.PublicationMessagesComponent, typeof i20.FormFieldTagsComponent, typeof i21.FormFieldTextareaShowComponent, typeof i22.FormFieldRatingComponent], [typeof i23.CommonModule, typeof i24.FormFieldErrorModule, typeof i25.FormFieldPublishErrorModule, typeof i26.MatFormFieldModule, typeof i27.MatInputModule, typeof i28.MatSlideToggleModule, typeof i29.MatSelectModule, typeof i30.FormsModule, typeof i31.SharedSpinnerModule, typeof i30.ReactiveFormsModule, typeof i32.MatIconModule, typeof i33.MatTooltipModule, typeof i34.FilesUploadModule, typeof i35.ImageModule, typeof i36.PanelModule, typeof i37.ButtonModule, typeof i38.SmartProgressBarModule, typeof i39.StarRatingModule, typeof i40.MatChipsModule, typeof i41.MatAutocompleteModule, typeof i42.NgxMatSelectSearchModule, typeof i43.NgxMaskDirective, typeof i43.NgxMaskPipe, typeof i44.FormFieldCheditorComponent, typeof i45.SharedIconModule, typeof i46.MatCheckbox, typeof i47.MatRadioButton, typeof i47.MatRadioGroup], [typeof i6.AutoFormMainComponent, typeof i7.AutoFormShowComponent]>;
|
|
50
52
|
static ɵinj: i0.ɵɵInjectorDeclaration<AutoFormModule>;
|
|
51
53
|
}
|
package/lib/core/components/auto-form/components/form-field-file/form-field-file.component.d.ts
CHANGED
|
@@ -8,17 +8,20 @@ import { RequestsFacade } from "../../../../+state/requests";
|
|
|
8
8
|
import { FormDeleteFileFacade } from "../../../../+state/form-delete-file";
|
|
9
9
|
import { IFormField } from "../../interfaces/form-field";
|
|
10
10
|
import { AutoFormConfig } from '../../interfaces/auto-form.interfaces';
|
|
11
|
+
import { NotificationsFacade } from "../../../../+state/notifications";
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
export declare class FormFieldFileComponent implements OnInit, OnDestroy, AfterViewInit, OnChanges {
|
|
13
14
|
private cd;
|
|
14
15
|
private dialogService;
|
|
15
16
|
private requestsFacade;
|
|
17
|
+
private notificationsFacade;
|
|
16
18
|
private formDeleteFileFacade;
|
|
17
19
|
config: AutoFormConfig;
|
|
18
20
|
fieldData: IFormField;
|
|
19
21
|
form: UntypedFormGroup;
|
|
20
22
|
entity: string;
|
|
21
23
|
input: ElementRef<HTMLInputElement>;
|
|
24
|
+
fileName: string;
|
|
22
25
|
imageVersions: VersionsModel;
|
|
23
26
|
imageSource: string | ArrayBuffer;
|
|
24
27
|
inputStatus: string;
|
|
@@ -29,15 +32,18 @@ export declare class FormFieldFileComponent implements OnInit, OnDestroy, AfterV
|
|
|
29
32
|
requestStatuses: typeof RequestStatus;
|
|
30
33
|
currentPristineValue: boolean;
|
|
31
34
|
private destroy$;
|
|
32
|
-
|
|
35
|
+
selectedFile: File;
|
|
36
|
+
constructor(cd: ChangeDetectorRef, dialogService: DialogService, requestsFacade: RequestsFacade, notificationsFacade: NotificationsFacade, formDeleteFileFacade: FormDeleteFileFacade);
|
|
33
37
|
ngOnInit(): void;
|
|
34
38
|
ngOnChanges(changes: SimpleChanges): void;
|
|
35
39
|
ngOnDestroy(): void;
|
|
36
40
|
ngAfterViewInit(): void;
|
|
37
41
|
onFileChange(event: any): void;
|
|
42
|
+
private isFileValid;
|
|
38
43
|
deleteImage(): void;
|
|
39
44
|
private initRequest;
|
|
40
45
|
private clearFile;
|
|
46
|
+
protected readonly Math: Math;
|
|
41
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldFileComponent, never>;
|
|
42
48
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldFileComponent, "shared-form-field-file", never, { "config": { "alias": "config"; "required": false; }; "fieldData": { "alias": "fieldData"; "required": false; }; "form": { "alias": "form"; "required": false; }; "entity": { "alias": "entity"; "required": false; }; }, {}, never, never, false, never>;
|
|
43
49
|
}
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import { IFormField } from "../../interfaces/form-field";
|
|
2
2
|
import { FileModel } from "../../../../../models/models/file";
|
|
3
3
|
import { AutoFormConfig } from '../../interfaces/auto-form.interfaces';
|
|
4
|
+
import { AuthenticationService } from "../../../../services";
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class FormFieldFileShowComponent {
|
|
7
|
+
private platformId;
|
|
8
|
+
private authenticationService;
|
|
6
9
|
config: AutoFormConfig;
|
|
7
10
|
fieldData: IFormField;
|
|
8
11
|
value: FileModel;
|
|
12
|
+
constructor(platformId: Object, authenticationService: AuthenticationService);
|
|
13
|
+
downloadFileHandler(): void;
|
|
9
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldFileShowComponent, never>;
|
|
10
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldFileShowComponent, "shared-form-field-file-show", never, { "config": { "alias": "config"; "required": false; }; "fieldData": { "alias": "fieldData"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
|
|
11
16
|
}
|
package/lib/core/components/auto-form/components/form-field-rating/form-field-rating.component.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
2
|
+
import { IFormField } from "../../interfaces/form-field";
|
|
3
|
+
import { AutoFormConfig } from '../../interfaces/auto-form.interfaces';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FormFieldRatingComponent {
|
|
6
|
+
config: AutoFormConfig;
|
|
7
|
+
fieldData: IFormField;
|
|
8
|
+
form: UntypedFormGroup;
|
|
9
|
+
options: any[];
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldRatingComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldRatingComponent, "shared-form-field-rating", never, { "config": { "alias": "config"; "required": false; }; "fieldData": { "alias": "fieldData"; "required": false; }; "form": { "alias": "form"; "required": false; }; }, {}, never, never, false, never>;
|
|
12
|
+
}
|
package/lib/core/components/auto-form/components/form-field-select/form-field-select.component.d.ts
CHANGED
|
@@ -1,19 +1,26 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, OnChanges, OnDestroy, OnInit, SimpleChanges, Type } from '@angular/core';
|
|
2
2
|
import { FormControl, UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { Store } from '@ngrx/store';
|
|
4
4
|
import { IFormField } from '../../interfaces/form-field';
|
|
5
5
|
import { SharedState } from '../../../../+state';
|
|
6
6
|
import { AutoCompleteField, AutoFormConfig } from '../../interfaces/auto-form.interfaces';
|
|
7
7
|
import { StaticDataFacade } from "../../../../+state/static-data/static-data.facade";
|
|
8
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
9
|
+
import { AppConfig } from "../../../../../models";
|
|
10
|
+
import { MatCheckboxChange } from "@angular/material/checkbox";
|
|
8
11
|
import * as i0 from "@angular/core";
|
|
9
12
|
interface Option {
|
|
10
|
-
id:
|
|
13
|
+
id: string;
|
|
11
14
|
name: string;
|
|
12
15
|
}
|
|
13
16
|
export declare class FormFieldSelectComponent implements OnInit, OnChanges, OnDestroy {
|
|
17
|
+
private appConfig;
|
|
14
18
|
protected store: Store<SharedState>;
|
|
15
19
|
private staticDataFacade;
|
|
20
|
+
private dialog;
|
|
16
21
|
private cd;
|
|
22
|
+
private createNewDialog;
|
|
23
|
+
private createNewDynamicFormDialog;
|
|
17
24
|
config: AutoFormConfig;
|
|
18
25
|
fieldData: IFormField;
|
|
19
26
|
form: UntypedFormGroup;
|
|
@@ -30,10 +37,21 @@ export declare class FormFieldSelectComponent implements OnInit, OnChanges, OnDe
|
|
|
30
37
|
private destroy$;
|
|
31
38
|
searchValue: string;
|
|
32
39
|
storeSubList: string;
|
|
33
|
-
|
|
40
|
+
selectedItem: import("@angular/core").WritableSignal<{
|
|
41
|
+
id: string;
|
|
42
|
+
name: string;
|
|
43
|
+
}>;
|
|
44
|
+
constructor(appConfig: AppConfig, store: Store<SharedState>, staticDataFacade: StaticDataFacade, dialog: MatDialog, cd: ChangeDetectorRef, createNewDialog: Type<any>, createNewDynamicFormDialog: Type<any>);
|
|
34
45
|
ngOnInit(): void;
|
|
35
46
|
ngOnDestroy(): void;
|
|
36
47
|
ngOnChanges(changes: SimpleChanges): void;
|
|
48
|
+
checkActiveCheckBox(valueId: string): boolean;
|
|
49
|
+
changeCheckbox(event: MatCheckboxChange, data: {
|
|
50
|
+
id: string;
|
|
51
|
+
name: string;
|
|
52
|
+
}): void;
|
|
53
|
+
private setSelectedItem;
|
|
54
|
+
addNewClick(): void;
|
|
37
55
|
private subscribeToSearchChange;
|
|
38
56
|
/**
|
|
39
57
|
* Subscribe to the form changes for field with the property 'subscribeToFormChanges'
|
|
@@ -49,7 +67,7 @@ export declare class FormFieldSelectComponent implements OnInit, OnChanges, OnDe
|
|
|
49
67
|
private groupItemsByNestedField;
|
|
50
68
|
private groupItemsByNestedFieldRecursion;
|
|
51
69
|
private sortOptionItemsByName;
|
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldSelectComponent,
|
|
70
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldSelectComponent, [null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
53
71
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldSelectComponent, "shared-form-field-select", never, { "config": { "alias": "config"; "required": false; }; "fieldData": { "alias": "fieldData"; "required": false; }; "form": { "alias": "form"; "required": false; }; "autoCompleteFields": { "alias": "autoCompleteFields"; "required": false; }; }, {}, never, never, false, never>;
|
|
54
72
|
}
|
|
55
73
|
export {};
|
|
@@ -19,6 +19,7 @@ export declare class FormFieldSelectShowComponent implements OnInit, OnChanges,
|
|
|
19
19
|
ngOnDestroy(): void;
|
|
20
20
|
ngOnChanges(changes: SimpleChanges): void;
|
|
21
21
|
private getItemsFromStore;
|
|
22
|
+
private getItemsFromFieldSettings;
|
|
22
23
|
trackById(index: number, item: any): Number | undefined;
|
|
23
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldSelectShowComponent, never>;
|
|
24
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldSelectShowComponent, "shared-form-field-select-show", never, { "config": { "alias": "config"; "required": false; }; "fieldData": { "alias": "fieldData"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
|
package/lib/core/components/auto-form/containers/auto-form-main/auto-form-main.component.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export declare class AutoFormMainComponent implements OnInit, OnDestroy, OnChang
|
|
|
36
36
|
};
|
|
37
37
|
entity: string;
|
|
38
38
|
havePublication: boolean;
|
|
39
|
+
autoCompleteFieldInput: AutoCompleteField[];
|
|
39
40
|
config: AutoFormConfig;
|
|
40
41
|
changed: EventEmitter<AutoFormChanged>;
|
|
41
42
|
formCompleted: EventEmitter<{
|
|
@@ -81,6 +82,6 @@ export declare class AutoFormMainComponent implements OnInit, OnDestroy, OnChang
|
|
|
81
82
|
private preLoadSections;
|
|
82
83
|
protected readonly fieldTypes: typeof FieldType;
|
|
83
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutoFormMainComponent, never>;
|
|
84
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutoFormMainComponent, "shared-auto-form", never, { "fields": { "alias": "fields"; "required": true; }; "itemId": { "alias": "itemId"; "required": false; }; "formId": { "alias": "formId"; "required": false; }; "showPublicationMessages": { "alias": "showPublicationMessages"; "required": false; }; "useEntityPermissions": { "alias": "useEntityPermissions"; "required": false; }; "showProgressBar": { "alias": "showProgressBar"; "required": false; }; "showFormMessageBox": { "alias": "showFormMessageBox"; "required": false; }; "form": { "alias": "form"; "required": true; }; "editorImageUploadUrl": { "alias": "editorImageUploadUrl"; "required": false; }; "errorMessageTexts": { "alias": "errorMessageTexts"; "required": false; }; "entity": { "alias": "entity"; "required": true; }; "havePublication": { "alias": "havePublication"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, { "changed": "changed"; "formCompleted": "formCompleted"; }, never, ["[submitButton]"], false, never>;
|
|
85
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutoFormMainComponent, "shared-auto-form", never, { "fields": { "alias": "fields"; "required": true; }; "itemId": { "alias": "itemId"; "required": false; }; "formId": { "alias": "formId"; "required": false; }; "showPublicationMessages": { "alias": "showPublicationMessages"; "required": false; }; "useEntityPermissions": { "alias": "useEntityPermissions"; "required": false; }; "showProgressBar": { "alias": "showProgressBar"; "required": false; }; "showFormMessageBox": { "alias": "showFormMessageBox"; "required": false; }; "form": { "alias": "form"; "required": true; }; "editorImageUploadUrl": { "alias": "editorImageUploadUrl"; "required": false; }; "errorMessageTexts": { "alias": "errorMessageTexts"; "required": false; }; "entity": { "alias": "entity"; "required": true; }; "havePublication": { "alias": "havePublication"; "required": false; }; "autoCompleteFieldInput": { "alias": "autoCompleteFieldInput"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, { "changed": "changed"; "formCompleted": "formCompleted"; }, never, ["[submitButton]"], false, never>;
|
|
85
86
|
static ngAcceptInputType_itemId: unknown;
|
|
86
87
|
}
|
package/lib/core/components/auto-form/containers/auto-form-show/auto-form-show.component.d.ts
CHANGED
|
@@ -3,9 +3,11 @@ import { IFormField } from "../../interfaces/form-field";
|
|
|
3
3
|
import { AutoFormShowValue } from "../../constants/auto-form-show-value";
|
|
4
4
|
import { AutoFormConfig } from '../../interfaces/auto-form.interfaces';
|
|
5
5
|
import { StaticDataSection } from "../../../static-data/interfaces/static-data.interface";
|
|
6
|
+
import { StaticDataServiceService } from "../../../static-data/services/static-data.service.service";
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class AutoFormShowComponent implements OnInit, OnChanges {
|
|
8
9
|
protected cd: ChangeDetectorRef;
|
|
10
|
+
private staticDataServiceService;
|
|
9
11
|
fields: IFormField[];
|
|
10
12
|
data: {
|
|
11
13
|
[field: string]: AutoFormShowValue;
|
|
@@ -15,15 +17,22 @@ export declare class AutoFormShowComponent implements OnInit, OnChanges {
|
|
|
15
17
|
entitySection: StaticDataSection;
|
|
16
18
|
config: AutoFormConfig;
|
|
17
19
|
value: any;
|
|
18
|
-
groupedFields: {
|
|
20
|
+
groupedFields: import("@angular/core").WritableSignal<{
|
|
19
21
|
[key: string]: IFormField[];
|
|
20
|
-
}
|
|
22
|
+
}>;
|
|
21
23
|
fieldGrouped: boolean;
|
|
22
24
|
object_: ObjectConstructor;
|
|
23
|
-
|
|
25
|
+
allFields: IFormField[];
|
|
26
|
+
dynamicFormFields: IFormField[];
|
|
27
|
+
loading: import("@angular/core").WritableSignal<boolean>;
|
|
28
|
+
allData: {
|
|
29
|
+
[field: string]: AutoFormShowValue;
|
|
30
|
+
};
|
|
31
|
+
constructor(cd: ChangeDetectorRef, staticDataServiceService: StaticDataServiceService);
|
|
24
32
|
ngOnInit(): void;
|
|
25
|
-
ngOnChanges(changes: SimpleChanges): void
|
|
33
|
+
ngOnChanges(changes: SimpleChanges): Promise<void>;
|
|
26
34
|
truckByFieldName(index: number, item: any): any;
|
|
35
|
+
private preparingFields;
|
|
27
36
|
private groupFields;
|
|
28
37
|
getFormFieldClass(data: IFormField): string;
|
|
29
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutoFormShowComponent, never>;
|
|
@@ -51,7 +51,7 @@ export declare class FormFieldComponent implements OnInit, OnDestroy {
|
|
|
51
51
|
fieldActionHandler(data: any): void;
|
|
52
52
|
openHintDialog(hint: string): void;
|
|
53
53
|
private setComponentInjector;
|
|
54
|
-
private
|
|
54
|
+
private subscribeToFormChange;
|
|
55
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
|
|
56
56
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "shared-form-field", never, { "fields": { "alias": "fields"; "required": false; }; "formData": { "alias": "formData"; "required": false; }; "config": { "alias": "config"; "required": false; }; "fieldData": { "alias": "fieldData"; "required": false; }; "itemId": { "alias": "itemId"; "required": false; }; "form": { "alias": "form"; "required": false; }; "editorImageUploadUrl": { "alias": "editorImageUploadUrl"; "required": false; }; "errorMessageTexts": { "alias": "errorMessageTexts"; "required": false; }; "entity": { "alias": "entity"; "required": false; }; "publicationMessages": { "alias": "publicationMessages"; "required": false; }; "entityTypeUserRoleRights": { "alias": "entityTypeUserRoleRights"; "required": false; }; "autoCompleteFields": { "alias": "autoCompleteFields"; "required": false; }; "entityPermissionUpdateDanyFields": { "alias": "entityPermissionUpdateDanyFields"; "required": false; }; }, { "eventUpdateForm": "eventUpdateForm"; "eventSendAction": "eventSendAction"; }, never, never, false, never>;
|
|
57
57
|
}
|
|
@@ -2,13 +2,14 @@ import { IFormFieldFormat } from './form-field-format';
|
|
|
2
2
|
import { IFormFieldOption } from './form-field-option';
|
|
3
3
|
import { StaticDataModel } from "../../../../models";
|
|
4
4
|
export interface IFormFieldSubscribeToFormChanges {
|
|
5
|
-
relatedField
|
|
6
|
-
currentFieldProperty
|
|
7
|
-
emptyTitle
|
|
5
|
+
relatedField?: string;
|
|
6
|
+
currentFieldProperty?: string;
|
|
7
|
+
emptyTitle?: string;
|
|
8
8
|
loadOptionsParameters?: {
|
|
9
9
|
entity: string;
|
|
10
10
|
filteredField: string;
|
|
11
11
|
};
|
|
12
|
+
handleChanges?: (form: any, currentField: string) => void;
|
|
12
13
|
}
|
|
13
14
|
export interface IFormFieldOptionsValidationsValue {
|
|
14
15
|
type?: string;
|
|
@@ -41,8 +42,10 @@ export interface IFormFieldOptions {
|
|
|
41
42
|
notEditable?: boolean;
|
|
42
43
|
notSave?: boolean;
|
|
43
44
|
selectOptions?: IFormFieldOption[];
|
|
45
|
+
selectShowAllOptions?: boolean;
|
|
44
46
|
multiple?: boolean;
|
|
45
47
|
hide?: boolean;
|
|
48
|
+
loadOptionsAllStaticDataTypes?: boolean;
|
|
46
49
|
loadOptionFromStore?: string;
|
|
47
50
|
loadOptionFromStoreGetItems?: (items: StaticDataModel[]) => {
|
|
48
51
|
id: number;
|
|
@@ -93,5 +96,11 @@ export interface IFormFieldOptions {
|
|
|
93
96
|
relationToEntity?: {
|
|
94
97
|
isDynamicForm: boolean;
|
|
95
98
|
entity?: string;
|
|
99
|
+
isPossibleCreateNew?: boolean;
|
|
100
|
+
};
|
|
101
|
+
fileSettings?: {
|
|
102
|
+
isImage?: boolean;
|
|
103
|
+
sizeLimit?: number;
|
|
104
|
+
allowedExtensions?: string;
|
|
96
105
|
};
|
|
97
106
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FileListMode, IFilesOrders } from "../constants";
|
|
3
|
-
import { FileUpdateModel } from "../../../../models/models/file";
|
|
3
|
+
import { FileUpdateModel } from "../../../../models/models/file/file-model";
|
|
4
4
|
import { RequestStatus } from "../../../../models/models/request.model";
|
|
5
|
-
import { FilesFacade } from "../../../+state/files";
|
|
6
|
-
import { RequestsFacade } from "../../../+state/requests";
|
|
5
|
+
import { FilesFacade } from "../../../+state/files/files.facade";
|
|
6
|
+
import { RequestsFacade } from "../../../+state/requests/requests.facade";
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class FilesUploadComponent implements OnInit, OnDestroy {
|
|
9
9
|
private filesFacade;
|
|
@@ -4,6 +4,7 @@ export * from './auto-form/auto-form.module';
|
|
|
4
4
|
export * from './auto-form/containers/auto-form-main/auto-form-main.component';
|
|
5
5
|
export * from './auto-form/containers/auto-form-show/auto-form-show.component';
|
|
6
6
|
export * from './auto-form/interfaces/field-type';
|
|
7
|
+
export * from './auto-form/interfaces/dynamic-form-question-type';
|
|
7
8
|
export * from './auto-form/interfaces/form-field';
|
|
8
9
|
export * from './auto-form/interfaces/form-field-format';
|
|
9
10
|
export * from './auto-form/interfaces/auto-form.interfaces';
|
|
@@ -17,6 +18,7 @@ export * from './static-data/interfaces/static-data.interface';
|
|
|
17
18
|
export * from './static-data/interfaces/component-input-data.interface';
|
|
18
19
|
export * from './static-data/static-data.module';
|
|
19
20
|
export * from './static-data/containers/static-data-view/static-data-view.component';
|
|
21
|
+
export * from './static-data/containers/static-data-details/static-data-details.component';
|
|
20
22
|
export * from './chips-input/chips-input.module';
|
|
21
23
|
export * from './chips-input/chips-input.component';
|
|
22
24
|
export * from './files-upload/files-upload.module';
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { AutoFormConfig } from '../auto-form/interfaces/auto-form.interfaces';
|
|
3
|
+
import { IFormField } from "../auto-form/interfaces/form-field";
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export type StarRatingSizes = 'normal' | 'big';
|
|
5
6
|
export declare class StarRatingComponent implements OnInit {
|
|
7
|
+
fieldData: IFormField;
|
|
6
8
|
rating: number;
|
|
7
9
|
size: StarRatingSizes;
|
|
8
10
|
config: AutoFormConfig;
|
|
9
|
-
arrayList:
|
|
11
|
+
arrayList: any[];
|
|
10
12
|
constructor();
|
|
11
13
|
ngOnInit(): void;
|
|
12
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<StarRatingComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StarRatingComponent, "shared-star-rating", never, { "rating": { "alias": "rating"; "required": false; }; "size": { "alias": "size"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StarRatingComponent, "shared-star-rating", never, { "fieldData": { "alias": "fieldData"; "required": false; }; "rating": { "alias": "rating"; "required": false; }; "size": { "alias": "size"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
|
|
14
16
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./star-rating.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/icon";
|
|
4
5
|
export declare class StarRatingModule {
|
|
5
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<StarRatingModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<StarRatingModule, [typeof i1.StarRatingComponent], [typeof i2.CommonModule], [typeof i1.StarRatingComponent]>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StarRatingModule, [typeof i1.StarRatingComponent], [typeof i2.CommonModule, typeof i3.MatIcon], [typeof i1.StarRatingComponent]>;
|
|
7
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<StarRatingModule>;
|
|
8
9
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class StaticDataCreateNewDialogComponent implements OnInit {
|
|
4
|
+
data: {
|
|
5
|
+
options: any;
|
|
6
|
+
};
|
|
7
|
+
private dialogRef;
|
|
8
|
+
constructor(data: {
|
|
9
|
+
options: any;
|
|
10
|
+
});
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
onNoClick(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StaticDataCreateNewDialogComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StaticDataCreateNewDialogComponent, "app-static-data-create-new-dialog", never, {}, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { UntypedFormGroup } from "@angular/forms";
|
|
3
|
+
import { StaticDataListComponentModes } from "../../interfaces/static-data.interface";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class StaticDataCreateNewDynamicFormDialogComponent implements OnInit {
|
|
6
|
+
data: {
|
|
7
|
+
options: any;
|
|
8
|
+
};
|
|
9
|
+
private dialogRef;
|
|
10
|
+
form: UntypedFormGroup;
|
|
11
|
+
dynamicFormsEntity: string;
|
|
12
|
+
constructor(data: {
|
|
13
|
+
options: any;
|
|
14
|
+
});
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
onNoClick(): void;
|
|
17
|
+
onSelectItem(data: {
|
|
18
|
+
id: string;
|
|
19
|
+
name: string;
|
|
20
|
+
}): void;
|
|
21
|
+
protected readonly StaticDataListComponentModes: typeof StaticDataListComponentModes;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StaticDataCreateNewDynamicFormDialogComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StaticDataCreateNewDynamicFormDialogComponent, "app-static-data-create-new-dynamic-form-dialog", never, {}, {}, never, never, true, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { UntypedFormGroup } from "@angular/forms";
|
|
3
|
+
import { StaticDataListComponentModes } from "../../interfaces/static-data.interface";
|
|
4
|
+
import { AutoCompleteField } from "../../../auto-form/interfaces/auto-form.interfaces";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class StaticDataCreateNewItemDialogComponent implements OnInit {
|
|
7
|
+
data: {
|
|
8
|
+
entity: string;
|
|
9
|
+
entityId: any;
|
|
10
|
+
autoCompleteFields: AutoCompleteField[];
|
|
11
|
+
};
|
|
12
|
+
private dialogRef;
|
|
13
|
+
form: UntypedFormGroup;
|
|
14
|
+
formId: string;
|
|
15
|
+
constructor(data: {
|
|
16
|
+
entity: string;
|
|
17
|
+
entityId: any;
|
|
18
|
+
autoCompleteFields: AutoCompleteField[];
|
|
19
|
+
});
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
closePopupHandel(): void;
|
|
22
|
+
onNoClick(): void;
|
|
23
|
+
protected readonly StaticDataListComponentModes: typeof StaticDataListComponentModes;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StaticDataCreateNewItemDialogComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StaticDataCreateNewItemDialogComponent, "app-static-data-create-new-item-dialog", never, {}, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, Type } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { MatSort } from '@angular/material/sort';
|
|
4
4
|
import { MatPaginator } from '@angular/material/paginator';
|
|
5
5
|
import { MatDialog } from '@angular/material/dialog';
|
|
6
|
-
import { FieldsOnListPage, StaticDataSection, StaticDataSections, SubEntity, SubEntityAutoCompleteField } from '../../interfaces/static-data.interface';
|
|
6
|
+
import { FieldsOnListPage, StaticDataListComponentModes, StaticDataSection, StaticDataSections, SubEntity, SubEntityAutoCompleteField } from '../../interfaces/static-data.interface';
|
|
7
7
|
import { StaticDataMeta } from '../../../../+state/static-data/static-data.reducer';
|
|
8
|
-
import { StaticDataModel } from '../../../../../models';
|
|
8
|
+
import { AppConfig, StaticDataModel } from '../../../../../models';
|
|
9
9
|
import { RightService } from '../../../../services/right-service';
|
|
10
10
|
import { StaticDataFacade } from '../../../../+state/static-data/static-data.facade';
|
|
11
11
|
import { RouterFacade } from '../../../../+state/router/router.facade';
|
|
@@ -20,6 +20,10 @@ export declare class StaticDataListItemsComponent implements OnInit, OnDestroy,
|
|
|
20
20
|
private staticDataFacade;
|
|
21
21
|
private changeDetectorRef;
|
|
22
22
|
private routerFacade;
|
|
23
|
+
private createNewDialog;
|
|
24
|
+
private config;
|
|
25
|
+
mode: StaticDataListComponentModes;
|
|
26
|
+
selectIsRequired: boolean;
|
|
23
27
|
staticDataConfiguration: StaticDataSections;
|
|
24
28
|
viewMode: boolean;
|
|
25
29
|
contentType: string;
|
|
@@ -38,6 +42,10 @@ export declare class StaticDataListItemsComponent implements OnInit, OnDestroy,
|
|
|
38
42
|
subEntity: SubEntity;
|
|
39
43
|
leftBlockFilterParamData: any;
|
|
40
44
|
defaultLanguageId: number;
|
|
45
|
+
selectingItem: EventEmitter<{
|
|
46
|
+
id: string;
|
|
47
|
+
name: string;
|
|
48
|
+
}>;
|
|
41
49
|
paginator: MatPaginator;
|
|
42
50
|
sort: MatSort;
|
|
43
51
|
searchInput: ElementRef;
|
|
@@ -72,7 +80,7 @@ export declare class StaticDataListItemsComponent implements OnInit, OnDestroy,
|
|
|
72
80
|
title: string;
|
|
73
81
|
}[];
|
|
74
82
|
defaultFieldsList: FieldsOnListPage[];
|
|
75
|
-
constructor(platformId: Object, dialog: MatDialog, rightService: RightService, staticDataFacade: StaticDataFacade, changeDetectorRef: ChangeDetectorRef, routerFacade: RouterFacade);
|
|
83
|
+
constructor(platformId: Object, dialog: MatDialog, rightService: RightService, staticDataFacade: StaticDataFacade, changeDetectorRef: ChangeDetectorRef, routerFacade: RouterFacade, createNewDialog: Type<any>, config: AppConfig);
|
|
76
84
|
ngOnInit(): void;
|
|
77
85
|
ngOnDestroy(): void;
|
|
78
86
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -90,7 +98,12 @@ export declare class StaticDataListItemsComponent implements OnInit, OnDestroy,
|
|
|
90
98
|
};
|
|
91
99
|
}): void;
|
|
92
100
|
preparingQueryParams(): void;
|
|
93
|
-
private
|
|
101
|
+
private getAutoCompleteFieldsWithValue;
|
|
102
|
+
loadData(): void;
|
|
103
|
+
selectItemHandle(data: {
|
|
104
|
+
id: string;
|
|
105
|
+
name: string;
|
|
106
|
+
}): void;
|
|
94
107
|
changedFilterHandler(newFilterOptions: {
|
|
95
108
|
value: {
|
|
96
109
|
[key: string]: number | string;
|
|
@@ -109,6 +122,6 @@ export declare class StaticDataListItemsComponent implements OnInit, OnDestroy,
|
|
|
109
122
|
private preLoadSections;
|
|
110
123
|
deleteEvent(item: StaticDataModel): void;
|
|
111
124
|
changePage(data: any): void;
|
|
112
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StaticDataListItemsComponent,
|
|
113
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StaticDataListItemsComponent, "app-static-data-list-items", never, { "staticDataConfiguration": { "alias": "staticDataConfiguration"; "required": false; }; "viewMode": { "alias": "viewMode"; "required": false; }; "contentType": { "alias": "contentType"; "required": false; }; "customTitle": { "alias": "customTitle"; "required": false; }; "addTitle": { "alias": "addTitle"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "parentSection": { "alias": "parentSection"; "required": false; }; "parentItemId": { "alias": "parentItemId"; "required": false; }; "showPanelHeader": { "alias": "showPanelHeader"; "required": false; }; "parentData": { "alias": "parentData"; "required": false; }; "parentSectionHashtag": { "alias": "parentSectionHashtag"; "required": false; }; "autoCompleteFields": { "alias": "autoCompleteFields"; "required": false; }; "filteringQuery": { "alias": "filteringQuery"; "required": false; }; "subEntity": { "alias": "subEntity"; "required": false; }; "leftBlockFilterParamData": { "alias": "leftBlockFilterParamData"; "required": false; }; "defaultLanguageId": { "alias": "defaultLanguageId"; "required": false; }; }, {}, never, never, true, never>;
|
|
125
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StaticDataListItemsComponent, [null, null, null, null, null, null, { optional: true; }, null]>;
|
|
126
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StaticDataListItemsComponent, "app-static-data-list-items", never, { "mode": { "alias": "mode"; "required": false; }; "selectIsRequired": { "alias": "selectIsRequired"; "required": false; }; "staticDataConfiguration": { "alias": "staticDataConfiguration"; "required": false; }; "viewMode": { "alias": "viewMode"; "required": false; }; "contentType": { "alias": "contentType"; "required": false; }; "customTitle": { "alias": "customTitle"; "required": false; }; "addTitle": { "alias": "addTitle"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "parentSection": { "alias": "parentSection"; "required": false; }; "parentItemId": { "alias": "parentItemId"; "required": false; }; "showPanelHeader": { "alias": "showPanelHeader"; "required": false; }; "parentData": { "alias": "parentData"; "required": false; }; "parentSectionHashtag": { "alias": "parentSectionHashtag"; "required": false; }; "autoCompleteFields": { "alias": "autoCompleteFields"; "required": false; }; "filteringQuery": { "alias": "filteringQuery"; "required": false; }; "subEntity": { "alias": "subEntity"; "required": false; }; "leftBlockFilterParamData": { "alias": "leftBlockFilterParamData"; "required": false; }; "defaultLanguageId": { "alias": "defaultLanguageId"; "required": false; }; }, { "selectingItem": "selectingItem"; }, never, never, true, never>;
|
|
114
127
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { StaticDataModel } from "../../../../../models";
|
|
3
|
+
import { StaticDataListComponentModes } from "../../interfaces/static-data.interface";
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class ViewStaticDataDetailsDialogComponent implements OnInit {
|
|
5
6
|
data: {
|
|
6
7
|
itemId: number;
|
|
7
8
|
contentType: string;
|
|
8
|
-
sectionFields: any;
|
|
9
|
-
staticSection: any;
|
|
10
9
|
itemData: any;
|
|
11
10
|
};
|
|
12
11
|
contentType: string;
|
|
@@ -19,12 +18,11 @@ export declare class ViewStaticDataDetailsDialogComponent implements OnInit {
|
|
|
19
18
|
constructor(data: {
|
|
20
19
|
itemId: number;
|
|
21
20
|
contentType: string;
|
|
22
|
-
sectionFields: any;
|
|
23
|
-
staticSection: any;
|
|
24
21
|
itemData: any;
|
|
25
22
|
});
|
|
26
23
|
ngOnInit(): void;
|
|
27
24
|
onNoClick(): void;
|
|
25
|
+
protected readonly StaticDataListComponentModes: typeof StaticDataListComponentModes;
|
|
28
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<ViewStaticDataDetailsDialogComponent, never>;
|
|
29
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<ViewStaticDataDetailsDialogComponent, "app-view-static-data-details-dialog", never, {}, {}, never, never, true, never>;
|
|
30
28
|
}
|