Skip to content

Commit

Permalink
Release 19.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
babich-a committed Nov 22, 2019
1 parent 726b3bf commit 8eea749
Show file tree
Hide file tree
Showing 43 changed files with 708 additions and 591 deletions.
6 changes: 3 additions & 3 deletions images/widgets/common/diagram/image-delete.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions images/widgets/common/diagram/image-edit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions images/widgets/common/diagram/image-insert.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 17 additions & 6 deletions js/core/class.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,24 @@ var include = function() {
};

var subclassOf = function(parentClass) {
if(this.parent === parentClass) {
return true;
}
if(!this.parent || !this.parent.subclassOf) {
return false;
const hasParentProperty = Object.prototype.hasOwnProperty.bind(this)("parent");
const isES6Class = !hasParentProperty && this.parent;

if(isES6Class) {
const baseClass = Object.getPrototypeOf(this);

return baseClass === parentClass || baseClass.subclassOf(parentClass);
} else {
if(this.parent === parentClass) {
return true;
}

if(!this.parent || !this.parent.subclassOf) {
return false;
}

return this.parent.subclassOf(parentClass);
}
return this.parent.subclassOf(parentClass);
};

var abstract = function() {
Expand Down
14 changes: 6 additions & 8 deletions js/exporter/file_saver.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,26 +101,24 @@ exports.fileSaver = {
},

_saveBlobAs: function(fileName, format, data) {
var that = this;

that._blobSaved = false;
this._blobSaved = false;

if(typeUtils.isDefined(navigator.msSaveOrOpenBlob)) {
navigator.msSaveOrOpenBlob(data, fileName);
that._blobSaved = true;
this._blobSaved = true;
} else if(typeUtils.isDefined(window.WinJS)) {
that._winJSBlobSave(data, fileName, format);
that._blobSaved = true;
this._winJSBlobSave(data, fileName, format);
this._blobSaved = true;
} else {
var URL = window.URL || window.webkitURL || window.mozURL || window.msURL || window.oURL;

if(typeUtils.isDefined(URL)) {
var objectURL = URL.createObjectURL(data);
var downloadLink = that._linkDownloader(fileName, objectURL);
var downloadLink = this._linkDownloader(fileName, objectURL);

setTimeout(() => {
URL.revokeObjectURL(objectURL);
that._objectUrlRevoked = true;
this._objectUrlRevoked = true;
}, this._revokeObjectURLTimeout);

this._click(downloadLink);
Expand Down
76 changes: 0 additions & 76 deletions js/localization/messages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -264,84 +264,8 @@
"dxFileManager-errorDirectoryExistsFormat": "Ordner {0} existiert bereits.",
"dxFileManager-errorFileExistsFormat": "Datei {0} existiert bereits.",
"dxFileManager-errorFileNotFoundFormat": "Datei {0} wurde nicht gefunden.",
"dxFileManager-errorDirectoryNotFoundFormat": "TODO",
"dxFileManager-errorWrongFileExtension": "TODO",
"dxFileManager-errorMaxFileSizeExceeded": "TODO",
"dxFileManager-errorInvalidSymbols": "TODO",
"dxFileManager-errorDefault": "Unbekannter Fehler",

"dxFileManager-commandCreate": "TODO",
"dxFileManager-commandRename": "TODO",
"dxFileManager-commandMove": "TODO",
"dxFileManager-commandCopy": "TODO",
"dxFileManager-commandDelete": "TODO",
"dxFileManager-commandDownload": "TODO",
"dxFileManager-commandUpload": "TODO",
"dxFileManager-commandRefresh": "TODO",
"dxFileManager-commandThumbnails": "TODO",
"dxFileManager-commandDetails": "TODO",
"dxFileManager-commandClear": "TODO",

"dxFileManager-dialogDirectoryChooserTitle": "TODO",
"dxFileManager-dialogDirectoryChooserButtonText": "TODO",
"dxFileManager-dialogRenameItemTitle": "TODO",
"dxFileManager-dialogRenameItemButtonText": "TODO",
"dxFileManager-dialogCreateDirectoryTitle": "TODO",
"dxFileManager-dialogCreateDirectoryButtonText": "TODO",

"dxFileManager-editingCreateSingleItemProcessingMessage": "TODO",
"dxFileManager-editingCreateSingleItemSuccessMessage": "TODO",
"dxFileManager-editingCreateSingleItemErrorMessage": "TODO",
"dxFileManager-editingCreateCommonErrorMessage": "TODO",

"dxFileManager-editingRenameSingleItemProcessingMessage": "TODO",
"dxFileManager-editingRenameSingleItemSuccessMessage": "TODO",
"dxFileManager-editingRenameSingleItemErrorMessage": "TODO",
"dxFileManager-editingRenameCommonErrorMessage": "TODO",

"dxFileManager-editingDeleteSingleItemProcessingMessage": "TODO",
"dxFileManager-editingDeleteMultipleItemsProcessingMessage": "TODO",
"dxFileManager-editingDeleteSingleItemSuccessMessage": "TODO",
"dxFileManager-editingDeleteMultipleItemsSuccessMessage": "TODO",
"dxFileManager-editingDeleteSingleItemErrorMessage": "TODO",
"dxFileManager-editingDeleteMultipleItemsErrorMessage": "TODO",
"dxFileManager-editingDeleteCommonErrorMessage": "TODO",

"dxFileManager-editingMoveSingleItemProcessingMessage": "TODO",
"dxFileManager-editingMoveMultipleItemsProcessingMessage": "TODO",
"dxFileManager-editingMoveSingleItemSuccessMessage": "TODO",
"dxFileManager-editingMoveMultipleItemsSuccessMessage": "TODO",
"dxFileManager-editingMoveSingleItemErrorMessage": "TODO",
"dxFileManager-editingMoveMultipleItemsErrorMessage": "TODO",
"dxFileManager-editingMoveCommonErrorMessage": "TODO",

"dxFileManager-editingCopySingleItemProcessingMessage": "TODO",
"dxFileManager-editingCopyMultipleItemsProcessingMessage": "TODO",
"dxFileManager-editingCopySingleItemSuccessMessage": "TODO",
"dxFileManager-editingCopyMultipleItemsSuccessMessage": "TODO",
"dxFileManager-editingCopySingleItemErrorMessage": "TODO",
"dxFileManager-editingCopyMultipleItemsErrorMessage": "TODO",
"dxFileManager-editingCopyCommonErrorMessage": "TODO",

"dxFileManager-editingUploadSingleItemProcessingMessage": "TODO",
"dxFileManager-editingUploadMultipleItemsProcessingMessage": "TODO",
"dxFileManager-editingUploadSingleItemSuccessMessage": "TODO",
"dxFileManager-editingUploadMultipleItemsSuccessMessage": "TODO",
"dxFileManager-editingUploadSingleItemErrorMessage": "TODO",
"dxFileManager-editingUploadMultipleItemsErrorMessage": "TODO",
"dxFileManager-editingUploadCanceledMessage": "TODO",

"dxFileManager-listDetailsColumnCaptionName": "TODO",
"dxFileManager-listDetailsColumnCaptionDateModified": "TODO",
"dxFileManager-listDetailsColumnCaptionFileSize": "TODO",

"dxFileManager-listThumbnailsTooltipTextSize": "TODO",
"dxFileManager-listThumbnailsTooltipTextDateModified": "TODO",

"dxFileManager-notificationProgressPanelTitle": "TODO",
"dxFileManager-notificationProgressPanelEmptyListText": "TODO",
"dxFileManager-notificationProgressPanelOperationCanceled": "TODO",

"dxDiagram-categoryGeneral": "Allgemein",
"dxDiagram-categoryFlowchart": "Flussdiagramm",
"dxDiagram-categoryOrgChart": "Organisationsdiagramm",
Expand Down
142 changes: 71 additions & 71 deletions js/localization/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,77 +302,77 @@
"dxFileManager-errorInvalidSymbols": "This name contains invalid characters.",
"dxFileManager-errorDefault": "Unspecified error.",

"dxFileManager-commandCreate": "New directory",
"dxFileManager-commandRename": "Rename",
"dxFileManager-commandMove": "Move",
"dxFileManager-commandCopy": "Copy",
"dxFileManager-commandDelete": "Delete",
"dxFileManager-commandDownload": "Download",
"dxFileManager-commandUpload": "Upload files",
"dxFileManager-commandRefresh": "Refresh",
"dxFileManager-commandThumbnails": "Thumbnails View",
"dxFileManager-commandDetails": "Details View",
"dxFileManager-commandClear": "Clear selection",

"dxFileManager-dialogDirectoryChooserTitle": "Select Destination Directory",
"dxFileManager-dialogDirectoryChooserButtonText": "Select",
"dxFileManager-dialogRenameItemTitle": "Rename",
"dxFileManager-dialogRenameItemButtonText": "Save",
"dxFileManager-dialogCreateDirectoryTitle": "New directory",
"dxFileManager-dialogCreateDirectoryButtonText": "Create",

"dxFileManager-editingCreateSingleItemProcessingMessage": "Creating a directory inside {0}",
"dxFileManager-editingCreateSingleItemSuccessMessage": "Created a directory inside {0}",
"dxFileManager-editingCreateSingleItemErrorMessage": "Directory wasn't created",
"dxFileManager-editingCreateCommonErrorMessage": "Directory wasn't created",

"dxFileManager-editingRenameSingleItemProcessingMessage": "Renaming an item inside {0}",
"dxFileManager-editingRenameSingleItemSuccessMessage": "Renamed an item inside {0}",
"dxFileManager-editingRenameSingleItemErrorMessage": "Item wasn't renamed",
"dxFileManager-editingRenameCommonErrorMessage": "Item wasn't renamed",

"dxFileManager-editingDeleteSingleItemProcessingMessage": "Deleting an item from {0}",
"dxFileManager-editingDeleteMultipleItemsProcessingMessage": "Deleting {0} items from {1}",
"dxFileManager-editingDeleteSingleItemSuccessMessage": "Deleted an item from {0}",
"dxFileManager-editingDeleteMultipleItemsSuccessMessage": "Deleted {0} items from {1}",
"dxFileManager-editingDeleteSingleItemErrorMessage": "Item wasn't deleted",
"dxFileManager-editingDeleteMultipleItemsErrorMessage": "{0} items weren't deleted",
"dxFileManager-editingDeleteCommonErrorMessage": "Some items weren't deleted",

"dxFileManager-editingMoveSingleItemProcessingMessage": "Moving an item to {0}",
"dxFileManager-editingMoveMultipleItemsProcessingMessage": "Moving {0} items to {1}",
"dxFileManager-editingMoveSingleItemSuccessMessage": "Moved an item to {0}",
"dxFileManager-editingMoveMultipleItemsSuccessMessage": "Moved {0} items to {1}",
"dxFileManager-editingMoveSingleItemErrorMessage": "Item wasn't moved",
"dxFileManager-editingMoveMultipleItemsErrorMessage": "{0} items weren't moved",
"dxFileManager-editingMoveCommonErrorMessage": "Some items weren't moved",

"dxFileManager-editingCopySingleItemProcessingMessage": "Copying an item to {0}",
"dxFileManager-editingCopyMultipleItemsProcessingMessage": "Copying {0} items to {1}",
"dxFileManager-editingCopySingleItemSuccessMessage": "Copied an item to {0}",
"dxFileManager-editingCopyMultipleItemsSuccessMessage": "Copied {0} items to {1}",
"dxFileManager-editingCopySingleItemErrorMessage": "Item wasn't copied",
"dxFileManager-editingCopyMultipleItemsErrorMessage": "{0} items weren't copied",
"dxFileManager-editingCopyCommonErrorMessage": "Some items weren't copied",

"dxFileManager-editingUploadSingleItemProcessingMessage": "Uploading an item to {0}",
"dxFileManager-editingUploadMultipleItemsProcessingMessage": "Uploading {0} items to {1}",
"dxFileManager-editingUploadSingleItemSuccessMessage": "Uploaded an item to {0}",
"dxFileManager-editingUploadMultipleItemsSuccessMessage": "Uploaded {0} items to {1}",
"dxFileManager-editingUploadSingleItemErrorMessage": "Item wasn't uploaded",
"dxFileManager-editingUploadMultipleItemsErrorMessage": "{0} items weren't uploaded",
"dxFileManager-editingUploadCanceledMessage": "Canceled",

"dxFileManager-listDetailsColumnCaptionName": "Name",
"dxFileManager-listDetailsColumnCaptionDateModified": "Date Modified",
"dxFileManager-listDetailsColumnCaptionFileSize": "File Size",

"dxFileManager-listThumbnailsTooltipTextSize": "Size",
"dxFileManager-listThumbnailsTooltipTextDateModified": "Date Modified",

"dxFileManager-notificationProgressPanelTitle": "Progress",
"dxFileManager-notificationProgressPanelEmptyListText": "No operations",
"dxFileManager-notificationProgressPanelOperationCanceled": "Canceled",
"dxFileManager-commandCreate": "New directory",
"dxFileManager-commandRename": "Rename",
"dxFileManager-commandMove": "Move",
"dxFileManager-commandCopy": "Copy",
"dxFileManager-commandDelete": "Delete",
"dxFileManager-commandDownload": "Download",
"dxFileManager-commandUpload": "Upload files",
"dxFileManager-commandRefresh": "Refresh",
"dxFileManager-commandThumbnails": "Thumbnails View",
"dxFileManager-commandDetails": "Details View",
"dxFileManager-commandClear": "Clear selection",

"dxFileManager-dialogDirectoryChooserTitle": "Select Destination Directory",
"dxFileManager-dialogDirectoryChooserButtonText": "Select",
"dxFileManager-dialogRenameItemTitle": "Rename",
"dxFileManager-dialogRenameItemButtonText": "Save",
"dxFileManager-dialogCreateDirectoryTitle": "New directory",
"dxFileManager-dialogCreateDirectoryButtonText": "Create",

"dxFileManager-editingCreateSingleItemProcessingMessage": "Creating a directory inside {0}",
"dxFileManager-editingCreateSingleItemSuccessMessage": "Created a directory inside {0}",
"dxFileManager-editingCreateSingleItemErrorMessage": "Directory wasn't created",
"dxFileManager-editingCreateCommonErrorMessage": "Directory wasn't created",

"dxFileManager-editingRenameSingleItemProcessingMessage": "Renaming an item inside {0}",
"dxFileManager-editingRenameSingleItemSuccessMessage": "Renamed an item inside {0}",
"dxFileManager-editingRenameSingleItemErrorMessage": "Item wasn't renamed",
"dxFileManager-editingRenameCommonErrorMessage": "Item wasn't renamed",

"dxFileManager-editingDeleteSingleItemProcessingMessage": "Deleting an item from {0}",
"dxFileManager-editingDeleteMultipleItemsProcessingMessage": "Deleting {0} items from {1}",
"dxFileManager-editingDeleteSingleItemSuccessMessage": "Deleted an item from {0}",
"dxFileManager-editingDeleteMultipleItemsSuccessMessage": "Deleted {0} items from {1}",
"dxFileManager-editingDeleteSingleItemErrorMessage": "Item wasn't deleted",
"dxFileManager-editingDeleteMultipleItemsErrorMessage": "{0} items weren't deleted",
"dxFileManager-editingDeleteCommonErrorMessage": "Some items weren't deleted",

"dxFileManager-editingMoveSingleItemProcessingMessage": "Moving an item to {0}",
"dxFileManager-editingMoveMultipleItemsProcessingMessage": "Moving {0} items to {1}",
"dxFileManager-editingMoveSingleItemSuccessMessage": "Moved an item to {0}",
"dxFileManager-editingMoveMultipleItemsSuccessMessage": "Moved {0} items to {1}",
"dxFileManager-editingMoveSingleItemErrorMessage": "Item wasn't moved",
"dxFileManager-editingMoveMultipleItemsErrorMessage": "{0} items weren't moved",
"dxFileManager-editingMoveCommonErrorMessage": "Some items weren't moved",

"dxFileManager-editingCopySingleItemProcessingMessage": "Copying an item to {0}",
"dxFileManager-editingCopyMultipleItemsProcessingMessage": "Copying {0} items to {1}",
"dxFileManager-editingCopySingleItemSuccessMessage": "Copied an item to {0}",
"dxFileManager-editingCopyMultipleItemsSuccessMessage": "Copied {0} items to {1}",
"dxFileManager-editingCopySingleItemErrorMessage": "Item wasn't copied",
"dxFileManager-editingCopyMultipleItemsErrorMessage": "{0} items weren't copied",
"dxFileManager-editingCopyCommonErrorMessage": "Some items weren't copied",

"dxFileManager-editingUploadSingleItemProcessingMessage": "Uploading an item to {0}",
"dxFileManager-editingUploadMultipleItemsProcessingMessage": "Uploading {0} items to {1}",
"dxFileManager-editingUploadSingleItemSuccessMessage": "Uploaded an item to {0}",
"dxFileManager-editingUploadMultipleItemsSuccessMessage": "Uploaded {0} items to {1}",
"dxFileManager-editingUploadSingleItemErrorMessage": "Item wasn't uploaded",
"dxFileManager-editingUploadMultipleItemsErrorMessage": "{0} items weren't uploaded",
"dxFileManager-editingUploadCanceledMessage": "Canceled",

"dxFileManager-listDetailsColumnCaptionName": "Name",
"dxFileManager-listDetailsColumnCaptionDateModified": "Date Modified",
"dxFileManager-listDetailsColumnCaptionFileSize": "File Size",

"dxFileManager-listThumbnailsTooltipTextSize": "Size",
"dxFileManager-listThumbnailsTooltipTextDateModified": "Date Modified",

"dxFileManager-notificationProgressPanelTitle": "Progress",
"dxFileManager-notificationProgressPanelEmptyListText": "No operations",
"dxFileManager-notificationProgressPanelOperationCanceled": "Canceled",

"dxDiagram-categoryGeneral": "General",
"dxDiagram-categoryFlowchart": "Flowchart",
Expand Down
Loading

0 comments on commit 8eea749

Please sign in to comment.