@bizdoc/core 1.14.14 → 1.14.15
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/esm2020/lib/admin/admin-dismiss.service.mjs +15 -9
- package/esm2020/lib/admin/form/workflow/node.component.mjs +26 -26
- package/esm2020/lib/admin/form/workflow/workflow.component.mjs +152 -109
- package/esm2020/lib/compose/dismiss.service.mjs +2 -2
- package/esm2020/lib/core/save-changes.dialog.mjs +18 -0
- package/esm2020/lib/core/slots/router.service.mjs +1 -1
- package/esm2020/lib/shared.module.mjs +2 -2
- package/esm2020/public-api.mjs +2 -2
- package/fesm2015/bizdoc-core.mjs +203 -153
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +201 -153
- package/fesm2020/bizdoc-core.mjs.map +1 -1
- package/lib/admin/admin-dismiss.service.d.ts +3 -3
- package/lib/admin/form/workflow/workflow.component.d.ts +5 -4
- package/lib/{compose → core}/save-changes.dialog.d.ts +0 -0
- package/lib/core/slots/router.service.d.ts +1 -1
- package/lib/shared.module.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
- package/esm2020/lib/compose/save-changes.dialog.mjs +0 -18
@@ -1,9 +1,9 @@
|
|
1
|
+
import { MatDialog } from "@angular/material/dialog";
|
1
2
|
import { CanDismiss } from "../core/configuration";
|
2
|
-
import { PromptService } from "../core/prompt.service";
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class AdminDismiss implements CanDismiss<AdminComponent> {
|
5
|
-
private
|
6
|
-
constructor(
|
5
|
+
private _dialog;
|
6
|
+
constructor(_dialog: MatDialog);
|
7
7
|
onDismiss(component: AdminComponent): Promise<boolean> | boolean;
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdminDismiss, never>;
|
9
9
|
static ɵprov: i0.ɵɵInjectableDeclaration<AdminDismiss>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { OnDestroy, ElementRef, OnInit, AfterViewInit } from '@angular/core';
|
2
|
-
import { DiagramConstraints, ConnectorModel, ScrollSettingsModel, Diagram, NodeModel, SymbolInfo, IDragEnterEventArgs, SnapSettingsModel, MarginModel, PaletteModel, Segments,
|
2
|
+
import { DiagramConstraints, ConnectorModel, ScrollSettingsModel, Diagram, NodeModel, SymbolInfo, IDragEnterEventArgs, SnapSettingsModel, MarginModel, PaletteModel, Segments, SelectorModel, RulerSettingsModel, AlignmentOptions, SymbolPalette, ISelectionChangeEventArgs } from '@syncfusion/ej2-angular-diagrams';
|
3
3
|
import { SessionService } from '../../../core/session.service';
|
4
4
|
import { FormService } from '../form.service';
|
5
5
|
import { PromptService } from '../../../core/prompt.service';
|
@@ -32,12 +32,10 @@ export declare class WorkflowComponent implements OnInit, AfterViewInit, OnDestr
|
|
32
32
|
params: {};
|
33
33
|
readonly palettes: PaletteModel[];
|
34
34
|
diagramConstraints: DiagramConstraints;
|
35
|
-
diagramTool: DiagramTools;
|
36
35
|
readonly symbolMargin: MarginModel;
|
37
36
|
readonly snapSettings: SnapSettingsModel;
|
38
37
|
readonly selectedItems: SelectorModel;
|
39
38
|
readonly scrollSettings: ScrollSettingsModel;
|
40
|
-
private _rulerColor;
|
41
39
|
readonly rulerSettings: RulerSettingsModel;
|
42
40
|
private _form;
|
43
41
|
private readonly _destroy;
|
@@ -49,7 +47,7 @@ export declare class WorkflowComponent implements OnInit, AfterViewInit, OnDestr
|
|
49
47
|
private _palettes;
|
50
48
|
private _versionNode;
|
51
49
|
nodeDefaults: (obj: NodeModel) => NodeModel;
|
52
|
-
connDefaults: (obj: ConnectorModel) =>
|
50
|
+
connDefaults: (obj: ConnectorModel) => ConnectorModel;
|
53
51
|
getSymbolInfo(symbol: NodeModel): SymbolInfo;
|
54
52
|
getSymbolDefaults(symbol: NodeModel): void;
|
55
53
|
pan(): void;
|
@@ -59,6 +57,7 @@ export declare class WorkflowComponent implements OnInit, AfterViewInit, OnDestr
|
|
59
57
|
dragEnter(args: IDragEnterEventArgs): void;
|
60
58
|
propertyChange(e: any): void;
|
61
59
|
change(): void;
|
60
|
+
collectionChange(): void;
|
62
61
|
/**
|
63
62
|
* Ctrl-s save
|
64
63
|
* @param event
|
@@ -67,6 +66,8 @@ export declare class WorkflowComponent implements OnInit, AfterViewInit, OnDestr
|
|
67
66
|
bgChange(val: string): void;
|
68
67
|
colorChange(val: string): void;
|
69
68
|
connectorTypeChange(type: Segments): void;
|
69
|
+
boldChange(): void;
|
70
|
+
italicChange(): void;
|
70
71
|
fontSizeChange(val: number): void;
|
71
72
|
strokeChange(val: string): void;
|
72
73
|
save(): Promise<any>;
|
File without changes
|
@@ -13,7 +13,7 @@ export declare class PanesRouter {
|
|
13
13
|
} & NavigationOptions>;
|
14
14
|
constructor();
|
15
15
|
navigate(commands: (string | number)[], options?: NavigationOptions): any;
|
16
|
-
navigate<T>(commands: ComponentType<T>, options?: NavigationOptions):
|
16
|
+
navigate<T>(commands: ComponentType<T>, options?: NavigationOptions): Promise<PaneRef<T>>;
|
17
17
|
get events(): import("rxjs").Observable<NavigationBase>;
|
18
18
|
collapse(): void;
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<PanesRouter, never>;
|
package/lib/shared.module.d.ts
CHANGED
@@ -136,7 +136,7 @@ import * as i132 from "./reports/arguments-component";
|
|
136
136
|
import * as i133 from "./dashboard/dashboard.component";
|
137
137
|
import * as i134 from "./dashboard/widget-item.component";
|
138
138
|
import * as i135 from "./dashboard/cube/filter/filter.component";
|
139
|
-
import * as i136 from "./
|
139
|
+
import * as i136 from "./core/save-changes.dialog";
|
140
140
|
import * as i137 from "./core/prompt/ask/ask.dialog";
|
141
141
|
import * as i138 from "./home/about/about.dialog";
|
142
142
|
import * as i139 from "./compose/action/action.dialog";
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
@@ -115,7 +115,7 @@ export { MatIconAnimate } from './lib/core/animated-icon/animated-icon.directive
|
|
115
115
|
export { registerComponents } from './lib/core/component-factory-resolver';
|
116
116
|
export { TooltipDirective } from './lib/core/popup/tooltip.directive';
|
117
117
|
export { DashboardComponent } from './lib/dashboard/dashboard.component';
|
118
|
-
export { SaveChangesDialog } from './lib/
|
118
|
+
export { SaveChangesDialog } from './lib/core/save-changes.dialog';
|
119
119
|
export { TagsComponent } from './lib/compose/tag/tags.component';
|
120
120
|
export { RecipientResolveService, DocumentResolveService } from './lib/compose/compose-resolve.service';
|
121
121
|
export { QuickCommentComponent } from './lib/compose/comments/quick-comment.component.exp';
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { Component } from "@angular/core";
|
2
|
-
import { playAudio } from "../core/functions";
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "@angular/material/button";
|
5
|
-
import * as i2 from "@angular/material/dialog";
|
6
|
-
import * as i3 from "../core/pipes/translate.pipe";
|
7
|
-
export class SaveChangesDialog {
|
8
|
-
ngOnInit() {
|
9
|
-
playAudio('alert_error-03');
|
10
|
-
}
|
11
|
-
}
|
12
|
-
SaveChangesDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SaveChangesDialog, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
13
|
-
SaveChangesDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: SaveChangesDialog, selector: "ng-component", ngImport: i0, template: " <h2 mat-dialog-title>\r\n {{'SaveChanges' | translate}}\r\n </h2>\r\n <mat-dialog-content>\r\n <p class=\"mat-body\">\r\n {{'SaveChangesAsk' | translate}}\r\n </p>\r\n </mat-dialog-content>\r\n <mat-dialog-actions>\r\n <button mat-button [mat-dialog-close]=true color=\"primary\" cdkFocusInitial>{{'Save'|translate}}</button>\r\n <button mat-button [mat-dialog-close]=\"false\">{{'ContinueEditing'|translate}}</button>\r\n <button mat-button mat-dialog-close>{{'DiscardChanges'|translate}}</button>\r\n </mat-dialog-actions>\r\n", components: [{ type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i2.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i2.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i2.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i2.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }], pipes: { "translate": i3.TranslatePipe } });
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SaveChangesDialog, decorators: [{
|
15
|
-
type: Component,
|
16
|
-
args: [{ template: " <h2 mat-dialog-title>\r\n {{'SaveChanges' | translate}}\r\n </h2>\r\n <mat-dialog-content>\r\n <p class=\"mat-body\">\r\n {{'SaveChangesAsk' | translate}}\r\n </p>\r\n </mat-dialog-content>\r\n <mat-dialog-actions>\r\n <button mat-button [mat-dialog-close]=true color=\"primary\" cdkFocusInitial>{{'Save'|translate}}</button>\r\n <button mat-button [mat-dialog-close]=\"false\">{{'ContinueEditing'|translate}}</button>\r\n <button mat-button mat-dialog-close>{{'DiscardChanges'|translate}}</button>\r\n </mat-dialog-actions>\r\n" }]
|
17
|
-
}] });
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2F2ZS1jaGFuZ2VzLmRpYWxvZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvY29tcG9zZS9zYXZlLWNoYW5nZXMuZGlhbG9nLnRzIiwiLi4vLi4vLi4vLi4vLi4vbG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