@progress/kendo-react-upload
Advanced tools
Comparing version 2.10.0-dev.201904161424 to 2.10.0-dev.201904171412
@@ -89,2 +89,3 @@ var __extends = (this && this.__extends) || (function () { | ||
var localizationService = provideLocalizationService(this); | ||
var percent = '%'; | ||
return (React.createElement("strong", { className: 'k-upload-status' }, | ||
@@ -94,3 +95,3 @@ isProgressVisible ? | ||
progress, | ||
"%") : | ||
percent) : | ||
undefined, | ||
@@ -97,0 +98,0 @@ isRetryVisible ? |
@@ -86,2 +86,4 @@ var __extends = (this && this.__extends) || (function () { | ||
var progress = this.progress(); | ||
var infoMes = totalMessage + ": " + files.length + " " + filesMessage + ", " + utils.getTotalFilesSizeMessage(files); | ||
var exclamation = '!'; | ||
return (React.createElement("div", { className: itemClassName }, | ||
@@ -95,3 +97,3 @@ React.createElement("span", { className: 'k-progress', style: { | ||
(React.createElement("span", { className: "k-multiple-files-invalid-extension-wrapper" }, | ||
React.createElement("span", { className: 'k-file-invalid-icon' }, "!"), | ||
React.createElement("span", { className: 'k-file-invalid-icon' }, exclamation), | ||
React.createElement("span", { className: 'k-file-state' }))) : | ||
@@ -103,10 +105,3 @@ (React.createElement("span", { className: 'k-multiple-files-extension-wrapper' }, | ||
!hasValidationErrors ? | ||
(React.createElement("span", { className: 'k-file-information' }, | ||
totalMessage, | ||
": ", | ||
files.length, | ||
" ", | ||
filesMessage, | ||
", ", | ||
utils.getTotalFilesSizeMessage(files))) : | ||
(React.createElement("span", { className: 'k-file-information' }, infoMes)) : | ||
(React.createElement("span", { className: 'k-file-validation-message' }, invalidFileMessage))), | ||
@@ -113,0 +108,0 @@ React.createElement(UploadListActionButton, __assign({ uid: files[0].uid, status: files[0].status, progress: progress }, others)))); |
@@ -72,5 +72,6 @@ var __extends = (this && this.__extends) || (function () { | ||
UploadListSingleItem.prototype.renderValidationError = function (file) { | ||
var exclamation = '!'; | ||
return ([ | ||
(React.createElement("span", { className: 'k-file-invalid-extension-wrapper', key: '1' }, | ||
React.createElement("span", { className: 'k-file-invalid-icon' }, "!"), | ||
React.createElement("span", { className: 'k-file-invalid-icon' }, exclamation), | ||
React.createElement("span", { className: 'k-file-state' }))), | ||
@@ -77,0 +78,0 @@ (React.createElement("span", { className: 'k-file-name-size-wrapper', key: '2' }, |
@@ -91,2 +91,3 @@ "use strict"; | ||
var localizationService = kendo_react_intl_1.provideLocalizationService(this); | ||
var percent = '%'; | ||
return (React.createElement("strong", { className: 'k-upload-status' }, | ||
@@ -96,3 +97,3 @@ isProgressVisible ? | ||
progress, | ||
"%") : | ||
percent) : | ||
undefined, | ||
@@ -99,0 +100,0 @@ isRetryVisible ? |
@@ -88,2 +88,4 @@ "use strict"; | ||
var progress = this.progress(); | ||
var infoMes = totalMessage + ": " + files.length + " " + filesMessage + ", " + utils_1.default.getTotalFilesSizeMessage(files); | ||
var exclamation = '!'; | ||
return (React.createElement("div", { className: itemClassName }, | ||
@@ -97,3 +99,3 @@ React.createElement("span", { className: 'k-progress', style: { | ||
(React.createElement("span", { className: "k-multiple-files-invalid-extension-wrapper" }, | ||
React.createElement("span", { className: 'k-file-invalid-icon' }, "!"), | ||
React.createElement("span", { className: 'k-file-invalid-icon' }, exclamation), | ||
React.createElement("span", { className: 'k-file-state' }))) : | ||
@@ -105,10 +107,3 @@ (React.createElement("span", { className: 'k-multiple-files-extension-wrapper' }, | ||
!hasValidationErrors ? | ||
(React.createElement("span", { className: 'k-file-information' }, | ||
totalMessage, | ||
": ", | ||
files.length, | ||
" ", | ||
filesMessage, | ||
", ", | ||
utils_1.default.getTotalFilesSizeMessage(files))) : | ||
(React.createElement("span", { className: 'k-file-information' }, infoMes)) : | ||
(React.createElement("span", { className: 'k-file-validation-message' }, invalidFileMessage))), | ||
@@ -115,0 +110,0 @@ React.createElement(UploadListActionButton_1.UploadListActionButton, __assign({ uid: files[0].uid, status: files[0].status, progress: progress }, others)))); |
@@ -74,5 +74,6 @@ "use strict"; | ||
UploadListSingleItem.prototype.renderValidationError = function (file) { | ||
var exclamation = '!'; | ||
return ([ | ||
(React.createElement("span", { className: 'k-file-invalid-extension-wrapper', key: '1' }, | ||
React.createElement("span", { className: 'k-file-invalid-icon' }, "!"), | ||
React.createElement("span", { className: 'k-file-invalid-icon' }, exclamation), | ||
React.createElement("span", { className: 'k-file-state' }))), | ||
@@ -79,0 +80,0 @@ (React.createElement("span", { className: 'k-file-name-size-wrapper', key: '2' }, |
{ | ||
"name": "@progress/kendo-react-upload", | ||
"version": "2.10.0-dev.201904161424", | ||
"version": "2.10.0-dev.201904171412", | ||
"description": "KendoReact Upload package", | ||
@@ -30,3 +30,3 @@ "repository": { | ||
"dependencies": { | ||
"@progress/kendo-react-common": "2.10.0-dev.201904161424", | ||
"@progress/kendo-react-common": "2.10.0-dev.201904171412", | ||
"axios": "0.18.0", | ||
@@ -33,0 +33,0 @@ "prop-types": "^15.6.0" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
522366
6766
+ Added@progress/kendo-react-common@2.10.0-dev.201904171412(transitive)
- Removed@progress/kendo-react-common@2.10.0-dev.201904161424(transitive)