wt-front-shared 1.0.91 → 1.0.93

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.
@@ -0,0 +1,40 @@
1
+ import { ChangeDetectionStrategy, Component, Inject } from '@angular/core';
2
+ import { MAT_DIALOG_DATA } from "@angular/material/dialog";
3
+ import { appearFromRightWithDelay } from "../../animations/appearFromRightWithDelay";
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@angular/material/dialog";
6
+ import * as i2 from "@angular/common";
7
+ import * as i3 from "@angular/material/button";
8
+ export class SelectDialogComponent {
9
+ constructor(dialogRef, data) {
10
+ this.dialogRef = dialogRef;
11
+ this.data = data;
12
+ this.sizeValues = {
13
+ big: 'big',
14
+ middle: 'middle',
15
+ small: 'small'
16
+ };
17
+ this.typesValues = {
18
+ success: 'success',
19
+ error: 'error',
20
+ info: 'info'
21
+ };
22
+ this.showButton = true;
23
+ }
24
+ onNoClick() {
25
+ this.dialogRef.close(false);
26
+ }
27
+ onYesClick() {
28
+ this.dialogRef.close(this.selectOption);
29
+ }
30
+ }
31
+ SelectDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SelectDialogComponent, deps: [{ token: i1.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
32
+ SelectDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SelectDialogComponent, selector: "app-select-dialog", ngImport: i0, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.size-big]=\"data.size === sizeValues.big\"\n [class.size-middle]=\"data.size === sizeValues.middle\"\n [class.size-small]=\"data.size === sizeValues.small\"\n [class.style-success]=\"data.messageType === typesValues.success\"\n [class.style-error]=\"data.messageType === typesValues.error\"\n [class.style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"close-button\"\n (click)=\"onNoClick()\">\n x\n </div>\n\n <h1 class=\"mat-dialog-title\" [class.display-none]=\"!data.title\">{{ data.title }}</h1>\n <div mat-dialog-content>\n <p [innerHTML]=\"data.message\"></p>\n <div *ngIf=\"data.options?.length\">\n <div class=\"option\" *ngFor=\"let item of data.options\">\n <div class=\"option-input\">\n <input type=\"radio\"\n name=\"options\"\n [value]=\"item.id\"\n [id]=\"item.id\"\n (change)=\"selectOption = item.id\" />\n </div>\n <label [for]=\"item.id\">{{ item.title }}</label>\n </div>\n </div>\n </div>\n <div [class.display-none]=\"data.hideButton\" mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\"\n cdkFocusInitial>{{ data.falseButtonTitle || '\u041D\u0435\u0442' }}\n </button>\n <button mat-button\n [class.display-none]=\"data.hideTrueButton\"\n (click)=\"onYesClick()\"\n class=\"mat-raised-button mat-warn\">{{ data.trueButtonTitle || '\u0414\u0430' }}\n </button>\n </div>\n</div>\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-success{border-left:5px solid #4caf50;background:linear-gradient(15deg,rgba(109,207,113,.7882352941),#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,rgba(252,178,2,.5294117647),rgba(252,178,2,.031372549))}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,rgba(242,104,100,.5803921569),#f7e6e4)}.close-button{right:0;margin:-9px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.display-none{display:none}.option{display:flex;align-items:center;margin-bottom:20px}.option .option-input{margin-right:10px}.option label{margin-bottom:0}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], animations: [appearFromRightWithDelay], changeDetection: i0.ChangeDetectionStrategy.OnPush });
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SelectDialogComponent, decorators: [{
34
+ type: Component,
35
+ args: [{ selector: 'app-select-dialog', animations: [appearFromRightWithDelay], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.size-big]=\"data.size === sizeValues.big\"\n [class.size-middle]=\"data.size === sizeValues.middle\"\n [class.size-small]=\"data.size === sizeValues.small\"\n [class.style-success]=\"data.messageType === typesValues.success\"\n [class.style-error]=\"data.messageType === typesValues.error\"\n [class.style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"close-button\"\n (click)=\"onNoClick()\">\n x\n </div>\n\n <h1 class=\"mat-dialog-title\" [class.display-none]=\"!data.title\">{{ data.title }}</h1>\n <div mat-dialog-content>\n <p [innerHTML]=\"data.message\"></p>\n <div *ngIf=\"data.options?.length\">\n <div class=\"option\" *ngFor=\"let item of data.options\">\n <div class=\"option-input\">\n <input type=\"radio\"\n name=\"options\"\n [value]=\"item.id\"\n [id]=\"item.id\"\n (change)=\"selectOption = item.id\" />\n </div>\n <label [for]=\"item.id\">{{ item.title }}</label>\n </div>\n </div>\n </div>\n <div [class.display-none]=\"data.hideButton\" mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\"\n cdkFocusInitial>{{ data.falseButtonTitle || '\u041D\u0435\u0442' }}\n </button>\n <button mat-button\n [class.display-none]=\"data.hideTrueButton\"\n (click)=\"onYesClick()\"\n class=\"mat-raised-button mat-warn\">{{ data.trueButtonTitle || '\u0414\u0430' }}\n </button>\n </div>\n</div>\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-success{border-left:5px solid #4caf50;background:linear-gradient(15deg,rgba(109,207,113,.7882352941),#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,rgba(252,178,2,.5294117647),rgba(252,178,2,.031372549))}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,rgba(242,104,100,.5803921569),#f7e6e4)}.close-button{right:0;margin:-9px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.display-none{display:none}.option{display:flex;align-items:center;margin-bottom:20px}.option .option-input{margin-right:10px}.option label{margin-bottom:0}\n"] }]
36
+ }], ctorParameters: function () { return [{ type: i1.MatDialogRef }, { type: undefined, decorators: [{
37
+ type: Inject,
38
+ args: [MAT_DIALOG_DATA]
39
+ }] }]; } });
40
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LWRpYWxvZy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy93dC1mcm9udC1zaGFyZWQvc3JjL2xpYi9jb3JlL2RpYWxvZ3Mvc2VsZWN0LWRpYWxvZy9zZWxlY3QtZGlhbG9nLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3d0LWZyb250LXNoYXJlZC9zcmMvbGliL2NvcmUvZGlhbG9ncy9zZWxlY3QtZGlhbG9nL3NlbGVjdC1kaWFsb2cuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF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9uc1wiXG4gICAgICAgICAgICAgICAgIFt2YWx1ZV09XCJpdGVtLmlkXCJcbiAgICAgICAgICAgICAgICAgW2lkXT1cIml0ZW0uaWRcIlxuICAgICAgICAgICAgICAgICAoY2hhbmdlKT1cInNlbGVjdE9wdGlvbiA9IGl0ZW0uaWRcIiAvPlxuICAgICAgICA8L2Rpdj5cbiAgICAgICAgPGxhYmVsIFtmb3JdPVwiaXRlbS5pZFwiPnt7IGl0ZW0udGl0bGUgfX08L2xhYmVsPlxuICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuICA8ZGl2IFtjbGFzcy5kaXNwbGF5LW5vbmVdPVwiZGF0YS5oaWRlQnV0dG9uXCIgbWF0LWRpYWxvZy1hY3Rpb25zIGNsYXNzPVwidGV4dC1hbGlnbi1jZW50ZXIgbXQtMjBcIj5cbiAgICA8YnV0dG9uIG1hdC1idXR0b24gKGNsaWNrKT1cIm9uTm9DbGljaygpXCJcbiAgICAgICAgICAgIGNsYXNzPVwibWF0LXJhaXNlZC1idXR0b24gbXItMTBcIlxuICAgICAgICAgICAgY2RrRm9jdXNJbml0aWFsPnt7IGRhdGEuZmFsc2VCdXR0b25UaXRsZSB8fCAn0J3QtdGCJyB9fVxuICAgIDwvYnV0dG9uPlxuICAgIDxidXR0b24gbWF0LWJ1dHRvblxuICAgICAgICAgICAgW2NsYXNzLmRpc3BsYXktbm9uZV09XCJkYXRhLmhpZGVUcnVlQnV0dG9uXCJcbiAgICAgICAgICAgIChjbGljayk9XCJvblllc0NsaWNrKClcIlxuICAgICAgICAgICAgY2xhc3M9XCJtYXQtcmFpc2VkLWJ1dHRvbiBtYXQtd2FyblwiPnt7IGRhdGEudHJ1ZUJ1dHRvblRpdGxlIHx8ICfQlNCwJyB9fVxuICAgIDwvYnV0dG9uPlxuICA8L2Rpdj5cbjwvZGl2PlxuIl19
@@ -64,6 +64,7 @@ export * from './lib/core/models/meta-data.model';
64
64
  // dialogs
65
65
  export * from './lib/core/dialogs/index';
66
66
  export * from './lib/core/dialogs/common-dialog/common-dialog.component';
67
+ export * from './lib/core/dialogs/select-dialog/select-dialog.component';
67
68
  export * from './lib/core/dialogs/dialog.service';
68
69
  export * from './lib/core/dialogs/delete/delete.component';
69
70
  // animations
@@ -79,4 +80,4 @@ export * from './lib/core/tokens/index';
79
80
  // components
80
81
  export * from './lib/core/interceptors/headers.interceptor';
81
82
  export * from './lib/core/interceptors/jwt.interceptor';
