@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
@@ -4,13 +4,12 @@ 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 "../../../core/pipes/
|
13
|
-
import * as i7 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 "../../../core/pipes/localized-string.pipe";
|
12
|
+
import * as i6 from "../../../core/pipes/translate.pipe";
|
14
13
|
let CubeIndexDesignComponent = class CubeIndexDesignComponent extends DesignerCubeElementComponent {
|
15
14
|
constructor() {
|
16
15
|
super(...arguments);
|
@@ -20,7 +19,7 @@ let CubeIndexDesignComponent = class CubeIndexDesignComponent extends DesignerCu
|
|
20
19
|
});
|
21
20
|
}
|
22
21
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: CubeIndexDesignComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
23
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.1", type: CubeIndexDesignComponent, 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 @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>{{'Index'|translate}}</mat-label>\n <mat-select formControlName=\"index\">\n @for (i of cube?.indices; track i) {\n <mat-option [value]=\"i.name\">{{i.title || i.name}}</mat-option>\n }\n </mat-select>\n </mat-form-field>\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: "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: "pipe", type: i5.LocalizedStringPipe, name: "localizedString" }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] }); }
|
24
23
|
};
|
25
24
|
CubeIndexDesignComponent = __decorate([
|
26
25
|
BizDoc({ selector: 'cube-index-designer' })
|
@@ -28,6 +27,6 @@ CubeIndexDesignComponent = __decorate([
|
|
28
27
|
export { CubeIndexDesignComponent };
|
29
28
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: CubeIndexDesignComponent, decorators: [{
|
30
29
|
type: Component,
|
31
|
-
args: [{ template: "
|
30
|
+
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 @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>{{'Index'|translate}}</mat-label>\n <mat-select formControlName=\"index\">\n @for (i of cube?.indices; track i) {\n <mat-option [value]=\"i.name\">{{i.title || i.name}}</mat-option>\n }\n </mat-select>\n </mat-form-field>\n </form>\n}\n" }]
|
32
31
|
}] });
|
33
|
-
//# sourceMappingURL=data:application/json;base64,
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3ViZS1pbmRleC11dGlsaXR5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvYWRtaW4vYXJjaGl0ZWN0dXJlL2VsZW1lbnRzL2N1YmUtaW5kZXgtdXRpbGl0eS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZ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Ryb2xOYW1lPVwiY3ViZVwiIChzZWxlY3Rpb25DaGFuZ2UpPVwiY3ViZVNlbGVjdGVkKCRldmVudClcIj5cbiAgICAgICAgICBAZm9yIChjIG9mIGN1YmVzOyB0cmFjayBjKSB7XG4gICAgICAgICAgICA8bWF0LW9wdGlvbiBbdmFsdWVdPVwiYy5uYW1lXCI+e3tjLnRpdGxlfGxvY2FsaXplZFN0cmluZ319PC9tYXQtb3B0aW9uPlxuICAgICAgICAgIH1cbiAgICAgICAgPC9tYXQtc2VsZWN0PlxuICAgICAgPC9tYXQtZm9ybS1maWVsZD5cbiAgICB9XG4gICAgPG1hdC1mb3JtLWZpZWxkPlxuICAgICAgPG1hdC1sYWJlbD57eydJbmRleCd8dHJhbnNsYXRlfX08L21hdC1sYWJlbD5cbiAgICAgIDxtYXQtc2VsZWN0IGZvcm1Db250cm9sTmFtZT1cImluZGV4XCI+XG4gICAgICAgIEBmb3IgKGkgb2YgY3ViZT8uaW5kaWNlczsgdHJhY2sgaSkge1xuICAgICAgICAgIDxtYXQtb3B0aW9uIFt2YWx1ZV09XCJpLm5hbWVcIj57e2kudGl0bGUgfHwgaS5uYW1lfX08L21hdC1vcHRpb24+XG4gICAgICAgIH1cbiAgICAgIDwvbWF0LXNlbGVjdD5cbiAgICA8L21hdC1mb3JtLWZpZWxkPlxuICA8L2Zvcm0+XG59XG4iXX0=
|
@@ -4,25 +4,24 @@ 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 "../../../core/pipes/
|
13
|
-
import * as i7 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 "../../../core/pipes/localized-string.pipe";
|
12
|
+
import * as i6 from "../../../core/pipes/translate.pipe";
|
14
13
|
let CubeViewDesignComponent = class CubeViewDesignComponent extends DesignerCubeElementComponent {
|
15
14
|
constructor() {
|
16
15
|
super(...arguments);
|
17
16
|
this.form = this._fb.group({
|
18
17
|
cube: null,
|
19
18
|
view: this._fb.control(null, Validators.required),
|
20
|
-
aggregate: null,
|
21
|
-
filters: null,
|
19
|
+
aggregate: this._fb.control(null),
|
20
|
+
filters: this._fb.control(null),
|
22
21
|
});
|
23
22
|
}
|
24
23
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: CubeViewDesignComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
25
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
24
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.1", type: CubeViewDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "@if (mode === 'widget') {\n <div>\n </div>\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 @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>{{'Filters'|translate}}</mat-label>\n <mat-select formControlName=\"filters\" multiple>\n @for (a of cube?.axes; track a) {\n <mat-option [value]=\"a.name\">{{a.title }}</mat-option>\n }\n </mat-select>\n </mat-form-field>\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.filters.value?.indexOf(a.name) < 0) {\n <mat-option [value]=\"a.name\">{{a.title }}</mat-option>\n }\n }\n </mat-select>\n <mat-hint></mat-hint>\n </mat-form-field>\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.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: "pipe", type: i5.LocalizedStringPipe, name: "localizedString" }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] }); }
|
26
25
|
};
|
27
26
|
CubeViewDesignComponent = __decorate([
|
28
27
|
BizDoc({ selector: 'cube-view-designer' })
|
@@ -30,6 +29,6 @@ CubeViewDesignComponent = __decorate([
|
|
30
29
|
export { CubeViewDesignComponent };
|
31
30
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: CubeViewDesignComponent, decorators: [{
|
32
31
|
type: Component,
|
33
|
-
args: [{ template: "
|
32
|
+
args: [{ template: "@if (mode === 'widget') {\n <div>\n </div>\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 @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>{{'Filters'|translate}}</mat-label>\n <mat-select formControlName=\"filters\" multiple>\n @for (a of cube?.axes; track a) {\n <mat-option [value]=\"a.name\">{{a.title }}</mat-option>\n }\n </mat-select>\n </mat-form-field>\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.filters.value?.indexOf(a.name) < 0) {\n <mat-option [value]=\"a.name\">{{a.title }}</mat-option>\n }\n }\n </mat-select>\n <mat-hint></mat-hint>\n </mat-form-field>\n </form>\n}\n" }]
|
34
33
|
}] });
|
35
|
-
//# sourceMappingURL=data:application/json;base64,
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3ViZS12aWV3LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjp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