@atjson/core
Advanced tools
Comparing version 0.5.4 to 0.5.5
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
class AtJSON { | ||
constructor(options) { | ||
var AtJSON = (function () { | ||
function AtJSON(options) { | ||
if (typeof options === 'string') { | ||
@@ -12,20 +12,21 @@ options = { content: options }; | ||
} | ||
addAnnotations(annotations) { | ||
AtJSON.prototype.addAnnotations = function (annotations) { | ||
this.annotations = this.annotations.concat(annotations); | ||
} | ||
removeAnnotation(annotation) { | ||
let index = this.annotations.indexOf(annotation); | ||
}; | ||
AtJSON.prototype.removeAnnotation = function (annotation) { | ||
var index = this.annotations.indexOf(annotation); | ||
if (index > -1) { | ||
return this.annotations.splice(index, 1)[0]; | ||
} | ||
} | ||
insertText(position, text, preserveAdjacentBoundaries = false) { | ||
}; | ||
AtJSON.prototype.insertText = function (position, text, preserveAdjacentBoundaries) { | ||
if (preserveAdjacentBoundaries === void 0) { preserveAdjacentBoundaries = false; } | ||
if (position < 0 || position > this.content.length) | ||
throw new Error('Invalid position.'); | ||
const length = text.length; | ||
const before = this.content.slice(0, position); | ||
const after = this.content.slice(position); | ||
var length = text.length; | ||
var before = this.content.slice(0, position); | ||
var after = this.content.slice(position); | ||
this.content = before + text + after; | ||
for (let i = this.annotations.length - 1; i >= 0; i--) { | ||
let a = this.annotations[i]; | ||
for (var i = this.annotations.length - 1; i >= 0; i--) { | ||
var a = this.annotations[i]; | ||
if (a.transform) { | ||
@@ -57,15 +58,15 @@ a.transform(a, this.content, position, text.length, preserveAdjacentBoundaries); | ||
} | ||
} | ||
deleteText(annotation) { | ||
const start = annotation.start; | ||
const end = annotation.end; | ||
const length = end - start; | ||
}; | ||
AtJSON.prototype.deleteText = function (annotation) { | ||
var start = annotation.start; | ||
var end = annotation.end; | ||
var length = end - start; | ||
if (!(start >= 0 && end >= 0)) { | ||
throw new Error('Start and end must be numbers.'); | ||
} | ||
const before = this.content.slice(0, start); | ||
const after = this.content.slice(end); | ||
var before = this.content.slice(0, start); | ||
var after = this.content.slice(end); | ||
this.content = before + after; | ||
for (let i = this.annotations.length - 1; i >= 0; i--) { | ||
let a = this.annotations[i]; | ||
for (var i = this.annotations.length - 1; i >= 0; i--) { | ||
var a = this.annotations[i]; | ||
if (a.end < start) | ||
@@ -98,5 +99,6 @@ continue; | ||
} | ||
} | ||
} | ||
}; | ||
return AtJSON; | ||
}()); | ||
exports.default = AtJSON; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXRqc29uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2F0anNvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUVBO0lBTUUsWUFBWSxPQUF1RjtRQUNqRyxFQUFFLENBQUMsQ0FBQyxPQUFPLE9BQU8sS0FBSyxRQUFRLENBQUMsQ0FBQyxDQUFDO1lBQ2hDLE9BQU8sR0FBRyxFQUFFLE9BQU8sRUFBRSxPQUFPLEVBQUUsQ0FBQztRQUNqQyxDQUFDO1FBQ0QsSUFBSSxDQUFDLE9BQU8sR0FBRyxPQUFPLENBQUMsT0FBTyxDQUFDO1FBQy9CLElBQUksQ0FBQyxXQUFXLEdBQUcsT0FBTyxDQUFDLFdBQVcsSUFBSSxFQUFrQixDQUFDO1FBQzdELElBQUksQ0FBQyxXQUFXLEdBQUcsT0FBTyxDQUFDLFdBQVcsSUFBSSxZQUFZLENBQUM7SUFDekQsQ0FBQztJQUVELGNBQWMsQ0FBQyxXQUFzQztRQUNuRCxJQUFJLENBQUMsV0FBVyxHQUFHLElBQUksQ0FBQyxXQUFXLENBQUMsTUFBTSxDQUFDLFdBQVcsQ0FBQyxDQUFDO0lBQzFELENBQUM7SUFFRCxnQkFBZ0IsQ0FBQyxVQUFzQjtRQUNyQyxJQUFJLEtBQUssR0FBRyxJQUFJLENBQUMsV0FBVyxDQUFDLE9BQU8sQ0FBQyxVQUFVLENBQUMsQ0FBQztRQUN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FDLENBQUMsS0FBSyxHQUFHLEtBQUssQ0FBQzt3QkFDM0IsQ0FBQyxDQUFDLEdBQUcsSUFBSSxNQUFNLENBQUM7b0JBQ2xCLENBQUM7Z0JBRUgsQ0FBQztnQkFBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUMsR0FBRyxJQUFJLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDO29CQU94QixFQUFFLENBQUMsQ0FBQyxLQUFLLElBQUksQ0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUM7d0JBQ3JCLENBQUMsQ0FBQyxLQUFLLEdBQUcsS0FBSyxDQUFDO3dCQUNoQixDQUFDLENBQUMsR0FBRyxHQUFHLEtBQUssQ0FBQztvQkFJaEIsQ0FBQztvQkFBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUMsS0FBSyxHQUFHLENBQUMsQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDO3dCQUMzQixDQUFDLENBQUMsR0FBRyxHQUFHLEtBQUssQ0FBQztvQkFDaEIsQ0FBQztnQkFFSCxDQUFDO1lBQ0gsQ0FBQztRQUNILENBQUM7SUFDSCxDQUFDO0lBQ0gsYUFBQztBQUFELENBQUMsQUFuS0QsSUFtS0MifQ== |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const atjson_1 = require("./atjson"); | ||
var atjson_1 = require("./atjson"); | ||
exports.AtJSON = atjson_1.default; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFDQSxxQ0FBOEI7QUFDVCxpQkFEZCxnQkFBTSxDQUNjIn0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFDQSxtQ0FBOEI7QUFDVCxpQkFEZCxnQkFBTSxDQUNjIn0= |
{ | ||
"name": "@atjson/core", | ||
"version": "0.5.4", | ||
"version": "0.5.5", | ||
"description": "A brand new TypeScript library.", | ||
@@ -5,0 +5,0 @@ "main": "dist/commonjs/index.js", |
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
27612
408