@bizdoc/core 2.3.44 → 2.4.0
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/bizdoc-schema.json +4 -2
- 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 +12 -8
- package/assets/themes/deep-purple-teal.min.css +1 -1
- package/assets/themes/default.min.css +12 -8
- package/assets/themes/green.min.css +1 -1
- package/assets/themes/indigo.min.css +1 -1
- package/esm2022/lib/admin/architecture/designer-element.component.mjs +7 -2
- package/esm2022/lib/admin/architecture/elements/action.component.mjs +1 -1
- package/esm2022/lib/admin/architecture/elements/attribute.component.mjs +1 -1
- package/esm2022/lib/admin/architecture/elements/control.component.mjs +1 -1
- package/esm2022/lib/admin/architecture/elements/cube.component.mjs +13 -5
- package/esm2022/lib/admin/architecture/elements/folder.component.mjs +1 -1
- package/esm2022/lib/admin/architecture/elements/form.component.mjs +1 -1
- package/esm2022/lib/admin/architecture/elements/guide.component.mjs +1 -1
- package/esm2022/lib/admin/architecture/elements/job.component.mjs +1 -1
- package/esm2022/lib/admin/architecture/elements/node.component.mjs +1 -1
- package/esm2022/lib/admin/architecture/elements/policy.component.mjs +1 -1
- package/esm2022/lib/admin/architecture/elements/report.component.mjs +1 -1
- package/esm2022/lib/admin/architecture/elements/role.component.mjs +1 -1
- package/esm2022/lib/admin/architecture/elements/rule.component.mjs +1 -1
- package/esm2022/lib/admin/architecture/elements/source.component.mjs +1 -1
- package/esm2022/lib/admin/architecture/elements/state.component.mjs +1 -1
- package/esm2022/lib/admin/architecture/elements/type.component.mjs +1 -1
- package/esm2022/lib/admin/architecture/elements/utility.component.mjs +1 -1
- package/esm2022/lib/admin/architecture/elements/view.component.mjs +1 -1
- package/esm2022/lib/admin/architecture/elements/widget.component.mjs +1 -1
- package/esm2022/lib/compose/attachments/attachments.component.mjs +4 -4
- package/esm2022/lib/compose/attachments/preview/attachment-preview.component.mjs +10 -8
- package/esm2022/lib/compose/new-menu.component.mjs +4 -8
- package/esm2022/lib/core/authentication.mjs +2 -1
- package/esm2022/lib/core/http.interceptor.mjs +35 -31
- package/esm2022/lib/core/hub.service.mjs +3 -3
- package/esm2022/lib/core/info/attachment-info.service.mjs +2 -2
- package/esm2022/lib/core/inputs/file.input.mjs +8 -6
- package/esm2022/lib/core/mailbox.service.mjs +4 -4
- package/esm2022/lib/core/models.mjs +1 -1
- package/esm2022/lib/cube/cube-view.component.mjs +3 -1
- package/esm2022/lib/home/sign/sign.component.mjs +4 -10
- package/esm2022/lib/system.module.mjs +4 -2
- package/fesm2022/bizdoc-core.mjs +106 -90
- package/fesm2022/bizdoc-core.mjs.map +1 -1
- package/lib/admin/architecture/designer-element.component.d.ts +2 -1
- package/lib/admin/architecture/elements/cube.component.d.ts +1 -0
- package/lib/compose/attachments/attachments.component.d.ts +1 -1
- package/lib/compose/attachments/preview/attachment-preview.component.d.ts +3 -3
- package/lib/core/authentication.d.ts +3 -4
- package/lib/core/http.interceptor.d.ts +1 -1
- package/lib/core/inputs/file.input.d.ts +1 -1
- package/lib/core/mailbox.service.d.ts +1 -1
- package/lib/core/models.d.ts +1 -1
- package/package.json +13 -13
| @@ -58,6 +58,7 @@ export declare class DesignerItemComponent implements AfterViewInit, OnChanges, | |
| 58 58 | 
             
                context?: CustomViewContext;
         | 
| 59 59 | 
             
                customView?: TemplateRef<any>;
         | 
| 60 60 | 
             
                readonly onSave: EventEmitter<ElementModel<any>>;
         | 