82
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL3d0LWZyb250LXNoYXJlZC9zcmMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsOEJBQThCLENBQUM7QUFFN0MsY0FBYyxpREFBaUQsQ0FBQztBQUVoRSxTQUFTO0FBQ1QsY0FBYyw4QkFBOEIsQ0FBQztBQUM3QyxjQUFjLHNCQUFzQixDQUFDO0FBRXJDLFNBQVM7QUFDVCxjQUFjLHlCQUF5QixDQUFDO0FBRXhDLGNBQWMsK0JBQStCLENBQUM7QUFDOUMsY0FBYyxnQ0FBZ0MsQ0FBQztBQUMvQyxjQUFjLGtDQUFrQyxDQUFDO0FBQ2pELGNBQWMsa0NBQWtDLENBQUM7QUFFakQsY0FBYyxzQ0FBc0MsQ0FBQztBQUNyRCxjQUFjLHVDQUF1QyxDQUFDO0FBQ3RELGNBQWMsdUNBQXVDLENBQUM7QUFDdEQsY0FBYyx1Q0FBdUMsQ0FBQztBQUN0RCxjQUFjLHlDQUF5QyxDQUFDO0FBRXhELGNBQWMsNENBQTRDLENBQUM7QUFDM0QsY0FBYyw2Q0FBNkMsQ0FBQztBQUM1RCxjQUFjLDZDQUE2QyxDQUFDO0FBQzVELGNBQWMsK0NBQStDLENBQUM7QUFFOUQs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type: Injectable
7150
7150
  }], ctorParameters: function () { return [{ type: i1$4.MatDialog }]; } });
7151
7151
 
7152
+ class SelectDialogComponent {
7153
+ constructor(dialogRef, data) {
7154
+ this.dialogRef = dialogRef;
7155
+ this.data = data;
7156
+ this.sizeValues = {
7157
+ big: 'big',
7158
+ middle: 'middle',
7159
+ small: 'small'
7160
+ };
7161
+ this.typesValues = {
7162
+ success: 'success',
7163
+ error: 'error',
7164
+ info: 'info'
7165
+ };
7166
+ this.showButton = true;
7167
+ }
7168
+ onNoClick() {
7169
+ this.dialogRef.close(false);
7170
+ }
7171
+ onYesClick() {
7172
+ this.dialogRef.close(this.selectOption);
7173
+ }
7174
+ }
7175
+ SelectDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SelectDialogComponent, deps: [{ token: i1$4.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
7176
+ SelectDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SelectDialogComponent, selector: "app-select-dialog", ngImport: i0, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.size-big]=\"data.size === sizeValues.big\"\n [class.size-middle]=\"data.size === sizeValues.middle\"\n [class.size-small]=\"data.size === sizeValues.small\"\n [class.style-success]=\"data.messageType === typesValues.success\"\n [class.style-error]=\"data.messageType === typesValues.error\"\n [class.style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"close-button\"\n (click)=\"onNoClick()\">\n x\n </div>\n\n <h1 class=\"mat-dialog-title\" [class.display-none]=\"!data.title\">{{ data.title }}</h1>\n <div mat-dialog-content>\n <p [innerHTML]=\"data.message\"></p>\n <div *ngIf=\"data.options?.length\">\n <div class=\"option\" *ngFor=\"let item of data.options\">\n <div class=\"option-input\">\n <input type=\"radio\"\n name=\"options\"\n [value]=\"item.id\"\n [id]=\"item.id\"\n (change)=\"selectOption = item.id\" />\n </div>\n <label [for]=\"item.id\">{{ item.title }}</label>\n </div>\n </div>\n </div>\n <div [class.display-none]=\"data.hideButton\" mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\"\n cdkFocusInitial>{{ data.falseButtonTitle || '\u041D\u0435\u0442' }}\n </button>\n <button mat-button\n [class.display-none]=\"data.hideTrueButton\"\n (click)=\"onYesClick()\"\n class=\"mat-raised-button mat-warn\">{{ data.trueButtonTitle || '\u0414\u0430' }}\n </button>\n </div>\n</div>\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-success{border-left:5px solid #4caf50;background:linear-gradient(15deg,rgba(109,207,113,.7882352941),#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,rgba(252,178,2,.5294117647),rgba(252,178,2,.031372549))}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,rgba(242,104,100,.5803921569),#f7e6e4)}.close-button{right:0;margin:-9px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.display-none{display:none}.option{display:flex;align-items:center;margin-bottom:20px}.option .option-input{margin-right:10px}.option label{margin-bottom:0}\n"], dependencies: [{ kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], animations: [appearFromRightWithDelay], changeDetection: i0.ChangeDetectionStrategy.OnPush });
7177
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SelectDialogComponent, decorators: [{
7178
+ type: Component,
7179
+ args: [{ selector: 'app-select-dialog', animations: [appearFromRightWithDelay], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.size-big]=\"data.size === sizeValues.big\"\n [class.size-middle]=\"data.size === sizeValues.middle\"\n [class.size-small]=\"data.size === sizeValues.small\"\n [class.style-success]=\"data.messageType === typesValues.success\"\n [class.style-error]=\"data.messageType === typesValues.error\"\n [class.style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"close-button\"\n (click)=\"onNoClick()\">\n x\n </div>\n\n <h1 class=\"mat-dialog-title\" [class.display-none]=\"!data.title\">{{ data.title }}</h1>\n <div mat-dialog-content>\n <p [innerHTML]=\"data.message\"></p>\n <div *ngIf=\"data.options?.length\">\n <div class=\"option\" *ngFor=\"let item of data.options\">\n <div class=\"option-input\">\n <input type=\"radio\"\n name=\"options\"\n [value]=\"item.id\"\n [id]=\"item.id\"\n (change)=\"selectOption = item.id\" />\n </div>\n <label [for]=\"item.id\">{{ item.title }}</label>\n </div>\n </div>\n </div>\n <div [class.display-none]=\"data.hideButton\" mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\"\n cdkFocusInitial>{{ data.falseButtonTitle || '\u041D\u0435\u0442' }}\n </button>\n <button mat-button\n [class.display-none]=\"data.hideTrueButton\"\n (click)=\"onYesClick()\"\n class=\"mat-raised-button mat-warn\">{{ data.trueButtonTitle || '\u0414\u0430' }}\n </button>\n </div>\n</div>\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-success{border-left:5px solid #4caf50;background:linear-gradient(15deg,rgba(109,207,113,.7882352941),#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,rgba(252,178,2,.5294117647),rgba(252,178,2,.031372549))}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,rgba(242,104,100,.5803921569),#f7e6e4)}.close-button{right:0;margin:-9px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.display-none{display:none}.option{display:flex;align-items:center;margin-bottom:20px}.option .option-input{margin-right:10px}.option label{margin-bottom:0}\n"] }]
7180
+ }], ctorParameters: function () {
7181
+ return [{ type: i1$4.MatDialogRef }, { type: undefined, decorators: [{
7182
+ type: Inject,
7183
+ args: [MAT_DIALOG_DATA]
7184
+ }] }];
7185
+ } });
7186
+
7152
7187
  class DialogsModule {
7153
7188
  }
7154
7189
  DialogsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DialogsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7155
- DialogsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: DialogsModule, declarations: [DeleteComponent, CommonDialogComponent], imports: [CommonModule,
7190
+ DialogsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: DialogsModule, declarations: [DeleteComponent,
7191
+ CommonDialogComponent,
7192
+ SelectDialogComponent], imports: [CommonModule,
7156
7193
  MatDialogModule,
7157
7194
  MatButtonModule,
7158
7195
  MatIconModule] });
@@ -7169,7 +7206,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
7169
7206
  MatButtonModule,
7170
7207
  MatIconModule,
7171
7208
  ],
7172
- declarations: [DeleteComponent, CommonDialogComponent],
7209
+ declarations: [
7210
+ DeleteComponent,
7211
+ CommonDialogComponent,
7212
+ SelectDialogComponent
7213
+ ],
7173
7214
  providers: [DialogService, MatDialog]
7174
7215
  }]
7175
7216
  }] });
@@ -11097,7 +11138,11 @@ class StaticDataDetailsComponent {
11097
11138
  this.route.data
11098
11139
  .pipe(untilComponentDestroyed(this))
11099
11140
  .subscribe(staticDataConfiguration => {
11141
+ var _a, _b;
11142
+ console.log('staticDataConfiguration', staticDataConfiguration);
11100
11143
  this.staticDataConfiguration = staticDataConfiguration === null || staticDataConfiguration === void 0 ? void 0 : staticDataConfiguration.configuration;
11144
+ this.languageList = staticDataConfiguration === null || staticDataConfiguration === void 0 ? void 0 : staticDataConfiguration.languages;
11145
+ this.defaultLanguageId = (_b = (_a = this.languageList) === null || _a === void 0 ? void 0 : _a.find(item => item.default)) === null || _b === void 0 ? void 0 : _b.id;
11101
11146
  });
11102
11147
  }
