@gsp-svc/formdoc-upload 0.1.23 → 0.1.28

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.
Files changed (40) hide show
  1. package/bundles/gsp-svc-formdoc-upload.umd.js +221 -25
  2. package/bundles/gsp-svc-formdoc-upload.umd.js.map +1 -1
  3. package/bundles/gsp-svc-formdoc-upload.umd.min.js +1 -1
  4. package/bundles/gsp-svc-formdoc-upload.umd.min.js.map +1 -1
  5. package/esm2015/gsp-svc-formdoc-upload.js +3 -2
  6. package/esm2015/lib/formdoc-upload.module.js +8 -3
  7. package/esm2015/lib/i18n/language.resource.js +116 -0
  8. package/esm2015/lib/local.pipe.js +48 -0
  9. package/esm2015/lib/upload/download.service.js +2 -2
  10. package/esm2015/lib/upload/entity/filestate.js +13 -0
  11. package/esm2015/lib/upload/entity/uploadfileinfo.js +3 -1
  12. package/esm2015/lib/upload/file-upload/file-upload.component.js +26 -16
  13. package/esm2015/lib/upload/upload.module.js +9 -4
  14. package/esm2015/lib/uploaddialog.service.js +18 -8
  15. package/esm2015/public-api.js +4 -1
  16. package/esm5/gsp-svc-formdoc-upload.js +3 -2
  17. package/esm5/lib/formdoc-upload.module.js +8 -3
  18. package/esm5/lib/i18n/language.resource.js +116 -0
  19. package/esm5/lib/local.pipe.js +51 -0
  20. package/esm5/lib/upload/download.service.js +2 -2
  21. package/esm5/lib/upload/entity/filestate.js +13 -0
  22. package/esm5/lib/upload/entity/uploadfileinfo.js +3 -1
  23. package/esm5/lib/upload/file-upload/file-upload.component.js +28 -16
  24. package/esm5/lib/upload/upload.module.js +9 -4
  25. package/esm5/lib/uploaddialog.service.js +18 -8
  26. package/esm5/public-api.js +4 -1
  27. package/fesm2015/gsp-svc-formdoc-upload.js +209 -28
  28. package/fesm2015/gsp-svc-formdoc-upload.js.map +1 -1
  29. package/fesm5/gsp-svc-formdoc-upload.js +216 -28
  30. package/fesm5/gsp-svc-formdoc-upload.js.map +1 -1
  31. package/gsp-svc-formdoc-upload.d.ts +1 -0
  32. package/gsp-svc-formdoc-upload.metadata.json +1 -1
  33. package/lib/i18n/language.resource.d.ts +110 -0
  34. package/lib/local.pipe.d.ts +8 -0
  35. package/lib/upload/entity/filestate.d.ts +4 -0
  36. package/lib/upload/entity/uploadfileinfo.d.ts +2 -0
  37. package/lib/upload/file-upload/file-upload.component.d.ts +4 -1
  38. package/lib/uploaddialog.service.d.ts +3 -0
  39. package/package.json +1 -1
  40. package/public-api.d.ts +3 -0
@@ -52,6 +52,7 @@
52
52
  * @fileoverview added by tsickle
53
53
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
54
54
  */
55
+ var ɵ0 = localStorage.getItem('languageCode') || 'zh-CHS';
55
56
  var FormdocUploadModule = /** @class */ (function () {
56
57
  function FormdocUploadModule() {
57
58
  }
@@ -59,7 +60,9 @@
59
60
  { type: i0.NgModule, args: [{
60
61
  declarations: [FormdocUploadComponent],
61
62
  imports: [],
62
- exports: [FormdocUploadComponent]
63
+ exports: [FormdocUploadComponent],
64
+ providers: [cafCommon.LanguageService,
65
+ { provide: i0.LOCALE_ID, useValue: ɵ0 },]
63
66
  },] }
64
67
  ];
65
68
  return FormdocUploadModule;
@@ -421,6 +424,18 @@
421
424
  return ExStorageFileInfo;
422
425
  }());
423
426
 
427
+ /**
428
+ * @fileoverview added by tsickle
429
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
430
+ */
431
+ /** @enum {number} */
432
+ var FileState = {
433
+ New: 0,
434
+ Update: 1,
435
+ };
436
+ FileState[FileState.New] = 'New';
437
+ FileState[FileState.Update] = 'Update';
438
+
424
439
  /**
425
440
  * @fileoverview added by tsickle
426
441
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -531,13 +546,17 @@
531
546
  */
