@bizdoc/core 3.2.8 → 3.2.10
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 +1 -1
- package/assets/themes/deep-purple-teal.min.css +1 -1
- package/assets/themes/default.min.css +1 -1
- package/assets/themes/green.min.css +1 -1
- package/assets/themes/indigo-amber.min.css +1 -1
- package/assets/themes/indigo.min.css +1 -1
- package/esm2022/lib/admin/form/workflow/workflow.component.mjs +3 -2
- package/esm2022/lib/bizdoc.module.mjs +25 -15
- package/esm2022/lib/compose/trace/flow.component.mjs +3 -3
- package/esm2022/lib/compose/version-compare/version-compare.directive.mjs +30 -32
- package/esm2022/lib/core/configuration.mjs +1 -1
- package/esm2022/lib/core/slots/slots.component.mjs +8 -6
- package/esm2022/lib/core/tagging/edit-input.component.mjs +10 -3
- package/esm2022/lib/core/tagging/tagging.component-base.mjs +1 -1
- package/esm2022/lib/core/tagging/tagging.directive.mjs +3 -4
- package/esm2022/lib/core/window-title.service.mjs +7 -3
- package/esm2022/lib/mobile.module.mjs +5 -3
- package/esm2022/lib/modules/diagram.module.mjs +9 -5
- package/esm2022/lib/routes.mobile.mjs +3 -4
- package/fesm2022/bizdoc-core.mjs +90 -63
- package/fesm2022/bizdoc-core.mjs.map +1 -1
- package/lib/bizdoc.module.d.ts +6 -7
- package/lib/core/configuration.d.ts +3 -0
- package/lib/core/functions.d.ts +1 -1
- package/lib/core/slots/slots.component.d.ts +1 -0
- package/lib/core/tagging/edit-input.component.d.ts +7 -3
- package/lib/core/tagging/tagging.component-base.d.ts +1 -1
- package/lib/core/window-title.service.d.ts +1 -0
- package/lib/routes.mobile.d.ts +1 -1
- package/package.json +1 -1
package/fesm2022/bizdoc-core.mjs
CHANGED
@@ -43,7 +43,7 @@ import { ComponentPortal, TemplatePortal, PortalModule } from '@angular/cdk/port
|
|
43
43
|
import * as i3 from '@angular/material/snack-bar';
|
44
44
|
import { MatSnackBarModule, MAT_SNACK_BAR_DATA } from '@angular/material/snack-bar';
|
45
45
|
import * as i1$2 from '@angular/router';
|
46
|
-
import { NavigationStart as NavigationStart$1, ActivationEnd, RouterModule } from '@angular/router';
|
46
|
+
import { NavigationStart as NavigationStart$1, ActivationEnd, RouterModule, provideRouter, withDisabledInitialNavigation } from '@angular/router';
|
47
47
|
import * as i1$3 from '@angular/forms';
|
48
48
|
import { Validators, FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';
|
49
49
|
import * as i2$3 from '@angular/material/datepicker';
|
@@ -126,8 +126,8 @@ import { ToolbarType, RichTextEditorComponent, RichTextEditorModule, HtmlEditorS
|
|
126
126
|
import EventEmitter$1 from 'events';
|
127
127
|
import * as i4$3 from '@ctrl/ngx-emoji-mart';
|
128
128
|
import { PickerModule } from '@ctrl/ngx-emoji-mart';
|
129
|
-
import { Diagram, UndoRedo, ConnectorEditing, Snapping, SymbolPalette, BpmnDiagrams, PortVisibility, PortConstraints, DiagramConstraints, SelectorConstraints, NodeConstraints,
|
130
|
-
import { DiagramAction, DiagramTools as DiagramTools$1, DiagramConstraints as DiagramConstraints$1, ConnectionPointOrigin, SnapConstraints, Diagram as Diagram$1, NodeConstraints as NodeConstraints$1, ComplexHierarchicalTreeService, DiagramModule, SymbolPaletteModule, ConnectorBridgingService, LineRoutingService, BpmnDiagramsService, LayoutAnimationService, DataBindingService, FlowchartLayoutService, UndoRedoService, SnappingService, ConnectorEditingService, LineDistributionService, FlowchartLayout,
|
129
|
+
import { Diagram, UndoRedo, ConnectorEditing, Snapping, SymbolPalette, BpmnDiagrams, PortVisibility, PortConstraints, DiagramConstraints, ConnectorConstraints, SelectorConstraints, NodeConstraints, DiagramTools, Connector, Node, ToolBase, ConnectionPointOrigin as ConnectionPointOrigin$1 } from '@syncfusion/ej2-diagrams';
|
130
|
+
import { DiagramAction, DiagramTools as DiagramTools$1, DiagramConstraints as DiagramConstraints$1, ConnectionPointOrigin, SnapConstraints, Diagram as Diagram$1, NodeConstraints as NodeConstraints$1, ComplexHierarchicalTreeService, DiagramModule, SymbolPaletteModule, ConnectorBridgingService, LineRoutingService, BpmnDiagramsService, LayoutAnimationService, DataBindingService, FlowchartLayoutService, UndoRedoService, SnappingService, ConnectorEditingService, LineDistributionService, FlowchartLayout, BpmnDiagrams as BpmnDiagrams$1, LineDistribution, LineRouting, ConnectorBridging } from '@syncfusion/ej2-angular-diagrams';
|
131
131
|
import * as i5$3 from '@syncfusion/ej2-angular-schedule';
|
132
132
|
import { Schedule, Day, WorkWeek, Month, MonthAgenda, Agenda, Year, ScheduleModule, ExcelExportService as ExcelExportService$2, DayService, WorkWeekService, MonthService, MonthAgendaService, ICalendarExportService, AgendaService, YearService } from '@syncfusion/ej2-angular-schedule';
|
133
133
|
import * as i10$3 from '@syncfusion/ej2-angular-kanban';
|
@@ -12710,8 +12710,8 @@ class TaggingDirective {
|
|
12710
12710
|
this._instance.onBind(value);
|
12711
12711
|
this._instance.selected.
|
12712
12712
|
subscribe(e => this._select(e.key, e.value));
|
12713
|
-
this._overlayRef.keydownEvents().pipe(filter(k => k.key === 'Escape')).
|
12714
|
-
|
12713
|
+
// this._overlayRef.keydownEvents().pipe(filter(k => k.key === 'Escape')).
|
12714
|
+
// subscribe();
|
12715
12715
|
}
|
12716
12716
|
_value() {
|
12717
12717
|
const position = this._element.nativeElement.selectionStart;
|
@@ -12896,11 +12896,17 @@ class EditInputComponent {
|
|
12896
12896
|
_openDocument(evt) {
|
12897
12897
|
this._tag(DocumentTaggingComponent, evt, '#');
|
12898
12898
|
}
|
12899
|
+
/**
|
12900
|
+
*
|
12901
|
+
* @param component
|
12902
|
+
* @param evt
|
12903
|
+
* @param prefix
|
12904
|
+
*/
|
12899
12905
|
_tag(component, evt, prefix) {
|
12900
12906
|
const popupRef = this._popup.open(component, evt.target, { position: 'above' });
|
12901
12907
|
popupRef.opened().subscribe(e => {
|
12902
|
-
e.onBind(
|
12903
|
-
e.selected.pipe().subscribe(e => {
|
12908
|
+
e.onBind();
|
12909
|
+
e.selected.pipe(takeUntil(popupRef.closed())).subscribe(e => {
|
12904
12910
|
this._textElement.nativeElement.value += prefix + e.key;
|
12905
12911
|
const args = {};
|
12906
12912
|
args[e.key] = e.value;
|
@@ -14442,7 +14448,7 @@ class WorkflowComponent {
|
|
14442
14448
|
this.saving = false;
|
14443
14449
|
this.dirty = false;
|
14444
14450
|
this.palettes = [];
|
14445
|
-
this.diagramConstraints = DiagramConstraints.Default | DiagramConstraints.Bridging | DiagramConstraints.UserInteraction | DiagramConstraints.Zoom & ~DiagramConstraints.Tooltip;
|
14451
|
+
this.diagramConstraints = DiagramConstraints.Default | ConnectorConstraints.AllowDrop | DiagramConstraints.Bridging | DiagramConstraints.UserInteraction | DiagramConstraints.Zoom & ~DiagramConstraints.Tooltip;
|
14446
14452
|
//SymbolPalette Properties
|
14447
14453
|
this.symbolMargin = { left: 10, right: 10, top: 10, bottom: 10 };
|
14448
14454
|
this.snapSettings = {
|
@@ -14504,6 +14510,7 @@ class WorkflowComponent {
|
|
14504
14510
|
this.symbolPalette.appendTo(this.symbolPaletteEl.nativeElement);
|
14505
14511
|
this.diagram = new Diagram({
|
14506
14512
|
width: "100%", height: "100%",
|
14513
|
+
enableConnectorSplit: true,
|
14507
14514
|
snapSettings: this.snapSettings,
|
14508
14515
|
getConnectorDefaults: this.connDefaults.bind(this),
|
14509
14516
|
constraints: this.diagramConstraints,
|
@@ -15154,7 +15161,7 @@ class FlowViewComponent extends TraceBase {
|
|
15154
15161
|
this._translate = _translate;
|
15155
15162
|
this._duration = _duration;
|
15156
15163
|
this._elementRef = _elementRef;
|
15157
|
-
this.connectorType = '
|
15164
|
+
this.connectorType = 'Bezier';
|
15158
15165
|
this.tool = DiagramTools$1.ZoomPan;
|
15159
15166
|
this.diagramConstraints = DiagramConstraints$1.Pan |
|
15160
15167
|
DiagramConstraints$1.LineRouting |
|
@@ -15198,7 +15205,7 @@ class FlowViewComponent extends TraceBase {
|
|
15198
15205
|
this.diagram && this.diagram.destroy();
|
15199
15206
|
this.diagram = new Diagram$1({
|
15200
15207
|
width: '100%',
|
15201
|
-
height:
|
15208
|
+
height: 500,
|
15202
15209
|
nodes,
|
15203
15210
|
connectors,
|
15204
15211
|
layout: this.layout,
|
@@ -18603,20 +18610,24 @@ class WindowTitleService {
|
|
18603
18610
|
}
|
18604
18611
|
set(value) {
|
18605
18612
|
document.title = this._title = value ? `${this._appTitle} - ${value}` : this._appTitle;
|
18613
|
+
this._task && this._clearInterval();
|
18606
18614
|
}
|
18607
18615
|
clear() { document.title = this._appTitle; }
|
18608
18616
|
_show(message) {
|
18609
18617
|
this._message = message;
|
18610
18618
|
this._isActive = true;
|
18611
|
-
this._task &&
|
18619
|
+
this._task && this._clearInterval();
|
18612
18620
|
this._task = setInterval(() => {
|
18613
18621
|
this._mode = !this._mode;
|
18614
18622
|
document.title = this._mode ? this._title : this._message;
|
18615
18623
|
}, TIME);
|
18616
18624
|
}
|
18617
|
-
|
18625
|
+
_clearInterval() {
|
18618
18626
|
clearInterval(this._task);
|
18619
18627
|
this._task = undefined;
|
18628
|
+
}
|
18629
|
+
_clear() {
|
18630
|
+
this._clearInterval();
|
18620
18631
|
document.title = this._title;
|
18621
18632
|
this._isActive = false;
|
18622
18633
|
}
|
@@ -19117,7 +19128,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.5", ngImpor
|
|
19117
19128
|
type: Optional
|
19118
19129
|
}] }] });
|
19119
19130
|
|
19120
|
-
const DEFAULT_ROUTE = ['dashboard'];
|
19121
19131
|
class SlotsComponent {
|
19122
19132
|
get selectedTabIndex() {
|
19123
19133
|
return this._selectedTabIndex;
|
@@ -19388,11 +19398,14 @@ class SlotsComponent {
|
|
19388
19398
|
if (location.pathname.length > 1)
|
19389
19399
|
this._deserialize(location.pathname.substring(1), history.state && history.state.bizdoc ? history.state : undefined);
|
19390
19400
|
else
|
19391
|
-
this.
|
19392
|
-
commands: DEFAULT_ROUTE,
|
19393
|
-
});
|
19401
|
+
this._navToDefault();
|
19394
19402
|
this._resizing.pipe(debounceTime(150), takeUntil(this._destroy)).subscribe(this._resize.bind(this));
|
19395
19403
|
}
|
19404
|
+
_navToDefault() {
|
19405
|
+
this._router._navigate$.next({
|
19406
|
+
commands: [this._routes.find(r => r.path === '').redirectTo]
|
19407
|
+
});
|
19408
|
+
}
|
19396
19409
|
/**
|
19397
19410
|
*
|
19398
19411
|
* @param url
|
@@ -19923,7 +19936,7 @@ class SlotsComponent {
|
|
19923
19936
|
if (this.panes.length)
|
19924
19937
|
this._syncBrowserHistory();
|
19925
19938
|
else
|
19926
|
-
this.
|
19939
|
+
this._navToDefault();
|
19927
19940
|
}
|
19928
19941
|
break;
|
19929
19942
|
case 'expand':
|
@@ -22186,7 +22199,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.5", ngImpor
|
|
22186
22199
|
}]
|
22187
22200
|
}], ctorParameters: () => [{ type: i1$2.ActivatedRouteSnapshot }] });
|
22188
22201
|
|
22189
|
-
const
|
22202
|
+
const MOBILE_CONFIG = [
|
22190
22203
|
{
|
22191
22204
|
path: 'mailbox',
|
22192
22205
|
children: [
|
@@ -22251,8 +22264,7 @@ const ROUTES = [
|
|
22251
22264
|
{
|
22252
22265
|
path: 'options/:section',
|
22253
22266
|
component: MobileOptionsComponent
|
22254
|
-
}
|
22255
|
-
{ path: '', redirectTo: 'dashboard', pathMatch: 'full' }
|
22267
|
+
}
|
22256
22268
|
];
|
22257
22269
|
|
22258
22270
|
class SyncfusionLinearGaugeModule {
|
@@ -22340,7 +22352,9 @@ class SyncfusionDiagramModule {
|
|
22340
22352
|
DiagramModule,
|
22341
22353
|
SymbolPaletteModule], exports: [DiagramModule,
|
22342
22354
|
SymbolPaletteModule] }); }
|
22343
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: SyncfusionDiagramModule, providers: [ConnectorBridgingService, LineRoutingService,
|
22355
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: SyncfusionDiagramModule, providers: [ConnectorBridgingService, LineRoutingService,
|
22356
|
+
//ComplexHierarchicalTreeService,
|
22357
|
+
BpmnDiagramsService, LayoutAnimationService,
|
22344
22358
|
DataBindingService, FlowchartLayoutService,
|
22345
22359
|
UndoRedoService, SnappingService, ConnectorEditingService, LineDistributionService], imports: [CommonModule,
|
22346
22360
|
DiagramModule,
|
@@ -22360,12 +22374,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.5", ngImpor
|
|
22360
22374
|
DiagramModule,
|
22361
22375
|
SymbolPaletteModule
|
22362
22376
|
],
|
22363
|
-
providers: [ConnectorBridgingService, LineRoutingService,
|
22377
|
+
providers: [ConnectorBridgingService, LineRoutingService,
|
22378
|
+
//ComplexHierarchicalTreeService,
|
22379
|
+
BpmnDiagramsService, LayoutAnimationService,
|
22364
22380
|
DataBindingService, FlowchartLayoutService,
|
22365
22381
|
UndoRedoService, SnappingService, ConnectorEditingService, LineDistributionService]
|
22366
22382
|
}]
|
22367
22383
|
}], ctorParameters: () => [] });
|
22368
|
-
Diagram$1.Inject(FlowchartLayout
|
22384
|
+
Diagram$1.Inject(FlowchartLayout /*, HierarchicalTree, ComplexHierarchicalTree*/, BpmnDiagrams$1, LineDistribution, LineRouting, ConnectorBridging);
|
22369
22385
|
|
22370
22386
|
class SyncfusionGridModule {
|
22371
22387
|
constructor() {
|
@@ -27746,7 +27762,7 @@ class CompareNameDirective extends CompareDirectiveBase {
|
|
27746
27762
|
get structure() { return this._structure; }
|
27747
27763
|
get base() { return this._base ? this._base[this._name[0]] : null; }
|
27748
27764
|
get version() { return this._version[this._name[0]]; }
|
27749
|
-
get state() { return this._state; }
|
27765
|
+
get state() { return this._state || CompareState.Unchanged; }
|
27750
27766
|
;
|
27751
27767
|
constructor(_comparision, _context, _group, _translate, _cd, _dom, _element) {
|
27752
27768
|
super();
|
@@ -27757,7 +27773,6 @@ class CompareNameDirective extends CompareDirectiveBase {
|
|
27757
27773
|
this._cd = _cd;
|
27758
27774
|
this._dom = _dom;
|
27759
27775
|
this._element = _element;
|
27760
|
-
this._state = CompareState.Unchanged;
|
27761
27776
|
}
|
27762
27777
|
ngOnInit() {
|
27763
27778
|
if (!this._comparision)
|
@@ -27824,40 +27839,39 @@ class CompareNameDirective extends CompareDirectiveBase {
|
|
27824
27839
|
}
|
27825
27840
|
i++;
|
27826
27841
|
}
|
27827
|
-
|
27828
|
-
|
27829
|
-
|
27830
|
-
|
27842
|
+
switch (this._state) {
|
27843
|
+
case CompareState.Removed:
|
27844
|
+
// detect with base value(s)
|
27845
|
+
setTimeout(() => {
|
27846
|
+
this._cd.detectChanges();
|
27847
|
+
this._decorate('removed', 'Deleted');
|
27848
|
+
Object.assign(this._version, versionData);
|
27849
|
+
});
|
27850
|
+
break;
|
27851
|
+
case CompareState.Added:
|
27852
|
+
this._decorate('added', 'Added');
|
27853
|
+
break;
|
27854
|
+
case CompareState.Modified:
|
27855
|
+
{
|
27856
|
+
const versionHTML = this._element.nativeElement.innerHTML;
|
27857
|
+
// this._cd.markForCheck();
|
27831
27858
|
setTimeout(() => {
|
27859
|
+
// detect again with base value(s)
|
27832
27860
|
this._cd.detectChanges();
|
27833
|
-
this.
|
27861
|
+
const originalHTML = this._element.nativeElement.innerHTML;
|
27862
|
+
// restore version html
|
27863
|
+
this._element.nativeElement.innerHTML = versionHTML;
|
27864
|
+
const labelEl = this._decorate('modified', 'Modified');
|
27865
|
+
const el = document.createElement('span');
|
27866
|
+
el.className = 'original';
|
27867
|
+
el.innerHTML = originalHTML; //this._dom.sanitize();
|
27868
|
+
labelEl.append(el);
|
27869
|
+
// restore version value(s)
|
27834
27870
|
Object.assign(this._version, versionData);
|
27835
27871
|
});
|
27836
27872
|
break;
|
27837
|
-
|
27838
|
-
|
27839
|
-
break;
|
27840
|
-
case CompareState.Modified:
|
27841
|
-
{
|
27842
|
-
const versionHTML = this._element.nativeElement.innerHTML;
|
27843
|
-
// this._cd.markForCheck();
|
27844
|
-
setTimeout(() => {
|
27845
|
-
// detect again with base value(s)
|
27846
|
-
this._cd.detectChanges();
|
27847
|
-
const originalHTML = this._element.nativeElement.innerHTML;
|
27848
|
-
// restore version html
|
27849
|
-
this._element.nativeElement.innerHTML = versionHTML;
|
27850
|
-
const labelEl = this._decorate('modified', 'Modified');
|
27851
|
-
const el = document.createElement('span');
|
27852
|
-
el.className = 'original';
|
27853
|
-
el.innerHTML = originalHTML; //this._dom.sanitize();
|
27854
|
-
labelEl.append(el);
|
27855
|
-
// restore version value(s)
|
27856
|
-
Object.assign(this._version, versionData);
|
27857
|
-
});
|
27858
|
-
break;
|
27859
|
-
}
|
27860
|
-
}
|
27873
|
+
}
|
27874
|
+
}
|
27861
27875
|
}
|
27862
27876
|
_decorate(className, label) {
|
27863
27877
|
this._element.nativeElement.classList.add('compare', className);
|
@@ -31126,7 +31140,8 @@ class MobileModule {
|
|
31126
31140
|
RouterModule,
|
31127
31141
|
SharedModule], exports: [HomeMobileComponent, BrowseMobileComponent, CubeMobileViewComponent, ComposeMobileComponent, ReportMobileComponent, FormSelectorSheet, CopyDialog, SchedulerMobileComponent, NotificationsComponent,
|
31128
31142
|
ChatMobileComponent] }); }
|
31129
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: MobileModule, providers: [
|
31143
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: MobileModule, providers: [
|
31144
|
+
CanDeactivateCompose,
|
31130
31145
|
CubeItemResolveService,
|
31131
31146
|
RecipientResolveService, DocumentResolveService
|
31132
31147
|
], imports: [CommonModule,
|
@@ -31140,7 +31155,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.5", ngImpor
|
|
31140
31155
|
declarations: [DocumentInfoPageComponent, HomeMobileComponent, BrowseMobileComponent, CubeMobileViewComponent, ComposeMobileComponent, ReportMobileComponent, FormSelectorSheet, CopyDialog, SchedulerMobileComponent, NotificationsComponent,
|
31141
31156
|
ChatMobileComponent, CubeMatrixMobileComponent, DocumentViewMobileComponent, MobileOptionsComponent
|
31142
31157
|
],
|
31143
|
-
providers: [
|
31158
|
+
providers: [
|
31159
|
+
CanDeactivateCompose,
|
31144
31160
|
CubeItemResolveService,
|
31145
31161
|
RecipientResolveService, DocumentResolveService
|
31146
31162
|
],
|
@@ -37252,6 +37268,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.5", ngImpor
|
|
37252
37268
|
}]
|
37253
37269
|
}] });
|
37254
37270
|
|
37271
|
+
const DEFAULT_ROUTE = 'dashboard';
|
37255
37272
|
class BizDocModule {
|
37256
37273
|
static forChild(config) {
|
37257
37274
|
const { components, routes } = config;
|
@@ -37265,17 +37282,16 @@ class BizDocModule {
|
|
37265
37282
|
};
|
37266
37283
|
}
|
37267
37284
|
static forRoot(config) {
|
37268
|
-
const { formats, routes, components } = config;
|
37285
|
+
const { formats, routes, components, defaultRoute } = config;
|
37269
37286
|
registerComponents(components);
|
37270
|
-
routes && PANES_CONFIG.push(...routes);
|
37271
37287
|
const providers = [
|
37272
|
-
{ provide: PANES_DATA, useValue: PANES_CONFIG },
|
37273
37288
|
{
|
37274
37289
|
provide: BIZDOC_CONFIG,
|
37275
37290
|
useValue: config
|
37276
37291
|
},
|
37277
37292
|
{
|
37278
|
-
provide: MAT_DATE_FORMATS,
|
37293
|
+
provide: MAT_DATE_FORMATS,
|
37294
|
+
useValue: {
|
37279
37295
|
parse: {
|
37280
37296
|
dateInput: 'LL',
|
37281
37297
|
},
|
@@ -37288,6 +37304,17 @@ class BizDocModule {
|
|
37288
37304
|
}
|
37289
37305
|
},
|
37290
37306
|
];
|
37307
|
+
const redirectTo = defaultRoute ? isString(defaultRoute) ? defaultRoute : defaultRoute() : DEFAULT_ROUTE;
|
37308
|
+
if (isMobile()) {
|
37309
|
+
routes && MOBILE_CONFIG.push(...routes);
|
37310
|
+
MOBILE_CONFIG.push({ path: '', redirectTo, pathMatch: 'full' });
|
37311
|
+
providers.push(provideRouter(MOBILE_CONFIG, withDisabledInitialNavigation()));
|
37312
|
+
}
|
37313
|
+
else {
|
37314
|
+
routes && PANES_CONFIG.push(...routes);
|
37315
|
+
PANES_CONFIG.push({ path: '', redirectTo });
|
37316
|
+
providers.push({ provide: PANES_DATA, useValue: PANES_CONFIG });
|
37317
|
+
}
|
37291
37318
|
return {
|
37292
37319
|
ngModule: BizDocModule,
|
37293
37320
|
providers
|
@@ -37295,13 +37322,13 @@ class BizDocModule {
|
|
37295
37322
|
}
|
37296
37323
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: BizDocModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
37297
37324
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.5", ngImport: i0, type: BizDocModule, declarations: [BizDocApp], imports: [BrowserModule,
|
37298
|
-
BrowserAnimationsModule,
|
37325
|
+
BrowserAnimationsModule,
|
37326
|
+
MobileModule,
|
37299
37327
|
DesktopModule, SystemModule, SharedModule], exports: [BizDocApp,
|
37300
37328
|
SharedModule,
|
37301
37329
|
MaterialModule] }); }
|
37302
37330
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: BizDocModule, imports: [BrowserModule,
|
37303
37331
|
BrowserAnimationsModule,
|
37304
|
-
RouterModule.forRoot(ROUTES, { initialNavigation: 'disabled' }),
|
37305
37332
|
MobileModule,
|
37306
37333
|
DesktopModule,
|
37307
37334
|
SystemModule.forChild(),
|
@@ -37317,12 +37344,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.5", ngImpor
|
|
37317
37344
|
imports: [
|
37318
37345
|
BrowserModule,
|
37319
37346
|
BrowserAnimationsModule,
|
37320
|
-
RouterModule.forRoot(ROUTES, { initialNavigation: 'disabled' }),
|
37321
37347
|
MobileModule,
|
37322
37348
|
DesktopModule,
|
37323
37349
|
SystemModule.forChild(),
|
37324
37350
|
SharedModule.forChild({ routingEngine: isMobile() ? 'ng' : 'pane' })
|
37325
37351
|
],
|
37352
|
+
providers: [],
|
37326
37353
|
exports: [
|
37327
37354
|
BizDocApp,
|
37328
37355
|
SharedModule,
|