@rs-pk/asset-management 1.0.17 → 1.0.19
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/rs-pk-asset-management.umd.js +29 -8
- package/bundles/rs-pk-asset-management.umd.js.map +1 -1
- package/bundles/rs-pk-asset-management.umd.min.js +2 -2
- package/bundles/rs-pk-asset-management.umd.min.js.map +1 -1
- package/esm2015/lib/asset-management.component.js +6 -1
- package/esm2015/lib/components/partial/asset-dialog/asset-dialog.component.js +16 -9
- package/esm2015/lib/components/partial/asset-item/asset-item.component.js +1 -1
- package/esm2015/lib/components/partial/asset-management-dialog/asset-management-dialog.component.js +2 -1
- package/esm2015/lib/components/partial/node-details/node-details.component.js +2 -1
- package/esm2015/lib/components/partial/upload-dialog/upload-dialog.component.js +6 -1
- package/esm2015/lib/models/asset.model.js +3 -1
- package/esm2015/lib/services/asset.service.js +3 -1
- package/esm2015/lib/services/upload-assets.service.js +1 -1
- package/esm5/lib/asset-management.component.js +6 -1
- package/esm5/lib/components/partial/asset-dialog/asset-dialog.component.js +14 -8
- package/esm5/lib/components/partial/asset-item/asset-item.component.js +1 -1
- package/esm5/lib/components/partial/asset-management-dialog/asset-management-dialog.component.js +2 -1
- package/esm5/lib/components/partial/node-details/node-details.component.js +2 -1
- package/esm5/lib/components/partial/upload-dialog/upload-dialog.component.js +6 -1
- package/esm5/lib/models/asset.model.js +3 -1
- package/esm5/lib/services/asset.service.js +3 -1
- package/esm5/lib/services/upload-assets.service.js +1 -1
- package/fesm2015/rs-pk-asset-management.js +31 -9
- package/fesm2015/rs-pk-asset-management.js.map +1 -1
- package/fesm5/rs-pk-asset-management.js +29 -8
- package/fesm5/rs-pk-asset-management.js.map +1 -1
- package/lib/asset-management.component.d.ts +1 -0
- package/lib/components/partial/asset-dialog/asset-dialog.component.d.ts +4 -2
- package/lib/components/partial/upload-dialog/upload-dialog.component.d.ts +1 -0
- package/lib/models/asset.model.d.ts +1 -0
- package/lib/services/asset.service.d.ts +1 -0
- package/lib/services/upload-assets.service.d.ts +1 -1
- package/package.json +1 -1
- package/rs-pk-asset-management.metadata.json +1 -1
|
@@ -174,6 +174,8 @@ if (false) {
|
|
|
174
174
|
DialogConfig.prototype.limit;
|
|
175
175
|
/** @type {?} */
|
|
176
176
|
DialogConfig.prototype.allowedType;
|
|
177
|
+
/** @type {?} */
|
|
178
|
+
DialogConfig.prototype.maxSize;
|
|
177
179
|
}
|
|
178
180
|
|
|
179
181
|
/**
|
|
@@ -727,6 +729,8 @@ if (false) {
|
|
|
727
729
|
AssetService.prototype.sortOrder;
|
|
728
730
|
/** @type {?} */
|
|
729
731
|
AssetService.prototype.dialogConfig;
|
|
732
|
+
/** @type {?} */
|
|
733
|
+
AssetService.prototype.maxSize;
|
|
730
734
|
/**
|
|
731
735
|
* @type {?}
|
|
732
736
|
* @private
|
|
@@ -1712,6 +1716,7 @@ var AssetManagementDialogComponent = /** @class */ (function () {
|
|
|
1712
1716
|
return;
|
|
1713
1717
|
}
|
|
1714
1718
|
this.assetService.dialogConfig = data;
|
|
1719
|
+
this.assetService.maxSize = data.maxSize;
|
|
1715
1720
|
};
|
|
1716
1721
|
/**
|
|
1717
1722
|
* @return {?}
|
|
@@ -1778,6 +1783,7 @@ var AssetManagementComponent = /** @class */ (function () {
|
|
|
1778
1783
|
* @return {?}
|
|
1779
1784
|
*/
|
|
1780
1785
|
function () {
|
|
1786
|
+
this.assetService.maxSize = this.maxSize;
|
|
1781
1787
|
initialReducer(this.svc.getDispatcher());
|
|
1782
1788
|
this.bindSubscriber();
|
|
1783
1789
|
};
|
|
@@ -1828,6 +1834,7 @@ var AssetManagementComponent = /** @class */ (function () {
|
|
|
1828
1834
|
var config = {
|
|
1829
1835
|
limit: this.limit,
|
|
1830
1836
|
allowedType: this.allowedType,
|
|
1837
|
+
maxSize: this.maxSize
|
|
1831
1838
|
};
|
|
1832
1839
|
/** @type {?} */
|
|
1833
1840
|
var dialogRef = this.dialog.open(AssetManagementDialogComponent, {
|
|
@@ -1876,6 +1883,7 @@ var AssetManagementComponent = /** @class */ (function () {
|
|
|
1876
1883
|
isDialog: [{ type: Input }],
|
|
1877
1884
|
limit: [{ type: Input }],
|
|
1878
1885
|
allowedType: [{ type: Input }],
|
|
1886
|
+
maxSize: [{ type: Input }],
|
|
1879
1887
|
assetChange: [{ type: Output }]
|
|
1880
1888
|
};
|
|
1881
1889
|
return AssetManagementComponent;
|
|
@@ -1888,6 +1896,8 @@ if (false) {
|
|
|
1888
1896
|
/** @type {?} */
|
|
1889
1897
|
AssetManagementComponent.prototype.allowedType;
|
|
1890
1898
|
/** @type {?} */
|
|
1899
|
+
AssetManagementComponent.prototype.maxSize;
|
|
1900
|
+
/** @type {?} */
|
|
1891
1901
|
AssetManagementComponent.prototype.assetChange;
|
|
1892
1902
|
/**
|
|
1893
1903
|
* @type {?}
|
|
@@ -3073,6 +3083,8 @@ if (false) {
|
|
|
3073
3083
|
IData$3.prototype.currentAssetId;
|
|
3074
3084
|
/** @type {?|undefined} */
|
|
3075
3085
|
IData$3.prototype.fileType;
|
|
3086
|
+
/** @type {?|undefined} */
|
|
3087
|
+
IData$3.prototype.maxSize;
|
|
3076
3088
|
}
|
|
3077
3089
|
var UploadDialogComponent = /** @class */ (function () {
|
|
3078
3090
|
function UploadDialogComponent(data, dialogRef, changeDetectorRef, uploadAssetsService) {
|
|
@@ -3088,6 +3100,9 @@ var UploadDialogComponent = /** @class */ (function () {
|
|
|
3088
3100
|
this.data.fileType === 'Image'
|
|
3089
3101
|
? __spread(this.uploadAssetsService.imageExtension) : __spread(this.uploadAssetsService.documentExtension);
|
|
3090
3102
|
}
|
|
3103
|
+
if (this.data.maxSize) {
|
|
3104
|
+
this.uploadAssetsService.supportedSize = this.data.maxSize * 1024 * 1024;
|
|
3105
|
+
}
|
|
3091
3106
|
}
|
|
3092
3107
|
/**
|
|
3093
3108
|
* @return {?}
|
|
@@ -3729,13 +3744,14 @@ if (false) {
|
|
|
3729
3744
|
IData$4.prototype.name;
|
|
3730
3745
|
}
|
|
3731
3746
|
var AssetDialogComponent = /** @class */ (function () {
|
|
3732
|
-
function AssetDialogComponent(_env, dialog, data, dialogRef, fileSize,
|
|
3747
|
+
function AssetDialogComponent(_env, dialog, data, dialogRef, fileSize, uploadAssetsService, assetsService, fileService, domSanitizer, svc) {
|
|
3733
3748
|
this._env = _env;
|
|
3734
3749
|
this.dialog = dialog;
|
|
3735
3750
|
this.data = data;
|
|
3736
3751
|
this.dialogRef = dialogRef;
|
|
3737
3752
|
this.fileSize = fileSize;
|
|
3738
|
-
this.
|
|
3753
|
+
this.uploadAssetsService = uploadAssetsService;
|
|
3754
|
+
this.assetsService = assetsService;
|
|
3739
3755
|
this.fileService = fileService;
|
|
3740
3756
|
this.domSanitizer = domSanitizer;
|
|
3741
3757
|
this.svc = svc;
|
|
@@ -3763,6 +3779,7 @@ var AssetDialogComponent = /** @class */ (function () {
|
|
|
3763
3779
|
* @return {?}
|
|
3764
3780
|
*/
|
|
3765
3781
|
function () {
|
|
3782
|
+
this.uploadAssetsService.supportedSize = this.assetsService.maxSize * 1024 * 1024;
|
|
3766
3783
|
this.linkDownload = this._env.asset2Url + "/File/Download/" + this.data.assetId;
|
|
3767
3784
|
this.getAssetDetail();
|
|
3768
3785
|
};
|
|
@@ -3934,13 +3951,13 @@ var AssetDialogComponent = /** @class */ (function () {
|
|
|
3934
3951
|
var errors = [];
|
|
3935
3952
|
if (this.acceptTypes.indexOf(ext) < 0) {
|
|
3936
3953
|
/** @type {?} */
|
|
3937
|
-
var extError = this.
|
|
3954
|
+
var extError = this.uploadAssetsService.messageErrors.replace + " " + this.acceptTypes.join(', ');
|
|
3938
3955
|
errors.push(extError);
|
|
3939
3956
|
}
|
|
3940
|
-
if (this.
|
|
3957
|
+
if (this.uploadAssetsService.supportedSize < file.size) {
|
|
3941
3958
|
/** @type {?} */
|
|
3942
|
-
var maxSize = this.fileSize.transform(this.
|
|
3943
|
-
errors.push(this.
|
|
3959
|
+
var maxSize = this.fileSize.transform(this.uploadAssetsService.supportedSize, 0);
|
|
3960
|
+
errors.push(this.uploadAssetsService.messageErrors.size + " " + maxSize);
|
|
3944
3961
|
}
|
|
3945
3962
|
if (errors.length) {
|
|
3946
3963
|
this.replaceMessage = errors.join('<br/>');
|
|
@@ -4048,6 +4065,7 @@ var AssetDialogComponent = /** @class */ (function () {
|
|
|
4048
4065
|
{ type: MatDialogRef },
|
|
4049
4066
|
{ type: FileSizePipe },
|
|
4050
4067
|
{ type: UploadAssetsService },
|
|
4068
|
+
{ type: AssetService },
|
|
4051
4069
|
{ type: FileService },
|
|
4052
4070
|
{ type: DomSanitizer },
|
|
4053
4071
|
{ type: AssetManagementService }
|
|
@@ -4111,7 +4129,9 @@ if (false) {
|
|
|
4111
4129
|
*/
|
|
4112
4130
|
AssetDialogComponent.prototype.fileSize;
|
|
4113
4131
|
/** @type {?} */
|
|
4114
|
-
AssetDialogComponent.prototype.
|
|
4132
|
+
AssetDialogComponent.prototype.uploadAssetsService;
|
|
4133
|
+
/** @type {?} */
|
|
4134
|
+
AssetDialogComponent.prototype.assetsService;
|
|
4115
4135
|
/**
|
|
4116
4136
|
* @type {?}
|
|
4117
4137
|
* @private
|
|
@@ -4251,7 +4271,7 @@ var AssetItemComponent = /** @class */ (function () {
|
|
|
4251
4271
|
{ type: Component, args: [{
|
|
4252
4272
|
selector: 'lib-asset-item',
|
|
4253
4273
|
template: "<div class=\"asset-wrapper\">\n <div class=\"asset-content\">\n <div class=\"asset-content__header\">\n <button class=\"asset-content__header--button\" mat-raised-button (click)=\"onChange()\">\n <mat-checkbox\n class=\"checkbox\"\n [checked]=\"checkSelectedAsset\"\n ></mat-checkbox>\n </button>\n <button\n class=\"asset-content__header--button edit-button\"\n mat-raised-button\n (click)=\"editAsset()\"\n >\n <mat-icon>edit</mat-icon>\n </button>\n </div>\n <div class=\"asset-content__body\">\n <ng-container [ngSwitch]=\"asset.FileType\">\n <ng-container *ngSwitchCase=\"fileType.IMAGE\">\n <img\n class=\"image\"\n [src]=\"asset.UrlThumbnail\"\n [alt]=\"asset.OriginalFileName\"\n />\n </ng-container>\n <ng-container *ngSwitchCase=\"fileType.DOCUMENT\">\n <img [src]=\"base64PNG[asset.Extension]\" [alt]=\"asset.OriginalFileName\" [ngClass]=\"asset.Extension\" />\n </ng-container>\n </ng-container>\n </div>\n <div class=\"asset-content__footer\">\n <div\n class=\"asset-content__footer--info\"\n [ngClass]=\"{\n 'file-type__document': asset.FileType === fileType.DOCUMENT\n }\"\n >\n <p\n class=\"name\"\n [matTooltip]=\"asset.OriginalFileNameWithoutExtension\"\n matTooltipClass=\"width-auto\"\n >\n {{ asset.OriginalFileNameWithoutExtension }}\n </p>\n <p class=\"info\">\n <span class=\"extension\">{{ asset.Extension }}</span>\n <span\n *ngIf=\"\n asset.FileType === fileType.IMAGE && asset?.Extension !== 'svg'\n \"\n >\n - {{ asset.Width }}x{{ asset.Height }}</span\n >\n <span *ngIf=\"asset.Size\"> - {{ asset.Size }}</span>\n </p>\n </div>\n <div class=\"asset-content__footer--file-type\">\n <span>{{ asset.FileType }}</span>\n </div>\n </div>\n </div>\n</div>\n",
|
|
4254
|
-
styles: [":host::ng-deep .asset-wrapper{padding:5px}:host::ng-deep .asset-wrapper .asset-content{overflow:hidden;position:relative;border-radius:10px;border:1px solid #d8d8d8;font-size:14px;transition:.3s cubic-bezier(.25,.8,.25,1)}:host::ng-deep .asset-wrapper .asset-content:hover{box-shadow:0 0 8px rgba(0,0,0,.17),0 0 0 rgba(0,0,0,.06)}:host::ng-deep .asset-wrapper .asset-content__header{position:absolute;z-index:1;top:0;left:0;width:100%;display:flex;justify-content:space-between;padding:14px}:host::ng-deep .asset-wrapper .asset-content__header--button{width:30px;height:30px;min-width:30px;display:flex;align-items:center;justify-content:center;text-align:center;color:rgba(0,0,0,.65);background:rgba(255,255,255,.6)}:host::ng-deep .asset-wrapper .asset-content__header--button:hover{background:#fff}:host::ng-deep .asset-wrapper .asset-content__header--button.edit-button{transition:.3s cubic-bezier(.25,.8,.25,1);opacity:0}:host::ng-deep .asset-wrapper .asset-content__header--button .mat-icon{font-size:22px}:host::ng-deep .asset-wrapper .asset-content__header--button .mat-checkbox{pointer-events:none;display:flex;align-items:center}:host::ng-deep .asset-wrapper .asset-content__header--button .mat-checkbox .mat-checkbox-layout{margin:0}:host::ng-deep .asset-wrapper .asset-content__header--button .mat-checkbox .mat-checkbox-layout .mat-checkbox-frame{color:#767676}:host::ng-deep .asset-wrapper .asset-content__body{padding-bottom:66.66%;background:#f1f1f1;position:relative}:host::ng-deep .asset-wrapper .asset-content__body img{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}:host::ng-deep .asset-wrapper .asset-content__body img.image{background-image:url(data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEBLAEsAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/wAARCAAUABQDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD+/ivFPFOf+EjvxzjbBgdv+PeDp+OfxzSt4q18AkageASB9ntu3OM+Vn8c5rsdG0fT9d06DVdUgN1f3XmefP5ksO/ypXhj/dwvHGu2ONF+VF3bQSM0AeYUV7IPCWgjgWRA/wCvi4P85SaKAPGm5Vh7H+VeyeERjQLEDoPP/WeQ/wAzRRQB0tFFFAH/2Q==)}:host::ng-deep .asset-wrapper .asset-content__body img.csv,:host::ng-deep .asset-wrapper .asset-content__body img.pdf,:host::ng-deep .asset-wrapper .asset-content__body img.zip{width:75%;height:75%}:host::ng-deep .asset-wrapper .asset-content__footer{display:flex;align-items:center;justify-content:space-between;padding:5px 8px}:host::ng-deep .asset-wrapper .asset-content__footer--info{max-width:calc(100% - 50px)}:host::ng-deep .asset-wrapper .asset-content__footer--info p{margin:0;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host::ng-deep .asset-wrapper .asset-content__footer--info .info{font-size:12px;color:#979797}:host::ng-deep .asset-wrapper .asset-content__footer--info .info .extension{text-transform:uppercase}:host::ng-deep .asset-wrapper .asset-content__footer--info.file-type__document{max-width:calc(100% - 70px)}:host::ng-deep .asset-wrapper .asset-content__footer--file-type{border-radius:5px;background-color:#d8d8d8;padding:2px 6px;font-size:12px}:host::ng-deep .asset-wrapper .asset-content:hover .edit-button{opacity:1!important}"]
|
|
4274
|
+
styles: [":host::ng-deep .asset-wrapper{padding:5px}:host::ng-deep .asset-wrapper .asset-content{overflow:hidden;position:relative;border-radius:10px;border:1px solid #d8d8d8;font-size:14px;transition:.3s cubic-bezier(.25,.8,.25,1)}:host::ng-deep .asset-wrapper .asset-content:hover{box-shadow:0 0 8px rgba(0,0,0,.17),0 0 0 rgba(0,0,0,.06)}:host::ng-deep .asset-wrapper .asset-content__header{position:absolute;z-index:1;top:0;left:0;width:100%;display:flex;justify-content:space-between;padding:14px}:host::ng-deep .asset-wrapper .asset-content__header--button{width:30px;height:30px;min-width:30px;display:flex;align-items:center;justify-content:center;text-align:center;color:rgba(0,0,0,.65);background:rgba(255,255,255,.6)}:host::ng-deep .asset-wrapper .asset-content__header--button:hover{background:#fff}:host::ng-deep .asset-wrapper .asset-content__header--button.edit-button{transition:.3s cubic-bezier(.25,.8,.25,1);opacity:0}:host::ng-deep .asset-wrapper .asset-content__header--button .mat-icon{font-size:22px}:host::ng-deep .asset-wrapper .asset-content__header--button .mat-checkbox{pointer-events:none;display:flex;align-items:center}:host::ng-deep .asset-wrapper .asset-content__header--button .mat-checkbox .mat-checkbox-layout{display:block;margin:0}:host::ng-deep .asset-wrapper .asset-content__header--button .mat-checkbox .mat-checkbox-layout .mat-checkbox-frame{color:#767676}:host::ng-deep .asset-wrapper .asset-content__body{padding-bottom:66.66%;background:#f1f1f1;position:relative}:host::ng-deep .asset-wrapper .asset-content__body img{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}:host::ng-deep .asset-wrapper .asset-content__body img.image{background-image:url(data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEBLAEsAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/wAARCAAUABQDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD+/ivFPFOf+EjvxzjbBgdv+PeDp+OfxzSt4q18AkageASB9ntu3OM+Vn8c5rsdG0fT9d06DVdUgN1f3XmefP5ksO/ypXhj/dwvHGu2ONF+VF3bQSM0AeYUV7IPCWgjgWRA/wCvi4P85SaKAPGm5Vh7H+VeyeERjQLEDoPP/WeQ/wAzRRQB0tFFFAH/2Q==)}:host::ng-deep .asset-wrapper .asset-content__body img.csv,:host::ng-deep .asset-wrapper .asset-content__body img.pdf,:host::ng-deep .asset-wrapper .asset-content__body img.zip{width:75%;height:75%}:host::ng-deep .asset-wrapper .asset-content__footer{display:flex;align-items:center;justify-content:space-between;padding:5px 8px}:host::ng-deep .asset-wrapper .asset-content__footer--info{max-width:calc(100% - 50px)}:host::ng-deep .asset-wrapper .asset-content__footer--info p{margin:0;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host::ng-deep .asset-wrapper .asset-content__footer--info .info{font-size:12px;color:#979797}:host::ng-deep .asset-wrapper .asset-content__footer--info .info .extension{text-transform:uppercase}:host::ng-deep .asset-wrapper .asset-content__footer--info.file-type__document{max-width:calc(100% - 70px)}:host::ng-deep .asset-wrapper .asset-content__footer--file-type{border-radius:5px;background-color:#d8d8d8;padding:2px 6px;font-size:12px}:host::ng-deep .asset-wrapper .asset-content:hover .edit-button{opacity:1!important}"]
|
|
4255
4275
|
}] }
|
|
4256
4276
|
];
|
|
4257
4277
|
/** @nocollapse */
|
|
@@ -5627,6 +5647,7 @@ var NodeDetailsComponent = /** @class */ (function () {
|
|
|
5627
5647
|
data: {
|
|
5628
5648
|
currentAssetId: this.currentFolder.AssetId,
|
|
5629
5649
|
fileType: this.assetService.dialogConfig.allowedType,
|
|
5650
|
+
maxSize: this.assetService.maxSize
|
|
5630
5651
|
},
|
|
5631
5652
|
panelClass: 'lib-dialog--medium',
|
|
5632
5653
|
});
|