@bizdoc/core 1.16.2 → 1.16.5

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.
Files changed (79) hide show
  1. package/assets/system/Microsoft_Azure.svg +23 -0
  2. package/assets/system/QAD.svg +359 -0
  3. package/assets/system/sap.svg +1 -0
  4. package/esm2020/lib/admin/configuration-designer/cube-axes-filter.component.mjs +112 -0
  5. package/esm2020/lib/admin/configuration-designer/designer-element.component.mjs +138 -37
  6. package/esm2020/lib/admin/configuration-designer/designer.base.mjs +30 -27
  7. package/esm2020/lib/admin/configuration-designer/designer.component.mjs +34 -24
  8. package/esm2020/lib/admin/configuration-designer/elements/action.component.mjs +33 -7
  9. package/esm2020/lib/admin/configuration-designer/elements/analysis-view.component.mjs +5 -4
  10. package/esm2020/lib/admin/configuration-designer/elements/analysis-widget.component.mjs +4 -4
  11. package/esm2020/lib/admin/configuration-designer/elements/anomaly-rule.component.mjs +5 -5
  12. package/esm2020/lib/admin/configuration-designer/elements/box-form.component.mjs +5 -5
  13. package/esm2020/lib/admin/configuration-designer/elements/configuration-datasource.component.mjs +5 -5
  14. package/esm2020/lib/admin/configuration-designer/elements/cube-index-utility.component.mjs +3 -3
  15. package/esm2020/lib/admin/configuration-designer/elements/cube-view.component.mjs +3 -3
  16. package/esm2020/lib/admin/configuration-designer/elements/cube.component.mjs +13 -18
  17. package/esm2020/lib/admin/configuration-designer/elements/documents-report.component.mjs +3 -3
  18. package/esm2020/lib/admin/configuration-designer/elements/documents-widget.component.mjs +3 -3
  19. package/esm2020/lib/admin/configuration-designer/elements/explore-view.component.mjs +3 -3
  20. package/esm2020/lib/admin/configuration-designer/elements/folder.component.mjs +34 -9
  21. package/esm2020/lib/admin/configuration-designer/elements/form.component.mjs +16 -16
  22. package/esm2020/lib/admin/configuration-designer/elements/guide.component.mjs +5 -9
  23. package/esm2020/lib/admin/configuration-designer/elements/matrix-view.component.mjs +5 -4
  24. package/esm2020/lib/admin/configuration-designer/elements/parallel-view.component.mjs +4 -4
  25. package/esm2020/lib/admin/configuration-designer/elements/performance-widget.component.mjs +3 -3
  26. package/esm2020/lib/admin/configuration-designer/elements/pivot-view.component.mjs +4 -4
  27. package/esm2020/lib/admin/configuration-designer/elements/report.component.mjs +10 -9
  28. package/esm2020/lib/admin/configuration-designer/elements/return-to-role-action.component.mjs +5 -5
  29. package/esm2020/lib/admin/configuration-designer/elements/role.component.mjs +11 -4
  30. package/esm2020/lib/admin/configuration-designer/elements/rule.component.mjs +3 -4
  31. package/esm2020/lib/admin/configuration-designer/elements/state.component.mjs +19 -7
  32. package/esm2020/lib/admin/configuration-designer/elements/sum-view.component.mjs +4 -4
  33. package/esm2020/lib/admin/configuration-designer/elements/tasks-report.component.mjs +3 -3
  34. package/esm2020/lib/admin/configuration-designer/elements/type.component.mjs +4 -5
  35. package/esm2020/lib/admin/configuration-designer/elements/usage-report.component.mjs +4 -4
  36. package/esm2020/lib/admin/configuration-designer/elements/utility.component.mjs +4 -11
  37. package/esm2020/lib/admin/configuration-designer/elements/view.component.mjs +3 -10
  38. package/esm2020/lib/admin/configuration-designer/elements/widget.component.mjs +11 -9
  39. package/esm2020/lib/admin/configuration-designer/icon-picker.component.mjs +11 -9
  40. package/esm2020/lib/admin/document-trace/document-trace.component.mjs +3 -3
  41. package/esm2020/lib/bizdoc.module.mjs +1 -3
  42. package/esm2020/lib/core/layout/input.field.mjs +3 -2
  43. package/esm2020/lib/core/models.mjs +1 -1
  44. package/esm2020/lib/core/translations.mjs +8 -2
  45. package/esm2020/lib/shared.module.mjs +3 -1
  46. package/esm2020/lib/system.module.mjs +10 -10
  47. package/esm2020/lib/views/cube/sum.component.mjs +1 -1
  48. package/esm2020/public-api.mjs +1 -1
  49. package/fesm2015/bizdoc-core.mjs +647 -450
  50. package/fesm2015/bizdoc-core.mjs.map +1 -1
  51. package/fesm2020/bizdoc-core.mjs +644 -447
  52. package/fesm2020/bizdoc-core.mjs.map +1 -1
  53. package/lib/admin/configuration-designer/cube-axes-filter.component.d.ts +35 -0
  54. package/lib/admin/configuration-designer/designer-element.component.d.ts +23 -12
  55. package/lib/admin/configuration-designer/designer.base.d.ts +40 -16
  56. package/lib/admin/configuration-designer/designer.component.d.ts +2 -1
  57. package/lib/admin/configuration-designer/elements/action.component.d.ts +15 -1
  58. package/lib/admin/configuration-designer/elements/anomaly-rule.component.d.ts +2 -2
  59. package/lib/admin/configuration-designer/elements/box-form.component.d.ts +2 -2
  60. package/lib/admin/configuration-designer/elements/configuration-datasource.component.d.ts +2 -2
  61. package/lib/admin/configuration-designer/elements/folder.component.d.ts +11 -1
  62. package/lib/admin/configuration-designer/elements/form.component.d.ts +3 -1
  63. package/lib/admin/configuration-designer/elements/report.component.d.ts +3 -1
  64. package/lib/admin/configuration-designer/elements/return-to-role-action.component.d.ts +2 -2
  65. package/lib/admin/configuration-designer/elements/role.component.d.ts +2 -0
  66. package/lib/admin/configuration-designer/elements/state.component.d.ts +4 -0
  67. package/lib/admin/configuration-designer/elements/utility.component.d.ts +0 -1
  68. package/lib/admin/configuration-designer/elements/view.component.d.ts +0 -1
  69. package/lib/admin/configuration-designer/elements/widget.component.d.ts +5 -2
  70. package/lib/admin/configuration-designer/icon-picker.component.d.ts +2 -1
  71. package/lib/core/layout/input.field.d.ts +1 -1
  72. package/lib/core/models.d.ts +5 -4
  73. package/lib/core/translations.d.ts +6 -0
  74. package/lib/system.module.d.ts +41 -41
  75. package/lib/views/cube/sum.component.d.ts +3 -3
  76. package/package.json +1 -1
  77. package/public-api.d.ts +1 -1
  78. package/esm2020/lib/admin/configuration-designer/privileges.component.mjs +0 -60
  79. package/lib/admin/configuration-designer/privileges.component.d.ts +0 -26
