nuxeo-development-framework 5.7.2 → 5.7.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/bundles/nuxeo-development-framework.umd.js +5 -3
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/reports/charts/defaults/bar.js +2 -1
- package/esm2015/lib/components/reports/ndf-reports/base/base-custom-report.js +3 -2
- package/esm2015/lib/components/reports/ndf-reports/charts-components/graph-chart/graph-chart.component.js +2 -2
- package/esm2015/lib/components/reports/ndf-reports/containers/ndf-report/ndf-report.component.js +3 -3
- package/esm2015/lib/components/reports/ndf-reports/models/base.js +1 -1
- package/fesm2015/nuxeo-development-framework.js +5 -3
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/components/reports/ndf-reports/base/base-custom-report.d.ts +2 -1
- package/lib/components/reports/ndf-reports/models/base.d.ts +1 -0
- package/package.json +1 -1
- package/src/docs/ndf-reports.doc.md +27 -17
|
@@ -44339,6 +44339,7 @@
|
|
|
44339
44339
|
ticks: {
|
|
44340
44340
|
precision: 0,
|
|
44341
44341
|
stepSize: 1,
|
|
44342
|
+
autoSkip: false
|
|
44342
44343
|
},
|
|
44343
44344
|
},
|
|
44344
44345
|
},
|
|
@@ -46388,7 +46389,7 @@
|
|
|
46388
46389
|
args: [{
|
|
46389
46390
|
selector: 'app-graph-chart',
|
|
46390
46391
|
templateUrl: './graph-chart.component.html',
|
|
46391
|
-
styleUrls: ['./graph-chart.component.scss']
|
|
46392
|
+
styleUrls: ['./graph-chart.component.scss'],
|
|
46392
46393
|
}]
|
|
46393
46394
|
}] });
|
|
46394
46395
|
|
|
@@ -46723,6 +46724,7 @@
|
|
|
46723
46724
|
function BaseCustomReport(injector) {
|
|
46724
46725
|
var _this = _super.call(this) || this;
|
|
46725
46726
|
_this.injector = injector;
|
|
46727
|
+
_this._chartThemeService = _this.injector.get(ChartThemeService);
|
|
46726
46728
|
_this._chartHelperService = _this.injector.get(ChartManagerService);
|
|
46727
46729
|
_this.direction = 'rtl';
|
|
46728
46730
|
_this._dataSub = new rxjs.ReplaySubject(null);
|
|
@@ -47314,7 +47316,7 @@
|
|
|
47314
47316
|
return NdfReportComponent;
|
|
47315
47317
|
}(DestroySubject));
|
|
47316
47318
|
NdfReportComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: NdfReportComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
47317
|
-
NdfReportComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: NdfReportComponent, selector: "app-ndf-report", inputs: { config: "config", direction: "direction", data: "data", criteria: "criteria" }, outputs: { onNavigate: "onNavigate", onOpen: "onOpen" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngIf=\"config\">\r\n\t<ng-container [ngSwitch]=\"config.mode\">\r\n\r\n\t\t
|
|
47319
|
+
NdfReportComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: NdfReportComponent, selector: "app-ndf-report", inputs: { config: "config", direction: "direction", data: "data", criteria: "criteria" }, outputs: { onNavigate: "onNavigate", onOpen: "onOpen" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngIf=\"config\">\r\n\t<ng-container [ngSwitch]=\"config.mode\">\r\n\t\t<app-graph-report\r\n\t\t\t[class.report-min-height]=\"config?.layout?.minContentHeight\"\r\n\t\t\t[style.--report-content-height]=\"config?.layout?.minContentHeight\"\r\n\t\t\t*ngSwitchCase=\"reportModes.graph\"\r\n\t\t\t[definition]=\"config\"\r\n\t\t\t[data]=\"data\"\r\n\t\t\t[criteria]=\"criteria\"\r\n\t\t\t[direction]=\"direction\"\r\n\t\t\t(onNavigate)=\"onNavigate.emit($event)\"\r\n\t\t\t(onOpen)=\"onOpen.emit($event)\"\r\n\t\t></app-graph-report>\r\n\r\n\t\t<app-dynamic-timeline-report\r\n\t\t\t*ngSwitchCase=\"reportModes.dynamicLine\"\r\n\t\t\t[definition]=\"config\"\r\n\t\t\t[data]=\"data\"\r\n\t\t\t[criteria]=\"criteria\"\r\n\t\t\t[direction]=\"direction\"\r\n\t\t\t(onOpen)=\"onOpen.emit($event)\"\r\n\t\t\t[class.report-min-height]=\"config?.layout?.minContentHeight\"\r\n\t\t\t[style.--report-content-height]=\"config?.layout?.minContentHeight\"\r\n\t\t></app-dynamic-timeline-report>\r\n\r\n\t\t<app-digit-report\r\n\t\t\t*ngSwitchCase=\"reportModes.digit\"\r\n\t\t\t[definition]=\"config\"\r\n\t\t\t[data]=\"data\"\r\n\t\t\t[criteria]=\"criteria\"\r\n\t\t\t[direction]=\"direction\"\r\n\t\t\t(onOpen)=\"onOpen.emit($event)\"\r\n\t\t\t[class.report-min-height]=\"config?.layout?.minContentHeight\"\r\n\t\t\t[style.--report-content-height]=\"config?.layout?.minContentHeight\"\r\n\t\t></app-digit-report>\r\n\r\n\t\t<app-custom-report\r\n\t\t\t*ngSwitchCase=\"reportModes.custom\"\r\n\t\t\t[definition]=\"config\"\r\n\t\t\t[data]=\"data\"\r\n\t\t\t[criteria]=\"criteria\"\r\n\t\t\t[direction]=\"direction\"\r\n\t\t\t(onOpen)=\"onOpen.emit($event)\"\r\n\t\t\t[class.report-min-height]=\"config?.layout?.minContentHeight\"\r\n\t\t\t[style.--report-content-height]=\"config?.layout?.minContentHeight\"\r\n\t\t>\r\n\t\t</app-custom-report>\r\n\t</ng-container>\r\n</ng-container>\r\n", styles: [".ndf-report{display:flex;flex-direction:column;min-width:0;max-width:100%;flex-grow:1}.ndf-report__content{position:relative;padding-block:.5rem;flex-grow:1;min-width:0;max-width:100%}.chart-actions{border:var(--chart-actions-border, 1px solid var(--border-color))}.chart-actions__item{background:var(--chart-actions-background, transparent);color:var(--chart-actions-color, currentColor);box-shadow:var(--chart-actions-shadow, unset);width:var(--chart-actions-width, 35px);height:var(--chart-actions-height, 35px);border-radius:var(--chart-actions-border-radius, 4px);flex-grow:1;display:grid;place-items:center}.chart-actions__item .mat-icon{color:var(--main-color, currentColor)}.chart-actions__item:hover{--chart-actions-shadow: var(--chart-actions-hover-shadow, 0 0 0 1px var(--main-color))}.chart-actions__item.selected{--chart-actions-background: var(--chart-actions-active-background, var(--main-color));--chart-actions-color: var(--chart-actions-active-color, var(--main-hover))}.chart-actions__item.selected .mat-icon{color:currentColor!important}@media print{.chart-actions{display:none}}.report-min-height{min-height:var(--report-content-height, unset)}\n"], components: [{ type: GraphReportComponent, selector: "app-graph-report" }, { type: DynamicTimelineReportComponent, selector: "app-dynamic-timeline-report" }, { type: DigitReportComponent, selector: "app-digit-report" }, { type: CustomReportComponent, selector: "app-custom-report" }], directives: [{ type: i4__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i4__namespace$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
47318
47320
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: NdfReportComponent, decorators: [{
|
|
47319
47321
|
type: i0.Component,
|
|
47320
47322
|
args: [{
|
|
@@ -47322,7 +47324,7 @@
|
|
|
47322
47324
|
templateUrl: './ndf-report.component.html',
|
|
47323
47325
|
styleUrls: ['./ndf-report.component.scss'],
|
|
47324
47326
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
47325
|
-
encapsulation: i0.ViewEncapsulation.None
|
|
47327
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
47326
47328
|
}]
|
|
47327
47329
|
}], propDecorators: { config: [{
|
|
47328
47330
|
type: i0.Input
|