nuxeo-development-framework 4.0.9 → 4.1.1
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/bundles/nuxeo-development-framework.umd.js +253 -213
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.js +2 -2
- package/esm2015/lib/components/documents/components/attachments-list/attachments-list.component.js +6 -3
- package/esm2015/lib/components/file-manger/components/create-modal/create-modal.component.js +238 -200
- package/esm2015/lib/components/file-manger/file-manger.module.js +10 -6
- package/esm2015/lib/shared/components/nuxeo-dialog/nuxeo.dialog.js +2 -2
- package/fesm2015/nuxeo-development-framework.js +231 -187
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/components/documents/components/attachments-list/attachments-list.component.d.ts +2 -1
- package/lib/components/file-manger/components/create-modal/create-modal.component.d.ts +13 -19
- package/lib/components/file-manger/file-manger.module.d.ts +2 -1
- package/package.json +1 -1
|
@@ -2441,7 +2441,7 @@
|
|
|
2441
2441
|
return NdfNuxeoDialog;
|
|
2442
2442
|
}(BaseComponent));
|
|
2443
2443
|
NdfNuxeoDialog.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: NdfNuxeoDialog, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2444
|
-
NdfNuxeoDialog.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: NdfNuxeoDialog, selector: "ndf-nuxeo-dialog", inputs: { dialogTitle: "dialogTitle", subTitle: "subTitle", loaderMode: "loaderMode" }, queries: [{ propertyName: "contentTemplate", first: true, predicate: ["contentTemplate"], descendants: true }, { propertyName: "actionsTemplate", first: true, predicate: ["actionsTemplate"], descendants: true }], viewQueries: [{ propertyName: "dialogBody", first: true, predicate: ["dialogBody"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<div SetDirRtl class=\"ndf-dialog-wrapper flex flex-col\">\r\n\t<div\r\n\t\tclass=\"dialog-header flex h-20 p-6 justify-between items-center w-full bg-vapor text-blue-munsell text-xl not-italic font-bold leading-7\"\r\n\t>\r\n\t\t<div class=\"flex flex-col\">\r\n\t\t\t<span>{{ data?.dialogConfig?.title || dialogTitle }}</span>\r\n\t\t\t<span class=\"text-base font-normal\"\r\n\t\t\t\t>{{ data?.dialogConfig?.subTitle || subTitle }}</span\r\n\t\t\t>\r\n\t\t</div>\r\n\t\t<button\r\n\t\t\tclass=\"flex items-center justify-center rounded-full bg-anti-flash-white w-10 h-10\"\r\n\t\t\t(click)=\"executeAction()\"\r\n\t\t\tmatTooltip=\"{{'BUTTONS.CLOSE' | translate}}\"\r\n\t\t>\r\n\t\t\t<mat-icon class=\"icon-size-3.5\" [svgIcon]=\"'icons:cancel-icon'\">\r\n\t\t\t</mat-icon>\r\n\t\t</button>\r\n\t</div>\r\n\t<div\r\n\t\t#dialogBody\r\n\t\tclass=\"dialog-body flex flex-col gap-y-4 p-6 overflow-y-auto relative z-99\"\r\n\t\t[ngClass]=\"{'overflow-hidden': loading}\"\r\n\t>\r\n\t\t<ng-container\r\n\t\t\t*ngTemplateOutlet=\"data?.dialogConfig?.contentTemplate || contentTemplate\"\r\n\t\t></ng-container>\r\n\t\t<ng-container *ngIf=\"loading\">\r\n\t\t\t<div\r\n\t\t\t\tclass=\"overlay flex w-full h-full items-center justify-center absolute left-0 bottom-0 right-0 bg-gray-300 opacity-40 z-999\"\r\n\t\t\t\t[ngStyle]=\"{'top': dialogBodyTopOffset + 'px'}\"\r\n\t\t\t></div>\r\n\t\t\t<div\r\n\t\t\t\tclass=\"overlay flex w-full h-full items-center justify-center absolute left-0 bottom-0 right-0 z-9999\"\r\n\t\t\t\t*ngIf=\"loaderMode === 'spinner'\"\r\n\t\t\t\t[ngStyle]=\"{'top': dialogBodyTopOffset + 'px'}\"\r\n\t\t\t>\r\n\t\t\t\t<mat-spinner\r\n\t\t\t\t\t[value]=\"90\"\r\n\t\t\t\t\t[strokeWidth]=\"4\"\r\n\t\t\t\t\toverlay=\"true\"\r\n\t\t\t\t\t[diameter]=\"40\"\r\n\t\t\t\t\tcolor=\"primary\"\r\n\t\t\t\t>\r\n\t\t\t\t</mat-spinner>\r\n\t\t\t</div>\r\n\t\t\t<div\r\n\t\t\t\tclass=\"block w-full h-px absolute inset-0 z-9999\"\r\n\t\t\t\t*ngIf=\"loaderMode === 'progressBar'\"\r\n\t\t\t>\r\n\t\t\t\t<mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\r\n\t\t\t</div>\r\n\t\t</ng-container>\r\n\t</div>\r\n\t<div class=\"flex w-full justify-end p-6 pt-0 gap-x-4\">\r\n\t\t<button class=\"cancelation-button\" (click)=\"executeAction()\">\r\n\t\t\t{{\"BUTTONS.CANCEL\" | translate}}\r\n\t\t</button>\r\n\t\t<ng-container\r\n\t\t\t*ngTemplateOutlet=\"(data?.dialogConfig?.actionsTemplate || actionsTemplate); context: { dialog: this }\"\r\n\t\t></ng-container>\r\n\t</div>\r\n</div>\r\n", styles: ["::ng-deep .ndf-dialog .mat-dialog-container{overflow:hidden!important;border-radius:8px!important}.ndf-dialog-wrapper .dialog-body{height:
|
|
2444
|
+
NdfNuxeoDialog.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: NdfNuxeoDialog, selector: "ndf-nuxeo-dialog", inputs: { dialogTitle: "dialogTitle", subTitle: "subTitle", loaderMode: "loaderMode" }, queries: [{ propertyName: "contentTemplate", first: true, predicate: ["contentTemplate"], descendants: true }, { propertyName: "actionsTemplate", first: true, predicate: ["actionsTemplate"], descendants: true }], viewQueries: [{ propertyName: "dialogBody", first: true, predicate: ["dialogBody"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<div SetDirRtl class=\"ndf-dialog-wrapper flex flex-col h-full\">\r\n\t<div\r\n\t\tclass=\"dialog-header flex h-20 p-6 justify-between items-center w-full bg-vapor text-blue-munsell text-xl not-italic font-bold leading-7\"\r\n\t>\r\n\t\t<div class=\"flex flex-col\">\r\n\t\t\t<span>{{ data?.dialogConfig?.title || dialogTitle }}</span>\r\n\t\t\t<span class=\"text-base font-normal\"\r\n\t\t\t\t>{{ data?.dialogConfig?.subTitle || subTitle }}</span\r\n\t\t\t>\r\n\t\t</div>\r\n\t\t<button\r\n\t\t\tclass=\"flex items-center justify-center rounded-full bg-anti-flash-white w-10 h-10\"\r\n\t\t\t(click)=\"executeAction()\"\r\n\t\t\tmatTooltip=\"{{'BUTTONS.CLOSE' | translate}}\"\r\n\t\t>\r\n\t\t\t<mat-icon class=\"icon-size-3.5\" [svgIcon]=\"'icons:cancel-icon'\">\r\n\t\t\t</mat-icon>\r\n\t\t</button>\r\n\t</div>\r\n\t<div\r\n\t\t#dialogBody\r\n\t\tclass=\"dialog-body flex flex-col gap-y-4 p-6 overflow-y-auto relative z-99\"\r\n\t\t[ngClass]=\"{'overflow-hidden': loading}\"\r\n\t>\r\n\t\t<ng-container\r\n\t\t\t*ngTemplateOutlet=\"data?.dialogConfig?.contentTemplate || contentTemplate\"\r\n\t\t></ng-container>\r\n\t\t<ng-container *ngIf=\"loading\">\r\n\t\t\t<div\r\n\t\t\t\tclass=\"overlay flex w-full h-full items-center justify-center absolute left-0 bottom-0 right-0 bg-gray-300 opacity-40 z-999\"\r\n\t\t\t\t[ngStyle]=\"{'top': dialogBodyTopOffset + 'px'}\"\r\n\t\t\t></div>\r\n\t\t\t<div\r\n\t\t\t\tclass=\"overlay flex w-full h-full items-center justify-center absolute left-0 bottom-0 right-0 z-9999\"\r\n\t\t\t\t*ngIf=\"loaderMode === 'spinner'\"\r\n\t\t\t\t[ngStyle]=\"{'top': dialogBodyTopOffset + 'px'}\"\r\n\t\t\t>\r\n\t\t\t\t<mat-spinner\r\n\t\t\t\t\t[value]=\"90\"\r\n\t\t\t\t\t[strokeWidth]=\"4\"\r\n\t\t\t\t\toverlay=\"true\"\r\n\t\t\t\t\t[diameter]=\"40\"\r\n\t\t\t\t\tcolor=\"primary\"\r\n\t\t\t\t>\r\n\t\t\t\t</mat-spinner>\r\n\t\t\t</div>\r\n\t\t\t<div\r\n\t\t\t\tclass=\"block w-full h-px absolute inset-0 z-9999\"\r\n\t\t\t\t*ngIf=\"loaderMode === 'progressBar'\"\r\n\t\t\t>\r\n\t\t\t\t<mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\r\n\t\t\t</div>\r\n\t\t</ng-container>\r\n\t</div>\r\n\t<div class=\"flex w-full justify-end p-6 pt-0 gap-x-4\">\r\n\t\t<button class=\"cancelation-button\" (click)=\"executeAction()\">\r\n\t\t\t{{\"BUTTONS.CANCEL\" | translate}}\r\n\t\t</button>\r\n\t\t<ng-container\r\n\t\t\t*ngTemplateOutlet=\"(data?.dialogConfig?.actionsTemplate || actionsTemplate); context: { dialog: this }\"\r\n\t\t></ng-container>\r\n\t</div>\r\n</div>\r\n", styles: ["::ng-deep .ndf-dialog .mat-dialog-container{overflow:hidden!important;border-radius:8px!important}.ndf-dialog-wrapper .dialog-body{height:100%;max-height:calc(100vh - 208px)}:host{height:100%;display:block}\n"], components: [{ type: i2__namespace$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: SetDirRtlDirective, selector: "[SetDirRtl]" }, { type: i2__namespace$2.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltipPosition", "matTooltipDisabled", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { type: i4__namespace$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], pipes: { "translate": i1__namespace.TranslatePipe } });
|
|
2445
2445
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: NdfNuxeoDialog, decorators: [{
|
|
2446
2446
|
type: i0.Component,
|
|
2447
2447
|
args: [{
|
|
@@ -6665,7 +6665,7 @@
|
|
|
6665
6665
|
return CorrespondenceRelationListComponent;
|
|
6666
6666
|
}());
|
|
6667
6667
|
CorrespondenceRelationListComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CorrespondenceRelationListComponent, deps: [{ token: CorrespondenceRelationService }, { token: i1__namespace$3.MatDialog }, { token: ViewerFilesService }, { token: DocumentsService }, { token: AdapterService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
6668
|
-
CorrespondenceRelationListComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: CorrespondenceRelationListComponent, selector: "cts-correspondence-relation-list", inputs: { correspondence_id: "correspondence_id", reload: "reload" }, ngImport: i0__namespace, template: "<div class=\"relations-list\" *ngIf=\"relateddoc.length > 0\">\r\n <ng-container>\r\n <div *ngFor=\"let group of relateddoc; first as isFirst\">\r\n <mat-accordion class=\"example-headers-align\" multi>\r\n <mat-expansion-panel [expanded]=\"isFirst\">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>\r\n {{ group[0] }}\r\n </mat-panel-title>\r\n </mat-expansion-panel-header>\r\n <ng-template matExpansionPanelContent>\r\n <mat-list>\r\n <div class=\"mat-list-items\" *ngFor=\"let item of group[1]\">\r\n <cts-item-list\r\n [item]=\"item\"\r\n [title]=\"item.title\"\r\n [iconname]=\"'link'\"\r\n [actions]=\"menu_actions\"\r\n (actionclicked)=\"handleMenuItemClicked($event)\"\r\n (itemClicked)=\"showCorrespondenceInViewer(item)\"\r\n [moreclasses]=\"'link-relation'\"\r\n ></cts-item-list>\r\n </div>\r\n </mat-list>\r\n </ng-template>\r\n </mat-expansion-panel>\r\n </mat-accordion>\r\n </div>\r\n </ng-container>\r\n</div>\r\n<div class=\"nocontent\" *ngIf=\"relateddoc.length === 0\">\r\n <p>{{ \"correspondence-relation.nocontent\" | translate }}</p>\r\n</div>\r\n", styles: [".relations-list{border:1px solid #eee}.relations-list .mat-expansion-panel{box-shadow:none!important}.relations-list .mat-expansion-panel-header{border-bottom:1px solid #d9dce2;background-color:#f5f6f8;height:50px!important}.relations-list .mat-expansion-panel-header:hover{background-color:#f5f6f8!important}.relations-list .mat-expansion-panel-header:focus{background-color:#f5f6f8!important}.relations-list .mat-expansion-panel-header-title{font-weight:500}.relations-list .mat-accordion .mat-expansion-panel{border-radius:0!important}.relations-list .mat-expansion-panel-body{padding:0!important}.nocontent{color:gray;padding:10px;font-size:14px;border:1px solid #d9dce2}.nocontent p{margin:0;text-align:center}\n"], components: [{ type: i6__namespace$3.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { type: i6__namespace$3.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["expandedHeight", "collapsedHeight"] }, { type: i2__namespace$4.MatList, selector: "mat-list, mat-action-list", inputs: ["disableRipple", "disabled"], exportAs: ["matList"] }, { type: ItemListComponent, selector: "cts-item-list", inputs: ["item", "iconname", "title", "actions", "isselected", "moreclasses"], outputs: ["itemClicked", "actionclicked"] }], directives: [{ type: i4__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6__namespace$3.MatAccordion, selector: "mat-accordion", inputs: ["multi", "displayMode", "togglePosition", "hideToggle"], exportAs: ["matAccordion"] }, { type: i6__namespace$3.MatExpansionPanelTitle, selector: "mat-panel-title" }, { type: i6__namespace$3.MatExpansionPanelContent, selector: "ng-template[matExpansionPanelContent]" }], pipes: { "translate": i1__namespace.TranslatePipe }, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
6668
|
+
CorrespondenceRelationListComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: CorrespondenceRelationListComponent, selector: "cts-correspondence-relation-list", inputs: { correspondence_id: "correspondence_id", reload: "reload" }, ngImport: i0__namespace, template: "<div class=\"relations-list\" *ngIf=\"relateddoc.length > 0\">\r\n <ng-container>\r\n <div *ngFor=\"let group of relateddoc; first as isFirst\">\r\n <mat-accordion class=\"example-headers-align\" multi>\r\n <mat-expansion-panel [expanded]=\"isFirst\">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>\r\n {{('vocabulary.VOC_CorrespondenceRelationsNames.' + group[0]) | translate }}\r\n </mat-panel-title>\r\n </mat-expansion-panel-header>\r\n <ng-template matExpansionPanelContent>\r\n <mat-list>\r\n <div class=\"mat-list-items\" *ngFor=\"let item of group[1]\">\r\n <cts-item-list\r\n [item]=\"item\"\r\n [title]=\"item.title\"\r\n [iconname]=\"'link'\"\r\n [actions]=\"menu_actions\"\r\n (actionclicked)=\"handleMenuItemClicked($event)\"\r\n (itemClicked)=\"showCorrespondenceInViewer(item)\"\r\n [moreclasses]=\"'link-relation'\"\r\n ></cts-item-list>\r\n </div>\r\n </mat-list>\r\n </ng-template>\r\n </mat-expansion-panel>\r\n </mat-accordion>\r\n </div>\r\n </ng-container>\r\n</div>\r\n<div class=\"nocontent\" *ngIf=\"relateddoc.length === 0\">\r\n <p>{{ \"correspondence-relation.nocontent\" | translate }}</p>\r\n</div>\r\n", styles: [".relations-list{border:1px solid #eee}.relations-list .mat-expansion-panel{box-shadow:none!important}.relations-list .mat-expansion-panel-header{border-bottom:1px solid #d9dce2;background-color:#f5f6f8;height:50px!important}.relations-list .mat-expansion-panel-header:hover{background-color:#f5f6f8!important}.relations-list .mat-expansion-panel-header:focus{background-color:#f5f6f8!important}.relations-list .mat-expansion-panel-header-title{font-weight:500}.relations-list .mat-accordion .mat-expansion-panel{border-radius:0!important}.relations-list .mat-expansion-panel-body{padding:0!important}.nocontent{color:gray;padding:10px;font-size:14px;border:1px solid #d9dce2}.nocontent p{margin:0;text-align:center}\n"], components: [{ type: i6__namespace$3.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { type: i6__namespace$3.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["expandedHeight", "collapsedHeight"] }, { type: i2__namespace$4.MatList, selector: "mat-list, mat-action-list", inputs: ["disableRipple", "disabled"], exportAs: ["matList"] }, { type: ItemListComponent, selector: "cts-item-list", inputs: ["item", "iconname", "title", "actions", "isselected", "moreclasses"], outputs: ["itemClicked", "actionclicked"] }], directives: [{ type: i4__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6__namespace$3.MatAccordion, selector: "mat-accordion", inputs: ["multi", "displayMode", "togglePosition", "hideToggle"], exportAs: ["matAccordion"] }, { type: i6__namespace$3.MatExpansionPanelTitle, selector: "mat-panel-title" }, { type: i6__namespace$3.MatExpansionPanelContent, selector: "ng-template[matExpansionPanelContent]" }], pipes: { "translate": i1__namespace.TranslatePipe }, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
6669
6669
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CorrespondenceRelationListComponent, decorators: [{
|
|
6670
6670
|
type: i0.Component,
|
|
6671
6671
|
args: [{
|
|
@@ -15982,6 +15982,7 @@
|
|
|
15982
15982
|
this.batchList = false;
|
|
15983
15983
|
this.dontDelete = false;
|
|
15984
15984
|
this.canDelete = true;
|
|
15985
|
+
this.keepFileExtension = false;
|
|
15985
15986
|
this.deleteSuccess = new i0.EventEmitter();
|
|
15986
15987
|
this.documentsCount = new i0.EventEmitter();
|
|
15987
15988
|
this.onDestroy$ = new rxjs.Subject();
|
|
@@ -16043,7 +16044,7 @@
|
|
|
16043
16044
|
classification: new i6.FormControl(null),
|
|
16044
16045
|
category: new i6.FormControl(null),
|
|
16045
16046
|
type: new i6.FormControl('PDF'),
|
|
16046
|
-
title: new i6.FormControl(item.title.split('.').slice(0, -1).join('.')),
|
|
16047
|
+
title: new i6.FormControl(this.keepFileExtension ? item.title : item.title.split('.').slice(0, -1).join('.')),
|
|
16047
16048
|
remarks: new i6.FormControl(null),
|
|
16048
16049
|
// isObject: new FormControl(false),
|
|
16049
16050
|
extension: new i6.FormControl(item.title.split('.').pop()),
|
|
@@ -16073,7 +16074,7 @@
|
|
|
16073
16074
|
return AttachmentsListComponent;
|
|
16074
16075
|
}());
|
|
16075
16076
|
AttachmentsListComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: AttachmentsListComponent, deps: [{ token: NuxeoService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
16076
|
-
AttachmentsListComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: AttachmentsListComponent, selector: "cts-attachments-list", inputs: { ancestorId: "ancestorId", provider: "provider", items: "items", batchList: "batchList", dontDelete: "dontDelete", canDelete: "canDelete", item: "item" }, outputs: { deleteSuccess: "deleteSuccess", documentsCount: "documentsCount", documentSelect: "documentSelect" }, usesOnChanges: true, ngImport: i0__namespace, template: "<ng-container>\r\n <div class=\"doc-list\">\r\n <ng-container>\r\n <form [formGroup]=\"attachmentForm\">\r\n <div formArrayName=\"attachmentCard\">\r\n <div\r\n class=\"doc-item\"\r\n *ngFor=\"\r\n let attachmentCardControl of attachmentForm.get('attachmentCard')[\r\n 'controls'\r\n ];\r\n let i = index\r\n \"\r\n >\r\n <!-- (click)=\"preview(item.uid)\" -->\r\n <div class=\"file-icon\">\r\n <mat-icon>file_copy</mat-icon>\r\n </div>\r\n <div\r\n [formGroupName]=\"i\"\r\n class=\"attachmentForm-container row no-gutters\"\r\n >\r\n <div class=\"formControl-wrapper col-12 col-xl-6\">\r\n <app-dynamic-form-textitem\r\n placeholder=\"{{ 'Title' | translate }}\"\r\n class=\"textitem\"\r\n formControlName=\"title\"\r\n \r\n >\r\n </app-dynamic-form-textitem>\r\n <app-dynamic-form-textitem\r\n placeholder=\"{{\r\n 'CREATE.ATTACHMENTS.REMARKS_PLACE_HOLDER' | translate\r\n }}\"\r\n class=\"textitem\"\r\n formControlName=\"remarks\"\r\n >\r\n </app-dynamic-form-textitem>\r\n </div>\r\n <div class=\"formControl-wrapper col-12 col-xl-6\">\r\n <app-dynamic-form-vocabulary-item\r\n class=\"voc-form-control\"\r\n [bindLabel]=\"'label'\"\r\n [bindValue]=\"'id'\"\r\n placeholder=\"{{ 'VOCABULARY.TYPE' | translate }}\"\r\n [multiple]=\"false\"\r\n [searchable]=\"false\"\r\n [closeOnSelect]=\"true\"\r\n [hideSelectedItems]=\"false\"\r\n [vocabularyType]=\"'VOC_CorrespondenceAttachmentType'\"\r\n formControlName=\"category\"\r\n >\r\n </app-dynamic-form-vocabulary-item>\r\n <app-dynamic-form-vocabulary-item\r\n class=\"voc-form-control\"\r\n [bindLabel]=\"'label'\"\r\n [bindValue]=\"'id'\"\r\n placeholder=\"{{ 'VOCABULARY.CLASSIFICATION' | translate }}\"\r\n [multiple]=\"false\"\r\n [searchable]=\"false\"\r\n [closeOnSelect]=\"true\"\r\n [hideSelectedItems]=\"false\"\r\n [vocabularyType]=\"'VOC_CorrespondenceAttachClassification'\"\r\n formControlName=\"classification\"\r\n >\r\n </app-dynamic-form-vocabulary-item>\r\n </div>\r\n <!-- <div class=\"formControl-toggleitem col-2 col-xl-2\">\r\n <cts-dynamic-form-slide-toggleitem\r\n label=\"{{ 'CREATE.ATTACHMENTS.ISOBJECT' | translate }}\"\r\n formControlName=\"isObject\"\r\n ></cts-dynamic-form-slide-toggleitem>\r\n </div> -->\r\n </div>\r\n <div class=\"btn-wrapper\">\r\n <button\r\n (click)=\"delInput(i)\"\r\n class=\"btn btn-outline-danger btn-no-border\"\r\n >\r\n <!-- deleteDocument($event, attachmentCardControl.value.item) -->\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n </ng-container>\r\n </div>\r\n</ng-container>\r\n<ng-template #spinner>\r\n <mat-spinner class=\"centered-spinner\"></mat-spinner>\r\n</ng-template>\r\n", styles: [".bi{margin:0!important}.memo-sorting-wrapper{width:265px;margin:0 10px;height:100%;display:flex}.memo-sorting-wrapper .sorting-direction{width:65px;height:40px;background-color:#465573;color:#fff;font-size:20px;display:flex;justify-content:center;align-items:center;cursor:pointer}.memo-sorting-wrapper .memo-sorting-trigger{width:calc(100% - 65px);height:100%;background-color:transparent;border:1px solid lightgrey;display:flex;justify-content:space-between;align-items:center;padding:0 15px;font-size:14px}.memo-sorting-wrapper .memo-sorting-trigger i{font-size:16px;color:gray}.memo-sorting-menu{width:200px}.my-button{border:1px solid #465573;color:#465573;border-radius:5px;background-color:transparent;font-weight:bold;min-width:80px;height:40px}.my-button.reset{border:none}.my-button:hover{color:#fff;background-color:#465573}.my-button:hover.reset{color:#465573;border:1px solid #465573;background-color:#fff}.app-property-value .app-input-wrapper label{color:#646f85;font-size:13px;margin-bottom:5px}.app-property-value .app-input-wrapper label .text-danger{font-size:16px;line-height:14px;margin:0 5px!important}.app-property-value .app-input-wrapper .form-control{border:1px solid #ccc;border-radius:5px;background-color:#8f98aa1a;height:40px}.app-property-value .app-input-wrapper .form-control:disabled{background-color:#e9ecef!important}.app-property-value .app-input-wrapper .form-control:focus{border:1px solid #1a96c6;box-shadow:0 0 4px #79c3c26b!important}.app-property-value .app-input-wrapper .app-textitem-editable-error .error-containers{list-style:none;padding:0;margin:0;font-size:14px}.app-property-value .app-input-wrapper .app-textitem-editable-error .error-containers .error{margin-top:5px}.autocomplete-container .input-container input:focus,hijri-gregorian-datepicker .form-group .input-group .form-control:focus,.ng-select.ng-select-focused .ng-select-container{border:1px solid #1a96c6!important;box-shadow:0 0 4px #79c3c26b!important}input::placeholder{font-size:12px}.form-control:focus{box-shadow:none!important}.mat-stepper-horizontal{margin-top:-25px}.mat-stepper-horizontal .mat-horizontal-stepper-header-container .mat-step-header.cdk-program-focused{background-color:transparent}.mat-stepper-horizontal .mat-horizontal-stepper-header-container .mat-step-header .mat-step-icon-selected{background-color:transparent;color:#fff;background-image:linear-gradient(to right,#0dbab5,#1a96c6)}@media only screen and (max-width: 576px){.mat-stepper-horizontal .mat-horizontal-stepper-header-container .mat-step-header .mat-step-label .mat-step-text-label{white-space:pre-wrap;overflow:visible}}.mat-stepper-horizontal .mat-horizontal-content-container{overflow:visible}@media only screen and (max-width: 768px){.mat-stepper-horizontal .mat-horizontal-content-container{padding:0 0 24px}}.mat-stepper-horizontal.rtl .mat-horizontal-stepper-header:first-child:after,.mat-stepper-horizontal.rtl .mat-horizontal-stepper-header:last-child:before{display:none}.mat-stepper-horizontal.rtl .mat-horizontal-stepper-header:first-child:before{border-top-width:1px;border-top-style:solid;content:\"\";display:inline-block;height:0;position:absolute;width:calc(50% - 20px);left:0}.mat-stepper-horizontal.rtl .mat-horizontal-stepper-header:last-child:after{border-top-width:1px;border-top-style:solid;content:\"\";display:inline-block;height:0;position:absolute;width:calc(50% - 20px);right:0}.form-wrapper{padding:30px 15px;border:1px solid #dde0e2}.form-wrapper .buttons-wrapper{display:flex;justify-content:space-between}.form-wrapper .buttons-wrapper .action-buttons-wrapper{display:flex}.form-wrapper .buttons-wrapper button{background-image:linear-gradient(to right,#0dbab5,#1a96c6);height:40px;color:#fff;border:none;width:125px;margin-top:20px;border-radius:5px}.form-wrapper .buttons-wrapper button:disabled{opacity:.4;cursor:not-allowed}.form-wrapper .buttons-wrapper button:hover{opacity:.7}.form-wrapper .upload-wrapper{display:flex;flex-direction:column;justify-content:flex-end}.form-wrapper .upload-wrapper label{color:#8f98aa;font-size:14px}.form-wrapper .upload-wrapper button{padding:10px;border:1px solid lightgray}.form-wrapper .upload-wrapper button span{margin:0 10px}.renameFileComponent .form-wrapper{padding:30px 15px;border:none!important}.renameFileComponent .form-wrapper .buttons-wrapper{display:flex;justify-content:space-between}.renameFileComponent .form-wrapper .buttons-wrapper .action-buttons-wrapper{display:flex}.renameFileComponent .form-wrapper .buttons-wrapper button{background-image:linear-gradient(to right,#0dbab5,#1a96c6);height:40px;color:#fff;border:none;width:125px;margin-top:20px;border-radius:5px}.renameFileComponent .form-wrapper .buttons-wrapper button:disabled{opacity:.4;cursor:not-allowed}.renameFileComponent .form-wrapper .buttons-wrapper button:hover{opacity:.7}.renameFileComponent .form-wrapper .upload-wrapper{display:flex;flex-direction:column;justify-content:flex-end}.renameFileComponent .form-wrapper .upload-wrapper label{color:#8f98aa;font-size:14px}.renameFileComponent .form-wrapper .upload-wrapper button{padding:10px;border:1px solid lightgray}.renameFileComponent .form-wrapper .upload-wrapper button span{margin:0 10px}.my-dynamic-viewer{display:flex;align-items:center;font-size:12px;min-height:30px}.my-dynamic-viewer .my-label{font-size:12px;font-weight:500;width:150px;word-break:break-word}@media (max-width: 992px){.my-dynamic-viewer .my-label{width:50%}}.my-dynamic-viewer .my-value{width:calc(100% - 150px);word-break:break-word}@media (max-width: 992px){.my-dynamic-viewer .my-value{width:50%}}.my-dynamic-viewer .direction-img{font-size:14px}.my-dynamic-viewer .direction-img .incoming{display:none}.my-dynamic-viewer .direction-img .outgoing{display:none}.my-dynamic-viewer .direction-img .internal{display:none}.my-dynamic-viewer.draft .my-value{color:#596973}.my-dynamic-viewer.inProgress .my-value{color:#3c3cf0}.my-dynamic-viewer.registered .my-value{color:#4f008c}.my-dynamic-viewer.archived .my-value{color:#fbb62c}.my-dynamic-viewer.closed .my-value{color:#00dca5}.my-dynamic-viewer.approved .my-value{color:#06a57e}.my-dynamic-viewer.assigned .my-value{color:#fd6670}.my-dynamic-viewer.sent .my-value{color:#3c3cf0}.my-dynamic-viewer.published .my-value{color:#00dca5}.my-dynamic-viewer.Outgoing .my-value{display:flex}.my-dynamic-viewer.Outgoing .my-value .direction-img .outgoing{color:#fbb62c;margin:1px 5px;display:flex}.my-dynamic-viewer.Outgoing .my-value .text{margin:0 5px}.my-dynamic-viewer.Internal .my-value{display:flex}.my-dynamic-viewer.Internal .my-value .direction-img .internal{color:#3c3cf0;margin:1px 5px;display:flex}.my-dynamic-viewer.Internal .my-value .text{margin:0 5px}.my-dynamic-viewer.Incoming .my-value{display:flex}.my-dynamic-viewer.Incoming .my-value .direction-img .incoming{color:#00dca5;display:flex}.my-dynamic-viewer.Incoming .my-value .text{margin:-3px 5px 0}.my-dynamic-viewer.vertical{display:block}.my-dynamic-viewer.vertical .my-label{width:auto}.my-dynamic-viewer.vertical .my-value{width:auto}.my-dynamic-viewer.with-out-label{width:100%!important}.doc-item{display:flex;flex:1;padding-top:6px;padding-bottom:6px;justify-content:space-between;align-items:center;padding-inline-end:4px;cursor:pointer;border:1px solid;border-color:#d9dce2}.doc-item .item-content{display:flex;align-items:center;justify-content:space-between}.doc-item .file-icon{margin:4px;color:#465573;display:flex;align-items:center}.attachmentForm-container{width:100%;grid-row-gap:6px;row-gap:6px}.attachmentForm-container .formControl-wrapper{display:flex;align-items:center;justify-content:space-between;grid-column-gap:10px;column-gap:10px;padding-inline-end:5px;padding-inline-start:5px}.attachmentForm-container .formControl-wrapper .voc-form-control{width:50%}.attachmentForm-container .formControl-wrapper .textitem{width:100%}.attachmentForm-container .formControl-toggleitem{display:flex;align-items:center;justify-content:center}.btn-wrapper{display:flex;justify-content:flex-end}\n"], components: [{ type: i2__namespace$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: DynamicFormTextItemComponent, selector: "app-dynamic-form-textitem", inputs: ["autoComplete", "nativeAutoComplete", "autoComplete_pageProvider", "autoComplete_propertyName", "autoComplete_propertyKey", "autoCompleteValueKey", "autoCompleteType", "tenantId", "emitFullObject", "outsideParams", "type", "property", "label", "editable", "placeholder", "disabled", "displayEmpty", "preventSpace", "id", "maxCharsNum"] }, { type: DynamicFormVocabularyItemComponent, selector: "app-dynamic-form-vocabulary-item", inputs: ["bindValue", "bindLabel", "placeholder", "multiple", "searchable", "closeOnSelect", "hideSelectedItems", "disabled", "vocabularyType", "label", "cacheable", "shwoAllValues"], outputs: ["onSelecting"] }, { type: i8__namespace.MatSpinner, selector: "mat-spinner", inputs: ["color"] }], directives: [{ type: i6__namespace.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i6__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i6__namespace.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i6__namespace.FormArrayName, selector: "[formArrayName]", inputs: ["formArrayName"] }, { type: i4__namespace$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6__namespace.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }], pipes: { "translate": i1__namespace.TranslatePipe } });
|
|
16077
|
+
AttachmentsListComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: AttachmentsListComponent, selector: "cts-attachments-list", inputs: { ancestorId: "ancestorId", provider: "provider", items: "items", batchList: "batchList", dontDelete: "dontDelete", canDelete: "canDelete", item: "item", keepFileExtension: "keepFileExtension" }, outputs: { deleteSuccess: "deleteSuccess", documentsCount: "documentsCount", documentSelect: "documentSelect" }, usesOnChanges: true, ngImport: i0__namespace, template: "<ng-container>\r\n <div class=\"doc-list\">\r\n <ng-container>\r\n <form [formGroup]=\"attachmentForm\">\r\n <div formArrayName=\"attachmentCard\">\r\n <div\r\n class=\"doc-item\"\r\n *ngFor=\"\r\n let attachmentCardControl of attachmentForm.get('attachmentCard')[\r\n 'controls'\r\n ];\r\n let i = index\r\n \"\r\n >\r\n <!-- (click)=\"preview(item.uid)\" -->\r\n <div class=\"file-icon\">\r\n <mat-icon>file_copy</mat-icon>\r\n </div>\r\n <div\r\n [formGroupName]=\"i\"\r\n class=\"attachmentForm-container row no-gutters\"\r\n >\r\n <div class=\"formControl-wrapper col-12 col-xl-6\">\r\n <app-dynamic-form-textitem\r\n placeholder=\"{{ 'Title' | translate }}\"\r\n class=\"textitem\"\r\n formControlName=\"title\"\r\n \r\n >\r\n </app-dynamic-form-textitem>\r\n <app-dynamic-form-textitem\r\n placeholder=\"{{\r\n 'CREATE.ATTACHMENTS.REMARKS_PLACE_HOLDER' | translate\r\n }}\"\r\n class=\"textitem\"\r\n formControlName=\"remarks\"\r\n >\r\n </app-dynamic-form-textitem>\r\n </div>\r\n <div class=\"formControl-wrapper col-12 col-xl-6\">\r\n <app-dynamic-form-vocabulary-item\r\n class=\"voc-form-control\"\r\n [bindLabel]=\"'label'\"\r\n [bindValue]=\"'id'\"\r\n placeholder=\"{{ 'VOCABULARY.TYPE' | translate }}\"\r\n [multiple]=\"false\"\r\n [searchable]=\"false\"\r\n [closeOnSelect]=\"true\"\r\n [hideSelectedItems]=\"false\"\r\n [vocabularyType]=\"'VOC_CorrespondenceAttachmentType'\"\r\n formControlName=\"category\"\r\n >\r\n </app-dynamic-form-vocabulary-item>\r\n <app-dynamic-form-vocabulary-item\r\n class=\"voc-form-control\"\r\n [bindLabel]=\"'label'\"\r\n [bindValue]=\"'id'\"\r\n placeholder=\"{{ 'VOCABULARY.CLASSIFICATION' | translate }}\"\r\n [multiple]=\"false\"\r\n [searchable]=\"false\"\r\n [closeOnSelect]=\"true\"\r\n [hideSelectedItems]=\"false\"\r\n [vocabularyType]=\"'VOC_CorrespondenceAttachClassification'\"\r\n formControlName=\"classification\"\r\n >\r\n </app-dynamic-form-vocabulary-item>\r\n </div>\r\n <!-- <div class=\"formControl-toggleitem col-2 col-xl-2\">\r\n <cts-dynamic-form-slide-toggleitem\r\n label=\"{{ 'CREATE.ATTACHMENTS.ISOBJECT' | translate }}\"\r\n formControlName=\"isObject\"\r\n ></cts-dynamic-form-slide-toggleitem>\r\n </div> -->\r\n </div>\r\n <div class=\"btn-wrapper\">\r\n <button\r\n (click)=\"delInput(i)\"\r\n class=\"btn btn-outline-danger btn-no-border\"\r\n >\r\n <!-- deleteDocument($event, attachmentCardControl.value.item) -->\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n </ng-container>\r\n </div>\r\n</ng-container>\r\n<ng-template #spinner>\r\n <mat-spinner class=\"centered-spinner\"></mat-spinner>\r\n</ng-template>\r\n", styles: [".bi{margin:0!important}.memo-sorting-wrapper{width:265px;margin:0 10px;height:100%;display:flex}.memo-sorting-wrapper .sorting-direction{width:65px;height:40px;background-color:#465573;color:#fff;font-size:20px;display:flex;justify-content:center;align-items:center;cursor:pointer}.memo-sorting-wrapper .memo-sorting-trigger{width:calc(100% - 65px);height:100%;background-color:transparent;border:1px solid lightgrey;display:flex;justify-content:space-between;align-items:center;padding:0 15px;font-size:14px}.memo-sorting-wrapper .memo-sorting-trigger i{font-size:16px;color:gray}.memo-sorting-menu{width:200px}.my-button{border:1px solid #465573;color:#465573;border-radius:5px;background-color:transparent;font-weight:bold;min-width:80px;height:40px}.my-button.reset{border:none}.my-button:hover{color:#fff;background-color:#465573}.my-button:hover.reset{color:#465573;border:1px solid #465573;background-color:#fff}.app-property-value .app-input-wrapper label{color:#646f85;font-size:13px;margin-bottom:5px}.app-property-value .app-input-wrapper label .text-danger{font-size:16px;line-height:14px;margin:0 5px!important}.app-property-value .app-input-wrapper .form-control{border:1px solid #ccc;border-radius:5px;background-color:#8f98aa1a;height:40px}.app-property-value .app-input-wrapper .form-control:disabled{background-color:#e9ecef!important}.app-property-value .app-input-wrapper .form-control:focus{border:1px solid #1a96c6;box-shadow:0 0 4px #79c3c26b!important}.app-property-value .app-input-wrapper .app-textitem-editable-error .error-containers{list-style:none;padding:0;margin:0;font-size:14px}.app-property-value .app-input-wrapper .app-textitem-editable-error .error-containers .error{margin-top:5px}.autocomplete-container .input-container input:focus,hijri-gregorian-datepicker .form-group .input-group .form-control:focus,.ng-select.ng-select-focused .ng-select-container{border:1px solid #1a96c6!important;box-shadow:0 0 4px #79c3c26b!important}input::placeholder{font-size:12px}.form-control:focus{box-shadow:none!important}.mat-stepper-horizontal{margin-top:-25px}.mat-stepper-horizontal .mat-horizontal-stepper-header-container .mat-step-header.cdk-program-focused{background-color:transparent}.mat-stepper-horizontal .mat-horizontal-stepper-header-container .mat-step-header .mat-step-icon-selected{background-color:transparent;color:#fff;background-image:linear-gradient(to right,#0dbab5,#1a96c6)}@media only screen and (max-width: 576px){.mat-stepper-horizontal .mat-horizontal-stepper-header-container .mat-step-header .mat-step-label .mat-step-text-label{white-space:pre-wrap;overflow:visible}}.mat-stepper-horizontal .mat-horizontal-content-container{overflow:visible}@media only screen and (max-width: 768px){.mat-stepper-horizontal .mat-horizontal-content-container{padding:0 0 24px}}.mat-stepper-horizontal.rtl .mat-horizontal-stepper-header:first-child:after,.mat-stepper-horizontal.rtl .mat-horizontal-stepper-header:last-child:before{display:none}.mat-stepper-horizontal.rtl .mat-horizontal-stepper-header:first-child:before{border-top-width:1px;border-top-style:solid;content:\"\";display:inline-block;height:0;position:absolute;width:calc(50% - 20px);left:0}.mat-stepper-horizontal.rtl .mat-horizontal-stepper-header:last-child:after{border-top-width:1px;border-top-style:solid;content:\"\";display:inline-block;height:0;position:absolute;width:calc(50% - 20px);right:0}.form-wrapper{padding:30px 15px;border:1px solid #dde0e2}.form-wrapper .buttons-wrapper{display:flex;justify-content:space-between}.form-wrapper .buttons-wrapper .action-buttons-wrapper{display:flex}.form-wrapper .buttons-wrapper button{background-image:linear-gradient(to right,#0dbab5,#1a96c6);height:40px;color:#fff;border:none;width:125px;margin-top:20px;border-radius:5px}.form-wrapper .buttons-wrapper button:disabled{opacity:.4;cursor:not-allowed}.form-wrapper .buttons-wrapper button:hover{opacity:.7}.form-wrapper .upload-wrapper{display:flex;flex-direction:column;justify-content:flex-end}.form-wrapper .upload-wrapper label{color:#8f98aa;font-size:14px}.form-wrapper .upload-wrapper button{padding:10px;border:1px solid lightgray}.form-wrapper .upload-wrapper button span{margin:0 10px}.renameFileComponent .form-wrapper{padding:30px 15px;border:none!important}.renameFileComponent .form-wrapper .buttons-wrapper{display:flex;justify-content:space-between}.renameFileComponent .form-wrapper .buttons-wrapper .action-buttons-wrapper{display:flex}.renameFileComponent .form-wrapper .buttons-wrapper button{background-image:linear-gradient(to right,#0dbab5,#1a96c6);height:40px;color:#fff;border:none;width:125px;margin-top:20px;border-radius:5px}.renameFileComponent .form-wrapper .buttons-wrapper button:disabled{opacity:.4;cursor:not-allowed}.renameFileComponent .form-wrapper .buttons-wrapper button:hover{opacity:.7}.renameFileComponent .form-wrapper .upload-wrapper{display:flex;flex-direction:column;justify-content:flex-end}.renameFileComponent .form-wrapper .upload-wrapper label{color:#8f98aa;font-size:14px}.renameFileComponent .form-wrapper .upload-wrapper button{padding:10px;border:1px solid lightgray}.renameFileComponent .form-wrapper .upload-wrapper button span{margin:0 10px}.my-dynamic-viewer{display:flex;align-items:center;font-size:12px;min-height:30px}.my-dynamic-viewer .my-label{font-size:12px;font-weight:500;width:150px;word-break:break-word}@media (max-width: 992px){.my-dynamic-viewer .my-label{width:50%}}.my-dynamic-viewer .my-value{width:calc(100% - 150px);word-break:break-word}@media (max-width: 992px){.my-dynamic-viewer .my-value{width:50%}}.my-dynamic-viewer .direction-img{font-size:14px}.my-dynamic-viewer .direction-img .incoming{display:none}.my-dynamic-viewer .direction-img .outgoing{display:none}.my-dynamic-viewer .direction-img .internal{display:none}.my-dynamic-viewer.draft .my-value{color:#596973}.my-dynamic-viewer.inProgress .my-value{color:#3c3cf0}.my-dynamic-viewer.registered .my-value{color:#4f008c}.my-dynamic-viewer.archived .my-value{color:#fbb62c}.my-dynamic-viewer.closed .my-value{color:#00dca5}.my-dynamic-viewer.approved .my-value{color:#06a57e}.my-dynamic-viewer.assigned .my-value{color:#fd6670}.my-dynamic-viewer.sent .my-value{color:#3c3cf0}.my-dynamic-viewer.published .my-value{color:#00dca5}.my-dynamic-viewer.Outgoing .my-value{display:flex}.my-dynamic-viewer.Outgoing .my-value .direction-img .outgoing{color:#fbb62c;margin:1px 5px;display:flex}.my-dynamic-viewer.Outgoing .my-value .text{margin:0 5px}.my-dynamic-viewer.Internal .my-value{display:flex}.my-dynamic-viewer.Internal .my-value .direction-img .internal{color:#3c3cf0;margin:1px 5px;display:flex}.my-dynamic-viewer.Internal .my-value .text{margin:0 5px}.my-dynamic-viewer.Incoming .my-value{display:flex}.my-dynamic-viewer.Incoming .my-value .direction-img .incoming{color:#00dca5;display:flex}.my-dynamic-viewer.Incoming .my-value .text{margin:-3px 5px 0}.my-dynamic-viewer.vertical{display:block}.my-dynamic-viewer.vertical .my-label{width:auto}.my-dynamic-viewer.vertical .my-value{width:auto}.my-dynamic-viewer.with-out-label{width:100%!important}.doc-item{display:flex;flex:1;padding-top:6px;padding-bottom:6px;justify-content:space-between;align-items:center;padding-inline-end:4px;cursor:pointer;border:1px solid;border-color:#d9dce2}.doc-item .item-content{display:flex;align-items:center;justify-content:space-between}.doc-item .file-icon{margin:4px;color:#465573;display:flex;align-items:center}.attachmentForm-container{width:100%;grid-row-gap:6px;row-gap:6px}.attachmentForm-container .formControl-wrapper{display:flex;align-items:center;justify-content:space-between;grid-column-gap:10px;column-gap:10px;padding-inline-end:5px;padding-inline-start:5px}.attachmentForm-container .formControl-wrapper .voc-form-control{width:50%}.attachmentForm-container .formControl-wrapper .textitem{width:100%}.attachmentForm-container .formControl-toggleitem{display:flex;align-items:center;justify-content:center}.btn-wrapper{display:flex;justify-content:flex-end}\n"], components: [{ type: i2__namespace$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: DynamicFormTextItemComponent, selector: "app-dynamic-form-textitem", inputs: ["autoComplete", "nativeAutoComplete", "autoComplete_pageProvider", "autoComplete_propertyName", "autoComplete_propertyKey", "autoCompleteValueKey", "autoCompleteType", "tenantId", "emitFullObject", "outsideParams", "type", "property", "label", "editable", "placeholder", "disabled", "displayEmpty", "preventSpace", "id", "maxCharsNum"] }, { type: DynamicFormVocabularyItemComponent, selector: "app-dynamic-form-vocabulary-item", inputs: ["bindValue", "bindLabel", "placeholder", "multiple", "searchable", "closeOnSelect", "hideSelectedItems", "disabled", "vocabularyType", "label", "cacheable", "shwoAllValues"], outputs: ["onSelecting"] }, { type: i8__namespace.MatSpinner, selector: "mat-spinner", inputs: ["color"] }], directives: [{ type: i6__namespace.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i6__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i6__namespace.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i6__namespace.FormArrayName, selector: "[formArrayName]", inputs: ["formArrayName"] }, { type: i4__namespace$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6__namespace.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }], pipes: { "translate": i1__namespace.TranslatePipe } });
|
|
16077
16078
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: AttachmentsListComponent, decorators: [{
|
|
16078
16079
|
type: i0.Component,
|
|
16079
16080
|
args: [{
|
|
@@ -16095,6 +16096,8 @@
|
|
|
16095
16096
|
type: i0.Input
|
|
16096
16097
|
}], item: [{
|
|
16097
16098
|
type: i0.Input
|
|
16099
|
+
}], keepFileExtension: [{
|
|
16100
|
+
type: i0.Input
|
|
16098
16101
|
}], deleteSuccess: [{
|
|
16099
16102
|
type: i0.Output
|
|
16100
16103
|
}], documentsCount: [{
|
|
@@ -22337,62 +22340,171 @@
|
|
|
22337
22340
|
args: ['fileInput']
|
|
22338
22341
|
}] } });
|
|
22339
22342
|
|
|
22340
|
-
var CreateModalComponent = /** @class */ (function () {
|
|
22341
|
-
|
|
22342
|
-
|
|
22343
|
-
|
|
22344
|
-
|
|
22345
|
-
|
|
22346
|
-
|
|
22347
|
-
|
|
22348
|
-
|
|
22349
|
-
|
|
22350
|
-
|
|
22351
|
-
|
|
22352
|
-
|
|
22353
|
-
|
|
22354
|
-
|
|
22355
|
-
|
|
22356
|
-
|
|
22357
|
-
|
|
22358
|
-
|
|
22359
|
-
|
|
22360
|
-
|
|
22361
|
-
this.createWhenFinishMode = false;
|
|
22362
|
-
this.showRenderer = false; // used to force renderer to feel changes in forms and value when changing files
|
|
22343
|
+
var CreateModalComponent = /** @class */ (function (_super) {
|
|
22344
|
+
__extends(CreateModalComponent, _super);
|
|
22345
|
+
function CreateModalComponent(data, uploadMangmentService, dialogMangmentService, fileMangerService, tosterService, formBuilder, adapeter, fileManagerService, appConfService, dateHelperService, userService, environment, injector, dynamicFormService) {
|
|
22346
|
+
var _this = _super.call(this, injector) || this;
|
|
22347
|
+
_this.data = data;
|
|
22348
|
+
_this.uploadMangmentService = uploadMangmentService;
|
|
22349
|
+
_this.dialogMangmentService = dialogMangmentService;
|
|
22350
|
+
_this.fileMangerService = fileMangerService;
|
|
22351
|
+
_this.tosterService = tosterService;
|
|
22352
|
+
_this.formBuilder = formBuilder;
|
|
22353
|
+
_this.adapeter = adapeter;
|
|
22354
|
+
_this.fileManagerService = fileManagerService;
|
|
22355
|
+
_this.appConfService = appConfService;
|
|
22356
|
+
_this.dateHelperService = dateHelperService;
|
|
22357
|
+
_this.userService = userService;
|
|
22358
|
+
_this.environment = environment;
|
|
22359
|
+
_this.dynamicFormService = dynamicFormService;
|
|
22360
|
+
_this.addingProperties = false;
|
|
22361
|
+
_this.payloadList = [];
|
|
22362
|
+
_this.createWhenFinishMode = false;
|
|
22363
|
+
_this.showRenderer = false; // used to force renderer to feel changes in forms and value when changing files
|
|
22363
22364
|
// uploadFinishSubscription: Subscription;
|
|
22364
|
-
|
|
22365
|
-
|
|
22366
|
-
|
|
22367
|
-
|
|
22368
|
-
|
|
22369
|
-
|
|
22370
|
-
|
|
22371
|
-
|
|
22372
|
-
|
|
22373
|
-
|
|
22374
|
-
|
|
22375
|
-
|
|
22365
|
+
_this.usingExtraFields = false; // flage to switch between static form types
|
|
22366
|
+
_this.showStaticForm = false;
|
|
22367
|
+
_this.disableCreateWhenFinishBtn = true;
|
|
22368
|
+
_this.creating = false;
|
|
22369
|
+
_this.displayNoteMessage = true;
|
|
22370
|
+
_this.createWhenFinish = function () {
|
|
22371
|
+
_this.createWhenFinishMode = true;
|
|
22372
|
+
return _this.minimizDialog();
|
|
22373
|
+
};
|
|
22374
|
+
_this.startAddingProperties = function () {
|
|
22375
|
+
//if starting from filemnager then i have fixed file type for all attachmetn and single dynaimc form type
|
|
22376
|
+
if (_this.source === 'fileManger') {
|
|
22377
|
+
// this.dynamicFormService.getDynamicForm(this.fileType).subscribe(res => {
|
|
22378
|
+
_this.uploadMangmentService.uploadedFilesStatus.uploadedFiles.forEach(function (file) {
|
|
22379
|
+
file['fileType'] = _this.source === 'fileManger' ? _this.fileType : {};
|
|
22380
|
+
file['dynamicForm'] = _this.dialogMangmentService.storedDynamicForm;
|
|
22381
|
+
file['dynamicData'] = {};
|
|
22382
|
+
file['staticFormValid'] = _this.usingExtraFields ? false : true;
|
|
22383
|
+
file['staticData'] = _this.setStaticData(file.title ? file.title : file.name);
|
|
22384
|
+
file['generalValidationValid'] = true;
|
|
22385
|
+
});
|
|
22386
|
+
_this.uploadMangmentService.uploadedFilesStatus.allfiles.forEach(function (file) {
|
|
22387
|
+
file['fileType'] = _this.source === 'fileManger' ? _this.fileType : {};
|
|
22388
|
+
file['dynamicForm'] = _this.dialogMangmentService.storedDynamicForm;
|
|
22389
|
+
file['dynamicData'] = {};
|
|
22390
|
+
file['staticFormValid'] = _this.usingExtraFields ? false : true;
|
|
22391
|
+
file['staticData'] = _this.setStaticData(file.title ? file.title : file.name);
|
|
22392
|
+
file['generalValidationValid'] = true;
|
|
22393
|
+
});
|
|
22394
|
+
}
|
|
22395
|
+
_this.addingProperties = true;
|
|
22396
|
+
_this.uploadMangmentService.addingPropertiesMode = true;
|
|
22397
|
+
};
|
|
22398
|
+
_this.createDocument = function () {
|
|
22399
|
+
var _a, _b;
|
|
22400
|
+
_this.creating = true;
|
|
22401
|
+
_this.uploadMangmentService.failedFiles = [];
|
|
22402
|
+
_this.uploadMangmentService.GeneralFormValidation = _this.checkValidation();
|
|
22403
|
+
if (_this.uploadMangmentService.GeneralFormValidation) {
|
|
22404
|
+
var apiCalls_1 = [];
|
|
22405
|
+
if (((_a = _this.data) === null || _a === void 0 ? void 0 : _a.path.includes('/default-domain/workspaces/DMSWorkspaces')) ||
|
|
22406
|
+
((_b = _this.data) === null || _b === void 0 ? void 0 : _b.path.includes('/default-domain/UserWorkspaces/'))) {
|
|
22407
|
+
_this.constructPayLoadToWorkSpace(_this.uploadMangmentService.uploadedFilesStatus.uploadedFiles);
|
|
22408
|
+
_this.payloadList.forEach(function (payload) {
|
|
22409
|
+
apiCalls_1.push(_this.fileMangerService.createFile(payload, _this.fileManagerService.selectedFolderId, 'DMS.CreateDocumentFromBlob'));
|
|
22410
|
+
});
|
|
22411
|
+
}
|
|
22412
|
+
else {
|
|
22413
|
+
_this.constructPayLoad(_this.uploadMangmentService.uploadedFilesStatus.uploadedFiles);
|
|
22414
|
+
_this.payloadList.forEach(function (payload) {
|
|
22415
|
+
apiCalls_1.push(_this.fileMangerService.createFile(payload, _this.fileManagerService.selectedFolderId));
|
|
22416
|
+
});
|
|
22417
|
+
}
|
|
22418
|
+
return rxjs.forkJoin(apiCalls_1).pipe(operators.tap(function (response) {
|
|
22419
|
+
_this.creating = false;
|
|
22420
|
+
response.forEach(function (singleRes) {
|
|
22421
|
+
if (singleRes['status'] && singleRes['status'] === 'failed') {
|
|
22422
|
+
_this.uploadMangmentService.failedFiles.push(singleRes['originFile']);
|
|
22423
|
+
}
|
|
22424
|
+
});
|
|
22425
|
+
if (_this.uploadMangmentService.failedFiles.length > 0) {
|
|
22426
|
+
_this.tosterService.show('error', 'TOASTER.ERROR', 'TOASTER.UPLOAD_ERROR');
|
|
22427
|
+
_this.uploadMangmentService.uploadedFilesStatus.uploadedFiles = [];
|
|
22428
|
+
_this.selectedFile = null;
|
|
22429
|
+
_this.uploadMangmentService.uploadedFilesStatus.allfiles = __spreadArray([], __read(_this.uploadMangmentService.failedFiles));
|
|
22430
|
+
}
|
|
22431
|
+
else {
|
|
22432
|
+
_this.fileMangerService.onRefreshingFileManger.next();
|
|
22433
|
+
_this.tosterService.show('success', 'TOASTER.SUCCESS', 'TOASTER.FILE_CREATED_SUCCE');
|
|
22434
|
+
_super.prototype.close.call(_this, false);
|
|
22435
|
+
_this.uploadMangmentService.resetStatus();
|
|
22436
|
+
}
|
|
22437
|
+
}, function (error) {
|
|
22438
|
+
_this.creating = false;
|
|
22439
|
+
}));
|
|
22440
|
+
}
|
|
22441
|
+
else {
|
|
22442
|
+
_this.creating = false;
|
|
22443
|
+
return rxjs.of(null);
|
|
22444
|
+
}
|
|
22445
|
+
};
|
|
22446
|
+
_this.tryAgainCreateDocument = function () {
|
|
22447
|
+
_this.uploadMangmentService.uploadFilesMangment(_this.uploadMangmentService.failedFiles);
|
|
22448
|
+
return rxjs.of(null);
|
|
22449
|
+
};
|
|
22450
|
+
_this.minimizDialog = function () {
|
|
22451
|
+
_super.prototype.close.call(_this, true);
|
|
22452
|
+
return rxjs.of(null);
|
|
22453
|
+
};
|
|
22454
|
+
_this.ApplyChangesToAll = function () {
|
|
22455
|
+
_this.uploadMangmentService.uploadedFilesStatus.uploadedFiles.forEach(function (file) {
|
|
22456
|
+
var title = file['staticData']
|
|
22457
|
+
? file['staticData']['title']
|
|
22458
|
+
: file.name;
|
|
22459
|
+
file['fileType'] = _this.selectedFile.fileType;
|
|
22460
|
+
file['dynamicForm'] = _this.selectedFile.dynamicForm;
|
|
22461
|
+
file['dynamicData'] = _this.selectedFile.dynamicData;
|
|
22462
|
+
file['staticFormValid'] = _this.selectedFile.staticFormValid;
|
|
22463
|
+
file['staticData'] = Object.assign({}, _this.fileForm.value);
|
|
22464
|
+
file['staticData']['title'] = title;
|
|
22465
|
+
});
|
|
22466
|
+
_this.uploadMangmentService.uploadedFilesStatus.allfiles.forEach(function (file) {
|
|
22467
|
+
var title = file['staticData'] ? file['staticData']['title'] : file.name;
|
|
22468
|
+
file['fileType'] = _this.selectedFile.fileType;
|
|
22469
|
+
file['dynamicForm'] = _this.selectedFile.dynamicForm;
|
|
22470
|
+
file['dynamicData'] = _this.selectedFile.dynamicData;
|
|
22471
|
+
file['staticFormValid'] = _this.selectedFile.staticFormValid;
|
|
22472
|
+
file['staticData'] = Object.assign({}, _this.fileForm.value);
|
|
22473
|
+
file['staticData']['title'] = title;
|
|
22474
|
+
});
|
|
22475
|
+
return rxjs.of(null);
|
|
22476
|
+
};
|
|
22477
|
+
_this.myEnvironment = _this.environment;
|
|
22478
|
+
_this.createWhenFinishMode = false;
|
|
22479
|
+
_this.addingProperties = _this.uploadMangmentService.addingPropertiesMode;
|
|
22480
|
+
_this.fileType = _this.dialogMangmentService.fileType; // object that was constructed inside subtypes service
|
|
22481
|
+
_this.source = _this.dialogMangmentService.addingFrom;
|
|
22482
|
+
_this.fileManagerService
|
|
22483
|
+
.getFileSchemas(_this.fileType.type)
|
|
22484
|
+
.subscribe(function (schemas) {
|
|
22376
22485
|
schemas.map(function (item) {
|
|
22377
|
-
if (item.name ===
|
|
22486
|
+
if (item.name === 'generaldocument') {
|
|
22378
22487
|
_this.usingExtraFields = true;
|
|
22379
22488
|
}
|
|
22380
22489
|
});
|
|
22381
22490
|
_this.initiatfileForm();
|
|
22382
22491
|
_this.uploadMangmentService.gettingPropFromModal({
|
|
22383
|
-
|
|
22384
|
-
|
|
22385
|
-
|
|
22386
|
-
|
|
22387
|
-
|
|
22388
|
-
|
|
22389
|
-
|
|
22492
|
+
fileType: _this.source === 'fileManger' ? _this.fileType : {},
|
|
22493
|
+
dynamicForm: _this.dialogMangmentService.storedDynamicForm,
|
|
22494
|
+
dynamicData: {},
|
|
22495
|
+
staticFormValid: _this.usingExtraFields ? false : true,
|
|
22496
|
+
generalValidationValid: true,
|
|
22497
|
+
usingExtraFields: _this.usingExtraFields,
|
|
22498
|
+
path: _this.data.path
|
|
22390
22499
|
});
|
|
22391
22500
|
});
|
|
22501
|
+
return _this;
|
|
22392
22502
|
}
|
|
22393
22503
|
CreateModalComponent.prototype.KeyUpEvent = function (event) {
|
|
22394
|
-
if (this.addingProperties &&
|
|
22395
|
-
|
|
22504
|
+
if (this.addingProperties &&
|
|
22505
|
+
this.uploadMangmentService.failedFiles.length === 0) {
|
|
22506
|
+
if (this.uploadMangmentService.uploadedFilesStatus.uploadInProgress &&
|
|
22507
|
+
!this.disableCreateWhenFinishBtn) {
|
|
22396
22508
|
this.createWhenFinish();
|
|
22397
22509
|
}
|
|
22398
22510
|
else {
|
|
@@ -22402,17 +22514,16 @@
|
|
|
22402
22514
|
};
|
|
22403
22515
|
CreateModalComponent.prototype.ngOnInit = function () {
|
|
22404
22516
|
var _this = this;
|
|
22405
|
-
this.langSubscription = this.translationService.isArabic.subscribe(function (res) {
|
|
22406
|
-
_this.isArabic = res;
|
|
22407
|
-
});
|
|
22408
22517
|
if (this.uploadMangmentService.uploadFinishSubscription) {
|
|
22409
22518
|
this.uploadMangmentService.uploadFinishSubscription.unsubscribe();
|
|
22410
22519
|
}
|
|
22411
|
-
this.uploadMangmentService.uploadFinishSubscription =
|
|
22412
|
-
|
|
22413
|
-
_this.
|
|
22414
|
-
|
|
22415
|
-
|
|
22520
|
+
this.uploadMangmentService.uploadFinishSubscription =
|
|
22521
|
+
this.uploadMangmentService.onUploadFinish.subscribe(function (res) {
|
|
22522
|
+
if (_this.createWhenFinishMode ||
|
|
22523
|
+
_this.uploadMangmentService.failedFiles.length > 0) {
|
|
22524
|
+
_this.createDocument();
|
|
22525
|
+
}
|
|
22526
|
+
});
|
|
22416
22527
|
};
|
|
22417
22528
|
CreateModalComponent.prototype.initiatfileForm = function () {
|
|
22418
22529
|
if (this.usingExtraFields) {
|
|
@@ -22438,44 +22549,16 @@
|
|
|
22438
22549
|
description: ['']
|
|
22439
22550
|
});
|
|
22440
22551
|
}
|
|
22441
|
-
this.staticFormFields =
|
|
22442
|
-
|
|
22443
|
-
CreateModalComponent.prototype.createWhenFinish = function () {
|
|
22444
|
-
this.createWhenFinishMode = true;
|
|
22445
|
-
this.minimizDialog();
|
|
22552
|
+
this.staticFormFields =
|
|
22553
|
+
this.appConfService.myConfiguration.staticFormFields;
|
|
22446
22554
|
};
|
|
22447
|
-
CreateModalComponent.prototype.
|
|
22555
|
+
CreateModalComponent.prototype.close = function () {
|
|
22448
22556
|
this.uploadMangmentService.GeneralFormValidation = true;
|
|
22449
22557
|
this.fileFormSubscription ? this.fileFormSubscription.unsubscribe() : '';
|
|
22450
22558
|
this.addingProperties = false;
|
|
22451
22559
|
this.uploadMangmentService.resetStatus();
|
|
22452
|
-
|
|
22453
|
-
|
|
22454
|
-
CreateModalComponent.prototype.startAddingProperties = function () {
|
|
22455
|
-
var _this = this;
|
|
22456
|
-
//if starting from filemnager then i have fixed file type for all attachmetn and single dynaimc form type
|
|
22457
|
-
if (this.source === 'fileManger') {
|
|
22458
|
-
// this.dynamicFormService.getDynamicForm(this.fileType).subscribe(res => {
|
|
22459
|
-
this.uploadMangmentService.uploadedFilesStatus.uploadedFiles.map(function (file) {
|
|
22460
|
-
file['fileType'] = _this.source === 'fileManger' ? _this.fileType : {};
|
|
22461
|
-
file['dynamicForm'] = _this.dialogMangmentService.storedDynamicForm;
|
|
22462
|
-
file['dynamicData'] = {};
|
|
22463
|
-
file['staticFormValid'] = _this.usingExtraFields ? false : true;
|
|
22464
|
-
file['staticData'] = _this.setStaticData(file.title ? file.title : file.name);
|
|
22465
|
-
file['generalValidationValid'] = true;
|
|
22466
|
-
});
|
|
22467
|
-
this.uploadMangmentService.uploadedFilesStatus.allfiles.map(function (file) {
|
|
22468
|
-
file['fileType'] = _this.source === 'fileManger' ? _this.fileType : {};
|
|
22469
|
-
file['dynamicForm'] = _this.dialogMangmentService.storedDynamicForm;
|
|
22470
|
-
file['dynamicData'] = {};
|
|
22471
|
-
file['staticFormValid'] = _this.usingExtraFields ? false : true;
|
|
22472
|
-
file['staticData'] = _this.setStaticData(file.title ? file.title : file.name);
|
|
22473
|
-
file['generalValidationValid'] = true;
|
|
22474
|
-
});
|
|
22475
|
-
// })
|
|
22476
|
-
}
|
|
22477
|
-
this.addingProperties = true;
|
|
22478
|
-
this.uploadMangmentService.addingPropertiesMode = true;
|
|
22560
|
+
_super.prototype.close.call(this);
|
|
22561
|
+
return rxjs.of(null);
|
|
22479
22562
|
};
|
|
22480
22563
|
CreateModalComponent.prototype.setStaticData = function (title) {
|
|
22481
22564
|
if (this.usingExtraFields) {
|
|
@@ -22502,73 +22585,19 @@
|
|
|
22502
22585
|
};
|
|
22503
22586
|
}
|
|
22504
22587
|
};
|
|
22505
|
-
CreateModalComponent.prototype.createDocument = function () {
|
|
22506
|
-
var _this = this;
|
|
22507
|
-
var _a, _b;
|
|
22508
|
-
this.creating = true;
|
|
22509
|
-
this.uploadMangmentService.failedFiles = [];
|
|
22510
|
-
this.uploadMangmentService.GeneralFormValidation = this.checkValidation();
|
|
22511
|
-
if (this.uploadMangmentService.GeneralFormValidation) {
|
|
22512
|
-
var apiCalls_1 = [];
|
|
22513
|
-
if (((_a = this.data) === null || _a === void 0 ? void 0 : _a.path.includes('/default-domain/workspaces/DMSWorkspaces')) || ((_b = this.data) === null || _b === void 0 ? void 0 : _b.path.includes('/default-domain/UserWorkspaces/'))) {
|
|
22514
|
-
this.constructPayLoadToWorkSpace(this.uploadMangmentService.uploadedFilesStatus.uploadedFiles);
|
|
22515
|
-
this.payloadList.map(function (payload) {
|
|
22516
|
-
apiCalls_1.push(_this.fileMangerService.createFile(payload, _this.fileManagerService.selectedFolderId, 'DMS.CreateDocumentFromBlob'));
|
|
22517
|
-
});
|
|
22518
|
-
}
|
|
22519
|
-
else {
|
|
22520
|
-
this.constructPayLoad(this.uploadMangmentService.uploadedFilesStatus.uploadedFiles);
|
|
22521
|
-
this.payloadList.map(function (payload) {
|
|
22522
|
-
apiCalls_1.push(_this.fileMangerService.createFile(payload, _this.fileManagerService.selectedFolderId));
|
|
22523
|
-
});
|
|
22524
|
-
}
|
|
22525
|
-
rxjs.forkJoin(apiCalls_1).subscribe(function (response) {
|
|
22526
|
-
//console.log(res);
|
|
22527
|
-
_this.creating = false;
|
|
22528
|
-
response.map(function (singleRes) {
|
|
22529
|
-
if (singleRes['status'] && singleRes['status'] === 'failed') {
|
|
22530
|
-
_this.uploadMangmentService.failedFiles.push(singleRes['originFile']);
|
|
22531
|
-
}
|
|
22532
|
-
});
|
|
22533
|
-
if (_this.uploadMangmentService.failedFiles.length > 0) {
|
|
22534
|
-
_this.tosterService.show('error', 'TOASTER.ERROR', 'TOASTER.UPLOAD_ERROR');
|
|
22535
|
-
_this.uploadMangmentService.uploadedFilesStatus.uploadedFiles = [];
|
|
22536
|
-
_this.selectedFile = null;
|
|
22537
|
-
_this.uploadMangmentService.uploadedFilesStatus.allfiles = __spreadArray([], __read(_this.uploadMangmentService.failedFiles));
|
|
22538
|
-
}
|
|
22539
|
-
else {
|
|
22540
|
-
_this.fileMangerService.onRefreshingFileManger.next();
|
|
22541
|
-
_this.tosterService.show('success', 'TOASTER.SUCCESS', "TOASTER.FILE_CREATED_SUCCE");
|
|
22542
|
-
_this.dialogRef.close(false);
|
|
22543
|
-
_this.uploadMangmentService.resetStatus();
|
|
22544
|
-
}
|
|
22545
|
-
}, function (error) {
|
|
22546
|
-
_this.creating = false;
|
|
22547
|
-
// console.log(error);
|
|
22548
|
-
// this.tosterService.show('error' , 'TOASTER.ERROR' , 'TOASTER.UPLOAD_ERROR');
|
|
22549
|
-
// this.closeDialog();
|
|
22550
|
-
});
|
|
22551
|
-
}
|
|
22552
|
-
else {
|
|
22553
|
-
this.creating = false;
|
|
22554
|
-
}
|
|
22555
|
-
};
|
|
22556
22588
|
CreateModalComponent.prototype.constructPayLoadToWorkSpace = function (files) {
|
|
22557
22589
|
var _this = this;
|
|
22558
22590
|
this.payloadList = [];
|
|
22559
22591
|
files.map(function (file) {
|
|
22560
22592
|
var param = {
|
|
22561
|
-
|
|
22562
|
-
|
|
22563
|
-
|
|
22564
|
-
|
|
22593
|
+
fileindex: 0,
|
|
22594
|
+
fileName: file.staticData.title,
|
|
22595
|
+
batchid: file.batch.blob['upload-batch'],
|
|
22596
|
+
description: _this.fileForm.controls.description.value
|
|
22565
22597
|
};
|
|
22566
22598
|
_this.payloadList.push({ params: param, originFile: file });
|
|
22567
22599
|
});
|
|
22568
22600
|
};
|
|
22569
|
-
CreateModalComponent.prototype.tryAgainCreateDocument = function () {
|
|
22570
|
-
this.uploadMangmentService.uploadFilesMangment(this.uploadMangmentService.failedFiles);
|
|
22571
|
-
};
|
|
22572
22601
|
CreateModalComponent.prototype.constructPayLoad = function (files) {
|
|
22573
22602
|
var _this = this;
|
|
22574
22603
|
this.payloadList = [];
|
|
@@ -22576,18 +22605,18 @@
|
|
|
22576
22605
|
var props = _this.dynamicFormService.constructDynamicFormPayload(file.dynamicData.data ? file.dynamicData.data : {}, file.dynamicForm);
|
|
22577
22606
|
var staticFormData = _this.mappingStaticData(file.staticData);
|
|
22578
22607
|
var param = {
|
|
22579
|
-
|
|
22580
|
-
|
|
22581
|
-
|
|
22582
|
-
|
|
22583
|
-
|
|
22584
|
-
|
|
22585
|
-
|
|
22608
|
+
document: {
|
|
22609
|
+
type: file.fileType.type,
|
|
22610
|
+
name: file.staticData.title,
|
|
22611
|
+
properties: Object.assign(Object.assign(Object.assign({}, props), staticFormData), { 'file:content': {
|
|
22612
|
+
'upload-batch': file.batch.blob['upload-batch'],
|
|
22613
|
+
'upload-fileId': file.batch.blob['upload-fileId'],
|
|
22614
|
+
'mime-type': file.type
|
|
22586
22615
|
} })
|
|
22587
22616
|
}
|
|
22588
22617
|
};
|
|
22589
22618
|
if (file.fileType.documentCode) {
|
|
22590
|
-
param[
|
|
22619
|
+
param['documentTypeCode'] = file.fileType.documentCode;
|
|
22591
22620
|
}
|
|
22592
22621
|
_this.payloadList.push({ params: param, originFile: file });
|
|
22593
22622
|
});
|
|
@@ -22596,13 +22625,14 @@
|
|
|
22596
22625
|
if (data.gdocumentDate && data.gdocumentDate !== null) {
|
|
22597
22626
|
moment__namespace.locale('en');
|
|
22598
22627
|
data['hdocumentDate'] = this.dateHelperService.gregorianToHijri(data.gdocumentDate, 'iYYYY-iMM-iDD');
|
|
22599
|
-
data.gdocumentDate =
|
|
22628
|
+
data.gdocumentDate =
|
|
22629
|
+
moment__namespace(data.gdocumentDate).format('YYYY-MM-DDT00:00:00.000') + 'Z';
|
|
22600
22630
|
}
|
|
22601
22631
|
return this.adapeter.adaptOut(data, this.staticFormFields);
|
|
22602
22632
|
};
|
|
22603
22633
|
CreateModalComponent.prototype.selectFile = function (file) {
|
|
22604
22634
|
var _this = this;
|
|
22605
|
-
console.log(
|
|
22635
|
+
console.log('file in select', file);
|
|
22606
22636
|
this.showStaticForm = false;
|
|
22607
22637
|
this.agencyNameFilter = undefined;
|
|
22608
22638
|
this.countryNameFilter = undefined;
|
|
@@ -22614,8 +22644,13 @@
|
|
|
22614
22644
|
this.showRenderer = false;
|
|
22615
22645
|
// check if file has properties of adding properties or not then add it to him
|
|
22616
22646
|
if (!file.hasOwnProperty('fileType')) {
|
|
22617
|
-
this.dynamicFormService
|
|
22618
|
-
|
|
22647
|
+
this.dynamicFormService
|
|
22648
|
+
.getDynamicForm(this.fileType.documentCode
|
|
22649
|
+
? this.fileType.documentCode
|
|
22650
|
+
: this.fileType.type)
|
|
22651
|
+
.subscribe(function (res) {
|
|
22652
|
+
file['fileType'] =
|
|
22653
|
+
_this.source === 'fileManger' ? _this.fileType : {};
|
|
22619
22654
|
file['dynamicForm'] = res;
|
|
22620
22655
|
file['dynamicData'] = {};
|
|
22621
22656
|
file['staticFormValid'] = _this.usingExtraFields ? false : true;
|
|
@@ -22627,7 +22662,8 @@
|
|
|
22627
22662
|
}
|
|
22628
22663
|
_this.fileForm.patchValue(_this.selectedFile['staticData']);
|
|
22629
22664
|
_this.temporaryDyanmicData = {};
|
|
22630
|
-
_this.temporaryDyanmicData = _this.selectedFile.dynamicData.data
|
|
22665
|
+
_this.temporaryDyanmicData = _this.selectedFile.dynamicData.data
|
|
22666
|
+
? Object.assign({}, _this.selectedFile.dynamicData.data) : {};
|
|
22631
22667
|
setTimeout(function () {
|
|
22632
22668
|
_this.showRenderer = true;
|
|
22633
22669
|
_this.showStaticForm = true;
|
|
@@ -22635,12 +22671,19 @@
|
|
|
22635
22671
|
//console.log(file);
|
|
22636
22672
|
if (!_this.fileFormSubscription) {
|
|
22637
22673
|
setTimeout(function () {
|
|
22638
|
-
_this.fileFormSubscription =
|
|
22639
|
-
_this.
|
|
22640
|
-
|
|
22641
|
-
|
|
22674
|
+
_this.fileFormSubscription =
|
|
22675
|
+
_this.fileForm.valueChanges.subscribe(function (res) {
|
|
22676
|
+
_this.selectedFile.staticFormValid = _this.fileForm
|
|
22677
|
+
? _this.fileForm.valid
|
|
22678
|
+
: false;
|
|
22679
|
+
_this.selectedFile.staticData = _this.fileForm
|
|
22680
|
+
? _this.fileForm.value
|
|
22681
|
+
: {};
|
|
22682
|
+
});
|
|
22642
22683
|
if (_this.fileForm.get('agencyCategoryCode')) {
|
|
22643
|
-
_this.agencyCategCodeSubscription = _this.fileForm
|
|
22684
|
+
_this.agencyCategCodeSubscription = _this.fileForm
|
|
22685
|
+
.get('agencyCategoryCode')
|
|
22686
|
+
.valueChanges.subscribe(function (res) {
|
|
22644
22687
|
_this.fileForm.get('agencyName').setValue(null);
|
|
22645
22688
|
_this.agencyNameFilter = {
|
|
22646
22689
|
category: res
|
|
@@ -22648,7 +22691,9 @@
|
|
|
22648
22691
|
});
|
|
22649
22692
|
}
|
|
22650
22693
|
if (_this.fileForm.get('countryCategoryCode')) {
|
|
22651
|
-
_this.countryCategCodeSubscription = _this.fileForm
|
|
22694
|
+
_this.countryCategCodeSubscription = _this.fileForm
|
|
22695
|
+
.get('countryCategoryCode')
|
|
22696
|
+
.valueChanges.subscribe(function (res) {
|
|
22652
22697
|
_this.fileForm.get('countryName').setValue(null);
|
|
22653
22698
|
_this.countryNameFilter = {
|
|
22654
22699
|
category: res
|
|
@@ -22676,7 +22721,9 @@
|
|
|
22676
22721
|
};
|
|
22677
22722
|
}
|
|
22678
22723
|
this.temporaryDyanmicData = {};
|
|
22679
|
-
this.temporaryDyanmicData = this.selectedFile.dynamicData.data
|
|
22724
|
+
this.temporaryDyanmicData = this.selectedFile.dynamicData.data
|
|
22725
|
+
? this.selectedFile.dynamicData.data
|
|
22726
|
+
: {};
|
|
22680
22727
|
setTimeout(function () {
|
|
22681
22728
|
_this.showRenderer = true;
|
|
22682
22729
|
_this.showStaticForm = true;
|
|
@@ -22684,11 +22731,17 @@
|
|
|
22684
22731
|
if (!this.fileFormSubscription) {
|
|
22685
22732
|
setTimeout(function () {
|
|
22686
22733
|
_this.fileFormSubscription = _this.fileForm.valueChanges.subscribe(function (res) {
|
|
22687
|
-
_this.selectedFile.staticFormValid = _this.fileForm
|
|
22688
|
-
|
|
22734
|
+
_this.selectedFile.staticFormValid = _this.fileForm
|
|
22735
|
+
? _this.fileForm.valid
|
|
22736
|
+
: false;
|
|
22737
|
+
_this.selectedFile.staticData = _this.fileForm
|
|
22738
|
+
? _this.fileForm.value
|
|
22739
|
+
: {};
|
|
22689
22740
|
});
|
|
22690
22741
|
if (_this.fileForm.get('agencyCategoryCode')) {
|
|
22691
|
-
_this.agencyCategCodeSubscription = _this.fileForm
|
|
22742
|
+
_this.agencyCategCodeSubscription = _this.fileForm
|
|
22743
|
+
.get('agencyCategoryCode')
|
|
22744
|
+
.valueChanges.subscribe(function (res) {
|
|
22692
22745
|
_this.fileForm.get('agencyName').setValue(null);
|
|
22693
22746
|
_this.agencyNameFilter = {
|
|
22694
22747
|
category: res
|
|
@@ -22696,7 +22749,9 @@
|
|
|
22696
22749
|
});
|
|
22697
22750
|
}
|
|
22698
22751
|
if (_this.fileForm.get('countryCategoryCode')) {
|
|
22699
|
-
_this.countryCategCodeSubscription = _this.fileForm
|
|
22752
|
+
_this.countryCategCodeSubscription = _this.fileForm
|
|
22753
|
+
.get('countryCategoryCode')
|
|
22754
|
+
.valueChanges.subscribe(function (res) {
|
|
22700
22755
|
_this.fileForm.get('countryName').setValue(null);
|
|
22701
22756
|
_this.countryNameFilter = {
|
|
22702
22757
|
category: res
|
|
@@ -22718,9 +22773,6 @@
|
|
|
22718
22773
|
this.selectedFile.dynamicData = Object.assign({}, dynamicData);
|
|
22719
22774
|
}
|
|
22720
22775
|
};
|
|
22721
|
-
CreateModalComponent.prototype.minimizDialog = function () {
|
|
22722
|
-
this.dialogRef.close(true);
|
|
22723
|
-
};
|
|
22724
22776
|
CreateModalComponent.prototype.removeItem = function (item, listofFiles) {
|
|
22725
22777
|
var removeIndex = listofFiles.findIndex(function (file) { return file.name === item.name; });
|
|
22726
22778
|
listofFiles.splice(removeIndex, 1);
|
|
@@ -22734,33 +22786,14 @@
|
|
|
22734
22786
|
// this.selectedFile = null;
|
|
22735
22787
|
}
|
|
22736
22788
|
};
|
|
22737
|
-
CreateModalComponent.prototype.ApplyChangesToAll = function () {
|
|
22738
|
-
var _this = this;
|
|
22739
|
-
this.uploadMangmentService.uploadedFilesStatus.uploadedFiles.map(function (file) {
|
|
22740
|
-
var title = file['staticData'] ? file['staticData']['title'] : file.name;
|
|
22741
|
-
file['fileType'] = _this.selectedFile.fileType;
|
|
22742
|
-
file['dynamicForm'] = _this.selectedFile.dynamicForm;
|
|
22743
|
-
file['dynamicData'] = _this.selectedFile.dynamicData;
|
|
22744
|
-
file['staticFormValid'] = _this.selectedFile.staticFormValid;
|
|
22745
|
-
file['staticData'] = Object.assign({}, _this.fileForm.value);
|
|
22746
|
-
file['staticData']['title'] = title;
|
|
22747
|
-
});
|
|
22748
|
-
this.uploadMangmentService.uploadedFilesStatus.allfiles.map(function (file) {
|
|
22749
|
-
var title = file['staticData'] ? file['staticData']['title'] : file.name;
|
|
22750
|
-
file['fileType'] = _this.selectedFile.fileType;
|
|
22751
|
-
file['dynamicForm'] = _this.selectedFile.dynamicForm;
|
|
22752
|
-
file['dynamicData'] = _this.selectedFile.dynamicData;
|
|
22753
|
-
file['staticFormValid'] = _this.selectedFile.staticFormValid;
|
|
22754
|
-
file['staticData'] = Object.assign({}, _this.fileForm.value);
|
|
22755
|
-
file['staticData']['title'] = title;
|
|
22756
|
-
});
|
|
22757
|
-
};
|
|
22758
22789
|
CreateModalComponent.prototype.checkValidation = function () {
|
|
22759
22790
|
var validation = true;
|
|
22760
|
-
this.uploadMangmentService.uploadedFilesStatus.uploadedFiles.
|
|
22791
|
+
this.uploadMangmentService.uploadedFilesStatus.uploadedFiles.forEach(function (file) {
|
|
22761
22792
|
var _a, _b;
|
|
22762
|
-
console.log(
|
|
22763
|
-
if (!file.hasOwnProperty('fileType') ||
|
|
22793
|
+
console.log('file', file);
|
|
22794
|
+
if (!file.hasOwnProperty('fileType') ||
|
|
22795
|
+
file['staticFormValid'] === false ||
|
|
22796
|
+
((_b = (_a = file.dynamicData) === null || _a === void 0 ? void 0 : _a.originalEvent) === null || _b === void 0 ? void 0 : _b.isValid) === false) {
|
|
22764
22797
|
file['generalValidationValid'] = false;
|
|
22765
22798
|
validation = false;
|
|
22766
22799
|
}
|
|
@@ -22770,7 +22803,8 @@
|
|
|
22770
22803
|
});
|
|
22771
22804
|
this.uploadMangmentService.uploadedFilesStatus.allfiles.map(function (file) {
|
|
22772
22805
|
var _a, _b;
|
|
22773
|
-
if (file['staticFormValid'] === false ||
|
|
22806
|
+
if (file['staticFormValid'] === false ||
|
|
22807
|
+
((_b = (_a = file.dynamicData) === null || _a === void 0 ? void 0 : _a.originalEvent) === null || _b === void 0 ? void 0 : _b.isValid) === false) {
|
|
22774
22808
|
file['generalValidationValid'] = false;
|
|
22775
22809
|
validation = false;
|
|
22776
22810
|
}
|
|
@@ -22782,14 +22816,17 @@
|
|
|
22782
22816
|
};
|
|
22783
22817
|
CreateModalComponent.prototype.ngOnDestroy = function () {
|
|
22784
22818
|
this.fileFormSubscription ? this.fileFormSubscription.unsubscribe() : '';
|
|
22785
|
-
this.
|
|
22786
|
-
|
|
22787
|
-
|
|
22819
|
+
this.countryCategCodeSubscription
|
|
22820
|
+
? this.countryCategCodeSubscription.unsubscribe()
|
|
22821
|
+
: '';
|
|
22822
|
+
this.agencyCategCodeSubscription
|
|
22823
|
+
? this.agencyCategCodeSubscription.unsubscribe()
|
|
22824
|
+
: '';
|
|
22788
22825
|
};
|
|
22789
22826
|
return CreateModalComponent;
|
|
22790
|
-
}());
|
|
22791
|
-
CreateModalComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CreateModalComponent, deps: [{ token: i1$4.MAT_DIALOG_DATA }, { token:
|
|
22792
|
-
CreateModalComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: CreateModalComponent, selector: "app-create-modal", host: { listeners: { "document:keyup.enter": "KeyUpEvent($event)" } }, ngImport: i0__namespace, template: "<div class=\"relative w-full h-full\">\r\n <div class=\"iner-wrapper\" [ngClass]=\"{ 'd-flex': addingProperties }\">\r\n <div *ngIf=\"addingProperties\" class=\"properties-section p-3 overflow-x-hidden overflow-y-auto\">\r\n <div class=\"\" *ngIf=\"selectedFile && source === 'fileManger' && showStaticForm\">\r\n <div class=\"mb-5\">\r\n <div class=\"label-style\">\r\n {{ \"CREATE.FILE_TYPE\" | translate }}\r\n </div>\r\n <div class=\"text-base text-gray-900\">{{ isArabic ? fileType.arabicText : fileType.englishText }}\r\n </div>\r\n </div>\r\n <div class=\"file-fields mt-3\" SetRtl>\r\n <form [formGroup]=\"fileForm\">\r\n <!-- -----------------old static form ---------------------- -->\r\n <div>\r\n <div class=\"single-field mb-3\">\r\n <div class=\"label-style\">\r\n {{ \"CREATE.TITLE\" | translate\r\n }}<span class=\"text-red-500\">*</span>\r\n </div>\r\n <input class=\"\r\n field-style\r\n \" formControlName=\"title\" placeholder=\" {{ 'CREATE.TITLE' | translate}}\" />\r\n </div>\r\n <div class=\"single-field mb-3\">\r\n <div class=\"label-style\">\r\n {{ \"CREATE.DESCRIPTION\" | translate }}\r\n </div>\r\n <input class=\"field-style\" formControlName=\"description\"\r\n placeholder=\" {{ 'CREATE.DESCRIPTION' | translate}}\" />\r\n </div>\r\n </div>\r\n <!-- ---------------------------------- -->\r\n\r\n <!------------------ new statis form ---------------------------->\r\n <div *ngIf=\"usingExtraFields\">\r\n <app-dynamic-fields-renderer [form]=\"fileForm\" [agencyNameFilter]=\"agencyNameFilter\"\r\n [countryNameFilter]=\"countryNameFilter\"></app-dynamic-fields-renderer>\r\n </div>\r\n </form>\r\n\r\n <div class=\"dynamic-part\" *ngIf=\"showRenderer\">\r\n <app-dynamic-form [form]=\"selectedFile.dynamicForm\" [data]=\"temporaryDyanmicData\"\r\n (change)=\"ondynamicFormChange($event)\"></app-dynamic-form>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"\r\n w-full\r\n h-full\r\n p-3\r\n flex\r\n justify-center\r\n items-center\r\n text-lg text-gray-900\"\r\n *ngIf=\"!selectedFile\">\r\n {{ \"CREATE.SELECT_TOSTART_ADDING\" | translate }}\r\n </div>\r\n \r\n </div>\r\n <div class=\"attachment-tab-body overflow-hidden\" [ngClass]=\"{ 'attachment-iner-small-body': addingProperties }\">\r\n <app-attachments [multiple]=\"true\" (onSelectingItem)=\"selectFile($event)\"></app-attachments>\r\n </div>\r\n </div>\r\n <div class=\"w-full text-red-500 text-base text-start px-3\" *ngIf=\"!uploadMangmentService.GeneralFormValidation\">\r\n\r\n {{ \"CREATE.FILL_REQUIRED_FIELD\" | translate }}\r\n </div>\r\n <div class=\"actions-iner-wrapper w-full flex justify-between items-center absolute bottom-0\">\r\n <div class=\"flex\">\r\n <button *ngIf=\"\r\n (uploadMangmentService.uploadedFilesStatus\r\n .uploadInProgress ||\r\n uploadMangmentService.uploadedFilesStatus.uploadedFiles\r\n .length > 0) &&\r\n !addingProperties\r\n \" (click)=\"startAddingProperties()\" class=\"submission-button\">\r\n {{ \"BUTTONS.ADD_PROPERTIES\" | translate }}\r\n </button>\r\n <button *ngIf=\"\r\n addingProperties &&\r\n uploadMangmentService.uploadedFilesStatus.uploadedFiles\r\n .length +\r\n uploadMangmentService.uploadedFilesStatus.allfiles\r\n .length >\r\n 1\r\n \" (click)=\"ApplyChangesToAll()\" [disabled]=\"!selectedFile || !selectedFile.staticFormValid\" [ngClass]=\"{\r\n 'opacity-30 cursor-not-allowed':\r\n !selectedFile || !selectedFile.staticFormValid,\r\n 'cursor-pointer hover:text-white hover:bg-gray-900': !(\r\n !selectedFile || !selectedFile.staticFormValid\r\n )\r\n }\" class=\"submission-button mx-2\">\r\n {{ \"BUTTONS.APPLY_TO_ALL\" | translate }}\r\n </button>\r\n\r\n <ng-container *ngIf=\"\r\n addingProperties &&\r\n !uploadMangmentService.uploadedFilesStatus.uploadInProgress &&\r\n uploadMangmentService.failedFiles.length === 0\r\n \">\r\n <button (click)=\"createDocument()\" class=\"submission-button relative\" [disabled]=\"creating\">\r\n <span *ngIf=\"!creating; else loader\">{{ \"BUTTONS.CREATE\" | translate }}</span>\r\n </button>\r\n <ng-template #loader>\r\n <mat-spinner [value]=\"90\" [strokeWidth]=\"3\" overlay=\"true\" [diameter]=\"25\" color=\"warn\">\r\n </mat-spinner>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <button *ngIf=\"\r\n addingProperties &&\r\n !uploadMangmentService.uploadedFilesStatus.uploadInProgress &&\r\n uploadMangmentService.failedFiles.length > 0\r\n \" (click)=\"tryAgainCreateDocument()\" class=\"submission-button\">\r\n {{ \"BUTTONS.TRY_AGAIN\" | translate }}\r\n </button>\r\n\r\n <button [disabled]=\"!fileForm?.valid || disableCreateWhenFinishBtn\" *ngIf=\"\r\n addingProperties &&\r\n uploadMangmentService.uploadedFilesStatus.uploadInProgress\r\n \" (click)=\"createWhenFinish()\" class=\"submission-button w-44\">\r\n {{ \"BUTTONS.CREATE_WHEN_FINSH\" | translate }}\r\n </button>\r\n </div>\r\n <div class=\"flex\">\r\n <button class=\"cancelation-button mx-2\" (click)=\"minimizDialog()\" *ngIf=\"\r\n uploadMangmentService.uploadedFilesStatus\r\n .uploadInProgress ||\r\n uploadMangmentService.uploadedFilesStatus\r\n .numberOfUploadedFiles !== 0 ||\r\n addingProperties\r\n \">\r\n {{ \"BUTTONS.MINIMIZED\" | translate }}\r\n </button>\r\n <button class=\"cancelation-button\" (click)=\"closeDialog()\">\r\n {{ \"BUTTONS.CANCEL\" | translate }}\r\n </button>\r\n </div>\r\n </div>\r\n</div>", styles: [".dynamic-part{margin-left:-15px;margin-right:-15px}.iner-wrapper{height:calc(100% - 70px)}.iner-wrapper .properties-section{width:calc(100% - 270px);height:calc(100% - 15px)}.iner-wrapper .attachment-tab-body{height:calc(100% - -20px);overflow-y:auto;overflow-x:hidden}.iner-wrapper .attachment-iner-small-body{width:350px}.rtl .actions-iner-wrapper{direction:ltr}.actions-iner-wrapper{direction:rtl}\n"], components: [{ type: DynamicFieldsRendererComponent, selector: "app-dynamic-fields-renderer", inputs: ["form", "agencyNameFilter", "countryNameFilter", "mode", "fields"] }, { type: DynamicFormComponent, selector: "app-dynamic-form", inputs: ["form", "data", "readOnly"], outputs: ["change"] }, { type: AttachmentsComponent, selector: "app-attachments", inputs: ["allowedTypes", "params", "path", "maxSize", "docParams", "multiple", "createDocument", "allowedMaxNumberOfFiles", "source"], outputs: ["uploadSuccess", "uploadError", "onSelectingItem", "itemRemoved"] }, { type: i8__namespace.MatSpinner, selector: "mat-spinner", inputs: ["color"] }], directives: [{ type: i4__namespace$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: SetRtlDirective, selector: "[SetRtl]" }, { type: i6__namespace.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i6__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i6__namespace.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i6__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }], pipes: { "translate": i1__namespace.TranslatePipe } });
|
|
22827
|
+
}(BaseDialogComponent));
|
|
22828
|
+
CreateModalComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CreateModalComponent, deps: [{ token: i1$4.MAT_DIALOG_DATA }, { token: UploadManagmentService }, { token: DialogMangmentService }, { token: FileManagerService }, { token: CustomToastrService }, { token: i6__namespace.FormBuilder }, { token: AdapterService }, { token: FileManagerService }, { token: AppConfigService }, { token: DateHelperService }, { token: UserService }, { token: 'environment' }, { token: i0__namespace.Injector }, { token: DynamicFormService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
22829
|
+
CreateModalComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: CreateModalComponent, selector: "app-create-modal", host: { listeners: { "document:keyup.enter": "KeyUpEvent($event)" } }, usesInheritance: true, ngImport: i0__namespace, template: "<ndf-nuxeo-dialog dialogTitle=\"{{ 'CREATE.createFile' | translate }}\">\r\n\t<ng-template #contentTemplate>\r\n\t\t<div class=\"relative w-full h-full\">\r\n\t\t\t<div class=\"iner-wrapper\" [ngClass]=\"{ 'd-flex': addingProperties }\">\r\n\t\t\t\t<div\r\n\t\t\t\t\t*ngIf=\"addingProperties\"\r\n\t\t\t\t\tclass=\"properties-section p-3 overflow-x-hidden overflow-y-auto\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<div\r\n\t\t\t\t\t\tclass=\"\"\r\n\t\t\t\t\t\t*ngIf=\"selectedFile && source === 'fileManger' && showStaticForm\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<div class=\"mb-5\">\r\n\t\t\t\t\t\t\t<div class=\"label-style\">\r\n\t\t\t\t\t\t\t\t{{ 'CREATE.FILE_TYPE' | translate }}\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div class=\"text-base text-gray-900\">\r\n\t\t\t\t\t\t\t\t{{ isArabic ? fileType.arabicText : fileType.englishText }}\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div class=\"file-fields mt-3\" SetRtl>\r\n\t\t\t\t\t\t\t<form [formGroup]=\"fileForm\">\r\n\t\t\t\t\t\t\t\t<!-- -----------------old static form ---------------------- -->\r\n\t\t\t\t\t\t\t\t<div>\r\n\t\t\t\t\t\t\t\t\t<div class=\"single-field mb-3\">\r\n\t\t\t\t\t\t\t\t\t\t<div class=\"label-style\">\r\n\t\t\t\t\t\t\t\t\t\t\t{{ 'CREATE.TITLE' | translate\r\n\t\t\t\t\t\t\t\t\t\t\t}}<span class=\"text-red-500\">*</span>\r\n\t\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t\t\t<input\r\n\t\t\t\t\t\t\t\t\t\t\tclass=\"field-style\"\r\n\t\t\t\t\t\t\t\t\t\t\tformControlName=\"title\"\r\n\t\t\t\t\t\t\t\t\t\t\tplaceholder=\" {{ 'CREATE.TITLE' | translate }}\"\r\n\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t\t<div class=\"single-field mb-3\">\r\n\t\t\t\t\t\t\t\t\t\t<div class=\"label-style\">\r\n\t\t\t\t\t\t\t\t\t\t\t{{ 'CREATE.DESCRIPTION' | translate }}\r\n\t\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t\t\t<input\r\n\t\t\t\t\t\t\t\t\t\t\tclass=\"field-style\"\r\n\t\t\t\t\t\t\t\t\t\t\tformControlName=\"description\"\r\n\t\t\t\t\t\t\t\t\t\t\tplaceholder=\" {{ 'CREATE.DESCRIPTION' | translate }}\"\r\n\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t<!-- ---------------------------------- -->\r\n\r\n\t\t\t\t\t\t\t\t<!------------------ new statis form ---------------------------->\r\n\t\t\t\t\t\t\t\t<div *ngIf=\"usingExtraFields\">\r\n\t\t\t\t\t\t\t\t\t<app-dynamic-fields-renderer\r\n\t\t\t\t\t\t\t\t\t\t[form]=\"fileForm\"\r\n\t\t\t\t\t\t\t\t\t\t[agencyNameFilter]=\"agencyNameFilter\"\r\n\t\t\t\t\t\t\t\t\t\t[countryNameFilter]=\"countryNameFilter\"\r\n\t\t\t\t\t\t\t\t\t></app-dynamic-fields-renderer>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</form>\r\n\r\n\t\t\t\t\t\t\t<div class=\"dynamic-part\" *ngIf=\"showRenderer\">\r\n\t\t\t\t\t\t\t\t<app-dynamic-form\r\n\t\t\t\t\t\t\t\t\t[form]=\"selectedFile.dynamicForm\"\r\n\t\t\t\t\t\t\t\t\t[data]=\"temporaryDyanmicData\"\r\n\t\t\t\t\t\t\t\t\t(change)=\"ondynamicFormChange($event)\"\r\n\t\t\t\t\t\t\t\t></app-dynamic-form>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div\r\n\t\t\t\t\t\tclass=\"w-full h-full p-3 flex justify-center items-center text-lg text-gray-900\"\r\n\t\t\t\t\t\t*ngIf=\"!selectedFile\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t{{ 'CREATE.SELECT_TOSTART_ADDING' | translate }}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div\r\n\t\t\t\t\tclass=\"attachment-tab-body overflow-hidden\"\r\n\t\t\t\t\t[ngClass]=\"{ 'attachment-iner-small-body': addingProperties }\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<app-attachments\r\n\t\t\t\t\t\t[multiple]=\"true\"\r\n\t\t\t\t\t\t(onSelectingItem)=\"selectFile($event)\"\r\n\t\t\t\t\t></app-attachments>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t\t<div\r\n\t\t\t\tclass=\"w-full text-red-500 text-base text-start px-3\"\r\n\t\t\t\t*ngIf=\"!uploadMangmentService.GeneralFormValidation\"\r\n\t\t\t>\r\n\t\t\t\t{{ 'CREATE.FILL_REQUIRED_FIELD' | translate }}\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</ng-template>\r\n\r\n\t<ng-template #actionsTemplate let-dialog=\"dialog\">\r\n\t\t<!-- WAS_IN_FLEX_DIV -->\r\n\t\t<button\r\n\t\t\t*ngIf=\"\r\n\t\t\t\t(uploadMangmentService.uploadedFilesStatus.uploadInProgress ||\r\n\t\t\t\t\tuploadMangmentService.uploadedFilesStatus.uploadedFiles.length > 0) &&\r\n\t\t\t\t!addingProperties\r\n\t\t\t\"\r\n\t\t\t(click)=\"dialog.executeAction(startAddingProperties)\"\r\n\t\t\tclass=\"submission-button\"\r\n\t\t>\r\n\t\t\t{{ 'BUTTONS.ADD_PROPERTIES' | translate }}\r\n\t\t</button>\r\n\t\t<button\r\n\t\t\t*ngIf=\"\r\n\t\t\t\taddingProperties &&\r\n\t\t\t\tuploadMangmentService.uploadedFilesStatus.uploadedFiles.length +\r\n\t\t\t\t\tuploadMangmentService.uploadedFilesStatus.allfiles.length >\r\n\t\t\t\t\t1\r\n\t\t\t\"\r\n\t\t\t(click)=\"dialog.executeAction(ApplyChangesToAll)\"\r\n\t\t\t[disabled]=\"!selectedFile || !selectedFile.staticFormValid\"\r\n\t\t\t[ngClass]=\"{\r\n\t\t\t\t'opacity-30 cursor-not-allowed':\r\n\t\t\t\t\t!selectedFile || !selectedFile.staticFormValid,\r\n\t\t\t\t'cursor-pointer hover:text-white hover:bg-gray-900': !(\r\n\t\t\t\t\t!selectedFile || !selectedFile.staticFormValid\r\n\t\t\t\t)\r\n\t\t\t}\"\r\n\t\t\tclass=\"submission-button mx-2\"\r\n\t\t>\r\n\t\t\t{{ 'BUTTONS.APPLY_TO_ALL' | translate }}\r\n\t\t</button>\r\n\t\t<!-- WAS_IN_FLEX_DIV -->\r\n\r\n\t\t<ng-container\r\n\t\t\t*ngIf=\"\r\n\t\t\t\taddingProperties &&\r\n\t\t\t\t!uploadMangmentService.uploadedFilesStatus.uploadInProgress &&\r\n\t\t\t\tuploadMangmentService.failedFiles.length === 0\r\n\t\t\t\"\r\n\t\t>\r\n\t\t\t<button\r\n\t\t\t\t(click)=\"dialog.executeAction(createDocument)\"\r\n\t\t\t\tclass=\"submission-button relative\"\r\n\t\t\t\t[disabled]=\"creating\"\r\n\t\t\t>\r\n\t\t\t\t<span *ngIf=\"!creating; else loader\">{{\r\n\t\t\t\t\t'BUTTONS.CREATE' | translate\r\n\t\t\t\t}}</span>\r\n\t\t\t</button>\r\n\t\t\t<ng-template #loader>\r\n\t\t\t\t<mat-spinner\r\n\t\t\t\t\t[value]=\"90\"\r\n\t\t\t\t\t[strokeWidth]=\"3\"\r\n\t\t\t\t\toverlay=\"true\"\r\n\t\t\t\t\t[diameter]=\"25\"\r\n\t\t\t\t\tcolor=\"warn\"\r\n\t\t\t\t>\r\n\t\t\t\t</mat-spinner>\r\n\t\t\t</ng-template>\r\n\t\t</ng-container>\r\n\r\n\t\t<button\r\n\t\t\t*ngIf=\"\r\n\t\t\t\taddingProperties &&\r\n\t\t\t\t!uploadMangmentService.uploadedFilesStatus.uploadInProgress &&\r\n\t\t\t\tuploadMangmentService.failedFiles.length > 0\r\n\t\t\t\"\r\n\t\t\t(click)=\"dialog.executeAction(tryAgainCreateDocument)\"\r\n\t\t\tclass=\"submission-button\"\r\n\t\t>\r\n\t\t\t{{ 'BUTTONS.TRY_AGAIN' | translate }}\r\n\t\t</button>\r\n\r\n\t\t<button\r\n\t\t\t[disabled]=\"!fileForm?.valid || disableCreateWhenFinishBtn\"\r\n\t\t\t*ngIf=\"\r\n\t\t\t\taddingProperties &&\r\n\t\t\t\tuploadMangmentService.uploadedFilesStatus.uploadInProgress\r\n\t\t\t\"\r\n\t\t\t(click)=\"dialog.executeAction(createWhenFinish)\"\r\n\t\t\tclass=\"submission-button w-44\"\r\n\t\t>\r\n\t\t\t{{ 'BUTTONS.CREATE_WHEN_FINSH' | translate }}\r\n\t\t</button>\r\n\r\n\t\t<!-- WAS_IN_FLEX_DIV -->\r\n\t\t<button\r\n\t\t\tclass=\"cancelation-button mx-2\"\r\n\t\t\t(click)=\"dialog.executeAction(minimizDialog)\"\r\n\t\t\t*ngIf=\"\r\n\t\t\t\tuploadMangmentService.uploadedFilesStatus.uploadInProgress ||\r\n\t\t\t\tuploadMangmentService.uploadedFilesStatus.numberOfUploadedFiles !== 0 ||\r\n\t\t\t\taddingProperties\r\n\t\t\t\"\r\n\t\t>\r\n\t\t\t{{ 'BUTTONS.MINIMIZED' | translate }}\r\n\t\t</button>\r\n\t\t<!-- <button class=\"cancelation-button\" (click)=\" dialog.executeAction(closeDialog)\">\r\n{{ 'BUTTONS.CANCEL' | translate }}\r\n</button> -->\r\n\t</ng-template>\r\n</ndf-nuxeo-dialog>\r\n", styles: [".dynamic-part{margin-left:-15px;margin-right:-15px}.iner-wrapper{height:calc(100% - 70px)}.iner-wrapper .properties-section{width:calc(100% - 270px);height:calc(100% - 15px)}.iner-wrapper .attachment-tab-body{height:calc(100% - -20px);overflow-y:auto;overflow-x:hidden}.iner-wrapper .attachment-iner-small-body{width:350px}.rtl .actions-iner-wrapper{direction:ltr}.actions-iner-wrapper{direction:rtl}:host{height:100%;display:block}\n"], components: [{ type: NdfNuxeoDialog, selector: "ndf-nuxeo-dialog", inputs: ["dialogTitle", "subTitle", "loaderMode"] }, { type: DynamicFieldsRendererComponent, selector: "app-dynamic-fields-renderer", inputs: ["form", "agencyNameFilter", "countryNameFilter", "mode", "fields"] }, { type: DynamicFormComponent, selector: "app-dynamic-form", inputs: ["form", "data", "readOnly"], outputs: ["change"] }, { type: AttachmentsComponent, selector: "app-attachments", inputs: ["allowedTypes", "params", "path", "maxSize", "docParams", "multiple", "createDocument", "allowedMaxNumberOfFiles", "source"], outputs: ["uploadSuccess", "uploadError", "onSelectingItem", "itemRemoved"] }, { type: i8__namespace.MatSpinner, selector: "mat-spinner", inputs: ["color"] }], directives: [{ type: i4__namespace$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: SetRtlDirective, selector: "[SetRtl]" }, { type: i6__namespace.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i6__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i6__namespace.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i6__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }], pipes: { "translate": i1__namespace.TranslatePipe } });
|
|
22793
22830
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CreateModalComponent, decorators: [{
|
|
22794
22831
|
type: i0.Component,
|
|
22795
22832
|
args: [{
|
|
@@ -22801,10 +22838,10 @@
|
|
|
22801
22838
|
return [{ type: undefined, decorators: [{
|
|
22802
22839
|
type: i0.Inject,
|
|
22803
22840
|
args: [i1$4.MAT_DIALOG_DATA]
|
|
22804
|
-
}] }, { type:
|
|
22841
|
+
}] }, { type: UploadManagmentService }, { type: DialogMangmentService }, { type: FileManagerService }, { type: CustomToastrService }, { type: i6__namespace.FormBuilder }, { type: AdapterService }, { type: FileManagerService }, { type: AppConfigService }, { type: DateHelperService }, { type: UserService }, { type: undefined, decorators: [{
|
|
22805
22842
|
type: i0.Inject,
|
|
22806
22843
|
args: ['environment']
|
|
22807
|
-
}] }, { type: DynamicFormService }];
|
|
22844
|
+
}] }, { type: i0__namespace.Injector }, { type: DynamicFormService }];
|
|
22808
22845
|
}, propDecorators: { KeyUpEvent: [{
|
|
22809
22846
|
type: i0.HostListener,
|
|
22810
22847
|
args: ['document:keyup.enter', ['$event']]
|
|
@@ -28501,7 +28538,8 @@
|
|
|
28501
28538
|
i6.FormsModule,
|
|
28502
28539
|
DisplaySuitableIconModule,
|
|
28503
28540
|
i4$3.MatProgressBarModule,
|
|
28504
|
-
i7$1.MatCheckboxModule
|
|
28541
|
+
i7$1.MatCheckboxModule,
|
|
28542
|
+
NuxeoDialogModule], exports: [SidepanelComponent,
|
|
28505
28543
|
CopyComponent,
|
|
28506
28544
|
DeleteComponent,
|
|
28507
28545
|
MoveComponent,
|
|
@@ -28571,7 +28609,8 @@
|
|
|
28571
28609
|
i6.FormsModule,
|
|
28572
28610
|
DisplaySuitableIconModule,
|
|
28573
28611
|
i4$3.MatProgressBarModule,
|
|
28574
|
-
i7$1.MatCheckboxModule
|
|
28612
|
+
i7$1.MatCheckboxModule,
|
|
28613
|
+
NuxeoDialogModule
|
|
28575
28614
|
], i3$3.DxPopupModule,
|
|
28576
28615
|
i3$3.DxScrollViewModule,
|
|
28577
28616
|
i4$4.DxiToolbarItemModule,
|
|
@@ -28602,7 +28641,7 @@
|
|
|
28602
28641
|
TemplateModalComponent,
|
|
28603
28642
|
UpdateModalComponent,
|
|
28604
28643
|
ClipboardComponent,
|
|
28605
|
-
FileGridInfiniteScrollDirective
|
|
28644
|
+
FileGridInfiniteScrollDirective
|
|
28606
28645
|
],
|
|
28607
28646
|
imports: [
|
|
28608
28647
|
i4.CommonModule,
|
|
@@ -28647,7 +28686,8 @@
|
|
|
28647
28686
|
i6.FormsModule,
|
|
28648
28687
|
DisplaySuitableIconModule,
|
|
28649
28688
|
i4$3.MatProgressBarModule,
|
|
28650
|
-
i7$1.MatCheckboxModule
|
|
28689
|
+
i7$1.MatCheckboxModule,
|
|
28690
|
+
NuxeoDialogModule
|
|
28651
28691
|
],
|
|
28652
28692
|
exports: [
|
|
28653
28693
|
SidepanelComponent,
|
|
@@ -28676,7 +28716,7 @@
|
|
|
28676
28716
|
i3$3.DxFormModule,
|
|
28677
28717
|
i3$3.DxTreeViewModule,
|
|
28678
28718
|
ClipboardComponent,
|
|
28679
|
-
FileGridInfiniteScrollDirective
|
|
28719
|
+
FileGridInfiniteScrollDirective
|
|
28680
28720
|
]
|
|
28681
28721
|
}]
|
|
28682
28722
|
}] });
|