@syncfusion/ej2-spreadsheet
Advanced tools
Comparing version 17.3.17 to 17.3.19
/*! | ||
* filename: index.d.ts | ||
* version : 17.3.17 | ||
* version : 17.3.19 | ||
* Copyright Syncfusion Inc. 2001 - 2019. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-spreadsheet@*", | ||
"_id": "@syncfusion/ej2-spreadsheet@17.3.16", | ||
"_id": "@syncfusion/ej2-spreadsheet@17.3.17", | ||
"_inBundle": false, | ||
"_integrity": "sha512-T5pyTpQKKrqPYb37l3OxZ/TzYNG4s2xIkN/604ERXEIuIJBZNrnz3sJE0qYi7fpETKn5kIzA9JLxQghZWrwjWg==", | ||
"_integrity": "sha512-dgRQQodR/mrSISqaAM12egGtZbXkam7QODEQ51t/OIHPAuegGrQITSZrG303KBFhL73wxIm0FY1JPIiT0vdLTw==", | ||
"_location": "/@syncfusion/ej2-spreadsheet", | ||
@@ -26,4 +26,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-spreadsheet/-/ej2-spreadsheet-17.3.16.tgz", | ||
"_shasum": "c128380a647892f58c25f9ca684a489caafe29a0", | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-spreadsheet/-/ej2-spreadsheet-17.3.17.tgz", | ||
"_shasum": "80d07b234a3f8c3962d693faa5441bd17828f0a8", | ||
"_spec": "@syncfusion/ej2-spreadsheet@*", | ||
@@ -36,5 +36,5 @@ "_where": "/jenkins/workspace/ation_hotfix_17.2.0.34_Vol2-DDPJ6C2YEWTWLLKKNA7AG2JBE6DYTCTNGMHGORWGAYAVCL6L7OLQ/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~17.3.16", | ||
"@syncfusion/ej2-dropdowns": "~17.3.17", | ||
"@syncfusion/ej2-navigations": "~17.3.17" | ||
"@syncfusion/ej2-base": "~17.3.19", | ||
"@syncfusion/ej2-dropdowns": "~17.3.19", | ||
"@syncfusion/ej2-navigations": "~17.3.19" | ||
}, | ||
@@ -65,4 +65,4 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "17.3.17", | ||
"version": "17.3.19", | ||
"sideEffects": false | ||
} |
@@ -32,3 +32,5 @@ import { keyDown, cut, paste, copy, clearCopy } from '../common/index'; | ||
else if (e.keyCode === 83) { | ||
this.parent.save(); | ||
if (this.parent.saveUrl && this.parent.allowSave) { | ||
this.parent.save(); | ||
} | ||
} | ||
@@ -35,0 +37,0 @@ else if (e.keyCode === 88) { |
@@ -396,14 +396,16 @@ var __extends = (this && this.__extends) || (function () { | ||
var value; | ||
var spanElem = td.querySelector('.' + this.element.id + '_currency'); | ||
var spanElem = td.querySelector('.e-' + this.element.id + '_currency'); | ||
var alignClass = 'e-right-align'; | ||
if (args) { | ||
args.result = isNullOrUndefined(args.result) ? '' : args.result.toString(); | ||
if (spanElem) { | ||
detach(spanElem); | ||
} | ||
if (args.type === 'Accounting' && isNumber(args.value)) { | ||
td.innerHTML = ''; | ||
td.textContent = args.result.split(args.curSymbol).join(''); | ||
td.appendChild(this.createElement('span', { | ||
className: this.element.id + '_currency', | ||
className: 'e-' + this.element.id + '_currency', | ||
innerHTML: " " + args.curSymbol, | ||
styles: 'float: left' | ||
})); | ||
td.innerHTML += args.result.split(args.curSymbol).join(''); | ||
td.classList.add(alignClass); | ||
@@ -413,5 +415,2 @@ return; | ||
else { | ||
if (spanElem) { | ||
detach(spanElem); | ||
} | ||
if (args.result && (args.result.toLowerCase() === 'true' || args.result.toLowerCase() === 'false')) { | ||
@@ -429,3 +428,3 @@ args.result = args.result.toUpperCase(); | ||
var node = td.lastChild; | ||
if (node && (node.nodeType === 3 || (node.nodeType === 1))) { | ||
if (node && (node.nodeType === 3 || node.nodeType === 1)) { | ||
node.nodeValue = value; | ||
@@ -432,0 +431,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 too big to display
Sorry, the diff of this file is not supported yet
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 too big to display
Sorry, the diff of this file is not supported yet
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
9409651
91088