@bizdoc/core 2.4.5 → 2.4.7

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.
@@ -141,7 +141,7 @@ import { SignatureModule } from '@syncfusion/ej2-angular-inputs';
141
141
  import * as i8$4 from '@syncfusion/ej2-angular-lineargauge';
142
142
  import { LinearGaugeModule, AnnotationsService, GaugeTooltipService } from '@syncfusion/ej2-angular-lineargauge';
143
143
  import * as i7$4 from '@syncfusion/ej2-angular-charts';
144
- import { ChartModule, AccumulationChartModule, SparklineModule, RangeNavigatorModule, RangeTooltipService, AccumulationDistributionIndicatorService, FunnelSeriesService, StackingStepAreaSeriesService, PieSeriesService, PyramidSeriesService, 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, SparklineTooltipService, SplineRangeAreaSeriesService, AccumulationAnnotationService, AccumulationDataLabelService, AccumulationLegendService, AccumulationSelectionService, AccumulationTooltipService, AreaSeries, LineSeries, DateTime, RangeTooltip, RangeNavigator, SparklineTooltip, Sparkline, PieSeries, PyramidSeries, FunnelSeries, AccumulationDataLabel, AccumulationTooltip, AccumulationAnnotation, AccumulationLegend, AccumulationSelection, AccumulationChart as AccumulationChart$1, Highlight, StripLine, BoxAndWhiskerSeries, Category, Tooltip as Tooltip$1, Legend, Selection, Zoom, Crosshair, DataLabel, BarSeries, BubbleSeries, ColumnSeries, PolarSeries, RadarSeries, SplineSeries, SplineAreaSeries, ScatterSeries, StackingStepAreaSeries, StackingLineSeries, StackingAreaSeries, StackingColumnSeries, StackingBarSeries, StepAreaSeries, StepLineSeries, ChartAnnotation, Chart as Chart$1, ChartComponent } from '@syncfusion/ej2-angular-charts';
144
+ import { ChartModule, AccumulationChartModule, SparklineModule, RangeNavigatorModule, BulletChartModule, RangeTooltipService, AccumulationDistributionIndicatorService, FunnelSeriesService, StackingStepAreaSeriesService, PieSeriesService, PyramidSeriesService, 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, SparklineTooltipService, SplineRangeAreaSeriesService, AccumulationAnnotationService, AccumulationDataLabelService, AccumulationLegendService, AccumulationSelectionService, AccumulationTooltipService, BulletTooltipService, AreaSeries, LineSeries, DateTime, RangeTooltip, RangeNavigator, SparklineTooltip, Sparkline, PieSeries, PyramidSeries, FunnelSeries, AccumulationDataLabel, AccumulationTooltip, AccumulationAnnotation, AccumulationLegend, AccumulationSelection, AccumulationChart as AccumulationChart$1, Highlight, StripLine, BoxAndWhiskerSeries, Category, Tooltip as Tooltip$1, Legend, Selection, Zoom, Crosshair, DataLabel, BarSeries, BubbleSeries, ColumnSeries, PolarSeries, RadarSeries, SplineSeries, SplineAreaSeries, ScatterSeries, StackingStepAreaSeries, StackingLineSeries, StackingAreaSeries, StackingColumnSeries, StackingBarSeries, StepAreaSeries, StepLineSeries, ChartAnnotation, Chart as Chart$1, ChartComponent } from '@syncfusion/ej2-angular-charts';
145
145
  import * as i8$3 from '@syncfusion/ej2-angular-grids';
146
146
  import { GridModule, PagerModule, ExcelExportService, AggregateService, FreezeService, GroupService, PageService, ResizeService, SortService, SelectionService as SelectionService$1, ExcelExport, Sort, Group, Page, Freeze, Selection as Selection$1, Aggregate, Grid as Grid$1, GridComponent } from '@syncfusion/ej2-angular-grids';
147
147
  import * as i6$6 from '@syncfusion/ej2-angular-circulargauge';
@@ -6053,10 +6053,12 @@ const FAMILY_SVG = {
6053
6053
  'SAP': 'sap.svg',
6054
6054
  'Mfg': 'qad.svg',
6055
6055
  'HiBob': 'hibob.svg',
6056
- 'Priority': 'priority.svg',
6056
+ 'Priority': 'priority.png',
6057
6057
  'ActiveDirectory': 'windows.svg',
6058
6058
  'Amazon': 'amazon.svg',
6059
6059
  'Google': 'google.svg',
6060
+ 'Hadoop': 'Hadoop.svg',
6061
+ 'Workday': 'Workday.svg',
6060
6062
  'Okta': 'okta.svg'
6061
6063
  };
