mobicloud-core 1.0.305 → 1.0.307
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/mobicloud-core-components.umd.js +14 -2
- package/bundles/mobicloud-core-components.umd.js.map +1 -1
- package/components/document/document-catalog/document-catalog.component.d.ts +4 -1
- package/components/document/document-catalog-dialog/document-catalog-dialog.component.d.ts +1 -0
- package/esm2015/components/document/document-catalog/document-catalog.component.js +10 -2
- package/esm2015/components/document/document-catalog-dialog/document-catalog-dialog.component.js +6 -2
- package/fesm2015/mobicloud-core-components.js +14 -2
- package/fesm2015/mobicloud-core-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -9106,6 +9106,7 @@
|
|
|
9106
9106
|
this.modalController = modalController;
|
|
9107
9107
|
this.selectedItemIdChanged = new i0.EventEmitter();
|
|
9108
9108
|
this.selectedDocumentChanged = new i0.EventEmitter();
|
|
9109
|
+
this.onFileManagerContentReady = new i0.EventEmitter();
|
|
9109
9110
|
this.beforeSubmit = this.beforeSubmit.bind(this);
|
|
9110
9111
|
}
|
|
9111
9112
|
DocumentCatalogComponent.prototype.ngOnInit = function () {
|
|
@@ -9355,10 +9356,13 @@
|
|
|
9355
9356
|
});
|
|
9356
9357
|
});
|
|
9357
9358
|
};
|
|
9359
|
+
DocumentCatalogComponent.prototype.onContentReady = function (e) {
|
|
9360
|
+
this.onFileManagerContentReady.emit(e);
|
|
9361
|
+
};
|
|
9358
9362
|
return DocumentCatalogComponent;
|
|
9359
9363
|
}());
|
|
9360
9364
|
DocumentCatalogComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DocumentCatalogComponent, deps: [{ token: i2__namespace.ActivatedRoute }, { token: i2__namespace$1.MobiCloudDataService }, { token: i2__namespace.Router }, { token: i4__namespace$2.Location }, { token: i4__namespace$4.ModalController }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
9361
|
-
DocumentCatalogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DocumentCatalogComponent, selector: "mobicloud-document-catalog", inputs: { endpointUrl: "endpointUrl", editAllowed: "editAllowed", downloadAllowed: "downloadAllowed", entityname: "entityname", entityid: "entityid", manageSecurity: "manageSecurity" }, outputs: { selectedItemIdChanged: "selectedItemIdChanged", selectedDocumentChanged: "selectedDocumentChanged" }, viewQueries: [{ propertyName: "fileManager", first: true, predicate: ["fileManager"], descendants: true }], ngImport: i0__namespace, template: "<dx-file-manager #fileManager id=\"fileManager\"\n [fileSystemProvider]=\"remoteProvider\" selectionMode=\"single\" (onErrorOccurred)=\"onErrorOccurred($event)\"\n rootFolderName=\"Documents\" i18n-rootFolderName=\"@@DocumentsFolderName-Text\" (onSelectionChanged)=\"onSelectionChanged($event)\"(onSelectedFileOpened)=\"onSelectedFileOpened($event)\" (onContextMenuShowing)=\"onContextMenuShowing($event)\" (onContextMenuItemClick)=\"onContextMenuItemClick($event)\" height=\"
|
|
9365
|
+
DocumentCatalogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DocumentCatalogComponent, selector: "mobicloud-document-catalog", inputs: { endpointUrl: "endpointUrl", height: "height", editAllowed: "editAllowed", downloadAllowed: "downloadAllowed", entityname: "entityname", entityid: "entityid", manageSecurity: "manageSecurity" }, outputs: { selectedItemIdChanged: "selectedItemIdChanged", selectedDocumentChanged: "selectedDocumentChanged", onFileManagerContentReady: "onFileManagerContentReady" }, viewQueries: [{ propertyName: "fileManager", first: true, predicate: ["fileManager"], descendants: true }], ngImport: i0__namespace, template: "<dx-file-manager #fileManager id=\"fileManager\"\n [fileSystemProvider]=\"remoteProvider\" selectionMode=\"single\" (onErrorOccurred)=\"onErrorOccurred($event)\" (onContentReady)=\"onContentReady($event)\"\n rootFolderName=\"Documents\" i18n-rootFolderName=\"@@DocumentsFolderName-Text\" (onSelectionChanged)=\"onSelectionChanged($event)\"(onSelectedFileOpened)=\"onSelectedFileOpened($event)\" (onContextMenuShowing)=\"onContextMenuShowing($event)\" (onContextMenuItemClick)=\"onContextMenuItemClick($event)\" [height]=\"height\">\n\n <dxo-permissions \n [create]=\"editAllowed\"\n [copy]=\"editAllowed\"\n [move]=\"editAllowed\"\n [delete]=\"editAllowed\"\n [rename]=\"editAllowed\"\n [upload]=\"editAllowed\"\n [download]=\"downloadAllowed\">\n </dxo-permissions>\n \n <dxo-item-view [showParentFolder]=\"false\">\n <dxo-details>\n <dxi-column dataField=\"thumbnail\" hidingPriority=\"100\"></dxi-column>\n <dxi-column dataField=\"name\" hidingPriority=\"90\"></dxi-column>\n <dxi-column dataField=\"CategoryName\" caption=\"Category\" hidingPriority=\"80\"></dxi-column>\n <dxi-column dataField=\"TypeName\" caption=\"Type\" hidingPriority=\"70\"></dxi-column> \n <dxi-column dataField=\"dateModified\" hidingPriority=\"60\"></dxi-column>\n <!-- <dxi-column dataField=\"IsSystem\" caption=\"System\" [visible]=\"true\"></dxi-column> --> \n <dxi-column dataField=\"SecurityVisibility\" caption=\"Security\" hidingPriority=\"50\" [visible]=\"true\" *ngIf=\"manageSecurity\"></dxi-column>\n <dxi-column dataField=\"BlobFullName\" caption=\"Blob name\" hidingPriority=\"40\" [visible]=\"true\" *ngIf=\"editAllowed\"></dxi-column> \n <!-- <dxi-column dataField=\"size\"></dxi-column> -->\n </dxo-details>\n </dxo-item-view>\n <!-- <dxo-upload [chunkSize]=\"500000\"></dxo-upload> -->\n\n <dxo-context-menu>\n <!-- <dxi-item name=\"create\"></dxi-item>\n <dxi-item name=\"upload\"></dxi-item>\n <dxi-item name=\"rename\"></dxi-item>\n <dxi-item name=\"move\"></dxi-item> \n <dxi-item name=\"copy\"></dxi-item> \n <dxi-item name=\"delete\"></dxi-item> \n <dxi-item text=\"Category\" icon=\"tags\" beginGroup=\"true\">\n <dxi-item text=\"Work\" [options]=\"{ category: 'Work' }\"></dxi-item>\n <dxi-item text=\"Important\" [options]=\"{ category: 'Important' }\"></dxi-item>\n <dxi-item text=\"Home\" [options]=\"{ category: 'Home' }\"></dxi-item>\n <dxi-item text=\"None\" [options]=\"{ category: '' }\"></dxi-item>\n </dxi-item> \n <dxi-item name=\"refresh\" beginGroup=\"true\"></dxi-item>\n <dxi-item name=\"download\"></dxi-item> -->\n \n\n </dxo-context-menu> \n</dx-file-manager>", styles: [""], components: [{ type: i7__namespace.DxFileManagerComponent, selector: "dx-file-manager", inputs: ["accessKey", "activeStateEnabled", "allowedFileExtensions", "contextMenu", "currentPath", "currentPathKeys", "customizeDetailColumns", "customizeThumbnail", "disabled", "elementAttr", "fileSystemProvider", "focusedItemKey", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "itemView", "notifications", "permissions", "rootFolderName", "rtlEnabled", "selectedItemKeys", "selectionMode", "tabIndex", "toolbar", "upload", "visible", "width"], outputs: ["onContentReady", "onContextMenuItemClick", "onContextMenuShowing", "onCurrentDirectoryChanged", "onDirectoryCreated", "onDirectoryCreating", "onDisposing", "onErrorOccurred", "onFileUploaded", "onFileUploading", "onFocusedItemChanged", "onInitialized", "onItemCopied", "onItemCopying", "onItemDeleted", "onItemDeleting", "onItemDownloading", "onItemMoved", "onItemMoving", "onItemRenamed", "onItemRenaming", "onOptionChanged", "onSelectedFileOpened", "onSelectionChanged", "onToolbarItemClick", "accessKeyChange", "activeStateEnabledChange", "allowedFileExtensionsChange", "contextMenuChange", "currentPathChange", "currentPathKeysChange", "customizeDetailColumnsChange", "customizeThumbnailChange", "disabledChange", "elementAttrChange", "fileSystemProviderChange", "focusedItemKeyChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "itemViewChange", "notificationsChange", "permissionsChange", "rootFolderNameChange", "rtlEnabledChange", "selectedItemKeysChange", "selectionModeChange", "tabIndexChange", "toolbarChange", "uploadChange", "visibleChange", "widthChange"] }, { type: i6__namespace.DxoPermissionsComponent, selector: "dxo-permissions", inputs: ["copy", "create", "delete", "download", "move", "rename", "upload"] }, { type: i6__namespace.DxoItemViewComponent, selector: "dxo-item-view", inputs: ["details", "mode", "showFolders", "showParentFolder"] }, { type: i6__namespace.DxoDetailsComponent, selector: "dxo-details", inputs: ["columns"] }, { type: i6__namespace.DxiColumnComponent, selector: "dxi-column", inputs: ["alignment", "allowEditing", "allowExporting", "allowFiltering", "allowFixing", "allowGrouping", "allowHeaderFiltering", "allowHiding", "allowReordering", "allowResizing", "allowSearch", "allowSorting", "autoExpandGroup", "buttons", "calculateCellValue", "calculateDisplayValue", "calculateFilterExpression", "calculateGroupValue", "calculateSortValue", "caption", "cellTemplate", "columns", "cssClass", "customizeText", "dataField", "dataType", "editCellTemplate", "editorOptions", "encodeHtml", "falseText", "filterOperations", "filterType", "filterValue", "filterValues", "fixed", "fixedPosition", "format", "formItem", "groupCellTemplate", "groupIndex", "headerCellTemplate", "headerFilter", "hidingPriority", "isBand", "lookup", "minWidth", "name", "ownerBand", "renderAsync", "selectedFilterOperation", "setCellValue", "showEditorAlways", "showInColumnChooser", "showWhenGrouped", "sortIndex", "sortingMethod", "sortOrder", "trueText", "type", "validationRules", "visible", "visibleIndex", "width"], outputs: ["filterValueChange", "filterValuesChange", "groupIndexChange", "selectedFilterOperationChange", "sortOrderChange", "visibleChange", "visibleIndexChange"] }, { type: i6__namespace.DxoContextMenuComponent, selector: "dxo-context-menu", inputs: ["commands", "enabled", "items"] }], directives: [{ type: i4__namespace$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
9362
9366
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DocumentCatalogComponent, decorators: [{
|
|
9363
9367
|
type: i0.Component,
|
|
9364
9368
|
args: [{
|
|
@@ -9371,10 +9375,14 @@
|
|
|
9371
9375
|
args: ['fileManager']
|
|
9372
9376
|
}], endpointUrl: [{
|
|
9373
9377
|
type: i0.Input
|
|
9378
|
+
}], height: [{
|
|
9379
|
+
type: i0.Input
|
|
9374
9380
|
}], selectedItemIdChanged: [{
|
|
9375
9381
|
type: i0.Output
|
|
9376
9382
|
}], selectedDocumentChanged: [{
|
|
9377
9383
|
type: i0.Output
|
|
9384
|
+
}], onFileManagerContentReady: [{
|
|
9385
|
+
type: i0.Output
|
|
9378
9386
|
}], editAllowed: [{
|
|
9379
9387
|
type: i0.Input
|
|
9380
9388
|
}], downloadAllowed: [{
|
|
@@ -9395,6 +9403,10 @@
|
|
|
9395
9403
|
this.cloudDataService = cloudDataService;
|
|
9396
9404
|
this.matDialog = matDialog;
|
|
9397
9405
|
this.selectedDocument = undefined;
|
|
9406
|
+
this.height = "100%";
|
|
9407
|
+
if (data === null || data === void 0 ? void 0 : data.height) {
|
|
9408
|
+
this.height = data.height;
|
|
9409
|
+
}
|
|
9398
9410
|
}
|
|
9399
9411
|
DocumentCatalogDialogComponent.prototype.ngOnInit = function () {
|
|
9400
9412
|
};
|
|
@@ -9416,7 +9428,7 @@
|
|
|
9416
9428
|
return DocumentCatalogDialogComponent;
|
|
9417
9429
|
}());
|
|
9418
9430
|
DocumentCatalogDialogComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DocumentCatalogDialogComponent, deps: [{ token: i3__namespace.MatDialogRef }, { token: i3.MAT_DIALOG_DATA }, { token: i2__namespace$1.MobiCloudDataService }, { token: i3__namespace.MatDialog }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
9419
|
-
DocumentCatalogDialogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DocumentCatalogDialogComponent, selector: "mobicloud-document-catalog-dialog", ngImport: i0__namespace, template: "<div class=\"filemanager-container\">\n <mobicloud-document-catalog (selectedItemIdChanged)=\"selectedItemIdChanged($event)\" (selectedDocumentChanged)=\"selectedDocumentChanged($event)\"></mobicloud-document-catalog>\n <div fxLayout=\"row\" fxLayoutAlign=\"end start\" class=\"buttonpanel\">\n <button mat-flat-button color=\"primary\" class=\"button1\" [disabled]=\"!selectedItemId\" (click)=\"onClose()\" i18n=\"@@Button-Select\">Select</button>\n <button mat-flat-button color=\"accent\" class=\"button2\" (click)=\"onCancelClick()\" i18n=\"@@Button-Cancel\">Cancel</button> \n </div>\n</div>", styles: [".buttonpanel{margin-top:16px!important;margin-bottom:16px!important;margin-right:15px}.buttonpanel .button1{margin-right:15px}.buttonpanel .button2{margin-left:15px}\n"], components: [{ type: DocumentCatalogComponent, selector: "mobicloud-document-catalog", inputs: ["endpointUrl", "editAllowed", "downloadAllowed", "entityname", "entityid", "manageSecurity"], outputs: ["selectedItemIdChanged", "selectedDocumentChanged"] }, { type: i4__namespace$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i5__namespace$2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i5__namespace$2.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }] });
|
|
9431
|
+
DocumentCatalogDialogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DocumentCatalogDialogComponent, selector: "mobicloud-document-catalog-dialog", ngImport: i0__namespace, template: "<div class=\"filemanager-container\">\n <mobicloud-document-catalog (selectedItemIdChanged)=\"selectedItemIdChanged($event)\" (selectedDocumentChanged)=\"selectedDocumentChanged($event)\" [height]=\"height\"></mobicloud-document-catalog>\n <div fxLayout=\"row\" fxLayoutAlign=\"end start\" class=\"buttonpanel\">\n <button mat-flat-button color=\"primary\" class=\"button1\" [disabled]=\"!selectedItemId\" (click)=\"onClose()\" i18n=\"@@Button-Select\">Select</button>\n <button mat-flat-button color=\"accent\" class=\"button2\" (click)=\"onCancelClick()\" i18n=\"@@Button-Cancel\">Cancel</button> \n </div>\n</div>", styles: [".buttonpanel{margin-top:16px!important;margin-bottom:16px!important;margin-right:15px}.buttonpanel .button1{margin-right:15px}.buttonpanel .button2{margin-left:15px}\n"], components: [{ type: DocumentCatalogComponent, selector: "mobicloud-document-catalog", inputs: ["endpointUrl", "height", "editAllowed", "downloadAllowed", "entityname", "entityid", "manageSecurity"], outputs: ["selectedItemIdChanged", "selectedDocumentChanged", "onFileManagerContentReady"] }, { type: i4__namespace$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i5__namespace$2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i5__namespace$2.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }] });
|
|
9420
9432
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DocumentCatalogDialogComponent, decorators: [{
|
|
9421
9433
|
type: i0.Component,
|
|
9422
9434
|
args: [{
|