532
547
  function ($event) {
533
548
  var _this = this;
549
+ /** @type {?} */
550
+ var loading = this.loadService.show({
551
+ message: this.localepipe.transform('uploading')
552
+ });
534
553
  this.hasSelectedFile = true;
535
554
  this.selectedFiles = document.querySelector('#file');
536
555
  if (this.fileCount > 0) {
537
556
  if (this.selectedFiles.files.length + this.files.length > this.fileCount) {
538
557
  /** @type {?} */
539
558
  var selectedNum = (( /** @type {?} */(this.selectedFiles.files.length))) + this.files.length;
540
- this.msgService.warning('已选择' + selectedNum + '个文件,超过系统设置的数量限制' + this.fileCount + '个,请重新选择上传文件。');
559
+ this.msgService.warning(this.localepipe.transform('selectedCount') + selectedNum + this.localepipe.transform('limitCount') + this.fileCount + this.localepipe.transform('rechooseFile'));
541
560
  return;
542
561
  }
543
562
  }
@@ -558,11 +577,11 @@
558
577
  // this.uploadFile(uuid, selectedFile);
559
578
  // })
560
579
  /** @type {?} */
561
- var msg_1 = this_1.msgService.show('warning', '已上传过同名文件: ' + selectedFile.name, {
580
+ var msg_1 = this_1.msgService.show('warning', this_1.localepipe.transform('haveSameName') + selectedFile.name, {
562
581
  initialState: {
563
582
  buttons: [
564
583
  {
565
- text: '重命名',
584
+ text: this_1.localepipe.transform('rename'),
566
585
  cls: 'btn btn-secondary',
567
586
  handle: ( /**
568
587
  * @return {?}
@@ -591,7 +610,7 @@
591
610
  })
592
611
  },
593
612
  {
594
- text: '替换',
613
+ text: this_1.localepipe.transform('replace'),
595
614
  cls: 'btn btn-secondary',
596
615
  handle: ( /**
597
616
  * @return {?}
@@ -600,7 +619,7 @@
600
619
  * @param {?} x
601
620
  * @return {?}
602
621
  */function (x) { return x.fileName == selectedFile.name; })).metadataId;
603
- _this.uploadFile(uuid, selectedFile, selectedFile.name);
622
+ _this.uploadFile(uuid, selectedFile, selectedFile.name, FileState.Update);
604
623
  _this.uploadedFileTotal--;
605
624
  if (_this.oldUploadedFileList.find(( /**
606
625
  * @param {?} x
@@ -616,7 +635,7 @@
616
635
  })
617
636
  },
618
637
  {
619
- text: '取消',
638
+ text: this_1.localepipe.transform('cancel'),
620
639
  cls: 'btn btn-secondary',
621
640
  handle: ( /**
622
641
  * @return {?}
@@ -655,14 +674,14 @@
655
674
  if (this.errFileList.length > 0) {
656
675
  /** @type {?} */
657
676
  var name_1 = this.listToString(this.errFileList);
658
- this.msgService.warning('已上传同名文件: ' + name_1 + '请重新选择上传文件。');
677
+ this.msgService.warning(this.localepipe.transform('haveSameName') + name_1 + this.localepipe.transform('rechooseFile'));
659
678
  this.errFileList = [];
660
679
  }
661
680
  if (this.nullFileList.length > 0) {
662
681
  /** @type {?} */
663
682
  var name_2 = this.listToString(this.nullFileList);
664
683
  name_2 = name_2.substring(0, name_2.length - 1);
665
- this.msgService.warning('文件: ' + name_2 + ' 大小为0,请重新选择上传文件。');
684
+ this.msgService.warning(name_2 + this.localepipe.transform('sizeZero') + this.localepipe.transform('rechooseFile'));
666
685
  this.nullFileList = [];
667
686
  }
668
687
  // if (this.errTypeList.length > 0) {
@@ -673,6 +692,7 @@
673
692
  this.files = this.files.slice();
674
693
  this.fileAllSelected = false;
675
694
  $event.target.value = '';
695
+ loading.close();
676
696
  };
677
697
  /**
678
698
  * @param {?} file
@@ -683,22 +703,27 @@
683
703
  * @return {?}
684
704
  */
685
705
  function (file) {
686
- this.msgService.error('上传附件失败。' + file.errorMessage);
706
+ this.msgService.error(this.localepipe.transform('uploadFailure') + file.errorMessage);
687
707
  };
688
708
  /**
689
709
  * @param {?} uuid
690
710
  * @param {?} selectedFile
691
711
  * @param {?} fileName
712
+ * @param {?=} state
692
713
  * @return {?}
693
714
  */
694
715
  FileUploadComponent.prototype.uploadFile = /**
695
716
  * @param {?} uuid
696
717
  * @param {?} selectedFile
697
718
  * @param {?} fileName
719
+ * @param {?=} state
698
720
  * @return {?}
699
721
  */
700
- function (uuid, selectedFile, fileName) {
722
+ function (uuid, selectedFile, fileName, state) {
701
723
  var _this = this;
724
+ if (state === void 0) {
725
+ state = FileState.New;
726
+ }
702
727
  /** @type {?} */
703
728
  var fileInfo;
704
729
  // let uuid = UUID.UUID();
@@ -736,6 +761,7 @@
736
761
  uploadFileInfo.metadataId = uuid;
737
762
  uploadFileInfo.fileName = fileInfo.name;
738
763
  uploadFileInfo.fileSize = fileInfo.size;
764
+ uploadFileInfo.state = state;
739
765
  var _loop_2 = function () {
740
766
  /** @type {?} */
741
767
  var uploadInfo = new GspFormUploadEntity;
@@ -1154,7 +1180,7 @@
1154
1180
  // this.notifyService.success(<NotifyOptions>{
1155
1181
  // msg: '保存成功!', timeout: 3000
1156
1182
  // });
1157
- this.msgService.warning('等一下,文档正在上传。');
1183
+ this.msgService.warning(this.localepipe.transform('wait'));
1158
1184
  return rxjs.of(false);
1159
1185
  }
1160
1186
  if (this.storageExtension == null)
@@ -1165,14 +1191,14 @@
1165
1191
  else {
1166
1192
  /** @type {?} */
1167
1193
  var loading_1 = this.loadService.show({
1168
- message: '正在将文件保存到' + this.storageExtension.extensionName
1194
+ message: this.localepipe.transform('saveTo') + this.storageExtension.extensionName
1169
1195
  });
1170
1196
  return this.uploadService.changeStorageInstance(this.exStorageFileList, this.rootId).pipe(operators.map(( /**
1171
1197
  * @param {?} res
1172
1198
  * @return {?}
1173
1199
  */function (res) {
1174
- if (res != null)
1175
- _this.msgService.error('保存到' + _this.storageExtension.extensionName + "失败,上传文件自动保存到" + _this.storageExtension.defaultPropertyName + "存储。" + res.error.Message);
1200
+ // if (res != null)
1201
+ // this.msgService.error('保存到' + this.storageExtension.extensionName + "失败,上传文件自动保存到" + this.storageExtension.defaultPropertyName + "存储。" + res.error.Message);
1176
1202
  loading_1.close();
1177
1203
  return _this.uploadFileInfoList;
1178
1204
  })));
@@ -1299,7 +1325,7 @@
1299
1325
  FileUploadComponent.decorators = [
1300
1326
  { type: i0.Component, args: [{
1301
1327
  selector: 'app-file-upload',
1302
- template: "<div *ngIf=\"hasSelectedFile\">\n\n <div class=\"farris-header\" style=\"height: 50px; width: 100%\">\n <div class=\"btn btn-secondary upload_button\">\n <img [src]=\"uploadLittleIconAddress\">\n <span>\u4E0A\u4F20\u6587\u4EF6 </span>\n <input type=\"file\" (change)=\"fileSelected($event)\" id=\"file\" multiple=\"multiple\" title=\"\" [accept]=\"fileType\">\n </div>\n\n\n <button *ngIf=\"showType==0 && !fileAllSelected && files.length >0 \" style=\"padding-left: 20px\" class=\"btn-link btn ng-star-inserted\" (click)=\"selectAllFile()\">\u5168\u9009</button>\n <button *ngIf=\"showType==0 && fileAllSelected && files.length >0 \" style=\"padding-left: 20px\" class=\"btn-link btn ng-star-inserted\" (click)=\"selectAllFile()\">\u5168\u4E0D\u9009</button>\n <button *ngIf=\"showType==0 && selectedFileCount>0\" style=\"padding-left: 20px\" class=\"btn-link btn ng-star-inserted\" (click)=\"listMultipleDeleteFile()\">\u5220\u9664</button>\n\n <button *ngIf=\"showType==1 && selectedFileCount>0\" style=\"padding-left: 20px\" class=\"btn-link btn ng-star-inserted\" (click)=\"listMultipleDeleteFile()\">\u5220\u9664</button>\n\n <kendo-buttongroup [selection]=\"'single'\" class=\"button_group_upload \" style=\"background-color: #ffffff; color: #388FFF;border: 1px solid #ddd;\" look=\"flat\">\n <button kendoButton [selected]=\"true\" [toggleable]=\"true\" [imageUrl]=\"'/platform/runtime/dfs/images/piclist.png'\" (click)=\"showByGroup()\"></button>\n <button kendoButton [toggleable]=\"true\" [imageUrl]=\"'/platform/runtime/dfs/images/queuelist.png'\" (click)=\"showByList()\"></button>\n </kendo-buttongroup>\n\n\n </div>\n\n <!-- <div class=\"progress\" style=\"height: 12px;\">\n <div class=\"progress-bar\" role=\"progressbar\" [ngStyle]=\"uploadProcess\"></div>\n </div> -->\n\n <div class=\"pic_list\" *ngIf=\"showType==0\">\n <ul *ngFor=\"let file of files\">\n <li (mouseenter)=\"mouseOver(file)\" (mouseleave)=\"mouseOut(file)\">\n <div *ngIf=\"file.isUploading\">\n <farris-progress [type]=\"'circle'\" [percent]=\"file.uploadProcess\" [strokeLinecap]=\"'square'\" [status]=\"'active'\"></farris-progress>\n </div>\n\n <table *ngIf=\"!file.uploadResult && !file.isUploading\" style=\"margin: 0 auto; border: 1px solid #ddd; width: 135px; height: 160px;\">\n <tr style=\"margin: 0 auto ; height: 80px;\">\n <td style=\"text-align: center\"><span class=\"f-icon f-icon-error\"></span></td>\n </tr>\n <tr style=\"margin: 0 auto ; height: 30px;\">\n <td style=\"text-align: center\"> \u4E0A\u4F20\u5931\u8D25 </td>\n </tr>\n <tr>\n <td style=\"text-align: center\"><button style=\"margin: 0 auto ; height: 20px; \" class=\"btn-link btn ng-star-inserted\" (click)=\"showErrorMessage(file)\">\u8BE6\u60C5</button></td>\n </tr>\n </table>\n <div *ngIf=\"!file.isUploading && file.uploadResult\" style=\"border: 1px solid #ddd;\">\n <img [src]='file.source'>\n <div *ngIf=\"haveExtensionProperty\" style=\"width: 133px; height: 25px; background-color: white; position: absolute;bottom: 0; \">\n\n <div style=\"width: 100px;height: 25px;position:absolute;margin: 0 17px;\">\n <farris-combo-list [(ngModel)]=\"file.extensionDropListId\" [data]=\"propertiesNames\" [idField]=\"'id'\" [textField]=\"'name'\" (selectChange)=\"typeChange($event,file)\" [enableClear]=\"false\">\n <!-- <ng-template #itemTemp let-item>\n <div class=\"combo-list\">\n <span [class]=\"'combo-list-circle combo-list-'+item.state\"></span>\n <span class=\"combo-list-label\">{{item.label}}</span>\n </div>\n </ng-template> -->\n </farris-combo-list>\n </div>\n </div>\n </div>\n <table *ngIf=\"!file.isUploading\">\n <tr style=\"height: 20px\">\n <td style=\"width: 15px; vertical-align: middle; text-align: center\">\n <!-- <input type=\"checkbox\" [id]=\"file.name\" (click)=\"checkoutSelectFile(file.name)\"> -->\n <div class=\"farris-input-wrap\" style=\"height: 20px\" (click)=\"checkoutSelectFile(file)\">\n <div class=\"custom-control custom-checkbox\" style=\"margin: 4px 0 0;height: 20px;\">\n <input class=\"custom-control-input\" type=\"checkbox\" [id]=\"file.name\" [(ngModel)]=\"file.selectd\">\n <label class=\"custom-control-label\" style=\"padding: 0 0 10px 0; position: relative; top: -8px;\"></label>\n </div>\n </div>\n </td>\n <td style=\"width: 120px; vertical-align: middle; text-align: center\" [title]=\"file.name\">\n {{file.picListDisplayName}}</td>\n </tr>\n </table>\n <!-- <span>{{file.picListDisplayName}}</span> -->\n <!-- <p class=\"filename\">{{file.picListDisplayName}}</p> -->\n <button *ngIf=\"!file.isUploading && file.mouseOn\" style=\"position: absolute; top: 0; right: 0px; width: 24px; height: 24px;\" kendoButton [icon]=\"'delete'\" (click)=\"listDeleteFile(file)\"></button>\n <!-- <button *ngIf=\"file.hasUploaded\" class=\"k-primary\" kendoButton [icon]=\"'check'\" [disabled]=\"true\"></button> -->\n </li>\n </ul>\n <br>\n </div>\n\n <div class=\"queue_list\" *ngIf=\"showType==1\">\n <table>\n <tr style=\"height: 50px; table-layout:fixed;\">\n <th style=\"width: 40px; vertical-align: middle; text-align: center\">\n <!-- <input type=\"checkbox\" id=\"allCheckBox\" (click)=\"selectAllFile()\"> -->\n <div class=\"farris-input-wrap\" (click)=\"selectAllFile()\">\n <div class=\"custom-control custom-checkbox\" style=\"margin: 4px 0 0\">\n <input class=\"custom-control-input\" type=\"checkbox\" id=\"allCheckBox\" [(ngModel)]=\"fileAllSelected\">\n <label class=\"custom-control-label\" style=\"padding: 0\"></label>\n </div>\n </div>\n </th>\n <th style=\"vertical-align: middle\" [ngStyle]=\"queueListStyle\">\u6587\u4EF6\u540D</th>\n <th style=\"width: 100px; vertical-align: middle\">\u5927\u5C0F</th>\n <th style=\"width: 170px; vertical-align: middle; text-align: center\">\u72B6\u6001</th>\n <th *ngIf=\"haveExtensionProperty\" style=\"width: 100px; vertical-align: middle; text-align: center\">\n {{storageExtension.extensionName}}\n </th>\n <th style=\"width: 140px; vertical-align: middle; text-align: center\">\u64CD\u4F5C</th>\n </tr>\n </table>\n <div style=\"height: 370px; overflow: auto;\">\n <table>\n <tr *ngFor=\"let file of files\" style=\"height: 40px\">\n <td colspan=\"5\" *ngIf=\"file.isUploading\">\n <!-- <div style=\"width:100%; display: table-cell; vertical-align: middle; text-align: center; \"> -->\n <div style=\"width: 500px;margin:0 auto\">\n <farris-progress [percent]=\"file.uploadProcess\" [status]=\"'active'\">\n </farris-progress>\n </div>\n\n </td>\n <td *ngIf=\"!file.isUploading\" style=\" width: 40px; vertical-align: middle; text-align: center\">\n <!-- <input type=\"checkbox\" [id]=\"file.name\" (click)=\"checkoutSelectFile(file.name)\"> -->\n <div class=\"farris-input-wrap\" (click)=\"checkoutSelectFile(file)\">\n <div class=\"custom-control custom-checkbox\" style=\"margin: 4px 0 0\">\n <input class=\"custom-control-input\" type=\"checkbox\" [id]=\"file.name\" [(ngModel)]=\"file.selectd\">\n <label class=\"custom-control-label\" style=\"padding: 0\"></label>\n </div>\n </div>\n </td>\n <td *ngIf=\"!file.isUploading\" style=\"vertical-align: middle\" [ngStyle]=\"queueListStyle\">\n {{file.queueListDisplayName}}</td>\n <td *ngIf=\"!file.isUploading\" style=\"width: 100px; vertical-align: middle\">{{file.size}}</td>\n <td *ngIf=\"!file.isUploading\" style=\"text-align: center; width: 170px; vertical-align: middle;\">\n <table *ngIf=\"!file.uploadResult\" style=\"margin: 0 auto\">\n <tr style=\"margin: 0 auto\">\n <td><span class=\"f-icon f-icon-error\"></span></td>\n <td> \u4E0A\u4F20\u5931\u8D25 </td>\n <td><button style=\"height: 24px\" class=\"btn-link btn ng-star-inserted\" (click)=\"showErrorMessage(file)\">\u8BE6\u60C5</button></td>\n </tr>\n </table>\n <!-- <span *ngIf=\"!file.uploadResult\"><span class=\"f-icon f-icon-error\"></span> \u4E0A\u4F20\u5931\u8D25 <button\n class=\"btn-link btn ng-star-inserted\" (click)=\"showErrorMessage(file)\">\u8BE6\u60C5</button></span> -->\n <span *ngIf=\"file.uploadResult\"><span class=\"f-icon f-icon-success\"></span> \u4E0A\u4F20\u6210\u529F</span>\n </td>\n <td *ngIf=\"!file.isUploading&&haveExtensionProperty\" style=\"text-align: center; width: 100px; vertical-align: middle;\">\n <farris-combo-list [(ngModel)]=\"file.extensionDropListId\" [data]=\"propertiesNames\" [idField]=\"'id'\" [textField]=\"'name'\" (selectChange)=\"typeChange($event,file)\" [enableClear]=\"false\">\n <!-- <ng-template #itemTemp let-item>\n <div class=\"combo-list\">\n <span [class]=\"'combo-list-circle combo-list-'+item.state\"></span>\n <span class=\"combo-list-label\">{{item.label}}</span>\n </div>\n </ng-template> -->\n </farris-combo-list>\n </td>\n <td *ngIf=\"!file.isUploading\" style=\"text-align: center; width: 140px; vertical-align: middle;\">\n <!-- <button *ngIf=\"file.uploadResult\" class=\"btn-link btn ng-star-inserted\" (click)=\"retryUploadFile(file.name)\">\u91CD\u8BD5</button> -->\n <button class=\"btn-link btn ng-star-inserted\" style=\"margin: 0 auto\" (click)=\"listDeleteFile(file)\">\u5220\u9664</button>\n </td>\n\n </tr>\n </table>\n </div>\n </div>\n</div>\n\n<div *ngIf=\"!hasSelectedFile\" class='home_page'>\n <img [src]=\"uploadIconAddress\">\n <div>\n <span class=\"btn btn-primary btn-lg\">\u4E0A\u4F20\u6587\u4EF6 </span>\n <input type=\"file\" (change)=\"fileSelected($event)\" id=\"file\" multiple=\"multiple\" title=\"\" [accept]=\"fileType\">\n </div>\n</div>",
1328
+ template: "<div *ngIf=\"hasSelectedFile\">\n\n <div class=\"farris-header\" style=\"height: 50px; width: 100%\">\n <div class=\"btn btn-secondary upload_button\">\n <img [src]=\"uploadLittleIconAddress\">\n <span>{{'uploadFile' | locale}} </span>\n <input type=\"file\" (change)=\"fileSelected($event)\" id=\"file\" multiple=\"multiple\" title=\"\" [accept]=\"fileType\">\n </div>\n\n\n <button *ngIf=\"showType==0 && !fileAllSelected && files.length >0 \" style=\"padding-left: 20px\" class=\"btn-link btn ng-star-inserted\" (click)=\"selectAllFile()\">{{'selectAll' | locale}}</button>\n <button *ngIf=\"showType==0 && fileAllSelected && files.length >0 \" style=\"padding-left: 20px\" class=\"btn-link btn ng-star-inserted\" (click)=\"selectAllFile()\">{{'selectNull' | locale}}</button>\n <button *ngIf=\"showType==0 && selectedFileCount>0\" style=\"padding-left: 20px\" class=\"btn-link btn ng-star-inserted\" (click)=\"listMultipleDeleteFile()\">{{'delete' | locale}}</button>\n\n <button *ngIf=\"showType==1 && selectedFileCount>0\" style=\"padding-left: 20px\" class=\"btn-link btn ng-star-inserted\" (click)=\"listMultipleDeleteFile()\">{{'delete' | locale}}</button>\n\n <kendo-buttongroup [selection]=\"'single'\" class=\"button_group_upload \" style=\"background-color: #ffffff; color: #388FFF;border: 1px solid #ddd;\" look=\"flat\">\n <button kendoButton [selected]=\"true\" [toggleable]=\"true\" [imageUrl]=\"'/platform/runtime/dfs/images/piclist.png'\" (click)=\"showByGroup()\"></button>\n <button kendoButton [toggleable]=\"true\" [imageUrl]=\"'/platform/runtime/dfs/images/queuelist.png'\" (click)=\"showByList()\"></button>\n </kendo-buttongroup>\n\n\n </div>\n\n <!-- <div class=\"progress\" style=\"height: 12px;\">\n <div class=\"progress-bar\" role=\"progressbar\" [ngStyle]=\"uploadProcess\"></div>\n </div> -->\n\n <div class=\"pic_list\" *ngIf=\"showType==0\">\n <ul *ngFor=\"let file of files\">\n <li (mouseenter)=\"mouseOver(file)\" (mouseleave)=\"mouseOut(file)\">\n <div *ngIf=\"file.isUploading\">\n <farris-progress [type]=\"'circle'\" [percent]=\"file.uploadProcess\" [strokeLinecap]=\"'square'\" [status]=\"'active'\"></farris-progress>\n </div>\n\n <table *ngIf=\"!file.uploadResult && !file.isUploading\" style=\"margin: 0 auto; border: 1px solid #ddd; width: 135px; height: 160px;\">\n <tr style=\"margin: 0 auto ; height: 80px;\">\n <td style=\"text-align: center\"><span class=\"f-icon f-icon-error\"></span></td>\n </tr>\n <tr style=\"margin: 0 auto ; height: 30px;\">\n <td style=\"text-align: center\"> {{'uploadFailure' | locale}} </td>\n </tr>\n <tr>\n <td style=\"text-align: center\"><button style=\"margin: 0 auto ; height: 20px; \" class=\"btn-link btn ng-star-inserted\" (click)=\"showErrorMessage(file)\">{{'detail' | locale}}</button></td>\n </tr>\n </table>\n <div *ngIf=\"!file.isUploading && file.uploadResult\" style=\"border: 1px solid #ddd;\">\n <img [src]='file.source'>\n <div *ngIf=\"haveExtensionProperty\" style=\"width: 133px; height: 25px; background-color: white; position: absolute;bottom: 0; \">\n\n <div style=\"width: 100px;height: 25px;position:absolute;margin: 0 17px;\">\n <farris-combo-list [(ngModel)]=\"file.extensionDropListId\" [data]=\"propertiesNames\" [idField]=\"'id'\" [textField]=\"'name'\" (selectChange)=\"typeChange($event,file)\" [enableClear]=\"false\">\n <!-- <ng-template #itemTemp let-item>\n <div class=\"combo-list\">\n <span [class]=\"'combo-list-circle combo-list-'+item.state\"></span>\n <span class=\"combo-list-label\">{{item.label}}</span>\n </div>\n </ng-template> -->\n </farris-combo-list>\n </div>\n </div>\n </div>\n <table *ngIf=\"!file.isUploading\">\n <tr style=\"height: 20px\">\n <td style=\"width: 15px; vertical-align: middle; text-align: center\">\n <!-- <input type=\"checkbox\" [id]=\"file.name\" (click)=\"checkoutSelectFile(file.name)\"> -->\n <div class=\"farris-input-wrap\" style=\"height: 20px\" (click)=\"checkoutSelectFile(file)\">\n <div class=\"custom-control custom-checkbox\" style=\"margin: 4px 0 0;height: 20px;\">\n <input class=\"custom-control-input\" type=\"checkbox\" [id]=\"file.name\" [(ngModel)]=\"file.selectd\">\n <label class=\"custom-control-label\" style=\"padding: 0 0 10px 0; position: relative; top: -8px;\"></label>\n </div>\n </div>\n </td>\n <td style=\"width: 120px; vertical-align: middle; text-align: center\" [title]=\"file.name\">\n {{file.picListDisplayName}}</td>\n </tr>\n </table>\n <!-- <span>{{file.picListDisplayName}}</span> -->\n <!-- <p class=\"filename\">{{file.picListDisplayName}}</p> -->\n <button *ngIf=\"!file.isUploading && file.mouseOn\" style=\"position: absolute; top: 0; right: 0px; width: 24px; height: 24px;\" kendoButton [icon]=\"'delete'\" (click)=\"listDeleteFile(file)\"></button>\n <!-- <button *ngIf=\"file.hasUploaded\" class=\"k-primary\" kendoButton [icon]=\"'check'\" [disabled]=\"true\"></button> -->\n </li>\n </ul>\n <br>\n </div>\n\n <div class=\"queue_list\" *ngIf=\"showType==1\">\n <table>\n <tr style=\"height: 50px; table-layout:fixed;\">\n <th style=\"width: 40px; vertical-align: middle; text-align: center\">\n <!-- <input type=\"checkbox\" id=\"allCheckBox\" (click)=\"selectAllFile()\"> -->\n <div class=\"farris-input-wrap\" (click)=\"selectAllFile()\">\n <div class=\"custom-control custom-checkbox\" style=\"margin: 4px 0 0\">\n <input class=\"custom-control-input\" type=\"checkbox\" id=\"allCheckBox\" [(ngModel)]=\"fileAllSelected\">\n <label class=\"custom-control-label\" style=\"padding: 0\"></label>\n </div>\n </div>\n </th>\n <th style=\"vertical-align: middle\" [ngStyle]=\"queueListStyle\">{{'fileName' | locale}}</th>\n <th style=\"width: 100px; vertical-align: middle\">{{'size' | locale}}</th>\n <th style=\"width: 170px; vertical-align: middle; text-align: center\">{{'state' | locale}}</th>\n <th *ngIf=\"haveExtensionProperty\" style=\"width: 100px; vertical-align: middle; text-align: center\">\n {{storageExtension.extensionName}}\n </th>\n <th style=\"width: 140px; vertical-align: middle; text-align: center\">{{'operation' | locale}}</th>\n </tr>\n </table>\n <div style=\"height: 370px; overflow: auto;\">\n <table>\n <tr *ngFor=\"let file of files\" style=\"height: 40px\">\n <td colspan=\"5\" *ngIf=\"file.isUploading\">\n <!-- <div style=\"width:100%; display: table-cell; vertical-align: middle; text-align: center; \"> -->\n <div style=\"width: 500px;margin:0 auto\">\n <farris-progress [percent]=\"file.uploadProcess\" [status]=\"'active'\">\n </farris-progress>\n </div>\n\n </td>\n <td *ngIf=\"!file.isUploading\" style=\" width: 40px; vertical-align: middle; text-align: center\">\n <!-- <input type=\"checkbox\" [id]=\"file.name\" (click)=\"checkoutSelectFile(file.name)\"> -->\n <div class=\"farris-input-wrap\" (click)=\"checkoutSelectFile(file)\">\n <div class=\"custom-control custom-checkbox\" style=\"margin: 4px 0 0\">\n <input class=\"custom-control-input\" type=\"checkbox\" [id]=\"file.name\" [(ngModel)]=\"file.selectd\">\n <label class=\"custom-control-label\" style=\"padding: 0\"></label>\n </div>\n </div>\n </td>\n <td *ngIf=\"!file.isUploading\" style=\"vertical-align: middle\" [ngStyle]=\"queueListStyle\">\n {{file.queueListDisplayName}}</td>\n <td *ngIf=\"!file.isUploading\" style=\"width: 100px; vertical-align: middle\">{{file.size}}</td>\n <td *ngIf=\"!file.isUploading\" style=\"text-align: center; width: 170px; vertical-align: middle;\">\n <table *ngIf=\"!file.uploadResult\" style=\"margin: 0 auto\">\n <tr style=\"margin: 0 auto\">\n <td><span class=\"f-icon f-icon-error\"></span></td>\n <td> {{'uploadFailure' | locale}} </td>\n <td><button style=\"height: 24px\" class=\"btn-link btn ng-star-inserted\" (click)=\"showErrorMessage(file)\">{{'detail' | locale}}</button></td>\n </tr>\n </table>\n <!-- <span *ngIf=\"!file.uploadResult\"><span class=\"f-icon f-icon-error\"></span> \u4E0A\u4F20\u5931\u8D25 <button\n class=\"btn-link btn ng-star-inserted\" (click)=\"showErrorMessage(file)\">\u8BE6\u60C5</button></span> -->\n <span *ngIf=\"file.uploadResult\"><span class=\"f-icon f-icon-success\"></span> {{'uploadSucceed' | locale}}</span>\n </td>\n <td *ngIf=\"!file.isUploading&&haveExtensionProperty\" style=\"text-align: center; width: 100px; vertical-align: middle;\">\n <farris-combo-list [(ngModel)]=\"file.extensionDropListId\" [data]=\"propertiesNames\" [idField]=\"'id'\" [textField]=\"'name'\" (selectChange)=\"typeChange($event,file)\" [enableClear]=\"false\">\n <!-- <ng-template #itemTemp let-item>\n <div class=\"combo-list\">\n <span [class]=\"'combo-list-circle combo-list-'+item.state\"></span>\n <span class=\"combo-list-label\">{{item.label}}</span>\n </div>\n </ng-template> -->\n </farris-combo-list>\n </td>\n <td *ngIf=\"!file.isUploading\" style=\"text-align: center; width: 140px; vertical-align: middle;\">\n <!-- <button *ngIf=\"file.uploadResult\" class=\"btn-link btn ng-star-inserted\" (click)=\"retryUploadFile(file.name)\">\u91CD\u8BD5</button> -->\n <button class=\"btn-link btn ng-star-inserted\" style=\"margin: 0 auto\" (click)=\"listDeleteFile(file)\">{{'delete' | locale}}</button>\n </td>\n\n </tr>\n </table>\n </div>\n </div>\n</div>\n\n<div *ngIf=\"!hasSelectedFile\" class='home_page'>\n <img [src]=\"uploadIconAddress\">\n <div>\n <span class=\"btn btn-primary btn-lg\">\u4E0A\u4F20\u6587\u4EF6 </span>\n <input type=\"file\" (change)=\"fileSelected($event)\" id=\"file\" multiple=\"multiple\" title=\"\" [accept]=\"fileType\">\n </div>\n</div>",
1303
1329
  styles: [".home_page{text-align:center}.home_page img{position:absolute;top:180px;margin-left:-35px;width:70px;height:56px}.home_page div{position:absolute;left:50%;top:255px;margin-left:-75px;width:150px;height:32px;overflow:hidden}.home_page div span{width:150px;height:32px;position:absolute;z-index:10;left:0}.home_page div input{position:absolute;left:0;top:0;opacity:0;filter:'alpha(opacity=0)';z-index:11}.upload_button{width:110px;height:32px;overflow:hidden}.upload_button span{position:relative;right:-4px;top:4px;width:56px;height:22px;font-size:14px}.upload_button input{height:32px;width:110px;position:absolute;left:22px;top:12px;opacity:0;filter:'alpha(opacity=0)';overflow:hidden}.upload_button img{position:relative;left:-6px;top:3px;width:14px;height:14px}.button_group_upload{position:absolute;right:18px;top:12px;height:26px;width:53px}.button_group_upload button{height:26px;width:26px}.fileinput-button{position:absolute;right:60px;bottom:40px;overflow:hidden;width:24px;height:24px;border-radius:12px;transform:scale(2.5);-ms-transform:scale(2.5);-moz-transform:scale(2.5);-webkit-transform:scale(2.5);-o-transform:scale(2.5);color:#0686fd}.fileinput-button input{position:absolute;left:0;top:0;opacity:0;filter:'alpha(opacity=0)'}.pic-droplist{height:24px;color:#e0e1e2;background-color:#e0e1e2}.pic-droplist input-group{display:table-cell;width:100px;text-align:center;border:0}.pic-droplist input-group div{border:0}.pic-droplist input-group div div,.pic-droplist input-group div input{background-color:#e0e1e2}.pic_list{padding:0;height:420px;overflow-y:auto;overflow-x:hidden}.pic_list ul{padding:0;list-style:none;width:100%;margin:20px 0 0 20px}.pic_list ul li{height:180px;width:135px;margin:8px 0 8px 12px;float:left;overflow:hidden;align-items:center;position:relative}.pic_list ul li div{width:135px;height:160px;margin:auto;display:table-cell;vertical-align:middle;text-align:center;position:relative}.pic_list ul li div img{max-width:120px;max-height:118px;align-items:center;margin:auto;vertical-align:middle;text-align:center}.pic_list ul li span.filename{width:100px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.queue_list{display:block;height:420px;overflow-y:auto}.file_list{list-style:none;margin:0;padding:0;overflow-x:hidden;overflow-y:auto}.file_list li{height:50px;line-height:35px;font-size:16px;position:relative}.file_list li button{float:right;top:6px;right:10px;width:20px}.file_list li p.title{padding:0 0 0 6px;margin:0 210px 0 0}.file_list li p.size{position:absolute;width:100px;top:0;right:100px}"]
1304
1330
  }] }
1305
1331
  ];
@@ -1377,7 +1403,7 @@
1377
1403
  zipName = 'unifile.zip';
1378
1404
  if (!zipName.endsWith(".zip"))
1379
1405
  zipName += '.zip';
1380
- return "/api/runtime/dfs/v1.0/doc/compress/download?metadataidlist=" + metadataIdList + "&rootid=" + rootId + "&token=" + this.getToken(this.mergeString(list[0], rootId)) + "&zipName=" + zipName;
1406
+ return "/api/runtime/dfs/v1.0/doc/compress/download?metadataidlist=" + metadataIdList + "&rootid=" + rootId + "&token=" + this.getToken(this.mergeString(list[0], rootId)) + "&zipName=" + encodeURIComponent(zipName);
1381
1407
  };
1382
1408
  /**
1383
1409
  * @param {?} metadataId
@@ -1493,12 +1519,162 @@
1493
1519
  * @fileoverview added by tsickle
1494
1520
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1495
1521
  */
1522
+ /** @type {?} */
1523
+ var LANG_RESOURCES = {
1524
+ 'zh-CHS': {
1525
+ 'uploadFile': '上传文件',
1526
+ 'uploading': '正在上传文件……',
1527
+ 'selectedCount': '已选择文件数量:',
1528
+ 'limitCount': '超出系统限制数量:',
1529
+ 'rechooseFile': ',重新选择上传文件。',
1530
+ 'save': '保存',
1531
+ 'cancel': '取消',
1532
+ 'haveSameName': '已上传过同名文件: ',
1533
+ 'rename': '重命名',
1534
+ 'replace': '替换',
1535
+ 'sizeZero': '文件大小为0',
1536
+ 'uploadFailure': '上传失败',
1537
+ 'uploadSucceed': '上传成功',
1538
+ 'wait': '等一下,文档正在上传。',
1539
+ 'saveTo': '正在将文件保存到',
1540
+ 'delete': '删除',
1541
+ 'selectAll': '全选',
1542
+ 'selectNull': '全不选',
1543
+ 'detail': '详情',
1544
+ 'fileName': '文件名',
1545
+ 'state': '状态',
1546
+ 'operation': '操作',
1547
+ 'size': '大小',
1548
+ 'close': '关闭',
1549
+ 'loading': '拼命加载中'
1550
+ },
1551
+ 'en-US': {
1552
+ 'uploadFile': 'Upload File',
1553
+ 'uploading': 'File Uploading……',
1554
+ 'selectedCount': 'Selected files count:',
1555
+ 'limitCount': 'System limit count:',
1556
+ 'rechooseFile': ',Reselect upload file.',
1557
+ 'save': 'Save',
1558
+ 'cancel': 'Cancel',
1559
+ 'haveSameName': 'A file with the same name has been uploaded: ',
1560
+ 'rename': 'Rename',
1561
+ 'replace': 'Replace',
1562
+ 'sizeZero': 'File size is 0',
1563
+ 'uploadFailure': 'Upload failed',
1564
+ 'uploadSucceed': 'Upload successfully',
1565
+ 'wait': 'Wait a minute, the file is uploading.',
1566
+ 'saveTo': 'Saving file to',
1567
+ 'delete': 'Delete',
1568
+ 'selectAll': 'Select all',
1569
+ 'selectNull': 'Not at all',
1570
+ 'detail': 'Details',
1571
+ 'fileName': 'Filename',
1572
+ 'state': 'State',
1573
+ 'operation': 'Operation',
1574
+ 'size': 'Size',
1575
+ 'close': 'Close',
1576
+ 'loading': 'Loading'
1577
+ },
1578
+ 'en': {
1579
+ 'uploadFile': 'Upload File',
1580
+ 'uploading': 'File Uploading……',
1581
+ 'selectedCount': 'Selected files count:',
1582
+ 'limitCount': 'System limit count:',
1583
+ 'rechooseFile': ',Reselect upload file.',
1584
+ 'save': 'Save',
1585
+ 'cancel': 'Cancel',
1586
+ 'haveSameName': 'A file with the same name has been uploaded: ',
1587
+ 'rename': 'Rename',
1588
+ 'replace': 'Replace',
1589
+ 'sizeZero': 'File size is 0',
1590
+ 'uploadFailure': 'Upload failed',
1591
+ 'uploadSucceed': 'Upload successfully',
1592
+ 'wait': 'Wait a minute, the file is uploading.',
1593
+ 'saveTo': 'Saving file to',
1594
+ 'delete': 'Delete',
1595
+ 'selectAll': 'Select all',
1596
+ 'selectNull': 'Not at all',
1597
+ 'detail': 'Details',
1598
+ 'fileName': 'Filename',
1599
+ 'state': 'State',
1600
+ 'operation': 'Operation',
1601
+ 'size': 'Size',
1602
+ 'close': 'Close',
1603
+ 'loading': 'Loading'
1604
+ },
1605
+ 'zh-CHT': {
1606
+ 'uploadFile': '上傳文件',
1607
+ 'uploading': '正在上傳文件……',
1608
+ 'selectedCount': '已選擇文件數量:',
1609
+ 'limitCount': '超出系統限制數量:',
1610
+ 'rechooseFile': ',重新選擇上傳文件。',
1611
+ 'save': '保存',
1612
+ 'cancel': '取消',
1613
+ 'haveSameName': '已上傳過同名文件: ',
1614
+ 'rename': '重命名',
1615
+ 'replace': '替換',
1616
+ 'sizeZero': '文件大小為0',
1617
+ 'uploadFailure': '上傳失敗',
1618
+ 'uploadSucceed': '上傳成功',
1619
+ 'wait': '等一下,文件正在上傳。',
1620
+ 'saveTo': '正在將文件保存到',
1621
+ 'delete': '删除',
1622
+ 'selectAll': '全選',
1623
+ 'selectNull': '全不選',
1624
+ 'detail': '詳情',
1625
+ 'fileName': '文件名',
1626
+ 'state': '狀態',
1627
+ 'operation': '操作',
1628
+ 'size': '大小',
1629
+ 'close': '關閉',
1630
+ 'loading': '拼命加載中'
1631
+ },
1632
+ };
1633
+
1634
+ /**
1635
+ * @fileoverview added by tsickle
1636
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1637
+ */
1638
+ var LocalLangPipe = /** @class */ (function () {
1639
+ function LocalLangPipe(localeId) {
1640
+ this.defaultLang = "zh-CHS";
1641
+ this.langCode = localStorage.getItem("languageCode") || localeId || this.defaultLang;
1642
+ this.lang = LANG_RESOURCES[this.langCode] || LANG_RESOURCES[this.defaultLang];
1643
+ }
1644
+ /**
1645
+ * @param {?} name
1646
+ * @return {?}
1647
+ */
1648
+ LocalLangPipe.prototype.transform = /**
1649
+ * @param {?} name
1650
+ * @return {?}
1651
+ */
1652
+ function (name) {
1653
+ return this.lang[name] || name;
1654
+ };
1655
+ LocalLangPipe.decorators = [
1656
+ { type: i0.Pipe, args: [{ name: 'locale' },] }
1657
+ ];
1658
+ /** @nocollapse */
1659
+ LocalLangPipe.ctorParameters = function () {
1660
+ return [
1661
+ { type: String, decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
1662
+ ];
1663
+ };
1664
+ return LocalLangPipe;
1665
+ }());
1666
+
1667
+ /**
1668
+ * @fileoverview added by tsickle
1669
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1670
+ */
1671
+ var ɵ0$1 = localStorage.getItem('languageCode') || 'zh-CHS';
1496
1672
  var UploadModule = /** @class */ (function () {
1497
1673
  function UploadModule() {
1498
1674
  }
1499
1675
  UploadModule.decorators = [
1500
1676
  { type: i0.NgModule, args: [{
1501
- declarations: [FileUploadComponent],
1677
+ declarations: [FileUploadComponent, LocalLangPipe],
1502
1678
  imports: [
1503
1679
  common.CommonModule,
1504
1680
  kendoAngularButtons.ButtonsModule,
@@ -1511,7 +1687,8 @@
1511
1687
  ],
1512
1688
  exports: [FileUploadComponent],
1513
1689
  entryComponents: [FileUploadComponent],
1514
- providers: [UploadService, DownloadService]
1690
+ providers: [UploadService, DownloadService, cafCommon.LanguageService,
1691
+ { provide: i0.LOCALE_ID, useValue: ɵ0$1 },]
1515
1692
  },] }
1516
1693
  ];
1517
1694
  return UploadModule;
@@ -1599,6 +1776,11 @@
1599
1776
  this.componentFactoryResolver = componentFactoryResolver;
1600
1777
  this.injector = injector;
1601
1778
  this.fileInfoList = [];
1779
+ if (this.injector) {
1780
+ this.modalService = this.injector.get(uiModal.BsModalService);
1781
+ this.localeid = localStorage.getItem("languageCode") || this.injector.get(i0.LOCALE_ID);
1782
+ this.localpipe = new LocalLangPipe(this.localeid);
1783
+ }
1602
1784
  }
1603
1785
  /**
1604
1786
  * @param {?} formId
@@ -1625,11 +1807,11 @@
1625
1807
  viewerRef.instance.rootId = rootId;
1626
1808
  viewerRef.instance.formId = formId;
1627
1809
  _this.dlg = _this.modalService.show(viewerRef, {
1628
- title: '上传文件',
1810
+ title: _this.localpipe.transform('uploadFile'),
1629
1811
  width: 950, height: 570,
1630
1812
  buttons: [
1631
1813
  {
1632
- text: '保存', cls: 'k-button k-button-icontext k-primary', handle: ( /**
1814
+ text: _this.localpipe.transform('save'), cls: 'k-button k-button-icontext k-primary', handle: ( /**
1633
1815
  * @return {?}
1634
1816
  */function () {
1635
1817
  _this.dlg.content.upload().subscribe(( /**
@@ -1645,7 +1827,7 @@
1645
1827
  })
1646
1828
  },
1647
1829
  {
1648
- text: '关闭', cls: 'k-button k-button-icontext', handle: ( /**
1830
+ text: _this.localpipe.transform('close'), cls: 'k-button k-button-icontext', handle: ( /**
1649
1831
  * @return {?}
1650
1832
  */function () {
1651
1833
  _this.dlg.close();
@@ -1720,11 +1902,11 @@
1720
1902
  uploadRef.instance.formId = formId;
1721
1903
  uploadRef.instance.oldIdList = oldIdList;
1722
1904
  _this.dlg = _this.modalService.show(uploadRef, {
1723
- title: '上传文件',
1905
+ title: _this.localpipe.transform('uploadFile'),
1724
1906
  width: 950, height: 570,
1725
1907
  buttons: [
1726
1908
  {
1727
- text: '保存', cls: 'k-button k-button-icontext k-primary', handle: ( /**
1909
+ text: _this.localpipe.transform('save'), cls: 'k-button k-button-icontext k-primary', handle: ( /**
1728
1910
  * @return {?}
1729
1911
  */function () {
1730
1912
  _this.dlg.content.upload().subscribe(( /**
@@ -1740,7 +1922,7 @@
1740
1922
  })
1741
1923
  },
1742
1924
  {
1743
- text: '关闭', cls: 'k-button k-button-icontext', handle: ( /**
1925
+ text: _this.localpipe.transform('close'), cls: 'k-button k-button-icontext', handle: ( /**
1744
1926
  * @return {?}
1745
1927
  */function () {
1746
1928
  _this.dlg.close();
@@ -1832,6 +2014,16 @@
1832
2014
  return GspDocMetaProperty;
1833
2015
  }());
1834
2016
 
2017
+ /**
2018
+ * @fileoverview added by tsickle
2019
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2020
+ */
2021
+ var FileInfo = /** @class */ (function () {
2022
+ function FileInfo() {
2023
+ }
2024
+ return FileInfo;
2025
+ }());
2026
+
1835
2027
  /**
1836
2028
  * @fileoverview added by tsickle
1837
2029
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -1861,6 +2053,10 @@
1861
2053
  exports.GspFormDocInfo = GspFormDocInfo;
1862
2054
  exports.GspDocMetaProperty = GspDocMetaProperty;
1863
2055
  exports.GspFormUploadEntity = GspFormUploadEntity;
2056
+ exports.FileInfo = FileInfo;
2057
+ exports.OperatingModes = OperatingModes;
2058
+ exports.FileState = FileState;
2059
+ exports.ɵb = LocalLangPipe;
1864
2060
 
1865
2061
  Object.defineProperty(exports, '__esModule', { value: true });
1866
2062