@bizdoc/core 1.15.3 → 1.15.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/admin/configuration-designer/designer-element.component.mjs +9 -7
- package/esm2020/lib/admin/configuration-designer/designer.base.mjs +65 -4
- package/esm2020/lib/admin/configuration-designer/designer.component.mjs +13 -9
- package/esm2020/lib/admin/configuration-designer/elements/action.component.mjs +4 -6
- package/esm2020/lib/admin/configuration-designer/elements/analysis-view.component.mjs +49 -0
- package/esm2020/lib/admin/configuration-designer/elements/analysis-widget.component.mjs +18 -42
- package/esm2020/lib/admin/configuration-designer/elements/anomaly-rule.component.mjs +4 -6
- package/esm2020/lib/admin/configuration-designer/elements/box-form.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/cube-view.component.mjs +18 -28
- package/esm2020/lib/admin/configuration-designer/elements/cube.component.mjs +120 -13
- package/esm2020/lib/admin/configuration-designer/elements/documents-report.component.mjs +4 -6
- package/esm2020/lib/admin/configuration-designer/elements/documents-widget.component.mjs +21 -32
- package/esm2020/lib/admin/configuration-designer/elements/explore-view.component.mjs +18 -27
- package/esm2020/lib/admin/configuration-designer/elements/folder.component.mjs +4 -6
- package/esm2020/lib/admin/configuration-designer/elements/form.component.mjs +15 -11
- package/esm2020/lib/admin/configuration-designer/elements/guide.component.mjs +4 -4
- package/esm2020/lib/admin/configuration-designer/elements/matrix-view.component.mjs +18 -46
- package/esm2020/lib/admin/configuration-designer/elements/parallel-view.component.mjs +18 -35
- package/esm2020/lib/admin/configuration-designer/elements/performance-widget.component.mjs +4 -6
- package/esm2020/lib/admin/configuration-designer/elements/pivot-view.component.mjs +17 -35
- package/esm2020/lib/admin/configuration-designer/elements/report.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/return-to-role-action.component.mjs +39 -0
- package/esm2020/lib/admin/configuration-designer/elements/role.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/rule.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/state.component.mjs +31 -0
- package/esm2020/lib/admin/configuration-designer/elements/sum-view.component.mjs +16 -36
- package/esm2020/lib/admin/configuration-designer/elements/tasks-report.component.mjs +19 -42
- package/esm2020/lib/admin/configuration-designer/elements/type.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/usage-report.component.mjs +15 -38
- package/esm2020/lib/admin/configuration-designer/elements/utility.component.mjs +4 -6
- package/esm2020/lib/admin/configuration-designer/elements/view.component.mjs +9 -13
- package/esm2020/lib/admin/configuration-designer/elements/widget.component.mjs +5 -6
- package/esm2020/lib/admin/configuration-designer/privileges.component.mjs +23 -16
- package/esm2020/lib/admin/document-trace/document-trace.component.mjs +4 -4
- package/esm2020/lib/admin/form/form.resolve.service.mjs +7 -7
- package/esm2020/lib/admin/form/workflow/workflow.component.mjs +4 -4
- package/esm2020/lib/admin/patterns/patterns.component.mjs +4 -4
- package/esm2020/lib/admin/system.service.mjs +54 -0
- package/esm2020/lib/core/translations.mjs +41 -6
- package/esm2020/lib/cube/sum/sum.component.mjs +1 -1
- package/esm2020/lib/dashboard/cube/accum-cube.widget.mjs +1 -1
- package/esm2020/lib/dashboard/cube/cube-analysis.base.mjs +1 -1
- package/esm2020/lib/dashboard/cube/cube-analysis.widget.mjs +1 -1
- package/esm2020/lib/dashboard/cube/documents.widget.mjs +1 -1
- package/esm2020/lib/dashboard/cube/filter/filter.component.mjs +1 -1
- package/esm2020/lib/reports/cube/usage-args.component.mjs +1 -1
- package/esm2020/lib/reports/cube/usage-base.mjs +2 -1
- package/esm2020/lib/reports/cube/usage-chart.component.mjs +1 -1
- package/esm2020/lib/reports/cube/usage-pivot.component.mjs +1 -1
- package/esm2020/lib/reports/cube/usage.component.mjs +4 -5
- package/esm2020/lib/reports/tasks/tasks.component.mjs +1 -1
- package/esm2020/lib/system.module.mjs +14 -12
- package/esm2020/lib/views/cube/chart.component.mjs +2 -2
- package/esm2020/lib/views/cube/explore.component.mjs +1 -1
- package/esm2020/lib/views/cube/matrix.component.mjs +1 -1
- package/esm2020/lib/views/cube/parallel.component.mjs +1 -1
- package/esm2020/lib/views/cube/pivot.component.mjs +1 -1
- package/esm2020/lib/views/cube/sum.component.mjs +1 -1
- package/esm2020/lib/views/cube/view.component.mjs +1 -1
- package/fesm2015/bizdoc-core.mjs +645 -595
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +639 -595
- package/fesm2020/bizdoc-core.mjs.map +1 -1
- package/lib/admin/configuration-designer/designer-element.component.d.ts +3 -2
- package/lib/admin/configuration-designer/designer.base.d.ts +47 -6
- package/lib/admin/configuration-designer/designer.component.d.ts +3 -17
- package/lib/admin/configuration-designer/elements/action.component.d.ts +1 -4
- package/lib/admin/configuration-designer/elements/analysis-view.component.d.ts +19 -0
- package/lib/admin/configuration-designer/elements/analysis-widget.component.d.ts +4 -30
- package/lib/admin/configuration-designer/elements/anomaly-rule.component.d.ts +1 -4
- package/lib/admin/configuration-designer/elements/cube-view.component.d.ts +6 -29
- package/lib/admin/configuration-designer/elements/cube.component.d.ts +30 -6
- package/lib/admin/configuration-designer/elements/documents-widget.component.d.ts +7 -25
- package/lib/admin/configuration-designer/elements/explore-view.component.d.ts +6 -26
- package/lib/admin/configuration-designer/elements/folder.component.d.ts +1 -3
- package/lib/admin/configuration-designer/elements/form.component.d.ts +5 -4
- package/lib/admin/configuration-designer/elements/guide.component.d.ts +3 -7
- package/lib/admin/configuration-designer/elements/matrix-view.component.d.ts +5 -33
- package/lib/admin/configuration-designer/elements/parallel-view.component.d.ts +5 -28
- package/lib/admin/configuration-designer/elements/pivot-view.component.d.ts +5 -25
- package/lib/admin/configuration-designer/elements/return-to-role-action.component.d.ts +19 -0
- package/lib/admin/configuration-designer/elements/state.component.d.ts +19 -0
- package/lib/admin/configuration-designer/elements/sum-view.component.d.ts +3 -29
- package/lib/admin/configuration-designer/elements/tasks-report.component.d.ts +6 -29
- package/lib/admin/configuration-designer/elements/type.component.d.ts +0 -1
- package/lib/admin/configuration-designer/elements/usage-report.component.d.ts +3 -25
- package/lib/admin/configuration-designer/elements/utility.component.d.ts +1 -4
- package/lib/admin/configuration-designer/elements/view.component.d.ts +2 -7
- package/lib/admin/configuration-designer/elements/widget.component.d.ts +1 -4
- package/lib/admin/configuration-designer/privileges.component.d.ts +11 -6
- package/lib/admin/document-trace/document-trace.component.d.ts +2 -2
- package/lib/admin/form/form.resolve.service.d.ts +3 -3
- package/lib/admin/form/workflow/workflow.component.d.ts +2 -2
- package/lib/admin/patterns/patterns.component.d.ts +2 -2
- package/lib/admin/{form/form.service.d.ts → system.service.d.ts} +8 -5
- package/lib/core/translations.d.ts +39 -0
- package/lib/cube/sum/sum.component.d.ts +2 -1
- package/lib/dashboard/cube/accum-cube.widget.d.ts +2 -2
- package/lib/dashboard/cube/cube-analysis.base.d.ts +3 -3
- package/lib/dashboard/cube/cube-analysis.widget.d.ts +2 -2
- package/lib/dashboard/cube/documents.widget.d.ts +11 -1
- package/lib/dashboard/cube/filter/filter.component.d.ts +2 -2
- package/lib/reports/cube/usage-args.component.d.ts +2 -2
- package/lib/reports/cube/usage-base.d.ts +7 -6
- package/lib/reports/cube/usage-chart.component.d.ts +2 -2
- package/lib/reports/cube/usage-pivot.component.d.ts +2 -2
- package/lib/reports/cube/usage.component.d.ts +3 -4
- package/lib/reports/tasks/tasks.component.d.ts +4 -2
- package/lib/system.module.d.ts +59 -57
- package/lib/views/cube/chart.component.d.ts +4 -4
- package/lib/views/cube/explore.component.d.ts +4 -4
- package/lib/views/cube/matrix.component.d.ts +8 -7
- package/lib/views/cube/parallel.component.d.ts +8 -3
- package/lib/views/cube/pivot.component.d.ts +4 -3
- package/lib/views/cube/sum.component.d.ts +5 -3
- package/lib/views/cube/view.component.d.ts +4 -4
- package/package.json +1 -1
- package/esm2020/lib/admin/configuration-designer/elements/chart-view.component.mjs +0 -76
- package/esm2020/lib/admin/form/form.service.mjs +0 -48
- package/lib/admin/configuration-designer/elements/chart-view.component.d.ts +0 -45
@@ -1,60 +1,37 @@
|
|
1
1
|
import { __decorate } from "tslib";
|
2
2
|
import { Component } from "@angular/core";
|
3
|
-
import { Validators } from "@angular/forms";
|
4
3
|
import { BizDoc } from "../../../core/decorators";
|
5
|
-
import {
|
4
|
+
import { DesignerCubeElementComponent } from "../designer.base";
|
6
5
|
import * as i0 from "@angular/core";
|
7
|
-
import * as i1 from "@angular/
|
8
|
-
import * as i2 from "
|
9
|
-
import * as i3 from "@angular/
|
10
|
-
import * as i4 from "@angular/material/
|
11
|
-
import * as i5 from "@angular/material/
|
12
|
-
import * as i6 from "
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
let TasksReportDesignComponent = class TasksReportDesignComponent extends DesignerElementComponent {
|
17
|
-
constructor(_fb, _session) {
|
18
|
-
super();
|
19
|
-
this._fb = _fb;
|
20
|
-
this._session = _session;
|
6
|
+
import * as i1 from "@angular/common";
|
7
|
+
import * as i2 from "@angular/forms";
|
8
|
+
import * as i3 from "@angular/material/core";
|
9
|
+
import * as i4 from "@angular/material/form-field";
|
10
|
+
import * as i5 from "@angular/material/select";
|
11
|
+
import * as i6 from "../../../core/pipes/translate.pipe";
|
12
|
+
let TasksReportDesignComponent = class TasksReportDesignComponent extends DesignerCubeElementComponent {
|
13
|
+
constructor() {
|
14
|
+
super(...arguments);
|
21
15
|
this.form = this._fb.group({
|
22
16
|
cube: null,
|
23
|
-
|
24
|
-
|
25
|
-
indices: null,
|
26
|
-
filters: this._fb.group({}),
|
27
|
-
chartType: null,
|
17
|
+
axes: null,
|
18
|
+
states: null,
|
28
19
|
scope: null
|
29
20
|
});
|
30
|
-
this.cubes = this._session.profile.cubes;
|
31
21
|
}
|
32
22
|
ngOnInit() {
|
33
|
-
|
34
|
-
|
35
|
-
}
|
36
|
-
cubeSelected(evt) {
|
37
|
-
this.selectedCube = evt.value;
|
38
|
-
this.form.get('cube').setValue(evt.value.name);
|
39
|
-
}
|
40
|
-
get isAccum() {
|
41
|
-
switch (this.args.chartType) {
|
42
|
-
case 'Pie':
|
43
|
-
case 'Doughnut':
|
44
|
-
case 'HalfDoughnut':
|
45
|
-
case 'Funnel':
|
46
|
-
return true;
|
47
|
-
}
|
23
|
+
super.ngOnInit();
|
24
|
+
this.states = this._ref.model.states;
|
48
25
|
}
|
49
26
|
};
|
50
|
-
TasksReportDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: TasksReportDesignComponent, deps:
|
51
|
-
TasksReportDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: TasksReportDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<ng-
|
27
|
+
TasksReportDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: TasksReportDesignComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
28
|
+
TasksReportDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: TasksReportDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <mat-form-field *ngIf=\"cubes.length>1\">\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select required (selectionChange)=\"cubeSelected($event)\">\r\n <mat-option>{{'Default'|translate}}</mat-option>\r\n <mat-option *ngFor=\"let c of cubes\" [value]=\"c\">{{c.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'XAxis'|translate}}</mat-label>\r\n <mat-select formControlName=\"axes\" required multiple >\r\n <mat-option *ngFor=\"let x of cube?.axes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'States'|translate}}</mat-label>\r\n <mat-select formControlName=\"states\" multiple>\r\n <mat-option *ngFor=\"let x of states\" [value]=\"x.name\" multiple>{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </form>\r\n</ng-container>\r\n<!---->\r\n<ng-template #info></ng-template>\r\n", dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "component", type: i5.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] });
|
52
29
|
TasksReportDesignComponent = __decorate([
|
53
30
|
BizDoc({ selector: 'tasks-report-designer' })
|
54
31
|
], TasksReportDesignComponent);
|
55
32
|
export { TasksReportDesignComponent };
|
56
33
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: TasksReportDesignComponent, decorators: [{
|
57
34
|
type: Component,
|
58
|
-
args: [{ template: "<ng-
|
59
|
-
}]
|
60
|
-
//# sourceMappingURL=data:application/json;base64,
|
35
|
+
args: [{ template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <mat-form-field *ngIf=\"cubes.length>1\">\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select required (selectionChange)=\"cubeSelected($event)\">\r\n <mat-option>{{'Default'|translate}}</mat-option>\r\n <mat-option *ngFor=\"let c of cubes\" [value]=\"c\">{{c.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'XAxis'|translate}}</mat-label>\r\n <mat-select formControlName=\"axes\" required multiple >\r\n <mat-option *ngFor=\"let x of cube?.axes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'States'|translate}}</mat-label>\r\n <mat-select formControlName=\"states\" multiple>\r\n <mat-option *ngFor=\"let x of states\" [value]=\"x.name\" multiple>{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </form>\r\n</ng-container>\r\n<!---->\r\n<ng-template #info></ng-template>\r\n" }]
|
36
|
+
}] });
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFza3MtcmVwb3J0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvYWRtaW4vY29uZmlndXJhdGlvbi1kZXNpZ25lci9lbGVtZW50cy90YXNrcy1yZXBvcn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3RhdGVzJ3x0cmFuc2xhdGV9fTwvbWF0LWxhYmVsPlxyXG4gICAgICA8bWF0LXNlbGVjdCBmb3JtQ29udHJvbE5hbWU9XCJzdGF0ZXNcIiBtdWx0aXBsZT5cclxuICAgICAgICA8bWF0LW9wdGlvbiAqbmdGb3I9XCJsZXQgeCBvZiBzdGF0ZXNcIiBbdmFsdWVdPVwieC5uYW1lXCIgbXVsdGlwbGU+e3t4LnRpdGxlIHx8IHgubmFtZX19PC9tYXQtb3B0aW9uPlxyXG4gICAgICA8L21hdC1zZWxlY3Q+XHJcbiAgICA8L21hdC1mb3JtLWZpZWxkPlxyXG4gIDwvZm9ybT5cclxuPC9uZy1jb250YWluZXI+XHJcbjwhLS0tLT5cclxuPG5nLXRlbXBsYXRlICNpbmZvPjwvbmctdGVtcGxhdGU+XHJcbiJdfQ==
|
@@ -21,13 +21,13 @@ let TypeDesignComponent = class TypeDesignComponent extends DesignerElementCompo
|
|
21
21
|
}
|
22
22
|
};
|
23
23
|
TypeDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: TypeDesignComponent, deps: [{ token: i1.FormBuilder }, { token: i2.SessionService }], target: i0.ɵɵFactoryTarget.Component });
|
24
|
-
TypeDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: TypeDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<ng-
|
24
|
+
TypeDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: TypeDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\">\r\n <mat-slide-toggle formControlName=\"assignable\">{{'Assignable'|translate}}</mat-slide-toggle>\r\n </form>\r\n</ng-container>\r\n<!---->\r\n<ng-template #info>\r\n <div>\r\n </div>\r\n</ng-template>\r\n", dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i4.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex"], exportAs: ["matSlideToggle"] }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }] });
|
25
25
|
TypeDesignComponent = __decorate([
|
26
26
|
BizDoc({ selector: 'type-designer' })
|
27
27
|
], TypeDesignComponent);
|
28
28
|
export { TypeDesignComponent };
|
29
29
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: TypeDesignComponent, decorators: [{
|
30
30
|
type: Component,
|
31
|
-
args: [{ template: "<ng-
|
31
|
+
args: [{ template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\">\r\n <mat-slide-toggle formControlName=\"assignable\">{{'Assignable'|translate}}</mat-slide-toggle>\r\n </form>\r\n</ng-container>\r\n<!---->\r\n<ng-template #info>\r\n <div>\r\n </div>\r\n</ng-template>\r\n" }]
|
32
32
|
}], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i2.SessionService }]; } });
|
33
|
-
//# sourceMappingURL=data:application/json;base64,
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlI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yXG4iLCI8bmctY29udGFpbmVyICpuZ0lmPVwiZWRpdE1vZGU7IGVsc2UgaW5mb1wiPlxyXG4gIDxmb3JtIGF1dG9jb21wbGV0ZT1cIm9mZlwiIFtmb3JtR3JvdXBdPVwiZm9ybVwiPlxyXG4gICAgPG1hdC1zbGlkZS10b2dnbGUgZm9ybUNvbnRyb2xOYW1lPVwiYXNzaWduYWJsZVwiPnt7J0Fzc2lnbmFibGUnfHRyYW5zbGF0ZX19PC9tYXQtc2xpZGUtdG9nZ2xlPlxyXG4gIDwvZm9ybT5cclxuPC9uZy1jb250YWluZXI+XHJcbjwhLS0tLT5cclxuPG5nLXRlbXBsYXRlICNpbmZvPlxyXG4gIDxkaXY+XHJcbiAgPC9kaXY+XHJcbjwvbmctdGVtcGxhdGU+XHJcbiJdfQ==
|
@@ -2,22 +2,17 @@ import { __decorate } from "tslib";
|
|
2
2
|
import { Component } from "@angular/core";
|
3
3
|
import { Validators } from "@angular/forms";
|
4
4
|
import { BizDoc } from "../../../core/decorators";
|
5
|
-
import {
|
5
|
+
import { DesignerCubeElementComponent } from "../designer.base";
|
6
6
|
import * as i0 from "@angular/core";
|
7
|
-
import * as i1 from "@angular/
|
8
|
-
import * as i2 from "
|
9
|
-
import * as i3 from "@angular/
|
10
|
-
import * as i4 from "@angular/material/
|
11
|
-
import * as i5 from "@angular/material/
|
12
|
-
import * as i6 from "
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
let UsageReportDesignComponent = class UsageReportDesignComponent extends DesignerElementComponent {
|
17
|
-
constructor(_fb, _session) {
|
18
|
-
super();
|
19
|
-
this._fb = _fb;
|
20
|
-
this._session = _session;
|
7
|
+
import * as i1 from "@angular/common";
|
8
|
+
import * as i2 from "@angular/forms";
|
9
|
+
import * as i3 from "@angular/material/core";
|
10
|
+
import * as i4 from "@angular/material/form-field";
|
11
|
+
import * as i5 from "@angular/material/select";
|
12
|
+
import * as i6 from "../../../core/pipes/translate.pipe";
|
13
|
+
let UsageReportDesignComponent = class UsageReportDesignComponent extends DesignerCubeElementComponent {
|
14
|
+
constructor() {
|
15
|
+
super(...arguments);
|
21
16
|
this.form = this._fb.group({
|
22
17
|
cube: null,
|
23
18
|
xAxis: this._fb.control(null, Validators.required),
|
@@ -27,34 +22,16 @@ let UsageReportDesignComponent = class UsageReportDesignComponent extends Design
|
|
27
22
|
chartType: null,
|
28
23
|
scope: null
|
29
24
|
});
|
30
|
-
this.cubes = this._session.profile.cubes;
|
31
|
-
}
|
32
|
-
ngOnInit() {
|
33
|
-
this.selectedCube = !this.model.options.cube ? this._session.profile.cubes[0] :
|
34
|
-
this._session.profile.cubes.find(c => c.name === this.model.options.cube);
|
35
|
-
}
|
36
|
-
cubeSelected(evt) {
|
37
|
-
this.selectedCube = evt.value;
|
38
|
-
this.form.get('cube').setValue(evt.value.name);
|
39
|
-
}
|
40
|
-
get isAccum() {
|
41
|
-
switch (this.args.chartType) {
|
42
|
-
case 'Pie':
|
43
|
-
case 'Doughnut':
|
44
|
-
case 'HalfDoughnut':
|
45
|
-
case 'Funnel':
|
46
|
-
return true;
|
47
|
-
}
|
48
25
|
}
|
49
26
|
};
|
50
|
-
UsageReportDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: UsageReportDesignComponent, deps:
|
51
|
-
UsageReportDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: UsageReportDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<ng-
|
27
|
+
UsageReportDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: UsageReportDesignComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
28
|
+
UsageReportDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: UsageReportDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <mat-form-field *ngIf=\"cubes.length>1\">\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select required (selectionChange)=\"cubeSelected($event)\">\r\n <mat-option *ngFor=\"let c of cubes\" [value]=\"c\">{{c.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'XAxis'|translate}}</mat-label>\r\n <mat-select formControlName=\"xAxis\" required multiple (selectionChange)=\"xAxisSelected($event)\">\r\n <mat-option *ngFor=\"let x of cube?.axes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Series'|translate}}</mat-label>\r\n <mat-select formControlName=\"series\" multiple>\r\n <mat-option *ngFor=\"let x of secondaryAxes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'ChartType'|translate}}</mat-label>\r\n <mat-select formControlName=\"chartType\">\r\n <mat-option value=\"Column\">{{'Column'|translate}}</mat-option>\r\n <mat-option value=\"Bar\">{{'Bar'|translate}}</mat-option>\r\n <mat-option value=\"Line\">{{'Line'|translate}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </form>\r\n <div>\r\n </div>\r\n</ng-container>\r\n<!---->\r\n<ng-template #info></ng-template>\r\n", dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "component", type: i5.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] });
|
52
29
|
UsageReportDesignComponent = __decorate([
|
53
30
|
BizDoc({ selector: 'usage-report-designer' })
|
54
31
|
], UsageReportDesignComponent);
|
55
32
|
export { UsageReportDesignComponent };
|
56
33
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: UsageReportDesignComponent, decorators: [{
|
57
34
|
type: Component,
|
58
|
-
args: [{ template: "<ng-
|
59
|
-
}]
|
60
|
-
//# sourceMappingURL=data:application/json;base64,
|
35
|
+
args: [{ template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <mat-form-field *ngIf=\"cubes.length>1\">\r\n <mat-label>{{'Cube'|translate}}</mat-label>\r\n <mat-select required (selectionChange)=\"cubeSelected($event)\">\r\n <mat-option *ngFor=\"let c of cubes\" [value]=\"c\">{{c.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'XAxis'|translate}}</mat-label>\r\n <mat-select formControlName=\"xAxis\" required multiple (selectionChange)=\"xAxisSelected($event)\">\r\n <mat-option *ngFor=\"let x of cube?.axes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Series'|translate}}</mat-label>\r\n <mat-select formControlName=\"series\" multiple>\r\n <mat-option *ngFor=\"let x of secondaryAxes\" [value]=\"x.name\">{{x.title || x.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'ChartType'|translate}}</mat-label>\r\n <mat-select formControlName=\"chartType\">\r\n <mat-option value=\"Column\">{{'Column'|translate}}</mat-option>\r\n <mat-option value=\"Bar\">{{'Bar'|translate}}</mat-option>\r\n <mat-option value=\"Line\">{{'Line'|translate}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </form>\r\n <div>\r\n </div>\r\n</ng-container>\r\n<!---->\r\n<ng-template #info></ng-template>\r\n" }]
|
36
|
+
}] });
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNhZ2UtcmVwb3J0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvYWRtaW4vY29uZmlndXJhdGlvbi1kZXNpZ25lci9lbGVtZW50cy91c2FnZS1yZXBvcnQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9hZG1pbi9jb25maWd1cmF0aW9uLWRlc2lnbmVyL2VsZW1lbnRzL3VzYWdlLXJlcG9ydC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQ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bGU+XHJcbiAgICAgICAgPG1hdC1vcHRpb24gKm5nRm9yPVwibGV0IHggb2Ygc2Vjb25kYXJ5QXhlc1wiIFt2YWx1ZV09XCJ4Lm5hbWVcIj57e3gudGl0bGUgfHwgeC5uYW1lfX08L21hdC1vcHRpb24+XHJcbiAgICAgIDwvbWF0LXNlbGVjdD5cclxuICAgIDwvbWF0LWZvcm0tZmllbGQ+XHJcbiAgICA8bWF0LWZvcm0tZmllbGQ+XHJcbiAgICAgIDxtYXQtbGFiZWw+e3snQ2hhcnRUeXBlJ3x0cmFuc2xhdGV9fTwvbWF0LWxhYmVsPlxyXG4gICAgICA8bWF0LXNlbGVjdCBmb3JtQ29udHJvbE5hbWU9XCJjaGFydFR5cGVcIj5cclxuICAgICAgICA8bWF0LW9wdGlvbiB2YWx1ZT1cIkNvbHVtblwiPnt7J0NvbHVtbid8dHJhbnNsYXRlfX08L21hdC1vcHRpb24+XHJcbiAgICAgICAgPG1hdC1vcHRpb24gdmFsdWU9XCJCYXJcIj57eydCYXInfHRyYW5zbGF0ZX19PC9tYXQtb3B0aW9uPlxyXG4gICAgICAgIDxtYXQtb3B0aW9uIHZhbHVlPVwiTGluZVwiPnt7J0xpbmUnfHRyYW5zbGF0ZX19PC9tYXQtb3B0aW9uPlxyXG4gICAgICA8L21hdC1zZWxlY3Q+XHJcbiAgICA8L21hdC1mb3JtLWZpZWxkPlxyXG4gIDwvZm9ybT5cclxuICA8ZGl2PlxyXG4gIDwvZGl2PlxyXG48L25nLWNvbnRhaW5lcj5cclxuPCEtLS0tPlxyXG48bmctdGVtcGxhdGUgI2luZm8+PC9uZy10ZW1wbGF0ZT5cclxuIl19
|
@@ -12,21 +12,19 @@ let UtilityDesignComponent = class UtilityDesignComponent extends DesignerElemen
|
|
12
12
|
super();
|
13
13
|
this._fb = _fb;
|
14
14
|
this._session = _session;
|
15
|
-
this.form = this._fb.group({
|
16
|
-
disabled: false,
|
17
|
-
});
|
15
|
+
this.form = this._fb.group({});
|
18
16
|
}
|
19
17
|
ngOnInit() {
|
20
18
|
}
|
21
19
|
};
|
22
20
|
UtilityDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: UtilityDesignComponent, deps: [{ token: i1.FormBuilder }, { token: i2.SessionService }], target: i0.ɵɵFactoryTarget.Component });
|
23
|
-
UtilityDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: UtilityDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<ng-
|
21
|
+
UtilityDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: UtilityDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\">\r\n </form>\r\n <bizdoc-privileges (change)=\"change.emit()\" [model]=\"model.privileges\"></bizdoc-privileges>\r\n</ng-container>\r\n<!---->\r\n<ng-template #info>\r\n <div>\r\n </div>\r\n</ng-template>\r\n", dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i4.PrivilegesDesignComponent, selector: "bizdoc-privileges", inputs: ["model"], outputs: ["change"] }] });
|
24
22
|
UtilityDesignComponent = __decorate([
|
25
23
|
BizDoc({ selector: 'utility-designer' })
|
26
24
|
], UtilityDesignComponent);
|
27
25
|
export { UtilityDesignComponent };
|
28
26
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: UtilityDesignComponent, decorators: [{
|
29
27
|
type: Component,
|
30
|
-
args: [{ template: "<ng-
|
28
|
+
args: [{ template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\">\r\n </form>\r\n <bizdoc-privileges (change)=\"change.emit()\" [model]=\"model.privileges\"></bizdoc-privileges>\r\n</ng-container>\r\n<!---->\r\n<ng-template #info>\r\n <div>\r\n </div>\r\n</ng-template>\r\n" }]
|
31
29
|
}], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i2.SessionService }]; } });
|
32
|
-
//# sourceMappingURL=data:application/json;base64,
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbGl0eS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2FkbWluL2NvbmZpZ3VyYXRpb24tZGVzaWduZXIvZWxlbWVudHMvdXRpbGl0eS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2FkbWluL2NvbmZpZ3VyYXRpb24tZGVzaWduZXIvZWxlbWVudHMvdXRpbGl0eS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUVsRCxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFFbEQsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sa0JBQWtCLENBQUM7Ozs7OztJQUkvQyxzQkFBc0IsU0FBdEIsc0JBQXVCLFNBQVEsd0JBQStCO0lBR3pFLFlBQW9CLEdBQWdCLEVBQVUsUUFBd0I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RGVzaWduQ29tcG9uZW50IGV4dGVuZHMgRGVzaWduZXJFbGVtZW50Q29tcG9uZW50PE1vZGVsPiBpbXBsZW1lbnRzIE9uSW5pdCB7XHJcbiAgcmVhZG9ubHkgZm9ybSA9IHRoaXMuX2ZiLmdyb3VwKHtcclxuICB9KTtcclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIF9mYjogRm9ybUJ1aWxkZXIsIHByaXZhdGUgX3Nlc3Npb246IFNlc3Npb25TZXJ2aWNlKSB7XHJcbiAgICBzdXBlcigpXHJcbiAgfVxyXG4gIG5nT25Jbml0KCkge1xyXG4gIH1cclxufVxyXG5pbnRlcmZhY2UgTW9kZWwge1xyXG59XHJcbiIsIjxuZy1jb250YWluZXIgKm5nSWY9XCJlZGl0TW9kZTsgZWxzZSBpbmZvXCI+XHJcbiAgPGZvcm0gYXV0b2NvbXBsZXRlPVwib2ZmXCIgW2Zvcm1Hcm91cF09XCJmb3JtXCI+XHJcbiAgPC9mb3JtPlxyXG4gIDxiaXpkb2MtcHJpdmlsZWdlcyAoY2hhbmdlKT1cImNoYW5nZS5lbWl0KClcIiBbbW9kZWxdPVwibW9kZWwucHJpdmlsZWdlc1wiPjwvYml6ZG9jLXByaXZpbGVnZXM+XHJcbjwvbmctY29udGFpbmVyPlxyXG48IS0tLS0+XHJcbjxuZy10ZW1wbGF0ZSAjaW5mbz5cclxuICA8ZGl2PlxyXG4gIDwvZGl2PlxyXG48L25nLXRlbXBsYXRlPlxyXG4iXX0=
|
@@ -4,29 +4,25 @@ import { BizDoc } from "../../../core/decorators";
|
|
4
4
|
import { DesignerElementComponent } from "../designer.base";
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
import * as i1 from "@angular/forms";
|
7
|
-
import * as i2 from "
|
8
|
-
import * as i3 from "
|
9
|
-
import * as i4 from "../privileges.component";
|
7
|
+
import * as i2 from "@angular/common";
|
8
|
+
import * as i3 from "../privileges.component";
|
10
9
|
let ViewDesignComponent = class ViewDesignComponent extends DesignerElementComponent {
|
11
|
-
constructor(_fb
|
10
|
+
constructor(_fb) {
|
12
11
|
super();
|
13
12
|
this._fb = _fb;
|
14
|
-
this.
|
15
|
-
this.form = this._fb.group({
|
16
|
-
disabled: false,
|
17
|
-
});
|
13
|
+
this.form = this._fb.group({});
|
18
14
|
}
|
19
15
|
ngOnInit() {
|
20
16
|
}
|
21
17
|
};
|
22
|
-
ViewDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: ViewDesignComponent, deps: [{ token: i1.FormBuilder }
|
23
|
-
ViewDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: ViewDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<ng-
|
18
|
+
ViewDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: ViewDesignComponent, deps: [{ token: i1.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
19
|
+
ViewDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: ViewDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\">\r\n </form>\r\n <bizdoc-privileges (change)=\"change.emit()\" [model]=\"model.privileges\"></bizdoc-privileges>\r\n</ng-container>\r\n<!---->\r\n<ng-template #info>\r\n <div>\r\n </div>\r\n</ng-template>\r\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i3.PrivilegesDesignComponent, selector: "bizdoc-privileges", inputs: ["model"], outputs: ["change"] }] });
|
24
20
|
ViewDesignComponent = __decorate([
|
25
21
|
BizDoc({ selector: 'view-designer' })
|
26
22
|
], ViewDesignComponent);
|
27
23
|
export { ViewDesignComponent };
|
28
24
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: ViewDesignComponent, decorators: [{
|
29
25
|
type: Component,
|
30
|
-
args: [{ template: "<ng-
|
31
|
-
}], ctorParameters: function () { return [{ type: i1.FormBuilder }
|
32
|
-
//# sourceMappingURL=data:application/json;base64,
|
26
|
+
args: [{ template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\">\r\n </form>\r\n <bizdoc-privileges (change)=\"change.emit()\" [model]=\"model.privileges\"></bizdoc-privileges>\r\n</ng-container>\r\n<!---->\r\n<ng-template #info>\r\n <div>\r\n </div>\r\n</ng-template>\r\n" }]
|
27
|
+
}], ctorParameters: function () { return [{ type: i1.FormBuilder }]; } });
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlldy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2FkbWluL2NvbmZpZ3VyYXRpb24tZGVzaWduZXIvZWxlbWVudHMvdmlldy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2FkbWluL2NvbmZpZ3VyYXRpb24tZGVzaWduZXIvZWxlbWVudHMvdmlldy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFF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2lnbmVyLmJhc2VcIjtcclxuXHJcbkBDb21wb25lbnQoeyB0ZW1wbGF0ZVVybDogJ3ZpZXcuY29tcG9uZW50Lmh0bWwnIH0pXHJcbiAgQEJpekRvYyh7IHNlbGVjdG9yOiAndmlldy1kZXNpZ25lcicgfSlcclxuZXhwb3J0IGNsYXNzIFZpZXdEZXNpZ25Db21wb25lbnQgZXh0ZW5kcyBEZXNpZ25lckVsZW1lbnRDb21wb25lbnQ8TW9kZWw+IGltcGxlbWVudHMgT25Jbml0IHtcclxuICByZWFkb25seSBmb3JtID0gdGhpcy5fZmIuZ3JvdXAoe1xyXG4gIH0pO1xyXG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgX2ZiOiBGb3JtQnVpbGRlcikge1xyXG4gICAgc3VwZXIoKVxyXG4gIH1cclxuICBuZ09uSW5pdCgpIHtcclxuICB9XHJcbn1cclxuaW50ZXJmYWNlIE1vZGVsIHtcclxufVxyXG4iLCI8bmctY29udGFpbmVyICpuZ0lmPVwiZWRpdE1vZGU7IGVsc2UgaW5mb1wiPlxyXG4gIDxmb3JtIGF1dG9jb21wbGV0ZT1cIm9mZlwiIFtmb3JtR3JvdXBdPVwiZm9ybVwiPlxyXG4gIDwvZm9ybT5cclxuICA8Yml6ZG9jLXByaXZpbGVnZXMgKGNoYW5nZSk9XCJjaGFuZ2UuZW1pdCgpXCIgW21vZGVsXT1cIm1vZGVsLnByaXZpbGVnZXNcIj48L2JpemRvYy1wcml2aWxlZ2VzPlxyXG48L25nLWNvbnRhaW5lcj5cclxuPCEtLS0tPlxyXG48bmctdGVtcGxhdGUgI2luZm8+XHJcbiAgPGRpdj5cclxuICA8L2Rpdj5cclxuPC9uZy10ZW1wbGF0ZT5cclxuIl19
|
@@ -6,26 +6,25 @@ import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "@angular/forms";
|
7
7
|
import * as i2 from "../../../core/session.service";
|
8
8
|
import * as i3 from "@angular/common";
|
9
|
+
import * as i4 from "../privileges.component";
|
9
10
|
let WidgetDesignComponent = class WidgetDesignComponent extends DesignerElementComponent {
|
10
11
|
constructor(_fb, _session) {
|
11
12
|
super();
|
12
13
|
this._fb = _fb;
|
13
14
|
this._session = _session;
|
14
|
-
this.form = this._fb.group({
|
15
|
-
disabled: false,
|
16
|
-
});
|
15
|
+
this.form = this._fb.group({});
|
17
16
|
}
|
18
17
|
ngOnInit() {
|
19
18
|
}
|
20
19
|
};
|
21
20
|
WidgetDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: WidgetDesignComponent, deps: [{ token: i1.FormBuilder }, { token: i2.SessionService }], target: i0.ɵɵFactoryTarget.Component });
|
22
|
-
WidgetDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: WidgetDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<
|
21
|
+
WidgetDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: WidgetDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\">\r\n </form>\r\n <bizdoc-privileges (change)=\"change.emit()\" [model]=\"model.privileges\"></bizdoc-privileges>\r\n</ng-container>\r\n<!---->\r\n<ng-template #info>\r\n <div>\r\n </div>\r\n</ng-template>\r\n", dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i4.PrivilegesDesignComponent, selector: "bizdoc-privileges", inputs: ["model"], outputs: ["change"] }] });
|
23
22
|
WidgetDesignComponent = __decorate([
|
24
23
|
BizDoc({ selector: 'widget-designer' })
|
25
24
|
], WidgetDesignComponent);
|
26
25
|
export { WidgetDesignComponent };
|
27
26
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: WidgetDesignComponent, decorators: [{
|
28
27
|
type: Component,
|
29
|
-
args: [{ template: "<
|
28
|
+
args: [{ template: "<ng-container *ngIf=\"editMode; else info\">\r\n <form autocomplete=\"off\" [formGroup]=\"form\">\r\n </form>\r\n <bizdoc-privileges (change)=\"change.emit()\" [model]=\"model.privileges\"></bizdoc-privileges>\r\n</ng-container>\r\n<!---->\r\n<ng-template #info>\r\n <div>\r\n </div>\r\n</ng-template>\r\n" }]
|
30
29
|
}], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i2.SessionService }]; } });
|
31
|
-
//# sourceMappingURL=data:application/json;base64,
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvYWRtaW4vY29uZmlndXJhdGlvbi1kZXNpZ25lci9lbGVtZW50cy93aWRnZXQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9hZG1pbi9jb25maWd1cmF0aW9uLWRlc2lnbmVyL2VsZW1lbnRzL3dpZGdldC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUVsRCxPQUFPLEVBQUUsTUFBTSx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NlXCI7XHJcblxyXG5AQ29tcG9uZW50KHsgdGVtcGxhdGVVcmw6ICd3aWRnZXQuY29tcG9uZW50Lmh0bWwnIH0pXHJcbkBCaXpEb2MoeyBzZWxlY3RvcjogJ3dpZGdldC1kZXNpZ25lcicgfSlcclxuZXhwb3J0IGNsYXNzIFdpZGdldERlc2lnbkNvbXBvbmVudCBleHRlbmRzIERlc2lnbmVyRWxlbWVudENvbXBvbmVudDxNb2RlbD4gaW1wbGVtZW50cyBPbkluaXQge1xyXG4gIHJlYWRvbmx5IGZvcm0gPSB0aGlzLl9mYi5ncm91cCh7XHJcbiAgfSk7XHJcbiAgY29uc3RydWN0b3IocHJpdmF0ZSBfZmI6IEZvcm1CdWlsZGVyLCBwcml2YXRlIF9zZXNzaW9uOiBTZXNzaW9uU2VydmljZSkge1xyXG4gICAgc3VwZXIoKVxyXG4gIH1cclxuICBuZ09uSW5pdCgpIHtcclxuICB9XHJcbn1cclxuaW50ZXJmYWNlIE1vZGVsIHtcclxufVxyXG4iLCI8bmctY29udGFpbmVyICpuZ0lmPVwiZWRpdE1vZGU7IGVsc2UgaW5mb1wiPlxyXG4gIDxmb3JtIGF1dG9jb21wbGV0ZT1cIm9mZlwiIFtmb3JtR3JvdXBdPVwiZm9ybVwiPlxyXG4gIDwvZm9ybT5cclxuICA8Yml6ZG9jLXByaXZpbGVnZXMgKGNoYW5nZSk9XCJjaGFuZ2UuZW1pdCgpXCIgW21vZGVsXT1cIm1vZGVsLnByaXZpbGVnZXNcIj48L2JpemRvYy1wcml2aWxlZ2VzPlxyXG48L25nLWNvbnRhaW5lcj5cclxuPCEtLS0tPlxyXG48bmctdGVtcGxhdGUgI2luZm8+XHJcbiAgPGRpdj5cclxuICA8L2Rpdj5cclxuPC9uZy10ZW1wbGF0ZT5cclxuIl19
|
@@ -1,35 +1,42 @@
|
|
1
|
-
import { Component, Input } from "@angular/core";
|
1
|
+
import { Component, EventEmitter, Input, Output } from "@angular/core";
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
import * as i1 from "@angular/forms";
|
4
|
-
import * as i2 from "
|
5
|
-
import * as i3 from "
|
6
|
-
import * as i4 from "@angular/
|
7
|
-
import * as i5 from "@angular/material/
|
8
|
-
import * as i6 from "@angular/material/
|
4
|
+
import * as i2 from "../../core/session.service";
|
5
|
+
import * as i3 from "../system.service";
|
6
|
+
import * as i4 from "@angular/common";
|
7
|
+
import * as i5 from "@angular/material/list";
|
8
|
+
import * as i6 from "@angular/material/form-field";
|
9
9
|
import * as i7 from "../core/ace.input";
|
10
10
|
import * as i8 from "../../core/pipes/translate.pipe";
|
11
|
-
let roles;
|
12
11
|
export class PrivilegesDesignComponent {
|
13
|
-
constructor(_fb, _service) {
|
12
|
+
constructor(_fb, _session, _service) {
|
14
13
|
this._fb = _fb;
|
14
|
+
this._session = _session;
|
15
15
|
this._service = _service;
|
16
|
+
this.change = new EventEmitter();
|
16
17
|
this.form = this._fb.group({
|
17
18
|
rule: null,
|
18
|
-
roles: [],
|
19
|
+
roles: this._fb.control([]),
|
19
20
|
});
|
20
21
|
}
|
21
22
|
ngOnInit() {
|
22
|
-
this._service.roles().subscribe(r => this.roles = r)
|
23
|
-
|
23
|
+
this._service.roles().subscribe(r => this.roles = r //.concat(this._session.profile.roles)
|
24
|
+
);
|
25
|
+
this.form.patchValue(this.model);
|
24
26
|
this.form.valueChanges.subscribe(v => Object.assign(this.model, v));
|
25
27
|
}
|
28
|
+
rolesChange(evt) {
|
29
|
+
this.form.get('roles').setValue(evt.options.map(o => o.value));
|
30
|
+
}
|
26
31
|
}
|
27
|
-
PrivilegesDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: PrivilegesDesignComponent, deps: [{ token: i1.FormBuilder }, { token: i2.
|
28
|
-
PrivilegesDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: PrivilegesDesignComponent, selector: "bizdoc-privileges", inputs: { model: "model" }, ngImport: i0, template: "<h2 class=\"mat-
|
32
|
+
PrivilegesDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: PrivilegesDesignComponent, deps: [{ token: i1.FormBuilder }, { token: i2.SessionService }, { token: i3.SystemService }], target: i0.ɵɵFactoryTarget.Component });
|
33
|
+
PrivilegesDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: PrivilegesDesignComponent, selector: "bizdoc-privileges", inputs: { model: "model" }, outputs: { change: "change" }, ngImport: i0, template: "<form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <h2 class=\"mat-subheader\">{{'Privileges'|translate}}</h2>\r\n <mat-selection-list (selectionChange)=\"rolesChange($event)\" multiple *ngIf=\"roles\">\r\n <mat-list-option *ngFor=\"let r of roles\" [selected]=\"model?.roles?.indexOf(r.name) > -1\" [value]=\"r.name\">{{r.title}}</mat-list-option>\r\n </mat-selection-list>\r\n <!--<mat-form-field>\r\n <mat-label>{{'Roles'|translate}}</mat-label>\r\n <mat-select formControlName=\"roles\" multiple>\r\n <mat-option *ngFor=\"let r of roles\" [value]=\"r.name\">{{r.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>-->\r\n <mat-form-field>\r\n <bizdoc-ace-input [placeholder]=\"'Condition'|translate\" formControlName=\"rule\"></bizdoc-ace-input>\r\n <mat-hint> {{ 'ProgrammableExpression'|translate }}</mat-hint>\r\n </mat-form-field>\r\n</form>\r\n", dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i5.MatSelectionList, selector: "mat-selection-list", inputs: ["disableRipple", "color", "compareWith", "disabled", "multiple"], outputs: ["selectionChange"], exportAs: ["matSelectionList"] }, { kind: "component", type: i5.MatListOption, selector: "mat-list-option", inputs: ["disableRipple", "checkboxPosition", "color", "value", "disabled", "selected"], outputs: ["selectedChange"], exportAs: ["matListOption"] }, { kind: "component", type: i6.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i6.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "component", type: i7.AceInput, selector: "bizdoc-ace-input", inputs: ["params", "placeholder", "required", "disabled", "value"] }, { kind: "pipe", type: i8.TranslatePipe, name: "translate" }] });
|
29
34
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: PrivilegesDesignComponent, decorators: [{
|
30
35
|
type: Component,
|
31
|
-
args: [{ selector: 'bizdoc-privileges', template: "<h2 class=\"mat-
|
32
|
-
}], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i2.
|
36
|
+
args: [{ selector: 'bizdoc-privileges', template: "<form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <h2 class=\"mat-subheader\">{{'Privileges'|translate}}</h2>\r\n <mat-selection-list (selectionChange)=\"rolesChange($event)\" multiple *ngIf=\"roles\">\r\n <mat-list-option *ngFor=\"let r of roles\" [selected]=\"model?.roles?.indexOf(r.name) > -1\" [value]=\"r.name\">{{r.title}}</mat-list-option>\r\n </mat-selection-list>\r\n <!--<mat-form-field>\r\n <mat-label>{{'Roles'|translate}}</mat-label>\r\n <mat-select formControlName=\"roles\" multiple>\r\n <mat-option *ngFor=\"let r of roles\" [value]=\"r.name\">{{r.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>-->\r\n <mat-form-field>\r\n <bizdoc-ace-input [placeholder]=\"'Condition'|translate\" formControlName=\"rule\"></bizdoc-ace-input>\r\n <mat-hint> {{ 'ProgrammableExpression'|translate }}</mat-hint>\r\n </mat-form-field>\r\n</form>\r\n" }]
|
37
|
+
}], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i2.SessionService }, { type: i3.SystemService }]; }, propDecorators: { model: [{
|
33
38
|
type: Input
|
39
|
+
}], change: [{
|
40
|
+
type: Output
|
34
41
|
}] } });
|
35
|
-
//# sourceMappingURL=data:application/json;base64,
|
42
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpdmlsZWdlcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2FkbWluL2NvbmZpZ3VyYXRpb24tZGVzaWduZXIvcHJpdmlsZWdlcy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2FkbWluL2NvbmZpZ3VyYXRpb24tZGVzaWduZXIvcHJpdmlsZWdlcy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQVUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7Ozs7Ozs7O0FBWS9FLE1BQU0sT0FBTyx5QkFBeUI7SUFRcEMsWUFBb0IsR0FBZ0IsRUFBVSxRQUF3Qix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