wt-front-shared 19.0.40 → 19.0.41
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 +168 -46
- 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/behavios/static-data-reports-behavior.d.ts +10 -0
- package/lib/core/+state/static-data/static-data.actions.d.ts +30 -0
- package/lib/core/+state/static-data/static-data.effects.d.ts +3 -0
- package/lib/core/+state/static-data/static-data.facade.d.ts +2 -0
- package/lib/core/+state/static-data/static-data.reducer.d.ts +4 -0
- package/lib/core/+state/static-data/static-data.selectors.d.ts +1 -0
- package/lib/core/services/static-data/static-data.service.d.ts +2 -1
- package/lib/models/endpoints/static-data/index.d.ts +1 -0
- package/lib/models/endpoints/static-data/static-data-endpoint-types.d.ts +2 -1
- package/lib/models/endpoints/static-data/static-data-reports/index.d.ts +2 -0
- package/lib/models/endpoints/static-data/static-data-reports/report-dto.d.ts +63 -0
- package/lib/models/endpoints/static-data/static-data-reports/request/index.d.ts +2 -0
- package/lib/models/endpoints/static-data/static-data-reports/request/static-data-reports-request-config.d.ts +14 -0
- package/lib/models/endpoints/static-data/static-data-reports/request/static-data-reports-request.d.ts +11 -0
- package/package.json +1 -1
- package/src/lib/styles.css +5 -76
- package/src/lib/styles.css.map +1 -1
|
@@ -1261,6 +1261,7 @@ var StaticDataEndpointTypes;
|
|
|
1261
1261
|
StaticDataEndpointTypes["UPDATE"] = "update";
|
|
1262
1262
|
StaticDataEndpointTypes["PATCH_UPDATE"] = "patchUpdate";
|
|
1263
1263
|
StaticDataEndpointTypes["CREATE_WITH_SUB_ENTITIES"] = "createWithSubEntities";
|
|
1264
|
+
StaticDataEndpointTypes["REPORTS"] = "reports";
|
|
1264
1265
|
})(StaticDataEndpointTypes || (StaticDataEndpointTypes = {}));
|
|
1265
1266
|
|
|
1266
1267
|
class StaticDataBulkUpdateOrCreateRequest extends PostRequest {
|
|
@@ -1509,6 +1510,43 @@ class StaticDataSubRoutingGetRequest extends GetRequest {
|
|
|
1509
1510
|
}
|
|
1510
1511
|
}
|
|
1511
1512
|
|
|
1513
|
+
class StaticDataReportsRequest extends PostRequest {
|
|
1514
|
+
constructor(domain, config) {
|
|
1515
|
+
super(domain);
|
|
1516
|
+
this.domain = domain;
|
|
1517
|
+
this.config = config;
|
|
1518
|
+
}
|
|
1519
|
+
get url() {
|
|
1520
|
+
return `${this.domain}/api/static-data/reports/query`;
|
|
1521
|
+
}
|
|
1522
|
+
get headers() {
|
|
1523
|
+
return this.addAuthHeaders(this.config.headers);
|
|
1524
|
+
}
|
|
1525
|
+
get params() {
|
|
1526
|
+
return null;
|
|
1527
|
+
}
|
|
1528
|
+
get body() {
|
|
1529
|
+
const formId = this.config.formId;
|
|
1530
|
+
const query = this.config.query || {
|
|
1531
|
+
primaryEntity: this.config.primaryEntity,
|
|
1532
|
+
relations: this.config.relations,
|
|
1533
|
+
transformations: this.config.transformations,
|
|
1534
|
+
visualization: this.config.visualization,
|
|
1535
|
+
pagination: this.config.pagination,
|
|
1536
|
+
sort: this.config.sort
|
|
1537
|
+
};
|
|
1538
|
+
return this.cleanParams({
|
|
1539
|
+
...query,
|
|
1540
|
+
formId,
|
|
1541
|
+
meta: {
|
|
1542
|
+
formId,
|
|
1543
|
+
staticDataType: query?.primaryEntity,
|
|
1544
|
+
itemId: formId
|
|
1545
|
+
}
|
|
1546
|
+
});
|
|
1547
|
+
}
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1512
1550
|
var TagsEndpointTypes;
|
|
1513
1551
|
(function (TagsEndpointTypes) {
|
|
1514
1552
|
TagsEndpointTypes["CREATE"] = "create";
|
|
@@ -3959,6 +3997,9 @@ class StaticDataApi extends BaseAPI {
|
|
|
3959
3997
|
case StaticDataEndpointTypes.CREATE_WITH_SUB_ENTITIES:
|
|
3960
3998
|
request = new StaticDataCreateWithSubEntitiesRequest(this.domain, paramsConfig);
|
|
3961
3999
|
break;
|
|
4000
|
+
case StaticDataEndpointTypes.REPORTS:
|
|
4001
|
+
request = new StaticDataReportsRequest(this.domain, paramsConfig);
|
|
4002
|
+
break;
|
|
3962
4003
|
default:
|
|
3963
4004
|
throw new Error(`Request for ${endPointType} is undefined `);
|
|
3964
4005
|
}
|
|
@@ -4011,6 +4052,9 @@ class StaticDataService extends BaseAPIService {
|
|
|
4011
4052
|
patchUpdate(config) {
|
|
4012
4053
|
return this.doRequest(config, StaticDataEndpointTypes.PATCH_UPDATE);
|
|
4013
4054
|
}
|
|
4055
|
+
reports(config) {
|
|
4056
|
+
return this.doRequest(config, StaticDataEndpointTypes.REPORTS);
|
|
4057
|
+
}
|
|
4014
4058
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataService, deps: [{ token: i1$1.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4015
4059
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataService, providedIn: 'root' }); }
|
|
4016
4060
|
}
|
|
@@ -4167,6 +4211,9 @@ const StaticDataGetSubRoutingSuccess = createAction('[StaticData] StaticData Get
|
|
|
4167
4211
|
const StaticDataGetSubRoutingFail = createAction('[StaticData] StaticData Get Sub routing Fail', props());
|
|
4168
4212
|
const StaticDataNewRevisions = createAction('[StaticData] StaticDataNewRevisions', props());
|
|
4169
4213
|
const StaticDataLoadRevisions = createAction('[StaticData] StaticDataLoadRevisions', props());
|
|
4214
|
+
const StaticDataReports = createAction('[StaticData] StaticData Reports', props());
|
|
4215
|
+
const StaticDataReportsSuccess = createAction('[StaticData] StaticData Reports Success', props());
|
|
4216
|
+
const StaticDataReportsFail = createAction('[StaticData] StaticData Reports Error', props());
|
|
4170
4217
|
|
|
4171
4218
|
const STATIC_DATA_FEATURE_KEY$1 = 'staticData';
|
|
4172
4219
|
var StaticDataMetaStatus$1;
|
|
@@ -4177,7 +4224,8 @@ var StaticDataMetaStatus$1;
|
|
|
4177
4224
|
const initialState$a = {
|
|
4178
4225
|
list: {},
|
|
4179
4226
|
meta: {},
|
|
4180
|
-
revisions: null
|
|
4227
|
+
revisions: null,
|
|
4228
|
+
reports: {}
|
|
4181
4229
|
};
|
|
4182
4230
|
const _staticDataReducer$3 = createReducer(initialState$a, on(StaticDataGetList, (state, action) => {
|
|
4183
4231
|
const { contentType, subSection } = action.payload;
|
|
@@ -4454,13 +4502,17 @@ const _staticDataReducer$3 = createReducer(initialState$a, on(StaticDataGetList,
|
|
|
4454
4502
|
};
|
|
4455
4503
|
}), on(StaticDataUpdateSuccess, (state, action) => {
|
|
4456
4504
|
const { contentType, itemId, data } = action.payload;
|
|
4505
|
+
const newData = { ...data };
|
|
4506
|
+
if (!newData?.id) {
|
|
4507
|
+
newData.id = itemId;
|
|
4508
|
+
}
|
|
4457
4509
|
const key = getFormKey$1(contentType, itemId);
|
|
4458
4510
|
const newList = state.list[contentType]?.list?.filter(item => item.id !== Number(itemId)) || [];
|
|
4459
4511
|
return {
|
|
4460
4512
|
...state,
|
|
4461
4513
|
list: {
|
|
4462
4514
|
...state.list,
|
|
4463
|
-
[contentType]: { list: [...newList,
|
|
4515
|
+
[contentType]: { list: [...newList, newData] }
|
|
4464
4516
|
},
|
|
4465
4517
|
meta: {
|
|
4466
4518
|
...state.meta,
|
|
@@ -4713,6 +4765,7 @@ const getStaticDataItem = (contentType, subSection = 'list', itemIdOrSlug, langI
|
|
|
4713
4765
|
}); //
|
|
4714
4766
|
return foundItem || {};
|
|
4715
4767
|
});
|
|
4768
|
+
const getReport = (storeKey = 'default') => createSelector(getStaticDataState$1, (state) => state?.reports?.[storeKey]);
|
|
4716
4769
|
const staticDataQuery = {
|
|
4717
4770
|
getStatus: getStatus$1,
|
|
4718
4771
|
getLoaded: getLoaded$3,
|
|
@@ -4723,7 +4776,8 @@ const staticDataQuery = {
|
|
|
4723
4776
|
getStaticDataForListContentTypes,
|
|
4724
4777
|
getStaticDataRevision,
|
|
4725
4778
|
getStaticDataRevisions,
|
|
4726
|
-
getStaticDataRevisionsList
|
|
4779
|
+
getStaticDataRevisionsList,
|
|
4780
|
+
getReport
|
|
4727
4781
|
};
|
|
4728
4782
|
|
|
4729
4783
|
class StaticDataFacade {
|
|
@@ -4932,6 +4986,16 @@ class StaticDataFacade {
|
|
|
4932
4986
|
}));
|
|
4933
4987
|
});
|
|
4934
4988
|
}
|
|
4989
|
+
reports(query, formId) {
|
|
4990
|
+
const uniqueFormId = formId || `report_form_${Date.now()}_${Math.floor(Math.random() * 10000)}`;
|
|
4991
|
+
this.store.dispatch(StaticDataReports({
|
|
4992
|
+
payload: {
|
|
4993
|
+
query,
|
|
4994
|
+
formId: uniqueFormId
|
|
4995
|
+
}
|
|
4996
|
+
}));
|
|
4997
|
+
return uniqueFormId;
|
|
4998
|
+
}
|
|
4935
4999
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4936
5000
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataFacade, providedIn: 'root' }); }
|
|
4937
5001
|
}
|
|
@@ -5992,11 +6056,11 @@ class CommonDialogComponent {
|
|
|
5992
6056
|
this.dialogRef.close(undefined);
|
|
5993
6057
|
}
|
|
5994
6058
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CommonDialogComponent, deps: [{ token: i1$6.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5995
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: CommonDialogComponent, isStandalone: false, selector: "app-common-dialog", ngImport: i0, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.modal-size-big]=\"data.size === sizeValues.big\"\n [class.modal-size-middle]=\"data.size === sizeValues.middle\"\n [class.modal-size-small]=\"data.size === sizeValues.small\"\n [class.modal-style-success]=\"data.messageType === typesValues.success\"\n [class.modal-style-error]=\"data.messageType === typesValues.error\"\n [class.modal-style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"modal-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 *ngIf=\"data.message\" [innerHTML]=\"data.message\"></p>\n <ng-container *ngIf=\"data.formConfig\">\n <form [formGroup]=\"form\">\n\n <!--<div *ngIf=\"staticSection.actions\" 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=\"form-create-button\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"edit\"\n iconColor=\"white\"\n color=\"accent\"\n styleTheme=\"raised\"\n [disabled]=\"!form.valid || formStatus === 'loading'\"\n (click)=\"submitClick()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C</shared-button>\n </div>\n </form>\n </ng-container>\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' }}</button>\n <button mat-button\n *ngIf=\"!data.formConfig\"\n [class.display-none]=\"data.hideTrueButton\"\n [class.green-text]=\"data.trueButtonTextColorClass === 'green'\"\n (click)=\"onYesClick()\"\n class=\"mat-raised-button mat-warn\">{{data.trueButtonTitle || '\u0414\u0430' }}</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,#6dcf71c9,#f0f8f0)}.
|
|
6059
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: CommonDialogComponent, isStandalone: false, selector: "app-common-dialog", ngImport: i0, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.modal-size-big]=\"data.size === sizeValues.big\"\n [class.modal-size-middle]=\"data.size === sizeValues.middle\"\n [class.modal-size-small]=\"data.size === sizeValues.small\"\n [class.modal-style-success]=\"data.messageType === typesValues.success\"\n [class.modal-style-error]=\"data.messageType === typesValues.error\"\n [class.modal-style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"modal-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 *ngIf=\"data.message\" [innerHTML]=\"data.message\"></p>\n <ng-container *ngIf=\"data.formConfig\">\n <form [formGroup]=\"form\">\n\n <!--<div *ngIf=\"staticSection.actions\" 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=\"form-create-button\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"edit\"\n iconColor=\"white\"\n color=\"accent\"\n styleTheme=\"raised\"\n [disabled]=\"!form.valid || formStatus === 'loading'\"\n (click)=\"submitClick()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C</shared-button>\n </div>\n </form>\n </ng-container>\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' }}</button>\n <button mat-button\n *ngIf=\"!data.formConfig\"\n [class.display-none]=\"data.hideTrueButton\"\n [class.green-text]=\"data.trueButtonTextColorClass === 'green'\"\n (click)=\"onYesClick()\"\n class=\"mat-raised-button mat-warn\">{{data.trueButtonTitle || '\u0414\u0430' }}</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,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-8px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.display-none{display:none}.green-text{color:#4caf50}\n"], dependencies: [{ kind: "directive", type: i1$4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$6.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$6.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: ButtonComponent, selector: "shared-button", inputs: ["icon", "iconColor", "iconSize", "rightIcon", "disabled", "loading", "active", "stopPropagation", "type", "color", "fullWidth", "size", "styleTheme", "tooltip", "tooltipPosition"], outputs: ["clickButton"] }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }], animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5996
6060
|
}
|
|
5997
6061
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CommonDialogComponent, decorators: [{
|
|
5998
6062
|
type: Component,
|
|
5999
|
-
args: [{ selector: 'app-common-dialog', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], standalone: false, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.modal-size-big]=\"data.size === sizeValues.big\"\n [class.modal-size-middle]=\"data.size === sizeValues.middle\"\n [class.modal-size-small]=\"data.size === sizeValues.small\"\n [class.modal-style-success]=\"data.messageType === typesValues.success\"\n [class.modal-style-error]=\"data.messageType === typesValues.error\"\n [class.modal-style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"modal-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 *ngIf=\"data.message\" [innerHTML]=\"data.message\"></p>\n <ng-container *ngIf=\"data.formConfig\">\n <form [formGroup]=\"form\">\n\n <!--<div *ngIf=\"staticSection.actions\" 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=\"form-create-button\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"edit\"\n iconColor=\"white\"\n color=\"accent\"\n styleTheme=\"raised\"\n [disabled]=\"!form.valid || formStatus === 'loading'\"\n (click)=\"submitClick()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C</shared-button>\n </div>\n </form>\n </ng-container>\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' }}</button>\n <button mat-button\n *ngIf=\"!data.formConfig\"\n [class.display-none]=\"data.hideTrueButton\"\n [class.green-text]=\"data.trueButtonTextColorClass === 'green'\"\n (click)=\"onYesClick()\"\n class=\"mat-raised-button mat-warn\">{{data.trueButtonTitle || '\u0414\u0430' }}</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,#6dcf71c9,#f0f8f0)}.
|
|
6063
|
+
args: [{ selector: 'app-common-dialog', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], standalone: false, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.modal-size-big]=\"data.size === sizeValues.big\"\n [class.modal-size-middle]=\"data.size === sizeValues.middle\"\n [class.modal-size-small]=\"data.size === sizeValues.small\"\n [class.modal-style-success]=\"data.messageType === typesValues.success\"\n [class.modal-style-error]=\"data.messageType === typesValues.error\"\n [class.modal-style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"modal-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 *ngIf=\"data.message\" [innerHTML]=\"data.message\"></p>\n <ng-container *ngIf=\"data.formConfig\">\n <form [formGroup]=\"form\">\n\n <!--<div *ngIf=\"staticSection.actions\" 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=\"form-create-button\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"edit\"\n iconColor=\"white\"\n color=\"accent\"\n styleTheme=\"raised\"\n [disabled]=\"!form.valid || formStatus === 'loading'\"\n (click)=\"submitClick()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C</shared-button>\n </div>\n </form>\n </ng-container>\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' }}</button>\n <button mat-button\n *ngIf=\"!data.formConfig\"\n [class.display-none]=\"data.hideTrueButton\"\n [class.green-text]=\"data.trueButtonTextColorClass === 'green'\"\n (click)=\"onYesClick()\"\n class=\"mat-raised-button mat-warn\">{{data.trueButtonTitle || '\u0414\u0430' }}</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,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-8px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.display-none{display:none}.green-text{color:#4caf50}\n"] }]
|
|
6000
6064
|
}], ctorParameters: () => [{ type: i1$6.MatDialogRef }, { type: undefined, decorators: [{
|
|
6001
6065
|
type: Inject,
|
|
6002
6066
|
args: [MAT_DIALOG_DATA]
|
|
@@ -7717,6 +7781,48 @@ class StaticDataCreateWithSubEntitiesBehavior extends Behavior {
|
|
|
7717
7781
|
}
|
|
7718
7782
|
}
|
|
7719
7783
|
|
|
7784
|
+
class StaticDataReportsBehavior extends Behavior {
|
|
7785
|
+
constructor(action, result) {
|
|
7786
|
+
super(action);
|
|
7787
|
+
this.action = action;
|
|
7788
|
+
this.result = result;
|
|
7789
|
+
}
|
|
7790
|
+
resolve() {
|
|
7791
|
+
const status = this.result.data?.status;
|
|
7792
|
+
let returnedActions = [];
|
|
7793
|
+
const actionPayload = this.action?.['payload'];
|
|
7794
|
+
switch (status) {
|
|
7795
|
+
case ResponseStatus.STATUS_200: {
|
|
7796
|
+
const response = this.result.data;
|
|
7797
|
+
const body = response.body || {};
|
|
7798
|
+
const data = body.data || body;
|
|
7799
|
+
const meta = body.meta || {};
|
|
7800
|
+
const storeKey = meta.itemId || actionPayload?.storeKey || actionPayload?.formId || actionPayload?.query?.primaryEntity || 'default';
|
|
7801
|
+
const contentType = meta.staticDataType || actionPayload?.query?.primaryEntity;
|
|
7802
|
+
if (data) {
|
|
7803
|
+
returnedActions = [
|
|
7804
|
+
StaticDataReportsSuccess({
|
|
7805
|
+
payload: { data, storeKey, contentType, itemId: meta.itemId || actionPayload?.formId }
|
|
7806
|
+
})
|
|
7807
|
+
];
|
|
7808
|
+
}
|
|
7809
|
+
break;
|
|
7810
|
+
}
|
|
7811
|
+
default: {
|
|
7812
|
+
const errorResponse = this.result.data;
|
|
7813
|
+
const error = errorResponse?.body?.errors ? errorResponse.body?.errors?.[0]?.title : (errorResponse?.body?.error || 'Unhandled error');
|
|
7814
|
+
const storeKey = actionPayload?.storeKey || actionPayload?.formId || actionPayload?.query?.primaryEntity || 'default';
|
|
7815
|
+
returnedActions = [
|
|
7816
|
+
StaticDataReportsFail({
|
|
7817
|
+
payload: { error, storeKey }
|
|
7818
|
+
})
|
|
7819
|
+
];
|
|
7820
|
+
}
|
|
7821
|
+
}
|
|
7822
|
+
return [...returnedActions];
|
|
7823
|
+
}
|
|
7824
|
+
}
|
|
7825
|
+
|
|
7720
7826
|
class StaticDataEffects extends BaseEffects {
|
|
7721
7827
|
constructor(actions$, store, authenticationService, staticDataService, routerService, notificationsFacade) {
|
|
7722
7828
|
super(actions$, store);
|
|
@@ -7874,6 +7980,22 @@ class StaticDataEffects extends BaseEffects {
|
|
|
7874
7980
|
}
|
|
7875
7981
|
}))));
|
|
7876
7982
|
})));
|
|
7983
|
+
this.staticDataReports$ = createEffect(() => this.actions$.pipe(ofType(StaticDataReports), switchMap$2((action) => {
|
|
7984
|
+
const headers = this.authenticationService.loadAuthDataFromLocalStore();
|
|
7985
|
+
const config = {
|
|
7986
|
+
...action.payload,
|
|
7987
|
+
headers: { token: headers.token, uid: headers.id },
|
|
7988
|
+
query: action.payload.query,
|
|
7989
|
+
formId: action.payload.formId,
|
|
7990
|
+
};
|
|
7991
|
+
return this.staticDataService.reports(config)
|
|
7992
|
+
.pipe(flatMap((r) => new StaticDataReportsBehavior(action, r).resolve()), catchError(error => of(StaticDataReportsFail({
|
|
7993
|
+
payload: {
|
|
7994
|
+
error,
|
|
7995
|
+
storeKey: action.payload.formId || action.payload.query?.primaryEntity
|
|
7996
|
+
}
|
|
7997
|
+
}))));
|
|
7998
|
+
})));
|
|
7877
7999
|
}
|
|
7878
8000
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataEffects, deps: [{ token: i1$3.Actions }, { token: i1.Store }, { token: AuthenticationService }, { token: StaticDataService }, { token: RouterFacade }, { token: NotificationsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7879
8001
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataEffects }); }
|
|
@@ -8649,11 +8771,11 @@ class SelectDialogComponent {
|
|
|
8649
8771
|
this.dialogRef.close(this.selectOption);
|
|
8650
8772
|
}
|
|
8651
8773
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SelectDialogComponent, deps: [{ token: i1$6.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8652
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: SelectDialogComponent, isStandalone: false, selector: "app-select-dialog", ngImport: i0, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.modal-size-big]=\"data.size === sizeValues.big\"\n [class.modal-size-middle]=\"data.size === sizeValues.middle\"\n [class.modal-size-small]=\"data.size === sizeValues.small\"\n [class.modal-style-success]=\"data.messageType === typesValues.success\"\n [class.modal-style-error]=\"data.messageType === typesValues.error\"\n [class.modal-style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"modal-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 [disabled]=\"!selectOption\"\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,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-
|
|
8774
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: SelectDialogComponent, isStandalone: false, selector: "app-select-dialog", ngImport: i0, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.modal-size-big]=\"data.size === sizeValues.big\"\n [class.modal-size-middle]=\"data.size === sizeValues.middle\"\n [class.modal-size-small]=\"data.size === sizeValues.small\"\n [class.modal-style-success]=\"data.messageType === typesValues.success\"\n [class.modal-style-error]=\"data.messageType === typesValues.error\"\n [class.modal-style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"modal-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 [disabled]=\"!selectOption\"\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,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-8px 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$4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$6.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$6.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }], animations: [appearFromRightWithDelay], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8653
8775
|
}
|
|
8654
8776
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SelectDialogComponent, decorators: [{
|
|
8655
8777
|
type: Component,
|
|
8656
|
-
args: [{ selector: 'app-select-dialog', animations: [appearFromRightWithDelay], changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.modal-size-big]=\"data.size === sizeValues.big\"\n [class.modal-size-middle]=\"data.size === sizeValues.middle\"\n [class.modal-size-small]=\"data.size === sizeValues.small\"\n [class.modal-style-success]=\"data.messageType === typesValues.success\"\n [class.modal-style-error]=\"data.messageType === typesValues.error\"\n [class.modal-style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"modal-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 [disabled]=\"!selectOption\"\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,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-
|
|
8778
|
+
args: [{ selector: 'app-select-dialog', animations: [appearFromRightWithDelay], changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.modal-size-big]=\"data.size === sizeValues.big\"\n [class.modal-size-middle]=\"data.size === sizeValues.middle\"\n [class.modal-size-small]=\"data.size === sizeValues.small\"\n [class.modal-style-success]=\"data.messageType === typesValues.success\"\n [class.modal-style-error]=\"data.messageType === typesValues.error\"\n [class.modal-style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"modal-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 [disabled]=\"!selectOption\"\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,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-8px 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"] }]
|
|
8657
8779
|
}], ctorParameters: () => [{ type: i1$6.MatDialogRef }, { type: undefined, decorators: [{
|
|
8658
8780
|
type: Inject,
|
|
8659
8781
|
args: [MAT_DIALOG_DATA]
|
|
@@ -9092,11 +9214,11 @@ class SmartProgressBarComponent {
|
|
|
9092
9214
|
this.showValue = true;
|
|
9093
9215
|
}
|
|
9094
9216
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SmartProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9095
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: SmartProgressBarComponent, isStandalone: false, selector: "shared-smart-progress-bar", inputs: { value: "value", title: "title", showValue: "showValue" }, ngImport: i0, template: "<div class=\"progress\">\n <div class=\"progress-bar\"\n role=\"progressbar\"\n [title]=\"title\"\n [style]=\"{width: value + '%'}\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n [class.bg-0]=\"value <= 30\"\n [class.bg-1]=\"value > 30 && value <= 40\"\n [class.bg-2]=\"value > 40 && value <= 50\"\n [class.bg-3]=\"value > 50 && value <= 60\"\n [class.bg-4]=\"value > 60 && value <= 70\"\n [class.bg-5]=\"value > 70 && value <= 85\"\n [class.bg-6]=\"value > 85\">\n <ng-container *ngIf=\"value\">\u0424\u043E\u0440\u043C\u0430 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0430 \u043D\u0430 {{value}}%</ng-container>\n </div>\n</div>\n\n", styles: [".progress{display:flex;height:13px;overflow:hidden;font-size
|
|
9217
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: SmartProgressBarComponent, isStandalone: false, selector: "shared-smart-progress-bar", inputs: { value: "value", title: "title", showValue: "showValue" }, ngImport: i0, template: "<div class=\"progress\">\n <div class=\"progress-bar\"\n role=\"progressbar\"\n [title]=\"title\"\n [style]=\"{width: value + '%'}\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n [class.bg-0]=\"value <= 30\"\n [class.bg-1]=\"value > 30 && value <= 40\"\n [class.bg-2]=\"value > 40 && value <= 50\"\n [class.bg-3]=\"value > 50 && value <= 60\"\n [class.bg-4]=\"value > 60 && value <= 70\"\n [class.bg-5]=\"value > 70 && value <= 85\"\n [class.bg-6]=\"value > 85\">\n <ng-container *ngIf=\"value\">\u0424\u043E\u0440\u043C\u0430 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0430 \u043D\u0430 {{value}}%</ng-container>\n </div>\n</div>\n\n", styles: [".progress{display:flex;height:13px;overflow:hidden;font-size:10px;background-color:#e9ecef;border-radius:.25rem;margin-bottom:10px}.progress .progress-bar{font-size:12px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#fff;text-align:center;background-color:transparent!important;transition:all .6s ease}.progress .progress-bar.bg-0{background-color:#e72235!important}.progress .progress-bar.bg-1{background-color:#dc4835!important}.progress .progress-bar.bg-2{background-color:#c09841!important}.progress .progress-bar.bg-3{background-color:#b6962b!important}.progress .progress-bar.bg-4{background-color:#9cad04!important}.progress .progress-bar.bg-5{background-color:#548804!important}.progress .progress-bar.bg-6{background-color:#28a745!important}\n"], dependencies: [{ kind: "directive", type: i1$4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9096
9218
|
}
|
|
9097
9219
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SmartProgressBarComponent, decorators: [{
|
|
9098
9220
|
type: Component,
|
|
9099
|
-
args: [{ selector: 'shared-smart-progress-bar', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"progress\">\n <div class=\"progress-bar\"\n role=\"progressbar\"\n [title]=\"title\"\n [style]=\"{width: value + '%'}\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n [class.bg-0]=\"value <= 30\"\n [class.bg-1]=\"value > 30 && value <= 40\"\n [class.bg-2]=\"value > 40 && value <= 50\"\n [class.bg-3]=\"value > 50 && value <= 60\"\n [class.bg-4]=\"value > 60 && value <= 70\"\n [class.bg-5]=\"value > 70 && value <= 85\"\n [class.bg-6]=\"value > 85\">\n <ng-container *ngIf=\"value\">\u0424\u043E\u0440\u043C\u0430 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0430 \u043D\u0430 {{value}}%</ng-container>\n </div>\n</div>\n\n", styles: [".progress{display:flex;height:13px;overflow:hidden;font-size
|
|
9221
|
+
args: [{ selector: 'shared-smart-progress-bar', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"progress\">\n <div class=\"progress-bar\"\n role=\"progressbar\"\n [title]=\"title\"\n [style]=\"{width: value + '%'}\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n [class.bg-0]=\"value <= 30\"\n [class.bg-1]=\"value > 30 && value <= 40\"\n [class.bg-2]=\"value > 40 && value <= 50\"\n [class.bg-3]=\"value > 50 && value <= 60\"\n [class.bg-4]=\"value > 60 && value <= 70\"\n [class.bg-5]=\"value > 70 && value <= 85\"\n [class.bg-6]=\"value > 85\">\n <ng-container *ngIf=\"value\">\u0424\u043E\u0440\u043C\u0430 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0430 \u043D\u0430 {{value}}%</ng-container>\n </div>\n</div>\n\n", styles: [".progress{display:flex;height:13px;overflow:hidden;font-size:10px;background-color:#e9ecef;border-radius:.25rem;margin-bottom:10px}.progress .progress-bar{font-size:12px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#fff;text-align:center;background-color:transparent!important;transition:all .6s ease}.progress .progress-bar.bg-0{background-color:#e72235!important}.progress .progress-bar.bg-1{background-color:#dc4835!important}.progress .progress-bar.bg-2{background-color:#c09841!important}.progress .progress-bar.bg-3{background-color:#b6962b!important}.progress .progress-bar.bg-4{background-color:#9cad04!important}.progress .progress-bar.bg-5{background-color:#548804!important}.progress .progress-bar.bg-6{background-color:#28a745!important}\n"] }]
|
|
9100
9222
|
}], propDecorators: { value: [{
|
|
9101
9223
|
type: Input
|
|
9102
9224
|
}], title: [{
|
|
@@ -9544,11 +9666,11 @@ class ImageComponent {
|
|
|
9544
9666
|
this.delete.emit();
|
|
9545
9667
|
}
|
|
9546
9668
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9547
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: ImageComponent, isStandalone: false, selector: "shared-image", inputs: { versions: "versions", url: "url", version: "version", title: "title", index: "index", haveZoom: "haveZoom", imgClass: "imgClass" }, outputs: { clickEvent: "clickEvent", delete: "delete" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"image-block\">\n <div *ngIf=\"showDeleteButton\" class=\"form-field-file-close mat-elevation-z4\" (click)=\"deleteImage()\">\n <mat-icon class=\"fs-14\">close</mat-icon>\n </div>\n <ng-container *ngIf=\"src\">\n <img [src]=\"src\" [title]=\"title\" [alt]=\"title\" [class]=\"imgClass\"/>\n <div *ngIf=\"haveZoom\" class=\"zoom\" (click)=\"clickHandler();\">\n <span class=\"lnr lnr-magnifier\"></span>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!src\">\n <div class=\"default-image\">\n <img src=\"assets/images/default-image.png\" [alt]=\"title\"/>\n </div>\n </ng-container>\n</div>\n", styles: [":host{position:relative}.image-block{position:relative;height:100%}.image-block:hover .form-field-file-close{width:25px;height:25px;opacity:.8}.image-block:hover .form-field-file-close mat-icon{width:18px;min-width:18px;height:18px;min-height:18px;font-size:18px}.image-block .form-field-file-close{right:0;top:0;cursor:pointer;background:#fff;position:absolute;width:15px;height:15px;display:flex;align-items:center;justify-content:center;border-bottom-left-radius:4px;color:#f44336;transition:all .15s ease;opacity:.6}.image-block .form-field-file-close mat-icon{transition:transform .15s ease;width:15px;height:15px;min-width:15px;min-height:15px;margin-left:1px;margin-top:3px}.image-block .form-field-file-close:hover{opacity:1}.image-block .form-field-file-close:hover mat-icon{transform:rotate(90deg)}.image-block .zoom{position:absolute;transition:all .
|
|
9669
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: ImageComponent, isStandalone: false, selector: "shared-image", inputs: { versions: "versions", url: "url", version: "version", title: "title", index: "index", haveZoom: "haveZoom", imgClass: "imgClass" }, outputs: { clickEvent: "clickEvent", delete: "delete" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"image-block\">\n <div *ngIf=\"showDeleteButton\" class=\"form-field-file-close mat-elevation-z4\" (click)=\"deleteImage()\">\n <mat-icon class=\"fs-14\">close</mat-icon>\n </div>\n <ng-container *ngIf=\"src\">\n <img [src]=\"src\" [title]=\"title\" [alt]=\"title\" [class]=\"imgClass\"/>\n <div *ngIf=\"haveZoom\" class=\"zoom\" (click)=\"clickHandler();\">\n <span class=\"lnr lnr-magnifier\"></span>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!src\">\n <div class=\"default-image\">\n <img src=\"assets/images/default-image.png\" [alt]=\"title\"/>\n </div>\n </ng-container>\n</div>\n", styles: [":host{position:relative}.image-block{position:relative;height:100%}.image-block:hover .form-field-file-close{width:25px;height:25px;opacity:.8}.image-block:hover .form-field-file-close mat-icon{width:18px;min-width:18px;height:18px;min-height:18px;font-size:18px}.image-block .form-field-file-close{right:0;top:0;cursor:pointer;background:#fff;position:absolute;width:15px;height:15px;display:flex;align-items:center;justify-content:center;border-bottom-left-radius:4px;color:#f44336;transition:all .15s ease;opacity:.6}.image-block .form-field-file-close mat-icon{transition:transform .15s ease;width:15px;height:15px;min-width:15px;min-height:15px;margin-left:1px;margin-top:3px}.image-block .form-field-file-close:hover{opacity:1}.image-block .form-field-file-close:hover mat-icon{transform:rotate(90deg)}.image-block .zoom{position:absolute;transition:all .3s ease;opacity:0;inset:0;background-color:#313131b8;display:flex;align-items:center;justify-content:center;cursor:pointer}.image-block .zoom:hover{opacity:.8}.image-block .zoom .lnr{font-size:20px;font-weight:700;color:#49caff}.image-block .default-image{display:flex;align-items:center;justify-content:center;background-color:#e1eaf1;width:200px;height:150px;opacity:.6}.image-block .default-image img{width:auto!important;height:auto!important}.image-block img{object-fit:contain;width:100%!important;height:100%!important}\n"], dependencies: [{ kind: "directive", type: i1$4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9548
9670
|
}
|
|
9549
9671
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ImageComponent, decorators: [{
|
|
9550
9672
|
type: Component,
|
|
9551
|
-
args: [{ selector: 'shared-image', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"image-block\">\n <div *ngIf=\"showDeleteButton\" class=\"form-field-file-close mat-elevation-z4\" (click)=\"deleteImage()\">\n <mat-icon class=\"fs-14\">close</mat-icon>\n </div>\n <ng-container *ngIf=\"src\">\n <img [src]=\"src\" [title]=\"title\" [alt]=\"title\" [class]=\"imgClass\"/>\n <div *ngIf=\"haveZoom\" class=\"zoom\" (click)=\"clickHandler();\">\n <span class=\"lnr lnr-magnifier\"></span>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!src\">\n <div class=\"default-image\">\n <img src=\"assets/images/default-image.png\" [alt]=\"title\"/>\n </div>\n </ng-container>\n</div>\n", styles: [":host{position:relative}.image-block{position:relative;height:100%}.image-block:hover .form-field-file-close{width:25px;height:25px;opacity:.8}.image-block:hover .form-field-file-close mat-icon{width:18px;min-width:18px;height:18px;min-height:18px;font-size:18px}.image-block .form-field-file-close{right:0;top:0;cursor:pointer;background:#fff;position:absolute;width:15px;height:15px;display:flex;align-items:center;justify-content:center;border-bottom-left-radius:4px;color:#f44336;transition:all .15s ease;opacity:.6}.image-block .form-field-file-close mat-icon{transition:transform .15s ease;width:15px;height:15px;min-width:15px;min-height:15px;margin-left:1px;margin-top:3px}.image-block .form-field-file-close:hover{opacity:1}.image-block .form-field-file-close:hover mat-icon{transform:rotate(90deg)}.image-block .zoom{position:absolute;transition:all .
|
|
9673
|
+
args: [{ selector: 'shared-image', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"image-block\">\n <div *ngIf=\"showDeleteButton\" class=\"form-field-file-close mat-elevation-z4\" (click)=\"deleteImage()\">\n <mat-icon class=\"fs-14\">close</mat-icon>\n </div>\n <ng-container *ngIf=\"src\">\n <img [src]=\"src\" [title]=\"title\" [alt]=\"title\" [class]=\"imgClass\"/>\n <div *ngIf=\"haveZoom\" class=\"zoom\" (click)=\"clickHandler();\">\n <span class=\"lnr lnr-magnifier\"></span>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!src\">\n <div class=\"default-image\">\n <img src=\"assets/images/default-image.png\" [alt]=\"title\"/>\n </div>\n </ng-container>\n</div>\n", styles: [":host{position:relative}.image-block{position:relative;height:100%}.image-block:hover .form-field-file-close{width:25px;height:25px;opacity:.8}.image-block:hover .form-field-file-close mat-icon{width:18px;min-width:18px;height:18px;min-height:18px;font-size:18px}.image-block .form-field-file-close{right:0;top:0;cursor:pointer;background:#fff;position:absolute;width:15px;height:15px;display:flex;align-items:center;justify-content:center;border-bottom-left-radius:4px;color:#f44336;transition:all .15s ease;opacity:.6}.image-block .form-field-file-close mat-icon{transition:transform .15s ease;width:15px;height:15px;min-width:15px;min-height:15px;margin-left:1px;margin-top:3px}.image-block .form-field-file-close:hover{opacity:1}.image-block .form-field-file-close:hover mat-icon{transform:rotate(90deg)}.image-block .zoom{position:absolute;transition:all .3s ease;opacity:0;inset:0;background-color:#313131b8;display:flex;align-items:center;justify-content:center;cursor:pointer}.image-block .zoom:hover{opacity:.8}.image-block .zoom .lnr{font-size:20px;font-weight:700;color:#49caff}.image-block .default-image{display:flex;align-items:center;justify-content:center;background-color:#e1eaf1;width:200px;height:150px;opacity:.6}.image-block .default-image img{width:auto!important;height:auto!important}.image-block img{object-fit:contain;width:100%!important;height:100%!important}\n"] }]
|
|
9552
9674
|
}], ctorParameters: () => [], propDecorators: { versions: [{
|
|
9553
9675
|
type: Input
|
|
9554
9676
|
}], url: [{
|
|
@@ -9877,11 +9999,11 @@ class FileListCardComponent {
|
|
|
9877
9999
|
}
|
|
9878
10000
|
}
|
|
9879
10001
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FileListCardComponent, deps: [{ token: FilesFacade }, { token: NotificationsFacade }, { token: DialogService }, { token: i0.ChangeDetectorRef }, { token: RequestsFacade }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9880
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FileListCardComponent, isStandalone: false, selector: "shared-file-list-card", inputs: { file: "file", section: "section", itemId: "itemId", mode: "mode" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"fuse-card\"\n [ngClass]=\"{'fuse-card-sort': mode === ModeSort}\">\n <div class=\"top-panel\" fxLayout=\"row\" fxLayoutAlign=\"end center\">\n <button\n mat-icon-button\n aria-label=\"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\"\n title=\"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\"\n class=\"color-green\"\n (click)=\"editFile()\"\n >\n <mat-icon>edit</mat-icon>\n </button>\n <button mat-icon-button\n aria-label=\"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0433\u043B\u0430\u0432\u043D\u044B\u043C\"\n title=\"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0433\u043B\u0430\u0432\u043D\u044B\u043C\"\n (click)=\"setMain(file.id, file.main)\"\n [ngClass]=\"{'cursor-no-pointer': file.main}\">\n <mat-icon *ngIf=\"!file.main\">star_border</mat-icon>\n <mat-icon *ngIf=\"file.main\">star</mat-icon>\n </button>\n <button\n mat-icon-button\n aria-label=\"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u0430\u0439\u043B\"\n title=\"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u0430\u0439\u043B\"\n class=\"color-red\"\n (click)=\"fileDelete(file.id)\"\n >\n <mat-icon>delete_outline</mat-icon>\n </button>\n </div>\n <div class=\"image\"\n [ngStyle]=\"{'background-image': file.versions ? 'url(' + file.versions[2] + ')' : 'none'}\"></div>\n <div class=\"p-10 cart-title p-0\"\n [ngClass]=\"{'edit-title': edit, 'empty-title': !file.title}\">\n <div class=\"width100 display-flex-space-between edit-block\"\n [ngClass]=\"{'edit-block-open': edit}\">\n\n <div *ngIf=\"!edit && file?.title\" class=\"h3\">{{file.title}}</div>\n <ng-container *ngIf=\"edit\">\n <textarea type=\"text\"\n placeholder=\"Enter image title...\"\n class=\"edit-textarea\"\n (change)=\"changeTitle($event)\"\n [innerText]=\"file && file.title ? file.title : ''\"></textarea>\n <div class=\"edit-button\">\n <button\n mat-icon-button\n aria-label=\"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\"\n title=\"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\"\n class=\"color-green\"\n (click)=\"saveTitle(file)\"\n >\n <mat-icon>check</mat-icon>\n </button>\n <button\n mat-icon-button\n aria-label=\"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\"\n title=\"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\"\n class=\"color-red\"\n (click)=\"edit = false\"\n >\n <mat-icon>close</mat-icon>\n </button>\n </div>\n </ng-container>\n </div>\n </div>\n <shared-spinner\n *ngIf=\"loading\"\n [overlay]=\"true\"\n [diameter]=\"20\"\n [color]=\"'blue'\"></shared-spinner>\n</div>\n", styles: ["
|
|
10002
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FileListCardComponent, isStandalone: false, selector: "shared-file-list-card", inputs: { file: "file", section: "section", itemId: "itemId", mode: "mode" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"fuse-card\"\n [ngClass]=\"{'fuse-card-sort': mode === ModeSort}\">\n <div class=\"top-panel\" fxLayout=\"row\" fxLayoutAlign=\"end center\">\n <button\n mat-icon-button\n aria-label=\"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\"\n title=\"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\"\n class=\"color-green\"\n (click)=\"editFile()\"\n >\n <mat-icon>edit</mat-icon>\n </button>\n <button mat-icon-button\n aria-label=\"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0433\u043B\u0430\u0432\u043D\u044B\u043C\"\n title=\"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0433\u043B\u0430\u0432\u043D\u044B\u043C\"\n (click)=\"setMain(file.id, file.main)\"\n [ngClass]=\"{'cursor-no-pointer': file.main}\">\n <mat-icon *ngIf=\"!file.main\">star_border</mat-icon>\n <mat-icon *ngIf=\"file.main\">star</mat-icon>\n </button>\n <button\n mat-icon-button\n aria-label=\"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u0430\u0439\u043B\"\n title=\"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u0430\u0439\u043B\"\n class=\"color-red\"\n (click)=\"fileDelete(file.id)\"\n >\n <mat-icon>delete_outline</mat-icon>\n </button>\n </div>\n <div class=\"image\"\n [ngStyle]=\"{'background-image': file.versions ? 'url(' + file.versions[2] + ')' : 'none'}\"></div>\n <div class=\"p-10 cart-title p-0\"\n [ngClass]=\"{'edit-title': edit, 'empty-title': !file.title}\">\n <div class=\"width100 display-flex-space-between edit-block\"\n [ngClass]=\"{'edit-block-open': edit}\">\n\n <div *ngIf=\"!edit && file?.title\" class=\"h3\">{{file.title}}</div>\n <ng-container *ngIf=\"edit\">\n <textarea type=\"text\"\n placeholder=\"Enter image title...\"\n class=\"edit-textarea\"\n (change)=\"changeTitle($event)\"\n [innerText]=\"file && file.title ? file.title : ''\"></textarea>\n <div class=\"edit-button\">\n <button\n mat-icon-button\n aria-label=\"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\"\n title=\"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\"\n class=\"color-green\"\n (click)=\"saveTitle(file)\"\n >\n <mat-icon>check</mat-icon>\n </button>\n <button\n mat-icon-button\n aria-label=\"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\"\n title=\"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\"\n class=\"color-red\"\n (click)=\"edit = false\"\n >\n <mat-icon>close</mat-icon>\n </button>\n </div>\n </ng-container>\n </div>\n </div>\n <shared-spinner\n *ngIf=\"loading\"\n [overlay]=\"true\"\n [diameter]=\"20\"\n [color]=\"'blue'\"></shared-spinner>\n</div>\n", styles: [".fuse-card{display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;cursor:move;background:#fff;font-size:14px;flex-grow:1;flex-basis:0}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card:last-child{border:none}.card-list.cdk-drop-list-dragging .fuse-card:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"], dependencies: [{ kind: "directive", type: i1$4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i2$1.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: i5.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9881
10003
|
}
|
|
9882
10004
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FileListCardComponent, decorators: [{
|
|
9883
10005
|
type: Component,
|
|
9884
|
-
args: [{ selector: 'shared-file-list-card', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"fuse-card\"\n [ngClass]=\"{'fuse-card-sort': mode === ModeSort}\">\n <div class=\"top-panel\" fxLayout=\"row\" fxLayoutAlign=\"end center\">\n <button\n mat-icon-button\n aria-label=\"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\"\n title=\"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\"\n class=\"color-green\"\n (click)=\"editFile()\"\n >\n <mat-icon>edit</mat-icon>\n </button>\n <button mat-icon-button\n aria-label=\"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0433\u043B\u0430\u0432\u043D\u044B\u043C\"\n title=\"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0433\u043B\u0430\u0432\u043D\u044B\u043C\"\n (click)=\"setMain(file.id, file.main)\"\n [ngClass]=\"{'cursor-no-pointer': file.main}\">\n <mat-icon *ngIf=\"!file.main\">star_border</mat-icon>\n <mat-icon *ngIf=\"file.main\">star</mat-icon>\n </button>\n <button\n mat-icon-button\n aria-label=\"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u0430\u0439\u043B\"\n title=\"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u0430\u0439\u043B\"\n class=\"color-red\"\n (click)=\"fileDelete(file.id)\"\n >\n <mat-icon>delete_outline</mat-icon>\n </button>\n </div>\n <div class=\"image\"\n [ngStyle]=\"{'background-image': file.versions ? 'url(' + file.versions[2] + ')' : 'none'}\"></div>\n <div class=\"p-10 cart-title p-0\"\n [ngClass]=\"{'edit-title': edit, 'empty-title': !file.title}\">\n <div class=\"width100 display-flex-space-between edit-block\"\n [ngClass]=\"{'edit-block-open': edit}\">\n\n <div *ngIf=\"!edit && file?.title\" class=\"h3\">{{file.title}}</div>\n <ng-container *ngIf=\"edit\">\n <textarea type=\"text\"\n placeholder=\"Enter image title...\"\n class=\"edit-textarea\"\n (change)=\"changeTitle($event)\"\n [innerText]=\"file && file.title ? file.title : ''\"></textarea>\n <div class=\"edit-button\">\n <button\n mat-icon-button\n aria-label=\"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\"\n title=\"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\"\n class=\"color-green\"\n (click)=\"saveTitle(file)\"\n >\n <mat-icon>check</mat-icon>\n </button>\n <button\n mat-icon-button\n aria-label=\"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\"\n title=\"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\"\n class=\"color-red\"\n (click)=\"edit = false\"\n >\n <mat-icon>close</mat-icon>\n </button>\n </div>\n </ng-container>\n </div>\n </div>\n <shared-spinner\n *ngIf=\"loading\"\n [overlay]=\"true\"\n [diameter]=\"20\"\n [color]=\"'blue'\"></shared-spinner>\n</div>\n", styles: ["
|
|
10006
|
+
args: [{ selector: 'shared-file-list-card', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"fuse-card\"\n [ngClass]=\"{'fuse-card-sort': mode === ModeSort}\">\n <div class=\"top-panel\" fxLayout=\"row\" fxLayoutAlign=\"end center\">\n <button\n mat-icon-button\n aria-label=\"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\"\n title=\"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\"\n class=\"color-green\"\n (click)=\"editFile()\"\n >\n <mat-icon>edit</mat-icon>\n </button>\n <button mat-icon-button\n aria-label=\"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0433\u043B\u0430\u0432\u043D\u044B\u043C\"\n title=\"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0433\u043B\u0430\u0432\u043D\u044B\u043C\"\n (click)=\"setMain(file.id, file.main)\"\n [ngClass]=\"{'cursor-no-pointer': file.main}\">\n <mat-icon *ngIf=\"!file.main\">star_border</mat-icon>\n <mat-icon *ngIf=\"file.main\">star</mat-icon>\n </button>\n <button\n mat-icon-button\n aria-label=\"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u0430\u0439\u043B\"\n title=\"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u0430\u0439\u043B\"\n class=\"color-red\"\n (click)=\"fileDelete(file.id)\"\n >\n <mat-icon>delete_outline</mat-icon>\n </button>\n </div>\n <div class=\"image\"\n [ngStyle]=\"{'background-image': file.versions ? 'url(' + file.versions[2] + ')' : 'none'}\"></div>\n <div class=\"p-10 cart-title p-0\"\n [ngClass]=\"{'edit-title': edit, 'empty-title': !file.title}\">\n <div class=\"width100 display-flex-space-between edit-block\"\n [ngClass]=\"{'edit-block-open': edit}\">\n\n <div *ngIf=\"!edit && file?.title\" class=\"h3\">{{file.title}}</div>\n <ng-container *ngIf=\"edit\">\n <textarea type=\"text\"\n placeholder=\"Enter image title...\"\n class=\"edit-textarea\"\n (change)=\"changeTitle($event)\"\n [innerText]=\"file && file.title ? file.title : ''\"></textarea>\n <div class=\"edit-button\">\n <button\n mat-icon-button\n aria-label=\"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\"\n title=\"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\"\n class=\"color-green\"\n (click)=\"saveTitle(file)\"\n >\n <mat-icon>check</mat-icon>\n </button>\n <button\n mat-icon-button\n aria-label=\"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\"\n title=\"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\"\n class=\"color-red\"\n (click)=\"edit = false\"\n >\n <mat-icon>close</mat-icon>\n </button>\n </div>\n </ng-container>\n </div>\n </div>\n <shared-spinner\n *ngIf=\"loading\"\n [overlay]=\"true\"\n [diameter]=\"20\"\n [color]=\"'blue'\"></shared-spinner>\n</div>\n", styles: [".fuse-card{display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;cursor:move;background:#fff;font-size:14px;flex-grow:1;flex-basis:0}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card:last-child{border:none}.card-list.cdk-drop-list-dragging .fuse-card:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"] }]
|
|
9885
10007
|
}], ctorParameters: () => [{ type: FilesFacade }, { type: NotificationsFacade }, { type: DialogService }, { type: i0.ChangeDetectorRef }, { type: RequestsFacade }], propDecorators: { file: [{
|
|
9886
10008
|
type: Input
|
|
9887
10009
|
}], section: [{
|
|
@@ -9962,11 +10084,11 @@ class FilesUploadListImagesComponent {
|
|
|
9962
10084
|
this.changeSort.emit({ newSorting, storedSorting: this.storedFirstSorting });
|
|
9963
10085
|
}
|
|
9964
10086
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FilesUploadListImagesComponent, deps: [{ token: FilesFacade }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9965
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FilesUploadListImagesComponent, isStandalone: false, selector: "shared-files-upload-list-images", inputs: { section: "section", filesType: "filesType", itemId: "itemId", mode: "mode" }, outputs: { changeSort: "changeSort" }, ngImport: i0, template: "<div class=\"cards position-relative\">\n <ng-container *ngIf=\"files$ | async as files; else loading\">\n <div *ngIf=\"files.length\"\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n (cdkDropListDropped)=\"drop($event)\"\n class=\"card-list\">\n <!-- trackBy: trackById -->\n <shared-file-list-card\n cdkDrag\n *ngFor=\"let file of files;\"\n @hideToTopOpacity\n [file]=\"file\"\n [section]=\"section\"\n [itemId]=\"itemId\"></shared-file-list-card>\n </div>\n <div *ngIf=\"!files.length\" class=\"empty-list\">\n \u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442\n </div>\n </ng-container>\n</div>\n<ng-template #loading>\n <shared-spinner [overlay]=\"true\"></shared-spinner>\n</ng-template>\n", styles: [".image{text-align:center;background-size:cover;background-position:center top;width:318px;height:200px;border-radius:6px;overflow:hidden}.custom-placeholder{background:#
|
|
10087
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FilesUploadListImagesComponent, isStandalone: false, selector: "shared-files-upload-list-images", inputs: { section: "section", filesType: "filesType", itemId: "itemId", mode: "mode" }, outputs: { changeSort: "changeSort" }, ngImport: i0, template: "<div class=\"cards position-relative\">\n <ng-container *ngIf=\"files$ | async as files; else loading\">\n <div *ngIf=\"files.length\"\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n (cdkDropListDropped)=\"drop($event)\"\n class=\"card-list\">\n <!-- trackBy: trackById -->\n <shared-file-list-card\n cdkDrag\n *ngFor=\"let file of files;\"\n @hideToTopOpacity\n [file]=\"file\"\n [section]=\"section\"\n [itemId]=\"itemId\"></shared-file-list-card>\n </div>\n <div *ngIf=\"!files.length\" class=\"empty-list\">\n \u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442\n </div>\n </ng-container>\n</div>\n<ng-template #loading>\n <shared-spinner [overlay]=\"true\"></shared-spinner>\n</ng-template>\n", styles: [".image{text-align:center;background-size:cover;background-position:center top;width:318px;height:200px;border-radius:6px;overflow:hidden}.custom-placeholder{background:#d0d0d0;border:dotted 3px #7f7f7f;min-height:60px;transition:transform .25s cubic-bezier(0,0,.2,1)}.cards,.card-list{display:flex;flex-wrap:wrap}.card-list-sort{flex-direction:column;flex-wrap:nowrap;overflow:hidden}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card:last-child{border:none}.card-list.cdk-drop-list-dragging .fuse-card:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"], dependencies: [{ kind: "directive", type: i1$4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$3.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i3$3.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: FileListCardComponent, selector: "shared-file-list-card", inputs: ["file", "section", "itemId", "mode"] }, { kind: "pipe", type: i1$4.AsyncPipe, name: "async" }], animations: [hideToTopOpacity], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9966
10088
|
}
|
|
9967
10089
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FilesUploadListImagesComponent, decorators: [{
|
|
9968
10090
|
type: Component,
|
|
9969
|
-
args: [{ selector: 'shared-files-upload-list-images', changeDetection: ChangeDetectionStrategy.OnPush, animations: [hideToTopOpacity], standalone: false, template: "<div class=\"cards position-relative\">\n <ng-container *ngIf=\"files$ | async as files; else loading\">\n <div *ngIf=\"files.length\"\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n (cdkDropListDropped)=\"drop($event)\"\n class=\"card-list\">\n <!-- trackBy: trackById -->\n <shared-file-list-card\n cdkDrag\n *ngFor=\"let file of files;\"\n @hideToTopOpacity\n [file]=\"file\"\n [section]=\"section\"\n [itemId]=\"itemId\"></shared-file-list-card>\n </div>\n <div *ngIf=\"!files.length\" class=\"empty-list\">\n \u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442\n </div>\n </ng-container>\n</div>\n<ng-template #loading>\n <shared-spinner [overlay]=\"true\"></shared-spinner>\n</ng-template>\n", styles: [".image{text-align:center;background-size:cover;background-position:center top;width:318px;height:200px;border-radius:6px;overflow:hidden}.custom-placeholder{background:#
|
|
10091
|
+
args: [{ selector: 'shared-files-upload-list-images', changeDetection: ChangeDetectionStrategy.OnPush, animations: [hideToTopOpacity], standalone: false, template: "<div class=\"cards position-relative\">\n <ng-container *ngIf=\"files$ | async as files; else loading\">\n <div *ngIf=\"files.length\"\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n (cdkDropListDropped)=\"drop($event)\"\n class=\"card-list\">\n <!-- trackBy: trackById -->\n <shared-file-list-card\n cdkDrag\n *ngFor=\"let file of files;\"\n @hideToTopOpacity\n [file]=\"file\"\n [section]=\"section\"\n [itemId]=\"itemId\"></shared-file-list-card>\n </div>\n <div *ngIf=\"!files.length\" class=\"empty-list\">\n \u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442\n </div>\n </ng-container>\n</div>\n<ng-template #loading>\n <shared-spinner [overlay]=\"true\"></shared-spinner>\n</ng-template>\n", styles: [".image{text-align:center;background-size:cover;background-position:center top;width:318px;height:200px;border-radius:6px;overflow:hidden}.custom-placeholder{background:#d0d0d0;border:dotted 3px #7f7f7f;min-height:60px;transition:transform .25s cubic-bezier(0,0,.2,1)}.cards,.card-list{display:flex;flex-wrap:wrap}.card-list-sort{flex-direction:column;flex-wrap:nowrap;overflow:hidden}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card:last-child{border:none}.card-list.cdk-drop-list-dragging .fuse-card:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"] }]
|
|
9970
10092
|
}], ctorParameters: () => [{ type: FilesFacade }], propDecorators: { section: [{
|
|
9971
10093
|
type: Input
|
|
9972
10094
|
}], filesType: [{
|
|
@@ -10060,7 +10182,7 @@ class TableFilesUploadingComponent {
|
|
|
10060
10182
|
});
|
|
10061
10183
|
}
|
|
10062
10184
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TableFilesUploadingComponent, deps: [{ token: FilesFacade }, { token: NotificationsFacade }, { token: i0.ChangeDetectorRef }, { token: AuthenticationService }, { token: CORE_CONFIG }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10063
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: TableFilesUploadingComponent, isStandalone: false, selector: "shared-table-files-uploading", inputs: { section: "section", itemId: "itemId", haveElevation: "haveElevation" }, outputs: { loadingCompleted: "loadingCompleted" }, ngImport: i0, template: "<div\n class=\"page-layout simple fullwidth fileUploads\"\n fxLayout=\"column\">\n <!-- CONTENT -->\n <div class=\"p-24\"\n [ngClass]=\"{'mat-card mat-elevation-z4': haveElevation}\">\n <div class=\"row\">\n <div class=\"col-md-12\" *ngIf=\"!uploader.queue.length\" [@appearFromLeftHideToRight]>\n <div class=\"h2 mb-24\">\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B</div>\n <div ng2FileDrop\n [ngClass]=\"{'nv-file-over': hasBaseDropZoneOver}\"\n (fileOver)=\"fileOverBase($event)\"\n [uploader]=\"uploader\"\n class=\"well my-drop-zone\">\n \u041F\u0435\u0440\u0435\u043D\u0435\u0441\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B\n </div>\n <div class=\"p-5\">\n \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B: <input type=\"file\" ng2FileSelect [uploader]=\"uploader\" multiple/><br/>\n </div>\n </div>\n\n <div *ngIf=\"uploader && uploader.queue.length\" [@appearFromLeftHideToRight] class=\"col-md-12\">\n <ng-container *ngIf=\"allProgress$ | async as allProgress\">\n <ng-container *ngIf=\"itemsProgress$ | async as itemsProgress\">\n <ng-container *ngIf=\"allProgress !== 100\">\n <h3>\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A</h3>\n <table class=\"table\">\n <thead>\n <tr>\n <th width=\"50%\">\u0424\u0430\u0439\u043B</th>\n <th>\u0420\u0430\u0437\u043C\u0435\u0440</th>\n <th>\u041F\u0440\u043E\u0433\u0440\u0435\u0441\u0441</th>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngFor=\"let item of uploader.queue\">\n <tr [@appearFromLeftHideToRight] *ngIf=\"itemsProgress[item?.file?.name] !== 100\">\n <td><strong>{{ item?.file?.name }}</strong></td>\n <td nowrap>{{ item?.file?.size / 1024 / 1024 | number:'.2' }} MB</td>\n <td>\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"itemsProgress[item?.file?.name] || 0\">\n </mat-progress-bar>\n </div>\n </td>\n </tr>\n </ng-container>\n </tbody>\n </table>\n <div>\n <div class=\"progress-block\">\n Queue progress:\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"allProgress\">\n </mat-progress-bar>\n </div>\n </div>\n <!--<div class=\"text-right\">\n <button mat-flat-button color=\"accent\"\n class=\"mr-5\"\n (click)=\"uploader.uploadAll()\"\n [disabled]=\"!uploader.getNotUploadedItems().length\">\n <mat-icon class=\"fs-18\">get_app</mat-icon>\n \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"primary\"\n class=\"mr-5\"\n (click)=\"uploader.cancelAll()\"\n [disabled]=\"!uploader.isUploading\">\n <mat-icon class=\"fs-18\">clear</mat-icon>\n \u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"warn\"\n class=\"mr-5\"\n (click)=\"uploader.clearQueue()\"\n [disabled]=\"!uploader.queue.length\">\n <mat-icon class=\"fs-18\">delete_outline</mat-icon>\n \u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n </div>-->\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n", styles: [":host{display:block}.fileUploads{margin-bottom:10px;margin-left:-5px}.fileUploads .mat-card{margin:5px}.nv-file-over{border:dotted 3px
|
|
10185
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: TableFilesUploadingComponent, isStandalone: false, selector: "shared-table-files-uploading", inputs: { section: "section", itemId: "itemId", haveElevation: "haveElevation" }, outputs: { loadingCompleted: "loadingCompleted" }, ngImport: i0, template: "<div\n class=\"page-layout simple fullwidth fileUploads\"\n fxLayout=\"column\">\n <!-- CONTENT -->\n <div class=\"p-24\"\n [ngClass]=\"{'mat-card mat-elevation-z4': haveElevation}\">\n <div class=\"row\">\n <div class=\"col-md-12\" *ngIf=\"!uploader.queue.length\" [@appearFromLeftHideToRight]>\n <div class=\"h2 mb-24\">\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B</div>\n <div ng2FileDrop\n [ngClass]=\"{'nv-file-over': hasBaseDropZoneOver}\"\n (fileOver)=\"fileOverBase($event)\"\n [uploader]=\"uploader\"\n class=\"well my-drop-zone\">\n \u041F\u0435\u0440\u0435\u043D\u0435\u0441\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B\n </div>\n <div class=\"p-5\">\n \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B: <input type=\"file\" ng2FileSelect [uploader]=\"uploader\" multiple/><br/>\n </div>\n </div>\n\n <div *ngIf=\"uploader && uploader.queue.length\" [@appearFromLeftHideToRight] class=\"col-md-12\">\n <ng-container *ngIf=\"allProgress$ | async as allProgress\">\n <ng-container *ngIf=\"itemsProgress$ | async as itemsProgress\">\n <ng-container *ngIf=\"allProgress !== 100\">\n <h3>\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A</h3>\n <table class=\"table\">\n <thead>\n <tr>\n <th width=\"50%\">\u0424\u0430\u0439\u043B</th>\n <th>\u0420\u0430\u0437\u043C\u0435\u0440</th>\n <th>\u041F\u0440\u043E\u0433\u0440\u0435\u0441\u0441</th>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngFor=\"let item of uploader.queue\">\n <tr [@appearFromLeftHideToRight] *ngIf=\"itemsProgress[item?.file?.name] !== 100\">\n <td><strong>{{ item?.file?.name }}</strong></td>\n <td nowrap>{{ item?.file?.size / 1024 / 1024 | number:'.2' }} MB</td>\n <td>\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"itemsProgress[item?.file?.name] || 0\">\n </mat-progress-bar>\n </div>\n </td>\n </tr>\n </ng-container>\n </tbody>\n </table>\n <div>\n <div class=\"progress-block\">\n Queue progress:\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"allProgress\">\n </mat-progress-bar>\n </div>\n </div>\n <!--<div class=\"text-right\">\n <button mat-flat-button color=\"accent\"\n class=\"mr-5\"\n (click)=\"uploader.uploadAll()\"\n [disabled]=\"!uploader.getNotUploadedItems().length\">\n <mat-icon class=\"fs-18\">get_app</mat-icon>\n \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"primary\"\n class=\"mr-5\"\n (click)=\"uploader.cancelAll()\"\n [disabled]=\"!uploader.isUploading\">\n <mat-icon class=\"fs-18\">clear</mat-icon>\n \u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"warn\"\n class=\"mr-5\"\n (click)=\"uploader.clearQueue()\"\n [disabled]=\"!uploader.queue.length\">\n <mat-icon class=\"fs-18\">delete_outline</mat-icon>\n \u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n </div>-->\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n", styles: [":host{display:block}.fileUploads{margin-bottom:10px;margin-left:-5px}.fileUploads .mat-card{margin:5px}.nv-file-over{border:dotted 3px #f44336}.cursor-no-pointer{cursor:auto}.table{width:100%}.table tr{line-height:40px;border-top:1px solid #efefef}.table thead{background:#efefef}.table thead th{padding:0 10px}.my-drop-zone{border:dotted 3px lightgray;padding:10px;margin-bottom:10px}\n"], dependencies: [{ kind: "directive", type: i1$4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5$1.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "directive", type: i6$1.FileDropDirective, selector: "[ng2FileDrop]", inputs: ["uploader"], outputs: ["fileOver", "onFileDrop"] }, { kind: "directive", type: i6$1.FileSelectDirective, selector: "[ng2FileSelect]", inputs: ["uploader"], outputs: ["onFileSelected"] }, { kind: "pipe", type: i1$4.AsyncPipe, name: "async" }, { kind: "pipe", type: i1$4.DecimalPipe, name: "number" }], animations: [
|
|
10064
10186
|
hideToTopOpacity,
|
|
10065
10187
|
appearFromLeftHideToRight
|
|
10066
10188
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
@@ -10070,7 +10192,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
10070
10192
|
args: [{ selector: 'shared-table-files-uploading', animations: [
|
|
10071
10193
|
hideToTopOpacity,
|
|
10072
10194
|
appearFromLeftHideToRight
|
|
10073
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div\n class=\"page-layout simple fullwidth fileUploads\"\n fxLayout=\"column\">\n <!-- CONTENT -->\n <div class=\"p-24\"\n [ngClass]=\"{'mat-card mat-elevation-z4': haveElevation}\">\n <div class=\"row\">\n <div class=\"col-md-12\" *ngIf=\"!uploader.queue.length\" [@appearFromLeftHideToRight]>\n <div class=\"h2 mb-24\">\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B</div>\n <div ng2FileDrop\n [ngClass]=\"{'nv-file-over': hasBaseDropZoneOver}\"\n (fileOver)=\"fileOverBase($event)\"\n [uploader]=\"uploader\"\n class=\"well my-drop-zone\">\n \u041F\u0435\u0440\u0435\u043D\u0435\u0441\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B\n </div>\n <div class=\"p-5\">\n \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B: <input type=\"file\" ng2FileSelect [uploader]=\"uploader\" multiple/><br/>\n </div>\n </div>\n\n <div *ngIf=\"uploader && uploader.queue.length\" [@appearFromLeftHideToRight] class=\"col-md-12\">\n <ng-container *ngIf=\"allProgress$ | async as allProgress\">\n <ng-container *ngIf=\"itemsProgress$ | async as itemsProgress\">\n <ng-container *ngIf=\"allProgress !== 100\">\n <h3>\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A</h3>\n <table class=\"table\">\n <thead>\n <tr>\n <th width=\"50%\">\u0424\u0430\u0439\u043B</th>\n <th>\u0420\u0430\u0437\u043C\u0435\u0440</th>\n <th>\u041F\u0440\u043E\u0433\u0440\u0435\u0441\u0441</th>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngFor=\"let item of uploader.queue\">\n <tr [@appearFromLeftHideToRight] *ngIf=\"itemsProgress[item?.file?.name] !== 100\">\n <td><strong>{{ item?.file?.name }}</strong></td>\n <td nowrap>{{ item?.file?.size / 1024 / 1024 | number:'.2' }} MB</td>\n <td>\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"itemsProgress[item?.file?.name] || 0\">\n </mat-progress-bar>\n </div>\n </td>\n </tr>\n </ng-container>\n </tbody>\n </table>\n <div>\n <div class=\"progress-block\">\n Queue progress:\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"allProgress\">\n </mat-progress-bar>\n </div>\n </div>\n <!--<div class=\"text-right\">\n <button mat-flat-button color=\"accent\"\n class=\"mr-5\"\n (click)=\"uploader.uploadAll()\"\n [disabled]=\"!uploader.getNotUploadedItems().length\">\n <mat-icon class=\"fs-18\">get_app</mat-icon>\n \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"primary\"\n class=\"mr-5\"\n (click)=\"uploader.cancelAll()\"\n [disabled]=\"!uploader.isUploading\">\n <mat-icon class=\"fs-18\">clear</mat-icon>\n \u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"warn\"\n class=\"mr-5\"\n (click)=\"uploader.clearQueue()\"\n [disabled]=\"!uploader.queue.length\">\n <mat-icon class=\"fs-18\">delete_outline</mat-icon>\n \u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n </div>-->\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n", styles: [":host{display:block}.fileUploads{margin-bottom:10px;margin-left:-5px}.fileUploads .mat-card{margin:5px}.nv-file-over{border:dotted 3px
|
|
10195
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div\n class=\"page-layout simple fullwidth fileUploads\"\n fxLayout=\"column\">\n <!-- CONTENT -->\n <div class=\"p-24\"\n [ngClass]=\"{'mat-card mat-elevation-z4': haveElevation}\">\n <div class=\"row\">\n <div class=\"col-md-12\" *ngIf=\"!uploader.queue.length\" [@appearFromLeftHideToRight]>\n <div class=\"h2 mb-24\">\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B</div>\n <div ng2FileDrop\n [ngClass]=\"{'nv-file-over': hasBaseDropZoneOver}\"\n (fileOver)=\"fileOverBase($event)\"\n [uploader]=\"uploader\"\n class=\"well my-drop-zone\">\n \u041F\u0435\u0440\u0435\u043D\u0435\u0441\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B\n </div>\n <div class=\"p-5\">\n \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B: <input type=\"file\" ng2FileSelect [uploader]=\"uploader\" multiple/><br/>\n </div>\n </div>\n\n <div *ngIf=\"uploader && uploader.queue.length\" [@appearFromLeftHideToRight] class=\"col-md-12\">\n <ng-container *ngIf=\"allProgress$ | async as allProgress\">\n <ng-container *ngIf=\"itemsProgress$ | async as itemsProgress\">\n <ng-container *ngIf=\"allProgress !== 100\">\n <h3>\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A</h3>\n <table class=\"table\">\n <thead>\n <tr>\n <th width=\"50%\">\u0424\u0430\u0439\u043B</th>\n <th>\u0420\u0430\u0437\u043C\u0435\u0440</th>\n <th>\u041F\u0440\u043E\u0433\u0440\u0435\u0441\u0441</th>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngFor=\"let item of uploader.queue\">\n <tr [@appearFromLeftHideToRight] *ngIf=\"itemsProgress[item?.file?.name] !== 100\">\n <td><strong>{{ item?.file?.name }}</strong></td>\n <td nowrap>{{ item?.file?.size / 1024 / 1024 | number:'.2' }} MB</td>\n <td>\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"itemsProgress[item?.file?.name] || 0\">\n </mat-progress-bar>\n </div>\n </td>\n </tr>\n </ng-container>\n </tbody>\n </table>\n <div>\n <div class=\"progress-block\">\n Queue progress:\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"allProgress\">\n </mat-progress-bar>\n </div>\n </div>\n <!--<div class=\"text-right\">\n <button mat-flat-button color=\"accent\"\n class=\"mr-5\"\n (click)=\"uploader.uploadAll()\"\n [disabled]=\"!uploader.getNotUploadedItems().length\">\n <mat-icon class=\"fs-18\">get_app</mat-icon>\n \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"primary\"\n class=\"mr-5\"\n (click)=\"uploader.cancelAll()\"\n [disabled]=\"!uploader.isUploading\">\n <mat-icon class=\"fs-18\">clear</mat-icon>\n \u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"warn\"\n class=\"mr-5\"\n (click)=\"uploader.clearQueue()\"\n [disabled]=\"!uploader.queue.length\">\n <mat-icon class=\"fs-18\">delete_outline</mat-icon>\n \u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n </div>-->\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n", styles: [":host{display:block}.fileUploads{margin-bottom:10px;margin-left:-5px}.fileUploads .mat-card{margin:5px}.nv-file-over{border:dotted 3px #f44336}.cursor-no-pointer{cursor:auto}.table{width:100%}.table tr{line-height:40px;border-top:1px solid #efefef}.table thead{background:#efefef}.table thead th{padding:0 10px}.my-drop-zone{border:dotted 3px lightgray;padding:10px;margin-bottom:10px}\n"] }]
|
|
10074
10196
|
}], ctorParameters: () => [{ type: FilesFacade }, { type: NotificationsFacade }, { type: i0.ChangeDetectorRef }, { type: AuthenticationService }, { type: undefined, decorators: [{
|
|
10075
10197
|
type: Inject,
|
|
10076
10198
|
args: [CORE_CONFIG]
|
|
@@ -10133,7 +10255,7 @@ class FilesUploadComponent {
|
|
|
10133
10255
|
this.uploadFilesState = this.closeState;
|
|
10134
10256
|
}
|
|
10135
10257
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FilesUploadComponent, deps: [{ token: FilesFacade }, { token: RequestsFacade }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10136
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FilesUploadComponent, isStandalone: false, selector: "shared-files-upload", inputs: { section: "section", itemId: "itemId", filesType: "filesType", haveElevation: "haveElevation" }, ngImport: i0, template: "<div class=\"text-center mb-14 top-button\">\n <button\n *ngIf=\"!changedSort\"\n @appearOpacity\n mat-stroked-button\n color=\"accent\"\n (click)=\"uploadFilesToggle()\">\n <mat-icon class=\"fs-18\">add_a_photo</mat-icon>\n \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438\n </button>\n\n <button *ngIf=\"changedSort\"\n @appearOpacity\n mat-stroked-button\n color=\"primary\"\n (click)=\"cancelSort()\">\n <mat-icon class=\"fs-18\">cancel</mat-icon>\n \u041E\u0442\u043C\u0435\u043D\u0430\n </button>\n <button\n *ngIf=\"changedSort\"\n @appearOpacity\n class=\"ml-5\"\n mat-stroked-button\n color=\"accent\"\n [disabled]=\"!fileOrders\"\n (click)=\"saveSort()\">\n <mat-icon class=\"fs-18\">save</mat-icon>\n \u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0443\n </button>\n</div>\n\n<shared-table-files-uploading\n [@appearFromLeft]\n *ngIf=\"uploadFilesState === openState\"\n [section]=\"section\"\n [itemId]=\"itemId\"\n [haveElevation]=\"haveElevation\"\n (loadingCompleted)=\"loadingCompleted()\"></shared-table-files-uploading>\n\n<shared-files-upload-list-images\n [@appearFromLeft]\n [section]=\"section\"\n [filesType]=\"filesType\"\n [itemId]=\"itemId\"\n [mode]=\"mode\"\n (changeSort)=\"changeSort($event)\"></shared-files-upload-list-images>\n\n<ng-container *ngIf=\"request$ | async as request\">\n <shared-spinner *ngIf=\"request && request.status === loadingStatus\" [overlay]=\"true\"></shared-spinner>\n</ng-container>\n", styles: [":host{width:100%;padding:10px}.another-file-over-class{border:dotted 3px
|
|
10258
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FilesUploadComponent, isStandalone: false, selector: "shared-files-upload", inputs: { section: "section", itemId: "itemId", filesType: "filesType", haveElevation: "haveElevation" }, ngImport: i0, template: "<div class=\"text-center mb-14 top-button\">\n <button\n *ngIf=\"!changedSort\"\n @appearOpacity\n mat-stroked-button\n color=\"accent\"\n (click)=\"uploadFilesToggle()\">\n <mat-icon class=\"fs-18\">add_a_photo</mat-icon>\n \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438\n </button>\n\n <button *ngIf=\"changedSort\"\n @appearOpacity\n mat-stroked-button\n color=\"primary\"\n (click)=\"cancelSort()\">\n <mat-icon class=\"fs-18\">cancel</mat-icon>\n \u041E\u0442\u043C\u0435\u043D\u0430\n </button>\n <button\n *ngIf=\"changedSort\"\n @appearOpacity\n class=\"ml-5\"\n mat-stroked-button\n color=\"accent\"\n [disabled]=\"!fileOrders\"\n (click)=\"saveSort()\">\n <mat-icon class=\"fs-18\">save</mat-icon>\n \u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0443\n </button>\n</div>\n\n<shared-table-files-uploading\n [@appearFromLeft]\n *ngIf=\"uploadFilesState === openState\"\n [section]=\"section\"\n [itemId]=\"itemId\"\n [haveElevation]=\"haveElevation\"\n (loadingCompleted)=\"loadingCompleted()\"></shared-table-files-uploading>\n\n<shared-files-upload-list-images\n [@appearFromLeft]\n [section]=\"section\"\n [filesType]=\"filesType\"\n [itemId]=\"itemId\"\n [mode]=\"mode\"\n (changeSort)=\"changeSort($event)\"></shared-files-upload-list-images>\n\n<ng-container *ngIf=\"request$ | async as request\">\n <shared-spinner *ngIf=\"request && request.status === loadingStatus\" [overlay]=\"true\"></shared-spinner>\n</ng-container>\n", styles: [":host{width:100%;padding:10px}.another-file-over-class{border:dotted 3px #4caf50}html,body{height:100%}.cursor-no-pointer{cursor:auto}.edit-title{display:flex;width:100%}.edit-title textarea{flex-grow:1}.edit-title button{width:40px}button mat-icon{margin-right:5px;font-size:20px!important}.mb-14{margin-bottom:14px}.progress-block{margin-bottom:10px}.ml-5{margin-left:5px}.top-button{position:relative;z-index:10}.sub-button{opacity:0;margin-top:-50px}\n"], dependencies: [{ kind: "directive", type: i1$4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.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: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: FilesUploadListImagesComponent, selector: "shared-files-upload-list-images", inputs: ["section", "filesType", "itemId", "mode"], outputs: ["changeSort"] }, { kind: "component", type: TableFilesUploadingComponent, selector: "shared-table-files-uploading", inputs: ["section", "itemId", "haveElevation"], outputs: ["loadingCompleted"] }, { kind: "pipe", type: i1$4.AsyncPipe, name: "async" }], animations: [
|
|
10137
10259
|
appearOpacity,
|
|
10138
10260
|
appearFromLeft,
|
|
10139
10261
|
appearFromLeftHideToRight
|
|
@@ -10145,7 +10267,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
10145
10267
|
appearOpacity,
|
|
10146
10268
|
appearFromLeft,
|
|
10147
10269
|
appearFromLeftHideToRight
|
|
10148
|
-
], standalone: false, template: "<div class=\"text-center mb-14 top-button\">\n <button\n *ngIf=\"!changedSort\"\n @appearOpacity\n mat-stroked-button\n color=\"accent\"\n (click)=\"uploadFilesToggle()\">\n <mat-icon class=\"fs-18\">add_a_photo</mat-icon>\n \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438\n </button>\n\n <button *ngIf=\"changedSort\"\n @appearOpacity\n mat-stroked-button\n color=\"primary\"\n (click)=\"cancelSort()\">\n <mat-icon class=\"fs-18\">cancel</mat-icon>\n \u041E\u0442\u043C\u0435\u043D\u0430\n </button>\n <button\n *ngIf=\"changedSort\"\n @appearOpacity\n class=\"ml-5\"\n mat-stroked-button\n color=\"accent\"\n [disabled]=\"!fileOrders\"\n (click)=\"saveSort()\">\n <mat-icon class=\"fs-18\">save</mat-icon>\n \u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0443\n </button>\n</div>\n\n<shared-table-files-uploading\n [@appearFromLeft]\n *ngIf=\"uploadFilesState === openState\"\n [section]=\"section\"\n [itemId]=\"itemId\"\n [haveElevation]=\"haveElevation\"\n (loadingCompleted)=\"loadingCompleted()\"></shared-table-files-uploading>\n\n<shared-files-upload-list-images\n [@appearFromLeft]\n [section]=\"section\"\n [filesType]=\"filesType\"\n [itemId]=\"itemId\"\n [mode]=\"mode\"\n (changeSort)=\"changeSort($event)\"></shared-files-upload-list-images>\n\n<ng-container *ngIf=\"request$ | async as request\">\n <shared-spinner *ngIf=\"request && request.status === loadingStatus\" [overlay]=\"true\"></shared-spinner>\n</ng-container>\n", styles: [":host{width:100%;padding:10px}.another-file-over-class{border:dotted 3px
|
|
10270
|
+
], standalone: false, template: "<div class=\"text-center mb-14 top-button\">\n <button\n *ngIf=\"!changedSort\"\n @appearOpacity\n mat-stroked-button\n color=\"accent\"\n (click)=\"uploadFilesToggle()\">\n <mat-icon class=\"fs-18\">add_a_photo</mat-icon>\n \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438\n </button>\n\n <button *ngIf=\"changedSort\"\n @appearOpacity\n mat-stroked-button\n color=\"primary\"\n (click)=\"cancelSort()\">\n <mat-icon class=\"fs-18\">cancel</mat-icon>\n \u041E\u0442\u043C\u0435\u043D\u0430\n </button>\n <button\n *ngIf=\"changedSort\"\n @appearOpacity\n class=\"ml-5\"\n mat-stroked-button\n color=\"accent\"\n [disabled]=\"!fileOrders\"\n (click)=\"saveSort()\">\n <mat-icon class=\"fs-18\">save</mat-icon>\n \u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0443\n </button>\n</div>\n\n<shared-table-files-uploading\n [@appearFromLeft]\n *ngIf=\"uploadFilesState === openState\"\n [section]=\"section\"\n [itemId]=\"itemId\"\n [haveElevation]=\"haveElevation\"\n (loadingCompleted)=\"loadingCompleted()\"></shared-table-files-uploading>\n\n<shared-files-upload-list-images\n [@appearFromLeft]\n [section]=\"section\"\n [filesType]=\"filesType\"\n [itemId]=\"itemId\"\n [mode]=\"mode\"\n (changeSort)=\"changeSort($event)\"></shared-files-upload-list-images>\n\n<ng-container *ngIf=\"request$ | async as request\">\n <shared-spinner *ngIf=\"request && request.status === loadingStatus\" [overlay]=\"true\"></shared-spinner>\n</ng-container>\n", styles: [":host{width:100%;padding:10px}.another-file-over-class{border:dotted 3px #4caf50}html,body{height:100%}.cursor-no-pointer{cursor:auto}.edit-title{display:flex;width:100%}.edit-title textarea{flex-grow:1}.edit-title button{width:40px}button mat-icon{margin-right:5px;font-size:20px!important}.mb-14{margin-bottom:14px}.progress-block{margin-bottom:10px}.ml-5{margin-left:5px}.top-button{position:relative;z-index:10}.sub-button{opacity:0;margin-top:-50px}\n"] }]
|
|
10149
10271
|
}], ctorParameters: () => [{ type: FilesFacade }, { type: RequestsFacade }, { type: i0.ChangeDetectorRef }], propDecorators: { section: [{
|
|
10150
10272
|
type: Input
|
|
10151
10273
|
}], itemId: [{
|
|
@@ -12350,11 +12472,11 @@ class FormDialogComponent {
|
|
|
12350
12472
|
}
|
|
12351
12473
|
}
|
|
12352
12474
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormDialogComponent, deps: [{ token: i1$6.MatDialogRef }, { token: StaticDataFacade }, { token: i3.UntypedFormBuilder }, { token: AutoFormService }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12353
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FormDialogComponent, isStandalone: false, selector: "app-form-dialog", ngImport: i0, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.modal-size-big]=\"data.size === sizeValues.big\"\n [class.modal-size-middle]=\"data.size === sizeValues.middle\"\n [class.modal-size-small]=\"data.size === sizeValues.small\"\n [class.modal-style-success]=\"data.messageType === typesValues.success\"\n [class.modal-style-error]=\"data.messageType === typesValues.error\"\n [class.modal-style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"modal-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 *ngIf=\"data.message\" [innerHTML]=\"data.message\"></p>\n <ng-container *ngIf=\"data.formConfig\">\n <form [formGroup]=\"form\">\n <shared-auto-form\n class=\"mb-20\"\n [entity]=\"data.formConfig.entity\"\n [itemId]=\"data.formConfig.itemId\"\n [formId]=\"formId\"\n [fields]=\"data.formConfig.fields\"\n [form]=\"form\"\n [config]=\"{needToPublish: false}\"\n [errorMessageTexts]=\"globalErrorMessageTexts\"\n (changed)=\"changedFormValue()\"\n (formCompleted)=\"formCompleted($event)\"\n ></shared-auto-form>\n\n <!--<div *ngIf=\"staticSection.actions\" 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=\"form-create-button\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"edit\"\n iconColor=\"white\"\n color=\"accent\"\n styleTheme=\"raised\"\n [disabled]=\"!form.valid || formStatus === 'loading'\"\n (click)=\"submitClick()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C</shared-button>\n </div>\n </form>\n </ng-container>\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' }}</button>\n <button mat-button\n *ngIf=\"!data.formConfig\"\n [class.display-none]=\"data.hideTrueButton\"\n (click)=\"onYesClick()\"\n class=\"mat-raised-button mat-warn\">{{data.trueButtonTitle || '\u0414\u0430' }}</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,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-
|
|
12475
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FormDialogComponent, isStandalone: false, selector: "app-form-dialog", ngImport: i0, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.modal-size-big]=\"data.size === sizeValues.big\"\n [class.modal-size-middle]=\"data.size === sizeValues.middle\"\n [class.modal-size-small]=\"data.size === sizeValues.small\"\n [class.modal-style-success]=\"data.messageType === typesValues.success\"\n [class.modal-style-error]=\"data.messageType === typesValues.error\"\n [class.modal-style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"modal-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 *ngIf=\"data.message\" [innerHTML]=\"data.message\"></p>\n <ng-container *ngIf=\"data.formConfig\">\n <form [formGroup]=\"form\">\n <shared-auto-form\n class=\"mb-20\"\n [entity]=\"data.formConfig.entity\"\n [itemId]=\"data.formConfig.itemId\"\n [formId]=\"formId\"\n [fields]=\"data.formConfig.fields\"\n [form]=\"form\"\n [config]=\"{needToPublish: false}\"\n [errorMessageTexts]=\"globalErrorMessageTexts\"\n (changed)=\"changedFormValue()\"\n (formCompleted)=\"formCompleted($event)\"\n ></shared-auto-form>\n\n <!--<div *ngIf=\"staticSection.actions\" 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=\"form-create-button\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"edit\"\n iconColor=\"white\"\n color=\"accent\"\n styleTheme=\"raised\"\n [disabled]=\"!form.valid || formStatus === 'loading'\"\n (click)=\"submitClick()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C</shared-button>\n </div>\n </form>\n </ng-container>\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' }}</button>\n <button mat-button\n *ngIf=\"!data.formConfig\"\n [class.display-none]=\"data.hideTrueButton\"\n (click)=\"onYesClick()\"\n class=\"mat-raised-button mat-warn\">{{data.trueButtonTitle || '\u0414\u0430' }}</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,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-8px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.display-none{display:none}\n"], dependencies: [{ kind: "directive", type: i1$4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$6.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$6.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: AutoFormMainComponent, selector: "shared-auto-form", inputs: ["fields", "itemId", "formId", "showPublicationMessages", "useEntityPermissions", "showProgressBar", "showFormMessageBox", "form", "editorImageUploadUrl", "errorMessageTexts", "entity", "havePublication", "autoCompleteFieldInput", "config"], outputs: ["changed", "formCompleted"] }, { kind: "component", type: ButtonComponent, selector: "shared-button", inputs: ["icon", "iconColor", "iconSize", "rightIcon", "disabled", "loading", "active", "stopPropagation", "type", "color", "fullWidth", "size", "styleTheme", "tooltip", "tooltipPosition"], outputs: ["clickButton"] }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }], animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
12354
12476
|
}
|
|
12355
12477
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormDialogComponent, decorators: [{
|
|
12356
12478
|
type: Component,
|
|
12357
|
-
args: [{ selector: 'app-form-dialog', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], standalone: false, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.modal-size-big]=\"data.size === sizeValues.big\"\n [class.modal-size-middle]=\"data.size === sizeValues.middle\"\n [class.modal-size-small]=\"data.size === sizeValues.small\"\n [class.modal-style-success]=\"data.messageType === typesValues.success\"\n [class.modal-style-error]=\"data.messageType === typesValues.error\"\n [class.modal-style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"modal-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 *ngIf=\"data.message\" [innerHTML]=\"data.message\"></p>\n <ng-container *ngIf=\"data.formConfig\">\n <form [formGroup]=\"form\">\n <shared-auto-form\n class=\"mb-20\"\n [entity]=\"data.formConfig.entity\"\n [itemId]=\"data.formConfig.itemId\"\n [formId]=\"formId\"\n [fields]=\"data.formConfig.fields\"\n [form]=\"form\"\n [config]=\"{needToPublish: false}\"\n [errorMessageTexts]=\"globalErrorMessageTexts\"\n (changed)=\"changedFormValue()\"\n (formCompleted)=\"formCompleted($event)\"\n ></shared-auto-form>\n\n <!--<div *ngIf=\"staticSection.actions\" 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=\"form-create-button\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"edit\"\n iconColor=\"white\"\n color=\"accent\"\n styleTheme=\"raised\"\n [disabled]=\"!form.valid || formStatus === 'loading'\"\n (click)=\"submitClick()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C</shared-button>\n </div>\n </form>\n </ng-container>\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' }}</button>\n <button mat-button\n *ngIf=\"!data.formConfig\"\n [class.display-none]=\"data.hideTrueButton\"\n (click)=\"onYesClick()\"\n class=\"mat-raised-button mat-warn\">{{data.trueButtonTitle || '\u0414\u0430' }}</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,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-
|
|
12479
|
+
args: [{ selector: 'app-form-dialog', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], standalone: false, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.modal-size-big]=\"data.size === sizeValues.big\"\n [class.modal-size-middle]=\"data.size === sizeValues.middle\"\n [class.modal-size-small]=\"data.size === sizeValues.small\"\n [class.modal-style-success]=\"data.messageType === typesValues.success\"\n [class.modal-style-error]=\"data.messageType === typesValues.error\"\n [class.modal-style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"modal-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 *ngIf=\"data.message\" [innerHTML]=\"data.message\"></p>\n <ng-container *ngIf=\"data.formConfig\">\n <form [formGroup]=\"form\">\n <shared-auto-form\n class=\"mb-20\"\n [entity]=\"data.formConfig.entity\"\n [itemId]=\"data.formConfig.itemId\"\n [formId]=\"formId\"\n [fields]=\"data.formConfig.fields\"\n [form]=\"form\"\n [config]=\"{needToPublish: false}\"\n [errorMessageTexts]=\"globalErrorMessageTexts\"\n (changed)=\"changedFormValue()\"\n (formCompleted)=\"formCompleted($event)\"\n ></shared-auto-form>\n\n <!--<div *ngIf=\"staticSection.actions\" 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=\"form-create-button\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"edit\"\n iconColor=\"white\"\n color=\"accent\"\n styleTheme=\"raised\"\n [disabled]=\"!form.valid || formStatus === 'loading'\"\n (click)=\"submitClick()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C</shared-button>\n </div>\n </form>\n </ng-container>\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' }}</button>\n <button mat-button\n *ngIf=\"!data.formConfig\"\n [class.display-none]=\"data.hideTrueButton\"\n (click)=\"onYesClick()\"\n class=\"mat-raised-button mat-warn\">{{data.trueButtonTitle || '\u0414\u0430' }}</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,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-8px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.display-none{display:none}\n"] }]
|
|
12358
12480
|
}], ctorParameters: () => [{ type: i1$6.MatDialogRef }, { type: StaticDataFacade }, { type: i3.UntypedFormBuilder }, { type: AutoFormService }, { type: undefined, decorators: [{
|
|
12359
12481
|
type: Inject,
|
|
12360
12482
|
args: [MAT_DIALOG_DATA]
|
|
@@ -12995,7 +13117,7 @@ class FieldSettingsDialogComponent {
|
|
|
12995
13117
|
this.form = this.fb.group(preparedFields);
|
|
12996
13118
|
}
|
|
12997
13119
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FieldSettingsDialogComponent, deps: [{ token: i1$6.MatDialogRef }, { token: MAT_DIALOG_DATA }, { token: StaticDataFacade }, { token: i1.Store }, { token: i3.UntypedFormBuilder }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12998
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: FieldSettingsDialogComponent, isStandalone: true, selector: "app-field-settings-dialog", ngImport: i0, template: "<div class=\"text-center position-relative p-10 modal-style-info modal-size-middle\"\n @appearFromRightWithDelay>\n <div\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n <mat-icon>close</mat-icon>\n </div>\n\n <h5 class=\"mat-dialog-title\">\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u043F\u043E\u043B\u0435\u0439</h5>\n <div mat-dialog-content>\n <form [formGroup]=\"form\">\n <div cdkDropList class=\"example-list\" (cdkDropListDropped)=\"drop($event)\">\n @for (fieldData of sectionField; track fieldData) {\n <div class=\"example-box\" cdkDrag>\n <div class=\"example-custom-placeholder\" *cdkDragPlaceholder></div>\n <mat-icon class=\"example-drag-cursor\">view_headline</mat-icon>\n <mat-slide-toggle [formControlName]=\"fieldData.field\">{{ fieldData.title }}</mat-slide-toggle>\n </div>\n }\n </div>\n </form>\n </div>\n <div @appearFromLeftWithDelay\n mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\">\u041E\u0442\u043C\u0435\u043D\u0430\n </button>\n <button mat-button\n (click)=\"submitClick()\"\n class=\"mat-raised-button mat-warn\">\u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C\n </button>\n </div>\n</div>\n\n\n\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.close-button{right:0;margin:-
|
|
13120
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: FieldSettingsDialogComponent, isStandalone: true, selector: "app-field-settings-dialog", ngImport: i0, template: "<div class=\"text-center position-relative p-10 modal-style-info modal-size-middle\"\n @appearFromRightWithDelay>\n <div\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n <mat-icon>close</mat-icon>\n </div>\n\n <h5 class=\"mat-dialog-title\">\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u043F\u043E\u043B\u0435\u0439</h5>\n <div mat-dialog-content>\n <form [formGroup]=\"form\">\n <div cdkDropList class=\"example-list\" (cdkDropListDropped)=\"drop($event)\">\n @for (fieldData of sectionField; track fieldData) {\n <div class=\"example-box\" cdkDrag>\n <div class=\"example-custom-placeholder\" *cdkDragPlaceholder></div>\n <mat-icon class=\"example-drag-cursor\">view_headline</mat-icon>\n <mat-slide-toggle [formControlName]=\"fieldData.field\">{{ fieldData.title }}</mat-slide-toggle>\n </div>\n }\n </div>\n </form>\n </div>\n <div @appearFromLeftWithDelay\n mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\">\u041E\u0442\u043C\u0435\u043D\u0430\n </button>\n <button mat-button\n (click)=\"submitClick()\"\n class=\"mat-raised-button mat-warn\">\u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C\n </button>\n </div>\n</div>\n\n\n\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,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-8px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.filter-form-field{text-align:left;font-size:13px;padding-right:10px}.small-form-field{margin-bottom:5px}.setting-item{text-align:left}.example-list{width:500px;max-width:100%;border:solid 1px #d0d0d0;min-height:60px;display:block;background:#fff;border-radius:4px;overflow:hidden;font-family:sans-serif}.example-box{padding:10px;border-bottom:solid 1px #d0d0d0;color:#000000de;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;box-sizing:border-box;cursor:move;background:#fff;font-size:14px;font-family:sans-serif}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.example-box:last-child{border:none}.example-list.cdk-drop-list-dragging .example-box:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.example-custom-placeholder{background:#d0d0d0;border:dotted 3px #7f7f7f;min-height:45px;transition:transform .25s cubic-bezier(0,0,.2,1)}.example-drag-cursor{margin-right:16px;cursor:move}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "directive", type: CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: CdkDragPlaceholder, selector: "ng-template[cdkDragPlaceholder]", inputs: ["data"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
12999
13121
|
}
|
|
13000
13122
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FieldSettingsDialogComponent, decorators: [{
|
|
13001
13123
|
type: Component,
|
|
@@ -13010,7 +13132,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
13010
13132
|
CdkDragPlaceholder,
|
|
13011
13133
|
CdkDrag,
|
|
13012
13134
|
MatIconModule,
|
|
13013
|
-
], template: "<div class=\"text-center position-relative p-10 modal-style-info modal-size-middle\"\n @appearFromRightWithDelay>\n <div\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n <mat-icon>close</mat-icon>\n </div>\n\n <h5 class=\"mat-dialog-title\">\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u043F\u043E\u043B\u0435\u0439</h5>\n <div mat-dialog-content>\n <form [formGroup]=\"form\">\n <div cdkDropList class=\"example-list\" (cdkDropListDropped)=\"drop($event)\">\n @for (fieldData of sectionField; track fieldData) {\n <div class=\"example-box\" cdkDrag>\n <div class=\"example-custom-placeholder\" *cdkDragPlaceholder></div>\n <mat-icon class=\"example-drag-cursor\">view_headline</mat-icon>\n <mat-slide-toggle [formControlName]=\"fieldData.field\">{{ fieldData.title }}</mat-slide-toggle>\n </div>\n }\n </div>\n </form>\n </div>\n <div @appearFromLeftWithDelay\n mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\">\u041E\u0442\u043C\u0435\u043D\u0430\n </button>\n <button mat-button\n (click)=\"submitClick()\"\n class=\"mat-raised-button mat-warn\">\u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C\n </button>\n </div>\n</div>\n\n\n\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.close-button{right:0;margin:-
|
|
13135
|
+
], template: "<div class=\"text-center position-relative p-10 modal-style-info modal-size-middle\"\n @appearFromRightWithDelay>\n <div\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n <mat-icon>close</mat-icon>\n </div>\n\n <h5 class=\"mat-dialog-title\">\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u043F\u043E\u043B\u0435\u0439</h5>\n <div mat-dialog-content>\n <form [formGroup]=\"form\">\n <div cdkDropList class=\"example-list\" (cdkDropListDropped)=\"drop($event)\">\n @for (fieldData of sectionField; track fieldData) {\n <div class=\"example-box\" cdkDrag>\n <div class=\"example-custom-placeholder\" *cdkDragPlaceholder></div>\n <mat-icon class=\"example-drag-cursor\">view_headline</mat-icon>\n <mat-slide-toggle [formControlName]=\"fieldData.field\">{{ fieldData.title }}</mat-slide-toggle>\n </div>\n }\n </div>\n </form>\n </div>\n <div @appearFromLeftWithDelay\n mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\">\u041E\u0442\u043C\u0435\u043D\u0430\n </button>\n <button mat-button\n (click)=\"submitClick()\"\n class=\"mat-raised-button mat-warn\">\u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C\n </button>\n </div>\n</div>\n\n\n\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,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-8px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.filter-form-field{text-align:left;font-size:13px;padding-right:10px}.small-form-field{margin-bottom:5px}.setting-item{text-align:left}.example-list{width:500px;max-width:100%;border:solid 1px #d0d0d0;min-height:60px;display:block;background:#fff;border-radius:4px;overflow:hidden;font-family:sans-serif}.example-box{padding:10px;border-bottom:solid 1px #d0d0d0;color:#000000de;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;box-sizing:border-box;cursor:move;background:#fff;font-size:14px;font-family:sans-serif}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.example-box:last-child{border:none}.example-list.cdk-drop-list-dragging .example-box:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.example-custom-placeholder{background:#d0d0d0;border:dotted 3px #7f7f7f;min-height:45px;transition:transform .25s cubic-bezier(0,0,.2,1)}.example-drag-cursor{margin-right:16px;cursor:move}\n"] }]
|
|
13014
13136
|
}], ctorParameters: () => [{ type: i1$6.MatDialogRef }, { type: undefined, decorators: [{
|
|
13015
13137
|
type: Inject,
|
|
13016
13138
|
args: [MAT_DIALOG_DATA]
|
|
@@ -13109,7 +13231,7 @@ class FilteringDialogComponent {
|
|
|
13109
13231
|
});
|
|
13110
13232
|
}
|
|
13111
13233
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FilteringDialogComponent, deps: [{ token: i1$6.MatDialogRef }, { token: MAT_DIALOG_DATA }, { token: StaticDataFacade }, { token: i1.Store }, { token: i3.UntypedFormBuilder }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13112
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: FilteringDialogComponent, isStandalone: true, selector: "app-filtering-dialog", ngImport: i0, template: "<div class=\"text-center position-relative p-10 modal-style-info modal-size-middle\"\n @appearFromRightWithDelay>\n <div\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n x\n </div>\n\n <h5 class=\"mat-dialog-title\">\u0424\u0438\u043B\u044C\u0442\u0440\u0430\u0446\u0438\u044F</h5>\n <div mat-dialog-content>\n <form [formGroup]=\"form\">\n\n <table class=\"filter-form\" [formGroup]=\"form\">\n <tr *ngFor=\"let field of filterFields\">\n <th class=\"filter-form-field\">{{ field.title }}</th>\n <td class=\"filter-form-value\">\n <mat-form-field class=\"small-form-field\">\n @switch (field.type) {\n @default {\n <input matInput type=\"text\" [formControlName]=\"field.field\"/>\n }\n @case (StaticDataSectionFilteringFieldTypes.TOGGLE) {\n <mat-select [formControlName]=\"field.field\">\n <mat-option value=\"\"> ---</mat-option>\n <mat-option [value]=\"'1:\u0414\u0430'\">\u0414\u0430</mat-option>\n <mat-option [value]=\"'0:\u041D\u0435\u0442'\">\u041D\u0435\u0442</mat-option>\n </mat-select>\n }\n @case (StaticDataSectionFilteringFieldTypes.SELECT) {\n <mat-select [formControlName]=\"field.field\" [multiple]=\"true\">\n <mat-option value=\"\"> --</mat-option>\n <mat-option *ngFor=\"let option of storedOption[field.field]\"\n [value]=\"option.value + ':' + option.title\">{{ option.title }}\n </mat-option>\n </mat-select>\n }\n }\n </mat-form-field>\n </td>\n </tr>\n </table>\n </form>\n </div>\n <div @appearFromLeftWithDelay\n mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\"\n cdkFocusInitial>\u041E\u0442\u043C\u0435\u043D\u0430\n </button>\n <button mat-button\n (click)=\"submitClick()\"\n class=\"mat-raised-button mat-warn\">\u0424\u0438\u043B\u044C\u0442\u0440\u043E\u0432\u0430\u0442\u044C\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-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.close-button{right:0;margin:-
|
|
13234
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: FilteringDialogComponent, isStandalone: true, selector: "app-filtering-dialog", ngImport: i0, template: "<div class=\"text-center position-relative p-10 modal-style-info modal-size-middle\"\n @appearFromRightWithDelay>\n <div\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n x\n </div>\n\n <h5 class=\"mat-dialog-title\">\u0424\u0438\u043B\u044C\u0442\u0440\u0430\u0446\u0438\u044F</h5>\n <div mat-dialog-content>\n <form [formGroup]=\"form\">\n\n <table class=\"filter-form\" [formGroup]=\"form\">\n <tr *ngFor=\"let field of filterFields\">\n <th class=\"filter-form-field\">{{ field.title }}</th>\n <td class=\"filter-form-value\">\n <mat-form-field class=\"small-form-field\">\n @switch (field.type) {\n @default {\n <input matInput type=\"text\" [formControlName]=\"field.field\"/>\n }\n @case (StaticDataSectionFilteringFieldTypes.TOGGLE) {\n <mat-select [formControlName]=\"field.field\">\n <mat-option value=\"\"> ---</mat-option>\n <mat-option [value]=\"'1:\u0414\u0430'\">\u0414\u0430</mat-option>\n <mat-option [value]=\"'0:\u041D\u0435\u0442'\">\u041D\u0435\u0442</mat-option>\n </mat-select>\n }\n @case (StaticDataSectionFilteringFieldTypes.SELECT) {\n <mat-select [formControlName]=\"field.field\" [multiple]=\"true\">\n <mat-option value=\"\"> --</mat-option>\n <mat-option *ngFor=\"let option of storedOption[field.field]\"\n [value]=\"option.value + ':' + option.title\">{{ option.title }}\n </mat-option>\n </mat-select>\n }\n }\n </mat-form-field>\n </td>\n </tr>\n </table>\n </form>\n </div>\n <div @appearFromLeftWithDelay\n mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\"\n cdkFocusInitial>\u041E\u0442\u043C\u0435\u043D\u0430\n </button>\n <button mat-button\n (click)=\"submitClick()\"\n class=\"mat-raised-button mat-warn\">\u0424\u0438\u043B\u044C\u0442\u0440\u043E\u0432\u0430\u0442\u044C\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,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-8px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.filter-form-field{text-align:left;font-size:13px;padding-right:10px}.small-form-field{margin-bottom:5px}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "component", type: MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
13113
13235
|
}
|
|
13114
13236
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FilteringDialogComponent, decorators: [{
|
|
13115
13237
|
type: Component,
|
|
@@ -13124,7 +13246,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
13124
13246
|
MatDialogContent,
|
|
13125
13247
|
MatInput,
|
|
13126
13248
|
NgForOf
|
|
13127
|
-
], template: "<div class=\"text-center position-relative p-10 modal-style-info modal-size-middle\"\n @appearFromRightWithDelay>\n <div\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n x\n </div>\n\n <h5 class=\"mat-dialog-title\">\u0424\u0438\u043B\u044C\u0442\u0440\u0430\u0446\u0438\u044F</h5>\n <div mat-dialog-content>\n <form [formGroup]=\"form\">\n\n <table class=\"filter-form\" [formGroup]=\"form\">\n <tr *ngFor=\"let field of filterFields\">\n <th class=\"filter-form-field\">{{ field.title }}</th>\n <td class=\"filter-form-value\">\n <mat-form-field class=\"small-form-field\">\n @switch (field.type) {\n @default {\n <input matInput type=\"text\" [formControlName]=\"field.field\"/>\n }\n @case (StaticDataSectionFilteringFieldTypes.TOGGLE) {\n <mat-select [formControlName]=\"field.field\">\n <mat-option value=\"\"> ---</mat-option>\n <mat-option [value]=\"'1:\u0414\u0430'\">\u0414\u0430</mat-option>\n <mat-option [value]=\"'0:\u041D\u0435\u0442'\">\u041D\u0435\u0442</mat-option>\n </mat-select>\n }\n @case (StaticDataSectionFilteringFieldTypes.SELECT) {\n <mat-select [formControlName]=\"field.field\" [multiple]=\"true\">\n <mat-option value=\"\"> --</mat-option>\n <mat-option *ngFor=\"let option of storedOption[field.field]\"\n [value]=\"option.value + ':' + option.title\">{{ option.title }}\n </mat-option>\n </mat-select>\n }\n }\n </mat-form-field>\n </td>\n </tr>\n </table>\n </form>\n </div>\n <div @appearFromLeftWithDelay\n mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\"\n cdkFocusInitial>\u041E\u0442\u043C\u0435\u043D\u0430\n </button>\n <button mat-button\n (click)=\"submitClick()\"\n class=\"mat-raised-button mat-warn\">\u0424\u0438\u043B\u044C\u0442\u0440\u043E\u0432\u0430\u0442\u044C\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-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.close-button{right:0;margin:-
|
|
13249
|
+
], template: "<div class=\"text-center position-relative p-10 modal-style-info modal-size-middle\"\n @appearFromRightWithDelay>\n <div\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n x\n </div>\n\n <h5 class=\"mat-dialog-title\">\u0424\u0438\u043B\u044C\u0442\u0440\u0430\u0446\u0438\u044F</h5>\n <div mat-dialog-content>\n <form [formGroup]=\"form\">\n\n <table class=\"filter-form\" [formGroup]=\"form\">\n <tr *ngFor=\"let field of filterFields\">\n <th class=\"filter-form-field\">{{ field.title }}</th>\n <td class=\"filter-form-value\">\n <mat-form-field class=\"small-form-field\">\n @switch (field.type) {\n @default {\n <input matInput type=\"text\" [formControlName]=\"field.field\"/>\n }\n @case (StaticDataSectionFilteringFieldTypes.TOGGLE) {\n <mat-select [formControlName]=\"field.field\">\n <mat-option value=\"\"> ---</mat-option>\n <mat-option [value]=\"'1:\u0414\u0430'\">\u0414\u0430</mat-option>\n <mat-option [value]=\"'0:\u041D\u0435\u0442'\">\u041D\u0435\u0442</mat-option>\n </mat-select>\n }\n @case (StaticDataSectionFilteringFieldTypes.SELECT) {\n <mat-select [formControlName]=\"field.field\" [multiple]=\"true\">\n <mat-option value=\"\"> --</mat-option>\n <mat-option *ngFor=\"let option of storedOption[field.field]\"\n [value]=\"option.value + ':' + option.title\">{{ option.title }}\n </mat-option>\n </mat-select>\n }\n }\n </mat-form-field>\n </td>\n </tr>\n </table>\n </form>\n </div>\n <div @appearFromLeftWithDelay\n mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\"\n cdkFocusInitial>\u041E\u0442\u043C\u0435\u043D\u0430\n </button>\n <button mat-button\n (click)=\"submitClick()\"\n class=\"mat-raised-button mat-warn\">\u0424\u0438\u043B\u044C\u0442\u0440\u043E\u0432\u0430\u0442\u044C\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,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-8px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.filter-form-field{text-align:left;font-size:13px;padding-right:10px}.small-form-field{margin-bottom:5px}\n"] }]
|
|
13128
13250
|
}], ctorParameters: () => [{ type: i1$6.MatDialogRef }, { type: undefined, decorators: [{
|
|
13129
13251
|
type: Inject,
|
|
13130
13252
|
args: [MAT_DIALOG_DATA]
|
|
@@ -13280,7 +13402,7 @@ class StaticDataFilterOptionsComponent {
|
|
|
13280
13402
|
}
|
|
13281
13403
|
}
|
|
13282
13404
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataFilterOptionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13283
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: StaticDataFilterOptionsComponent, isStandalone: true, selector: "app-static-data-filter-options", inputs: { staticSectionFields: "staticSectionFields", filterFormDataValues: "filterFormDataValues" }, outputs: { changedFilter: "changedFilter" }, usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"listOptions?.length\" class=\"filter-options-block\">\n <b>\u041F\u0440\u0438\u043C\u0435\u043D\u0435\u043D \u0444\u0438\u043B\u044C\u0442\u0440:</b>\n <div class=\"filter-options\">\n <table class=\"option-field\">\n <tr *ngFor=\"let item of listOptions; let i = index\">\n <th>{{ item.title }}</th>\n <td>{{ item.value }}</td>\n <td class=\"action-column\"><mat-icon (click)=\"canselOption(item.field)\">close</mat-icon></td>\n </tr>\n <tr>\n <td class=\"cancel-filter\" colspan=\"3\">\n <a (click)=\"canselAllOption()\">\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440</a>\n </td>\n </tr>\n </table>\n </div>\n</div>\n", styles: [".filter-options-block{margin-right:10px}.filter-options-block .filter-options{margin-top:3px}.filter-options-block table{font-size:12px}.filter-options-block table th{background:#f2f0f0;padding-right:10px;border-bottom:1px solid #ffffff}.filter-options-block table th,.filter-options-block table td,.filter-options-block table td mat-icon{padding:0 5px}.filter-options-block table .action-column{display:flex}.filter-options-block table .action-column mat-icon{cursor:pointer;font-size:18px;color:#
|
|
13405
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: StaticDataFilterOptionsComponent, isStandalone: true, selector: "app-static-data-filter-options", inputs: { staticSectionFields: "staticSectionFields", filterFormDataValues: "filterFormDataValues" }, outputs: { changedFilter: "changedFilter" }, usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"listOptions?.length\" class=\"filter-options-block\">\n <b>\u041F\u0440\u0438\u043C\u0435\u043D\u0435\u043D \u0444\u0438\u043B\u044C\u0442\u0440:</b>\n <div class=\"filter-options\">\n <table class=\"option-field\">\n <tr *ngFor=\"let item of listOptions; let i = index\">\n <th>{{ item.title }}</th>\n <td>{{ item.value }}</td>\n <td class=\"action-column\"><mat-icon (click)=\"canselOption(item.field)\">close</mat-icon></td>\n </tr>\n <tr>\n <td class=\"cancel-filter\" colspan=\"3\">\n <a (click)=\"canselAllOption()\">\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440</a>\n </td>\n </tr>\n </table>\n </div>\n</div>\n", styles: [".filter-options-block{margin-right:10px}.filter-options-block .filter-options{margin-top:3px}.filter-options-block table{font-size:12px}.filter-options-block table th{background:#f2f0f0;padding-right:10px;border-bottom:1px solid #ffffff}.filter-options-block table th,.filter-options-block table td,.filter-options-block table td mat-icon{padding:0 5px}.filter-options-block table .action-column{display:flex}.filter-options-block table .action-column mat-icon{cursor:pointer;font-size:18px;color:#f44336;height:auto}.filter-options-block table .cancel-filter{text-align:right;cursor:pointer;color:#605dff}\n"], dependencies: [{ kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
13284
13406
|
}
|
|
13285
13407
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataFilterOptionsComponent, decorators: [{
|
|
13286
13408
|
type: Component,
|
|
@@ -13288,7 +13410,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
13288
13410
|
MatIcon,
|
|
13289
13411
|
NgIf,
|
|
13290
13412
|
NgForOf,
|
|
13291
|
-
], template: "<div *ngIf=\"listOptions?.length\" class=\"filter-options-block\">\n <b>\u041F\u0440\u0438\u043C\u0435\u043D\u0435\u043D \u0444\u0438\u043B\u044C\u0442\u0440:</b>\n <div class=\"filter-options\">\n <table class=\"option-field\">\n <tr *ngFor=\"let item of listOptions; let i = index\">\n <th>{{ item.title }}</th>\n <td>{{ item.value }}</td>\n <td class=\"action-column\"><mat-icon (click)=\"canselOption(item.field)\">close</mat-icon></td>\n </tr>\n <tr>\n <td class=\"cancel-filter\" colspan=\"3\">\n <a (click)=\"canselAllOption()\">\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440</a>\n </td>\n </tr>\n </table>\n </div>\n</div>\n", styles: [".filter-options-block{margin-right:10px}.filter-options-block .filter-options{margin-top:3px}.filter-options-block table{font-size:12px}.filter-options-block table th{background:#f2f0f0;padding-right:10px;border-bottom:1px solid #ffffff}.filter-options-block table th,.filter-options-block table td,.filter-options-block table td mat-icon{padding:0 5px}.filter-options-block table .action-column{display:flex}.filter-options-block table .action-column mat-icon{cursor:pointer;font-size:18px;color:#
|
|
13413
|
+
], template: "<div *ngIf=\"listOptions?.length\" class=\"filter-options-block\">\n <b>\u041F\u0440\u0438\u043C\u0435\u043D\u0435\u043D \u0444\u0438\u043B\u044C\u0442\u0440:</b>\n <div class=\"filter-options\">\n <table class=\"option-field\">\n <tr *ngFor=\"let item of listOptions; let i = index\">\n <th>{{ item.title }}</th>\n <td>{{ item.value }}</td>\n <td class=\"action-column\"><mat-icon (click)=\"canselOption(item.field)\">close</mat-icon></td>\n </tr>\n <tr>\n <td class=\"cancel-filter\" colspan=\"3\">\n <a (click)=\"canselAllOption()\">\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440</a>\n </td>\n </tr>\n </table>\n </div>\n</div>\n", styles: [".filter-options-block{margin-right:10px}.filter-options-block .filter-options{margin-top:3px}.filter-options-block table{font-size:12px}.filter-options-block table th{background:#f2f0f0;padding-right:10px;border-bottom:1px solid #ffffff}.filter-options-block table th,.filter-options-block table td,.filter-options-block table td mat-icon{padding:0 5px}.filter-options-block table .action-column{display:flex}.filter-options-block table .action-column mat-icon{cursor:pointer;font-size:18px;color:#f44336;height:auto}.filter-options-block table .cancel-filter{text-align:right;cursor:pointer;color:#605dff}\n"] }]
|
|
13292
13414
|
}], ctorParameters: () => [], propDecorators: { staticSectionFields: [{
|
|
13293
13415
|
type: Input
|
|
13294
13416
|
}], filterFormDataValues: [{
|
|
@@ -13478,7 +13600,7 @@ class StaticDataItemsComponent {
|
|
|
13478
13600
|
return preparedRow;
|
|
13479
13601
|
}
|
|
13480
13602
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataItemsComponent, deps: [{ token: RouterFacade }, { token: StaticDataFacade }, { token: i0.ChangeDetectorRef }, { token: i1$6.MatDialog }, { token: i2$1.MatIconRegistry }, { token: STATIC_DATA_CREATE_NEW_ITEM_DIALOG, optional: true }, { token: STATIC_DATA_VIEW_ITEM_DIALOG, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13481
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: StaticDataItemsComponent, isStandalone: true, selector: "app-static-data-items", inputs: { mode: "mode", selectIsRequired: "selectIsRequired", items: "items", displayedColumns: "displayedColumns", contentType: "contentType", viewMode: "viewMode", queryParams: "queryParams", userRights: "userRights", subEntityConfig: "subEntityConfig", staticSection: "staticSection", parentSection: "parentSection", parentItemId: "parentItemId" }, outputs: { delete: "delete", changeSorting: "changeSorting", selectingItem: "selectingItem" }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"( preparedItems$ | async ) as items\">\n <table mat-table [dataSource]=\"items\" class=\"static-data-table\">\n <ng-container *ngFor=\"let fieldData of displayedFormFields\" [matColumnDef]=\"fieldData.field\">\n <th mat-header-cell *matHeaderCellDef>\n <div>\n <div class=\"column-title\">{{ fieldData.title }}</div>\n <div class=\"sorting\">\n <mat-icon\n [class.active]=\"fieldData.field === sortingState.field && sortingState.type === 'asc'\"\n (click)=\"sorting(fieldData.field, 'asc')\">arrow_drop_up\n </mat-icon>\n <mat-icon\n [class.active]=\"fieldData.field === sortingState.field && sortingState.type === 'desc'\"\n (click)=\"sorting(fieldData.field, 'desc')\">arrow_drop_down\n </mat-icon>\n </div>\n </div>\n </th>\n <td mat-cell (click)=\"clickAction(element.id, element)\" *matCellDef=\"let element\"> {{ element[fieldData.field] }}</td>\n </ng-container>\n\n <ng-container [matColumnDef]=\"'selecting'\">\n <th mat-header-cell *matHeaderCellDef class=\"selecting-column\">\u0412\u044B\u0431\u043E\u0440</th>\n <td mat-cell *matCellDef=\"let element\" class=\"selecting-column\">\n <mat-icon class=\"mr-1 view-icon\" (click)=\"popupModeSelectItem(element.id, element.name)\">select_all</mat-icon>\n </td>\n </ng-container>\n\n <ng-container [matColumnDef]=\"'actions'\">\n <th mat-header-cell *matHeaderCellDef class=\"action-column\">\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F</th>\n <td mat-cell *matCellDef=\"let element\" class=\"action-column\">\n <mat-icon *ngIf=\"!staticSection.actions?.isNoViewAction\" class=\"mr-1 view-icon view-icon-visibility\"\n (click)=\"view(element.id, element)\">visibility\n </mat-icon>\n <mat-icon *ngIf=\"!viewMode && !staticSection.options?.viewSettings?.listMode?.hideEditAction\" class=\"mr-1 view-icon\" (click)=\"edit(element.id)\">edit</mat-icon>\n <mat-icon *ngIf=\"!viewMode && !staticSection.options?.viewSettings?.listMode?.hideDeleteAction\" class=\"view-icon view-icon-delete\" (click)=\"deleteAction(element)\">delete</mat-icon>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumnsStrings\"></tr>\n <tr mat-row\n *matRowDef=\"let row; columns: displayedColumnsStrings;\"\n ></tr>\n\n </table>\n</ng-container>\n", styles: [".static-data-table{width:100%}.mat-mdc-row .mat-mdc-cell{border-bottom:1px solid transparent;border-top:1px solid transparent;cursor:pointer}.mat-mdc-row:hover .mat-mdc-cell{border-color:currentColor}.action-column{text-align:right!important}.selecting-column{text-align:left!important}.view-icon{font-size:20px}.view-icon.view-icon-visibility{color:#605dff}.view-icon.view-icon-delete{color:#
|
|
13603
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: StaticDataItemsComponent, isStandalone: true, selector: "app-static-data-items", inputs: { mode: "mode", selectIsRequired: "selectIsRequired", items: "items", displayedColumns: "displayedColumns", contentType: "contentType", viewMode: "viewMode", queryParams: "queryParams", userRights: "userRights", subEntityConfig: "subEntityConfig", staticSection: "staticSection", parentSection: "parentSection", parentItemId: "parentItemId" }, outputs: { delete: "delete", changeSorting: "changeSorting", selectingItem: "selectingItem" }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"( preparedItems$ | async ) as items\">\n <table mat-table [dataSource]=\"items\" class=\"static-data-table\">\n <ng-container *ngFor=\"let fieldData of displayedFormFields\" [matColumnDef]=\"fieldData.field\">\n <th mat-header-cell *matHeaderCellDef>\n <div>\n <div class=\"column-title\">{{ fieldData.title }}</div>\n <div class=\"sorting\">\n <mat-icon\n [class.active]=\"fieldData.field === sortingState.field && sortingState.type === 'asc'\"\n (click)=\"sorting(fieldData.field, 'asc')\">arrow_drop_up\n </mat-icon>\n <mat-icon\n [class.active]=\"fieldData.field === sortingState.field && sortingState.type === 'desc'\"\n (click)=\"sorting(fieldData.field, 'desc')\">arrow_drop_down\n </mat-icon>\n </div>\n </div>\n </th>\n <td mat-cell (click)=\"clickAction(element.id, element)\" *matCellDef=\"let element\"> {{ element[fieldData.field] }}</td>\n </ng-container>\n\n <ng-container [matColumnDef]=\"'selecting'\">\n <th mat-header-cell *matHeaderCellDef class=\"selecting-column\">\u0412\u044B\u0431\u043E\u0440</th>\n <td mat-cell *matCellDef=\"let element\" class=\"selecting-column\">\n <mat-icon class=\"mr-1 view-icon\" (click)=\"popupModeSelectItem(element.id, element.name)\">select_all</mat-icon>\n </td>\n </ng-container>\n\n <ng-container [matColumnDef]=\"'actions'\">\n <th mat-header-cell *matHeaderCellDef class=\"action-column\">\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F</th>\n <td mat-cell *matCellDef=\"let element\" class=\"action-column\">\n <mat-icon *ngIf=\"!staticSection.actions?.isNoViewAction\" class=\"mr-1 view-icon view-icon-visibility\"\n (click)=\"view(element.id, element)\">visibility\n </mat-icon>\n <mat-icon *ngIf=\"!viewMode && !staticSection.options?.viewSettings?.listMode?.hideEditAction\" class=\"mr-1 view-icon\" (click)=\"edit(element.id)\">edit</mat-icon>\n <mat-icon *ngIf=\"!viewMode && !staticSection.options?.viewSettings?.listMode?.hideDeleteAction\" class=\"view-icon view-icon-delete\" (click)=\"deleteAction(element)\">delete</mat-icon>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumnsStrings\"></tr>\n <tr mat-row\n *matRowDef=\"let row; columns: displayedColumnsStrings;\"\n ></tr>\n\n </table>\n</ng-container>\n", styles: [".static-data-table{width:100%}.mat-mdc-row .mat-mdc-cell{border-bottom:1px solid transparent;border-top:1px solid transparent;cursor:pointer}.mat-mdc-row:hover .mat-mdc-cell{border-color:currentColor}.action-column{text-align:right!important}.selecting-column{text-align:left!important}.view-icon{font-size:20px}.view-icon.view-icon-visibility{color:#605dff}.view-icon.view-icon-delete{color:#f44336}th div{display:flex}th div .column-title{margin-top:2px}th div .sorting{display:flex;flex-direction:column}th div .sorting mat-icon{font-size:17px;width:15px;height:11px;color:#a09f9f;font-weight:700;cursor:pointer}th div .sorting mat-icon.active{color:#f44336}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "component", type: MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "directive", type: MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
13482
13604
|
}
|
|
13483
13605
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataItemsComponent, decorators: [{
|
|
13484
13606
|
type: Component,
|
|
@@ -13497,7 +13619,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
13497
13619
|
MatRowDef,
|
|
13498
13620
|
MatCellDef,
|
|
13499
13621
|
MatHeaderRowDef
|
|
13500
|
-
], template: "<ng-container *ngIf=\"( preparedItems$ | async ) as items\">\n <table mat-table [dataSource]=\"items\" class=\"static-data-table\">\n <ng-container *ngFor=\"let fieldData of displayedFormFields\" [matColumnDef]=\"fieldData.field\">\n <th mat-header-cell *matHeaderCellDef>\n <div>\n <div class=\"column-title\">{{ fieldData.title }}</div>\n <div class=\"sorting\">\n <mat-icon\n [class.active]=\"fieldData.field === sortingState.field && sortingState.type === 'asc'\"\n (click)=\"sorting(fieldData.field, 'asc')\">arrow_drop_up\n </mat-icon>\n <mat-icon\n [class.active]=\"fieldData.field === sortingState.field && sortingState.type === 'desc'\"\n (click)=\"sorting(fieldData.field, 'desc')\">arrow_drop_down\n </mat-icon>\n </div>\n </div>\n </th>\n <td mat-cell (click)=\"clickAction(element.id, element)\" *matCellDef=\"let element\"> {{ element[fieldData.field] }}</td>\n </ng-container>\n\n <ng-container [matColumnDef]=\"'selecting'\">\n <th mat-header-cell *matHeaderCellDef class=\"selecting-column\">\u0412\u044B\u0431\u043E\u0440</th>\n <td mat-cell *matCellDef=\"let element\" class=\"selecting-column\">\n <mat-icon class=\"mr-1 view-icon\" (click)=\"popupModeSelectItem(element.id, element.name)\">select_all</mat-icon>\n </td>\n </ng-container>\n\n <ng-container [matColumnDef]=\"'actions'\">\n <th mat-header-cell *matHeaderCellDef class=\"action-column\">\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F</th>\n <td mat-cell *matCellDef=\"let element\" class=\"action-column\">\n <mat-icon *ngIf=\"!staticSection.actions?.isNoViewAction\" class=\"mr-1 view-icon view-icon-visibility\"\n (click)=\"view(element.id, element)\">visibility\n </mat-icon>\n <mat-icon *ngIf=\"!viewMode && !staticSection.options?.viewSettings?.listMode?.hideEditAction\" class=\"mr-1 view-icon\" (click)=\"edit(element.id)\">edit</mat-icon>\n <mat-icon *ngIf=\"!viewMode && !staticSection.options?.viewSettings?.listMode?.hideDeleteAction\" class=\"view-icon view-icon-delete\" (click)=\"deleteAction(element)\">delete</mat-icon>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumnsStrings\"></tr>\n <tr mat-row\n *matRowDef=\"let row; columns: displayedColumnsStrings;\"\n ></tr>\n\n </table>\n</ng-container>\n", styles: [".static-data-table{width:100%}.mat-mdc-row .mat-mdc-cell{border-bottom:1px solid transparent;border-top:1px solid transparent;cursor:pointer}.mat-mdc-row:hover .mat-mdc-cell{border-color:currentColor}.action-column{text-align:right!important}.selecting-column{text-align:left!important}.view-icon{font-size:20px}.view-icon.view-icon-visibility{color:#605dff}.view-icon.view-icon-delete{color:#
|
|
13622
|
+
], template: "<ng-container *ngIf=\"( preparedItems$ | async ) as items\">\n <table mat-table [dataSource]=\"items\" class=\"static-data-table\">\n <ng-container *ngFor=\"let fieldData of displayedFormFields\" [matColumnDef]=\"fieldData.field\">\n <th mat-header-cell *matHeaderCellDef>\n <div>\n <div class=\"column-title\">{{ fieldData.title }}</div>\n <div class=\"sorting\">\n <mat-icon\n [class.active]=\"fieldData.field === sortingState.field && sortingState.type === 'asc'\"\n (click)=\"sorting(fieldData.field, 'asc')\">arrow_drop_up\n </mat-icon>\n <mat-icon\n [class.active]=\"fieldData.field === sortingState.field && sortingState.type === 'desc'\"\n (click)=\"sorting(fieldData.field, 'desc')\">arrow_drop_down\n </mat-icon>\n </div>\n </div>\n </th>\n <td mat-cell (click)=\"clickAction(element.id, element)\" *matCellDef=\"let element\"> {{ element[fieldData.field] }}</td>\n </ng-container>\n\n <ng-container [matColumnDef]=\"'selecting'\">\n <th mat-header-cell *matHeaderCellDef class=\"selecting-column\">\u0412\u044B\u0431\u043E\u0440</th>\n <td mat-cell *matCellDef=\"let element\" class=\"selecting-column\">\n <mat-icon class=\"mr-1 view-icon\" (click)=\"popupModeSelectItem(element.id, element.name)\">select_all</mat-icon>\n </td>\n </ng-container>\n\n <ng-container [matColumnDef]=\"'actions'\">\n <th mat-header-cell *matHeaderCellDef class=\"action-column\">\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F</th>\n <td mat-cell *matCellDef=\"let element\" class=\"action-column\">\n <mat-icon *ngIf=\"!staticSection.actions?.isNoViewAction\" class=\"mr-1 view-icon view-icon-visibility\"\n (click)=\"view(element.id, element)\">visibility\n </mat-icon>\n <mat-icon *ngIf=\"!viewMode && !staticSection.options?.viewSettings?.listMode?.hideEditAction\" class=\"mr-1 view-icon\" (click)=\"edit(element.id)\">edit</mat-icon>\n <mat-icon *ngIf=\"!viewMode && !staticSection.options?.viewSettings?.listMode?.hideDeleteAction\" class=\"view-icon view-icon-delete\" (click)=\"deleteAction(element)\">delete</mat-icon>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumnsStrings\"></tr>\n <tr mat-row\n *matRowDef=\"let row; columns: displayedColumnsStrings;\"\n ></tr>\n\n </table>\n</ng-container>\n", styles: [".static-data-table{width:100%}.mat-mdc-row .mat-mdc-cell{border-bottom:1px solid transparent;border-top:1px solid transparent;cursor:pointer}.mat-mdc-row:hover .mat-mdc-cell{border-color:currentColor}.action-column{text-align:right!important}.selecting-column{text-align:left!important}.view-icon{font-size:20px}.view-icon.view-icon-visibility{color:#605dff}.view-icon.view-icon-delete{color:#f44336}th div{display:flex}th div .column-title{margin-top:2px}th div .sorting{display:flex;flex-direction:column}th div .sorting mat-icon{font-size:17px;width:15px;height:11px;color:#a09f9f;font-weight:700;cursor:pointer}th div .sorting mat-icon.active{color:#f44336}\n"] }]
|
|
13501
13623
|
}], ctorParameters: () => [{ type: RouterFacade }, { type: StaticDataFacade }, { type: i0.ChangeDetectorRef }, { type: i1$6.MatDialog }, { type: i2$1.MatIconRegistry }, { type: i0.Type, decorators: [{
|
|
13502
13624
|
type: Optional
|
|
13503
13625
|
}, {
|
|
@@ -13845,7 +13967,7 @@ class StaticDataListItemsComponent {
|
|
|
13845
13967
|
this.loadStaticData(this.pageIndex + 1, data.pageSize);
|
|
13846
13968
|
}
|
|
13847
13969
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataListItemsComponent, deps: [{ token: PLATFORM_ID }, { token: i1$6.MatDialog }, { token: RightService }, { token: StaticDataFacade }, { token: i0.ChangeDetectorRef }, { token: RouterFacade }, { token: STATIC_DATA_CREATE_NEW_ITEM_DIALOG, optional: true }, { token: CORE_CONFIG }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13848
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: StaticDataListItemsComponent, isStandalone: true, selector: "app-static-data-list-items", inputs: { mode: "mode", selectIsRequired: "selectIsRequired", staticDataConfiguration: "staticDataConfiguration", viewMode: "viewMode", contentType: "contentType", customTitle: "customTitle", addTitle: "addTitle", icon: "icon", parentSection: "parentSection", parentItemId: "parentItemId", showPanelHeader: "showPanelHeader", parentData: "parentData", parentSectionHashtag: "parentSectionHashtag", autoCompleteFields: "autoCompleteFields", filteringQuery: "filteringQuery", subEntity: "subEntity", leftBlockFilterParamData: "leftBlockFilterParamData", defaultLanguageId: "defaultLanguageId" }, outputs: { selectingItem: "selectingItem" }, viewQueries: [{ propertyName: "paginator", first: true, predicate: MatPaginator, descendants: true, static: true }, { propertyName: "sort", first: true, predicate: MatSort, descendants: true, static: true }, { propertyName: "searchInput", first: true, predicate: ["search"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"center-block-inner\">\n <ng-container *ngIf=\"(userRights$ | async) as userRights\">\n <ng-container *ngIf=\"(staticDataMeta$ | async) as staticDataObj\">\n <mat-card-header>\n <mat-card-title class=\"custom-card-title\">\n <mat-icon *ngIf=\"icon\"\n class=\"static-data-tab-icon\">{{ icon }}\n </mat-icon>\n <h5 class=\"mb-0\">{{ title }}</h5>\n </mat-card-title>\n <mat-card-subtitle class=\"w-100 sub-title-block\">\n <ng-container *ngIf=\"(!viewMode && ( staticSection?.options?.search || staticSection?.options?.filtering ) ) ||\n (viewMode && ( subEntity?.options?.hasSearch || subEntity?.options?.hasFiltering) )\">\n <form class=\"search-box position-relative w-100\">\n <div class=\"row w-100\">\n <div *ngIf=\"staticSection?.options?.search || subEntity?.options?.hasSearch\"\n class=\"col-4 search-block\">\n <input #search class=\"search-input\" placeholder=\"\u041F\u043E\u0438\u0441\u043A\">\n <shared-ui-icon class=\"search-icon\"\n [color]=\"'black'\"\n [size]=\"'small'\"\n [icon]=\"'search'\"\n (click)=\"searchHandle(search.value)\"></shared-ui-icon>\n <shared-ui-icon *ngIf=\"search.value\"\n class=\"ml-1 search-icon\"\n [color]=\"'black'\"\n [size]=\"'small'\"\n [icon]=\"'cancel'\"\n (click)=\"searchCancelHandle()\"></shared-ui-icon>\n </div>\n <ng-container *ngIf=\"!staticSection?.options?.filteringType || staticSection?.options?.filteringType === 'modal'\">\n <app-static-data-list-filtering\n *ngIf=\"staticSection?.options?.filtering || subEntity?.options?.hasFiltering\"\n class=\"col-3\"\n [filteringConfig]=\"staticSection?.options?.filtering\"\n [sectionFields]=\"staticSection.fields\"\n (filterSubmit)=\"filterHandle($event)\"></app-static-data-list-filtering>\n </ng-container>\n </div>\n </form>\n </ng-container>\n\n <div class=\"settings\">\n <button matIconButton [matMenuTriggerFor]=\"menu\" aria-label=\"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\">\n <mat-icon>settings</mat-icon>\n </button>\n <mat-menu #menu=\"matMenu\">\n <button mat-menu-item>\n <mat-icon>contextual_token</mat-icon>\n <span (click)=\"openFieldSettings()\">\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u043F\u043E\u043B\u0435\u0439</span>\n </button>\n </mat-menu>\n </div>\n </mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <div *ngIf=\"filterFormData\" class=\"filter-options\">\n <app-static-data-filter-options\n [staticSectionFields]=\"staticSection.fields\"\n [filterFormDataValues]=\"filterFormDataValues\"\n (changedFilter)=\"changedFilterHandler($event)\"></app-static-data-filter-options>\n </div>\n <div class=\"table-responsive\">\n <div class=\"content p-24\">\n <div *ngIf=\"staticSection.texts?.list?.topText\"\n [innerHTML]=\"staticSection.texts?.list?.topText\"\n class=\"static-data-list-top-text\">\n </div>\n <ng-container *ngIf=\"staticData$ | async as staticData\">\n <div class=\"center-block p-10\"\n [style.max-height.px]=\"viewMode ? ( subEntity.options?.maxHeight || 400 ) : 'auto'\">\n <app-static-data-items [items]=\"staticData\"\n [mode]=\"mode\"\n [selectIsRequired]=\"selectIsRequired\"\n [viewMode]=\"viewMode\"\n [userRights]=\"userRights\"\n [staticSection]=\"staticSection\"\n [subEntityConfig]=\"subEntity\"\n [displayedColumns]=\"displayedColumns\"\n [contentType]=\"contentType\"\n [queryParams]=\"queryParams\"\n [parentSection]=\"parentSection\"\n [parentItemId]=\"parentData?.id\"\n (changeSorting)=\"changeSortingHandle($event)\"\n (selectingItem)=\"selectItemHandle($event)\"\n (delete)=\"deleteEvent($event)\"></app-static-data-items>\n </div>\n <div *ngIf=\"staticDataObj.meta?.perPage !== -1 && staticDataObj.meta?.totalCount > perPage\">\n <mat-paginator\n *ngIf=\"totalCount\"\n aria-label=\"\u0412\u044B\u0431\u0435\u0440\u0435\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443\"\n [length]=\"staticDataObj.meta?.totalCount\"\n [pageIndex]=\"pageIndex\"\n [pageSizeOptions]=\"[5, 10, 25, 100]\"\n (page)=\"changePage($event)\"></mat-paginator>\n </div>\n </ng-container>\n <div *ngIf=\"isLoaded && !totalCount\">\u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442</div>\n <div *ngIf=\"staticSection.texts?.list?.bottomText\"\n [innerHTML]=\"staticSection.texts?.list?.bottomText\"\n class=\"static-data-list-bottom-text\">\n </div>\n\n <div *ngIf=\"!viewMode && userRights[0] && !staticSection.options?.viewSettings?.listMode?.hideAddAction\" class=\"text-center mt-30 mb-30\">\n <shared-button\n id=\"go-to-create-form-button\"\n class=\"mr-5\"\n iconSize=\"small\"\n icon=\"add\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"accent\"\n (click)=\"addHandle()\">{{ addTitle || '\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C' }}\n </shared-button>\n </div>\n </div>\n <ng-container *ngIf=\"loaded$|async; let loaded;\">\n <shared-spinner *ngIf=\"!loaded\"></shared-spinner>\n </ng-container>\n </div>\n </mat-card-content>\n </ng-container>\n </ng-container>\n</div>\n", styles: [".top-bar{background:#c7deef;display:flex;justify-content:flex-end}.search-block{display:flex;align-content:center;align-items:center}.search-block .search-input{background-color:#f6f7f9!important;padding:11px 10px!important;margin-right:3px;width:100%}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}.static-data-list-top-text,.static-data-list-bottom-text{margin:25px 0;border:1px solid rgba(175,175,175,.3215686275);padding:10px;background:#efefef69}.search-icon{font-size:20px}.custom-card-title{display:flex;align-items:center;margin-left:10px}.custom-card-title mat-icon{margin-right:10px}.custom-card-title h1,.custom-card-title h5{margin-right:30px;white-space:nowrap}.settings button{border:0;background:transparent;color:#64758b}.sub-title-block{display:flex;justify-content:flex-end}\n"], dependencies: [{ kind: "directive", type: MatCardSubtitle, selector: "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: MatCardHeader, selector: "mat-card-header" }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "ngmodule", type: SharedIconModule }, { kind: "component", type: IconComponent, selector: "shared-ui-icon", inputs: ["icon", "size", "color"] }, { kind: "component", type: MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "directive", type: MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "directive", type: MatCardContent, selector: "mat-card-content" }, { kind: "directive", type: MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "component", type: MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "component", type: MatPaginator, selector: "mat-paginator", inputs: ["color", "pageIndex", "length", "pageSize", "pageSizeOptions", "hidePageSize", "showFirstLastButtons", "selectConfig", "disabled"], outputs: ["page"], exportAs: ["matPaginator"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: ButtonComponent, selector: "shared-button", inputs: ["icon", "iconColor", "iconSize", "rightIcon", "disabled", "loading", "active", "stopPropagation", "type", "color", "fullWidth", "size", "styleTheme", "tooltip", "tooltipPosition"], outputs: ["clickButton"] }, { kind: "ngmodule", type: SharedSpinnerModule }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: StaticDataListFilteringComponent, selector: "app-static-data-list-filtering", inputs: ["filteringConfig", "sectionFields"], outputs: ["filterSubmit"] }, { kind: "component", type: StaticDataFilterOptionsComponent, selector: "app-static-data-filter-options", inputs: ["staticSectionFields", "filterFormDataValues"], outputs: ["changedFilter"] }, { kind: "component", type: StaticDataItemsComponent, selector: "app-static-data-items", inputs: ["mode", "selectIsRequired", "items", "displayedColumns", "contentType", "viewMode", "queryParams", "userRights", "subEntityConfig", "staticSection", "parentSection", "parentItemId"], outputs: ["delete", "changeSorting", "selectingItem"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
13970
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: StaticDataListItemsComponent, isStandalone: true, selector: "app-static-data-list-items", inputs: { mode: "mode", selectIsRequired: "selectIsRequired", staticDataConfiguration: "staticDataConfiguration", viewMode: "viewMode", contentType: "contentType", customTitle: "customTitle", addTitle: "addTitle", icon: "icon", parentSection: "parentSection", parentItemId: "parentItemId", showPanelHeader: "showPanelHeader", parentData: "parentData", parentSectionHashtag: "parentSectionHashtag", autoCompleteFields: "autoCompleteFields", filteringQuery: "filteringQuery", subEntity: "subEntity", leftBlockFilterParamData: "leftBlockFilterParamData", defaultLanguageId: "defaultLanguageId" }, outputs: { selectingItem: "selectingItem" }, viewQueries: [{ propertyName: "paginator", first: true, predicate: MatPaginator, descendants: true, static: true }, { propertyName: "sort", first: true, predicate: MatSort, descendants: true, static: true }, { propertyName: "searchInput", first: true, predicate: ["search"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"center-block-inner\">\n <ng-container *ngIf=\"(userRights$ | async) as userRights\">\n <ng-container *ngIf=\"(staticDataMeta$ | async) as staticDataObj\">\n <mat-card-header>\n <mat-card-title class=\"custom-card-title\">\n <mat-icon *ngIf=\"icon\"\n class=\"static-data-tab-icon\">{{ icon }}\n </mat-icon>\n <h5 class=\"mb-0\">{{ title }}</h5>\n </mat-card-title>\n <mat-card-subtitle class=\"w-100 sub-title-block\">\n <ng-container *ngIf=\"(!viewMode && ( staticSection?.options?.search || staticSection?.options?.filtering ) ) ||\n (viewMode && ( subEntity?.options?.hasSearch || subEntity?.options?.hasFiltering) )\">\n <form class=\"search-box position-relative w-100\">\n <div class=\"row w-100\">\n <div *ngIf=\"staticSection?.options?.search || subEntity?.options?.hasSearch\"\n class=\"col-4 search-block\">\n <input #search class=\"search-input\" placeholder=\"\u041F\u043E\u0438\u0441\u043A\">\n <shared-ui-icon class=\"search-icon\"\n [color]=\"'black'\"\n [size]=\"'small'\"\n [icon]=\"'search'\"\n (click)=\"searchHandle(search.value)\"></shared-ui-icon>\n <shared-ui-icon *ngIf=\"search.value\"\n class=\"ml-1 search-icon\"\n [color]=\"'black'\"\n [size]=\"'small'\"\n [icon]=\"'cancel'\"\n (click)=\"searchCancelHandle()\"></shared-ui-icon>\n </div>\n <ng-container *ngIf=\"!staticSection?.options?.filteringType || staticSection?.options?.filteringType === 'modal'\">\n <app-static-data-list-filtering\n *ngIf=\"staticSection?.options?.filtering || subEntity?.options?.hasFiltering\"\n class=\"col-3\"\n [filteringConfig]=\"staticSection?.options?.filtering\"\n [sectionFields]=\"staticSection.fields\"\n (filterSubmit)=\"filterHandle($event)\"></app-static-data-list-filtering>\n </ng-container>\n </div>\n </form>\n </ng-container>\n\n <div class=\"settings\">\n <button matIconButton [matMenuTriggerFor]=\"menu\" aria-label=\"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\">\n <mat-icon>settings</mat-icon>\n </button>\n <mat-menu #menu=\"matMenu\">\n <button mat-menu-item>\n <mat-icon>contextual_token</mat-icon>\n <span (click)=\"openFieldSettings()\">\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u043F\u043E\u043B\u0435\u0439</span>\n </button>\n </mat-menu>\n </div>\n </mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <div *ngIf=\"filterFormData\" class=\"filter-options\">\n <app-static-data-filter-options\n [staticSectionFields]=\"staticSection.fields\"\n [filterFormDataValues]=\"filterFormDataValues\"\n (changedFilter)=\"changedFilterHandler($event)\"></app-static-data-filter-options>\n </div>\n <div class=\"table-responsive\">\n <div class=\"content p-24\">\n <div *ngIf=\"staticSection.texts?.list?.topText\"\n [innerHTML]=\"staticSection.texts?.list?.topText\"\n class=\"static-data-list-top-text\">\n </div>\n <ng-container *ngIf=\"staticData$ | async as staticData\">\n <div class=\"center-block p-10\"\n [style.max-height.px]=\"viewMode ? ( subEntity.options?.maxHeight || 400 ) : 'auto'\">\n <app-static-data-items [items]=\"staticData\"\n [mode]=\"mode\"\n [selectIsRequired]=\"selectIsRequired\"\n [viewMode]=\"viewMode\"\n [userRights]=\"userRights\"\n [staticSection]=\"staticSection\"\n [subEntityConfig]=\"subEntity\"\n [displayedColumns]=\"displayedColumns\"\n [contentType]=\"contentType\"\n [queryParams]=\"queryParams\"\n [parentSection]=\"parentSection\"\n [parentItemId]=\"parentData?.id\"\n (changeSorting)=\"changeSortingHandle($event)\"\n (selectingItem)=\"selectItemHandle($event)\"\n (delete)=\"deleteEvent($event)\"></app-static-data-items>\n </div>\n <div *ngIf=\"staticDataObj.meta?.perPage !== -1 && staticDataObj.meta?.totalCount > perPage\">\n <mat-paginator\n *ngIf=\"totalCount\"\n aria-label=\"\u0412\u044B\u0431\u0435\u0440\u0435\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443\"\n [length]=\"staticDataObj.meta?.totalCount\"\n [pageIndex]=\"pageIndex\"\n [pageSizeOptions]=\"[5, 10, 25, 100]\"\n (page)=\"changePage($event)\"></mat-paginator>\n </div>\n </ng-container>\n <div *ngIf=\"isLoaded && !totalCount\">\u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442</div>\n <div *ngIf=\"staticSection.texts?.list?.bottomText\"\n [innerHTML]=\"staticSection.texts?.list?.bottomText\"\n class=\"static-data-list-bottom-text\">\n </div>\n\n <div *ngIf=\"!viewMode && userRights[0] && !staticSection.options?.viewSettings?.listMode?.hideAddAction\" class=\"text-center mt-30 mb-30\">\n <shared-button\n id=\"go-to-create-form-button\"\n class=\"mr-5\"\n iconSize=\"small\"\n icon=\"add\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"accent\"\n (click)=\"addHandle()\">{{ addTitle || '\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C' }}\n </shared-button>\n </div>\n </div>\n <ng-container *ngIf=\"loaded$|async; let loaded;\">\n <shared-spinner *ngIf=\"!loaded\"></shared-spinner>\n </ng-container>\n </div>\n </mat-card-content>\n </ng-container>\n </ng-container>\n</div>\n", styles: [".top-bar{background:#c7deef;display:flex;justify-content:flex-end}.search-block{display:flex;align-content:center;align-items:center}.search-block .search-input{background-color:#f5f5f5!important;padding:11px 10px!important;margin-right:3px;width:100%}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}.static-data-list-top-text,.static-data-list-bottom-text{margin:25px 0;border:1px solid rgba(175,175,175,.32);padding:10px;background:#efefef69}.search-icon{font-size:20px}.custom-card-title{display:flex;align-items:center;margin-left:10px}.custom-card-title mat-icon{margin-right:10px}.custom-card-title h1,.custom-card-title h5{margin-right:30px;white-space:nowrap}.settings button{border:0;background:transparent;color:#64758b}.sub-title-block{display:flex;justify-content:flex-end}\n"], dependencies: [{ kind: "directive", type: MatCardSubtitle, selector: "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: MatCardHeader, selector: "mat-card-header" }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "ngmodule", type: SharedIconModule }, { kind: "component", type: IconComponent, selector: "shared-ui-icon", inputs: ["icon", "size", "color"] }, { kind: "component", type: MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "directive", type: MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "directive", type: MatCardContent, selector: "mat-card-content" }, { kind: "directive", type: MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "component", type: MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "component", type: MatPaginator, selector: "mat-paginator", inputs: ["color", "pageIndex", "length", "pageSize", "pageSizeOptions", "hidePageSize", "showFirstLastButtons", "selectConfig", "disabled"], outputs: ["page"], exportAs: ["matPaginator"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: ButtonComponent, selector: "shared-button", inputs: ["icon", "iconColor", "iconSize", "rightIcon", "disabled", "loading", "active", "stopPropagation", "type", "color", "fullWidth", "size", "styleTheme", "tooltip", "tooltipPosition"], outputs: ["clickButton"] }, { kind: "ngmodule", type: SharedSpinnerModule }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: StaticDataListFilteringComponent, selector: "app-static-data-list-filtering", inputs: ["filteringConfig", "sectionFields"], outputs: ["filterSubmit"] }, { kind: "component", type: StaticDataFilterOptionsComponent, selector: "app-static-data-filter-options", inputs: ["staticSectionFields", "filterFormDataValues"], outputs: ["changedFilter"] }, { kind: "component", type: StaticDataItemsComponent, selector: "app-static-data-items", inputs: ["mode", "selectIsRequired", "items", "displayedColumns", "contentType", "viewMode", "queryParams", "userRights", "subEntityConfig", "staticSection", "parentSection", "parentItemId"], outputs: ["delete", "changeSorting", "selectingItem"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
13849
13971
|
}
|
|
13850
13972
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataListItemsComponent, decorators: [{
|
|
13851
13973
|
type: Component,
|
|
@@ -13868,7 +13990,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
13868
13990
|
StaticDataFilterOptionsComponent,
|
|
13869
13991
|
StaticDataItemsComponent,
|
|
13870
13992
|
JsonPipe,
|
|
13871
|
-
], template: "<div class=\"center-block-inner\">\n <ng-container *ngIf=\"(userRights$ | async) as userRights\">\n <ng-container *ngIf=\"(staticDataMeta$ | async) as staticDataObj\">\n <mat-card-header>\n <mat-card-title class=\"custom-card-title\">\n <mat-icon *ngIf=\"icon\"\n class=\"static-data-tab-icon\">{{ icon }}\n </mat-icon>\n <h5 class=\"mb-0\">{{ title }}</h5>\n </mat-card-title>\n <mat-card-subtitle class=\"w-100 sub-title-block\">\n <ng-container *ngIf=\"(!viewMode && ( staticSection?.options?.search || staticSection?.options?.filtering ) ) ||\n (viewMode && ( subEntity?.options?.hasSearch || subEntity?.options?.hasFiltering) )\">\n <form class=\"search-box position-relative w-100\">\n <div class=\"row w-100\">\n <div *ngIf=\"staticSection?.options?.search || subEntity?.options?.hasSearch\"\n class=\"col-4 search-block\">\n <input #search class=\"search-input\" placeholder=\"\u041F\u043E\u0438\u0441\u043A\">\n <shared-ui-icon class=\"search-icon\"\n [color]=\"'black'\"\n [size]=\"'small'\"\n [icon]=\"'search'\"\n (click)=\"searchHandle(search.value)\"></shared-ui-icon>\n <shared-ui-icon *ngIf=\"search.value\"\n class=\"ml-1 search-icon\"\n [color]=\"'black'\"\n [size]=\"'small'\"\n [icon]=\"'cancel'\"\n (click)=\"searchCancelHandle()\"></shared-ui-icon>\n </div>\n <ng-container *ngIf=\"!staticSection?.options?.filteringType || staticSection?.options?.filteringType === 'modal'\">\n <app-static-data-list-filtering\n *ngIf=\"staticSection?.options?.filtering || subEntity?.options?.hasFiltering\"\n class=\"col-3\"\n [filteringConfig]=\"staticSection?.options?.filtering\"\n [sectionFields]=\"staticSection.fields\"\n (filterSubmit)=\"filterHandle($event)\"></app-static-data-list-filtering>\n </ng-container>\n </div>\n </form>\n </ng-container>\n\n <div class=\"settings\">\n <button matIconButton [matMenuTriggerFor]=\"menu\" aria-label=\"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\">\n <mat-icon>settings</mat-icon>\n </button>\n <mat-menu #menu=\"matMenu\">\n <button mat-menu-item>\n <mat-icon>contextual_token</mat-icon>\n <span (click)=\"openFieldSettings()\">\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u043F\u043E\u043B\u0435\u0439</span>\n </button>\n </mat-menu>\n </div>\n </mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <div *ngIf=\"filterFormData\" class=\"filter-options\">\n <app-static-data-filter-options\n [staticSectionFields]=\"staticSection.fields\"\n [filterFormDataValues]=\"filterFormDataValues\"\n (changedFilter)=\"changedFilterHandler($event)\"></app-static-data-filter-options>\n </div>\n <div class=\"table-responsive\">\n <div class=\"content p-24\">\n <div *ngIf=\"staticSection.texts?.list?.topText\"\n [innerHTML]=\"staticSection.texts?.list?.topText\"\n class=\"static-data-list-top-text\">\n </div>\n <ng-container *ngIf=\"staticData$ | async as staticData\">\n <div class=\"center-block p-10\"\n [style.max-height.px]=\"viewMode ? ( subEntity.options?.maxHeight || 400 ) : 'auto'\">\n <app-static-data-items [items]=\"staticData\"\n [mode]=\"mode\"\n [selectIsRequired]=\"selectIsRequired\"\n [viewMode]=\"viewMode\"\n [userRights]=\"userRights\"\n [staticSection]=\"staticSection\"\n [subEntityConfig]=\"subEntity\"\n [displayedColumns]=\"displayedColumns\"\n [contentType]=\"contentType\"\n [queryParams]=\"queryParams\"\n [parentSection]=\"parentSection\"\n [parentItemId]=\"parentData?.id\"\n (changeSorting)=\"changeSortingHandle($event)\"\n (selectingItem)=\"selectItemHandle($event)\"\n (delete)=\"deleteEvent($event)\"></app-static-data-items>\n </div>\n <div *ngIf=\"staticDataObj.meta?.perPage !== -1 && staticDataObj.meta?.totalCount > perPage\">\n <mat-paginator\n *ngIf=\"totalCount\"\n aria-label=\"\u0412\u044B\u0431\u0435\u0440\u0435\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443\"\n [length]=\"staticDataObj.meta?.totalCount\"\n [pageIndex]=\"pageIndex\"\n [pageSizeOptions]=\"[5, 10, 25, 100]\"\n (page)=\"changePage($event)\"></mat-paginator>\n </div>\n </ng-container>\n <div *ngIf=\"isLoaded && !totalCount\">\u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442</div>\n <div *ngIf=\"staticSection.texts?.list?.bottomText\"\n [innerHTML]=\"staticSection.texts?.list?.bottomText\"\n class=\"static-data-list-bottom-text\">\n </div>\n\n <div *ngIf=\"!viewMode && userRights[0] && !staticSection.options?.viewSettings?.listMode?.hideAddAction\" class=\"text-center mt-30 mb-30\">\n <shared-button\n id=\"go-to-create-form-button\"\n class=\"mr-5\"\n iconSize=\"small\"\n icon=\"add\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"accent\"\n (click)=\"addHandle()\">{{ addTitle || '\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C' }}\n </shared-button>\n </div>\n </div>\n <ng-container *ngIf=\"loaded$|async; let loaded;\">\n <shared-spinner *ngIf=\"!loaded\"></shared-spinner>\n </ng-container>\n </div>\n </mat-card-content>\n </ng-container>\n </ng-container>\n</div>\n", styles: [".top-bar{background:#c7deef;display:flex;justify-content:flex-end}.search-block{display:flex;align-content:center;align-items:center}.search-block .search-input{background-color:#
|
|
13993
|
+
], template: "<div class=\"center-block-inner\">\n <ng-container *ngIf=\"(userRights$ | async) as userRights\">\n <ng-container *ngIf=\"(staticDataMeta$ | async) as staticDataObj\">\n <mat-card-header>\n <mat-card-title class=\"custom-card-title\">\n <mat-icon *ngIf=\"icon\"\n class=\"static-data-tab-icon\">{{ icon }}\n </mat-icon>\n <h5 class=\"mb-0\">{{ title }}</h5>\n </mat-card-title>\n <mat-card-subtitle class=\"w-100 sub-title-block\">\n <ng-container *ngIf=\"(!viewMode && ( staticSection?.options?.search || staticSection?.options?.filtering ) ) ||\n (viewMode && ( subEntity?.options?.hasSearch || subEntity?.options?.hasFiltering) )\">\n <form class=\"search-box position-relative w-100\">\n <div class=\"row w-100\">\n <div *ngIf=\"staticSection?.options?.search || subEntity?.options?.hasSearch\"\n class=\"col-4 search-block\">\n <input #search class=\"search-input\" placeholder=\"\u041F\u043E\u0438\u0441\u043A\">\n <shared-ui-icon class=\"search-icon\"\n [color]=\"'black'\"\n [size]=\"'small'\"\n [icon]=\"'search'\"\n (click)=\"searchHandle(search.value)\"></shared-ui-icon>\n <shared-ui-icon *ngIf=\"search.value\"\n class=\"ml-1 search-icon\"\n [color]=\"'black'\"\n [size]=\"'small'\"\n [icon]=\"'cancel'\"\n (click)=\"searchCancelHandle()\"></shared-ui-icon>\n </div>\n <ng-container *ngIf=\"!staticSection?.options?.filteringType || staticSection?.options?.filteringType === 'modal'\">\n <app-static-data-list-filtering\n *ngIf=\"staticSection?.options?.filtering || subEntity?.options?.hasFiltering\"\n class=\"col-3\"\n [filteringConfig]=\"staticSection?.options?.filtering\"\n [sectionFields]=\"staticSection.fields\"\n (filterSubmit)=\"filterHandle($event)\"></app-static-data-list-filtering>\n </ng-container>\n </div>\n </form>\n </ng-container>\n\n <div class=\"settings\">\n <button matIconButton [matMenuTriggerFor]=\"menu\" aria-label=\"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\">\n <mat-icon>settings</mat-icon>\n </button>\n <mat-menu #menu=\"matMenu\">\n <button mat-menu-item>\n <mat-icon>contextual_token</mat-icon>\n <span (click)=\"openFieldSettings()\">\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u043F\u043E\u043B\u0435\u0439</span>\n </button>\n </mat-menu>\n </div>\n </mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <div *ngIf=\"filterFormData\" class=\"filter-options\">\n <app-static-data-filter-options\n [staticSectionFields]=\"staticSection.fields\"\n [filterFormDataValues]=\"filterFormDataValues\"\n (changedFilter)=\"changedFilterHandler($event)\"></app-static-data-filter-options>\n </div>\n <div class=\"table-responsive\">\n <div class=\"content p-24\">\n <div *ngIf=\"staticSection.texts?.list?.topText\"\n [innerHTML]=\"staticSection.texts?.list?.topText\"\n class=\"static-data-list-top-text\">\n </div>\n <ng-container *ngIf=\"staticData$ | async as staticData\">\n <div class=\"center-block p-10\"\n [style.max-height.px]=\"viewMode ? ( subEntity.options?.maxHeight || 400 ) : 'auto'\">\n <app-static-data-items [items]=\"staticData\"\n [mode]=\"mode\"\n [selectIsRequired]=\"selectIsRequired\"\n [viewMode]=\"viewMode\"\n [userRights]=\"userRights\"\n [staticSection]=\"staticSection\"\n [subEntityConfig]=\"subEntity\"\n [displayedColumns]=\"displayedColumns\"\n [contentType]=\"contentType\"\n [queryParams]=\"queryParams\"\n [parentSection]=\"parentSection\"\n [parentItemId]=\"parentData?.id\"\n (changeSorting)=\"changeSortingHandle($event)\"\n (selectingItem)=\"selectItemHandle($event)\"\n (delete)=\"deleteEvent($event)\"></app-static-data-items>\n </div>\n <div *ngIf=\"staticDataObj.meta?.perPage !== -1 && staticDataObj.meta?.totalCount > perPage\">\n <mat-paginator\n *ngIf=\"totalCount\"\n aria-label=\"\u0412\u044B\u0431\u0435\u0440\u0435\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443\"\n [length]=\"staticDataObj.meta?.totalCount\"\n [pageIndex]=\"pageIndex\"\n [pageSizeOptions]=\"[5, 10, 25, 100]\"\n (page)=\"changePage($event)\"></mat-paginator>\n </div>\n </ng-container>\n <div *ngIf=\"isLoaded && !totalCount\">\u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442</div>\n <div *ngIf=\"staticSection.texts?.list?.bottomText\"\n [innerHTML]=\"staticSection.texts?.list?.bottomText\"\n class=\"static-data-list-bottom-text\">\n </div>\n\n <div *ngIf=\"!viewMode && userRights[0] && !staticSection.options?.viewSettings?.listMode?.hideAddAction\" class=\"text-center mt-30 mb-30\">\n <shared-button\n id=\"go-to-create-form-button\"\n class=\"mr-5\"\n iconSize=\"small\"\n icon=\"add\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"accent\"\n (click)=\"addHandle()\">{{ addTitle || '\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C' }}\n </shared-button>\n </div>\n </div>\n <ng-container *ngIf=\"loaded$|async; let loaded;\">\n <shared-spinner *ngIf=\"!loaded\"></shared-spinner>\n </ng-container>\n </div>\n </mat-card-content>\n </ng-container>\n </ng-container>\n</div>\n", styles: [".top-bar{background:#c7deef;display:flex;justify-content:flex-end}.search-block{display:flex;align-content:center;align-items:center}.search-block .search-input{background-color:#f5f5f5!important;padding:11px 10px!important;margin-right:3px;width:100%}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}.static-data-list-top-text,.static-data-list-bottom-text{margin:25px 0;border:1px solid rgba(175,175,175,.32);padding:10px;background:#efefef69}.search-icon{font-size:20px}.custom-card-title{display:flex;align-items:center;margin-left:10px}.custom-card-title mat-icon{margin-right:10px}.custom-card-title h1,.custom-card-title h5{margin-right:30px;white-space:nowrap}.settings button{border:0;background:transparent;color:#64758b}.sub-title-block{display:flex;justify-content:flex-end}\n"] }]
|
|
13872
13994
|
}], ctorParameters: () => [{ type: Object, decorators: [{
|
|
13873
13995
|
type: Inject,
|
|
13874
13996
|
args: [PLATFORM_ID]
|
|
@@ -14796,7 +14918,7 @@ class FilteringFormComponent {
|
|
|
14796
14918
|
});
|
|
14797
14919
|
}
|
|
14798
14920
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FilteringFormComponent, deps: [{ token: StaticDataFacade }, { token: i1.Store }, { token: i3.UntypedFormBuilder }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
14799
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: FilteringFormComponent, isStandalone: true, selector: "app-filtering-form", inputs: { contentType: "contentType", data: "data", modalView: "modalView" }, outputs: { filterData: "filterData", close: "close" }, ngImport: i0, template: "<div [ngClass]=\"{'modal-view': modalView}\"\n class=\"text-center position-relative p-10 modal-style-info modal-size-middle\">\n <b *ngIf=\"modalView\" class=\"mat-dialog-title\">\u0424\u0438\u043B\u044C\u0442\u0440\u0430\u0446\u0438\u044F</b>\n <div mat-dialog-content>\n <form [formGroup]=\"form\">\n @if (modalView) {\n <table class=\"filter-form\" [formGroup]=\"form\">\n <tr *ngFor=\"let field of filterFields\">\n <th class=\"filter-form-field\">{{ field.title }}</th>\n <td class=\"filter-form-value\">\n <mat-form-field class=\"small-form-field\">\n @switch (field.type) {\n @default {\n <input matInput type=\"text\" [formControlName]=\"field.field\"/>\n }\n @case (FieldType.FieldTypeSlideToggle) {\n <mat-select [formControlName]=\"field.field\">\n <mat-option value=\"\"> ---</mat-option>\n <mat-option [value]=\"'1:\u0414\u0430'\">\u0414\u0430</mat-option>\n <mat-option [value]=\"'0:\u041D\u0435\u0442'\">\u041D\u0435\u0442</mat-option>\n </mat-select>\n }\n @case (FieldType.FieldTypeSelect) {\n <mat-select [formControlName]=\"field.field\" [multiple]=\"true\">\n <mat-option value=\"\"> --</mat-option>\n <mat-option *ngFor=\"let option of storedOption[field.field]\"\n [value]=\"option.value + ':' + option.title\">{{ option.title }}\n </mat-option>\n </mat-select>\n }\n }\n </mat-form-field>\n </td>\n </tr>\n </table>\n\n } @else {\n <div class=\"filter-fields\">\n\n <ng-container *ngFor=\"let field of filterFields\">\n <div class=\"filter-field-row mb-10\">\n <div class=\"filter-field\">{{ field.title }}</div>\n <div class=\"filter-value\">\n\n @switch (field.filterType) {\n @default {\n @if (field.fieldType !== FieldType.FieldTypeSelect) {\n @if (field.options.format === IFormFieldFormat.Date) {\n <mat-form-field class=\"mat-form-field-small\">\n <mat-date-range-input [rangePicker]=\"picker\">\n <input matStartDate [formControlName]=\"field.field\" placeholder=\"\u041E\u0442\">\n <input matEndDate [formControlName]=\"field.field + '2'\" placeholder=\"\u0414\u043E\">\n </mat-date-range-input>\n <mat-datepicker-toggle matIconSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <mat-date-range-picker #picker></mat-date-range-picker>\n </mat-form-field>\n } @else {\n <input class=\"mat-input-small\" matInput [formControlName]=\"field.field\" type=\"text\"/>\n }\n }\n\n @if (field.fieldType === FieldType.FieldTypeSelect) {\n <mat-radio-group\n aria-labelledby=\"example-radio-group-label\"\n class=\"d-flex flex-column\"\n [formControlName]=\"field.field\">\n @for (option of storedOption[field.field]; let idx = $index; track option.value) {\n @if (idx < 6 || moreOpenedState[field.field]) {\n <mat-radio-button class=\"mat-radio-button-small\" [value]=\"option.value\">{{ option.title }}\n </mat-radio-button>\n }\n }\n @if (storedOption[field.field]?.length > 5) {\n <div class=\"filter-show-more\" (click)=\"moreClick(field.field)\">\n {{ moreOpenedState[field.field] ? '\u041C\u0435\u043D\u044C\u0448\u0435' : '\u0411\u043E\u043B\u044C\u0448\u0435' }}\n </div>\n }\n </mat-radio-group>\n }\n }\n @case (StaticDataSectionFilteringFieldTypes.TOGGLE) {\n <mat-slide-toggle class=\"mat-slide-toggle-small\"\n [formControlName]=\"field.field\"></mat-slide-toggle>\n }\n @case (StaticDataSectionFilteringFieldTypes.BETWEEN) {\n @if (field.fieldType === FieldType.FieldTypeInput) {\n <input class=\"mat-input-small mb-3\" matInput [formControlName]=\"field.field\" type=\"number\" step=\"1\" placeholder=\"\u043E\u0442\"/>\n <input class=\"mat-input-small\" matInput [formControlName]=\"field.field + '2'\" type=\"number\" step=\"1\" placeholder=\"\u0434\u043E\"/>\n }\n }\n }\n\n </div>\n </div>\n </ng-container>\n </div>\n }\n\n </form>\n <div *ngIf=\"!modalView\">\n <shared-button\n class=\"mb-1\"\n size=\"small\"\n type=\"submit\"\n color=\"accent\"\n styleTheme=\"flat\"\n (click)=\"submitClick()\"\n >\u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C\n </shared-button>\n <shared-button\n type=\"button\"\n size=\"small\"\n styleTheme=\"flat\"\n color=\"basic\"\n (click)=\"resetForm()\"\n > \u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\n </shared-button>\n </div>\n </div>\n</div>\n", styles: [".filter-form-field{text-align:left;font-size:13px;padding-right:10px}.small-form-field{margin-bottom:5px}.filter-fields{display:flex;flex-wrap:wrap}.filter-fields .filter-field-row{width:100%}.filter-fields .filter-field-row .filter-field{font-weight:700;width:100%;text-align:left}.filter-fields .filter-field-row .filter-value{width:100%;text-align:left;word-break:break-all}.filter-show-more{color:#3d2eb3;font-size:12px;text-align:center;cursor:pointer}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "component", type: ButtonComponent, selector: "shared-button", inputs: ["icon", "iconColor", "iconSize", "rightIcon", "disabled", "loading", "active", "stopPropagation", "type", "color", "fullWidth", "size", "styleTheme", "tooltip", "tooltipPosition"], outputs: ["clickButton"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "component", type: MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "directive", type: i2$4.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: MatRadioGroup, selector: "mat-radio-group", inputs: ["color", "name", "labelPosition", "value", "selected", "disabled", "required", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioGroup"] }, { kind: "component", type: MatRadioButton, selector: "mat-radio-button", inputs: ["id", "name", "aria-label", "aria-labelledby", "aria-describedby", "disableRipple", "tabIndex", "checked", "value", "labelPosition", "disabled", "required", "color", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioButton"] }, { kind: "ngmodule", type: MatDatepickerModule }, { kind: "component", type: i6$2.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { kind: "component", type: i6$2.MatDateRangeInput, selector: "mat-date-range-input", inputs: ["rangePicker", "required", "dateFilter", "min", "max", "disabled", "separator", "comparisonStart", "comparisonEnd"], exportAs: ["matDateRangeInput"] }, { kind: "directive", type: i6$2.MatStartDate, selector: "input[matStartDate]", outputs: ["dateChange", "dateInput"] }, { kind: "directive", type: i6$2.MatEndDate, selector: "input[matEndDate]", outputs: ["dateChange", "dateInput"] }, { kind: "component", type: i6$2.MatDateRangePicker, selector: "mat-date-range-picker", exportAs: ["matDateRangePicker"] }, { kind: "directive", type: MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }], animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
14921
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: FilteringFormComponent, isStandalone: true, selector: "app-filtering-form", inputs: { contentType: "contentType", data: "data", modalView: "modalView" }, outputs: { filterData: "filterData", close: "close" }, ngImport: i0, template: "<div [ngClass]=\"{'modal-view': modalView}\"\n class=\"text-center position-relative p-10 modal-style-info modal-size-middle\">\n <b *ngIf=\"modalView\" class=\"mat-dialog-title\">\u0424\u0438\u043B\u044C\u0442\u0440\u0430\u0446\u0438\u044F</b>\n <div mat-dialog-content>\n <form [formGroup]=\"form\">\n @if (modalView) {\n <table class=\"filter-form\" [formGroup]=\"form\">\n <tr *ngFor=\"let field of filterFields\">\n <th class=\"filter-form-field\">{{ field.title }}</th>\n <td class=\"filter-form-value\">\n <mat-form-field class=\"small-form-field\">\n @switch (field.type) {\n @default {\n <input matInput type=\"text\" [formControlName]=\"field.field\"/>\n }\n @case (FieldType.FieldTypeSlideToggle) {\n <mat-select [formControlName]=\"field.field\">\n <mat-option value=\"\"> ---</mat-option>\n <mat-option [value]=\"'1:\u0414\u0430'\">\u0414\u0430</mat-option>\n <mat-option [value]=\"'0:\u041D\u0435\u0442'\">\u041D\u0435\u0442</mat-option>\n </mat-select>\n }\n @case (FieldType.FieldTypeSelect) {\n <mat-select [formControlName]=\"field.field\" [multiple]=\"true\">\n <mat-option value=\"\"> --</mat-option>\n <mat-option *ngFor=\"let option of storedOption[field.field]\"\n [value]=\"option.value + ':' + option.title\">{{ option.title }}\n </mat-option>\n </mat-select>\n }\n }\n </mat-form-field>\n </td>\n </tr>\n </table>\n\n } @else {\n <div class=\"filter-fields\">\n\n <ng-container *ngFor=\"let field of filterFields\">\n <div class=\"filter-field-row mb-10\">\n <div class=\"filter-field\">{{ field.title }}</div>\n <div class=\"filter-value\">\n\n @switch (field.filterType) {\n @default {\n @if (field.fieldType !== FieldType.FieldTypeSelect) {\n @if (field.options.format === IFormFieldFormat.Date) {\n <mat-form-field class=\"mat-form-field-small\">\n <mat-date-range-input [rangePicker]=\"picker\">\n <input matStartDate [formControlName]=\"field.field\" placeholder=\"\u041E\u0442\">\n <input matEndDate [formControlName]=\"field.field + '2'\" placeholder=\"\u0414\u043E\">\n </mat-date-range-input>\n <mat-datepicker-toggle matIconSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <mat-date-range-picker #picker></mat-date-range-picker>\n </mat-form-field>\n } @else {\n <input class=\"mat-input-small\" matInput [formControlName]=\"field.field\" type=\"text\"/>\n }\n }\n\n @if (field.fieldType === FieldType.FieldTypeSelect) {\n <mat-radio-group\n aria-labelledby=\"example-radio-group-label\"\n class=\"d-flex flex-column\"\n [formControlName]=\"field.field\">\n @for (option of storedOption[field.field]; let idx = $index; track option.value) {\n @if (idx < 6 || moreOpenedState[field.field]) {\n <mat-radio-button class=\"mat-radio-button-small\" [value]=\"option.value\">{{ option.title }}\n </mat-radio-button>\n }\n }\n @if (storedOption[field.field]?.length > 5) {\n <div class=\"filter-show-more\" (click)=\"moreClick(field.field)\">\n {{ moreOpenedState[field.field] ? '\u041C\u0435\u043D\u044C\u0448\u0435' : '\u0411\u043E\u043B\u044C\u0448\u0435' }}\n </div>\n }\n </mat-radio-group>\n }\n }\n @case (StaticDataSectionFilteringFieldTypes.TOGGLE) {\n <mat-slide-toggle class=\"mat-slide-toggle-small\"\n [formControlName]=\"field.field\"></mat-slide-toggle>\n }\n @case (StaticDataSectionFilteringFieldTypes.BETWEEN) {\n @if (field.fieldType === FieldType.FieldTypeInput) {\n <input class=\"mat-input-small mb-3\" matInput [formControlName]=\"field.field\" type=\"number\" step=\"1\" placeholder=\"\u043E\u0442\"/>\n <input class=\"mat-input-small\" matInput [formControlName]=\"field.field + '2'\" type=\"number\" step=\"1\" placeholder=\"\u0434\u043E\"/>\n }\n }\n }\n\n </div>\n </div>\n </ng-container>\n </div>\n }\n\n </form>\n <div *ngIf=\"!modalView\">\n <shared-button\n class=\"mb-1\"\n size=\"small\"\n type=\"submit\"\n color=\"accent\"\n styleTheme=\"flat\"\n (click)=\"submitClick()\"\n >\u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C\n </shared-button>\n <shared-button\n type=\"button\"\n size=\"small\"\n styleTheme=\"flat\"\n color=\"basic\"\n (click)=\"resetForm()\"\n > \u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\n </shared-button>\n </div>\n </div>\n</div>\n", styles: [".filter-form-field{text-align:left;font-size:13px;padding-right:10px}.small-form-field{margin-bottom:5px}.filter-fields{display:flex;flex-wrap:wrap}.filter-fields .filter-field-row{width:100%}.filter-fields .filter-field-row .filter-field{font-weight:700;width:100%;text-align:left}.filter-fields .filter-field-row .filter-value{width:100%;text-align:left;word-break:break-all}.filter-show-more{color:#605dff;font-size:12px;text-align:center;cursor:pointer}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "component", type: ButtonComponent, selector: "shared-button", inputs: ["icon", "iconColor", "iconSize", "rightIcon", "disabled", "loading", "active", "stopPropagation", "type", "color", "fullWidth", "size", "styleTheme", "tooltip", "tooltipPosition"], outputs: ["clickButton"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "component", type: MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "directive", type: i2$4.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: MatRadioGroup, selector: "mat-radio-group", inputs: ["color", "name", "labelPosition", "value", "selected", "disabled", "required", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioGroup"] }, { kind: "component", type: MatRadioButton, selector: "mat-radio-button", inputs: ["id", "name", "aria-label", "aria-labelledby", "aria-describedby", "disableRipple", "tabIndex", "checked", "value", "labelPosition", "disabled", "required", "color", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioButton"] }, { kind: "ngmodule", type: MatDatepickerModule }, { kind: "component", type: i6$2.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { kind: "component", type: i6$2.MatDateRangeInput, selector: "mat-date-range-input", inputs: ["rangePicker", "required", "dateFilter", "min", "max", "disabled", "separator", "comparisonStart", "comparisonEnd"], exportAs: ["matDateRangeInput"] }, { kind: "directive", type: i6$2.MatStartDate, selector: "input[matStartDate]", outputs: ["dateChange", "dateInput"] }, { kind: "directive", type: i6$2.MatEndDate, selector: "input[matEndDate]", outputs: ["dateChange", "dateInput"] }, { kind: "component", type: i6$2.MatDateRangePicker, selector: "mat-date-range-picker", exportAs: ["matDateRangePicker"] }, { kind: "directive", type: MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }], animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
14800
14922
|
}
|
|
14801
14923
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FilteringFormComponent, decorators: [{
|
|
14802
14924
|
type: Component,
|
|
@@ -14817,7 +14939,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
14817
14939
|
MatDatepickerModule,
|
|
14818
14940
|
MatSuffix,
|
|
14819
14941
|
MatInput
|
|
14820
|
-
], template: "<div [ngClass]=\"{'modal-view': modalView}\"\n class=\"text-center position-relative p-10 modal-style-info modal-size-middle\">\n <b *ngIf=\"modalView\" class=\"mat-dialog-title\">\u0424\u0438\u043B\u044C\u0442\u0440\u0430\u0446\u0438\u044F</b>\n <div mat-dialog-content>\n <form [formGroup]=\"form\">\n @if (modalView) {\n <table class=\"filter-form\" [formGroup]=\"form\">\n <tr *ngFor=\"let field of filterFields\">\n <th class=\"filter-form-field\">{{ field.title }}</th>\n <td class=\"filter-form-value\">\n <mat-form-field class=\"small-form-field\">\n @switch (field.type) {\n @default {\n <input matInput type=\"text\" [formControlName]=\"field.field\"/>\n }\n @case (FieldType.FieldTypeSlideToggle) {\n <mat-select [formControlName]=\"field.field\">\n <mat-option value=\"\"> ---</mat-option>\n <mat-option [value]=\"'1:\u0414\u0430'\">\u0414\u0430</mat-option>\n <mat-option [value]=\"'0:\u041D\u0435\u0442'\">\u041D\u0435\u0442</mat-option>\n </mat-select>\n }\n @case (FieldType.FieldTypeSelect) {\n <mat-select [formControlName]=\"field.field\" [multiple]=\"true\">\n <mat-option value=\"\"> --</mat-option>\n <mat-option *ngFor=\"let option of storedOption[field.field]\"\n [value]=\"option.value + ':' + option.title\">{{ option.title }}\n </mat-option>\n </mat-select>\n }\n }\n </mat-form-field>\n </td>\n </tr>\n </table>\n\n } @else {\n <div class=\"filter-fields\">\n\n <ng-container *ngFor=\"let field of filterFields\">\n <div class=\"filter-field-row mb-10\">\n <div class=\"filter-field\">{{ field.title }}</div>\n <div class=\"filter-value\">\n\n @switch (field.filterType) {\n @default {\n @if (field.fieldType !== FieldType.FieldTypeSelect) {\n @if (field.options.format === IFormFieldFormat.Date) {\n <mat-form-field class=\"mat-form-field-small\">\n <mat-date-range-input [rangePicker]=\"picker\">\n <input matStartDate [formControlName]=\"field.field\" placeholder=\"\u041E\u0442\">\n <input matEndDate [formControlName]=\"field.field + '2'\" placeholder=\"\u0414\u043E\">\n </mat-date-range-input>\n <mat-datepicker-toggle matIconSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <mat-date-range-picker #picker></mat-date-range-picker>\n </mat-form-field>\n } @else {\n <input class=\"mat-input-small\" matInput [formControlName]=\"field.field\" type=\"text\"/>\n }\n }\n\n @if (field.fieldType === FieldType.FieldTypeSelect) {\n <mat-radio-group\n aria-labelledby=\"example-radio-group-label\"\n class=\"d-flex flex-column\"\n [formControlName]=\"field.field\">\n @for (option of storedOption[field.field]; let idx = $index; track option.value) {\n @if (idx < 6 || moreOpenedState[field.field]) {\n <mat-radio-button class=\"mat-radio-button-small\" [value]=\"option.value\">{{ option.title }}\n </mat-radio-button>\n }\n }\n @if (storedOption[field.field]?.length > 5) {\n <div class=\"filter-show-more\" (click)=\"moreClick(field.field)\">\n {{ moreOpenedState[field.field] ? '\u041C\u0435\u043D\u044C\u0448\u0435' : '\u0411\u043E\u043B\u044C\u0448\u0435' }}\n </div>\n }\n </mat-radio-group>\n }\n }\n @case (StaticDataSectionFilteringFieldTypes.TOGGLE) {\n <mat-slide-toggle class=\"mat-slide-toggle-small\"\n [formControlName]=\"field.field\"></mat-slide-toggle>\n }\n @case (StaticDataSectionFilteringFieldTypes.BETWEEN) {\n @if (field.fieldType === FieldType.FieldTypeInput) {\n <input class=\"mat-input-small mb-3\" matInput [formControlName]=\"field.field\" type=\"number\" step=\"1\" placeholder=\"\u043E\u0442\"/>\n <input class=\"mat-input-small\" matInput [formControlName]=\"field.field + '2'\" type=\"number\" step=\"1\" placeholder=\"\u0434\u043E\"/>\n }\n }\n }\n\n </div>\n </div>\n </ng-container>\n </div>\n }\n\n </form>\n <div *ngIf=\"!modalView\">\n <shared-button\n class=\"mb-1\"\n size=\"small\"\n type=\"submit\"\n color=\"accent\"\n styleTheme=\"flat\"\n (click)=\"submitClick()\"\n >\u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C\n </shared-button>\n <shared-button\n type=\"button\"\n size=\"small\"\n styleTheme=\"flat\"\n color=\"basic\"\n (click)=\"resetForm()\"\n > \u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\n </shared-button>\n </div>\n </div>\n</div>\n", styles: [".filter-form-field{text-align:left;font-size:13px;padding-right:10px}.small-form-field{margin-bottom:5px}.filter-fields{display:flex;flex-wrap:wrap}.filter-fields .filter-field-row{width:100%}.filter-fields .filter-field-row .filter-field{font-weight:700;width:100%;text-align:left}.filter-fields .filter-field-row .filter-value{width:100%;text-align:left;word-break:break-all}.filter-show-more{color:#
|
|
14942
|
+
], template: "<div [ngClass]=\"{'modal-view': modalView}\"\n class=\"text-center position-relative p-10 modal-style-info modal-size-middle\">\n <b *ngIf=\"modalView\" class=\"mat-dialog-title\">\u0424\u0438\u043B\u044C\u0442\u0440\u0430\u0446\u0438\u044F</b>\n <div mat-dialog-content>\n <form [formGroup]=\"form\">\n @if (modalView) {\n <table class=\"filter-form\" [formGroup]=\"form\">\n <tr *ngFor=\"let field of filterFields\">\n <th class=\"filter-form-field\">{{ field.title }}</th>\n <td class=\"filter-form-value\">\n <mat-form-field class=\"small-form-field\">\n @switch (field.type) {\n @default {\n <input matInput type=\"text\" [formControlName]=\"field.field\"/>\n }\n @case (FieldType.FieldTypeSlideToggle) {\n <mat-select [formControlName]=\"field.field\">\n <mat-option value=\"\"> ---</mat-option>\n <mat-option [value]=\"'1:\u0414\u0430'\">\u0414\u0430</mat-option>\n <mat-option [value]=\"'0:\u041D\u0435\u0442'\">\u041D\u0435\u0442</mat-option>\n </mat-select>\n }\n @case (FieldType.FieldTypeSelect) {\n <mat-select [formControlName]=\"field.field\" [multiple]=\"true\">\n <mat-option value=\"\"> --</mat-option>\n <mat-option *ngFor=\"let option of storedOption[field.field]\"\n [value]=\"option.value + ':' + option.title\">{{ option.title }}\n </mat-option>\n </mat-select>\n }\n }\n </mat-form-field>\n </td>\n </tr>\n </table>\n\n } @else {\n <div class=\"filter-fields\">\n\n <ng-container *ngFor=\"let field of filterFields\">\n <div class=\"filter-field-row mb-10\">\n <div class=\"filter-field\">{{ field.title }}</div>\n <div class=\"filter-value\">\n\n @switch (field.filterType) {\n @default {\n @if (field.fieldType !== FieldType.FieldTypeSelect) {\n @if (field.options.format === IFormFieldFormat.Date) {\n <mat-form-field class=\"mat-form-field-small\">\n <mat-date-range-input [rangePicker]=\"picker\">\n <input matStartDate [formControlName]=\"field.field\" placeholder=\"\u041E\u0442\">\n <input matEndDate [formControlName]=\"field.field + '2'\" placeholder=\"\u0414\u043E\">\n </mat-date-range-input>\n <mat-datepicker-toggle matIconSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <mat-date-range-picker #picker></mat-date-range-picker>\n </mat-form-field>\n } @else {\n <input class=\"mat-input-small\" matInput [formControlName]=\"field.field\" type=\"text\"/>\n }\n }\n\n @if (field.fieldType === FieldType.FieldTypeSelect) {\n <mat-radio-group\n aria-labelledby=\"example-radio-group-label\"\n class=\"d-flex flex-column\"\n [formControlName]=\"field.field\">\n @for (option of storedOption[field.field]; let idx = $index; track option.value) {\n @if (idx < 6 || moreOpenedState[field.field]) {\n <mat-radio-button class=\"mat-radio-button-small\" [value]=\"option.value\">{{ option.title }}\n </mat-radio-button>\n }\n }\n @if (storedOption[field.field]?.length > 5) {\n <div class=\"filter-show-more\" (click)=\"moreClick(field.field)\">\n {{ moreOpenedState[field.field] ? '\u041C\u0435\u043D\u044C\u0448\u0435' : '\u0411\u043E\u043B\u044C\u0448\u0435' }}\n </div>\n }\n </mat-radio-group>\n }\n }\n @case (StaticDataSectionFilteringFieldTypes.TOGGLE) {\n <mat-slide-toggle class=\"mat-slide-toggle-small\"\n [formControlName]=\"field.field\"></mat-slide-toggle>\n }\n @case (StaticDataSectionFilteringFieldTypes.BETWEEN) {\n @if (field.fieldType === FieldType.FieldTypeInput) {\n <input class=\"mat-input-small mb-3\" matInput [formControlName]=\"field.field\" type=\"number\" step=\"1\" placeholder=\"\u043E\u0442\"/>\n <input class=\"mat-input-small\" matInput [formControlName]=\"field.field + '2'\" type=\"number\" step=\"1\" placeholder=\"\u0434\u043E\"/>\n }\n }\n }\n\n </div>\n </div>\n </ng-container>\n </div>\n }\n\n </form>\n <div *ngIf=\"!modalView\">\n <shared-button\n class=\"mb-1\"\n size=\"small\"\n type=\"submit\"\n color=\"accent\"\n styleTheme=\"flat\"\n (click)=\"submitClick()\"\n >\u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C\n </shared-button>\n <shared-button\n type=\"button\"\n size=\"small\"\n styleTheme=\"flat\"\n color=\"basic\"\n (click)=\"resetForm()\"\n > \u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\n </shared-button>\n </div>\n </div>\n</div>\n", styles: [".filter-form-field{text-align:left;font-size:13px;padding-right:10px}.small-form-field{margin-bottom:5px}.filter-fields{display:flex;flex-wrap:wrap}.filter-fields .filter-field-row{width:100%}.filter-fields .filter-field-row .filter-field{font-weight:700;width:100%;text-align:left}.filter-fields .filter-field-row .filter-value{width:100%;text-align:left;word-break:break-all}.filter-show-more{color:#605dff;font-size:12px;text-align:center;cursor:pointer}\n"] }]
|
|
14821
14943
|
}], ctorParameters: () => [{ type: StaticDataFacade }, { type: i1.Store }, { type: i3.UntypedFormBuilder }, { type: i0.ChangeDetectorRef }], propDecorators: { contentType: [{
|
|
14822
14944
|
type: Input
|
|
14823
14945
|
}], data: [{
|
|
@@ -15446,7 +15568,7 @@ class StaticDataCreateNewDialogComponent {
|
|
|
15446
15568
|
this.dialogRef.close({ status: false });
|
|
15447
15569
|
}
|
|
15448
15570
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataCreateNewDialogComponent, deps: [{ token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15449
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: StaticDataCreateNewDialogComponent, isStandalone: true, selector: "app-static-data-create-new-dialog", ngImport: i0, template: "<div class=\"text-center position-relative p-10 modal-style-info modal-size-middle\">\n 1111\n<!--\n@appearFromRightWithDelay\n <div\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n <mat-icon>close</mat-icon>\n </div>-->\n\n<!-- <div mat-dialog-content>\n <shared-auto-form-show\n *ngIf=\"isShowAutoFormShow\"\n class=\"mb-20\"\n [entity]=\"contentType\"\n [data]=\"itemData\"\n [entityId]=\"itemId\"\n [fields]=\"sectionFields\"\n [config]=\"{needToPublish: false}\"\n [entitySection]=\"staticSection\"\n ></shared-auto-form-show>\n </div>-->\n</div>\n\n\n\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.close-button{right:0;margin:-
|
|
15571
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: StaticDataCreateNewDialogComponent, isStandalone: true, selector: "app-static-data-create-new-dialog", ngImport: i0, template: "<div class=\"text-center position-relative p-10 modal-style-info modal-size-middle\">\n 1111\n<!--\n@appearFromRightWithDelay\n <div\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n <mat-icon>close</mat-icon>\n </div>-->\n\n<!-- <div mat-dialog-content>\n <shared-auto-form-show\n *ngIf=\"isShowAutoFormShow\"\n class=\"mb-20\"\n [entity]=\"contentType\"\n [data]=\"itemData\"\n [entityId]=\"itemId\"\n [fields]=\"sectionFields\"\n [config]=\"{needToPublish: false}\"\n [entitySection]=\"staticSection\"\n ></shared-auto-form-show>\n </div>-->\n</div>\n\n\n\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,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-8px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "ngmodule", type: MatDialogModule }, { kind: "ngmodule", type: AutoFormModule }], animations: [appearFromRightWithDelay], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
15450
15572
|
}
|
|
15451
15573
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataCreateNewDialogComponent, decorators: [{
|
|
15452
15574
|
type: Component,
|
|
@@ -15456,7 +15578,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
15456
15578
|
MatIconModule,
|
|
15457
15579
|
MatDialogModule,
|
|
15458
15580
|
AutoFormModule
|
|
15459
|
-
], template: "<div class=\"text-center position-relative p-10 modal-style-info modal-size-middle\">\n 1111\n<!--\n@appearFromRightWithDelay\n <div\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n <mat-icon>close</mat-icon>\n </div>-->\n\n<!-- <div mat-dialog-content>\n <shared-auto-form-show\n *ngIf=\"isShowAutoFormShow\"\n class=\"mb-20\"\n [entity]=\"contentType\"\n [data]=\"itemData\"\n [entityId]=\"itemId\"\n [fields]=\"sectionFields\"\n [config]=\"{needToPublish: false}\"\n [entitySection]=\"staticSection\"\n ></shared-auto-form-show>\n </div>-->\n</div>\n\n\n\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.close-button{right:0;margin:-
|
|
15581
|
+
], template: "<div class=\"text-center position-relative p-10 modal-style-info modal-size-middle\">\n 1111\n<!--\n@appearFromRightWithDelay\n <div\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n <mat-icon>close</mat-icon>\n </div>-->\n\n<!-- <div mat-dialog-content>\n <shared-auto-form-show\n *ngIf=\"isShowAutoFormShow\"\n class=\"mb-20\"\n [entity]=\"contentType\"\n [data]=\"itemData\"\n [entityId]=\"itemId\"\n [fields]=\"sectionFields\"\n [config]=\"{needToPublish: false}\"\n [entitySection]=\"staticSection\"\n ></shared-auto-form-show>\n </div>-->\n</div>\n\n\n\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,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-8px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}\n"] }]
|
|
15460
15582
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
15461
15583
|
type: Inject,
|
|
15462
15584
|
args: [MAT_DIALOG_DATA]
|
|
@@ -15478,7 +15600,7 @@ class StaticDataCreateNewDynamicFormDialogComponent {
|
|
|
15478
15600
|
this.dialogRef.close(data);
|
|
15479
15601
|
}
|
|
15480
15602
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataCreateNewDynamicFormDialogComponent, deps: [{ token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15481
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: StaticDataCreateNewDynamicFormDialogComponent, isStandalone: true, selector: "app-static-data-create-new-dynamic-form-dialog", ngImport: i0, template: "<div @appearFromRightWithDelay class=\"text-center position-relative p-10 modal-style-info modal-size-middle\">\n <div\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n <mat-icon>close</mat-icon>\n </div>\n <app-static-data-list\n [selectIsRequired]=\"true\"\n [mode]=\"StaticDataListComponentModes.modal\"\n [contentType]=\"dynamicFormsEntity\"\n (selectingItem)=\"onSelectItem($event)\"\n ></app-static-data-list>\n</div>\n\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.close-button{right:0;margin:-
|
|
15603
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: StaticDataCreateNewDynamicFormDialogComponent, isStandalone: true, selector: "app-static-data-create-new-dynamic-form-dialog", ngImport: i0, template: "<div @appearFromRightWithDelay class=\"text-center position-relative p-10 modal-style-info modal-size-middle\">\n <div\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n <mat-icon>close</mat-icon>\n </div>\n <app-static-data-list\n [selectIsRequired]=\"true\"\n [mode]=\"StaticDataListComponentModes.modal\"\n [contentType]=\"dynamicFormsEntity\"\n (selectingItem)=\"onSelectItem($event)\"\n ></app-static-data-list>\n</div>\n\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,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-8px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "ngmodule", type: AutoFormModule }, { kind: "component", type: StaticDataListComponent, selector: "app-static-data-list", inputs: ["mode", "contentType", "selectIsRequired"], outputs: ["selectingItem"] }], animations: [appearFromRightWithDelay], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
15482
15604
|
}
|
|
15483
15605
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataCreateNewDynamicFormDialogComponent, decorators: [{
|
|
15484
15606
|
type: Component,
|
|
@@ -15489,7 +15611,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
15489
15611
|
MatDialogModule,
|
|
15490
15612
|
AutoFormModule,
|
|
15491
15613
|
StaticDataListComponent
|
|
15492
|
-
], template: "<div @appearFromRightWithDelay class=\"text-center position-relative p-10 modal-style-info modal-size-middle\">\n <div\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n <mat-icon>close</mat-icon>\n </div>\n <app-static-data-list\n [selectIsRequired]=\"true\"\n [mode]=\"StaticDataListComponentModes.modal\"\n [contentType]=\"dynamicFormsEntity\"\n (selectingItem)=\"onSelectItem($event)\"\n ></app-static-data-list>\n</div>\n\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.close-button{right:0;margin:-
|
|
15614
|
+
], template: "<div @appearFromRightWithDelay class=\"text-center position-relative p-10 modal-style-info modal-size-middle\">\n <div\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n <mat-icon>close</mat-icon>\n </div>\n <app-static-data-list\n [selectIsRequired]=\"true\"\n [mode]=\"StaticDataListComponentModes.modal\"\n [contentType]=\"dynamicFormsEntity\"\n (selectingItem)=\"onSelectItem($event)\"\n ></app-static-data-list>\n</div>\n\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,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-8px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}\n"] }]
|
|
15493
15615
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
15494
15616
|
type: Inject,
|
|
15495
15617
|
args: [MAT_DIALOG_DATA]
|
|
@@ -15510,7 +15632,7 @@ class StaticDataCreateNewItemDialogComponent {
|
|
|
15510
15632
|
this.dialogRef.close({ status: false });
|
|
15511
15633
|
}
|
|
15512
15634
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataCreateNewItemDialogComponent, deps: [{ token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15513
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: StaticDataCreateNewItemDialogComponent, isStandalone: true, selector: "app-static-data-create-new-item-dialog", ngImport: i0, template: "<div @appearFromRightWithDelay class=\"text-center position-relative p-10 modal-style-info modal-size-middle\">\n <div\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n <mat-icon>close</mat-icon>\n </div>\n\n <div mat-dialog-content>\n <app-static-data-details\n [entityInput]=\"data.entity\"\n [entityIdInput]=\"data.entityId\"\n [mode]=\"StaticDataListComponentModes.modal\"\n [autoCompleteFields]=\"data.autoCompleteFields\"\n (closePopup)=\"closePopupHandel()\"\n >\n </app-static-data-details>\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-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.close-button{right:0;margin:-
|
|
15635
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: StaticDataCreateNewItemDialogComponent, isStandalone: true, selector: "app-static-data-create-new-item-dialog", ngImport: i0, template: "<div @appearFromRightWithDelay class=\"text-center position-relative p-10 modal-style-info modal-size-middle\">\n <div\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n <mat-icon>close</mat-icon>\n </div>\n\n <div mat-dialog-content>\n <app-static-data-details\n [entityInput]=\"data.entity\"\n [entityIdInput]=\"data.entityId\"\n [mode]=\"StaticDataListComponentModes.modal\"\n [autoCompleteFields]=\"data.autoCompleteFields\"\n (closePopup)=\"closePopupHandel()\"\n >\n </app-static-data-details>\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,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-8px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$6.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: SharedSpinnerModule }, { kind: "component", type: StaticDataDetailsComponent, selector: "app-static-data-details", inputs: ["dynamicFormKey", "entityInput", "entityIdInput", "autoCompleteFields", "mode"], outputs: ["closePopup"] }], animations: [appearFromRightWithDelay], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
15514
15636
|
}
|
|
15515
15637
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataCreateNewItemDialogComponent, decorators: [{
|
|
15516
15638
|
type: Component,
|
|
@@ -15521,7 +15643,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
15521
15643
|
MatDialogModule,
|
|
15522
15644
|
SharedSpinnerModule,
|
|
15523
15645
|
StaticDataDetailsComponent
|
|
15524
|
-
], template: "<div @appearFromRightWithDelay class=\"text-center position-relative p-10 modal-style-info modal-size-middle\">\n <div\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n <mat-icon>close</mat-icon>\n </div>\n\n <div mat-dialog-content>\n <app-static-data-details\n [entityInput]=\"data.entity\"\n [entityIdInput]=\"data.entityId\"\n [mode]=\"StaticDataListComponentModes.modal\"\n [autoCompleteFields]=\"data.autoCompleteFields\"\n (closePopup)=\"closePopupHandel()\"\n >\n </app-static-data-details>\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-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.close-button{right:0;margin:-
|
|
15646
|
+
], template: "<div @appearFromRightWithDelay class=\"text-center position-relative p-10 modal-style-info modal-size-middle\">\n <div\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n <mat-icon>close</mat-icon>\n </div>\n\n <div mat-dialog-content>\n <app-static-data-details\n [entityInput]=\"data.entity\"\n [entityIdInput]=\"data.entityId\"\n [mode]=\"StaticDataListComponentModes.modal\"\n [autoCompleteFields]=\"data.autoCompleteFields\"\n (closePopup)=\"closePopupHandel()\"\n >\n </app-static-data-details>\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,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-8px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}\n"] }]
|
|
15525
15647
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
15526
15648
|
type: Inject,
|
|
15527
15649
|
args: [MAT_DIALOG_DATA]
|
|
@@ -15546,7 +15668,7 @@ class ViewStaticDataDetailsDialogComponent {
|
|
|
15546
15668
|
this.dialogRef.close({ status: false });
|
|
15547
15669
|
}
|
|
15548
15670
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ViewStaticDataDetailsDialogComponent, deps: [{ token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15549
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: ViewStaticDataDetailsDialogComponent, isStandalone: true, selector: "app-view-static-data-details-dialog", ngImport: i0, template: "<div class=\"text-center position-relative p-10 modal-style-info modal-size-middle\"\n @appearFromRightWithDelay>\n <div\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n <mat-icon>close</mat-icon>\n </div>\n\n <div mat-dialog-content>\n <app-static-data-view\n [dialogContentType]=\"contentType\"\n [dialogItemId]=\"itemId\"\n [mode]=\"StaticDataListComponentModes.modal\">\n </app-static-data-view>\n<!-- <shared-auto-form-show\n *ngIf=\"isShowAutoFormShow\"\n class=\"mb-20\"\n [entity]=\"contentType\"\n [data]=\"itemData\"\n [entityId]=\"itemId\"\n [fields]=\"sectionFields\"\n [config]=\"{needToPublish: false}\"\n [entitySection]=\"staticSection\"\n ></shared-auto-form-show>-->\n </div>\n</div>\n\n\n\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.close-button{right:0;margin:-
|
|
15671
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: ViewStaticDataDetailsDialogComponent, isStandalone: true, selector: "app-view-static-data-details-dialog", ngImport: i0, template: "<div class=\"text-center position-relative p-10 modal-style-info modal-size-middle\"\n @appearFromRightWithDelay>\n <div\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n <mat-icon>close</mat-icon>\n </div>\n\n <div mat-dialog-content>\n <app-static-data-view\n [dialogContentType]=\"contentType\"\n [dialogItemId]=\"itemId\"\n [mode]=\"StaticDataListComponentModes.modal\">\n </app-static-data-view>\n<!-- <shared-auto-form-show\n *ngIf=\"isShowAutoFormShow\"\n class=\"mb-20\"\n [entity]=\"contentType\"\n [data]=\"itemData\"\n [entityId]=\"itemId\"\n [fields]=\"sectionFields\"\n [config]=\"{needToPublish: false}\"\n [entitySection]=\"staticSection\"\n ></shared-auto-form-show>-->\n </div>\n</div>\n\n\n\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,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-8px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$6.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: StaticDataViewComponent, selector: "app-static-data-view", inputs: ["mode", "dialogContentType", "dialogItemId"] }], animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
15550
15672
|
}
|
|
15551
15673
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ViewStaticDataDetailsDialogComponent, decorators: [{
|
|
15552
15674
|
type: Component,
|
|
@@ -15556,7 +15678,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
15556
15678
|
MatIconModule,
|
|
15557
15679
|
MatDialogModule,
|
|
15558
15680
|
StaticDataViewComponent,
|
|
15559
|
-
], template: "<div class=\"text-center position-relative p-10 modal-style-info modal-size-middle\"\n @appearFromRightWithDelay>\n <div\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n <mat-icon>close</mat-icon>\n </div>\n\n <div mat-dialog-content>\n <app-static-data-view\n [dialogContentType]=\"contentType\"\n [dialogItemId]=\"itemId\"\n [mode]=\"StaticDataListComponentModes.modal\">\n </app-static-data-view>\n<!-- <shared-auto-form-show\n *ngIf=\"isShowAutoFormShow\"\n class=\"mb-20\"\n [entity]=\"contentType\"\n [data]=\"itemData\"\n [entityId]=\"itemId\"\n [fields]=\"sectionFields\"\n [config]=\"{needToPublish: false}\"\n [entitySection]=\"staticSection\"\n ></shared-auto-form-show>-->\n </div>\n</div>\n\n\n\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.close-button{right:0;margin:-
|
|
15681
|
+
], template: "<div class=\"text-center position-relative p-10 modal-style-info modal-size-middle\"\n @appearFromRightWithDelay>\n <div\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n <mat-icon>close</mat-icon>\n </div>\n\n <div mat-dialog-content>\n <app-static-data-view\n [dialogContentType]=\"contentType\"\n [dialogItemId]=\"itemId\"\n [mode]=\"StaticDataListComponentModes.modal\">\n </app-static-data-view>\n<!-- <shared-auto-form-show\n *ngIf=\"isShowAutoFormShow\"\n class=\"mb-20\"\n [entity]=\"contentType\"\n [data]=\"itemData\"\n [entityId]=\"itemId\"\n [fields]=\"sectionFields\"\n [config]=\"{needToPublish: false}\"\n [entitySection]=\"staticSection\"\n ></shared-auto-form-show>-->\n </div>\n</div>\n\n\n\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,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-8px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}\n"] }]
|
|
15560
15682
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
15561
15683
|
type: Inject,
|
|
15562
15684
|
args: [MAT_DIALOG_DATA]
|
|
@@ -15958,11 +16080,11 @@ class PaginationComponent {
|
|
|
15958
16080
|
}
|
|
15959
16081
|
}
|
|
15960
16082
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15961
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: PaginationComponent, isStandalone: false, selector: "shared-pagination", inputs: { count: "count", perPage: "perPage", page: "page", url: "url" }, usesOnChanges: true, ngImport: i0, template: "<nav aria-label=\"\u041F\u0430\u0433\u0438\u043D\u0430\u0446\u0438\u044F\">\n <ul class=\"pagination\">\n <li *ngFor=\"let pageIndex of pages\" class=\"page-item\">\n <a *ngIf=\"pageIndex !== 0 && page !== pageIndex\" class=\"page-link\" [routerLink]=\"[url]\"\n [queryParams]=\"{p: pageIndex}\">{{pageIndex}}</a>\n <span *ngIf=\"pageIndex === 0\" class=\"page-link\">...</span>\n <span *ngIf=\"page === pageIndex\" class=\"page-link active-page\">{{pageIndex}}</span>\n </li>\n </ul>\n</nav>\n", styles: [".page-link{border:1px solid rgba(222,226,230,.
|
|
16083
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: PaginationComponent, isStandalone: false, selector: "shared-pagination", inputs: { count: "count", perPage: "perPage", page: "page", url: "url" }, usesOnChanges: true, ngImport: i0, template: "<nav aria-label=\"\u041F\u0430\u0433\u0438\u043D\u0430\u0446\u0438\u044F\">\n <ul class=\"pagination\">\n <li *ngFor=\"let pageIndex of pages\" class=\"page-item\">\n <a *ngIf=\"pageIndex !== 0 && page !== pageIndex\" class=\"page-link\" [routerLink]=\"[url]\"\n [queryParams]=\"{p: pageIndex}\">{{pageIndex}}</a>\n <span *ngIf=\"pageIndex === 0\" class=\"page-link\">...</span>\n <span *ngIf=\"page === pageIndex\" class=\"page-link active-page\">{{pageIndex}}</span>\n </li>\n </ul>\n</nav>\n", styles: [".page-link{border:1px solid rgba(222,226,230,.37)}.page-link.active-page,.page-link.active-page:hover{background:#1fc6b6;color:#fff!important;-webkit-text-fill-color:#ffffff!important}.page-link:hover{background:-webkit-linear-gradient(131deg,#11736a 0%,#1fc6b6 99%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-decoration:none;-webkit-transition:.5s;transition:.5s}.page-item span{color:#666!important;cursor:default}\n"], dependencies: [{ kind: "directive", type: i1$4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
15962
16084
|
}
|
|
15963
16085
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PaginationComponent, decorators: [{
|
|
15964
16086
|
type: Component,
|
|
15965
|
-
args: [{ selector: 'shared-pagination', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<nav aria-label=\"\u041F\u0430\u0433\u0438\u043D\u0430\u0446\u0438\u044F\">\n <ul class=\"pagination\">\n <li *ngFor=\"let pageIndex of pages\" class=\"page-item\">\n <a *ngIf=\"pageIndex !== 0 && page !== pageIndex\" class=\"page-link\" [routerLink]=\"[url]\"\n [queryParams]=\"{p: pageIndex}\">{{pageIndex}}</a>\n <span *ngIf=\"pageIndex === 0\" class=\"page-link\">...</span>\n <span *ngIf=\"page === pageIndex\" class=\"page-link active-page\">{{pageIndex}}</span>\n </li>\n </ul>\n</nav>\n", styles: [".page-link{border:1px solid rgba(222,226,230,.
|
|
16087
|
+
args: [{ selector: 'shared-pagination', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<nav aria-label=\"\u041F\u0430\u0433\u0438\u043D\u0430\u0446\u0438\u044F\">\n <ul class=\"pagination\">\n <li *ngFor=\"let pageIndex of pages\" class=\"page-item\">\n <a *ngIf=\"pageIndex !== 0 && page !== pageIndex\" class=\"page-link\" [routerLink]=\"[url]\"\n [queryParams]=\"{p: pageIndex}\">{{pageIndex}}</a>\n <span *ngIf=\"pageIndex === 0\" class=\"page-link\">...</span>\n <span *ngIf=\"page === pageIndex\" class=\"page-link active-page\">{{pageIndex}}</span>\n </li>\n </ul>\n</nav>\n", styles: [".page-link{border:1px solid rgba(222,226,230,.37)}.page-link.active-page,.page-link.active-page:hover{background:#1fc6b6;color:#fff!important;-webkit-text-fill-color:#ffffff!important}.page-link:hover{background:-webkit-linear-gradient(131deg,#11736a 0%,#1fc6b6 99%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-decoration:none;-webkit-transition:.5s;transition:.5s}.page-item span{color:#666!important;cursor:default}\n"] }]
|
|
15966
16088
|
}], ctorParameters: () => [], propDecorators: { count: [{
|
|
15967
16089
|
type: Input
|
|
15968
16090
|
}], perPage: [{
|
|
@@ -16834,8 +16956,8 @@ class HeadersInterceptor {
|
|
|
16834
16956
|
*/
|
|
16835
16957
|
this.updateStaticDataByType(data);
|
|
16836
16958
|
if (response.body?.meta?.autoAction === 'update-static-data' && response.body.meta?.staticDataType) {
|
|
16837
|
-
if (response.body?.data?.id) {
|
|
16838
|
-
this.staticDataFacade.updateSuccess(response.body.meta.staticDataType, response.body?.data?.id, response.body?.data);
|
|
16959
|
+
if (response.body?.data?.id || response?.body?.meta?.itemId) {
|
|
16960
|
+
this.staticDataFacade.updateSuccess(response.body.meta.staticDataType, response.body?.data?.id || response?.body?.meta?.itemId, response.body?.data);
|
|
16839
16961
|
}
|
|
16840
16962
|
}
|
|
16841
16963
|
}
|
|
@@ -17081,5 +17203,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
17081
17203
|
* Generated bundle index. Do not edit.
|
|
17082
17204
|
*/
|
|
17083
17205
|
|
|
17084
|
-
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, CreateRequestListenerByFormId, DateFormatPipe, DeleteComponent, DeleteRequest, DeleteRequestData, DeleteRequestListenerByFormId, DeleteRequestWaiter, DialogService, DialogsModule, DynamicFormQuestionType, 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, FormFormateType, 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, LoginRequiredAction, 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, STATIC_DATA_CREATE_NEW_DIALOG, STATIC_DATA_CREATE_NEW_DYNAMIC_FORM_DIALOG, STATIC_DATA_CREATE_NEW_ITEM_DIALOG, STATIC_DATA_VIEW_ITEM_DIALOG, STICKY_SIDEBAR_OPTIONS, SafePipe, SelectDialogComponent, SeoService, SequelizeUniqueConstraintError, SetLoaded, SetRouterQueryParams, SharedFormErrors, SharedIconModule, SharedReducer, SharedSpinnerModule, SiteHelperComponent, SiteHelperModule, SmartProgressBarComponent, SmartProgressBarModule, SocialAuthService, SpinnerComponent, SsoExchangeTokenRequest, StarRatingComponent, StarRatingModule, StaticDataBulkUpdateOrCreate, StaticDataBulkUpdateOrCreateFail, StaticDataBulkUpdateOrCreateRequest, StaticDataBulkUpdateOrCreateSuccess, StaticDataComponentInputData, StaticDataCreate, StaticDataCreateFail, StaticDataCreateRequest, StaticDataCreateSuccess, StaticDataCreateWithSubEntities, StaticDataCreateWithSubEntitiesSuccess, StaticDataDelete, StaticDataDeleteFail, StaticDataDeleteRequest, StaticDataDeleteSuccess, StaticDataDetailsComponent, StaticDataEffects, StaticDataEndpointTypes, StaticDataFacade, StaticDataGet, StaticDataGetFail, StaticDataGetList, StaticDataGetListCategories, StaticDataGetListCategoriesFail, StaticDataGetListCategoriesRequest, StaticDataGetListCategoriesSuccess, StaticDataGetListFail, StaticDataGetListRequest, StaticDataGetListSuccess, StaticDataGetRequest, StaticDataGetSubRouting, StaticDataGetSubRoutingFail, StaticDataGetSubRoutingSuccess, StaticDataGetSuccess, StaticDataListComponentModes, StaticDataLoadRevisions, StaticDataMetaStatus, StaticDataModel, StaticDataModule, StaticDataNewRevisions, StaticDataPartUpdate, StaticDataPatchUpdate, StaticDataPatchUpdateFail, StaticDataPatchUpdateSuccess, StaticDataSectionFilteringFieldTypes, StaticDataService, StaticDataSubRoutingGetRequest, StaticDataUpdate, StaticDataUpdateFail, StaticDataUpdateRequest, StaticDataUpdateSuccess, StaticDataViewComponent, StickySidebarDirective, StickySidebarInnerDirective, StickySidebarModule, StorageProvider, StorageService, SubEntityOptionsViewTypes, TableMenuComponent, TableMenuModule, TagCloudComponent, TagCloudModule, TagEntitiesRequest, TagEntityModel, TagModel, TagsEndpointTypes, TagsFacade, TagsLoadRequest, TagsLoadResponseFactory, TagsService, TextWithLinkMoreComponent, TextWithLinkMoreModule, USERS_FEATURE_KEY, UiUnitIds, UiUnitsEffects, UiUnitsFacade, UnPublishPostRequest, UpdateRequestData, UserDataRequest, 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, getRequestInfoByFormId, getRouterLastRoute, getRouterLastRouteParams, getRouterQueryParams, getRouterRoot, getRouterUrl, getUIUnit, getUiUnitDataById, getUserAuthData, guid, hideToTopOpacity, initialState$9 as initialState, mappet, notificationQuery, publicationMessageMapper, publicationMessageScheme, requestsQuery, sharedEffects, sharedFacades, staticDataQuery, trackById, uiUnitsQuery, untilComponentDestroyed, userMapper, userReducer, userScheme, usersQuery };
|
|
17206
|
+
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, CreateRequestListenerByFormId, DateFormatPipe, DeleteComponent, DeleteRequest, DeleteRequestData, DeleteRequestListenerByFormId, DeleteRequestWaiter, DialogService, DialogsModule, DynamicFormQuestionType, 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, FormFormateType, 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, LoginRequiredAction, 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, STATIC_DATA_CREATE_NEW_DIALOG, STATIC_DATA_CREATE_NEW_DYNAMIC_FORM_DIALOG, STATIC_DATA_CREATE_NEW_ITEM_DIALOG, STATIC_DATA_VIEW_ITEM_DIALOG, STICKY_SIDEBAR_OPTIONS, SafePipe, SelectDialogComponent, SeoService, SequelizeUniqueConstraintError, SetLoaded, SetRouterQueryParams, SharedFormErrors, SharedIconModule, SharedReducer, SharedSpinnerModule, SiteHelperComponent, SiteHelperModule, SmartProgressBarComponent, SmartProgressBarModule, SocialAuthService, SpinnerComponent, SsoExchangeTokenRequest, StarRatingComponent, StarRatingModule, StaticDataBulkUpdateOrCreate, StaticDataBulkUpdateOrCreateFail, StaticDataBulkUpdateOrCreateRequest, StaticDataBulkUpdateOrCreateSuccess, StaticDataComponentInputData, StaticDataCreate, StaticDataCreateFail, StaticDataCreateRequest, StaticDataCreateSuccess, StaticDataCreateWithSubEntities, StaticDataCreateWithSubEntitiesSuccess, StaticDataDelete, StaticDataDeleteFail, StaticDataDeleteRequest, StaticDataDeleteSuccess, StaticDataDetailsComponent, StaticDataEffects, StaticDataEndpointTypes, StaticDataFacade, StaticDataGet, StaticDataGetFail, StaticDataGetList, StaticDataGetListCategories, StaticDataGetListCategoriesFail, StaticDataGetListCategoriesRequest, StaticDataGetListCategoriesSuccess, StaticDataGetListFail, StaticDataGetListRequest, StaticDataGetListSuccess, StaticDataGetRequest, StaticDataGetSubRouting, StaticDataGetSubRoutingFail, StaticDataGetSubRoutingSuccess, StaticDataGetSuccess, StaticDataListComponentModes, StaticDataLoadRevisions, StaticDataMetaStatus, StaticDataModel, StaticDataModule, StaticDataNewRevisions, StaticDataPartUpdate, StaticDataPatchUpdate, StaticDataPatchUpdateFail, StaticDataPatchUpdateSuccess, StaticDataReports, StaticDataReportsFail, StaticDataReportsRequest, StaticDataReportsSuccess, StaticDataSectionFilteringFieldTypes, StaticDataService, StaticDataSubRoutingGetRequest, StaticDataUpdate, StaticDataUpdateFail, StaticDataUpdateRequest, StaticDataUpdateSuccess, StaticDataViewComponent, StickySidebarDirective, StickySidebarInnerDirective, StickySidebarModule, StorageProvider, StorageService, SubEntityOptionsViewTypes, TableMenuComponent, TableMenuModule, TagCloudComponent, TagCloudModule, TagEntitiesRequest, TagEntityModel, TagModel, TagsEndpointTypes, TagsFacade, TagsLoadRequest, TagsLoadResponseFactory, TagsService, TextWithLinkMoreComponent, TextWithLinkMoreModule, USERS_FEATURE_KEY, UiUnitIds, UiUnitsEffects, UiUnitsFacade, UnPublishPostRequest, UpdateRequestData, UserDataRequest, 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, getRequestInfoByFormId, getRouterLastRoute, getRouterLastRouteParams, getRouterQueryParams, getRouterRoot, getRouterUrl, getUIUnit, getUiUnitDataById, getUserAuthData, guid, hideToTopOpacity, initialState$9 as initialState, mappet, notificationQuery, publicationMessageMapper, publicationMessageScheme, requestsQuery, sharedEffects, sharedFacades, staticDataQuery, trackById, uiUnitsQuery, untilComponentDestroyed, userMapper, userReducer, userScheme, usersQuery };
|
|
17085
17207
|
//# sourceMappingURL=wt-front-shared.mjs.map
|