@bizdoc/core 3.2.9 → 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.
Files changed (31) 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 +1 -1
  4. package/assets/themes/deep-purple-teal.min.css +1 -1
  5. package/assets/themes/default.min.css +1 -1
  6. package/assets/themes/green.min.css +1 -1
  7. package/assets/themes/indigo-amber.min.css +1 -1
  8. package/assets/themes/indigo.min.css +1 -1
  9. package/esm2022/lib/bizdoc.module.mjs +25 -15
  10. package/esm2022/lib/compose/trace/flow.component.mjs +2 -2
  11. package/esm2022/lib/compose/version-compare/version-compare.directive.mjs +30 -32
  12. package/esm2022/lib/core/configuration.mjs +1 -1
  13. package/esm2022/lib/core/slots/slots.component.mjs +8 -6
  14. package/esm2022/lib/core/tagging/edit-input.component.mjs +10 -3
  15. package/esm2022/lib/core/tagging/tagging.component-base.mjs +1 -1
  16. package/esm2022/lib/core/tagging/tagging.directive.mjs +3 -4
  17. package/esm2022/lib/core/window-title.service.mjs +7 -3
  18. package/esm2022/lib/mobile.module.mjs +5 -3
  19. package/esm2022/lib/modules/diagram.module.mjs +9 -5
  20. package/esm2022/lib/routes.mobile.mjs +3 -4
  21. package/fesm2022/bizdoc-core.mjs +86 -60
  22. package/fesm2022/bizdoc-core.mjs.map +1 -1
  23. package/lib/bizdoc.module.d.ts +6 -7
  24. package/lib/core/configuration.d.ts +3 -0
  25. package/lib/core/functions.d.ts +1 -1
  26. package/lib/core/slots/slots.component.d.ts +1 -0
  27. package/lib/core/tagging/edit-input.component.d.ts +7 -3
  28. package/lib/core/tagging/tagging.component-base.d.ts +1 -1
  29. package/lib/core/window-title.service.d.ts +1 -0
  30. package/lib/routes.mobile.d.ts +1 -1
  31. package/package.json +1 -1
@@ -4,16 +4,15 @@ import * as i0 from "@angular/core";
4
4
  import * as i1 from "./app.component";
5
5
  import * as i2 from "@angular/platform-browser";
6
6
  import * as i3 from "@angular/platform-browser/animations";
7
- import * as i4 from "@angular/router";
8
- import * as i5 from "./mobile.module";
9
- import * as i6 from "./desktop.module";
10
- import * as i7 from "./system.module";
11
- import * as i8 from "./shared.module";
12
- import * as i9 from "./modules/material.module";
7
+ import * as i4 from "./mobile.module";
8
+ import * as i5 from "./desktop.module";
9
+ import * as i6 from "./system.module";
10
+ import * as i7 from "./shared.module";
11
+ import * as i8 from "./modules/material.module";
13
12
  export declare class BizDocModule {
14
13
  static forChild(config: BizDocChildConfig): ModuleWithProviders<BizDocModule>;
15
14
  static forRoot(config: BizDocConfig): ModuleWithProviders<BizDocModule>;
16
15
  static ɵfac: i0.ɵɵFactoryDeclaration<BizDocModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<BizDocModule, [typeof i1.BizDocApp], [typeof i2.BrowserModule, typeof i3.BrowserAnimationsModule, typeof i4.RouterModule, typeof i5.MobileModule, typeof i6.DesktopModule, typeof i7.SystemModule, typeof i8.SharedModule], [typeof i1.BizDocApp, typeof i8.SharedModule, typeof i9.MaterialModule]>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BizDocModule, [typeof i1.BizDocApp], [typeof i2.BrowserModule, typeof i3.BrowserAnimationsModule, typeof i4.MobileModule, typeof i5.DesktopModule, typeof i6.SystemModule, typeof i7.SharedModule], [typeof i1.BizDocApp, typeof i7.SharedModule, typeof i8.MaterialModule]>;
18
17
  static ɵinj: i0.ɵɵInjectorDeclaration<BizDocModule>;
19
18
  }
@@ -6,6 +6,7 @@ import { BaseColor } from './colors';
6
6
  export declare const BIZDOC_CONFIG: InjectionToken<BizDocConfig>;