11103
11148
  subscribeToRoute() {
@@ -11106,21 +11151,22 @@ class StaticDataDetailsComponent {
11106
11151
  .subscribe((data) => {
11107
11152
  const url = data.url;
11108
11153
  const urlParams = url.split('/');
11109
- if (urlParams.length === 4) {
11154
+ if (urlParams.length >= 4) {
11110
11155
  this.init();
11111
11156
  }
11112
11157
  });
11113
11158
  }
11114
11159
  init() {
11115
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
11160
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
11116
11161
  this.itemId = +((_c = (_b = (_a = this.route) === null || _a === void 0 ? void 0 : _a.snapshot) === null || _b === void 0 ? void 0 : _b.params) === null || _c === void 0 ? void 0 : _c.id) || null;
11117
- this.parentSection = (_f = (_e = (_d = this.route) === null || _d === void 0 ? void 0 : _d.snapshot) === null || _e === void 0 ? void 0 : _e.queryParams) === null || _f === void 0 ? void 0 : _f.parentSection;
11118
- this.parentItemId = (_j = (_h = (_g = this.route) === null || _g === void 0 ? void 0 : _g.snapshot) === null || _h === void 0 ? void 0 : _h.queryParams) === null || _j === void 0 ? void 0 : _j.parentItemId;
11119
- this.parentParentHashTag = (_m = (_l = (_k = this.route) === null || _k === void 0 ? void 0 : _k.snapshot) === null || _l === void 0 ? void 0 : _l.queryParams) === null || _m === void 0 ? void 0 : _m.parentHashTag;
11120
- const urlFragment = (_p = (_o = this.route) === null || _o === void 0 ? void 0 : _o.snapshot) === null || _p === void 0 ? void 0 : _p.fragment;
11121
- this.contentType = (_s = (_r = (_q = this.route) === null || _q === void 0 ? void 0 : _q.snapshot) === null || _r === void 0 ? void 0 : _r.params) === null || _s === void 0 ? void 0 : _s.contentType;
11162
+ this.currentLanguageId = +((_f = (_e = (_d = this.route) === null || _d === void 0 ? void 0 : _d.snapshot) === null || _e === void 0 ? void 0 : _e.params) === null || _f === void 0 ? void 0 : _f.langId) || null;
11163
+ this.parentSection = (_j = (_h = (_g = this.route) === null || _g === void 0 ? void 0 : _g.snapshot) === null || _h === void 0 ? void 0 : _h.queryParams) === null || _j === void 0 ? void 0 : _j.parentSection;
11164
+ this.parentItemId = (_m = (_l = (_k = this.route) === null || _k === void 0 ? void 0 : _k.snapshot) === null || _l === void 0 ? void 0 : _l.queryParams) === null || _m === void 0 ? void 0 : _m.parentItemId;
11165
+ this.parentParentHashTag = (_q = (_p = (_o = this.route) === null || _o === void 0 ? void 0 : _o.snapshot) === null || _p === void 0 ? void 0 : _p.queryParams) === null || _q === void 0 ? void 0 : _q.parentHashTag;
11166
+ const urlFragment = (_s = (_r = this.route) === null || _r === void 0 ? void 0 : _r.snapshot) === null || _s === void 0 ? void 0 : _s.fragment;
11167
+ this.contentType = (_v = (_u = (_t = this.route) === null || _t === void 0 ? void 0 : _t.snapshot) === null || _u === void 0 ? void 0 : _u.params) === null || _v === void 0 ? void 0 : _v.contentType;
11122
11168
  this.staticSection = this.staticDataConfiguration[this.contentType];
11123
- this.staticSectionKey = ((_t = this.staticSection) === null || _t === void 0 ? void 0 : _t.key) || this.contentType;
11169
+ this.staticSectionKey = ((_w = this.staticSection) === null || _w === void 0 ? void 0 : _w.key) || this.contentType;
11124
11170
  this.formId = `static_data_${this.staticSectionKey}_${this.itemId || '*'}`;
11125
11171
  this.userRights$ = this.rightService.getUserRoleRightsForSection('static-data', this.contentType);
11126
11172
  if (this.contentType !== this.currentContentType || this.itemId !== this.currentItemId) {
@@ -11137,7 +11183,7 @@ class StaticDataDetailsComponent {
11137
11183
  }
11138
11184
  }
11139
11185
  }
11140
- if (((_u = this.staticSection.options) === null || _u === void 0 ? void 0 : _u.subEntities) && urlFragment) {
11186
+ if (((_x = this.staticSection.options) === null || _x === void 0 ? void 0 : _x.subEntities) && urlFragment) {
11141
11187
  this.staticSection.options.subEntities.forEach((item, index) => {
11142
11188
  if (item.hashTag === urlFragment) {
11143
11189
  this.activeTabIndex = index + 1;
@@ -11154,15 +11200,22 @@ class StaticDataDetailsComponent {
11154
11200
  }
11155
11201
  }
11156
11202
  staticDataSubscription() {
11203
+ var _a, _b;
11157
11204
  if (this.itemId && this.contentType) {
11158
11205
  const staticSectionKey = this.staticDataConfiguration[this.contentType].key || this.contentType;
11159
11206
  const sectionFields = this.staticSection.fields.map(item => item.field);
11160
- this.staticDataFacade.loadStaticData(staticSectionKey, {
11207
+ const loadStaticDataParams = {
11161
11208
  where: { id: this.itemId },
11162
11209
  fields: Object.assign({ fields: [...sectionFields] }, this.staticSection.embeddedFields)
11163
- });
11210
+ };
11211
+ if ((_b = (_a = this.staticSection) === null || _a === void 0 ? void 0 : _a.options) === null || _b === void 0 ? void 0 : _b.hasMultiLanguage) {
11212
+ loadStaticDataParams.where['_langId'] = this.currentLanguageId || this.defaultLanguageId;
11213
+ loadStaticDataParams.where['_langGroupId'] = this.itemId;
11214
+ }
11215
+ this.staticDataFacade.loadStaticData(staticSectionKey, loadStaticDataParams);
11164
11216
  this.staticData$ = this.staticDataFacade.getStaticDataItem$(staticSectionKey, 'list', this.itemId)
11165
11217
  .pipe(filter$1((item) => !!item), tap((item) => {
11218
+ console.log('item', item);
11166
11219
  this.form.patchValue(item);
11167
11220
  this.storedFormValues = this.form.value;
11168
11221
  }), tap((item) => {
@@ -11246,10 +11299,10 @@ class StaticDataDetailsComponent {
11246
11299
  }
11247
11300
  }
11248
11301
  StaticDataDetailsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StaticDataDetailsComponent, deps: [{ token: i6.UntypedFormBuilder }, { token: i2.Router }, { token: i2.ActivatedRoute }, { token: AutoFormService }, { token: RouterFacade }, { token: FormErrorsFacade }, { token: FormsFacade }, { token: RequestsFacade }, { token: StaticDataFacade }, { token: RightService }, { token: i1$4.MatDialog }, { token: NotificationsFacade }, { token: CoreFacade }, { token: PublicationMessagesFacade }, { token: ActionsFacade }, { token: i0.Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
11249
- StaticDataDetailsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: StaticDataDetailsComponent, selector: "app-static-data-details", usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"(status$ | async) as status\">\n <ng-container *ngIf=\"(userRights$ | async) as userRights\">\n <ng-container *ngIf=\"(staticData$ | async) as staticData\">\n <div class=\"page-layout simple fullwidth angular-material-elements\">\n <shared-panel-header *ngIf=\"form.get('name')\" [parentTitle]=\"staticSection.title\"\n [parentUrl]=\"['/static-data', contentType]\"\n [title]=\"form.get('name')?.value\">>\n </shared-panel-header>\n\n <div class=\"content p-24\">\n <div class=\"center-block bg-white mat-elevation-z1\">\n <mat-tab-group [selectedIndex]=\"activeTabIndex\">\n <mat-tab>\n <ng-template mat-tab-label>\n <mat-icon class=\"static-data-tab-icon\">edit</mat-icon>\n \u0424\u043E\u0440\u043C\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\n </ng-template>\n <ng-template matTabContent>\n <div class=\"center-block-header position-relative\">\n <div @appearFromLeftWithDelay class=\"center-block-header-title\">\n {{ form.get('name')?.value || '\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435' }}\n </div>\n </div>\n <div class=\"center-block-inner\">\n <form [formGroup]=\"form\">\n <shared-auto-form\n *ngIf=\"status.value === statusType.LOADED\"\n class=\"mb-20\"\n [showPublicationMessages]=\"staticSection.options?.havePublication || false\"\n [entity]=\"contentType\"\n [itemId]=\"itemId\"\n [formId]=\"formId\"\n [fields]=\"fields\"\n [form]=\"form\"\n [config]=\"{needToPublish: false}\"\n [havePublication]=\"staticSection.options?.havePublication || false\"\n [errorMessageTexts]=\"globalErrorMessageTexts\"\n (changed)=\"changedFormValue($event)\"\n (formCompleted)=\"formCompleted($event)\"\n ></shared-auto-form>\n\n <div *ngIf=\"staticSection.globalActions\" class=\"global-actions\">\n <div *ngFor=\"let action of staticSection.globalActions\"\n (click)=\"globalActionHandle(action)\" class=\"global-action\">\n {{ action.title }}\n </div>\n </div>\n <div @appearFromLeftWithDelay\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n class=\"mt-20\">\n <shared-button\n id=\"back-to-list-button\"\n class=\"mr-8\"\n icon=\"chevron_left\"\n type=\"button\"\n styleTheme=\"raised\"\n color=\"basic\"\n iconColor=\"black\"\n (click)=\"goBack()\"\n >\u041A \u0441\u043F\u0438\u0441\u043A\u0443\n </shared-button>\n <shared-button\n *ngIf=\"userRights[0]\"\n id=\"form-create-button\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"edit\"\n iconColor=\"white\"\n color=\"accent\"\n styleTheme=\"raised\"\n [loading]=\"status.value === statusType.LOADING\"\n [disabled]=\"!form.valid || formStatus === 'loading'\"\n (click)=\"submitClick()\"\n >{{ itemId ? '\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C' : '\u0421\u043E\u0437\u0434\u0430\u0442\u044C' }}\n <!-- [disabled]=\"!form.valid dataStored\" -->\n </shared-button>\n <ng-container *ngIf=\"staticSection.options?.havePublication\">\n <shared-button\n *ngIf=\"!form.get('status')?.value\"\n id=\"publish-button\"\n class=\"mr-8\"\n icon=\"check\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n [disabled]=\"!itemId || publishButtonLoading\"\n [loading]=\"publishButtonLoading\"\n (click)=\"publishToggle()\"\n >\u041E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u0442\u044C\n </shared-button>\n <shared-button\n *ngIf=\"form.get('status')?.value === publishStatus\"\n class=\"mr-8\"\n icon=\"check\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n [disabled]=\"publishButtonLoading\"\n [loading]=\"publishButtonLoading\"\n (click)=\"publishToggle()\"\n >\u0421\u043D\u044F\u0442\u044C \u0441 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438\n </shared-button>\n </ng-container>\n <shared-button\n *ngIf=\"userRights[3]\"\n id=\"delete-button\"\n [disabled]=\"!itemId\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"clear\"\n color=\"warn\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n (click)=\"deleteAction(staticData.value)\"\n >\u0423\u0434\u0430\u043B\u0438\u0442\u044C\n </shared-button>\n <ng-container *ngIf=\"staticSection.options?.publicationInTelegramBot\">\n <shared-button\n icon=\"send\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n (click)=\"publishInTelegram()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0432 Telegram\n </shared-button>\n </ng-container>\n </div>\n </form>\n </div>\n </ng-template>\n </mat-tab>\n <ng-container *ngFor=\"let subEntity of staticSection.options?.subEntities\">\n <mat-tab>\n <ng-template mat-tab-label>\n <mat-icon *ngIf=\"subEntity.titleIcon\"\n class=\"static-data-tab-icon\">{{ subEntity.titleIcon }}\n </mat-icon>\n {{ subEntity.title }}\n </ng-template>\n <ng-template matTabContent>\n <div class=\"center-block-inner\">\n <ng-container *ngIf=\"subEntity.subEntitiesType === 'static-data'\">\n <ng-container *ngIf=\"staticData.value?.id\">\n <ng-container *ngIf=\"staticData.value?.id\" class=\"center-block-inner\">\n <app-static-data-list-items\n [staticDataConfiguration]=\"staticDataConfiguration\"\n [contentType]=\"subEntity.entity\"\n [customTitle]=\"subEntity.title + ' ' + staticData.value?.['name']\"\n [addTitle]=\"subEntity.addTitle + ' ' + staticData.value?.['name']\"\n [filteringQuery]=\"subEntity.getFilteringQuery(staticData.value)\"\n [parentSection]=\"contentType\"\n [parentItemId]=\"itemId\"\n [parentSectionHashtag]=\"subEntity.hashTag\"\n [parentData]=\"form.value\"\n [autoCompleteFields]=\"subEntity.autoCompleteFields\"\n ></app-static-data-list-items>\n </ng-container>\n <shared-spinner *ngIf=\"!staticData.value?.id\"\n [overlay]=\"true\"></shared-spinner>\n </ng-container>\n <ng-container *ngIf=\"!staticData.value?.id\">\n <div class=\"message-box error\">\n <ng-container *ngIf=\"!subEntity.entity\">\n \u041F\u0435\u0440\u0435\u0434 \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043C \u0432\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0438\u0441\u0435\u0439 \u0412\u0430\u043C \u043D\u0443\u0436\u043D\u043E \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\n \u043E\u0441\u043D\u043E\u0432\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C\n </ng-container>\n <ng-container *ngIf=\"subEntity.emptyTitle\">\n {{ subEntity.emptyTitle }}\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"subEntity.subEntitiesType === 'component'\">\n <ng-container *ngComponentOutlet=\"\n subEntity.component;\n injector: componentDataInjector;\n \" /> <!-- subEntity.getInputData(form.value) -->\n </ng-container>\n </div>\n </ng-template>\n </mat-tab>\n </ng-container>\n </mat-tab-group>\n </div>\n </div>\n </div>\n </ng-container>\n </ng-container>\n <shared-spinner *ngIf=\"status.value !== statusType.LOADED || formStatus === 'loading'\" [overlay]=\"true\"></shared-spinner>\n</ng-container>\n\n\n", styles: [".update-published-tour-popup{position:absolute;top:0;left:0;width:100%;background:rgba(72,88,96,.6509803922);height:100%;z-index:100}.static-data-tab-icon{margin-right:5px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: AutoFormMainComponent, selector: "shared-auto-form", inputs: ["fields", "itemId", "formId", "showPublicationMessages", "form", "editorImageUploadUrl", "errorMessageTexts", "entity", "havePublication", "config"], outputs: ["changed", "formCompleted"] }, { kind: "component", type: i2$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: ButtonComponent, selector: "shared-button", inputs: ["icon", "iconColor", "iconSize", "rightIcon", "disabled", "loading", "active", "stopPropagation", "type", "color", "size", "styleTheme", "tooltip", "tooltipPosition"], outputs: ["clickButton"] }, { kind: "component", type: PanelHeaderComponent, selector: "shared-panel-header", inputs: ["title", "parentTitle", "parentUrl"] }, { kind: "directive", type: i6.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i6.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i6.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i9.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i9.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i22.MatTabContent, selector: "[matTabContent]" }, { kind: "directive", type: i22.MatTabLabel, selector: "[mat-tab-label], [matTabLabel]" }, { kind: "component", type: i22.MatTab, selector: "mat-tab", inputs: ["disabled"], exportAs: ["matTab"] }, { kind: "component", type: i22.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple", "fitInkBarToContent", "mat-stretch-tabs"], exportAs: ["matTabGroup"] }, { kind: "component", type: StaticDataListItemsComponent, selector: "app-static-data-list-items", inputs: ["staticDataConfiguration", "contentType", "customTitle", "addTitle", "parentSection", "parentItemId", "showPanelHeader", "parentData", "parentSectionHashtag", "autoCompleteFields", "filteringQuery"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], changeDetection: i0.ChangeDetectionStrategy.OnPush });
11302
+ StaticDataDetailsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: StaticDataDetailsComponent, selector: "app-static-data-details", usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"(status$ | async) as status\">\n <ng-container *ngIf=\"(userRights$ | async) as userRights\">\n <ng-container *ngIf=\"(staticData$ | async) as staticData\">\n <div class=\"page-layout simple fullwidth angular-material-elements\">\n <shared-panel-header *ngIf=\"form.get('name')\" [parentTitle]=\"staticSection.title\"\n [parentUrl]=\"['/static-data', contentType]\"\n [title]=\"form.get('name')?.value\">>\n </shared-panel-header>\n\n <div class=\"content p-24\">\n <div class=\"center-block bg-white mat-elevation-z1\">\n <mat-tab-group [selectedIndex]=\"activeTabIndex\">\n <mat-tab>\n <ng-template mat-tab-label>\n <mat-icon class=\"static-data-tab-icon\">edit</mat-icon>\n \u0424\u043E\u0440\u043C\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\n </ng-template>\n <ng-template matTabContent>\n <div class=\"center-block-header position-relative\">\n <div @appearFromLeftWithDelay class=\"center-block-header-title\">\n {{ form.get('name')?.value || '\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435' }}\n </div>\n </div>\n <div *ngIf=\"staticSection?.options?.hasMultiLanguage\" class=\"languages\">\n <div *ngFor=\"let item of languageList\" class=\"language-item\">\n <a\n [ngClass]=\"{'activeLang': currentLanguageId ? item.id === currentLanguageId : defaultLanguageId ? item.id === defaultLanguageId : false }\"\n [routerLink]=\"['/static-data', contentType, itemId, item.id]\">[ {{item.slug}} ]</a>\n </div>\n </div>\n <div class=\"center-block-inner\">\n <form [formGroup]=\"form\">\n <shared-auto-form\n *ngIf=\"status.value === statusType.LOADED\"\n class=\"mb-20\"\n [showPublicationMessages]=\"staticSection.options?.havePublication || false\"\n [entity]=\"contentType\"\n [itemId]=\"itemId\"\n [formId]=\"formId\"\n [fields]=\"fields\"\n [form]=\"form\"\n [config]=\"{needToPublish: false}\"\n [havePublication]=\"staticSection.options?.havePublication || false\"\n [errorMessageTexts]=\"globalErrorMessageTexts\"\n (changed)=\"changedFormValue($event)\"\n (formCompleted)=\"formCompleted($event)\"\n ></shared-auto-form>\n\n <div *ngIf=\"staticSection.globalActions\" class=\"global-actions\">\n <div *ngFor=\"let action of staticSection.globalActions\"\n (click)=\"globalActionHandle(action)\" class=\"global-action\">\n {{ action.title }}\n </div>\n </div>\n <div @appearFromLeftWithDelay\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n class=\"mt-20\">\n <shared-button\n id=\"back-to-list-button\"\n class=\"mr-8\"\n icon=\"chevron_left\"\n type=\"button\"\n styleTheme=\"raised\"\n color=\"basic\"\n iconColor=\"black\"\n (click)=\"goBack()\"\n >\u041A \u0441\u043F\u0438\u0441\u043A\u0443\n </shared-button>\n <shared-button\n *ngIf=\"userRights[0]\"\n id=\"form-create-button\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"edit\"\n iconColor=\"white\"\n color=\"accent\"\n styleTheme=\"raised\"\n [loading]=\"status.value === statusType.LOADING\"\n [disabled]=\"!form.valid || formStatus === 'loading'\"\n (click)=\"submitClick()\"\n >{{ itemId ? '\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C' : '\u0421\u043E\u0437\u0434\u0430\u0442\u044C' }}\n <!-- [disabled]=\"!form.valid dataStored\" -->\n </shared-button>\n <ng-container *ngIf=\"staticSection.options?.havePublication\">\n <shared-button\n *ngIf=\"!form.get('status')?.value\"\n id=\"publish-button\"\n class=\"mr-8\"\n icon=\"check\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n [disabled]=\"!itemId || publishButtonLoading\"\n [loading]=\"publishButtonLoading\"\n (click)=\"publishToggle()\"\n >\u041E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u0442\u044C\n </shared-button>\n <shared-button\n *ngIf=\"form.get('status')?.value === publishStatus\"\n class=\"mr-8\"\n icon=\"check\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n [disabled]=\"publishButtonLoading\"\n [loading]=\"publishButtonLoading\"\n (click)=\"publishToggle()\"\n >\u0421\u043D\u044F\u0442\u044C \u0441 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438\n </shared-button>\n </ng-container>\n <shared-button\n *ngIf=\"userRights[3]\"\n id=\"delete-button\"\n [disabled]=\"!itemId\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"clear\"\n color=\"warn\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n (click)=\"deleteAction(staticData.value)\"\n >\u0423\u0434\u0430\u043B\u0438\u0442\u044C\n </shared-button>\n <ng-container *ngIf=\"staticSection.options?.publicationInTelegramBot\">\n <shared-button\n icon=\"send\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n (click)=\"publishInTelegram()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0432 Telegram\n </shared-button>\n </ng-container>\n </div>\n </form>\n </div>\n </ng-template>\n </mat-tab>\n <ng-container *ngFor=\"let subEntity of staticSection.options?.subEntities\">\n <mat-tab>\n <ng-template mat-tab-label>\n <mat-icon *ngIf=\"subEntity.titleIcon\"\n class=\"static-data-tab-icon\">{{ subEntity.titleIcon }}\n </mat-icon>\n {{ subEntity.title }}\n </ng-template>\n <ng-template matTabContent>\n <div class=\"center-block-inner\">\n <ng-container *ngIf=\"subEntity.subEntitiesType === 'static-data'\">\n <ng-container *ngIf=\"staticData.value?.id\">\n <ng-container *ngIf=\"staticData.value?.id\" class=\"center-block-inner\">\n <app-static-data-list-items\n [staticDataConfiguration]=\"staticDataConfiguration\"\n [contentType]=\"subEntity.entity\"\n [customTitle]=\"subEntity.title + ' ' + staticData.value?.['name']\"\n [addTitle]=\"subEntity.addTitle + ' ' + staticData.value?.['name']\"\n [filteringQuery]=\"subEntity.getFilteringQuery(staticData.value)\"\n [parentSection]=\"contentType\"\n [parentItemId]=\"itemId\"\n [parentSectionHashtag]=\"subEntity.hashTag\"\n [parentData]=\"form.value\"\n [autoCompleteFields]=\"subEntity.autoCompleteFields\"\n ></app-static-data-list-items>\n </ng-container>\n <shared-spinner *ngIf=\"!staticData.value?.id\"\n [overlay]=\"true\"></shared-spinner>\n </ng-container>\n <ng-container *ngIf=\"!staticData.value?.id\">\n <div class=\"message-box error\">\n <ng-container *ngIf=\"!subEntity.entity\">\n \u041F\u0435\u0440\u0435\u0434 \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043C \u0432\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0438\u0441\u0435\u0439 \u0412\u0430\u043C \u043D\u0443\u0436\u043D\u043E \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\n \u043E\u0441\u043D\u043E\u0432\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C\n </ng-container>\n <ng-container *ngIf=\"subEntity.emptyTitle\">\n {{ subEntity.emptyTitle }}\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"subEntity.subEntitiesType === 'component'\">\n <ng-container *ngComponentOutlet=\"\n subEntity.component;\n injector: componentDataInjector;\n \" /> <!-- subEntity.getInputData(form.value) -->\n </ng-container>\n </div>\n </ng-template>\n </mat-tab>\n </ng-container>\n </mat-tab-group>\n </div>\n </div>\n </div>\n </ng-container>\n </ng-container>\n <shared-spinner *ngIf=\"status.value !== statusType.LOADED || formStatus === 'loading'\" [overlay]=\"true\"></shared-spinner>\n</ng-container>\n\n\n", styles: [".update-published-tour-popup{position:absolute;top:0;left:0;width:100%;background:rgba(72,88,96,.6509803922);height:100%;z-index:100}.static-data-tab-icon{margin-right:5px}.languages{display:flex;justify-content:center;margin:5px 0 10px}.languages .language-item .activeLang{background:#007bff;color:#fff}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: AutoFormMainComponent, selector: "shared-auto-form", inputs: ["fields", "itemId", "formId", "showPublicationMessages", "form", "editorImageUploadUrl", "errorMessageTexts", "entity", "havePublication", "config"], outputs: ["changed", "formCompleted"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i2$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: ButtonComponent, selector: "shared-button", inputs: ["icon", "iconColor", "iconSize", "rightIcon", "disabled", "loading", "active", "stopPropagation", "type", "color", "size", "styleTheme", "tooltip", "tooltipPosition"], outputs: ["clickButton"] }, { kind: "component", type: PanelHeaderComponent, selector: "shared-panel-header", inputs: ["title", "parentTitle", "parentUrl"] }, { kind: "directive", type: i6.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i6.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i6.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i9.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i9.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i22.MatTabContent, selector: "[matTabContent]" }, { kind: "directive", type: i22.MatTabLabel, selector: "[mat-tab-label], [matTabLabel]" }, { kind: "component", type: i22.MatTab, selector: "mat-tab", inputs: ["disabled"], exportAs: ["matTab"] }, { kind: "component", type: i22.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple", "fitInkBarToContent", "mat-stretch-tabs"], exportAs: ["matTabGroup"] }, { kind: "component", type: StaticDataListItemsComponent, selector: "app-static-data-list-items", inputs: ["staticDataConfiguration", "contentType", "customTitle", "addTitle", "parentSection", "parentItemId", "showPanelHeader", "parentData", "parentSectionHashtag", "autoCompleteFields", "filteringQuery"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], changeDetection: i0.ChangeDetectionStrategy.OnPush });
11250
11303
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StaticDataDetailsComponent, decorators: [{
11251
11304
  type: Component,
11252
- args: [{ selector: 'app-static-data-details', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], template: "<ng-container *ngIf=\"(status$ | async) as status\">\n <ng-container *ngIf=\"(userRights$ | async) as userRights\">\n <ng-container *ngIf=\"(staticData$ | async) as staticData\">\n <div class=\"page-layout simple fullwidth angular-material-elements\">\n <shared-panel-header *ngIf=\"form.get('name')\" [parentTitle]=\"staticSection.title\"\n [parentUrl]=\"['/static-data', contentType]\"\n [title]=\"form.get('name')?.value\">>\n </shared-panel-header>\n\n <div class=\"content p-24\">\n <div class=\"center-block bg-white mat-elevation-z1\">\n <mat-tab-group [selectedIndex]=\"activeTabIndex\">\n <mat-tab>\n <ng-template mat-tab-label>\n <mat-icon class=\"static-data-tab-icon\">edit</mat-icon>\n \u0424\u043E\u0440\u043C\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\n </ng-template>\n <ng-template matTabContent>\n <div class=\"center-block-header position-relative\">\n <div @appearFromLeftWithDelay class=\"center-block-header-title\">\n {{ form.get('name')?.value || '\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435' }}\n </div>\n </div>\n <div class=\"center-block-inner\">\n <form [formGroup]=\"form\">\n <shared-auto-form\n *ngIf=\"status.value === statusType.LOADED\"\n class=\"mb-20\"\n [showPublicationMessages]=\"staticSection.options?.havePublication || false\"\n [entity]=\"contentType\"\n [itemId]=\"itemId\"\n [formId]=\"formId\"\n [fields]=\"fields\"\n [form]=\"form\"\n [config]=\"{needToPublish: false}\"\n [havePublication]=\"staticSection.options?.havePublication || false\"\n [errorMessageTexts]=\"globalErrorMessageTexts\"\n (changed)=\"changedFormValue($event)\"\n (formCompleted)=\"formCompleted($event)\"\n ></shared-auto-form>\n\n <div *ngIf=\"staticSection.globalActions\" class=\"global-actions\">\n <div *ngFor=\"let action of staticSection.globalActions\"\n (click)=\"globalActionHandle(action)\" class=\"global-action\">\n {{ action.title }}\n </div>\n </div>\n <div @appearFromLeftWithDelay\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n class=\"mt-20\">\n <shared-button\n id=\"back-to-list-button\"\n class=\"mr-8\"\n icon=\"chevron_left\"\n type=\"button\"\n styleTheme=\"raised\"\n color=\"basic\"\n iconColor=\"black\"\n (click)=\"goBack()\"\n >\u041A \u0441\u043F\u0438\u0441\u043A\u0443\n </shared-button>\n <shared-button\n *ngIf=\"userRights[0]\"\n id=\"form-create-button\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"edit\"\n iconColor=\"white\"\n color=\"accent\"\n styleTheme=\"raised\"\n [loading]=\"status.value === statusType.LOADING\"\n [disabled]=\"!form.valid || formStatus === 'loading'\"\n (click)=\"submitClick()\"\n >{{ itemId ? '\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C' : '\u0421\u043E\u0437\u0434\u0430\u0442\u044C' }}\n <!-- [disabled]=\"!form.valid dataStored\" -->\n </shared-button>\n <ng-container *ngIf=\"staticSection.options?.havePublication\">\n <shared-button\n *ngIf=\"!form.get('status')?.value\"\n id=\"publish-button\"\n class=\"mr-8\"\n icon=\"check\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n [disabled]=\"!itemId || publishButtonLoading\"\n [loading]=\"publishButtonLoading\"\n (click)=\"publishToggle()\"\n >\u041E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u0442\u044C\n </shared-button>\n <shared-button\n *ngIf=\"form.get('status')?.value === publishStatus\"\n class=\"mr-8\"\n icon=\"check\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n [disabled]=\"publishButtonLoading\"\n [loading]=\"publishButtonLoading\"\n (click)=\"publishToggle()\"\n >\u0421\u043D\u044F\u0442\u044C \u0441 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438\n </shared-button>\n </ng-container>\n <shared-button\n *ngIf=\"userRights[3]\"\n id=\"delete-button\"\n [disabled]=\"!itemId\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"clear\"\n color=\"warn\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n (click)=\"deleteAction(staticData.value)\"\n >\u0423\u0434\u0430\u043B\u0438\u0442\u044C\n </shared-button>\n <ng-container *ngIf=\"staticSection.options?.publicationInTelegramBot\">\n <shared-button\n icon=\"send\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n (click)=\"publishInTelegram()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0432 Telegram\n </shared-button>\n </ng-container>\n </div>\n </form>\n </div>\n </ng-template>\n </mat-tab>\n <ng-container *ngFor=\"let subEntity of staticSection.options?.subEntities\">\n <mat-tab>\n <ng-template mat-tab-label>\n <mat-icon *ngIf=\"subEntity.titleIcon\"\n class=\"static-data-tab-icon\">{{ subEntity.titleIcon }}\n </mat-icon>\n {{ subEntity.title }}\n </ng-template>\n <ng-template matTabContent>\n <div class=\"center-block-inner\">\n <ng-container *ngIf=\"subEntity.subEntitiesType === 'static-data'\">\n <ng-container *ngIf=\"staticData.value?.id\">\n <ng-container *ngIf=\"staticData.value?.id\" class=\"center-block-inner\">\n <app-static-data-list-items\n [staticDataConfiguration]=\"staticDataConfiguration\"\n [contentType]=\"subEntity.entity\"\n [customTitle]=\"subEntity.title + ' ' + staticData.value?.['name']\"\n [addTitle]=\"subEntity.addTitle + ' ' + staticData.value?.['name']\"\n [filteringQuery]=\"subEntity.getFilteringQuery(staticData.value)\"\n [parentSection]=\"contentType\"\n [parentItemId]=\"itemId\"\n [parentSectionHashtag]=\"subEntity.hashTag\"\n [parentData]=\"form.value\"\n [autoCompleteFields]=\"subEntity.autoCompleteFields\"\n ></app-static-data-list-items>\n </ng-container>\n <shared-spinner *ngIf=\"!staticData.value?.id\"\n [overlay]=\"true\"></shared-spinner>\n </ng-container>\n <ng-container *ngIf=\"!staticData.value?.id\">\n <div class=\"message-box error\">\n <ng-container *ngIf=\"!subEntity.entity\">\n \u041F\u0435\u0440\u0435\u0434 \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043C \u0432\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0438\u0441\u0435\u0439 \u0412\u0430\u043C \u043D\u0443\u0436\u043D\u043E \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\n \u043E\u0441\u043D\u043E\u0432\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C\n </ng-container>\n <ng-container *ngIf=\"subEntity.emptyTitle\">\n {{ subEntity.emptyTitle }}\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"subEntity.subEntitiesType === 'component'\">\n <ng-container *ngComponentOutlet=\"\n subEntity.component;\n injector: componentDataInjector;\n \" /> <!-- subEntity.getInputData(form.value) -->\n </ng-container>\n </div>\n </ng-template>\n </mat-tab>\n </ng-container>\n </mat-tab-group>\n </div>\n </div>\n </div>\n </ng-container>\n </ng-container>\n <shared-spinner *ngIf=\"status.value !== statusType.LOADED || formStatus === 'loading'\" [overlay]=\"true\"></shared-spinner>\n</ng-container>\n\n\n", styles: [".update-published-tour-popup{position:absolute;top:0;left:0;width:100%;background:rgba(72,88,96,.6509803922);height:100%;z-index:100}.static-data-tab-icon{margin-right:5px}\n"] }]
11305
+ args: [{ selector: 'app-static-data-details', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], template: "<ng-container *ngIf=\"(status$ | async) as status\">\n <ng-container *ngIf=\"(userRights$ | async) as userRights\">\n <ng-container *ngIf=\"(staticData$ | async) as staticData\">\n <div class=\"page-layout simple fullwidth angular-material-elements\">\n <shared-panel-header *ngIf=\"form.get('name')\" [parentTitle]=\"staticSection.title\"\n [parentUrl]=\"['/static-data', contentType]\"\n [title]=\"form.get('name')?.value\">>\n </shared-panel-header>\n\n <div class=\"content p-24\">\n <div class=\"center-block bg-white mat-elevation-z1\">\n <mat-tab-group [selectedIndex]=\"activeTabIndex\">\n <mat-tab>\n <ng-template mat-tab-label>\n <mat-icon class=\"static-data-tab-icon\">edit</mat-icon>\n \u0424\u043E\u0440\u043C\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\n </ng-template>\n <ng-template matTabContent>\n <div class=\"center-block-header position-relative\">\n <div @appearFromLeftWithDelay class=\"center-block-header-title\">\n {{ form.get('name')?.value || '\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435' }}\n </div>\n </div>\n <div *ngIf=\"staticSection?.options?.hasMultiLanguage\" class=\"languages\">\n <div *ngFor=\"let item of languageList\" class=\"language-item\">\n <a\n [ngClass]=\"{'activeLang': currentLanguageId ? item.id === currentLanguageId : defaultLanguageId ? item.id === defaultLanguageId : false }\"\n [routerLink]=\"['/static-data', contentType, itemId, item.id]\">[ {{item.slug}} ]</a>\n </div>\n </div>\n <div class=\"center-block-inner\">\n <form [formGroup]=\"form\">\n <shared-auto-form\n *ngIf=\"status.value === statusType.LOADED\"\n class=\"mb-20\"\n [showPublicationMessages]=\"staticSection.options?.havePublication || false\"\n [entity]=\"contentType\"\n [itemId]=\"itemId\"\n [formId]=\"formId\"\n [fields]=\"fields\"\n [form]=\"form\"\n [config]=\"{needToPublish: false}\"\n [havePublication]=\"staticSection.options?.havePublication || false\"\n [errorMessageTexts]=\"globalErrorMessageTexts\"\n (changed)=\"changedFormValue($event)\"\n (formCompleted)=\"formCompleted($event)\"\n ></shared-auto-form>\n\n <div *ngIf=\"staticSection.globalActions\" class=\"global-actions\">\n <div *ngFor=\"let action of staticSection.globalActions\"\n (click)=\"globalActionHandle(action)\" class=\"global-action\">\n {{ action.title }}\n </div>\n </div>\n <div @appearFromLeftWithDelay\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n class=\"mt-20\">\n <shared-button\n id=\"back-to-list-button\"\n class=\"mr-8\"\n icon=\"chevron_left\"\n type=\"button\"\n styleTheme=\"raised\"\n color=\"basic\"\n iconColor=\"black\"\n (click)=\"goBack()\"\n >\u041A \u0441\u043F\u0438\u0441\u043A\u0443\n </shared-button>\n <shared-button\n *ngIf=\"userRights[0]\"\n id=\"form-create-button\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"edit\"\n iconColor=\"white\"\n color=\"accent\"\n styleTheme=\"raised\"\n [loading]=\"status.value === statusType.LOADING\"\n [disabled]=\"!form.valid || formStatus === 'loading'\"\n (click)=\"submitClick()\"\n >{{ itemId ? '\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C' : '\u0421\u043E\u0437\u0434\u0430\u0442\u044C' }}\n <!-- [disabled]=\"!form.valid dataStored\" -->\n </shared-button>\n <ng-container *ngIf=\"staticSection.options?.havePublication\">\n <shared-button\n *ngIf=\"!form.get('status')?.value\"\n id=\"publish-button\"\n class=\"mr-8\"\n icon=\"check\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n [disabled]=\"!itemId || publishButtonLoading\"\n [loading]=\"publishButtonLoading\"\n (click)=\"publishToggle()\"\n >\u041E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u0442\u044C\n </shared-button>\n <shared-button\n *ngIf=\"form.get('status')?.value === publishStatus\"\n class=\"mr-8\"\n icon=\"check\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n [disabled]=\"publishButtonLoading\"\n [loading]=\"publishButtonLoading\"\n (click)=\"publishToggle()\"\n >\u0421\u043D\u044F\u0442\u044C \u0441 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438\n </shared-button>\n </ng-container>\n <shared-button\n *ngIf=\"userRights[3]\"\n id=\"delete-button\"\n [disabled]=\"!itemId\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"clear\"\n color=\"warn\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n (click)=\"deleteAction(staticData.value)\"\n >\u0423\u0434\u0430\u043B\u0438\u0442\u044C\n </shared-button>\n <ng-container *ngIf=\"staticSection.options?.publicationInTelegramBot\">\n <shared-button\n icon=\"send\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n (click)=\"publishInTelegram()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0432 Telegram\n </shared-button>\n </ng-container>\n </div>\n </form>\n </div>\n </ng-template>\n </mat-tab>\n <ng-container *ngFor=\"let subEntity of staticSection.options?.subEntities\">\n <mat-tab>\n <ng-template mat-tab-label>\n <mat-icon *ngIf=\"subEntity.titleIcon\"\n class=\"static-data-tab-icon\">{{ subEntity.titleIcon }}\n </mat-icon>\n {{ subEntity.title }}\n </ng-template>\n <ng-template matTabContent>\n <div class=\"center-block-inner\">\n <ng-container *ngIf=\"subEntity.subEntitiesType === 'static-data'\">\n <ng-container *ngIf=\"staticData.value?.id\">\n <ng-container *ngIf=\"staticData.value?.id\" class=\"center-block-inner\">\n <app-static-data-list-items\n [staticDataConfiguration]=\"staticDataConfiguration\"\n [contentType]=\"subEntity.entity\"\n [customTitle]=\"subEntity.title + ' ' + staticData.value?.['name']\"\n [addTitle]=\"subEntity.addTitle + ' ' + staticData.value?.['name']\"\n [filteringQuery]=\"subEntity.getFilteringQuery(staticData.value)\"\n [parentSection]=\"contentType\"\n [parentItemId]=\"itemId\"\n [parentSectionHashtag]=\"subEntity.hashTag\"\n [parentData]=\"form.value\"\n [autoCompleteFields]=\"subEntity.autoCompleteFields\"\n ></app-static-data-list-items>\n </ng-container>\n <shared-spinner *ngIf=\"!staticData.value?.id\"\n [overlay]=\"true\"></shared-spinner>\n </ng-container>\n <ng-container *ngIf=\"!staticData.value?.id\">\n <div class=\"message-box error\">\n <ng-container *ngIf=\"!subEntity.entity\">\n \u041F\u0435\u0440\u0435\u0434 \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043C \u0432\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0438\u0441\u0435\u0439 \u0412\u0430\u043C \u043D\u0443\u0436\u043D\u043E \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\n \u043E\u0441\u043D\u043E\u0432\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C\n </ng-container>\n <ng-container *ngIf=\"subEntity.emptyTitle\">\n {{ subEntity.emptyTitle }}\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"subEntity.subEntitiesType === 'component'\">\n <ng-container *ngComponentOutlet=\"\n subEntity.component;\n injector: componentDataInjector;\n \" /> <!-- subEntity.getInputData(form.value) -->\n </ng-container>\n </div>\n </ng-template>\n </mat-tab>\n </ng-container>\n </mat-tab-group>\n </div>\n </div>\n </div>\n </ng-container>\n </ng-container>\n <shared-spinner *ngIf=\"status.value !== statusType.LOADED || formStatus === 'loading'\" [overlay]=\"true\"></shared-spinner>\n</ng-container>\n\n\n", styles: [".update-published-tour-popup{position:absolute;top:0;left:0;width:100%;background:rgba(72,88,96,.6509803922);height:100%;z-index:100}.static-data-tab-icon{margin-right:5px}.languages{display:flex;justify-content:center;margin:5px 0 10px}.languages .language-item .activeLang{background:#007bff;color:#fff}\n"] }]
11253
11306
  }], ctorParameters: function () { return [{ type: i6.UntypedFormBuilder }, { type: i2.Router }, { type: i2.ActivatedRoute }, { type: AutoFormService }, { type: RouterFacade }, { type: FormErrorsFacade }, { type: FormsFacade }, { type: RequestsFacade }, { type: StaticDataFacade }, { type: RightService }, { type: i1$4.MatDialog }, { type: NotificationsFacade }, { type: CoreFacade }, { type: PublicationMessagesFacade }, { type: ActionsFacade }, { type: i0.Injector }, { type: i0.ChangeDetectorRef }]; } });
11254
11307
 
11255
11308
  /**
@@ -11302,6 +11355,10 @@ const routes = [
11302
11355
  {
11303
11356
  path: ':contentType/:id',
11304
11357
  component: StaticDataDetailsComponent,
11358
+ },
11359
+ {
11360
+ path: ':contentType/:id/:langId',
11361
+ component: StaticDataDetailsComponent,
11305
11362
  }
11306
11363
  ];
11307
11364
  class StaticDataRoutingModule {
@@ -12762,5 +12819,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
12762
12819
  * Generated bundle index. Do not edit.
12763
12820
  */
12764
12821
 
12765
- export { AccessDeniedComponent, AccessDeniedModule, ActionsEndpointTypes, ActionsFacade, ActionsMetaStatus, ActionsModel, ActionsSendRequest, ActionsService, AsyncValidators, AsyncValidatorsMessages, AsyncValidatorsType, AuthEndpointTypes, AuthenticationService, AutoFormMainComponent, AutoFormModule, AutoFormService, AutoFormShowComponent, Back, BaseAPI, BaseAPIService, BaseAutoFormService, BaseErrors, BaseModelAdapter, BaseResponseFactory, BreadCrumbsComponent, BreadCrumbsModule, ButtonComponent, ButtonModule, CORE_CONFIG, CacheDataEndpointTypes, CacheDataFacade, CacheDataModel, CacheDataService, ChipsInputComponent, ChipsInputModule, ClearStaticData, CommonDialogComponent, CookiesService, CoreFacade, CoreLoadError, CoreLoaded, CountFormatPipe, CreateRequestListener, DateFormatPipe, DeleteComponent, DeleteRequest, DeleteRequestWaiter, DialogService, DialogsModule, EntitiesReportsRequest, Entity, EntityQueryFieldNames, EntitySortType, EntityType, FieldType, FileFieldNames, FileModel, FileUpdateModel, FilesDeleteRequest, FilesDeleteResponseFactory, FilesEndpointTypes, FilesFacade, FilesLoadRequest, FilesLoadResponseFactory, FilesService, FilesSortRequest, FilesSortResponseFactory, FilesUpdateRequest, FilesUpdateResponseFactory, FilesUploadComponent, FilesUploadModule, FormDeleteFileBaseEndpointTypes, FormDeleteFileFacade, FormDeleteFileRequest, FormDeleteFileService, FormErrorModel, FormErrorsFacade, FormFieldErrorComponent, FormFieldErrorModule, FormFieldPublishErrorComponent, FormFieldPublishErrorModule, FormValidationCheckRequest, FormValidationEndpointTypes, FormValidationFacade, FormValidationService, FormsFacade, Forward, GetCacheDataRequest, GetRequest, GlobalErrorMessages, GlobalEvent, Go, GoFail, HeaderComponent, HeaderModule, HeadersInterceptor, IFormFieldFormat, IconComponent, ImageComponent, ImageModule, InputTagsComponent, InputTagsModule, JwtInterceptor, LoadCore, LoadUsers, LoadUsersFail, LoadUsersSuccess, LoginSend, LoginSendCreateRequest, LoginSendCreateResponseFactory, LoginSendFail, LoginSendSuccess, MainConst, MainFacade, MapperRegistry, MapperUtil, MetaModel, NOTIFICATION_LONG_TIMEOUT, NOTIFICATION_TIMEOUT, NotificationAdd, NotificationAddFail, NotificationModel, NotificationShowingType, NotificationsEffects, NotificationsFacade, PaginationComponent, PaginationModule, PagingModel, PanelComponent, PanelHeaderComponent, PanelHeaderModule, PanelModule, PasswordRules, PatchRequest, PhonePipe, PipesModule, PostRequest, PublicationMessageFieldNames, PublicationMessagesFacade, PublishDataModel, PublishEndpointTypes, PublishErrors, PublishPostRequest, PublishResultModel, PublishService, PutRequest, QueryFieldsAdapter, ReducerService, RefreshToken, RefreshTokenFail, RefreshTokenSuccess, ReportsEndpointTypes, ReportsFacade, ReportsModel, ReportsService, Request, RequestMethods, RequestStatus, RequestsEffects, RequestsFacade, ResponseStatus, RouterEffects, RouterFacade, RouterService, STICKY_SIDEBAR_OPTIONS, SafePipe, SeoService, SequelizeUniqueConstraintError, SetLoaded, SetRouterQueryParams, SharedFormErrors, SharedIconModule, SharedReducer, SharedSpinnerModule, SiteHelperComponent, SiteHelperModule, SmartProgressBarComponent, SmartProgressBarModule, SocialAuthService, SpinnerComponent, StarRatingComponent, StarRatingModule, StaticDataComponentInputData, StaticDataCreate, StaticDataCreateFail, StaticDataCreateRequest, StaticDataCreateSuccess, StaticDataDelete, StaticDataDeleteFail, StaticDataDeleteRequest, StaticDataDeleteSuccess, StaticDataEffects, StaticDataEndpointTypes, StaticDataFacade, StaticDataGet, StaticDataGetFail, StaticDataGetList, StaticDataGetListCategories, StaticDataGetListCategoriesFail, StaticDataGetListCategoriesRequest, StaticDataGetListCategoriesSuccess, StaticDataGetListFail, StaticDataGetListRequest, StaticDataGetListSuccess, StaticDataGetRequest, StaticDataGetSubRouting, StaticDataGetSubRoutingFail, StaticDataGetSubRoutingSuccess, StaticDataGetSuccess, StaticDataLoadRevisions, StaticDataMetaStatus, StaticDataModel, StaticDataModule, StaticDataNewRevisions, StaticDataPartUpdate, StaticDataPatchUpdate, StaticDataPatchUpdateFail, StaticDataPatchUpdateSuccess, StaticDataService, StaticDataSubRoutingGetRequest, StaticDataUpdate, StaticDataUpdateFail, StaticDataUpdateRequest, StaticDataUpdateSuccess, StickySidebarDirective, StickySidebarInnerDirective, StickySidebarModule, StorageProvider, StorageService, TableMenuComponent, TableMenuModule, TagCloudComponent, TagCloudModule, TagEntitiesRequest, TagEntityModel, TagModel, TagsEndpointTypes, TagsFacade, TagsLoadRequest, TagsLoadResponseFactory, TagsService, TextWithLinkMoreComponent, TextWithLinkMoreModule, USERS_FEATURE_KEY, UiUnitIds, UiUnitsEffects, UiUnitsFacade, UnPublishPostRequest, UpdateRequestData, UserFieldNames, UserModel, UserRole, UserSectionRightModel, UsersEffects, UsersFacade, UsersService, ValidatorsType, VersionsModel, WebsocketMessageSubTypes, WebsocketMessageTypes, WebsocketService, WtFrontSharedModule, appearFromLeft, appearFromLeftHideToRight, appearFromLeftWithDelay, appearFromRight, appearFromRightWithDelay, appearOpacity, appearOpacity2, componentDestroyed, coreQuery, defaultStickySidebarOptions, entityScheme, expandCollapse, fileMapper, fileScheme, getAll, getAllUiUnits, getRequestInfo, getRouterLastRoute, getRouterLastRouteParams, getRouterQueryParams, getRouterRoot, getRouterUrl, getUIUnit, getUiUnitDataById, getUserAuthData, guid, hideToTopOpacity, initialState$b as initialState, mappet, notificationQuery, publicationMessageMapper, publicationMessageScheme, requestsQuery, sharedEffects, sharedFacades, staticDataQuery, trackById, uiUnitsQuery, untilComponentDestroyed, userMapper, userReducer, userScheme, usersQuery };
12822
+ export { AccessDeniedComponent, AccessDeniedModule, ActionsEndpointTypes, ActionsFacade, ActionsMetaStatus, ActionsModel, ActionsSendRequest, ActionsService, AsyncValidators, AsyncValidatorsMessages, AsyncValidatorsType, AuthEndpointTypes, AuthenticationService, AutoFormMainComponent, AutoFormModule, AutoFormService, AutoFormShowComponent, Back, BaseAPI, BaseAPIService, BaseAutoFormService, BaseErrors, BaseModelAdapter, BaseResponseFactory, BreadCrumbsComponent, BreadCrumbsModule, ButtonComponent, ButtonModule, CORE_CONFIG, CacheDataEndpointTypes, CacheDataFacade, CacheDataModel, CacheDataService, ChipsInputComponent, ChipsInputModule, ClearStaticData, CommonDialogComponent, CookiesService, CoreFacade, CoreLoadError, CoreLoaded, CountFormatPipe, CreateRequestListener, DateFormatPipe, DeleteComponent, DeleteRequest, DeleteRequestWaiter, DialogService, DialogsModule, EntitiesReportsRequest, Entity, EntityQueryFieldNames, EntitySortType, EntityType, FieldType, FileFieldNames, FileModel, FileUpdateModel, FilesDeleteRequest, FilesDeleteResponseFactory, FilesEndpointTypes, FilesFacade, FilesLoadRequest, FilesLoadResponseFactory, FilesService, FilesSortRequest, FilesSortResponseFactory, FilesUpdateRequest, FilesUpdateResponseFactory, FilesUploadComponent, FilesUploadModule, FormDeleteFileBaseEndpointTypes, FormDeleteFileFacade, FormDeleteFileRequest, FormDeleteFileService, FormErrorModel, FormErrorsFacade, FormFieldErrorComponent, FormFieldErrorModule, FormFieldPublishErrorComponent, FormFieldPublishErrorModule, FormValidationCheckRequest, FormValidationEndpointTypes, FormValidationFacade, FormValidationService, FormsFacade, Forward, GetCacheDataRequest, GetRequest, GlobalErrorMessages, GlobalEvent, Go, GoFail, HeaderComponent, HeaderModule, HeadersInterceptor, IFormFieldFormat, IconComponent, ImageComponent, ImageModule, InputTagsComponent, InputTagsModule, JwtInterceptor, LoadCore, LoadUsers, LoadUsersFail, LoadUsersSuccess, LoginSend, LoginSendCreateRequest, LoginSendCreateResponseFactory, LoginSendFail, LoginSendSuccess, MainConst, MainFacade, MapperRegistry, MapperUtil, MetaModel, NOTIFICATION_LONG_TIMEOUT, NOTIFICATION_TIMEOUT, NotificationAdd, NotificationAddFail, NotificationModel, NotificationShowingType, NotificationsEffects, NotificationsFacade, PaginationComponent, PaginationModule, PagingModel, PanelComponent, PanelHeaderComponent, PanelHeaderModule, PanelModule, PasswordRules, PatchRequest, PhonePipe, PipesModule, PostRequest, PublicationMessageFieldNames, PublicationMessagesFacade, PublishDataModel, PublishEndpointTypes, PublishErrors, PublishPostRequest, PublishResultModel, PublishService, PutRequest, QueryFieldsAdapter, ReducerService, RefreshToken, RefreshTokenFail, RefreshTokenSuccess, ReportsEndpointTypes, ReportsFacade, ReportsModel, ReportsService, Request, RequestMethods, RequestStatus, RequestsEffects, RequestsFacade, ResponseStatus, RouterEffects, RouterFacade, RouterService, STICKY_SIDEBAR_OPTIONS, SafePipe, SelectDialogComponent, SeoService, SequelizeUniqueConstraintError, SetLoaded, SetRouterQueryParams, SharedFormErrors, SharedIconModule, SharedReducer, SharedSpinnerModule, SiteHelperComponent, SiteHelperModule, SmartProgressBarComponent, SmartProgressBarModule, SocialAuthService, SpinnerComponent, StarRatingComponent, StarRatingModule, StaticDataComponentInputData, StaticDataCreate, StaticDataCreateFail, StaticDataCreateRequest, StaticDataCreateSuccess, StaticDataDelete, StaticDataDeleteFail, StaticDataDeleteRequest, StaticDataDeleteSuccess, StaticDataEffects, StaticDataEndpointTypes, StaticDataFacade, StaticDataGet, StaticDataGetFail, StaticDataGetList, StaticDataGetListCategories, StaticDataGetListCategoriesFail, StaticDataGetListCategoriesRequest, StaticDataGetListCategoriesSuccess, StaticDataGetListFail, StaticDataGetListRequest, StaticDataGetListSuccess, StaticDataGetRequest, StaticDataGetSubRouting, StaticDataGetSubRoutingFail, StaticDataGetSubRoutingSuccess, StaticDataGetSuccess, StaticDataLoadRevisions, StaticDataMetaStatus, StaticDataModel, StaticDataModule, StaticDataNewRevisions, StaticDataPartUpdate, StaticDataPatchUpdate, StaticDataPatchUpdateFail, StaticDataPatchUpdateSuccess, StaticDataService, StaticDataSubRoutingGetRequest, StaticDataUpdate, StaticDataUpdateFail, StaticDataUpdateRequest, StaticDataUpdateSuccess, StickySidebarDirective, StickySidebarInnerDirective, StickySidebarModule, StorageProvider, StorageService, TableMenuComponent, TableMenuModule, TagCloudComponent, TagCloudModule, TagEntitiesRequest, TagEntityModel, TagModel, TagsEndpointTypes, TagsFacade, TagsLoadRequest, TagsLoadResponseFactory, TagsService, TextWithLinkMoreComponent, TextWithLinkMoreModule, USERS_FEATURE_KEY, UiUnitIds, UiUnitsEffects, UiUnitsFacade, UnPublishPostRequest, UpdateRequestData, UserFieldNames, UserModel, UserRole, UserSectionRightModel, UsersEffects, UsersFacade, UsersService, ValidatorsType, VersionsModel, WebsocketMessageSubTypes, WebsocketMessageTypes, WebsocketService, WtFrontSharedModule, appearFromLeft, appearFromLeftHideToRight, appearFromLeftWithDelay, appearFromRight, appearFromRightWithDelay, appearOpacity, appearOpacity2, componentDestroyed, coreQuery, defaultStickySidebarOptions, entityScheme, expandCollapse, fileMapper, fileScheme, getAll, getAllUiUnits, getRequestInfo, getRouterLastRoute, getRouterLastRouteParams, getRouterQueryParams, getRouterRoot, getRouterUrl, getUIUnit, getUiUnitDataById, getUserAuthData, guid, hideToTopOpacity, initialState$b as initialState, mappet, notificationQuery, publicationMessageMapper, publicationMessageScheme, requestsQuery, sharedEffects, sharedFacades, staticDataQuery, trackById, uiUnitsQuery, untilComponentDestroyed, userMapper, userReducer, userScheme, usersQuery };
12766
12823
  //# sourceMappingURL=wt-front-shared.mjs.map