react-datasheet-grid
Advanced tools
Comparing version 4.11.3 to 4.11.4
@@ -1055,3 +1055,3 @@ "use strict"; | ||
} | ||
else if ((event.key.match(/^[ -~]$/) || event.code.match(/Key[A-Z\p{L}]$/u)) && | ||
else if (((0, copyPasting_1.isPrintableUnicode)(event.key) || event.code.match(/Key[A-Z]$/)) && | ||
!event.ctrlKey && | ||
@@ -1058,0 +1058,0 @@ !event.metaKey && |
export declare const parseTextHtmlData: (data: string) => string[][]; | ||
export declare const parseTextPlainData: (data: string) => string[][]; | ||
export declare const encodeHtml: (str: string) => string; | ||
export declare const isPrintableUnicode: (str: string) => boolean; | ||
//# sourceMappingURL=copyPasting.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.encodeHtml = exports.parseTextPlainData = exports.parseTextHtmlData = void 0; | ||
exports.isPrintableUnicode = exports.encodeHtml = exports.parseTextPlainData = exports.parseTextHtmlData = void 0; | ||
const domParser_1 = require("./domParser"); | ||
@@ -90,2 +90,6 @@ const parseTextHtmlData = (data) => { | ||
exports.encodeHtml = encodeHtml; | ||
const isPrintableUnicode = (str) => { | ||
return str.match(/^[^\x00-\x20\x7F-\x9F]$/) !== null; | ||
}; | ||
exports.isPrintableUnicode = isPrintableUnicode; | ||
//# sourceMappingURL=copyPasting.js.map |
{ | ||
"name": "react-datasheet-grid", | ||
"version": "4.11.3", | ||
"version": "4.11.4", | ||
"description": "An Excel-like React component to create beautiful spreadsheets.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
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
311114
3963