@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.
Files changed (43) hide show
  1. package/assets/themes/brown.min.css +1 -1
  2. package/assets/themes/dark.min.css +1 -1
  3. package/assets/themes/deep-purple-light-blue.min.css +3 -3
  4. package/assets/themes/default.min.css +1 -1
  5. package/assets/themes/green.min.css +1 -1
  6. package/assets/themes/indigo.min.css +1 -1
  7. package/esm2020/lib/admin/form/workflow/workflow.component.mjs +3 -2
  8. package/esm2020/lib/browse/browse-items.component.mjs +7 -3
  9. package/esm2020/lib/browse/browse.pane.component.mjs +3 -1
  10. package/esm2020/lib/core/translations.mjs +4 -4
  11. package/esm2020/lib/cube/accum/accum.component.mjs +7 -3
  12. package/esm2020/lib/cube/chart/chart.component.mjs +12 -4
  13. package/esm2020/lib/cube/cube-view.component.mjs +10 -15
  14. package/esm2020/lib/cube/declarations.mjs +1 -1
  15. package/esm2020/lib/cube/grid/grid.component.mjs +4 -5
  16. package/esm2020/lib/cube/grid/spreadsheet.component.mjs +12 -12
  17. package/esm2020/lib/cube/parallel/item.mjs +2 -1
  18. package/esm2020/lib/cube/pivot/pivot.component.mjs +5 -2
  19. package/esm2020/lib/cube/sum/sum.component.mjs +2 -2
  20. package/esm2020/lib/dashboard/cube/cube-chart.widget.mjs +2 -1
  21. package/esm2020/lib/home/search.service.mjs +8 -5
  22. package/esm2020/lib/modules/chart.module.mjs +6 -6
  23. package/esm2020/lib/modules/gantt.module.mjs +17 -0
  24. package/esm2020/lib/routes.mobile.mjs +1 -1
  25. package/esm2020/lib/shared.module.mjs +9 -10
  26. package/esm2020/lib/views/cube/chart.component.mjs +1 -1
  27. package/fesm2015/bizdoc-core.mjs +95 -60
  28. package/fesm2015/bizdoc-core.mjs.map +1 -1
  29. package/fesm2020/bizdoc-core.mjs +95 -60
  30. package/fesm2020/bizdoc-core.mjs.map +1 -1
  31. package/lib/browse/browse-items.component.d.ts +1 -1
  32. package/lib/cube/accum/accum.component.d.ts +1 -0
  33. package/lib/cube/chart/chart.component.d.ts +4 -2
  34. package/lib/cube/cube-view.component.d.ts +4 -5
  35. package/lib/cube/declarations.d.ts +1 -0
  36. package/lib/cube/grid/grid.component.d.ts +2 -3
  37. package/lib/cube/grid/spreadsheet.component.d.ts +1 -0
  38. package/lib/cube/parallel/item.d.ts +2 -2
  39. package/lib/cube/sum/sum.component.d.ts +1 -1
  40. package/lib/modules/chart.module.d.ts +1 -1
  41. package/lib/modules/gantt.module.d.ts +7 -0
  42. package/lib/shared.module.d.ts +9 -10
  43. package/package.json +1 -2
@@ -115,7 +115,7 @@ import * as i24 from '@angular/flex-layout/extended';
115
115
  import * as i4$1 from '@ctrl/ngx-emoji-mart';
116
116
  import { PickerModule } from '@ctrl/ngx-emoji-mart';
117
117
  import * as i8$2 from '@syncfusion/ej2-angular-charts';
118
- import { AccumulationChart, FunnelSeries, AccumulationDataLabel, AccumulationTooltip, AccumulationLegend, Export, PieSeries, ChartModule, AccumulationChartAllModule, BulletChartAllModule, 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, SparklineAllModule } from '@syncfusion/ej2-angular-charts';
118
+ 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';
119
119
  import * as XLSX from 'xlsx';
120
120
  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';
121
121
  import * as i6$5 from '@syncfusion/ej2-angular-grids';