package/public-api.d.ts CHANGED
@@ -46,7 +46,7 @@ export { IdentityName } from './lib/core/identity/identity.component';
46
46
  export { ArraySortPipe, FilterPipe } from './lib/core/pipes/sort.pipe';
47
47
  export { TranslatePipe } from "./lib/core/pipes/translate.pipe";
48
48
  export { FormPipe } from './lib/core/pipes/form.pipe';
49
- export { DesignerRef, DesignerInfo, ElementInfo, programName } from './lib/admin/configuration-designer/designer.base';
49
+ export { DesignerElementComponent, DesignMode, DesignerRef, DesignerInfo, ElementInfo, programName } from './lib/admin/configuration-designer/designer.base';
50
50
  export { RolePipe } from './lib/core/pipes/role.pipe';
51
51
  export { JoinPipe } from "./lib/core/pipes/join.pipe";
52
52
  export { SanitizeHtmlPipe } from './lib/core/pipes/sanitize-html.pipe';
@@ -1,60 +0,0 @@
1
- import { Component, EventEmitter, Inject, Input, Output, ViewChild } from "@angular/core";
2
- import { MatSelectionList } from "@angular/material/list";
3
- import { DesignerRef } from "./designer.base";
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@angular/forms";
6
- import * as i2 from "../system.service";
7
- import * as i3 from "@angular/common";
8
- import * as i4 from "@angular/material/list";
9
- import * as i5 from "@angular/material/form-field";
10
- import * as i6 from "../core/ace.input";
11
- import * as i7 from "../../core/pipes/translate.pipe";
12
- import * as i8 from "./designer.base";
13
- export class PrivilegesDesignComponent {
14
- constructor(_fb, _service, _cd, _ref) {
15
- this._fb = _fb;
16
- this._service = _service;
17
- this._cd = _cd;
18
- this._ref = _ref;
19
- this.change = new EventEmitter();
20
- this.form = this._fb.group({
21
- rule: null,
22
- roles: this._fb.control([]),
23
- });
24
- }
25
- ngOnInit() {
26
- this._service.roles().subscribe(r => {
27
- this.roles = r.
28
- concat(this._ref.designer.roles.map((r) => ({
29
- name: r.name,
30
- title: r.title,
31
- dataType: r.dataType
32
- })));
33
- this._cd.detectChanges();
34
- this.list.options.forEach(o => this.model.roles?.indexOf(o.value) > -1 &&
35
- this.list.selectedOptions.select(o));
36
- });
37
- this.form.patchValue(this.model);
38
- this.form.valueChanges.subscribe(v => this.change.emit(v));
39
- }
40
- rolesChange(evt) {
41
- this.form.get('roles').setValue(this.list.selectedOptions.selected.map(o => o.value));
42
- }
43
- }
44
- PrivilegesDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: PrivilegesDesignComponent, deps: [{ token: i1.FormBuilder }, { token: i2.SystemService }, { token: i0.ChangeDetectorRef }, { token: DesignerRef }], target: i0.ɵɵFactoryTarget.Component });
45
- PrivilegesDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: PrivilegesDesignComponent, selector: "bizdoc-privileges", inputs: { model: "model" }, outputs: { change: "change" }, viewQueries: [{ propertyName: "list", first: true, predicate: MatSelectionList, descendants: true }], ngImport: i0, template: "<div autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <h2 class=\"mat-title\">{{'Privileges'|translate}}</h2>\r\n <mat-selection-list (selectionChange)=\"rolesChange($event)\" *ngIf=\"roles\">\r\n <mat-list-option *ngFor=\"let r of roles\" [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</div>\r\n", dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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.MatSelectionList, selector: "mat-selection-list", inputs: ["disableRipple", "color", "compareWith", "disabled", "multiple"], outputs: ["selectionChange"], exportAs: ["matSelectionList"] }, { kind: "component", type: i4.MatListOption, selector: "mat-list-option", inputs: ["disableRipple", "checkboxPosition", "color", "value", "disabled", "selected"], outputs: ["selectedChange"], exportAs: ["matListOption"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "component", type: i6.AceInput, selector: "bizdoc-ace-input", inputs: ["params", "placeholder", "required", "disabled", "value"] }, { kind: "pipe", type: i7.TranslatePipe, name: "translate" }] });
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: PrivilegesDesignComponent, decorators: [{
47
- type: Component,
48
- args: [{ selector: 'bizdoc-privileges', template: "<div autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <h2 class=\"mat-title\">{{'Privileges'|translate}}</h2>\r\n <mat-selection-list (selectionChange)=\"rolesChange($event)\" *ngIf=\"roles\">\r\n <mat-list-option *ngFor=\"let r of roles\" [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</div>\r\n" }]
49
- }], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i2.SystemService }, { type: i0.ChangeDetectorRef }, { type: i8.DesignerRef, decorators: [{
50
- type: Inject,
51
- args: [DesignerRef]
52
- }] }]; }, propDecorators: { model: [{
53
- type: Input
54
- }], change: [{
55
- type: Output
56
- }], list: [{
57
- type: ViewChild,
58
- args: [MatSelectionList]
59
- }] } });
60
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpdmlsZWdlcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2FkbWluL2NvbmZpZ3VyYXRpb24tZGVzaWduZXIvcHJpdmlsZWdlcy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2FkbWluL2NvbmZpZ3VyYXRpb24tZGVzaWduZXIvcHJpdmlsZWdlcy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQXFCLFNBQVMsRUFBRSxZQUFZLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBVSxNQUFNLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXJILE9BQU8sRUFBRSxnQkFBZ0IsRUFBMEIsTUFBTSx3QkFBd0IsQ0FBQztBQUdsRixPQUFPLEVBQUUsV0FBVyxFQUFpQyxNQUFNLGlCQUFpQixDQUFDOzs7Ozs7Ozs7O0FBTTdFLE1BQU0sT0FBTyx5QkFBeUI7SUFTcEMsWUFBb0IsR0FBZ0IsRUFDMUIsUUFBdUIsRUFDdkIsR0FBc0IsRUFDRCxJQUFpQjtRQUg1QixRQUFHLEdBQUgsR0FBRyxDQUFhO1FBQzFC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HV0IFtwbGFjZWhvbGRlcl09XCInQ29uZGl0aW9uJ3x0cmFuc2xhdGVcIiBmb3JtQ29udHJvbE5hbWU9XCJydWxlXCI+PC9iaXpkb2MtYWNlLWlucHV0PlxyXG4gICAgPG1hdC1oaW50PiB7eyAnUHJvZ3JhbW1hYmxlRXhwcmVzc2lvbid8dHJhbnNsYXRlIH19PC9tYXQtaGludD5cclxuICA8L21hdC1mb3JtLWZpZWxkPlxyXG48L2Rpdj5cclxuIl19
@@ -1,26 +0,0 @@
1
- import { ChangeDetectorRef, EventEmitter, OnInit } from "@angular/core";
2
- import { FormBuilder } from "@angular/forms";
3
- import { MatSelectionList, MatSelectionListChange } from "@angular/material/list";
4
- import { Role } from "../../core/models";
5
- import { SystemService } from "../system.service";
6
- import { DesignerRef, PrivilegesModel } from "./designer.base";
7
- import * as i0 from "@angular/core";
8
- export declare class PrivilegesDesignComponent implements OnInit {
9
- private _fb;
10
- private _service;
11
- private _cd;
12
- private _ref;
13
- model: PrivilegesModel;
14
- readonly change: EventEmitter<PrivilegesModel>;
15
- list: MatSelectionList;
16
- readonly form: import("@angular/forms").FormGroup<{
17
- rule: import("@angular/forms").FormControl<unknown>;
18
- roles: import("@angular/forms").FormControl<string[]>;
19
- }>;
20
- roles: Role[];
21
- constructor(_fb: FormBuilder, _service: SystemService, _cd: ChangeDetectorRef, _ref: DesignerRef);
22
- ngOnInit(): void;
23
- rolesChange(evt: MatSelectionListChange): void;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<PrivilegesDesignComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<PrivilegesDesignComponent, "bizdoc-privileges", never, { "model": "model"; }, { "change": "change"; }, never, never, false>;
26
- }