| 61 | 
            +
                readonly onContinue: EventEmitter<void>;
         | 
| 61 62 | 
             
                editContent: EditContentDirective;
         | 
| 62 63 | 
             
                addContent: AddContentDirective;
         | 
| 63 64 | 
             
                customContents: QueryList<CustomContentDirective>;
         | 
| @@ -101,5 +102,5 @@ export declare class DesignerItemComponent implements AfterViewInit, OnChanges, | |
| 101 102 | 
             
                handleKeyboardEvent(event: KeyboardEvent): void;
         | 
| 102 103 | 
             
                ngOnDestroy(): void;
         | 
| 103 104 | 
             
                static ɵfac: i0.ɵɵFactoryDeclaration<DesignerItemComponent, never>;
         | 
| 104 | 
            -
                static ɵcmp: i0.ɵɵComponentDeclaration<DesignerItemComponent, "bizdoc-designer-element", never, { "privileges": { "alias": "privileges"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "form": { "alias": "form"; "required": false; }; "context": { "alias": "context"; "required": false; }; }, { "onSave": "save"; }, ["editContent", "addContent", "widgetContent", "customContents"], never, false, never>;
         | 
| 105 | 
            +
                static ɵcmp: i0.ɵɵComponentDeclaration<DesignerItemComponent, "bizdoc-designer-element", never, { "privileges": { "alias": "privileges"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "form": { "alias": "form"; "required": false; }; "context": { "alias": "context"; "required": false; }; }, { "onSave": "save"; "onContinue": "continue"; }, ["editContent", "addContent", "widgetContent", "customContents"], never, false, never>;
         | 
| 105 106 | 
             
            }
         | 
| @@ -23,7 +23,7 @@ export declare class AttachmentsComponent implements OnChanges { | |
| 23 23 | 
             
                ngOnChanges(): void;
         | 
| 24 24 | 
             
                hasVersion(item: Attachment): boolean;
         | 
| 25 25 | 
             
                getVersions(item: Attachment): Attachment[];
         | 
| 26 | 
            -
                download(item: Attachment): void | 
| 26 | 
            +
                download(item: Attachment): Promise<void>;
         | 
| 27 27 | 
             
                previewOrDownload(item: Attachment): void;
         | 
| 28 28 | 
             
                canPreview(item: Attachment): boolean;
         | 
| 29 29 | 
             
                canDelete(item: Attachment): boolean;
         | 
| @@ -4,7 +4,7 @@ import { AnimationEvent } from '@angular/animations'; | |
| 4 4 | 
             
            import { DomSanitizer, SafeUrl } from '@angular/platform-browser';
         | 
| 5 5 | 
             
            import { Directionality, Direction } from '@angular/cdk/bidi';
         | 
| 6 6 | 
             
            import { Observable } from 'rxjs';
         | 
| 7 | 
            -
            import { Attachment } from '../../../core/models';
         | 
| 7 | 
            +
            import { Attachment, DocumentModel } from '../../../core/models';
         | 
| 8 8 | 
             
            import { MailboxService } from '../../../core/mailbox.service';
         | 
| 9 9 | 
             
            import * as i0 from "@angular/core";
         | 
| 10 10 | 
             
            export declare const FILE_PREVIEW_DIALOG_DATA: InjectionToken<PreviewData>;
         | 
| @@ -30,7 +30,7 @@ export declare class AttachmentPreview implements OnInit, AfterViewInit { | |
| 30 30 | 
             
                resize(): void;
         | 
| 31 31 | 
             
                ngOnInit(): void;
         | 
| 32 32 | 
             
                ngAfterViewInit(): void;
         | 
| 33 | 
            -
                download(): void | 
| 33 | 
            +
                download(): Promise<void>;
         | 
| 34 34 | 
             
                private _url;
         | 
| 35 35 | 
             
                rotate(): void;
         | 
| 36 36 | 
             
                onLoad(_evt: Event): void;
         | 
| @@ -44,6 +44,6 @@ export declare class AttachmentPreview implements OnInit, AfterViewInit { | |
| 44 44 | 
             
                static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentPreview, "bizdoc-attachment-preview", never, {}, {}, never, never, false, never>;
         | 
| 45 45 | 
             
            }
         | 
| 46 46 | 
             
            export interface PreviewData {
         | 
| 47 | 
            -
                 | 
| 47 | 
            +
                document: DocumentModel;
         | 
| 48 48 | 
             
                file: Attachment;
         | 
| 49 49 | 
             
            }
         | 
| @@ -1,6 +1,5 @@ | |
| 1 | 
            -
            import { Observable } from "rxjs";
         | 
| 2 1 | 
             
            export declare abstract class AuthenticationImpl {
         | 
| 3 | 
            -
                abstract  | 
| 4 | 
            -
                 | 
| 5 | 
            -
                abstract  | 
| 2 | 
            +
                abstract authenticate(): Promise<any>;
         | 
| 3 | 
            +
                disconnect(): Promise<any>;
         | 
| 4 | 
            +
                abstract getAuthToken(): Promise<string>;
         | 
| 6 5 | 
             
            }
         | 
| @@ -9,7 +9,7 @@ export declare class AppHttpInterceptor implements HttpInterceptor { | |
| 9 9 | 
             
                private _auth;
         | 
| 10 10 | 
             
                private _messaging;
         | 
| 11 11 | 
             
                private readonly _ongoingCounter$;
         | 
| 12 | 
            -
                private  | 
| 12 | 
            +
                private _authenticating$;
         | 
| 13 13 | 
             
                readonly active$: Observable<boolean>;
         | 
| 14 14 | 
             
                intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
         | 
| 15 15 | 
             
                constructor(_session: SessionService, _auth: AuthenticationImpl, _messaging: HubService);
         | 
| @@ -41,7 +41,7 @@ export declare class FileInput implements MatFormFieldControl<number | number[]> | |
| 41 41 | 
             
                constructor(_dropableElement: ElementRef, _mailbox: MailboxService, _sanitizer: DomSanitizer, _attachmentInfo: AttachmentInfo, _translate: TranslateService, _session: SessionService, _sb: PromptService, ngControl: NgControl, _model: RecipientModel<any>);
         | 
| 42 42 | 
             
                hasVersions(item: Attachment): boolean;
         | 
| 43 43 | 
             
                getVersions(item: Attachment): Attachment[];
         | 
| 44 | 
            -
                download(item: AttachmentExtra): void | 
| 44 | 
            +
                download(item: AttachmentExtra): Promise<void>;
         | 
| 45 45 | 
             
                previewOrDownload(item: AttachmentExtra): void;
         | 
| 46 46 | 
             
                canEdit(item: AttachmentExtra): boolean;
         | 
| 47 47 | 
             
                apreview(item: AttachmentExtra): void;
         | 
| @@ -22,7 +22,7 @@ export declare class MailboxService { | |
| 22 22 | 
             
                readonly changed: Observable<RecipientModel<any>>;
         | 
| 23 23 | 
             
                readonly deleted: Observable<number>;
         | 
| 24 24 | 
             
                constructor(_session: SessionService, _auth: AuthenticationImpl, messaging: HubService, _http: HttpClient);
         | 
| 25 | 
            -
                formatDownloadUrl( | 
| 25 | 
            +
                formatDownloadUrl(document: DocumentModel, file: Attachment): Promise<string>;
         | 
| 26 26 | 
             
                download(documentId: number, fileId: number): Observable<any>;
         | 
| 27 27 | 
             
                removeattachment(recipientId: number, fileId: number): Observable<any>;
         | 
| 28 28 | 
             
                read(id: number, read: boolean, folderId?: string, received?: Date): Observable<any>;
         | 
    
        package/lib/core/models.d.ts
    CHANGED
    
    | @@ -590,7 +590,7 @@ export interface CubeView { | |
| 590 590 | 
             
                chartType?: ChartType;
         | 
| 591 591 | 
             
                indicesChartType?: ChartType;
         | 
| 592 592 | 
             
            }
         | 
| 593 | 
            -
            export declare type ViewType = 'Spreadsheet' | 'Chart' | 'Pivot' | 'Grid';
         | 
| 593 | 
            +
            export declare type ViewType = 'Spreadsheet' | 'Chart' | 'Pivot' | 'Grid' | 'PivotGrid' | 'PivotChart';
         | 
| 594 594 | 
             
            export declare type ChartType = 'Pie' | 
         | 
| 595 595 | 
             
            /**  Define the line series. */
         | 
| 596 596 | 
             
            'Line' | 
         | 
    
        package/package.json
    CHANGED
    
    | @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            {
         | 
| 2 2 | 
             
              "name": "@bizdoc/core",
         | 
| 3 | 
            -
              "version": "2. | 
| 3 | 
            +
              "version": "2.4.0",
         | 
| 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",
         | 
| @@ -12,27 +12,27 @@ | |
| 12 12 | 
             
                "@ctrl/ngx-emoji-mart": "^9.2.0",
         | 
| 13 13 | 
             
                "@googlemaps/js-api-loader": "^1.16.6",
         | 
| 14 14 | 
             
                "@microsoft/signalr": "^8.0.0",
         | 
| 15 | 
            -
                "@syncfusion/ej2": "^24.2. | 
| 16 | 
            -
                "@syncfusion/ej2-angular-charts": "^24.2. | 
| 15 | 
            +
                "@syncfusion/ej2": "^24.2.9",
         | 
| 16 | 
            +
                "@syncfusion/ej2-angular-charts": "^24.2.9",
         | 
| 17 17 | 
             
                "@syncfusion/ej2-angular-circulargauge": "^24.2.3",
         | 
| 18 | 
            -
                "@syncfusion/ej2-angular-diagrams": "^24.2. | 
| 19 | 
            -
                "@syncfusion/ej2-angular-gantt": "^24.2. | 
| 20 | 
            -
                "@syncfusion/ej2-angular-grids": "^24.2. | 
| 21 | 
            -
                "@syncfusion/ej2-angular-inputs": "^24.2. | 
| 22 | 
            -
                "@syncfusion/ej2-angular-kanban": "^24.2. | 
| 18 | 
            +
                "@syncfusion/ej2-angular-diagrams": "^24.2.9",
         | 
| 19 | 
            +
                "@syncfusion/ej2-angular-gantt": "^24.2.9",
         | 
| 20 | 
            +
                "@syncfusion/ej2-angular-grids": "^24.2.9",
         | 
| 21 | 
            +
                "@syncfusion/ej2-angular-inputs": "^24.2.9",
         | 
| 22 | 
            +
                "@syncfusion/ej2-angular-kanban": "^24.2.9",
         | 
| 23 23 | 
             
                "@syncfusion/ej2-angular-lineargauge": "^24.2.3",
         | 
| 24 | 
            -
                "@syncfusion/ej2-angular-pivotview": "^24.2. | 
| 25 | 
            -
                "@syncfusion/ej2-angular-richtexteditor": "^24.2. | 
| 24 | 
            +
                "@syncfusion/ej2-angular-pivotview": "^24.2.9",
         | 
| 25 | 
            +
                "@syncfusion/ej2-angular-richtexteditor": "^24.2.9",
         | 
| 26 26 | 
             
                "@syncfusion/ej2-angular-schedule": "^24.2.8",
         | 
| 27 | 
            -
                "@syncfusion/ej2-angular-spreadsheet": "^24.2. | 
| 28 | 
            -
                "@syncfusion/ej2-base": "^24.2. | 
| 27 | 
            +
                "@syncfusion/ej2-angular-spreadsheet": "^24.2.9",
         | 
| 28 | 
            +
                "@syncfusion/ej2-base": "^24.2.8",
         | 
| 29 29 | 
             
                "ace-builds": "^1.32.7",
         | 
| 30 30 | 
             
                "cookie": "^0.6.0",
         | 
| 31 31 | 
             
                "dayjs": "^1.11.10",
         | 
| 32 32 | 
             
                "firebase": "^10.8.1",
         | 
| 33 33 | 
             
                "hammerjs": "~2",
         | 
| 34 34 | 
             
                "ngx-cookie-service": "17",
         | 
| 35 | 
            -
                "typescript": "5. | 
| 35 | 
            +
                "typescript": "5.4",
         | 
| 36 36 | 
             
                "zone.js": "^0.14.4",
         | 
| 37 37 | 
             
                "tslib": "^2.3.0"
         | 
| 38 38 | 
             
              },
         |