@@ -132,7 +132,7 @@ import { KanbanComponent, KanbanModule } from '@syncfusion/ej2-angular-kanban';
132
132
  import { CircularGaugeModule, AnnotationsService, GaugeTooltipService, LegendService as LegendService$1, CircularGauge, Annotations, GaugeTooltip, CircularGaugeComponent, Legend as Legend$1 } from '@syncfusion/ej2-angular-circulargauge';
133
133
  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';
134
134
  import * as i7$6 from '@syncfusion/ej2-angular-gantt';
135
- import { Gantt, SelectionService as SelectionService$3, DayMarkersService, GanttModule } from '@syncfusion/ej2-angular-gantt';
135
+ import { GanttModule, Gantt, SelectionService as SelectionService$3, DayMarkersService } from '@syncfusion/ej2-angular-gantt';
136
136
  import player from 'lottie-web/build/player/lottie';
137
137
 
138
138
  const expandListItemAnimation = trigger('detailExpand', [
@@ -1715,8 +1715,8 @@ const STRINGS = {
1715
1715
  MailVersionUpdate: '#{0} updated by {1}',
1716
1716
  NewComment: 'Someone commented...',
1717
1717
  Commented: '{0} commented',
1718
- DeleteFile: 'Delete File',
1719
- DeleteFileAsk: 'Are you sure you want to delete this file?',
1718
+ DeleteFile: 'Delete Attachment',
1719
+ DeleteFileAsk: 'Are you sure you want to delete this attachment?',
1720
1720
  DeleteCommentAsk: 'Are you sure you want to delete this comment?',
1721
1721
  GrantAccess: 'Grant Access',
1722
1722
  GrantTip: 'May sign in on your behalf, view and take action',
@@ -1822,7 +1822,7 @@ const STRINGS = {
1822
1822
  Form: 'Form',
1823
1823
  ActionAsk: 'Are you sure you want to {0}?',
1824
1824
  Discard: 'Discard',
1825
- DiscardAsk: 'Are you sure you want to permenently discard form?',
1825
+ DiscardAsk: 'Are you sure you want to permenently discard this document?',
1826
1826
  DiscardSelected: 'Discard {0} item(s)',
1827
1827
  TypeHere: 'Type here',
1828
1828
  ChatHere: 'Chat here',
@@ -7057,7 +7057,7 @@ class BrowseItemsComponent {
7057
7057
  }
7058
7058
  }
7059
7059
  /**
7060
- * execute function per item in collection
7060
+ * execute function per selected item
7061
7061
  * @param fn
7062
7062
  * @param error
7063
7063
  */
@@ -7132,7 +7132,11 @@ class BrowseItemsComponent {
7132
7132
  }
7133
7133
  sendAll(action, args) {
7134
7134
  const params = queryParams(args);
7135
- this._forEach(i => this._mailbox.send(i.id, i.version, i.formId, null, action, params).pipe(tap(() => (i.folderId !== this.folderId) && this.dataSource.data.remove(i))), 'SendErr').
7135
+ this._forEach(i => this._mailbox.send(i.id, i.version, i.formId, null, action, params).
7136
+ pipe(tap(() => {
7137
+ if (i.folderId !== this.folderId)
7138
+ this.dataSource.data.remove(i);
7139
+ })), 'SendErr').
7136
7140
  subscribe(is => is.length > 1 ? this._sb.toast('SentMany', is.length.toString(), this._actionAdjective(action, true)) :
7137
7141
  this._sb.toast('Sent', is[0].number, this._actionAdjective(action)));
7138
7142
  }
@@ -9362,6 +9366,8 @@ class BrowsePaneComponent {
9362
9366
  this.filterType = p['type'];
9363
9367
  if (this.filterType === 'flagged')
9364
9368
  this._pane.title = this._translate.get('Flagged');
9369
+ else if (p['tag'])
9370
+ this._pane.title = this._translate.get('Tags');
9365
9371
  this.filters = p;
9366
9372
  });
9367
9373
  const events = this._router.events.pipe(takeUntil(this._destroy));
@@ -9514,6 +9520,7 @@ class CubeAccumulationChartComponent {
9514
9520
  this.endAngle = 360;
9515
9521
  this.innerRadius = '0';
9516
9522
  }
9523
+ this.execute();
9517
9524
  }
9518
9525
  textRender(e) {
9519
9526
  e.text = e.point.x;
@@ -9536,10 +9543,13 @@ class CubeAccumulationChartComponent {
9536
9543
  *
9537
9544
  */
9538
9545
  ngOnChanges(changes) {
9539
- if (changes['filters'])
9546
+ if (changes['filters'] && !changes['filters'].firstChange)
9540
9547
  this.execute();
9541
9548
  else if (changes['height'])
9542
- this.accumchart && this.accumchart.accumulationResize();
9549
+ this.resize();
9550
+ }
9551
+ resize() {
9552
+ this.accumchart && this.accumchart.accumulationResize();
9543
9553
  }
9544
9554
  execute() {
9545
9555
  this.loadingChange.emit(true);
@@ -9681,6 +9691,8 @@ class CubeChartComponent {
9681
9691
  };
9682
9692
  this.tooltip = {
9683
9693
  enable: true,
9694
+ enableAnimation: false,
9695
+ border: { width: 0 },
9684
9696
  textStyle: {
9685
9697
  fontFamily: FONT_FAMILY
9686
9698
  }
@@ -9727,15 +9739,19 @@ class CubeChartComponent {
9727
9739
  if (this.chartType === 'Line' || this.chartType === 'Spline')
9728
9740
  this.crosshair.enable = true;
9729
9741
  this.primaryYAxis.labelFormat = this.currencyCode ? 'c0' : 'n0';
9742
+ this.execute();
9730
9743
  }
9731
9744
  /**
9732
9745
  *
9733
9746
  */
9734
9747
  ngOnChanges(changes) {
9735
- if (changes['filters'])
9748
+ if (changes['filters'] && !changes['filters'].firstChange)
9736
9749
  this.execute();
9737
9750
  else if (changes['height'])
9738
- this.chart && this.chart.chartResize();
9751
+ this.resize();
9752
+ }
9753
+ resize() {
9754
+ this.chart && this.chart.chartResize();
9739
9755
  }
9740
9756
  execute() {
9741
9757
  this.loadingChange.emit(true);
@@ -9847,7 +9863,7 @@ class CubeChartComponent {
9847
9863
  }
9848
9864
  CubeChartComponent.nextId = 0;
9849
9865
  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 });
9850
- 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 });
9866
+ 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 });
9851
9867
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CubeChartComponent, decorators: [{
9852
9868
  type: Component,
9853
9869
  args: [{
@@ -9872,6 +9888,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImpor
9872
9888
  type: Input
9873
9889
  }], filters: [{
9874
9890
  type: Input
9891
+ }], yAxis: [{
9892
+ type: Input
9875
9893
  }], chartType: [{
9876
9894
  type: Input
9877
9895
  }], indexChartType: [{
@@ -9960,10 +9978,11 @@ class CubeGridComponent {
9960
9978
  // prepare
9961
9979
  this._prepare =
9962
9980
  forkJoin(promises).toPromise();
9981
+ this.execute();
9963
9982
  }
9964
9983
  /** */
9965
9984
  ngOnChanges(changes) {
9966
- if (changes['filters'])
9985
+ if (changes['filters'] && !changes['filters'].firstChange)
9967
9986
  this.execute();
9968
9987
  else if (changes['height'])
9969
9988
  this.resize();
@@ -10065,7 +10084,7 @@ class CubeGridComponent {
10065
10084
  }
10066
10085
  CubeGridComponent.nextId = 0;
10067
10086
  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 });
10068
- 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", 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, 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"] });
10087
+ 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"] });
10069
10088
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CubeGridComponent, decorators: [{
10070
10089
  type: Component,
10071
10090
  args: [{ selector: 'bizdoc-cube-grid', template: '', host: {
@@ -10079,8 +10098,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImpor
10079
10098
  type: Input
10080
10099
  }], xAxis: [{
10081
10100
  type: Input
10082
- }], yAxis: [{
10083
- type: Input
10084
10101
  }], series: [{
10085
10102
  type: Input
10086
10103
  }], indices: [{
@@ -10204,6 +10221,8 @@ class CubePivotComponent {
10204
10221
  }
10205
10222
  },
10206
10223
  tooltip: {
10224
+ enableAnimation: false,
10225
+ border: { width: 0 },
10207
10226
  textStyle: {
10208
10227
  fontFamily: FONT_FAMILY
10209
10228
  }
@@ -10249,6 +10268,7 @@ class CubePivotComponent {
10249
10268
  currency: this.currencyCode,
10250
10269
  });
10251
10270
  });
10271
+ this.execute();
10252
10272
  }
10253
10273
  _getIndexTitle(name) {
10254
10274
  return this._cube.indices.find(i => i.name === name).title;
@@ -10261,7 +10281,7 @@ class CubePivotComponent {
10261
10281
  *
10262
10282
  */
10263
10283
  ngOnChanges(changes) {
10264
- if (changes['filters'])
10284
+ if (changes['filters'] && !changes['filters'].firstChange)
10265
10285
  this.execute();
10266
10286
  else if (changes['height'] || changes['width'])
10267
10287
  this.resize();
@@ -10572,16 +10592,20 @@ class CubeSpreadsheetComponent {
10572
10592
  promises.push(observe);
10573
10593
  this._prepare = Promise.all(promises);
10574
10594
  }
10595
+ this.execute();
10575
10596
  }
10576
10597
  ngOnChanges(changes) {
10577
- if (changes['filters'])
10598
+ if (changes['filters'] && !changes['filters'].firstChange)
10578
10599
  this.execute();
10579
10600
  else if (changes['height'] || changes['width'])
10580
- if (this.spreadsheet) {
10581
- this.spreadsheet.height = this.height;
10582
- this.spreadsheet.width = this.width;
10583
- this.spreadsheet.resize();
10584
- }
10601
+ this.resize();
10602
+ }
10603
+ resize() {
10604
+ if (this.spreadsheet) {
10605
+ this.spreadsheet.height = this.height;
10606
+ this.spreadsheet.width = this.width;
10607
+ this.spreadsheet.resize();
10608
+ }
10585
10609
  }
10586
10610
  execute() {
10587
10611
  this.loadingChange.emit(true);
@@ -10798,16 +10822,12 @@ class CubeSpreadsheetComponent {
10798
10822
  }
10799
10823
  CubeSpreadsheetComponent.nextId = 0;
10800
10824
  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 });
10801
- 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, styles: ["::ng-deep .e-spreadsheet .e-dragfill-ddb{display:none!important}\n"] });
10825
+ 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 });
10802
10826
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CubeSpreadsheetComponent, decorators: [{
10803
10827
  type: Component,
10804
10828
  args: [{
10805
10829
  selector: 'bizdoc-cube-spreadsheet',
10806
10830
  template: '',
10807
- styles: [`::ng-deep .e-spreadsheet .e-dragfill-ddb {
10808
- display: none !important;
10809
- }
10810
- `],
10811
10831
  host: {
10812
10832
  class: 'cube-view'
10813
10833
  }
@@ -10842,10 +10862,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImpor
10842
10862
 
10843
10863
  /** */
10844
10864
  class CubeViewComponent {
10845
- constructor(_viewContainer, _factoryResolver, _cd) {
10865
+ constructor(_viewContainer, _factoryResolver) {
10846
10866
  this._viewContainer = _viewContainer;
10847
10867
  this._factoryResolver = _factoryResolver;
10848
- this._cd = _cd;
10849
10868
  this.axes = {};
10850
10869
  this.explore = new EventEmitter();
10851
10870
  this.loadingChange = new EventEmitter();
@@ -10867,13 +10886,11 @@ class CubeViewComponent {
10867
10886
  this._instance.ngOnChanges({ 'height': {}, 'width': {} });
10868
10887
  });
10869
10888
  }
10889
+ ngAfterViewInit() {
10890
+ setTimeout(this._createView.bind(this));
10891
+ }
10870
10892
  ngOnChanges(changes) {
10871
- if (changes['view']) {
10872
- // dom
10873
- setTimeout(this._createView.bind(this));
10874
- }
10875
- else if (changes['axes'])
10876
- this.refresh();
10893
+ changes['axes'] && !changes['axes'].firstChange && this.refresh();
10877
10894
  }
10878
10895
  _createView() {
10879
10896
  this._viewDestroy.next();
@@ -10897,7 +10914,6 @@ class CubeViewComponent {
10897
10914
  comp.width = `${dim.width - 4}px`;
10898
10915
  comp.series = this.view.series;
10899
10916
  comp.indices = this.view.indices;
10900
- comp.yAxis = this.cube.yAxis;
10901
10917
  break;
10902
10918
  }
10903
10919
  case 'Spreadsheet':
@@ -10925,16 +10941,15 @@ class CubeViewComponent {
10925
10941
  default:
10926
10942
  {
10927
10943
  let comp = this._attach(CubeChartComponent);
10928
- comp.height = `${dim.height}px`;
10944
+ //comp.height = `${dim.height}px`;
10929
10945
  comp.chartType = this.view.chartType;
10930
10946
  comp.series = this.view.series;
10931
10947
  comp.indices = this.view.indices;
10948
+ comp.yAxis = this.cube.yAxis;
10932
10949
  comp.indexChartType = this.view.indexChartType;
10933
10950
  }
10934
10951
  }
10935
10952
  }
10936
- //this._cd.detectChanges();
10937
- setTimeout(() => this._instance.execute());
10938
10953
  }
10939
10954
  _attach(comp) {
10940
10955
  const factory = this._factoryResolver.resolveComponentFactory(comp);
@@ -10975,7 +10990,7 @@ class CubeViewComponent {
10975
10990
  this._viewDestroy.complete();
10976
10991
  }
10977
10992
  }
10978
- CubeViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CubeViewComponent, deps: [{ token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
10993
+ 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 });
10979
10994
  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 });
10980
10995
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CubeViewComponent, decorators: [{
10981
10996
  type: Component,
@@ -10990,7 +11005,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImpor
10990
11005
  CubeSpreadsheetComponent
10991
11006
  ]
10992
11007
  }]
10993
- }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { axes: [{
11008
+ }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { axes: [{
10994
11009
  type: Input
10995
11010
  }], explore: [{
10996
11011
  type: Output
@@ -12134,7 +12149,8 @@ class WorkflowComponent {
12134
12149
  nodes, connectors
12135
12150
  },
12136
12151
  policy: OpenPolicy.Tab,
12137
- expandable: false
12152
+ expandable: false,
12153
+ group: ''
12138
12154
  }).then(p => {
12139
12155
  p.instance.change.
12140
12156
  pipe(takeUntil(this._destroy)).subscribe(() => {
@@ -16651,11 +16667,14 @@ class SearchService {
16651
16667
  if (u.title.toLowerCase().indexOf(val) > -1)
16652
16668
  xs.push({ path: `admin/utilities/${u.name}`, title: u.title, section: this._translate.get('Utilities'), icon: u.icon });
16653
16669
  });
16670
+ profile.options.tags &&
16671
+ profile.options.tags.forEach(t => {
16672
+ if (t.toLowerCase().indexOf(val) > -1)
16673
+ xs.push({ path: `mailbox/f?tag=${t}`, title: t, section: this._translate.get('Tags'), icon: 'bookmark' });
16674
+ });
16654
16675
  //profile.contacts.forEach()
16655
- //if (this._guide.guides) this._guide.guides.forEach(g => {
16656
- // if (g.mode !== 'Private' && (g.title.toLowerCase().indexOf(value) > -1 ||
16657
- // g.steps.some(s => (s.title && s.title.toLowerCase().indexOf(value) > -1) ||
16658
- // s.content.toLowerCase().indexOf(value) > -1)))
16676
+ //this._guide.guides.forEach(g => {
16677
+ // if (g.mode !== 'Private' && g.title.toLowerCase().indexOf(value) > -1)
16659
16678
  // xs.push({ fn: this._guide.start, args: [g.name], title: g.title, section: this._translate.get('Guides'), icon: 'help' })
16660
16679
  //});
16661
16680
  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' })));
@@ -18970,7 +18989,7 @@ const ROUTES = [
18970
18989
  class SyncfusionChartModule {
18971
18990
  }
18972
18991
  SyncfusionChartModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SyncfusionChartModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
18973
- SyncfusionChartModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SyncfusionChartModule, imports: [ChartModule, AccumulationChartAllModule, BulletChartAllModule], exports: [ChartModule, AccumulationChartAllModule, BulletChartAllModule] });
18992
+ SyncfusionChartModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SyncfusionChartModule, imports: [ChartModule, AccumulationChartAllModule, SparklineAllModule], exports: [ChartModule, AccumulationChartAllModule, SparklineAllModule] });
18974
18993
  SyncfusionChartModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SyncfusionChartModule, providers: [LineSeriesService, ScatterSeriesService, ColumnSeriesService, SplineSeriesService,
18975
18994
  SplineAreaSeriesService, StripLineService, AreaSeriesService, ScrollBarService, StepLineSeriesService,
18976
18995
  StepAreaSeriesService, StackingColumnSeriesService, StackingLineSeriesService, StackingAreaSeriesService,
@@ -18980,12 +18999,12 @@ SyncfusionChartModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", v
18980
18999
  RangeAreaSeriesService, PolarSeriesService, RadarSeriesService, DateTimeCategoryService,
18981
19000
  MultiLevelLabelService, ParetoSeriesService, TooltipRenderService,
18982
19001
  ExportService,
18983
- AccumulationAnnotationService, AccumulationDataLabelService, AccumulationLegendService, AccumulationSelectionService, AccumulationTooltipService], imports: [[ChartModule, AccumulationChartAllModule, BulletChartAllModule], ChartModule, AccumulationChartAllModule, BulletChartAllModule] });
19002
+ AccumulationAnnotationService, AccumulationDataLabelService, AccumulationLegendService, AccumulationSelectionService, AccumulationTooltipService], imports: [[ChartModule, AccumulationChartAllModule, SparklineAllModule], ChartModule, AccumulationChartAllModule, SparklineAllModule] });
18984
19003
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SyncfusionChartModule, decorators: [{
18985
19004
  type: NgModule,
18986
19005
  args: [{
18987
- imports: [ChartModule, AccumulationChartAllModule, BulletChartAllModule],
18988
- exports: [ChartModule, AccumulationChartAllModule, BulletChartAllModule],
19006
+ imports: [ChartModule, AccumulationChartAllModule, SparklineAllModule],
19007
+ exports: [ChartModule, AccumulationChartAllModule, SparklineAllModule],
18989
19008
  providers: [LineSeriesService, ScatterSeriesService, ColumnSeriesService, SplineSeriesService,
18990
19009
  SplineAreaSeriesService, StripLineService, AreaSeriesService, ScrollBarService, StepLineSeriesService,
18991
19010
  StepAreaSeriesService, StackingColumnSeriesService, StackingLineSeriesService, StackingAreaSeriesService,
@@ -19125,6 +19144,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImpor
19125
19144
  }]
19126
19145
  }] });
