@bizdoc/core 2.3.18 → 2.3.20
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/esm2022/lib/admin/admin-menu.component.mjs +9 -10
- package/esm2022/lib/admin/architecture/cube-axes-filter.component.mjs +11 -11
- package/esm2022/lib/admin/architecture/designer-element.component.mjs +4 -4
- package/esm2022/lib/admin/architecture/designer-privileges.component.mjs +15 -16
- package/esm2022/lib/admin/architecture/designer.component.mjs +16 -15
- package/esm2022/lib/admin/architecture/elements/analysis-view.component.mjs +13 -14
- package/esm2022/lib/admin/architecture/elements/analysis-widget.component.mjs +11 -12
- package/esm2022/lib/admin/architecture/elements/anomaly-rule.component.mjs +4 -5
- package/esm2022/lib/admin/architecture/elements/attribute.component.mjs +10 -11
- package/esm2022/lib/admin/architecture/elements/box-form.component.mjs +11 -12
- package/esm2022/lib/admin/architecture/elements/configuration-datasource.component.mjs +13 -14
- package/esm2022/lib/admin/architecture/elements/cube-index-utility.component.mjs +9 -10
- package/esm2022/lib/admin/architecture/elements/cube-view.component.mjs +11 -12
- package/esm2022/lib/admin/architecture/elements/cube.component.mjs +23 -24
- package/esm2022/lib/admin/architecture/elements/document-state-widget.component.mjs +11 -12
- package/esm2022/lib/admin/architecture/elements/documents-report.component.mjs +10 -11
- package/esm2022/lib/admin/architecture/elements/documents-widget.component.mjs +10 -11
- package/esm2022/lib/admin/architecture/elements/explore-view.component.mjs +10 -11
- package/esm2022/lib/admin/architecture/elements/folder.component.mjs +16 -17
- package/esm2022/lib/admin/architecture/elements/form-invite.dialog.mjs +17 -18
- package/esm2022/lib/admin/architecture/elements/form.component.mjs +22 -23
- package/esm2022/lib/admin/architecture/elements/guide.component.mjs +16 -17
- package/esm2022/lib/admin/architecture/elements/job.component.mjs +12 -13
- package/esm2022/lib/admin/architecture/elements/matrix-view.component.mjs +9 -10
- package/esm2022/lib/admin/architecture/elements/parallel-view.component.mjs +12 -13
- package/esm2022/lib/admin/architecture/elements/performance-report.component.mjs +10 -11
- package/esm2022/lib/admin/architecture/elements/performance-widget.component.mjs +10 -11
- package/esm2022/lib/admin/architecture/elements/pivot-view.component.mjs +10 -11
- package/esm2022/lib/admin/architecture/elements/report.component.mjs +10 -11
- package/esm2022/lib/admin/architecture/elements/return-to-role-action.component.mjs +8 -9
- package/esm2022/lib/admin/architecture/elements/role.component.mjs +13 -14
- package/esm2022/lib/admin/architecture/elements/sum-view.component.mjs +10 -11
- package/esm2022/lib/admin/architecture/elements/tasks-report.component.mjs +13 -13
- package/esm2022/lib/admin/architecture/elements/type.component.mjs +18 -19
- package/esm2022/lib/admin/architecture/elements/usage-report.component.mjs +11 -12
- package/esm2022/lib/admin/architecture/elements/widget.component.mjs +10 -11
- package/esm2022/lib/admin/architecture/icon-picker.component.mjs +7 -8
- package/esm2022/lib/admin/core/color-picker.input.mjs +5 -6
- package/esm2022/lib/admin/core/localized-string.component.mjs +10 -11
- package/esm2022/lib/admin/diff/configuration-diff.component.mjs +11 -11
- package/esm2022/lib/admin/document-trace/document-trace.component.mjs +18 -18
- package/esm2022/lib/admin/document-trace/reassign.dialog.mjs +12 -12
- package/esm2022/lib/admin/document-trace/trace-element.component.mjs +13 -12
- package/esm2022/lib/admin/form/designer/box-designer.component.mjs +24 -60
- package/esm2022/lib/admin/form/designer/declarations.mjs +1 -1
- package/esm2022/lib/admin/form/designer/design-control.component.mjs +41 -0
- package/esm2022/lib/admin/form/designer/properties.component.mjs +11 -12
- package/esm2022/lib/admin/form/designer/section.component.mjs +11 -12
- package/esm2022/lib/admin/form/workflow/node.component.mjs +9 -10
- package/esm2022/lib/admin/form/workflow/role-node.component.mjs +15 -16
- package/esm2022/lib/admin/form/workflow/workflow.component.mjs +3 -3
- package/esm2022/lib/admin/indices/manage-cube-index.component.mjs +13 -13
- package/esm2022/lib/admin/patterns/patterns.component.mjs +19 -19
- package/esm2022/lib/admin/permissions/permissions.component.mjs +14 -15
- package/esm2022/lib/admin/positions/positions-popup.component.mjs +11 -11
- package/esm2022/lib/admin/positions/positions.component.mjs +23 -24
- package/esm2022/lib/admin/profiler/outofoffice.component.mjs +13 -13
- package/esm2022/lib/admin/profiler/profiler.component.mjs +15 -15
- package/esm2022/lib/browse/browse-items.component.mjs +3 -3
- package/esm2022/lib/browse/browse.mobile.component.mjs +15 -16
- package/esm2022/lib/browse/browse.pane.component.mjs +14 -15
- package/esm2022/lib/browse/expanded-item/expanded-item.component.mjs +14 -15
- package/esm2022/lib/browse/filter/filter.component.mjs +13 -13
- package/esm2022/lib/browse/folders-menu.component.mjs +10 -11
- package/esm2022/lib/chat/chat.mobile.component.mjs +5 -6
- package/esm2022/lib/chat/contacts.component.mjs +16 -16
- package/esm2022/lib/chat/conversation.component.mjs +13 -14
- package/esm2022/lib/compose/action/action-picker.component.mjs +9 -10
- package/esm2022/lib/compose/action/action.dialog.mjs +8 -9
- package/esm2022/lib/compose/action/action.pane.dialog.exp.mjs +6 -7
- package/esm2022/lib/compose/action/assign-action.component.mjs +12 -12
- package/esm2022/lib/compose/action/moveto-action.component.mjs +11 -11
- package/esm2022/lib/compose/action/return-action.component.mjs +9 -9
- package/esm2022/lib/compose/attachments/attachments.component.mjs +11 -12
- package/esm2022/lib/compose/attachments/preview/attachment-preview.component.mjs +8 -9
- package/esm2022/lib/compose/box/box.component.mjs +7 -8
- package/esm2022/lib/compose/comments/comment.component.mjs +14 -15
- package/esm2022/lib/compose/comments/comments.component.mjs +8 -9
- package/esm2022/lib/compose/comments/edits.component.mjs +5 -5
- package/esm2022/lib/compose/comments/quick-comment.component.exp.mjs +5 -6
- package/esm2022/lib/compose/comments/votes.component.mjs +8 -8
- package/esm2022/lib/compose/compose.mobile.component.mjs +16 -17
- package/esm2022/lib/compose/compose.pane.component.mjs +15 -16
- package/esm2022/lib/compose/copy/copy.dialog.mjs +11 -11
- package/esm2022/lib/compose/events/events.component.mjs +7 -8
- package/esm2022/lib/compose/form-selector/form-selector.sheet.mjs +7 -8
- package/esm2022/lib/compose/form.component.mjs +5 -5
- package/esm2022/lib/compose/new-menu.component.mjs +8 -9
- package/esm2022/lib/compose/tag/tags.component.mjs +10 -10
- package/esm2022/lib/compose/trace/people.component.mjs +4 -5
- package/esm2022/lib/compose/version-compare/version.pane.component.mjs +10 -11
- package/esm2022/lib/core/animations.mjs +7 -1
- package/esm2022/lib/core/checkbox.mjs +20 -17
- package/esm2022/lib/core/fields/address.field.mjs +35 -26
- package/esm2022/lib/core/fields/autocomplete.field.mjs +68 -52
- package/esm2022/lib/core/fields/checkbox.field.mjs +9 -10
- package/esm2022/lib/core/fields/checklist.designer.mjs +66 -47
- package/esm2022/lib/core/fields/checklist.field.mjs +8 -9
- package/esm2022/lib/core/fields/date-range.field.mjs +6 -6
- package/esm2022/lib/core/fields/date.field.mjs +10 -11
- package/esm2022/lib/core/fields/expression.field.mjs +31 -23
- package/esm2022/lib/core/fields/file.field.mjs +8 -9
- package/esm2022/lib/core/fields/html.field.mjs +9 -10
- package/esm2022/lib/core/fields/input.field.mjs +8 -9
- package/esm2022/lib/core/fields/numeric.field.mjs +7 -7
- package/esm2022/lib/core/fields/options.component.mjs +11 -12
- package/esm2022/lib/core/fields/radio-button.designer.mjs +10 -11
- package/esm2022/lib/core/fields/radio-button.field.mjs +8 -9
- package/esm2022/lib/core/fields/select.designer.mjs +71 -52
- package/esm2022/lib/core/fields/select.field.mjs +9 -10
- package/esm2022/lib/core/fields/signature.field.mjs +10 -11
- package/esm2022/lib/core/fields/switch.field.mjs +8 -9
- package/esm2022/lib/core/fields/tags.field.mjs +9 -10
- package/esm2022/lib/core/fields/textarea.field.mjs +9 -10
- package/esm2022/lib/core/fields/time.field.mjs +9 -10
- package/esm2022/lib/core/fields/timespan.field.mjs +33 -26
- package/esm2022/lib/core/fields/yesno.designer.mjs +70 -55
- package/esm2022/lib/core/fields/yesno.field.mjs +8 -9
- package/esm2022/lib/core/guide/guide.component.mjs +7 -8
- package/esm2022/lib/core/guide/help-tip.component.mjs +21 -18
- package/esm2022/lib/core/identity/identity.component.mjs +5 -6
- package/esm2022/lib/core/inputs/address.input.mjs +24 -21
- package/esm2022/lib/core/inputs/auto-complete.input.mjs +42 -26
- package/esm2022/lib/core/inputs/combination-picker-body.mjs +12 -13
- package/esm2022/lib/core/inputs/combination-picker.mjs +8 -5
- package/esm2022/lib/core/inputs/combination-pool.mjs +7 -8
- package/esm2022/lib/core/inputs/file.input.mjs +11 -12
- package/esm2022/lib/core/inputs/select.input.mjs +39 -23
- package/esm2022/lib/core/inputs/time-picker.mjs +6 -7
- package/esm2022/lib/core/mailbox.service.mjs +1 -1
- package/esm2022/lib/core/models.mjs +1 -1
- package/esm2022/lib/core/none.component.mjs +19 -22
- package/esm2022/lib/core/slots/slots.component.mjs +13 -14
- package/esm2022/lib/core/tagging/documents.component.mjs +7 -7
- package/esm2022/lib/core/tagging/edit-input.component.mjs +12 -13
- package/esm2022/lib/core/tagging/users.component.mjs +7 -7
- package/esm2022/lib/core/translations.mjs +2 -2
- package/esm2022/lib/cube/cube-menu.component.mjs +8 -9
- package/esm2022/lib/cube/explore/explore-items.component.mjs +8 -8
- package/esm2022/lib/cube/filter/filter-tags.component.exp.mjs +6 -7
- package/esm2022/lib/cube/filter/filter.component.mjs +11 -11
- package/esm2022/lib/cube/grid/spreadsheet.component.mjs +1 -2
- package/esm2022/lib/cube/matrix/matrix.mobile.component.mjs +12 -12
- package/esm2022/lib/cube/matrix/matrix.pane.component.mjs +12 -12
- package/esm2022/lib/cube/matrix/popup.component.mjs +10 -10
- package/esm2022/lib/cube/matrix/table.component.mjs +3 -4
- package/esm2022/lib/cube/parallel/parallel.component.mjs +4 -5
- package/esm2022/lib/cube/sum/sum.component.mjs +3 -3
- package/esm2022/lib/cube/view.mobile.component.mjs +16 -17
- package/esm2022/lib/cube/view.pane.component.mjs +12 -13
- package/esm2022/lib/dashboard/dashboard.component.mjs +11 -12
- package/esm2022/lib/dashboard/recents/recents.widget.mjs +11 -12
- package/esm2022/lib/dashboard/score/activity.widget.mjs +4 -5
- package/esm2022/lib/dashboard/score/peers-performance.widget.mjs +5 -5
- package/esm2022/lib/dashboard/score/pending-results.widget.mjs +11 -12
- package/esm2022/lib/dashboard/score/personal-score.widget.mjs +3 -2
- package/esm2022/lib/designer.module.mjs +6 -5
- package/esm2022/lib/home/about/about.dialog.mjs +7 -8
- package/esm2022/lib/home/home.desktop.component.mjs +17 -18
- package/esm2022/lib/home/home.mobile.component.mjs +16 -17
- package/esm2022/lib/home/notifications/notifications.component.mjs +3 -3
- package/esm2022/lib/home/options/options.component.mjs +11 -11
- package/esm2022/lib/home/outofoffice/outofoffice.component.mjs +8 -9
- package/esm2022/lib/home/tools.component.mjs +13 -13
- package/esm2022/lib/impersonate/impersonate.component.mjs +10 -10
- package/esm2022/lib/modules/gantt.module.mjs +4 -2
- package/esm2022/lib/notifications/notifications-table.component.mjs +3 -3
- package/esm2022/lib/notifications/types/commented.notification.mjs +19 -12
- package/esm2022/lib/notifications/types/escalated.notification.mjs +6 -6
- package/esm2022/lib/notifications/types/liked.notification.mjs +19 -12
- package/esm2022/lib/notifications/types/tagged.notification.mjs +9 -9
- package/esm2022/lib/notifications/types/text.notification.mjs +6 -3
- package/esm2022/lib/options/options.component.mjs +52 -28
- package/esm2022/lib/options/options.service.mjs +26 -6
- package/esm2022/lib/reports/cube/table-documents.component.mjs +10 -10
- package/esm2022/lib/reports/report.mobile.component.mjs +12 -13
- package/esm2022/lib/reports/report.pane.component.mjs +10 -11
- package/esm2022/lib/reports/reports-menu.component.mjs +7 -8
- package/esm2022/lib/reports/substitution/substitution.component.mjs +10 -11
- package/esm2022/lib/reports/table/table-view.component.mjs +5 -6
- package/esm2022/lib/search/path.component.mjs +17 -18
- package/esm2022/lib/shared.module.mjs +4 -2
- package/esm2022/lib/system.module.mjs +5 -5
- package/esm2022/lib/views/cube/chart.component.mjs +6 -7
- package/esm2022/lib/views/cube/explore.component.mjs +10 -10
- package/esm2022/lib/views/cube/matrix.component.mjs +11 -11
- package/esm2022/lib/views/cube/parallel.component.mjs +4 -5
- package/esm2022/lib/views/cube/pivot.component.mjs +4 -5
- package/esm2022/lib/views/cube/sum.component.mjs +12 -10
- package/esm2022/lib/views/cube/view.component.mjs +11 -12
- package/esm2022/lib/views/timeline/timeline.component.exp.mjs +191 -192
- package/esm2022/lib/views/views.component.mjs +4 -5
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/bizdoc-core.mjs +3509 -3296
- package/fesm2022/bizdoc-core.mjs.map +1 -1
- package/lib/admin/architecture/elements/analysis-view.component.d.ts +2 -2
- package/lib/admin/architecture/elements/cube-view.component.d.ts +2 -2
- package/lib/admin/architecture/elements/form.component.d.ts +5 -5
- package/lib/admin/architecture/elements/matrix-view.component.d.ts +17 -9
- package/lib/admin/architecture/elements/parallel-view.component.d.ts +5 -5
- package/lib/admin/architecture/elements/tasks-report.component.d.ts +3 -2
- package/lib/admin/form/designer/box-designer.component.d.ts +26 -23
- package/lib/admin/form/designer/declarations.d.ts +2 -2
- package/lib/admin/form/designer/design-control.component.d.ts +19 -0
- package/lib/admin/form/designer/section.component.d.ts +3 -3
- package/lib/compose/attachments/attachments.component.d.ts +2 -2
- package/lib/core/animations.d.ts +1 -0
- package/lib/core/inputs/combination-picker.d.ts +1 -0
- package/lib/core/mailbox.service.d.ts +4 -3
- package/lib/core/models.d.ts +1 -1
- package/lib/cube/matrix/table.component.d.ts +2 -2
- package/lib/dashboard/score/peers-performance.widget.d.ts +1 -1
- package/lib/designer.module.d.ts +27 -26
- package/lib/notifications/types/escalated.notification.d.ts +1 -1
- package/lib/notifications/types/tagged.notification.d.ts +1 -1
- package/lib/notifications/types/text.notification.d.ts +1 -1
- package/lib/options/options.component.d.ts +6 -4
- package/lib/options/options.service.d.ts +7 -2
- package/lib/shared.module.d.ts +1 -1
- package/lib/system.module.d.ts +25 -25
- package/lib/views/cube/sum.component.d.ts +1 -0
- package/lib/views/timeline/timeline.component.exp.d.ts +2 -2
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
@@ -2,15 +2,14 @@ import { Component } from "@angular/core";
|
|
2
2
|
import { Validators } from "@angular/forms";
|
3
3
|
import { DesignerTypeElementComponent } from "../designer.base";
|
4
4
|
import * as i0 from "@angular/core";
|
5
|
-
import * as i1 from "@angular/
|
6
|
-
import * as i2 from "@angular/
|
7
|
-
import * as i3 from "@angular/material/
|
8
|
-
import * as i4 from "@angular/material/
|
9
|
-
import * as i5 from "@angular/material/
|
10
|
-
import * as i6 from "
|
11
|
-
import * as i7 from "
|
12
|
-
import * as i8 from "../../../core/pipes/
|
13
|
-
import * as i9 from "../../../core/pipes/translate.pipe";
|
5
|
+
import * as i1 from "@angular/forms";
|
6
|
+
import * as i2 from "@angular/material/core";
|
7
|
+
import * as i3 from "@angular/material/form-field";
|
8
|
+
import * as i4 from "@angular/material/select";
|
9
|
+
import * as i5 from "@angular/material/input";
|
10
|
+
import * as i6 from "../designer-element.component";
|
11
|
+
import * as i7 from "../../../core/pipes/sort.pipe";
|
12
|
+
import * as i8 from "../../../core/pipes/translate.pipe";
|
14
13
|
export class RoleDesignComponent extends DesignerTypeElementComponent {
|
15
14
|
constructor() {
|
16
15
|
super(...arguments);
|
@@ -23,20 +22,20 @@ export class RoleDesignComponent extends DesignerTypeElementComponent {
|
|
23
22
|
ngOnInit() {
|
24
23
|
if (this.mode !== 'widget') {
|
25
24
|
this.datatypes = super._typegroups;
|
26
|
-
this.mode === 'edit' && this.form.
|
25
|
+
this.mode === 'edit' && this.form.controls.dataType.disable({ emitEvent: false });
|
27
26
|
this.dataTypeDisabled = !this.model.draft;
|
28
27
|
}
|
29
28
|
super.ngOnInit();
|
30
29
|
}
|
31
30
|
enableTypeEdit() {
|
32
31
|
this.dataTypeDisabled = false;
|
33
|
-
this.form.
|
32
|
+
this.form.controls.dataType.enable({ emitEvent: false });
|
34
33
|
}
|
35
34
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: RoleDesignComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
36
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
35
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.1", type: RoleDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<bizdoc-designer-element [form]=\"form\">\n <ng-template bizdocEditContent>\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\n <mat-form-field>\n <mat-label>{{'DataType'|translate}}</mat-label>\n <mat-select formControlName=\"dataType\" required>\n @for (t of datatypes['_'].elements|sort: 'title'; track t) {\n <mat-option [value]=\"t.name\">\n {{t.title}}\n </mat-option>\n }\n @for (g of datatypes|sort: 'title'; track g) {\n <mat-optgroup [label]=\"g.title\">\n @for (t of g.elements|sort: 'title'; track t) {\n <mat-option [value]=\"t.name\">\n {{t.title}}\n </mat-option>\n }\n </mat-optgroup>\n }\n </mat-select>\n @if (dataTypeDisabled) {\n <mat-hint><a (click)=\"enableTypeEdit()\">{{'ChangeValue'|translate}}</a></mat-hint>\n }\n </mat-form-field>\n <mat-form-field>\n <mat-label>{{'SequencePolicy'|translate}}</mat-label>\n <mat-select formControlName=\"sequencePolicy\">\n <mat-option value=\"Higher\">{{'Higher'|translate}}</mat-option>\n <mat-option value=\"Earlier\">{{'Earlier'|translate}}</mat-option>\n <mat-option value=\"Strict\">{{'Strict'|translate}}</mat-option>\n </mat-select>\n </mat-form-field>\n <mat-form-field>\n <mat-label>{{'Priority'|translate}}</mat-label>\n <input matInput type=\"number\" formControlName=\"priority\" />\n </mat-form-field>\n </form>\n </ng-template>\n</bizdoc-designer-element>\n", dependencies: [{ kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.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: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { 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.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { 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: i2.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: i2.MatOptgroup, selector: "mat-optgroup", inputs: ["label", "disabled"], exportAs: ["matOptgroup"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "component", type: i4.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"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i6.EditContentDirective, selector: "[bizdocEditContent]" }, { kind: "component", type: i6.DesignerItemComponent, selector: "bizdoc-designer-element", inputs: ["privileges", "icon", "form", "view", "context"], outputs: ["continue", "back", "save"] }, { kind: "pipe", type: i7.ArraySortPipe, name: "sort" }, { kind: "pipe", type: i8.TranslatePipe, name: "translate" }] }); }
|
37
36
|
}
|
38
37
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: RoleDesignComponent, decorators: [{
|
39
38
|
type: Component,
|
40
|
-
args: [{ template: "<bizdoc-designer-element [form]=\"form\">\
|
39
|
+
args: [{ template: "<bizdoc-designer-element [form]=\"form\">\n <ng-template bizdocEditContent>\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\n <mat-form-field>\n <mat-label>{{'DataType'|translate}}</mat-label>\n <mat-select formControlName=\"dataType\" required>\n @for (t of datatypes['_'].elements|sort: 'title'; track t) {\n <mat-option [value]=\"t.name\">\n {{t.title}}\n </mat-option>\n }\n @for (g of datatypes|sort: 'title'; track g) {\n <mat-optgroup [label]=\"g.title\">\n @for (t of g.elements|sort: 'title'; track t) {\n <mat-option [value]=\"t.name\">\n {{t.title}}\n </mat-option>\n }\n </mat-optgroup>\n }\n </mat-select>\n @if (dataTypeDisabled) {\n <mat-hint><a (click)=\"enableTypeEdit()\">{{'ChangeValue'|translate}}</a></mat-hint>\n }\n </mat-form-field>\n <mat-form-field>\n <mat-label>{{'SequencePolicy'|translate}}</mat-label>\n <mat-select formControlName=\"sequencePolicy\">\n <mat-option value=\"Higher\">{{'Higher'|translate}}</mat-option>\n <mat-option value=\"Earlier\">{{'Earlier'|translate}}</mat-option>\n <mat-option value=\"Strict\">{{'Strict'|translate}}</mat-option>\n </mat-select>\n </mat-form-field>\n <mat-form-field>\n <mat-label>{{'Priority'|translate}}</mat-label>\n <input matInput type=\"number\" formControlName=\"priority\" />\n </mat-form-field>\n </form>\n </ng-template>\n</bizdoc-designer-element>\n" }]
|
41
40
|
}] });
|
42
|
-
//# sourceMappingURL=data:application/json;base64,
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm9sZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2FkbWluL2FyY2hpdGVjdHVyZS9lbGVtZW50cy9yb2xlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvYWRtaW4vYXJjaGl0ZWN0dXJlL2VsZW1lbnRzL3JvbGUuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMxQyxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFNUMsT0FBTyxFQUFFLDRCQUE0QixFQUFFLE1BQU0sa0JBQWtCLENBQUM7Ozs7Ozs7Ozs7QUFHaEUsTUFBTSxPQUFPLG1CQUFvQixTQUFRLDRCQUE0QjtJQURyRTs7UUFFVyxTQUFJLEdBQUcsSUFBSSxDQUFDLEdBQUcsQ0FBQyxLQUFLLENBQUM7WUFDN0IsUUFBUSxFQUFFLElBQUksQ0FBQyxHQUFHLENBQUMsT0FBTyxDQUFDLElBQUksRUFBRSxVQUFVLENBQUMsUUFBUSxDQUFDO1lBQ3JELFFBQVEsRUFBRSxJQUFJO1lBQ2QsY0FBYyxFQUFFLElBQUk7U0FDckIsQ0FBQyxDQUFDO0tBZUo7SUFaQyxRQUFRO1FBQ04sSUFBSSxJQUFJLENBQUMsSUFBSSxLQUFLLFFBQVEsRUFBRSxDQUFDO1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lwZUVkaXQoKVwiPnt7J0NoYW5nZVZhbHVlJ3x0cmFuc2xhdGV9fTwvYT48L21hdC1oaW50PlxuICAgICAgICB9XG4gICAgICA8L21hdC1mb3JtLWZpZWxkPlxuICAgICAgPG1hdC1mb3JtLWZpZWxkPlxuICAgICAgICA8bWF0LWxhYmVsPnt7J1NlcXVlbmNlUG9saWN5J3x0cmFuc2xhdGV9fTwvbWF0LWxhYmVsPlxuICAgICAgICA8bWF0LXNlbGVjdCBmb3JtQ29udHJvbE5hbWU9XCJzZXF1ZW5jZVBvbGljeVwiPlxuICAgICAgICAgIDxtYXQtb3B0aW9uIHZhbHVlPVwiSGlnaGVyXCI+e3snSGlnaGVyJ3x0cmFuc2xhdGV9fTwvbWF0LW9wdGlvbj5cbiAgICAgICAgICA8bWF0LW9wdGlvbiB2YWx1ZT1cIkVhcmxpZXJcIj57eydFYXJsaWVyJ3x0cmFuc2xhdGV9fTwvbWF0LW9wdGlvbj5cbiAgICAgICAgICA8bWF0LW9wdGlvbiB2YWx1ZT1cIlN0cmljdFwiPnt7J1N0cmljdCd8dHJhbnNsYXRlfX08L21hdC1vcHRpb24+XG4gICAgICAgIDwvbWF0LXNlbGVjdD5cbiAgICAgIDwvbWF0LWZvcm0tZmllbGQ+XG4gICAgICA8bWF0LWZvcm0tZmllbGQ+XG4gICAgICAgIDxtYXQtbGFiZWw+e3snUHJpb3JpdHknfHRyYW5zbGF0ZX19PC9tYXQtbGFiZWw+XG4gICAgICAgIDxpbnB1dCBtYXRJbnB1dCB0eXBlPVwibnVtYmVyXCIgZm9ybUNvbnRyb2xOYW1lPVwicHJpb3JpdHlcIiAvPlxuICAgICAgPC9tYXQtZm9ybS1maWVsZD5cbiAgICA8L2Zvcm0+XG4gIDwvbmctdGVtcGxhdGU+XG48L2JpemRvYy1kZXNpZ25lci1lbGVtZW50PlxuIl19
|
@@ -4,14 +4,13 @@ import { Validators } from "@angular/forms";
|
|
4
4
|
import { BizDoc } from "../../../core/decorators";
|
5
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 "@angular/
|
9
|
-
import * as i3 from "@angular/material/
|
10
|
-
import * as i4 from "@angular/material/
|
11
|
-
import * as i5 from "
|
12
|
-
import * as i6 from "
|
13
|
-
import * as i7 from "../../../core/pipes/
|
14
|
-
import * as i8 from "../../../core/pipes/translate.pipe";
|
7
|
+
import * as i1 from "@angular/forms";
|
8
|
+
import * as i2 from "@angular/material/core";
|
9
|
+
import * as i3 from "@angular/material/form-field";
|
10
|
+
import * as i4 from "@angular/material/select";
|
11
|
+
import * as i5 from "../cube-axes-filter.component";
|
12
|
+
import * as i6 from "../../../core/pipes/localized-string.pipe";
|
13
|
+
import * as i7 from "../../../core/pipes/translate.pipe";
|
15
14
|
let SumViewDesignComponent = class SumViewDesignComponent extends DesignerCubeElementComponent {
|
16
15
|
constructor() {
|
17
16
|
super(...arguments);
|
@@ -26,7 +25,7 @@ let SumViewDesignComponent = class SumViewDesignComponent extends DesignerCubeEl
|
|
26
25
|
});
|
27
26
|
}
|
28
27
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: SumViewDesignComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
29
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
28
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.1", type: SumViewDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "@if (mode !== 'widget') {\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\n @if (cubes.length > 1) {\n <mat-form-field>\n <mat-label>{{'Cube'|translate}}</mat-label>\n <mat-select required formControlName=\"cube\" (selectionChange)=\"cubeSelected($event)\">\n @for (c of cubes; track c) {\n <mat-option [value]=\"c.name\">{{c.title|localizedString}}</mat-option>\n }\n </mat-select>\n </mat-form-field>\n }\n <div class=\"row\">\n <mat-form-field class=\"flex\">\n <mat-label>{{'XAxis'|translate}}</mat-label>\n <mat-select formControlName=\"xAxis\" required>\n @for (a of cube?.axes; track a) {\n <mat-option [value]=\"a.name\">{{a.title }}</mat-option>\n }\n </mat-select>\n @if (form.controls.xAxis.hasError('required')) {\n <mat-error [innerHTML]=\"'RequiredErr'|translate:('XAxis'|translate)\"></mat-error>\n }\n </mat-form-field>\n \n <mat-form-field class=\"flex\">\n <mat-label>{{'Series'|translate}}</mat-label>\n <mat-select formControlName=\"series\" required>\n @for (a of cube?.axes; track a) {\n @if (form.controls.xAxis.value !== a.name) {\n <mat-option [value]=\"a.name\">{{a.title }}</mat-option>\n }\n }\n </mat-select>\n @if (form.controls.series.hasError('required')) {\n <mat-error [innerHTML]=\"'RequiredErr'|translate:('Series'|translate)\"></mat-error>\n }\n </mat-form-field>\n </div>\n @if (cube?.indices?.length) {\n <mat-form-field>\n <mat-label>{{'Indices'|translate}}</mat-label>\n <mat-select formControlName=\"indices\" multiple>\n @for (x of cube.indices; track x) {\n <mat-option [value]=\"x.name\">{{x.title}}</mat-option>\n }\n </mat-select>\n </mat-form-field>\n }\n <mat-form-field>\n <mat-label>{{'Aggregate'|translate}}</mat-label>\n <mat-select formControlName=\"aggregate\" multiple>\n @for (a of cube?.axes; track a) {\n @if (form.controls.xAxis.value !== a.name && form.controls.series.value !== a.name) {\n <mat-option [value]=\"a.name\">{{a.title }}</mat-option>\n }\n }\n </mat-select>\n </mat-form-field>\n @if (cube) {\n <bizdoc-designer-cube-filter [cube]=\"cube\" [form]=\"form.controls.filters\"></bizdoc-designer-cube-filter>\n }\n </form>\n <div>\n <!--<bizdoc-cube-sum *ngIf=\"options.xAxis\" [xAxis]=\"options.xAxis\"\n [filters]=\"options.filters || {}\"\n [parentAxis]=\"options.series\"\n [scope]=\"options.scope\"\n [periodPolicy]=\"options.periodPolicy\"\n [indices]=\"options.indices\"\n [cube]=\"cube.name\"></bizdoc-cube-sum>-->\n</div>\n}\n", dependencies: [{ 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.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { 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: i2.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: i4.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"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i5.DesignerCubeFilterComponent, selector: "bizdoc-designer-cube-filter", inputs: ["cube", "form"] }, { kind: "pipe", type: i6.LocalizedStringPipe, name: "localizedString" }, { kind: "pipe", type: i7.TranslatePipe, name: "translate" }] }); }
|
30
29
|
};
|
31
30
|
SumViewDesignComponent = __decorate([
|
32
31
|
BizDoc({ selector: 'period-view-designer' })
|
@@ -34,6 +33,6 @@ SumViewDesignComponent = __decorate([
|
|
34
33
|
export { SumViewDesignComponent };
|
35
34
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: SumViewDesignComponent, decorators: [{
|
36
35
|
type: Component,
|
37
|
-
args: [{ template: "
|
36
|
+
args: [{ template: "@if (mode !== 'widget') {\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\n @if (cubes.length > 1) {\n <mat-form-field>\n <mat-label>{{'Cube'|translate}}</mat-label>\n <mat-select required formControlName=\"cube\" (selectionChange)=\"cubeSelected($event)\">\n @for (c of cubes; track c) {\n <mat-option [value]=\"c.name\">{{c.title|localizedString}}</mat-option>\n }\n </mat-select>\n </mat-form-field>\n }\n <div class=\"row\">\n <mat-form-field class=\"flex\">\n <mat-label>{{'XAxis'|translate}}</mat-label>\n <mat-select formControlName=\"xAxis\" required>\n @for (a of cube?.axes; track a) {\n <mat-option [value]=\"a.name\">{{a.title }}</mat-option>\n }\n </mat-select>\n @if (form.controls.xAxis.hasError('required')) {\n <mat-error [innerHTML]=\"'RequiredErr'|translate:('XAxis'|translate)\"></mat-error>\n }\n </mat-form-field>\n \n <mat-form-field class=\"flex\">\n <mat-label>{{'Series'|translate}}</mat-label>\n <mat-select formControlName=\"series\" required>\n @for (a of cube?.axes; track a) {\n @if (form.controls.xAxis.value !== a.name) {\n <mat-option [value]=\"a.name\">{{a.title }}</mat-option>\n }\n }\n </mat-select>\n @if (form.controls.series.hasError('required')) {\n <mat-error [innerHTML]=\"'RequiredErr'|translate:('Series'|translate)\"></mat-error>\n }\n </mat-form-field>\n </div>\n @if (cube?.indices?.length) {\n <mat-form-field>\n <mat-label>{{'Indices'|translate}}</mat-label>\n <mat-select formControlName=\"indices\" multiple>\n @for (x of cube.indices; track x) {\n <mat-option [value]=\"x.name\">{{x.title}}</mat-option>\n }\n </mat-select>\n </mat-form-field>\n }\n <mat-form-field>\n <mat-label>{{'Aggregate'|translate}}</mat-label>\n <mat-select formControlName=\"aggregate\" multiple>\n @for (a of cube?.axes; track a) {\n @if (form.controls.xAxis.value !== a.name && form.controls.series.value !== a.name) {\n <mat-option [value]=\"a.name\">{{a.title }}</mat-option>\n }\n }\n </mat-select>\n </mat-form-field>\n @if (cube) {\n <bizdoc-designer-cube-filter [cube]=\"cube\" [form]=\"form.controls.filters\"></bizdoc-designer-cube-filter>\n }\n </form>\n <div>\n <!--<bizdoc-cube-sum *ngIf=\"options.xAxis\" [xAxis]=\"options.xAxis\"\n [filters]=\"options.filters || {}\"\n [parentAxis]=\"options.series\"\n [scope]=\"options.scope\"\n [periodPolicy]=\"options.periodPolicy\"\n [indices]=\"options.indices\"\n [cube]=\"cube.name\"></bizdoc-cube-sum>-->\n</div>\n}\n" }]
|
38
37
|
}] });
|
39
|
-
//# sourceMappingURL=data:application/json;base64,
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3VtLXZpZXcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9hZG1pbi9hcmNoaXRlY3R1cmUvZWxlbWVudHMvc3VtLXZpZXcuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9hZG1pbi9hcmNoaXRlY3R1cmUvZWxlbWVudHMvc3VtLXZpZXcuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDbEQsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FB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iAgICBbcGFyZW50QXhpc109XCJvcHRpb25zLnNlcmllc1wiXG4gICAgW3Njb3BlXT1cIm9wdGlvbnMuc2NvcGVcIlxuICAgIFtwZXJpb2RQb2xpY3ldPVwib3B0aW9ucy5wZXJpb2RQb2xpY3lcIlxuICAgIFtpbmRpY2VzXT1cIm9wdGlvbnMuaW5kaWNlc1wiXG4gIFtjdWJlXT1cImN1YmUubmFtZVwiPjwvYml6ZG9jLWN1YmUtc3VtPi0tPlxuPC9kaXY+XG59XG4iXX0=
|
@@ -3,21 +3,21 @@ import { Component } from "@angular/core";
|
|
3
3
|
import { BizDoc } from "../../../core/decorators";
|
4
4
|
import { DesignerCubeElementComponent } from "../designer.base";
|
5
5
|
import * as i0 from "@angular/core";
|
6
|
-
import * as i1 from "@angular/
|
7
|
-
import * as i2 from "@angular/
|
8
|
-
import * as i3 from "@angular/material/
|
9
|
-
import * as i4 from "@angular/material/
|
10
|
-
import * as i5 from "
|
11
|
-
import * as i6 from "
|
12
|
-
import * as i7 from "../../../core/pipes/
|
13
|
-
import * as i8 from "../../../core/pipes/translate.pipe";
|
6
|
+
import * as i1 from "@angular/forms";
|
7
|
+
import * as i2 from "@angular/material/core";
|
8
|
+
import * as i3 from "@angular/material/form-field";
|
9
|
+
import * as i4 from "@angular/material/select";
|
10
|
+
import * as i5 from "../cube-axes-filter.component";
|
11
|
+
import * as i6 from "../../../core/pipes/localized-string.pipe";
|
12
|
+
import * as i7 from "../../../core/pipes/translate.pipe";
|
14
13
|
let TasksReportDesignComponent = class TasksReportDesignComponent extends DesignerCubeElementComponent {
|
15
14
|
constructor() {
|
16
15
|
super(...arguments);
|
17
16
|
this.form = this._fb.group({
|
18
17
|
cube: null,
|
19
|
-
axes: null,
|
20
|
-
states: null,
|
18
|
+
axes: this._fb.control(null),
|
19
|
+
states: this._fb.control(null),
|
20
|
+
filters: this._fb.group({}),
|
21
21
|
scope: null
|
22
22
|
});
|
23
23
|
}
|
@@ -26,7 +26,7 @@ let TasksReportDesignComponent = class TasksReportDesignComponent extends Design
|
|
26
26
|
super.ngOnInit();
|
27
27
|
}
|
28
28
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: TasksReportDesignComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
29
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
29
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.1", type: TasksReportDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "@if (mode === 'widget') {\n} @else {\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\n @if (cubes.length>1) {\n <mat-form-field>\n <mat-label>{{'Cube'|translate}}</mat-label>\n <mat-select required formControlName=\"cube\" (selectionChange)=\"cubeSelected($event)\">\n <mat-option>{{'Default'|translate}}</mat-option>\n @for (c of cubes; track c) {\n <mat-option [value]=\"c.name\">{{c.title|localizedString}}</mat-option>\n }\n </mat-select>\n </mat-form-field>\n }\n <mat-form-field>\n <mat-label>{{'XAxis'|translate}}</mat-label>\n <mat-select formControlName=\"axes\" required multiple>\n @for (a of cube?.axes; track a) {\n <mat-option [value]=\"a.name\">{{a.title }}</mat-option>\n }\n </mat-select>\n @if (form.controls.axes.hasError('required')) {\n <mat-error [innerHTML]=\"'RequiredErr'|translate:('XAxis'|translate)\"></mat-error>\n }\n </mat-form-field>\n <mat-form-field>\n <mat-label>{{'States'|translate}}</mat-label>\n <mat-select formControlName=\"states\" multiple>\n @for (s of states; track s) {\n <mat-option [value]=\"s.name\" multiple>{{s.title }}</mat-option>\n }\n </mat-select>\n </mat-form-field>\n @if (cube) {\n <bizdoc-designer-cube-filter [cube]=\"cube\" [form]=\"form.controls.filters\"></bizdoc-designer-cube-filter>\n }\n </form>\n}\n", dependencies: [{ 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.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { 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: i2.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: i4.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"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i5.DesignerCubeFilterComponent, selector: "bizdoc-designer-cube-filter", inputs: ["cube", "form"] }, { kind: "pipe", type: i6.LocalizedStringPipe, name: "localizedString" }, { kind: "pipe", type: i7.TranslatePipe, name: "translate" }] }); }
|
30
30
|
};
|
31
31
|
TasksReportDesignComponent = __decorate([
|
32
32
|
BizDoc({ selector: 'tasks-report-designer' })
|
@@ -34,6 +34,6 @@ TasksReportDesignComponent = __decorate([
|
|
34
34
|
export { TasksReportDesignComponent };
|
35
35
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: TasksReportDesignComponent, decorators: [{
|
36
36
|
type: Component,
|
37
|
-
args: [{ template: "
|
37
|
+
args: [{ template: "@if (mode === 'widget') {\n} @else {\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\n @if (cubes.length>1) {\n <mat-form-field>\n <mat-label>{{'Cube'|translate}}</mat-label>\n <mat-select required formControlName=\"cube\" (selectionChange)=\"cubeSelected($event)\">\n <mat-option>{{'Default'|translate}}</mat-option>\n @for (c of cubes; track c) {\n <mat-option [value]=\"c.name\">{{c.title|localizedString}}</mat-option>\n }\n </mat-select>\n </mat-form-field>\n }\n <mat-form-field>\n <mat-label>{{'XAxis'|translate}}</mat-label>\n <mat-select formControlName=\"axes\" required multiple>\n @for (a of cube?.axes; track a) {\n <mat-option [value]=\"a.name\">{{a.title }}</mat-option>\n }\n </mat-select>\n @if (form.controls.axes.hasError('required')) {\n <mat-error [innerHTML]=\"'RequiredErr'|translate:('XAxis'|translate)\"></mat-error>\n }\n </mat-form-field>\n <mat-form-field>\n <mat-label>{{'States'|translate}}</mat-label>\n <mat-select formControlName=\"states\" multiple>\n @for (s of states; track s) {\n <mat-option [value]=\"s.name\" multiple>{{s.title }}</mat-option>\n }\n </mat-select>\n </mat-form-field>\n @if (cube) {\n <bizdoc-designer-cube-filter [cube]=\"cube\" [form]=\"form.controls.filters\"></bizdoc-designer-cube-filter>\n }\n </form>\n}\n" }]
|
38
38
|
}] });
|
39
|
-
//# sourceMappingURL=data:application/json;base64,
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFza3MtcmVwb3J0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3J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