6062
6064
  const CAP_NAME_CHAR = /[A-Z]+/g, NON_NAME_CHAR = /[^\w\-_.]+/g;
@@ -17501,29 +17503,11 @@ class OverlayFormComponent {
17501
17503
  this._destroy.next();
17502
17504
  }
17503
17505
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: OverlayFormComponent, deps: [{ token: SessionService }, { token: RouterImpl }, { token: i0.Injector }, { token: BizDocComponentFactoryResolver }, { token: GuideService }, { token: HubService }, { token: DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
17504
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.4", type: OverlayFormComponent, selector: "ng-component", viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: `
17505
- <h1 class="mat-h1 row">{{form.title}}
17506
- @if(form.guide) {
17507
- <span class="divider"></span>
17508
- <button mat-icon-button (click)="guide()" [bizdocTooltip]="'Help'|translate"><mat-icon>support</mat-icon></button>
17509
- }
17510
- </h1>
17511
- <hr />
17512
- <mat-progress-bar mode="indeterminate" [style.visibility]="creating ? 'visible':'hidden'"></mat-progress-bar>
17513
- <ng-container #container></ng-container>`, isInline: true, styles: [":host{display:flex;flex-direction:column}\n"], dependencies: [{ kind: "component", type: i7$2.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "component", type: i8.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i10.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
17506
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.4", type: OverlayFormComponent, selector: "ng-component", viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: "<h1 class=\"mat-h1 row\">\r\n {{form.title}}\r\n @if(form.guide) {\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"guide()\" [bizdocTooltip]=\"'Help'|translate\"><mat-icon>help</mat-icon></button>\r\n }\r\n</h1>\r\n<hr />\r\n<mat-progress-bar mode=\"indeterminate\" [style.visibility]=\"creating ? 'visible':'hidden'\"></mat-progress-bar>\r\n<ng-container #container></ng-container>\r\n", styles: [":host{display:flex;flex-direction:column}\n"], dependencies: [{ kind: "component", type: i7$2.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "component", type: i8.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i10.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
17514
17507
  }
17515
17508
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: OverlayFormComponent, decorators: [{
17516
17509
  type: Component,
17517
- args: [{ template: `
17518
- <h1 class="mat-h1 row">{{form.title}}
17519
- @if(form.guide) {
17520
- <span class="divider"></span>
17521
- <button mat-icon-button (click)="guide()" [bizdocTooltip]="'Help'|translate"><mat-icon>support</mat-icon></button>
17522
- }
17523
- </h1>
17524
- <hr />
17525
- <mat-progress-bar mode="indeterminate" [style.visibility]="creating ? 'visible':'hidden'"></mat-progress-bar>
17526
- <ng-container #container></ng-container>`, host: {}, styles: [":host{display:flex;flex-direction:column}\n"] }]
17510
+ args: [{ host: {}, template: "<h1 class=\"mat-h1 row\">\r\n {{form.title}}\r\n @if(form.guide) {\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"guide()\" [bizdocTooltip]=\"'Help'|translate\"><mat-icon>help</mat-icon></button>\r\n }\r\n</h1>\r\n<hr />\r\n<mat-progress-bar mode=\"indeterminate\" [style.visibility]=\"creating ? 'visible':'hidden'\"></mat-progress-bar>\r\n<ng-container #container></ng-container>\r\n", styles: [":host{display:flex;flex-direction:column}\n"] }]
17527
17511
  }], ctorParameters: () => [{ type: SessionService }, { type: RouterImpl }, { type: i0.Injector }, { type: BizDocComponentFactoryResolver }, { type: GuideService }, { type: HubService }, { type: undefined, decorators: [{
17528
17512
  type: Inject,
17529
17513
  args: [DIALOG_DATA]
@@ -17575,7 +17559,6 @@ class DocumentFactory {
17575
17559
  },
17576
17560
  error: e => {
17577
17561
  this._error(e);
17578
- overlayRef.detach();
17579
17562
  observe.error();
17580
17563
  },
17581
17564
  complete: () => {
@@ -17584,15 +17567,16 @@ class DocumentFactory {
17584
17567
  }
17585
17568
  });
17586
17569
  else {
17587
- observe.error();
17588
17570
  overlayRef.detach();
17571
+ observe.complete();
17589
17572
  }
17590
17573
  });
17591
17574
  merge(overlayRef.backdropClick(), overlayRef.keydownEvents().pipe(filter$1(k => k.key === 'Escape'))).
17592
17575
  subscribe(() => {
17593
- observe.error();
17576
+ observe.complete();
17594
17577
  overlayRef.detach();
17595
17578
  });
17579
+ break;
17596
17580
  default:
17597
17581
  this._mailbox.create(formId).subscribe({
17598
17582
  next: m => observe.next(m),
@@ -18834,10 +18818,10 @@ class AppHttpInterceptor {
18834
18818
  else
18835
18819
  return next.handle(request);
18836
18820
  }), catchError((e) => {
18837
- // there is already ongoing authentication,
18838
- if (this._authenticating$)
18839
- return this._authenticating$;
18840
- else if (e.status === 401) {
18821
+ if (e.status === 401) {
18822
+ // there is already ongoing authentication,
18823
+ if (this._authenticating$)
18824
+ return this._authenticating$;
18841
18825
  eraseCookie(IMPERSONATE_COOKIE_NAME);
18842
18826
  this._authenticating$ =
18843
18827
  // give AuthenticationImpl to
@@ -21029,22 +21013,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImpor
21029
21013
  /** form selector component */
21030
21014
  class FormSelectorSheet {
21031
21015
  /** form selector ctor */
21032
- constructor(_dialog, _bsRef, _sb, _factory, _router, _session) {
21016
+ constructor(_dialog, _bsRef, _sb, _factory, _router, session) {
21033
21017
  this._dialog = _dialog;
21034
21018
  this._bsRef = _bsRef;
21035
21019
  this._sb = _sb;
21036
21020
  this._factory = _factory;
21037
21021
  this._router = _router;
21038
- this._session = _session;
21039
21022
  this._done = new Subject();
21040
21023
  this.done = this._done.asObservable();
21041
- this.forms = _session.profile.forms.filter(f => f.creatable);
21024
+ this.forms = session.profile.forms.filter(f => f.creatable);
21042
21025
  }
21043
21026
  open(form) {
21044
21027
  this._factory.create(form).subscribe({
21045
21028
  next: i => this._nav(i),
21029
+ complete: () => this._bsRef.dismiss()
21046
21030
  });
21047
- this._bsRef.dismiss();
21048
21031
  }
21049
21032
  copy(event) {
21050
21033
  event.preventDefault();
@@ -22133,7 +22116,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImpor
22133
22116
 
22134
22117
  class SyncfusionChartModule {
22135
22118
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: SyncfusionChartModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
22136
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.4", ngImport: i0, type: SyncfusionChartModule, imports: [ChartModule, AccumulationChartModule, SparklineModule, RangeNavigatorModule], exports: [ChartModule, AccumulationChartModule, SparklineModule, RangeNavigatorModule] }); }
22119
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.4", ngImport: i0, type: SyncfusionChartModule, imports: [ChartModule, AccumulationChartModule, SparklineModule, RangeNavigatorModule, BulletChartModule], exports: [ChartModule, AccumulationChartModule, SparklineModule, RangeNavigatorModule, BulletChartModule] }); }
22137
22120
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: SyncfusionChartModule, providers: [RangeTooltipService, AccumulationDistributionIndicatorService, FunnelSeriesService, StackingStepAreaSeriesService, PieSeriesService, PyramidSeriesService, LineSeriesService, ScatterSeriesService, ColumnSeriesService, SplineSeriesService,
22138
22121
  SplineAreaSeriesService, StripLineService, AreaSeriesService, ScrollBarService, StepLineSeriesService,
22139
22122
  StepAreaSeriesService, StackingColumnSeriesService, StackingLineSeriesService, StackingAreaSeriesService,
@@ -22143,13 +22126,14 @@ class SyncfusionChartModule {
22143
22126
  RangeAreaSeriesService, PolarSeriesService, RadarSeriesService, DateTimeCategoryService,
22144
22127
  MultiLevelLabelService, ParetoSeriesService, TooltipRenderService,
22145
22128
  SparklineTooltipService, SplineRangeAreaSeriesService,
22146
- AccumulationAnnotationService, AccumulationDataLabelService, AccumulationLegendService, AccumulationSelectionService, AccumulationTooltipService], imports: [ChartModule, AccumulationChartModule, SparklineModule, RangeNavigatorModule, ChartModule, AccumulationChartModule, SparklineModule, RangeNavigatorModule] }); }
22129
+ AccumulationAnnotationService, AccumulationDataLabelService, AccumulationLegendService, AccumulationSelectionService, AccumulationTooltipService,
22130
+ BulletTooltipService /*, BulletChartLegendService*/], imports: [ChartModule, AccumulationChartModule, SparklineModule, RangeNavigatorModule, BulletChartModule, ChartModule, AccumulationChartModule, SparklineModule, RangeNavigatorModule, BulletChartModule] }); }
22147
22131
  }
22148
22132
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: SyncfusionChartModule, decorators: [{
22149
22133
  type: NgModule,
22150
22134
  args: [{
22151
- imports: [ChartModule, AccumulationChartModule, SparklineModule, RangeNavigatorModule],
22152
- exports: [ChartModule, AccumulationChartModule, SparklineModule, RangeNavigatorModule],
22135
+ imports: [ChartModule, AccumulationChartModule, SparklineModule, RangeNavigatorModule, BulletChartModule],
22136
+ exports: [ChartModule, AccumulationChartModule, SparklineModule, RangeNavigatorModule, BulletChartModule],
22153
22137
  providers: [RangeTooltipService, AccumulationDistributionIndicatorService, FunnelSeriesService, StackingStepAreaSeriesService, PieSeriesService, PyramidSeriesService, LineSeriesService, ScatterSeriesService, ColumnSeriesService, SplineSeriesService,
22154
22138
  SplineAreaSeriesService, StripLineService, AreaSeriesService, ScrollBarService, StepLineSeriesService,
22155
22139
  StepAreaSeriesService, StackingColumnSeriesService, StackingLineSeriesService, StackingAreaSeriesService,
@@ -22159,9 +22143,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImpor
22159
22143
  RangeAreaSeriesService, PolarSeriesService, RadarSeriesService, DateTimeCategoryService,
22160
22144
  MultiLevelLabelService, ParetoSeriesService, TooltipRenderService,
22161
22145
  SparklineTooltipService, SplineRangeAreaSeriesService,
22162
- AccumulationAnnotationService, AccumulationDataLabelService, AccumulationLegendService, AccumulationSelectionService, AccumulationTooltipService]
22146
+ AccumulationAnnotationService, AccumulationDataLabelService, AccumulationLegendService, AccumulationSelectionService, AccumulationTooltipService,
22147
+ BulletTooltipService /*, BulletChartLegendService*/]
22163
22148
  }]
22164
22149
  }] });
22150
+ //BulletChart.Inject(BulletTooltip);
22165
22151
  RangeNavigator.Inject(AreaSeries, LineSeries, DateTime, RangeTooltip);
22166
22152
  Sparkline.Inject(SparklineTooltip);
22167
22153
  AccumulationChart$1.Inject(PieSeries, PyramidSeries, FunnelSeries, AccumulationDataLabel, AccumulationTooltip, AccumulationAnnotation, AccumulationLegend, AccumulationSelection);
@@ -30451,7 +30437,7 @@ const CONTROLS_COMPONENTS$1 = [SignatureField, AddressField, ChecklistField, Rad
30451
30437
  /** common BizDoc components */
30452
30438
  class SharedModule {
30453
30439
  static forChild(config) {
30454
- const { formats, routing, routes } = config || {};
30440
+ const { formats, routingEngine, routes } = config || {};
30455
30441
  routes && PANES_CONFIG.push(...routes);
30456
30442
  registerComponents(CORE_COMPONENTS);
30457
30443
  registerComponents(CONTROLS_COMPONENTS$1);
@@ -30468,9 +30454,9 @@ class SharedModule {
30468
30454
  }
30469
30455
  }
30470
30456
  }];
30471
- if (routing)
30457
+ if (routingEngine)
30472
30458
  providers.push({
30473
- provide: RouterImpl, useClass: routing === 'ng' ? NgRouter : PaneRouter
30459
+ provide: RouterImpl, useClass: routingEngine === 'ng' ? NgRouter : PaneRouter
30474
30460
  });
30475
30461
  return {
30476
30462
  ngModule: SharedModule,
@@ -36976,7 +36962,7 @@ class BizDocModule {
36976
36962
  MobileModule,
36977
36963
  DesktopModule,
36978
36964
  SystemModule.forChild(),
36979
- SharedModule.forChild({ routing: isMobile() ? 'ng' : 'pane' }), SharedModule,
36965
+ SharedModule.forChild({ routingEngine: isMobile() ? 'ng' : 'pane' }), SharedModule,
36980
36966
  MaterialModule] }); }
36981
36967
  }
36982
36968
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImport: i0, type: BizDocModule, decorators: [{
@@ -36992,7 +36978,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImpor
36992
36978
  MobileModule,
36993
36979
  DesktopModule,
36994
36980
  SystemModule.forChild(),
36995
- SharedModule.forChild({ routing: isMobile() ? 'ng' : 'pane' })
36981
+ SharedModule.forChild({ routingEngine: isMobile() ? 'ng' : 'pane' })
36996
36982
  ],
36997
36983
  exports: [
36998
36984
  BizDocApp,