19127
19146
 
19147
+ class SyncfusionGanttModule {
19148
+ }
19149
+ SyncfusionGanttModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SyncfusionGanttModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
19150
+ SyncfusionGanttModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SyncfusionGanttModule, imports: [GanttModule], exports: [GanttModule] });
19151
+ SyncfusionGanttModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SyncfusionGanttModule, providers: [], imports: [[GanttModule], GanttModule] });
19152
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SyncfusionGanttModule, decorators: [{
19153
+ type: NgModule,
19154
+ args: [{
19155
+ imports: [GanttModule],
19156
+ exports: [GanttModule],
19157
+ providers: []
19158
+ }]
19159
+ }] });
19160
+
19128
19161
  let AssignActionComponent = class AssignActionComponent {
19129
19162
  constructor(_fb, _session, _accounts) {
19130
19163
  this._fb = _fb;
@@ -19887,6 +19920,7 @@ class CubeChartAnalysisWidget extends CubeAnalysisBase {
19887
19920
  };
19888
19921
  this.tooltip = {
19889
19922
  enable: true,
19923
+ enableAnimation: false,
19890
19924
  shared: false,
19891
19925
  textStyle: {
19892
19926
  fontFamily: FONT_FAMILY
@@ -24055,7 +24089,7 @@ class CubeSumComponent {
24055
24089
  this.forward = false;
24056
24090
  this.Math = Math;
24057
24091
  }
24058
- ngOnChanges(changes) {
24092
+ ngOnChanges(_) {
24059
24093
  this._cube = this._session.profile.cubes.find(c => c.name === this.cube) || this._session.profile.cubes[0];
24060
24094
  this.currencyCode = this._cube.currencyCode;
24061
24095
  this.digitsInfo = this._service.digitsInfo;
@@ -24552,7 +24586,7 @@ let CubeChartViewComponent = class CubeChartViewComponent extends CubeBase {
24552
24586
  }
24553
24587
  };
24554
24588
  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 });
24555
- 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]" }] });
24589
+ 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]" }] });
24556
24590
  CubeChartViewComponent = __decorate([
24557
24591
  BizDoc({
24558
24592
  selector: 'bizdoc-chart-view'
@@ -24630,6 +24664,7 @@ class Item {
24630
24664
  this.fill = fill;
24631
24665
  this.tooltipSettings = {
24632
24666
  visible: true,
24667
+ border: { width: 0 },
24633
24668
  format: '${name} : ${y}',
24634
24669
  trackLineSettings: {},
24635
24670
  textStyle: {
@@ -24882,7 +24917,7 @@ const CORE_COMPONENTS = [CubeParallelViewComponent, CubeExploreViewComponent, Cu
24882
24917
  ];
24883
24918
  class SharedModule {
24884
24919
  static forChild(config) {
24885
- const { formats, maps } = config || {};
24920
+ const { formats } = config || {};
24886
24921
  registerComponents(CORE_COMPONENTS);
24887
24922
  const providers = [{
24888
24923
  provide: RouterImpl, useClass: !config || !config.routing || config.routing === 'ng' ? NgRouter : PaneRouter
@@ -24969,11 +25004,11 @@ SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
24969
25004
  RouterModule,
24970
25005
  MomentModule,
24971
25006
  PickerModule,
24972
- GanttModule,
25007
+ SyncfusionGanttModule,
24973
25008
  SyncfusionScheduleModule,
24974
25009
  SyncfusionCircularGaugeModule,
24975
25010
  SyncfusionChartModule,
24976
- SparklineAllModule,
25011
+ SyncfusionGanttModule,
24977
25012
  SyncfusionGridModule,
24978
25013
  RichTextEditorModule,
24979
25014
  SyncfusionSpreadsheetModule,
@@ -25029,11 +25064,11 @@ SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
25029
25064
  RouterModule,
25030
25065
  MomentModule,
25031
25066
  PickerModule,
25032
- GanttModule,
25067
+ SyncfusionGanttModule,
25033
25068
  SyncfusionScheduleModule,
25034
25069
  SyncfusionCircularGaugeModule,
25035
25070
  SyncfusionChartModule,
25036
- SparklineAllModule,
25071
+ SyncfusionGanttModule,
25037
25072
  SyncfusionGridModule,
25038
25073
  RichTextEditorModule,
25039
25074
  SyncfusionSpreadsheetModule,
@@ -25109,11 +25144,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImpor
25109
25144
  RouterModule,
25110
25145
  MomentModule,
25111
25146
  PickerModule,
25112
- GanttModule,
25147
+ SyncfusionGanttModule,
25113
25148
  SyncfusionScheduleModule,
25114
25149
  SyncfusionCircularGaugeModule,
25115
25150
  SyncfusionChartModule,
25116
- SparklineAllModule,
25151
+ SyncfusionGanttModule,
25117
25152
  SyncfusionGridModule,
25118
25153
  RichTextEditorModule,
25119
25154
  SyncfusionSpreadsheetModule,