7
7
  export interface PaneRoute {
8
8
  path: string;
9
+ redirectTo?: string;
9
10
  guide?: string;
10
11
  component?: Type<any>;
11
12
  resolve?: {
@@ -17,6 +18,7 @@ export interface PaneRoute {
17
18
  children?: PaneRoute[];
18
19
  policy?: OpenPolicy;
19
20
  }
21
+ export type RouteFn = () => string;
20
22
  export type ParamMap = {
21
23
  [key: string]: any;
22
24
  };
@@ -66,6 +68,7 @@ export interface BizDocConfig {
66
68
  comments?: CommentsSettings;
67
69
  maps?: GoogleMapsSettings | boolean;
68
70
  formats?: FormatsSettings;
71
+ defaultRoute?: string | RouteFn;
69
72
  routes?: PaneRoute[];
70
73
  components: Type<any>[];
71
74
  scheduler?: SchedulerSettings | boolean;
@@ -54,5 +54,5 @@ declare global {
54
54
  * @param args
55
55
  */
56
56
  export declare function queryParams(args: any): {
57
- [key: string]: string | number | Object | number[] | string[];
57
+ [key: string]: string | number | Object | string[] | number[];
58
58
  };
@@ -55,6 +55,7 @@ export declare class SlotsComponent implements OnInit, OnDestroy {
55
55
  private readonly _destroy;
56
56
  constructor(data: ExtendedRoute[], _session: SessionService, _cd: ChangeDetectorRef, _router: PanesRouter, _title: WindowTitleService, _injector: Injector);
57
57
  ngOnInit(): void;
58
+ private _navToDefault;
58
59
  /**
59
60
  *
60
61
  * @param url
@@ -1,8 +1,6 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
2
- import { ComponentType } from '@angular/cdk/portal';
3
2
  import { ChangeEventArgs, RichTextEditorComponent, ToolbarSettingsModel } from '@syncfusion/ej2-angular-richtexteditor';
4
3
  import { Popup } from '../popup/popup.service';
5
- import { TaggingComponentBase } from './tagging.component-base';
6
4
  import * as i0 from "@angular/core";
7
5
  export declare const HTML_EXP: RegExp;
8
6
  export declare class EditInputComponent implements AfterViewInit {
@@ -47,7 +45,13 @@ export declare class EditInputComponent implements AfterViewInit {
47
45
  clear(): void;
48
46
  focus(): void;
49
47
  _openDocument(evt: MouseEvent): void;
50
- _tag(component: ComponentType<TaggingComponentBase<any>>, evt: MouseEvent, prefix: string): void;
48
+ /**
49
+ *
50
+ * @param component
51
+ * @param evt
52
+ * @param prefix
53
+ */
54
+ private _tag;
51
55
  _openMention(evt: MouseEvent): void;
52
56
  _openEmoji(evt: MouseEvent): void;
53
57
  _addEmoji(event: any): void;
@@ -12,7 +12,7 @@ export declare abstract class TaggingComponentBase<T> implements AfterViewInit,
12
12
  items: Observable<T[]>;
13
13
  keyManager: ActiveDescendantKeyManager<TaggingItemDirective>;
14
14
  ngAfterViewInit(): void;
15
- abstract onBind(value: string): void;
15
+ abstract onBind(value?: string): void;
16
16
  ngOnDestroy(): void;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<TaggingComponentBase<any>, never>;
18
18
  static ɵdir: i0.ɵɵDirectiveDeclaration<TaggingComponentBase<any>, never, never, {}, {}, never, never, false, never>;
@@ -16,6 +16,7 @@ export declare class WindowTitleService {
16
16
  set(value: string): void;
17
17
  clear(): void;
18
18
  private _show;
19
+ private _clearInterval;
19
20
  private _clear;
20
21
  static ɵfac: i0.ɵɵFactoryDeclaration<WindowTitleService, never>;
21
22
  static ɵprov: i0.ɵɵInjectableDeclaration<WindowTitleService>;
@@ -1,2 +1,2 @@
1
1
  import { Routes } from '@angular/router';
2
- export declare const ROUTES: Routes;
2
+ export declare const MOBILE_CONFIG: Routes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizdoc/core",
3
- "version": "3.2.9",
3
+ "version": "3.2.10",
4
4
  "author": "Moding Ltd.",
5
5
  "homepage": "https://github.com/moding-il/bizdoc.core",
6
6
  "license": "https://github.com/moding-il/bizdoc.core/blob/master/License.md",