@bizdoc/core 1.9.13 → 1.9.14
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/assets/themes/brown.min.css +1 -1
- package/assets/themes/dark.min.css +1 -1
- package/assets/themes/deep-purple-light-blue.min.css +3 -3
- package/assets/themes/default.min.css +1 -1
- package/assets/themes/green.min.css +1 -1
- package/assets/themes/indigo.min.css +1 -1
- package/esm2020/lib/admin/form/workflow/workflow.component.mjs +3 -2
- package/esm2020/lib/browse/browse-items.component.mjs +7 -3
- package/esm2020/lib/browse/browse.pane.component.mjs +3 -1
- package/esm2020/lib/core/translations.mjs +4 -4
- package/esm2020/lib/cube/accum/accum.component.mjs +7 -3
- package/esm2020/lib/cube/chart/chart.component.mjs +12 -4
- package/esm2020/lib/cube/cube-view.component.mjs +10 -15
- package/esm2020/lib/cube/declarations.mjs +1 -1
- package/esm2020/lib/cube/grid/grid.component.mjs +4 -5
- package/esm2020/lib/cube/grid/spreadsheet.component.mjs +12 -12
- package/esm2020/lib/cube/parallel/item.mjs +2 -1
- package/esm2020/lib/cube/pivot/pivot.component.mjs +5 -2
- package/esm2020/lib/cube/sum/sum.component.mjs +2 -2
- package/esm2020/lib/dashboard/cube/cube-chart.widget.mjs +2 -1
- package/esm2020/lib/home/search.service.mjs +8 -5
- package/esm2020/lib/modules/chart.module.mjs +6 -6
- package/esm2020/lib/modules/gantt.module.mjs +17 -0
- package/esm2020/lib/routes.mobile.mjs +1 -1
- package/esm2020/lib/shared.module.mjs +9 -10
- package/esm2020/lib/views/cube/chart.component.mjs +1 -1
- package/fesm2015/bizdoc-core.mjs +95 -60
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +95 -60
- package/fesm2020/bizdoc-core.mjs.map +1 -1
- package/lib/browse/browse-items.component.d.ts +1 -1
- package/lib/cube/accum/accum.component.d.ts +1 -0
- package/lib/cube/chart/chart.component.d.ts +4 -2
- package/lib/cube/cube-view.component.d.ts +4 -5
- package/lib/cube/declarations.d.ts +1 -0
- package/lib/cube/grid/grid.component.d.ts +2 -3
- package/lib/cube/grid/spreadsheet.component.d.ts +1 -0
- package/lib/cube/parallel/item.d.ts +2 -2
- package/lib/cube/sum/sum.component.d.ts +1 -1
- package/lib/modules/chart.module.d.ts +1 -1
- package/lib/modules/gantt.module.d.ts +7 -0
- package/lib/shared.module.d.ts +9 -10
- package/package.json +1 -2
package/fesm2020/bizdoc-core.mjs
CHANGED
@@ -114,7 +114,7 @@ import * as i24 from '@angular/flex-layout/extended';
|
|
114
114
|
import * as i4$1 from '@ctrl/ngx-emoji-mart';
|
115
115
|
import { PickerModule } from '@ctrl/ngx-emoji-mart';
|
116
116
|
import * as i8$2 from '@syncfusion/ej2-angular-charts';
|
117
|
-
import { AccumulationChart, FunnelSeries, AccumulationDataLabel, AccumulationTooltip, AccumulationLegend, Export, PieSeries, ChartModule, AccumulationChartAllModule,
|
117
|
+
import { AccumulationChart, FunnelSeries, AccumulationDataLabel, AccumulationTooltip, AccumulationLegend, Export, PieSeries, ChartModule, AccumulationChartAllModule, SparklineAllModule, LineSeriesService, ScatterSeriesService, ColumnSeriesService, SplineSeriesService, SplineAreaSeriesService, StripLineService, AreaSeriesService, ScrollBarService, StepLineSeriesService, StepAreaSeriesService, StackingColumnSeriesService, StackingLineSeriesService, StackingAreaSeriesService, BarSeriesService, StackingBarSeriesService, RangeColumnSeriesService, BubbleSeriesService, TooltipService, CrosshairService, CategoryService, DateTimeService, LogarithmicService, LegendService, ZoomService, DataLabelService, SelectionService, ChartAnnotationService, WaterfallSeriesService, RangeAreaSeriesService, PolarSeriesService, RadarSeriesService, DateTimeCategoryService, MultiLevelLabelService, ParetoSeriesService, TooltipRenderService, ExportService, AccumulationAnnotationService, AccumulationDataLabelService, AccumulationLegendService, AccumulationSelectionService, AccumulationTooltipService, AccumulationChartComponent, Chart as Chart$1, DateTime as DateTime$1, BarSeries as BarSeries$1, AreaSeries as AreaSeries$1, BubbleSeries as BubbleSeries$1, ColumnSeries as ColumnSeries$1, LineSeries as LineSeries$1, PolarSeries as PolarSeries$1, RadarSeries as RadarSeries$1, SplineSeries as SplineSeries$1, SplineAreaSeries as SplineAreaSeries$1, ScatterSeries as ScatterSeries$1, StackingLineSeries as StackingLineSeries$1, StackingAreaSeries as StackingAreaSeries$1, StackingColumnSeries as StackingColumnSeries$1, StackingBarSeries as StackingBarSeries$1, StepAreaSeries as StepAreaSeries$1, StepLineSeries as StepLineSeries$1, ChartComponent } from '@syncfusion/ej2-angular-charts';
|
118
118
|
import * as XLSX from 'xlsx';
|
119
119
|
import { Chart, Category, DateTime, Tooltip, Export as Export$1, BarSeries, AreaSeries, StackingStepAreaSeries, BubbleSeries, ColumnSeries, LineSeries, Legend, PolarSeries, RadarSeries, SplineSeries, SplineAreaSeries, ScatterSeries, StackingLineSeries, StackingAreaSeries, StackingColumnSeries, StackingBarSeries, StepAreaSeries, StepLineSeries } from '@syncfusion/ej2-charts';
|
120
120
|
import * as i6$5 from '@syncfusion/ej2-angular-grids';
|
@@ -131,7 +131,7 @@ import { KanbanComponent, KanbanModule } from '@syncfusion/ej2-angular-kanban';
|
|
131
131
|
import { CircularGaugeModule, AnnotationsService, GaugeTooltipService, LegendService as LegendService$1, CircularGauge, Annotations, GaugeTooltip, CircularGaugeComponent, Legend as Legend$1 } from '@syncfusion/ej2-angular-circulargauge';
|
132
132
|
import { PivotViewModule, ExcelExportService as ExcelExportService$1, GroupingBarService, NumberFormattingService, GroupingService, PivotChartService, ConditionalFormattingService, PivotView as PivotView$1, ExcelExport as ExcelExport$2, PivotViewComponent } from '@syncfusion/ej2-angular-pivotview';
|
133
133
|
import * as i7$6 from '@syncfusion/ej2-angular-gantt';
|
134
|
-
import { Gantt, SelectionService as SelectionService$3, DayMarkersService
|
134
|
+
import { GanttModule, Gantt, SelectionService as SelectionService$3, DayMarkersService } from '@syncfusion/ej2-angular-gantt';
|
135
135
|
import { __decorate } from 'tslib';
|
136
136
|
import player from 'lottie-web/build/player/lottie';
|
137
137
|
|
@@ -1703,8 +1703,8 @@ const STRINGS = {
|
|
1703
1703
|
MailVersionUpdate: '#{0} updated by {1}',
|
1704
1704
|
NewComment: 'Someone commented...',
|
1705
1705
|
Commented: '{0} commented',
|
1706
|
-
DeleteFile: 'Delete
|
1707
|
-
DeleteFileAsk: 'Are you sure you want to delete this
|
1706
|
+
DeleteFile: 'Delete Attachment',
|
1707
|
+
DeleteFileAsk: 'Are you sure you want to delete this attachment?',
|
1708
1708
|
DeleteCommentAsk: 'Are you sure you want to delete this comment?',
|
1709
1709
|
GrantAccess: 'Grant Access',
|
1710
1710
|
GrantTip: 'May sign in on your behalf, view and take action',
|
@@ -1810,7 +1810,7 @@ const STRINGS = {
|
|
1810
1810
|
Form: 'Form',
|
1811
1811
|
ActionAsk: 'Are you sure you want to {0}?',
|
1812
1812
|
Discard: 'Discard',
|
1813
|
-
DiscardAsk: 'Are you sure you want to permenently discard
|
1813
|
+
DiscardAsk: 'Are you sure you want to permenently discard this document?',
|
1814
1814
|
DiscardSelected: 'Discard {0} item(s)',
|
1815
1815
|
TypeHere: 'Type here',
|
1816
1816
|
ChatHere: 'Chat here',
|
@@ -7020,7 +7020,7 @@ class BrowseItemsComponent {
|
|
7020
7020
|
}
|
7021
7021
|
}
|
7022
7022
|
/**
|
7023
|
-
* execute function per item
|
7023
|
+
* execute function per selected item
|
7024
7024
|
* @param fn
|
7025
7025
|
* @param error
|
7026
7026
|
*/
|
@@ -7095,7 +7095,11 @@ class BrowseItemsComponent {
|
|
7095
7095
|
}
|
7096
7096
|
sendAll(action, args) {
|
7097
7097
|
const params = queryParams(args);
|
7098
|
-
this._forEach(i => this._mailbox.send(i.id, i.version, i.formId, null, action, params).
|
7098
|
+
this._forEach(i => this._mailbox.send(i.id, i.version, i.formId, null, action, params).
|
7099
|
+
pipe(tap(() => {
|
7100
|
+
if (i.folderId !== this.folderId)
|
7101
|
+
this.dataSource.data.remove(i);
|
7102
|
+
})), 'SendErr').
|
7099
7103
|
subscribe(is => is.length > 1 ? this._sb.toast('SentMany', is.length.toString(), this._actionAdjective(action, true)) :
|
7100
7104
|
this._sb.toast('Sent', is[0].number, this._actionAdjective(action)));
|
7101
7105
|
}
|
@@ -9305,6 +9309,8 @@ class BrowsePaneComponent {
|
|
9305
9309
|
this.filterType = p['type'];
|
9306
9310
|
if (this.filterType === 'flagged')
|
9307
9311
|
this._pane.title = this._translate.get('Flagged');
|
9312
|
+
else if (p['tag'])
|
9313
|
+
this._pane.title = this._translate.get('Tags');
|
9308
9314
|
this.filters = p;
|
9309
9315
|
});
|
9310
9316
|
const events = this._router.events.pipe(takeUntil(this._destroy));
|
@@ -9457,6 +9463,7 @@ class CubeAccumulationChartComponent {
|
|
9457
9463
|
this.endAngle = 360;
|
9458
9464
|
this.innerRadius = '0';
|
9459
9465
|
}
|
9466
|
+
this.execute();
|
9460
9467
|
}
|
9461
9468
|
textRender(e) {
|
9462
9469
|
e.text = e.point.x;
|
@@ -9479,10 +9486,13 @@ class CubeAccumulationChartComponent {
|
|
9479
9486
|
*
|
9480
9487
|
*/
|
9481
9488
|
ngOnChanges(changes) {
|
9482
|
-
if (changes['filters'])
|
9489
|
+
if (changes['filters'] && !changes['filters'].firstChange)
|
9483
9490
|
this.execute();
|
9484
9491
|
else if (changes['height'])
|
9485
|
-
this.
|
9492
|
+
this.resize();
|
9493
|
+
}
|
9494
|
+
resize() {
|
9495
|
+
this.accumchart && this.accumchart.accumulationResize();
|
9486
9496
|
}
|
9487
9497
|
execute() {
|
9488
9498
|
this.loadingChange.emit(true);
|
@@ -9624,6 +9634,8 @@ class CubeChartComponent {
|
|
9624
9634
|
};
|
9625
9635
|
this.tooltip = {
|
9626
9636
|
enable: true,
|
9637
|
+
enableAnimation: false,
|
9638
|
+
border: { width: 0 },
|
9627
9639
|
textStyle: {
|
9628
9640
|
fontFamily: FONT_FAMILY
|
9629
9641
|
}
|
@@ -9670,15 +9682,19 @@ class CubeChartComponent {
|
|
9670
9682
|
if (this.chartType === 'Line' || this.chartType === 'Spline')
|
9671
9683
|
this.crosshair.enable = true;
|
9672
9684
|
this.primaryYAxis.labelFormat = this.currencyCode ? 'c0' : 'n0';
|
9685
|
+
this.execute();
|
9673
9686
|
}
|
9674
9687
|
/**
|
9675
9688
|
*
|
9676
9689
|
*/
|
9677
9690
|
ngOnChanges(changes) {
|
9678
|
-
if (changes['filters'])
|
9691
|
+
if (changes['filters'] && !changes['filters'].firstChange)
|
9679
9692
|
this.execute();
|
9680
9693
|
else if (changes['height'])
|
9681
|
-
this.
|
9694
|
+
this.resize();
|
9695
|
+
}
|
9696
|
+
resize() {
|
9697
|
+
this.chart && this.chart.chartResize();
|
9682
9698
|
}
|
9683
9699
|
execute() {
|
9684
9700
|
this.loadingChange.emit(true);
|
@@ -9790,7 +9806,7 @@ class CubeChartComponent {
|
|
9790
9806
|
}
|
9791
9807
|
CubeChartComponent.nextId = 0;
|
9792
9808
|
CubeChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CubeChartComponent, deps: [{ token: CubeService }, { token: PromptService }, { token: TranslateService }, { token: SessionService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
9793
|
-
CubeChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: CubeChartComponent, selector: "bizdoc-cube-chart", inputs: { width: "width", height: "height", cube: "cube", xAxis: "xAxis", series: "series", indices: "indices", filters: "filters", chartType: "chartType", indexChartType: "indexChartType", scope: "scope", currencyCode: "currencyCode", loading: "loading" }, outputs: { explore: "explore", loadingChange: "loadingChange" }, host: { attributes: { "dir": "ltr" }, properties: { "id": "this.id" }, classAttribute: "cube-view" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
9809
|
+
CubeChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: CubeChartComponent, selector: "bizdoc-cube-chart", inputs: { width: "width", height: "height", cube: "cube", xAxis: "xAxis", series: "series", indices: "indices", filters: "filters", yAxis: "yAxis", chartType: "chartType", indexChartType: "indexChartType", scope: "scope", currencyCode: "currencyCode", loading: "loading" }, outputs: { explore: "explore", loadingChange: "loadingChange" }, host: { attributes: { "dir": "ltr" }, properties: { "id": "this.id" }, classAttribute: "cube-view" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
9794
9810
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CubeChartComponent, decorators: [{
|
9795
9811
|
type: Component,
|
9796
9812
|
args: [{
|
@@ -9815,6 +9831,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImpor
|
|
9815
9831
|
type: Input
|
9816
9832
|
}], filters: [{
|
9817
9833
|
type: Input
|
9834
|
+
}], yAxis: [{
|
9835
|
+
type: Input
|
9818
9836
|
}], chartType: [{
|
9819
9837
|
type: Input
|
9820
9838
|
}], indexChartType: [{
|
@@ -9903,10 +9921,11 @@ class CubeGridComponent {
|
|
9903
9921
|
// prepare
|
9904
9922
|
this._prepare =
|
9905
9923
|
forkJoin(promises).toPromise();
|
9924
|
+
this.execute();
|
9906
9925
|
}
|
9907
9926
|
/** */
|
9908
9927
|
ngOnChanges(changes) {
|
9909
|
-
if (changes['filters'])
|
9928
|
+
if (changes['filters'] && !changes['filters'].firstChange)
|
9910
9929
|
this.execute();
|
9911
9930
|
else if (changes['height'])
|
9912
9931
|
this.resize();
|
@@ -10008,7 +10027,7 @@ class CubeGridComponent {
|
|
10008
10027
|
}
|
10009
10028
|
CubeGridComponent.nextId = 0;
|
10010
10029
|
CubeGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CubeGridComponent, deps: [{ token: SessionService }, { token: PromptService }, { token: DatasourceService }, { token: CubeService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
10011
|
-
CubeGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: CubeGridComponent, selector: "bizdoc-cube-grid", inputs: { width: "width", height: "height", cube: "cube", xAxis: "xAxis",
|
10030
|
+
CubeGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: CubeGridComponent, selector: "bizdoc-cube-grid", inputs: { width: "width", height: "height", cube: "cube", xAxis: "xAxis", series: "series", indices: "indices", filters: "filters", currencyCode: "currencyCode", loading: "loading" }, outputs: { explore: "explore", loadingChange: "loadingChange" }, host: { properties: { "id": "this.id" }, classAttribute: "cube-view" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true, styles: [".nowrap{white-space:nowrap;word-wrap:normal}::ng-deep .e-rowcell:not(.e-headertext){cursor:pointer}::ng-deep .e-grid td.e-cellselectionbackground{background-color:none}\n"] });
|
10012
10031
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CubeGridComponent, decorators: [{
|
10013
10032
|
type: Component,
|
10014
10033
|
args: [{ selector: 'bizdoc-cube-grid', template: '', host: {
|
@@ -10022,8 +10041,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImpor
|
|
10022
10041
|
type: Input
|
10023
10042
|
}], xAxis: [{
|
10024
10043
|
type: Input
|
10025
|
-
}], yAxis: [{
|
10026
|
-
type: Input
|
10027
10044
|
}], series: [{
|
10028
10045
|
type: Input
|
10029
10046
|
}], indices: [{
|
@@ -10147,6 +10164,8 @@ class CubePivotComponent {
|
|
10147
10164
|
}
|
10148
10165
|
},
|
10149
10166
|
tooltip: {
|
10167
|
+
enableAnimation: false,
|
10168
|
+
border: { width: 0 },
|
10150
10169
|
textStyle: {
|
10151
10170
|
fontFamily: FONT_FAMILY
|
10152
10171
|
}
|
@@ -10192,6 +10211,7 @@ class CubePivotComponent {
|
|
10192
10211
|
currency: this.currencyCode,
|
10193
10212
|
});
|
10194
10213
|
});
|
10214
|
+
this.execute();
|
10195
10215
|
}
|
10196
10216
|
_getIndexTitle(name) {
|
10197
10217
|
return this._cube.indices.find(i => i.name === name).title;
|
@@ -10204,7 +10224,7 @@ class CubePivotComponent {
|
|
10204
10224
|
*
|
10205
10225
|
*/
|
10206
10226
|
ngOnChanges(changes) {
|
10207
|
-
if (changes['filters'])
|
10227
|
+
if (changes['filters'] && !changes['filters'].firstChange)
|
10208
10228
|
this.execute();
|
10209
10229
|
else if (changes['height'] || changes['width'])
|
10210
10230
|
this.resize();
|
@@ -10515,16 +10535,20 @@ class CubeSpreadsheetComponent {
|
|
10515
10535
|
promises.push(observe);
|
10516
10536
|
this._prepare = Promise.all(promises);
|
10517
10537
|
}
|
10538
|
+
this.execute();
|
10518
10539
|
}
|
10519
10540
|
ngOnChanges(changes) {
|
10520
|
-
if (changes['filters'])
|
10541
|
+
if (changes['filters'] && !changes['filters'].firstChange)
|
10521
10542
|
this.execute();
|
10522
10543
|
else if (changes['height'] || changes['width'])
|
10523
|
-
|
10524
|
-
|
10525
|
-
|
10526
|
-
|
10527
|
-
|
10544
|
+
this.resize();
|
10545
|
+
}
|
10546
|
+
resize() {
|
10547
|
+
if (this.spreadsheet) {
|
10548
|
+
this.spreadsheet.height = this.height;
|
10549
|
+
this.spreadsheet.width = this.width;
|
10550
|
+
this.spreadsheet.resize();
|
10551
|
+
}
|
10528
10552
|
}
|
10529
10553
|
execute() {
|
10530
10554
|
this.loadingChange.emit(true);
|
@@ -10741,16 +10765,12 @@ class CubeSpreadsheetComponent {
|
|
10741
10765
|
}
|
10742
10766
|
CubeSpreadsheetComponent.nextId = 0;
|
10743
10767
|
CubeSpreadsheetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CubeSpreadsheetComponent, deps: [{ token: SessionService }, { token: PromptService }, { token: CubeService }, { token: TranslateService }, { token: DatasourceService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
10744
|
-
CubeSpreadsheetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: CubeSpreadsheetComponent, selector: "bizdoc-cube-spreadsheet", inputs: { width: "width", height: "height", cube: "cube", xAxis: "xAxis", yAxis: "yAxis", series: "series", indices: "indices", filters: "filters", currencyCode: "currencyCode", loading: "loading" }, outputs: { explore: "explore", loadingChange: "loadingChange" }, host: { properties: { "id": "this.id" }, classAttribute: "cube-view" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true
|
10768
|
+
CubeSpreadsheetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: CubeSpreadsheetComponent, selector: "bizdoc-cube-spreadsheet", inputs: { width: "width", height: "height", cube: "cube", xAxis: "xAxis", yAxis: "yAxis", series: "series", indices: "indices", filters: "filters", currencyCode: "currencyCode", loading: "loading" }, outputs: { explore: "explore", loadingChange: "loadingChange" }, host: { properties: { "id": "this.id" }, classAttribute: "cube-view" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
10745
10769
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CubeSpreadsheetComponent, decorators: [{
|
10746
10770
|
type: Component,
|
10747
10771
|
args: [{
|
10748
10772
|
selector: 'bizdoc-cube-spreadsheet',
|
10749
10773
|
template: '',
|
10750
|
-
styles: [`::ng-deep .e-spreadsheet .e-dragfill-ddb {
|
10751
|
-
display: none !important;
|
10752
|
-
}
|
10753
|
-
`],
|
10754
10774
|
host: {
|
10755
10775
|
class: 'cube-view'
|
10756
10776
|
}
|
@@ -10785,10 +10805,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImpor
|
|
10785
10805
|
|
10786
10806
|
/** */
|
10787
10807
|
class CubeViewComponent {
|
10788
|
-
constructor(_viewContainer, _factoryResolver
|
10808
|
+
constructor(_viewContainer, _factoryResolver) {
|
10789
10809
|
this._viewContainer = _viewContainer;
|
10790
10810
|
this._factoryResolver = _factoryResolver;
|
10791
|
-
this._cd = _cd;
|
10792
10811
|
this.axes = {};
|
10793
10812
|
this.explore = new EventEmitter();
|
10794
10813
|
this.loadingChange = new EventEmitter();
|
@@ -10810,13 +10829,11 @@ class CubeViewComponent {
|
|
10810
10829
|
this._instance.ngOnChanges({ 'height': {}, 'width': {} });
|
10811
10830
|
});
|
10812
10831
|
}
|
10832
|
+
ngAfterViewInit() {
|
10833
|
+
setTimeout(this._createView.bind(this));
|
10834
|
+
}
|
10813
10835
|
ngOnChanges(changes) {
|
10814
|
-
|
10815
|
-
// dom
|
10816
|
-
setTimeout(this._createView.bind(this));
|
10817
|
-
}
|
10818
|
-
else if (changes['axes'])
|
10819
|
-
this.refresh();
|
10836
|
+
changes['axes'] && !changes['axes'].firstChange && this.refresh();
|
10820
10837
|
}
|
10821
10838
|
_createView() {
|
10822
10839
|
this._viewDestroy.next();
|
@@ -10840,7 +10857,6 @@ class CubeViewComponent {
|
|
10840
10857
|
comp.width = `${dim.width - 4}px`;
|
10841
10858
|
comp.series = this.view.series;
|
10842
10859
|
comp.indices = this.view.indices;
|
10843
|
-
comp.yAxis = this.cube.yAxis;
|
10844
10860
|
break;
|
10845
10861
|
}
|
10846
10862
|
case 'Spreadsheet':
|
@@ -10868,16 +10884,15 @@ class CubeViewComponent {
|
|
10868
10884
|
default:
|
10869
10885
|
{
|
10870
10886
|
let comp = this._attach(CubeChartComponent);
|
10871
|
-
comp.height = `${dim.height}px`;
|
10887
|
+
//comp.height = `${dim.height}px`;
|
10872
10888
|
comp.chartType = this.view.chartType;
|
10873
10889
|
comp.series = this.view.series;
|
10874
10890
|
comp.indices = this.view.indices;
|
10891
|
+
comp.yAxis = this.cube.yAxis;
|
10875
10892
|
comp.indexChartType = this.view.indexChartType;
|
10876
10893
|
}
|
10877
10894
|
}
|
10878
10895
|
}
|
10879
|
-
//this._cd.detectChanges();
|
10880
|
-
setTimeout(() => this._instance.execute());
|
10881
10896
|
}
|
10882
10897
|
_attach(comp) {
|
10883
10898
|
const factory = this._factoryResolver.resolveComponentFactory(comp);
|
@@ -10922,7 +10937,7 @@ class CubeViewComponent {
|
|
10922
10937
|
this._viewDestroy.complete();
|
10923
10938
|
}
|
10924
10939
|
}
|
10925
|
-
CubeViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CubeViewComponent, deps: [{ token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }
|
10940
|
+
CubeViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CubeViewComponent, deps: [{ token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Component });
|
10926
10941
|
CubeViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: CubeViewComponent, selector: "bizdoc-cube-view", inputs: { axes: "axes", cube: "cube", view: "view", loading: "loading" }, outputs: { explore: "explore", loadingChange: "loadingChange" }, host: { listeners: { "window:resize": "resize()" } }, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
10927
10942
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CubeViewComponent, decorators: [{
|
10928
10943
|
type: Component,
|
@@ -10937,7 +10952,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImpor
|
|
10937
10952
|
CubeSpreadsheetComponent
|
10938
10953
|
]
|
10939
10954
|
}]
|
10940
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }
|
10955
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { axes: [{
|
10941
10956
|
type: Input
|
10942
10957
|
}], explore: [{
|
10943
10958
|
type: Output
|
@@ -12079,7 +12094,8 @@ class WorkflowComponent {
|
|
12079
12094
|
nodes, connectors
|
12080
12095
|
},
|
12081
12096
|
policy: OpenPolicy.Tab,
|
12082
|
-
expandable: false
|
12097
|
+
expandable: false,
|
12098
|
+
group: ''
|
12083
12099
|
}).then(p => {
|
12084
12100
|
p.instance.change.
|
12085
12101
|
pipe(takeUntil(this._destroy)).subscribe(() => {
|
@@ -16558,11 +16574,14 @@ class SearchService {
|
|
16558
16574
|
if (u.title.toLowerCase().indexOf(val) > -1)
|
16559
16575
|
xs.push({ path: `admin/utilities/${u.name}`, title: u.title, section: this._translate.get('Utilities'), icon: u.icon });
|
16560
16576
|
});
|
16577
|
+
profile.options.tags &&
|
16578
|
+
profile.options.tags.forEach(t => {
|
16579
|
+
if (t.toLowerCase().indexOf(val) > -1)
|
16580
|
+
xs.push({ path: `mailbox/f?tag=${t}`, title: t, section: this._translate.get('Tags'), icon: 'bookmark' });
|
16581
|
+
});
|
16561
16582
|
//profile.contacts.forEach()
|
16562
|
-
//
|
16563
|
-
// if (g.mode !== 'Private' &&
|
16564
|
-
// g.steps.some(s => (s.title && s.title.toLowerCase().indexOf(value) > -1) ||
|
16565
|
-
// s.content.toLowerCase().indexOf(value) > -1)))
|
16583
|
+
//this._guide.guides.forEach(g => {
|
16584
|
+
// if (g.mode !== 'Private' && g.title.toLowerCase().indexOf(value) > -1)
|
16566
16585
|
// xs.push({ fn: this._guide.start, args: [g.name], title: g.title, section: this._translate.get('Guides'), icon: 'help' })
|
16567
16586
|
//});
|
16568
16587
|
this._mailbox.senders(value).subscribe(r => r.forEach(s => xs.push({ path: `mailbox/f/ib?senderId=${s.id}`, title: s.name, section: this._translate.get('Senders'), icon: 'recent_actors' })));
|
@@ -18850,7 +18869,7 @@ const ROUTES = [
|
|
18850
18869
|
class SyncfusionChartModule {
|
18851
18870
|
}
|
18852
18871
|
SyncfusionChartModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SyncfusionChartModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
18853
|
-
SyncfusionChartModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SyncfusionChartModule, imports: [ChartModule, AccumulationChartAllModule,
|
18872
|
+
SyncfusionChartModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SyncfusionChartModule, imports: [ChartModule, AccumulationChartAllModule, SparklineAllModule], exports: [ChartModule, AccumulationChartAllModule, SparklineAllModule] });
|
18854
18873
|
SyncfusionChartModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SyncfusionChartModule, providers: [LineSeriesService, ScatterSeriesService, ColumnSeriesService, SplineSeriesService,
|
18855
18874
|
SplineAreaSeriesService, StripLineService, AreaSeriesService, ScrollBarService, StepLineSeriesService,
|
18856
18875
|
StepAreaSeriesService, StackingColumnSeriesService, StackingLineSeriesService, StackingAreaSeriesService,
|
@@ -18860,12 +18879,12 @@ SyncfusionChartModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", v
|
|
18860
18879
|
RangeAreaSeriesService, PolarSeriesService, RadarSeriesService, DateTimeCategoryService,
|
18861
18880
|
MultiLevelLabelService, ParetoSeriesService, TooltipRenderService,
|
18862
18881
|
ExportService,
|
18863
|
-
AccumulationAnnotationService, AccumulationDataLabelService, AccumulationLegendService, AccumulationSelectionService, AccumulationTooltipService], imports: [[ChartModule, AccumulationChartAllModule,
|
18882
|
+
AccumulationAnnotationService, AccumulationDataLabelService, AccumulationLegendService, AccumulationSelectionService, AccumulationTooltipService], imports: [[ChartModule, AccumulationChartAllModule, SparklineAllModule], ChartModule, AccumulationChartAllModule, SparklineAllModule] });
|
18864
18883
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SyncfusionChartModule, decorators: [{
|
18865
18884
|
type: NgModule,
|
18866
18885
|
args: [{
|
18867
|
-
imports: [ChartModule, AccumulationChartAllModule,
|
18868
|
-
exports: [ChartModule, AccumulationChartAllModule,
|
18886
|
+
imports: [ChartModule, AccumulationChartAllModule, SparklineAllModule],
|
18887
|
+
exports: [ChartModule, AccumulationChartAllModule, SparklineAllModule],
|
18869
18888
|
providers: [LineSeriesService, ScatterSeriesService, ColumnSeriesService, SplineSeriesService,
|
18870
18889
|
SplineAreaSeriesService, StripLineService, AreaSeriesService, ScrollBarService, StepLineSeriesService,
|
18871
18890
|
StepAreaSeriesService, StackingColumnSeriesService, StackingLineSeriesService, StackingAreaSeriesService,
|
@@ -19005,6 +19024,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImpor
|
|
19005
19024
|
}]
|
19006
19025
|
}] });
|
19007
19026
|
|
19027
|
+
class SyncfusionGanttModule {
|
19028
|
+
}
|
19029
|
+
SyncfusionGanttModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SyncfusionGanttModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
19030
|
+
SyncfusionGanttModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SyncfusionGanttModule, imports: [GanttModule], exports: [GanttModule] });
|
19031
|
+
SyncfusionGanttModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SyncfusionGanttModule, providers: [], imports: [[GanttModule], GanttModule] });
|
19032
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SyncfusionGanttModule, decorators: [{
|
19033
|
+
type: NgModule,
|
19034
|
+
args: [{
|
19035
|
+
imports: [GanttModule],
|
19036
|
+
exports: [GanttModule],
|
19037
|
+
providers: []
|
19038
|
+
}]
|
19039
|
+
}] });
|
19040
|
+
|
19008
19041
|
let AssignActionComponent = class AssignActionComponent {
|
19009
19042
|
constructor(_fb, _session, _accounts) {
|
19010
19043
|
this._fb = _fb;
|
@@ -19759,6 +19792,7 @@ class CubeChartAnalysisWidget extends CubeAnalysisBase {
|
|
19759
19792
|
};
|
19760
19793
|
this.tooltip = {
|
19761
19794
|
enable: true,
|
19795
|
+
enableAnimation: false,
|
19762
19796
|
shared: false,
|
19763
19797
|
textStyle: {
|
19764
19798
|
fontFamily: FONT_FAMILY
|
@@ -23905,7 +23939,7 @@ class CubeSumComponent {
|
|
23905
23939
|
this.forward = false;
|
23906
23940
|
this.Math = Math;
|
23907
23941
|
}
|
23908
|
-
ngOnChanges(
|
23942
|
+
ngOnChanges(_) {
|
23909
23943
|
this._cube = this._session.profile.cubes.find(c => c.name === this.cube) || this._session.profile.cubes[0];
|
23910
23944
|
this.currencyCode = this._cube.currencyCode;
|
23911
23945
|
this.digitsInfo = this._service.digitsInfo;
|
@@ -24383,7 +24417,7 @@ let CubeChartViewComponent = class CubeChartViewComponent extends CubeBase {
|
|
24383
24417
|
}
|
24384
24418
|
};
|
24385
24419
|
CubeChartViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CubeChartViewComponent, deps: [{ token: SessionService }, { token: DocumentViewRef }, { token: CubeService }, { token: RouterImpl }], target: i0.ɵɵFactoryTarget.Component });
|
24386
|
-
CubeChartViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: CubeChartViewComponent, selector: "ng-component", host: { classAttribute: "view" }, usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"hasdata; \">\r\n <!--else none-->\r\n <ng-container [ngSwitch]=\"isAccum\">\r\n <bizdoc-cube-accum *ngSwitchCase=\"true\" [chartType]=\"chartType\" [width]=\"width\" [scope]=\"scope\"\r\n (explore)=\"explore($event)\"\r\n [cube]=\"cube.name\"\r\n [filters]=\"filters\"\r\n [xAxis]=\"xAxis\"></bizdoc-cube-accum>\r\n <bizdoc-cube-chart *ngSwitchDefault [cube]=\"cube.name\"\r\n [xAxis]=\"xAxis\" [series]=\"series\" [indices]=\"indices\"\r\n [filters]=\"filters\"\r\n [chartType]=\"chartType\" [indexChartType]=\"indexChartType\"\r\n [width]=\"width\" [scope]=\"scope\"\r\n (explore)=\"explore($event)\"></bizdoc-cube-chart>\r\n </ng-container>\r\n</ng-container>\r\n<ng-template #none>\r\n <bizdoc-none icon=\"insert_chart_outlined\" subtitle=\"NothingHere\"></bizdoc-none>\r\n</ng-template>\r\n", components: [{ type: CubeAccumulationChartComponent, selector: "bizdoc-cube-accum", inputs: ["height", "width", "cube", "xAxis", "indices", "filters", "chartType", "scope", "loading"], outputs: ["loadingChange", "explore"] }, { type: CubeChartComponent, selector: "bizdoc-cube-chart", inputs: ["width", "height", "cube", "xAxis", "series", "indices", "filters", "chartType", "indexChartType", "scope", "currencyCode", "loading"], outputs: ["explore", "loadingChange"] }, { type: NoneComponent, selector: "bizdoc-none", inputs: ["title", "subtitle", "icon"] }], directives: [{ type: i10$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i10$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i10$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i10$1.NgSwitchDefault, selector: "[ngSwitchDefault]" }] });
|
24420
|
+
CubeChartViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: CubeChartViewComponent, selector: "ng-component", host: { classAttribute: "view" }, usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"hasdata; \">\r\n <!--else none-->\r\n <ng-container [ngSwitch]=\"isAccum\">\r\n <bizdoc-cube-accum *ngSwitchCase=\"true\" [chartType]=\"chartType\" [width]=\"width\" [scope]=\"scope\"\r\n (explore)=\"explore($event)\"\r\n [cube]=\"cube.name\"\r\n [filters]=\"filters\"\r\n [xAxis]=\"xAxis\"></bizdoc-cube-accum>\r\n <bizdoc-cube-chart *ngSwitchDefault [cube]=\"cube.name\"\r\n [xAxis]=\"xAxis\" [series]=\"series\" [indices]=\"indices\"\r\n [filters]=\"filters\"\r\n [chartType]=\"chartType\" [indexChartType]=\"indexChartType\"\r\n [width]=\"width\" [scope]=\"scope\"\r\n (explore)=\"explore($event)\"></bizdoc-cube-chart>\r\n </ng-container>\r\n</ng-container>\r\n<ng-template #none>\r\n <bizdoc-none icon=\"insert_chart_outlined\" subtitle=\"NothingHere\"></bizdoc-none>\r\n</ng-template>\r\n", components: [{ type: CubeAccumulationChartComponent, selector: "bizdoc-cube-accum", inputs: ["height", "width", "cube", "xAxis", "indices", "filters", "chartType", "scope", "loading"], outputs: ["loadingChange", "explore"] }, { type: CubeChartComponent, selector: "bizdoc-cube-chart", inputs: ["width", "height", "cube", "xAxis", "series", "indices", "filters", "yAxis", "chartType", "indexChartType", "scope", "currencyCode", "loading"], outputs: ["explore", "loadingChange"] }, { type: NoneComponent, selector: "bizdoc-none", inputs: ["title", "subtitle", "icon"] }], directives: [{ type: i10$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i10$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i10$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i10$1.NgSwitchDefault, selector: "[ngSwitchDefault]" }] });
|
24387
24421
|
CubeChartViewComponent = __decorate([
|
24388
24422
|
BizDoc({
|
24389
24423
|
selector: 'bizdoc-chart-view'
|
@@ -24461,6 +24495,7 @@ class Item {
|
|
24461
24495
|
this.fill = fill;
|
24462
24496
|
this.tooltipSettings = {
|
24463
24497
|
visible: true,
|
24498
|
+
border: { width: 0 },
|
24464
24499
|
format: '${name} : ${y}',
|
24465
24500
|
trackLineSettings: {},
|
24466
24501
|
textStyle: {
|
@@ -24713,7 +24748,7 @@ const CORE_COMPONENTS = [CubeParallelViewComponent, CubeExploreViewComponent, Cu
|
|
24713
24748
|
];
|
24714
24749
|
class SharedModule {
|
24715
24750
|
static forChild(config) {
|
24716
|
-
const { formats
|
24751
|
+
const { formats } = config || {};
|
24717
24752
|
registerComponents(CORE_COMPONENTS);
|
24718
24753
|
const providers = [{
|
24719
24754
|
provide: RouterImpl, useClass: !config || !config.routing || config.routing === 'ng' ? NgRouter : PaneRouter
|
@@ -24800,11 +24835,11 @@ SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
24800
24835
|
RouterModule,
|
24801
24836
|
MomentModule,
|
24802
24837
|
PickerModule,
|
24803
|
-
|
24838
|
+
SyncfusionGanttModule,
|
24804
24839
|
SyncfusionScheduleModule,
|
24805
24840
|
SyncfusionCircularGaugeModule,
|
24806
24841
|
SyncfusionChartModule,
|
24807
|
-
|
24842
|
+
SyncfusionGanttModule,
|
24808
24843
|
SyncfusionGridModule,
|
24809
24844
|
RichTextEditorModule,
|
24810
24845
|
SyncfusionSpreadsheetModule,
|
@@ -24860,11 +24895,11 @@ SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
24860
24895
|
RouterModule,
|
24861
24896
|
MomentModule,
|
24862
24897
|
PickerModule,
|
24863
|
-
|
24898
|
+
SyncfusionGanttModule,
|
24864
24899
|
SyncfusionScheduleModule,
|
24865
24900
|
SyncfusionCircularGaugeModule,
|
24866
24901
|
SyncfusionChartModule,
|
24867
|
-
|
24902
|
+
SyncfusionGanttModule,
|
24868
24903
|
SyncfusionGridModule,
|
24869
24904
|
RichTextEditorModule,
|
24870
24905
|
SyncfusionSpreadsheetModule,
|
@@ -24940,11 +24975,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImpor
|
|
24940
24975
|
RouterModule,
|
24941
24976
|
MomentModule,
|
24942
24977
|
PickerModule,
|
24943
|
-
|
24978
|
+
SyncfusionGanttModule,
|
24944
24979
|
SyncfusionScheduleModule,
|
24945
24980
|
SyncfusionCircularGaugeModule,
|
24946
24981
|
SyncfusionChartModule,
|
24947
|
-
|
24982
|
+
SyncfusionGanttModule,
|
24948
24983
|
SyncfusionGridModule,
|
24949
24984
|
RichTextEditorModule,
|
24950
24985
|
SyncfusionSpreadsheetModule,
|